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 libctf"
2786 # these tools are built for the host environment
2787 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2788 # know that we are building the simulator.
2789 # binutils, gas and ld appear in that order because it makes sense to run
2790 # "make check" in that particular order.
2791 # If --enable-gold is used, "gold" may replace "ld".
2792 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2794 # these libraries are built for the target environment, and are built after
2795 # the host libraries and the host tools (which may be a cross compiler)
2796 # Note that libiberty is not a target library.
2797 target_libraries
="target-libgcc \
2798 target-libbacktrace \
2802 target-liboffloadmic \
2803 target-libhsail-rt \
2806 target-libstdc++-v3 \
2807 target-libsanitizer \
2810 target-libquadmath \
2811 target-libgfortran \
2819 # these tools are built using the target libraries, and are intended to
2820 # run only in the target environment
2822 # note: any program that *uses* libraries that are in the "target_libraries"
2823 # list belongs in this list.
2825 target_tools
="target-rda"
2827 ################################################################################
2829 ## All tools belong in one of the four categories, and are assigned above
2830 ## We assign ${configdirs} this way to remove all embedded newlines. This
2831 ## is important because configure will choke if they ever get through.
2832 ## ${configdirs} is directories we build using the host tools.
2833 ## ${target_configdirs} is directories we build using the target tools.
2834 configdirs
=`echo ${host_libs} ${host_tools}`
2835 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2836 build_configdirs
=`echo ${build_libs} ${build_tools}`
2840 ################################################################################
2842 srcname
="gnu development package"
2844 # This gets set non-empty for some net releases of packages.
2847 # Define is_cross_compiler to save on calls to 'test'.
2849 if test x
"${host}" = x
"${target}" ; then
2850 is_cross_compiler
=no
2852 is_cross_compiler
=yes
2855 # Find the build and target subdir names.
2857 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2858 # have matching libraries, they should use host libraries: Makefile.tpl
2859 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2860 # However, they still use the build modules, because the corresponding
2861 # host modules (e.g. bison) are only built for the host when bootstrap
2863 # - build_subdir is where we find build modules, and never changes.
2864 # - build_libsubdir is where we find build libraries, and can be overridden.
2866 # Prefix 'build-' so this never conflicts with target_subdir.
2867 build_subdir
="build-${build_noncanonical}"
2869 # Check whether --with-build-libsubdir was given.
2870 if test "${with_build_libsubdir+set}" = set; then :
2871 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2873 build_libsubdir
="$build_subdir"
2876 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2877 if ( test $srcdir = .
&& test -d gcc
) \
2878 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2879 host_subdir
="host-${host_noncanonical}"
2884 target_subdir
=${target_noncanonical}
2886 # Be sure to cover against remnants of an in-tree build.
2887 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2888 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2889 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2892 # Skipdirs are removed silently.
2894 # Noconfigdirs are removed loudly.
2898 # Make sure we don't let GNU ld be added if we didn't want it.
2899 if test x
$with_gnu_ld = xno
; then
2901 noconfigdirs
="$noconfigdirs ld gold"
2905 # Make sure we don't let GNU as be added if we didn't want it.
2906 if test x
$with_gnu_as = xno
; then
2908 noconfigdirs
="$noconfigdirs gas"
2913 # Check whether --with-system-zlib was given.
2914 if test "${with_system_zlib+set}" = set; then :
2915 withval
=$with_system_zlib;
2918 # Make sure we don't let ZLIB be added if we didn't want it.
2919 if test x
$with_system_zlib = xyes
; then
2920 use_included_zlib
=no
2921 noconfigdirs
="$noconfigdirs zlib"
2924 # some tools are so dependent upon X11 that if we're not building with X,
2925 # it's not even worth trying to configure, much less build, that tool.
2928 yes |
"") ;; # the default value for this tree is that X11 is available
2930 skipdirs
="${skipdirs} tk itcl libgui"
2931 # We won't be able to build gdbtk without X.
2934 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2937 # Some are only suitable for cross toolchains.
2938 # Remove these if host=target.
2939 cross_only
="target-libgloss target-newlib target-opcodes"
2941 case $is_cross_compiler in
2942 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2945 # If both --with-headers and --with-libs are specified, default to
2947 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2948 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2949 if test x
"${with_newlib}" = x
; then
2954 # Recognize --with-newlib/--without-newlib.
2955 case ${with_newlib} in
2956 no
) skipdirs
="${skipdirs} target-newlib" ;;
2957 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2960 # Check whether --enable-as-accelerator-for was given.
2961 if test "${enable_as_accelerator_for+set}" = set; then :
2962 enableval
=$enable_as_accelerator_for;
2966 # Check whether --enable-offload-targets was given.
2967 if test "${enable_offload_targets+set}" = set; then :
2968 enableval
=$enable_offload_targets;
2969 if test x
"$enable_offload_targets" = x
; then
2970 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2974 enable_offload_targets
=
2978 # Handle --enable-gold, --enable-ld.
2979 # --disable-gold [--enable-ld]
2980 # Build only ld. Default option.
2981 # --enable-gold [--enable-ld]
2982 # Build both gold and ld. Install gold as "ld.gold", install ld
2983 # as "ld.bfd" and "ld".
2984 # --enable-gold=default [--enable-ld]
2985 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2986 # install ld as "ld.bfd".
2987 # --enable-gold[=default] --disable-ld
2988 # Build only gold, which is then installed as both "ld.gold" and "ld".
2989 # --enable-gold --enable-ld=default
2990 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2992 # In other words, ld is default
2993 # --enable-gold=default --enable-ld=default
2997 # Check whether --enable-gold was given.
2998 if test "${enable_gold+set}" = set; then :
2999 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3004 case "${ENABLE_GOLD}" in
3006 # Check for ELF target.
3009 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3010 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3011 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3012 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3014 *-*-linux*aout
* |
*-*-linux*oldld
*)
3022 if test "$is_elf" = "yes"; then
3023 # Check for target supported by gold.
3025 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3026 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3027 configdirs
="$configdirs gold"
3028 if test x
${ENABLE_GOLD} = xdefault
; then
3039 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3043 # Check whether --enable-ld was given.
3044 if test "${enable_ld+set}" = set; then :
3045 enableval
=$enable_ld; ENABLE_LD
=$enableval
3051 case "${ENABLE_LD}" in
3053 if test x
${default_ld} != x
; then
3054 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3060 if test x
${ENABLE_GOLD} != xyes
; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3062 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3064 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3067 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3072 # Decide the default method for compressing debug sections.
3073 # Provide a configure time option to override our default.
3074 # Check whether --enable-compressed_debug_sections was given.
3075 if test "${enable_compressed_debug_sections+set}" = set; then :
3076 enableval
=$enable_compressed_debug_sections;
3077 if test x
"$enable_compressed_debug_sections" = xyes
; then
3078 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3082 enable_compressed_debug_sections
=
3086 # Configure extra directories which are host specific
3090 configdirs
="$configdirs libtermcap" ;;
3093 # A target can indicate whether a language isn't supported for some reason.
3094 # Only spaces may be used in this macro; not newlines or tabs.
3095 unsupported_languages
=
3097 # Remove more programs from consideration, based on the host or
3098 # target this usually means that a port of the program doesn't
3102 i
[3456789]86-*-msdosdjgpp*)
3103 noconfigdirs
="$noconfigdirs tcl tk itcl"
3108 # Check whether --enable-libquadmath was given.
3109 if test "${enable_libquadmath+set}" = set; then :
3110 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3112 ENABLE_LIBQUADMATH
=yes
3115 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3116 noconfigdirs
="$noconfigdirs target-libquadmath"
3120 # Check whether --enable-libquadmath-support was given.
3121 if test "${enable_libquadmath_support+set}" = set; then :
3122 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3124 ENABLE_LIBQUADMATH_SUPPORT
=yes
3127 enable_libquadmath_support
=
3128 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3129 enable_libquadmath_support
=no
3133 # Check whether --enable-libada was given.
3134 if test "${enable_libada+set}" = set; then :
3135 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3140 if test "${ENABLE_LIBADA}" != "yes" ; then
3141 noconfigdirs
="$noconfigdirs gnattools"
3144 # Check whether --enable-libssp was given.
3145 if test "${enable_libssp+set}" = set; then :
3146 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3152 # Check whether --enable-libstdcxx was given.
3153 if test "${enable_libstdcxx+set}" = set; then :
3154 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3156 ENABLE_LIBSTDCXX
=default
3159 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3160 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3163 # If this is accelerator compiler and its target is intelmic we enable
3164 # target liboffloadmic by default. If this is compiler with offloading
3165 # for intelmic we enable host liboffloadmic by default. Otherwise
3166 # liboffloadmic is disabled by default.
3167 # Check whether --enable-liboffloadmic was given.
3168 if test "${enable_liboffloadmic+set}" = set; then :
3169 enableval
=$enable_liboffloadmic; case "$enableval" in
3171 enable_liboffloadmic
=$enableval ;;
3173 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3176 if test x
"$enable_as_accelerator_for" != x
; then
3178 *-intelmic-* |
*-intelmicemul-*)
3179 enable_liboffloadmic
=target
3180 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3183 enable_liboffloadmic
=no
3187 case "${enable_offload_targets}" in
3188 *-intelmic-* |
*-intelmicemul-*)
3189 enable_liboffloadmic
=host
3190 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3193 enable_liboffloadmic
=no
3201 # Enable libgomp by default on hosted POSIX systems, and a few others.
3202 if test x
$enable_libgomp = x
; then
3204 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3206 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3208 *-*-solaris2* |
*-*-hpux11*)
3210 *-*-darwin* |
*-*-aix*)
3215 noconfigdirs
="$noconfigdirs target-libgomp"
3220 # Disable libatomic on unsupported systems.
3221 if test -d ${srcdir}/libatomic
; then
3222 if test x
$enable_libatomic = x
; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3224 $as_echo_n "checking for libatomic support... " >&6; }
3225 if (srcdir
=${srcdir}/libatomic
; \
3226 .
${srcdir}/configure.tgt
; \
3227 test -n "$UNSUPPORTED")
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3231 noconfigdirs
="$noconfigdirs target-libatomic"
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3234 $as_echo "yes" >&6; }
3239 # Disable liboffloadmic on unsupported systems.
3240 if test -d ${srcdir}/liboffloadmic
; then
3241 if test x
$enable_liboffloadmic != xno
; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3243 $as_echo_n "checking for liboffloadmic support... " >&6; }
3244 if (srcdir
=${srcdir}/liboffloadmic
; \
3245 .
${srcdir}/configure.tgt
; \
3246 test -n "$UNSUPPORTED")
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3253 $as_echo "yes" >&6; }
3258 # Disable libitm on unsupported systems.
3259 if test -d ${srcdir}/libitm
; then
3260 if test x
$enable_libitm = x
; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3262 $as_echo_n "checking for libitm support... " >&6; }
3263 if (srcdir
=${srcdir}/libitm
; \
3264 .
${srcdir}/configure.tgt
; \
3265 test -n "$UNSUPPORTED")
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3269 noconfigdirs
="$noconfigdirs target-libitm"
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3272 $as_echo "yes" >&6; }
3277 # Disable libsanitizer on unsupported systems.
3278 if test -d ${srcdir}/libsanitizer
; then
3279 if test x
$enable_libsanitizer = x
; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3281 $as_echo_n "checking for libsanitizer support... " >&6; }
3282 if (srcdir
=${srcdir}/libsanitizer
; \
3283 .
${srcdir}/configure.tgt
; \
3284 test -n "$UNSUPPORTED")
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 noconfigdirs
="$noconfigdirs target-libsanitizer"
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3291 $as_echo "yes" >&6; }
3296 # Disable libvtv on unsupported systems.
3297 if test -d ${srcdir}/libvtv
; then
3298 if test x
$enable_libvtv = x
; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3300 $as_echo_n "checking for libvtv support... " >&6; }
3301 if (srcdir
=${srcdir}/libvtv
; \
3302 .
${srcdir}/configure.tgt
; \
3303 test "$VTV_SUPPORTED" != "yes")
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 noconfigdirs
="$noconfigdirs target-libvtv"
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3310 $as_echo "yes" >&6; }
3316 # Disable libhsail-rt on unsupported systems.
3317 if test -d ${srcdir}/libhsail-rt
; then
3318 if test x
$enable_libhsail_rt = x
; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3320 $as_echo_n "checking for libhsail-rt support... " >&6; }
3321 if (srcdir
=${srcdir}/libhsail-rt
; \
3322 .
${srcdir}/configure.tgt
; \
3323 test -n "$UNSUPPORTED")
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 unsupported_languages
="$unsupported_languages brig"
3328 # This implicitly disables also target-libhsail-rt as it won't
3329 # get added to the build without BRIG FE.
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3338 # Disable libquadmath for some systems.
3341 noconfigdirs
="$noconfigdirs target-libquadmath"
3343 # libquadmath is unused on AIX and libquadmath build process use of
3344 # LD_LIBRARY_PATH can break AIX bootstrap.
3345 powerpc-
*-aix* | rs6000-
*-aix*)
3346 noconfigdirs
="$noconfigdirs target-libquadmath"
3350 # Disable libssp for some systems.
3353 # No hosted I/O support.
3354 noconfigdirs
="$noconfigdirs target-libssp"
3356 powerpc-
*-aix* | rs6000-
*-aix*)
3357 noconfigdirs
="$noconfigdirs target-libssp"
3360 # No hosted I/O support.
3361 noconfigdirs
="$noconfigdirs target-libssp"
3364 # libssp uses a misaligned load to trigger a fault, but the RL78
3365 # doesn't fault for those - instead, it gives a build-time error
3366 # for explicit misaligned loads.
3367 noconfigdirs
="$noconfigdirs target-libssp"
3370 # No hosted I/O support.
3371 noconfigdirs
="$noconfigdirs target-libssp"
3375 # Disable libstdc++-v3 for some systems.
3376 # Allow user to override this if they pass --enable-libstdc++-v3
3377 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3380 # VxWorks uses the Dinkumware C++ library.
3381 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3384 # the C++ libraries don't build on top of CE's C libraries
3385 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3388 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3391 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3396 # Disable D on systems where it is known to not work.
3397 # For testing, you can override this with --enable-languages=d.
3398 case ,${enable_languages}, in
3404 unsupported_languages
="$unsupported_languages d"
3410 # Disable libphobos on unsupported systems.
3411 # For testing, you can override this with --enable-libphobos.
3412 if test -d ${srcdir}/libphobos
; then
3413 if test x
$enable_libphobos = x
; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3415 $as_echo_n "checking for libphobos support... " >&6; }
3416 if (srcdir
=${srcdir}/libphobos
; \
3417 .
${srcdir}/configure.tgt
; \
3418 test "$LIBPHOBOS_SUPPORTED" != "yes")
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3422 noconfigdirs
="$noconfigdirs target-libphobos"
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3425 $as_echo "yes" >&6; }
3430 # Disable Fortran for some systems.
3433 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3434 unsupported_languages
="$unsupported_languages fortran"
3438 # Disable libffi for some systems.
3442 i
[3456789]86-*-darwin*)
3444 x86_64-
*-darwin[912]*)
3447 noconfigdirs
="$noconfigdirs target-libffi"
3450 noconfigdirs
="$noconfigdirs target-libffi"
3453 noconfigdirs
="$noconfigdirs target-libffi"
3456 noconfigdirs
="$noconfigdirs target-libffi"
3459 noconfigdirs
="$noconfigdirs target-libffi"
3462 noconfigdirs
="$noconfigdirs target-libffi"
3465 noconfigdirs
="$noconfigdirs target-libffi"
3467 aarch64
*-*-freebsd*)
3468 noconfigdirs
="$noconfigdirs target-libffi"
3471 noconfigdirs
="$noconfigdirs target-libffi"
3474 noconfigdirs
="$noconfigdirs target-libffi"
3477 noconfigdirs
="$noconfigdirs target-libffi"
3480 noconfigdirs
="$noconfigdirs target-libffi"
3482 cris-
*-* | crisv32-
*-*)
3486 *) # See PR46792 regarding target-libffi.
3487 noconfigdirs
="$noconfigdirs target-libffi";;
3491 noconfigdirs
="$noconfigdirs target-libffi"
3496 noconfigdirs
="$noconfigdirs target-libffi"
3499 noconfigdirs
="$noconfigdirs target-libffi"
3501 i
[3456789]86-w64-mingw*)
3502 noconfigdirs
="$noconfigdirs target-libffi"
3504 i
[3456789]86-*-mingw*)
3505 noconfigdirs
="$noconfigdirs target-libffi"
3508 noconfigdirs
="$noconfigdirs target-libffi"
3511 noconfigdirs
="$noconfigdirs target-libffi"
3518 noconfigdirs
="$noconfigdirs target-libffi"
3521 noconfigdirs
="$noconfigdirs target-libffi"
3525 # Disable the go frontend on systems where it is known to not work. Please keep
3526 # this in sync with contrib/config-list.mk.
3528 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3529 unsupported_languages
="$unsupported_languages go"
3533 # Disable libgo for some systems where it is known to not work.
3534 # For testing, you can easily override this with --enable-libgo.
3535 if test x
$enable_libgo = x
; then
3539 noconfigdirs
="$noconfigdirs target-libgo"
3541 *-*-cygwin* |
*-*-mingw*)
3542 noconfigdirs
="$noconfigdirs target-libgo"
3547 # Default libgloss CPU subdirectory.
3548 libgloss_dir
="$target_cpu"
3551 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3555 libgloss_dir
=aarch64
3560 cris-
*-* | crisv32-
*-*)
3569 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3570 libgloss_dir
=m68hc11
3572 m68
*-*-* | fido-
*-*)
3589 # Disable newlib and libgloss for various target OSes.
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 i
[3456789]86-*-linux*)
3595 # This section makes it possible to build newlib natively on linux.
3596 # If we are using a cross compiler then don't configure newlib.
3597 if test x
${is_cross_compiler} != xno
; then
3598 noconfigdirs
="$noconfigdirs target-newlib"
3600 noconfigdirs
="$noconfigdirs target-libgloss"
3601 # If we are not using a cross compiler, do configure newlib.
3602 # Note however, that newlib will only be configured in this situation
3603 # if the --with-newlib option has been given, because otherwise
3604 # 'target-newlib' will appear in skipdirs.
3606 i
[3456789]86-*-rdos*)
3607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3619 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3622 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3625 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3628 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3630 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3631 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3637 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3640 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3643 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3646 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3649 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3652 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3660 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3661 noconfigdirs
="$noconfigdirs sim target-rda"
3666 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3667 noconfigdirs
="$noconfigdirs sim target-rda"
3670 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3671 noconfigdirs
="$noconfigdirs sim target-rda"
3673 i
[3456789]86-*-darwin*)
3674 noconfigdirs
="$noconfigdirs ld gprof"
3675 noconfigdirs
="$noconfigdirs sim target-rda"
3677 x86_64-
*-darwin[912]*)
3678 noconfigdirs
="$noconfigdirs ld gas gprof"
3679 noconfigdirs
="$noconfigdirs sim target-rda"
3682 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3683 noconfigdirs
="$noconfigdirs sim target-rda"
3688 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3689 && test -f /usr
/local
/include
/gmp.h
; then
3694 # Remove unsupported stuff on all kaOS configurations.
3695 noconfigdirs
="$noconfigdirs target-libgloss"
3702 noconfigdirs
="$noconfigdirs target-libgloss"
3705 noconfigdirs
="$noconfigdirs target-libgloss"
3707 # The tpf target doesn't support gdb yet.
3709 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3712 noconfigdirs
="$noconfigdirs target-rda"
3717 # ld works, but does not support shared libraries.
3718 # gas doesn't generate exception information.
3719 noconfigdirs
="$noconfigdirs gas ld"
3722 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3725 # newlib is not 64 bit ready
3726 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3728 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3729 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3732 noconfigdirs
="$noconfigdirs sim"
3735 noconfigdirs
="$noconfigdirs target-libgloss"
3738 noconfigdirs
="$noconfigdirs ld target-libgloss"
3741 if test x
${with_avrlibc} != xno
; then
3742 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3745 c4x-
*-* | tic4x-
*-*)
3746 noconfigdirs
="$noconfigdirs target-libgloss"
3749 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3752 noconfigdirs
="$noconfigdirs target-libgloss"
3755 noconfigdirs
="$noconfigdirs gdb"
3758 noconfigdirs
="$noconfigdirs gdb"
3761 noconfigdirs
="$noconfigdirs target-rda gprof"
3764 noconfigdirs
="$noconfigdirs"
3767 noconfigdirs
="$noconfigdirs target-libgloss"
3770 noconfigdirs
="$noconfigdirs target-libgloss"
3772 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3775 noconfigdirs
="$noconfigdirs gdb"
3778 noconfigdirs
="$noconfigdirs gdb ld"
3786 hppa
*-*-openbsd* | \
3792 noconfigdirs
="$noconfigdirs ld"
3795 noconfigdirs
="$noconfigdirs gdb"
3798 # No gdb support yet.
3799 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3802 # No ld support yet.
3803 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3806 # No ld support yet.
3807 noconfigdirs
="$noconfigdirs libgui itcl ld"
3809 i
[3456789]86-w64-mingw*)
3811 i
[3456789]86-*-mingw*)
3812 target_configdirs
="$target_configdirs target-winsup"
3815 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3816 noconfigdirs
="$noconfigdirs target-libgloss"
3817 # always build newlib if winsup directory is present.
3818 if test -d "$srcdir/winsup/cygwin"; then
3819 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3820 elif test -d "$srcdir/newlib"; then
3821 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3825 noconfigdirs
="$noconfigdirs target-libgloss"
3827 i
[3456789]86-*-sco3.2v5
*)
3828 # The linker does not yet know about weak symbols in COFF,
3829 # and is not configured to handle mixed ELF and COFF.
3830 noconfigdirs
="$noconfigdirs ld target-libgloss"
3832 i
[3456789]86-*-sco*)
3833 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3835 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3836 noconfigdirs
="$noconfigdirs target-libgloss"
3838 i
[3456789]86-*-sysv4*)
3839 noconfigdirs
="$noconfigdirs target-libgloss"
3841 i
[3456789]86-*-beos*)
3842 noconfigdirs
="$noconfigdirs gdb"
3844 i
[3456789]86-*-rdos*)
3845 noconfigdirs
="$noconfigdirs gdb"
3848 noconfigdirs
="$noconfigdirs gdb"
3851 noconfigdirs
="$noconfigdirs sim"
3854 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3855 noconfigdirs
="$noconfigdirs $target_libraries"
3858 # copied from rs6000-*-* entry
3859 noconfigdirs
="$noconfigdirs gprof"
3861 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3862 target_configdirs
="$target_configdirs target-winsup"
3863 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3864 # always build newlib.
3865 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3867 # This is temporary until we can link against shared libraries
3868 powerpcle-
*-solaris*)
3869 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3872 noconfigdirs
="$noconfigdirs gdb"
3875 noconfigdirs
="$noconfigdirs gprof"
3878 noconfigdirs
="$noconfigdirs gprof"
3881 noconfigdirs
="$noconfigdirs gprof"
3884 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3887 noconfigdirs
="$noconfigdirs gprof"
3889 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3890 if test x
$with_newlib = xyes
; then
3891 noconfigdirs
="$noconfigdirs gprof"
3895 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3898 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3901 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3905 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3906 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3907 noconfigdirs
="$noconfigdirs ld gas gprof"
3910 noconfigdirs
="$noconfigdirs gprof"
3913 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3920 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3924 if test x
${is_cross_compiler} = xno
; then
3929 noconfigdirs
="$noconfigdirs sim"
3931 tilepro
*-*-* | tilegx
*-*-*)
3932 noconfigdirs
="$noconfigdirs sim"
3935 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3938 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3941 noconfigdirs
="$noconfigdirs ld"
3945 # If we aren't building newlib, then don't build libgloss, since libgloss
3946 # depends upon some newlib header files.
3947 case "${noconfigdirs}" in
3948 *target-libgloss
*) ;;
3949 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3952 # Work in distributions that contain no compiler tools, like Autoconf.
3953 host_makefile_frag
=/dev
/null
3954 if test -d ${srcdir}/config
; then
3956 i
[3456789]86-*-msdosdjgpp*)
3957 host_makefile_frag
="config/mh-djgpp"
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3962 $as_echo_n "checking to see if cat works as expected... " >&6; }
3963 echo a
>cygwin-cat-check
3964 if test `cat cygwin-cat-check` = a
; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3967 $as_echo "yes" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3972 as_fn_error $?
"The cat command does not ignore carriage return characters.
3973 Please either mount the build directory in binary mode or run the following
3974 commands before running any configure script:
3980 host_makefile_frag
="config/mh-cygwin"
3983 host_makefile_frag
="config/mh-mingw"
3986 host_makefile_frag
="config/mh-alpha-linux"
3989 host_makefile_frag
="config/mh-pa-hpux10"
3992 host_makefile_frag
="config/mh-pa"
3995 host_makefile_frag
="config/mh-pa"
3998 host_makefile_frag
="config/mh-darwin"
4001 host_makefile_frag
="config/mh-ppc-aix"
4004 host_makefile_frag
="config/mh-ppc-aix"
4009 if test "${build}" != "${host}" ; then
4010 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4011 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4012 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4013 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4014 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4015 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4016 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4017 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4018 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4019 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4020 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4021 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4022 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4024 AR_FOR_BUILD
="\$(AR)"
4025 AS_FOR_BUILD
="\$(AS)"
4026 CC_FOR_BUILD
="\$(CC)"
4027 CXX_FOR_BUILD
="\$(CXX)"
4028 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4029 GOC_FOR_BUILD
="\$(GOC)"
4030 GDC_FOR_BUILD
="\$(GDC)"
4031 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4032 LD_FOR_BUILD
="\$(LD)"
4033 NM_FOR_BUILD
="\$(NM)"
4034 RANLIB_FOR_BUILD
="\$(RANLIB)"
4035 WINDRES_FOR_BUILD
="\$(WINDRES)"
4036 WINDMC_FOR_BUILD
="\$(WINDMC)"
4040 ac_cpp
='$CPP $CPPFLAGS'
4041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4044 if test -n "$ac_tool_prefix"; then
4045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4046 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if ${ac_cv_prog_CC+:} false
; then :
4050 $as_echo_n "(cached) " >&6
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC
="$CC" # Let the user override the test.
4055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir
=.
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4062 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4083 if test -z "$ac_cv_prog_CC"; then
4085 # Extract the first word of "gcc", so it can be a program name with args.
4086 set dummy gcc
; ac_word
=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -n "$ac_ct_CC"; then
4093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir
=.
4100 for ac_exec_ext
in '' $ac_executable_extensions; do
4101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4102 ac_cv_prog_ac_ct_CC
="gcc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4113 if test -n "$ac_ct_CC"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4115 $as_echo "$ac_ct_CC" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4121 if test "x$ac_ct_CC" = x
; then
4124 case $cross_compiling:$ac_tool_warned in
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4128 ac_tool_warned
=yes ;;
4136 if test -z "$CC"; then
4137 if test -n "$ac_tool_prefix"; then
4138 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4139 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141 $as_echo_n "checking for $ac_word... " >&6; }
4142 if ${ac_cv_prog_CC+:} false
; then :
4143 $as_echo_n "(cached) " >&6
4145 if test -n "$CC"; then
4146 ac_cv_prog_CC
="$CC" # Let the user override the test.
4148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir
=.
4153 for ac_exec_ext
in '' $ac_executable_extensions; do
4154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4155 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 if test -n "$CC"; then
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4168 $as_echo "$CC" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4177 if test -z "$CC"; then
4178 # Extract the first word of "cc", so it can be a program name with args.
4179 set dummy cc
; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if ${ac_cv_prog_CC+:} false
; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$CC"; then
4186 ac_cv_prog_CC
="$CC" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4196 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4197 ac_prog_rejected
=yes
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 if test $ac_prog_rejected = yes; then
4209 # We found a bogon in the path, so make sure we never use it.
4210 set dummy
$ac_cv_prog_CC
4212 if test $# != 0; then
4213 # We chose a different compiler from the bogus one.
4214 # However, it has the same basename, so the bogon will be chosen
4215 # first if we set CC to just the basename; use the full file name.
4217 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4223 if test -n "$CC"; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4225 $as_echo "$CC" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4233 if test -z "$CC"; then
4234 if test -n "$ac_tool_prefix"; then
4235 for ac_prog
in cl.exe
4237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4238 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if ${ac_cv_prog_CC+:} false
; then :
4242 $as_echo_n "(cached) " >&6
4244 if test -n "$CC"; then
4245 ac_cv_prog_CC
="$CC" # Let the user override the test.
4247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir
=.
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4254 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4265 if test -n "$CC"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4267 $as_echo "$CC" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4274 test -n "$CC" && break
4277 if test -z "$CC"; then
4279 for ac_prog
in cl.exe
4281 # Extract the first word of "$ac_prog", so it can be a program name with args.
4282 set dummy
$ac_prog; ac_word
=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$ac_ct_CC"; then
4289 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_CC
="$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4309 if test -n "$ac_ct_CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4311 $as_echo "$ac_ct_CC" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$ac_ct_CC" && break
4321 if test "x$ac_ct_CC" = x
; then
4324 case $cross_compiling:$ac_tool_warned in
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4328 ac_tool_warned
=yes ;;
4337 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $?
"no acceptable C compiler found in \$PATH
4340 See \`config.log' for more details" "$LINENO" 5; }
4342 # Provide some information about the compiler.
4343 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4346 for ac_option
in --version -v -V -qversion; do
4347 { { ac_try
="$ac_compiler $ac_option >&5"
4349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4353 $as_echo "$ac_try_echo"; } >&5
4354 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4356 if test -s conftest.err; then
4358 ... rest of stderr output deleted ...
4359 10q' conftest.err >conftest.er1
4360 cat conftest.er1 >&5
4362 rm -f conftest.er1 conftest.err
4363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4364 test $ac_status = 0; }
4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4368 /* end confdefs.h. */
4378 ac_clean_files_save=$ac_clean_files
4379 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4380 # Try to create an executable without -o first, disregard a.out.
4381 # It will help us diagnose broken compilers, and finding out an intuition
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4384 $as_echo_n "checking whether the C compiler works... " >&6; }
4385 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4387 # The possible output files:
4388 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4391 for ac_file in $ac_files
4394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4395 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4400 if { { ac_try="$ac_link_default"
4402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4403 *) ac_try_echo
=$ac_try;;
4405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_link_default") 2>&5
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }; then :
4411 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4412 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4413 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4414 # so that the user can short-circuit this test for compilers unknown to
4416 for ac_file
in $ac_files ''
4418 test -f "$ac_file" ||
continue
4420 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4423 # We found the default executable, but exeext='' is most
4427 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4429 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4431 # We set ac_cv_exeext here because the later test for it is not
4432 # safe: cross compilers may not add the suffix if given an `-o'
4433 # argument, so we may need to know it at that point already.
4434 # Even if this section looks crufty: it has the advantage of
4441 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4446 if test -z "$ac_file"; then :
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4449 $as_echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.
$ac_ext >&5
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4454 as_fn_error
77 "C compiler cannot create executables
4455 See \`config.log' for more details" "$LINENO" 5; }
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4458 $as_echo "yes" >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4461 $as_echo_n "checking for C compiler default output file name... " >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4463 $as_echo "$ac_file" >&6; }
4464 ac_exeext
=$ac_cv_exeext
4466 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4467 ac_clean_files
=$ac_clean_files_save
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4469 $as_echo_n "checking for suffix of executables... " >&6; }
4470 if { { ac_try
="$ac_link"
4472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4473 *) ac_try_echo=$ac_try;;
4475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4476 $as_echo "$ac_try_echo"; } >&5
4477 (eval "$ac_link") 2>&5
4479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4480 test $ac_status = 0; }; then :
4481 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4482 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4483 # work properly (i.e., refer to `conftest.exe'), while it won't with
4485 for ac_file
in conftest.exe conftest conftest.
*; do
4486 test -f "$ac_file" ||
continue
4488 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4489 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4497 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4498 See \`config.log' for more details" "$LINENO" 5; }
4500 rm -f conftest conftest
$ac_cv_exeext
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4502 $as_echo "$ac_cv_exeext" >&6; }
4504 rm -f conftest.
$ac_ext
4505 EXEEXT
=$ac_cv_exeext
4507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4513 FILE *f = fopen ("conftest.out", "w");
4514 return ferror (f) || fclose (f) != 0;
4520 ac_clean_files
="$ac_clean_files conftest.out"
4521 # Check that the compiler produces executables we can run. If not, either
4522 # the compiler is broken, or we cross compile.
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4524 $as_echo_n "checking whether we are cross compiling... " >&6; }
4525 if test "$cross_compiling" != yes; then
4526 { { ac_try
="$ac_link"
4528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 $as_echo "$ac_try_echo"; } >&5
4533 (eval "$ac_link") 2>&5
4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }
4537 if { ac_try='./conftest$ac_cv_exeext'
4538 { { case "(($ac_try" in
4539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4540 *) ac_try_echo
=$ac_try;;
4542 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4543 $as_echo "$ac_try_echo"; } >&5
4544 (eval "$ac_try") 2>&5
4546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4547 test $ac_status = 0; }; }; then
4550 if test "$cross_compiling" = maybe
; then
4553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4555 as_fn_error $?
"cannot run C compiled programs.
4556 If you meant to cross compile, use \`--host'.
4557 See \`config.log' for more details" "$LINENO" 5; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4562 $as_echo "$cross_compiling" >&6; }
4564 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4565 ac_clean_files
=$ac_clean_files_save
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4567 $as_echo_n "checking for suffix of object files... " >&6; }
4568 if ${ac_cv_objext+:} false
; then :
4569 $as_echo_n "(cached) " >&6
4571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 rm -f conftest.o conftest.obj
4583 if { { ac_try
="$ac_compile"
4585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_compile") 2>&5
4592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4593 test $ac_status = 0; }; then :
4594 for ac_file in conftest.o conftest.obj conftest.*; do
4595 test -f "$ac_file" || continue;
4597 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4598 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4603 $as_echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4608 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4609 See \
`config.log' for more details" "$LINENO" 5; }
4611 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4614 $as_echo "$ac_cv_objext" >&6; }
4615 OBJEXT=$ac_cv_objext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4618 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4619 if ${ac_cv_c_compiler_gnu+:} false; then :
4620 $as_echo_n "(cached) " >&6
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4636 if ac_fn_c_try_compile "$LINENO"; then :
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4646 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4647 if test $ac_compiler_gnu = yes; then
4652 ac_test_CFLAGS=${CFLAGS+set}
4653 ac_save_CFLAGS=$CFLAGS
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4655 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4656 if ${ac_cv_prog_cc_g+:} false; then :
4657 $as_echo_n "(cached) " >&6
4659 ac_save_c_werror_flag=$ac_c_werror_flag
4660 ac_c_werror_flag=yes
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4674 if ac_fn_c_try_compile "$LINENO"; then :
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4689 if ac_fn_c_try_compile "$LINENO"; then :
4692 ac_c_werror_flag=$ac_save_c_werror_flag
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4705 if ac_fn_c_try_compile "$LINENO"; then :
4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 ac_c_werror_flag=$ac_save_c_werror_flag
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4716 $as_echo "$ac_cv_prog_cc_g" >&6; }
4717 if test "$ac_test_CFLAGS" = set; then
4718 CFLAGS=$ac_save_CFLAGS
4719 elif test $ac_cv_prog_cc_g = yes; then
4720 if test "$GCC" = yes; then
4726 if test "$GCC" = yes; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4733 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4734 if ${ac_cv_prog_cc_c89+:} false; then :
4735 $as_echo_n "(cached) " >&6
4737 ac_cv_prog_cc_c89=no
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4745 struct buf { int x; };
4746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4747 static char *e (p, i)
4753 static char *f (char * (*g) (char **, int), char **p, ...)
4758 s = g (p, va_arg (v,int));
4763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4764 function prototypes and stuff, but not '\xHH' hex character constants.
4765 These don't provoke an error unfortunately, instead are silently treated
4766 as 'x'. The following induces an error, until -std is added to get
4767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4768 array size at least. It's necessary to write '\x00'==0 to get something
4769 that's true only with -std. */
4770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4773 inside strings and character constants. */
4775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4777 int test (int i, double x);
4778 struct s1 {int (*f) (int a);};
4779 struct s2 {int (*f) (double a);};
4780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4791 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4794 CC="$ac_save_CC $ac_arg"
4795 if ac_fn_c_try_compile "$LINENO"; then :
4796 ac_cv_prog_cc_c89=$ac_arg
4798 rm -f core conftest.err conftest.$ac_objext
4799 test "x$ac_cv_prog_cc_c89" != "xno" && break
4801 rm -f conftest.$ac_ext
4806 case "x$ac_cv_prog_cc_c89" in
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4809 $as_echo "none needed" >&6; } ;;
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4812 $as_echo "unsupported" >&6; } ;;
4814 CC="$CC $ac_cv_prog_cc_c89"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4816 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4818 if test "x$ac_cv_prog_cc_c89" != xno; then :
4823 ac_cpp='$CPP $CPPFLAGS'
4824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4829 ac_cpp='$CXXCPP $CPPFLAGS'
4830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4833 if test -z "$CXX"; then
4834 if test -n "$CCC"; then
4837 if test -n "$ac_tool_prefix"; then
4838 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if ${ac_cv_prog_CXX+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$CXX"; then
4848 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir=.
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4868 if test -n "$CXX"; then
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4870 $as_echo "$CXX" >&6; }
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 $as_echo "no" >&6; }
4877 test -n "$CXX" && break
4880 if test -z "$CXX"; then
4882 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$ac_ct_CXX"; then
4892 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir=.
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_ac_ct_CXX="$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4912 if test -n "$ac_ct_CXX"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4914 $as_echo "$ac_ct_CXX" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$ac_ct_CXX" && break
4924 if test "x$ac_ct_CXX" = x; then
4927 case $cross_compiling:$ac_tool_warned in
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4931 ac_tool_warned=yes ;;
4939 # Provide some information about the compiler.
4940 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4943 for ac_option in --version -v -V -qversion; do
4944 { { ac_try="$ac_compiler $ac_option >&5"
4946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4947 *) ac_try_echo
=$ac_try;;
4949 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4950 $as_echo "$ac_try_echo"; } >&5
4951 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4953 if test -s conftest.err
; then
4955 ... rest of stderr output deleted ...
4956 10q' conftest.err
>conftest.er1
4957 cat conftest.er1
>&5
4959 rm -f conftest.er1 conftest.err
4960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4961 test $ac_status = 0; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4965 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4966 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4967 $as_echo_n "(cached) " >&6
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4983 if ac_fn_cxx_try_compile
"$LINENO"; then :
4988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4989 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4993 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4994 if test $ac_compiler_gnu = yes; then
4999 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5000 ac_save_CXXFLAGS
=$CXXFLAGS
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5002 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5003 if ${ac_cv_prog_cxx_g+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5006 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5007 ac_cxx_werror_flag
=yes
5010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5021 if ac_fn_cxx_try_compile
"$LINENO"; then :
5022 ac_cv_prog_cxx_g
=yes
5025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5036 if ac_fn_cxx_try_compile
"$LINENO"; then :
5039 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5052 if ac_fn_cxx_try_compile
"$LINENO"; then :
5053 ac_cv_prog_cxx_g
=yes
5055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5060 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5063 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5064 if test "$ac_test_CXXFLAGS" = set; then
5065 CXXFLAGS
=$ac_save_CXXFLAGS
5066 elif test $ac_cv_prog_cxx_g = yes; then
5067 if test "$GXX" = yes; then
5073 if test "$GXX" = yes; then
5080 ac_cpp
='$CPP $CPPFLAGS'
5081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5086 # We must set the default linker to the linker used by gcc for the correct
5087 # operation of libtool. If LD is not defined and we are using gcc, try to
5088 # set the LD default to the ld used by gcc.
5089 if test -z "$LD"; then
5090 if test "$GCC" = yes; then
5093 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5095 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5097 case $gcc_prog_ld in
5098 # Accept absolute paths.
5099 [\\/]* |
[A-Za-z
]:[\\/]*)
5100 LD
="$gcc_prog_ld" ;;
5105 # Check whether -static-libstdc++ -static-libgcc is supported.
5107 if test "$GCC" = yes; then
5108 saved_LDFLAGS
="$LDFLAGS"
5110 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5112 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5114 ac_cpp
='$CXXCPP $CPPFLAGS'
5115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5123 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5124 #error -static-libstdc++ not implemented
5128 if ac_fn_cxx_try_link
"$LINENO"; then :
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5130 $as_echo "yes" >&6; }; have_static_libs
=yes
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5135 rm -f core conftest.err conftest.
$ac_objext \
5136 conftest
$ac_exeext conftest.
$ac_ext
5138 ac_cpp
='$CPP $CPPFLAGS'
5139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5144 LDFLAGS
="$saved_LDFLAGS"
5150 if test -n "$ac_tool_prefix"; then
5151 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5152 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_GNATBIND+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$GNATBIND"; then
5159 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 GNATBIND
=$ac_cv_prog_GNATBIND
5179 if test -n "$GNATBIND"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5181 $as_echo "$GNATBIND" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5189 if test -z "$ac_cv_prog_GNATBIND"; then
5190 ac_ct_GNATBIND
=$GNATBIND
5191 # Extract the first word of "gnatbind", so it can be a program name with args.
5192 set dummy gnatbind
; ac_word
=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5198 if test -n "$ac_ct_GNATBIND"; then
5199 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir
=.
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5219 if test -n "$ac_ct_GNATBIND"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5221 $as_echo "$ac_ct_GNATBIND" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5227 if test "x$ac_ct_GNATBIND" = x
; then
5230 case $cross_compiling:$ac_tool_warned in
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5234 ac_tool_warned
=yes ;;
5236 GNATBIND
=$ac_ct_GNATBIND
5239 GNATBIND
="$ac_cv_prog_GNATBIND"
5242 if test -n "$ac_tool_prefix"; then
5243 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5244 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246 $as_echo_n "checking for $ac_word... " >&6; }
5247 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 if test -n "$GNATMAKE"; then
5251 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 GNATMAKE
=$ac_cv_prog_GNATMAKE
5271 if test -n "$GNATMAKE"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5273 $as_echo "$GNATMAKE" >&6; }
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5281 if test -z "$ac_cv_prog_GNATMAKE"; then
5282 ac_ct_GNATMAKE
=$GNATMAKE
5283 # Extract the first word of "gnatmake", so it can be a program name with args.
5284 set dummy gnatmake
; ac_word
=$2
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286 $as_echo_n "checking for $ac_word... " >&6; }
5287 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5288 $as_echo_n "(cached) " >&6
5290 if test -n "$ac_ct_GNATMAKE"; then
5291 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_exec_ext
in '' $ac_executable_extensions; do
5299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5300 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5311 if test -n "$ac_ct_GNATMAKE"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5313 $as_echo "$ac_ct_GNATMAKE" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5319 if test "x$ac_ct_GNATMAKE" = x
; then
5322 case $cross_compiling:$ac_tool_warned in
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5326 ac_tool_warned
=yes ;;
5328 GNATMAKE
=$ac_ct_GNATMAKE
5331 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5335 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5336 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5339 cat >conftest.adb
<<EOF
5340 procedure conftest is begin null; end conftest;
5342 acx_cv_cc_gcc_supports_ada
=no
5343 # There is a bug in old released versions of GCC which causes the
5344 # driver to exit successfully when the appropriate language module
5345 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5346 # Therefore we must check for the error message as well as an
5347 # unsuccessful exit.
5348 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5349 # given a .adb file, but produce no object file. So we must check
5350 # if an object file was really produced to guard against this.
5351 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5352 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5353 acx_cv_cc_gcc_supports_ada
=yes
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5358 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5360 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5367 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5368 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5373 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5374 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5375 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5378 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5381 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5382 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5385 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5392 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5393 do_compare
="$gcc_cv_prog_cmp_skip"
5397 # Check whether --enable-bootstrap was given.
5398 if test "${enable_bootstrap+set}" = set; then :
5399 enableval
=$enable_bootstrap;
5401 enable_bootstrap
=default
5405 # Issue errors and warnings for invalid/strange bootstrap combinations.
5406 if test -r $srcdir/gcc
/configure
; then
5412 case "$have_compiler:$host:$target:$enable_bootstrap" in
5415 # Default behavior. Enable bootstrap if we have a compiler
5416 # and we are in a native configuration.
5417 yes:$build:$build:default
)
5418 enable_bootstrap
=yes ;;
5421 enable_bootstrap
=no
;;
5423 # We have a compiler and we are in a native configuration, bootstrap is ok
5424 yes:$build:$build:yes)
5427 # Other configurations, but we have a compiler. Assume the user knows
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5431 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5434 # No compiler: if they passed --enable-bootstrap explicitly, fail
5436 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5438 # Fail if wrong command line
5440 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5444 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5445 # C++98 compiler can still start the bootstrap.
5446 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5447 CXX
="$CXX -std=gnu++98"
5450 # Used for setting $lt_cv_objdir
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5452 $as_echo_n "checking for objdir... " >&6; }
5453 if ${lt_cv_objdir+:} false
; then :
5454 $as_echo_n "(cached) " >&6
5456 rm -f .libs
2>/dev
/null
5457 mkdir .libs
2>/dev
/null
5458 if test -d .libs
; then
5461 # MS-DOS does not allow filenames that begin with a dot.
5464 rmdir .libs
2>/dev
/null
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5467 $as_echo "$lt_cv_objdir" >&6; }
5468 objdir
=$lt_cv_objdir
5474 cat >>confdefs.h
<<_ACEOF
5475 #define LT_OBJDIR "$lt_cv_objdir/"
5480 # Check for GMP, MPFR and MPC
5481 gmplibs
="-lmpc -lmpfr -lgmp"
5485 # Specify a location for mpc
5486 # check for this first so it ends up on the link line before mpfr.
5488 # Check whether --with-mpc was given.
5489 if test "${with_mpc+set}" = set; then :
5494 # Check whether --with-mpc-include was given.
5495 if test "${with_mpc_include+set}" = set; then :
5496 withval
=$with_mpc_include;
5500 # Check whether --with-mpc-lib was given.
5501 if test "${with_mpc_lib+set}" = set; then :
5502 withval
=$with_mpc_lib;
5506 if test "x$with_mpc" != x
; then
5507 gmplibs
="-L$with_mpc/lib $gmplibs"
5508 gmpinc
="-I$with_mpc/include $gmpinc"
5510 if test "x$with_mpc_include" != x
; then
5511 gmpinc
="-I$with_mpc_include $gmpinc"
5513 if test "x$with_mpc_lib" != x
; then
5514 gmplibs
="-L$with_mpc_lib $gmplibs"
5516 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5517 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5518 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5519 # Do not test the mpc version. Assume that it is sufficient, since
5520 # it is in the source tree, and the library has not been built yet
5521 # but it would be included on the link line in the version check below
5522 # hence making the test fail.
5526 # Specify a location for mpfr
5527 # check for this first so it ends up on the link line before gmp.
5529 # Check whether --with-mpfr-dir was given.
5530 if test "${with_mpfr_dir+set}" = set; then :
5531 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5532 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5537 # Check whether --with-mpfr was given.
5538 if test "${with_mpfr+set}" = set; then :
5543 # Check whether --with-mpfr-include was given.
5544 if test "${with_mpfr_include+set}" = set; then :
5545 withval
=$with_mpfr_include;
5549 # Check whether --with-mpfr-lib was given.
5550 if test "${with_mpfr_lib+set}" = set; then :
5551 withval
=$with_mpfr_lib;
5555 if test "x$with_mpfr" != x
; then
5556 gmplibs
="-L$with_mpfr/lib $gmplibs"
5557 gmpinc
="-I$with_mpfr/include $gmpinc"
5559 if test "x$with_mpfr_include" != x
; then
5560 gmpinc
="-I$with_mpfr_include $gmpinc"
5562 if test "x$with_mpfr_lib" != x
; then
5563 gmplibs
="-L$with_mpfr_lib $gmplibs"
5565 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5566 # MPFR v3.1.0 moved the sources into a src sub-directory.
5567 if ! test -d ${srcdir}/mpfr
/src
; then
5568 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5570 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5571 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5572 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5573 # Do not test the mpfr version. Assume that it is sufficient, since
5574 # it is in the source tree, and the library has not been built yet
5575 # but it would be included on the link line in the version check below
5576 # hence making the test fail.
5580 # Specify a location for gmp
5582 # Check whether --with-gmp-dir was given.
5583 if test "${with_gmp_dir+set}" = set; then :
5584 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5585 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5590 # Check whether --with-gmp was given.
5591 if test "${with_gmp+set}" = set; then :
5596 # Check whether --with-gmp-include was given.
5597 if test "${with_gmp_include+set}" = set; then :
5598 withval
=$with_gmp_include;
5602 # Check whether --with-gmp-lib was given.
5603 if test "${with_gmp_lib+set}" = set; then :
5604 withval
=$with_gmp_lib;
5609 if test "x$with_gmp" != x
; then
5610 gmplibs
="-L$with_gmp/lib $gmplibs"
5611 gmpinc
="-I$with_gmp/include $gmpinc"
5613 if test "x$with_gmp_include" != x
; then
5614 gmpinc
="-I$with_gmp_include $gmpinc"
5616 if test "x$with_gmp_lib" != x
; then
5617 gmplibs
="-L$with_gmp_lib $gmplibs"
5619 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5620 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5621 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5622 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5623 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5624 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5625 # Do not test the gmp version. Assume that it is sufficient, since
5626 # it is in the source tree, and the library has not been built yet
5627 # but it would be included on the link line in the version check below
5628 # hence making the test fail.
5632 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5634 saved_CFLAGS
="$CFLAGS"
5635 CFLAGS
="$CFLAGS $gmpinc"
5636 # Check for the recommended and required versions of GMP.
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5638 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5647 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5648 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5649 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5657 if ac_fn_c_try_compile
"$LINENO"; then :
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5665 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5666 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5667 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5675 if ac_fn_c_try_compile
"$LINENO"; then :
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5677 $as_echo "yes" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5680 $as_echo "buggy but acceptable" >&6; }
5682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }; have_gmp
=no
5687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5689 # If we have GMP, check the MPFR version.
5690 if test x
"$have_gmp" = xyes
; then
5691 # Check for the recommended and required versions of MPFR.
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5693 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5702 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5710 if ac_fn_c_try_compile
"$LINENO"; then :
5711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5719 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5727 if ac_fn_c_try_compile
"$LINENO"; then :
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5729 $as_echo "yes" >&6; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5732 $as_echo "buggy but acceptable" >&6; }
5734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }; have_gmp
=no
5739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5742 # Check for the MPC header version.
5743 if test x
"$have_gmp" = xyes
; then
5744 # Check for the recommended and required versions of MPC.
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5746 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5754 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5762 if ac_fn_c_try_compile
"$LINENO"; then :
5763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5770 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5778 if ac_fn_c_try_compile
"$LINENO"; then :
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5780 $as_echo "yes" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5783 $as_echo "buggy but acceptable" >&6; }
5785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }; have_gmp
=no
5790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5793 # Now check the MPFR library.
5794 if test x
"$have_gmp" = xyes
; then
5796 LIBS
="$LIBS $gmplibs"
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5798 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5812 mpfr_atan2 (n, n, x, GMP_RNDN);
5813 mpfr_erfc (n, x, GMP_RNDN);
5814 mpfr_subnormalize (x, t, GMP_RNDN);
5818 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5819 mpc_cosh (c, c, MPC_RNDNN);
5820 mpc_pow (c, c, c, MPC_RNDNN);
5821 mpc_acosh (c, c, MPC_RNDNN);
5828 if ac_fn_c_try_link
"$LINENO"; then :
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5830 $as_echo "yes" >&6; }
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }; have_gmp
=no
5835 rm -f core conftest.err conftest.
$ac_objext \
5836 conftest
$ac_exeext conftest.
$ac_ext
5840 CFLAGS
="$saved_CFLAGS"
5842 # The library versions listed in the error message below should match
5843 # the HARD-minimums enforced above.
5844 if test x
$have_gmp != xyes
; then
5845 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5846 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5847 their locations. Source code for these libraries can be found at
5848 their respective hosting sites as well as at
5849 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5850 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5851 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5852 make sure that you have installed both the libraries and the header
5853 files. They may be located in separate packages." "$LINENO" 5
5857 # Flags needed for both GMP, MPFR and/or MPC.
5865 # Libraries to use for stage1 or when not bootstrapping.
5867 # Check whether --with-stage1-libs was given.
5868 if test "${with_stage1_libs+set}" = set; then :
5869 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5872 stage1_libs
=$withval
5880 # Linker flags to use for stage1 or when not bootstrapping.
5882 # Check whether --with-stage1-ldflags was given.
5883 if test "${with_stage1_ldflags+set}" = set; then :
5884 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5887 stage1_ldflags
=$withval
5891 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5892 # if supported. But if the user explicitly specified the libraries to use,
5893 # trust that they are doing what they want.
5894 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5895 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5901 # Libraries to use for stage2 and later builds.
5903 # Check whether --with-boot-libs was given.
5904 if test "${with_boot_libs+set}" = set; then :
5905 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5908 poststage1_libs
=$withval
5916 # Linker flags to use for stage2 and later builds.
5918 # Check whether --with-boot-ldflags was given.
5919 if test "${with_boot_ldflags+set}" = set; then :
5920 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5923 poststage1_ldflags
=$withval
5927 # In stages 2 and 3, default to linking libstdc++ and libgcc
5928 # statically. But if the user explicitly specified the libraries to
5929 # use, trust that they are doing what they want.
5930 if test "$poststage1_libs" = ""; then
5931 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5937 # GCC GRAPHITE dependency isl.
5938 # Basic setup is inlined here, actual checks are in config/isl.m4
5941 # Check whether --with-isl was given.
5942 if test "${with_isl+set}" = set; then :
5947 # Treat --without-isl as a request to disable
5948 # GRAPHITE support and skip all following checks.
5949 if test "x$with_isl" != "xno"; then
5953 # Check whether --with-isl-include was given.
5954 if test "${with_isl_include+set}" = set; then :
5955 withval
=$with_isl_include;
5959 # Check whether --with-isl-lib was given.
5960 if test "${with_isl_lib+set}" = set; then :
5961 withval
=$with_isl_lib;
5965 # Check whether --enable-isl-version-check was given.
5966 if test "${enable_isl_version_check+set}" = set; then :
5967 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5969 ENABLE_ISL_CHECK
=yes
5973 # Initialize isllibs and islinc.
5982 isllibs
="-L$with_isl/lib"
5983 islinc
="-I$with_isl/include"
5986 if test "x${with_isl_include}" != x
; then
5987 islinc
="-I$with_isl_include"
5989 if test "x${with_isl_lib}" != x
; then
5990 isllibs
="-L$with_isl_lib"
5992 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5993 && test -d ${srcdir}/isl
; then
5994 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5995 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5998 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6001 isllibs
="${isllibs} -lisl"
6005 if test "${ENABLE_ISL_CHECK}" = yes ; then
6006 _isl_saved_CFLAGS
=$CFLAGS
6007 _isl_saved_LDFLAGS
=$LDFLAGS
6008 _isl_saved_LIBS
=$LIBS
6010 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6011 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6012 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6015 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <isl/schedule.h>
6022 isl_options_set_schedule_serialize_sccs (NULL, 0);
6027 if ac_fn_c_try_link
"$LINENO"; then :
6032 rm -f core conftest.err conftest.
$ac_objext \
6033 conftest
$ac_exeext conftest.
$ac_ext
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6035 $as_echo "$gcc_cv_isl" >&6; }
6037 if test "${gcc_cv_isl}" = no
; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6039 $as_echo "required isl version is 0.15 or later" >&6; }
6042 CFLAGS
=$_isl_saved_CFLAGS
6043 LDFLAGS
=$_isl_saved_LDFLAGS
6044 LIBS
=$_isl_saved_LIBS
6052 if test "x${with_isl}" = xno
; then
6053 graphite_requested
=no
6054 elif test "x${with_isl}" != x \
6055 ||
test "x${with_isl_include}" != x \
6056 ||
test "x${with_isl_lib}" != x
; then
6057 graphite_requested
=yes
6059 graphite_requested
=no
6064 if test "${gcc_cv_isl}" = no
; then
6069 if test "${graphite_requested}" = yes \
6070 && test "x${isllibs}" = x \
6071 && test "x${islinc}" = x
; then
6073 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6079 # If the isl check failed, disable builds of in-tree variant of isl
6080 if test "x$with_isl" = xno ||
6081 test "x$gcc_cv_isl" = xno
; then
6082 noconfigdirs
="$noconfigdirs isl"
6089 # Check for LTO support.
6090 # Check whether --enable-lto was given.
6091 if test "${enable_lto+set}" = set; then :
6092 enableval
=$enable_lto; enable_lto
=$enableval
6094 enable_lto
=yes; default_enable_lto
=yes
6103 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6104 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6105 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6114 if test $target_elf = yes; then :
6115 # ELF platforms build the lto-plugin always.
6116 build_lto_plugin
=yes
6119 if test x
"$default_enable_lto" = x
"yes" ; then
6121 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6122 # On other non-ELF platforms, LTO has yet to be validated.
6126 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6127 # It would also be nice to check the binutils support, but we don't
6128 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6129 # warn during gcc/ subconfigure; unless you're bootstrapping with
6130 # -flto it won't be needed until after installation anyway.
6132 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6133 *) if test x
"$enable_lto" = x
"yes"; then
6134 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6139 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6140 # Build it unless LTO was explicitly disabled.
6142 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6149 # Check whether --enable-linker-plugin-configure-flags was given.
6150 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6151 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6153 extra_linker_plugin_configure_flags
=
6157 # Check whether --enable-linker-plugin-flags was given.
6158 if test "${enable_linker_plugin_flags+set}" = set; then :
6159 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6161 extra_linker_plugin_flags
=
6166 # Enable --enable-host-shared.
6167 # Checked early to determine whether jit is an 'all' language
6168 # Check whether --enable-host-shared was given.
6169 if test "${enable_host_shared+set}" = set; then :
6170 enableval
=$enable_host_shared; host_shared
=$enableval
6177 # By default, C and C++ are the only stage 1 languages.
6178 stage1_languages
=,c
,
6180 # Target libraries that we bootstrap.
6181 bootstrap_target_libs
=,target-libgcc
,
6183 # Figure out what language subdirectories are present.
6184 # Look if the user specified --enable-languages="..."; if not, use
6185 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6187 # NB: embedded tabs in this IF block -- do not untabify
6188 if test -d ${srcdir}/gcc
; then
6189 if test x
"${enable_languages+set}" != xset
; then
6190 if test x
"${LANGUAGES+set}" = xset
; then
6191 enable_languages
="${LANGUAGES}"
6192 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6194 enable_languages
=default
6197 if test x
"${enable_languages}" = x ||
6198 test x
"${enable_languages}" = xyes
;
6200 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6204 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6206 # 'f95' is the old name for the 'fortran' language. We issue a warning
6207 # and make the substitution.
6208 case ,${enable_languages}, in
6210 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6211 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6215 # If bootstrapping, C++ must be enabled.
6216 case ",$enable_languages,:$enable_bootstrap" in
6219 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6220 enable_languages
="${enable_languages},c++"
6222 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6227 # First scan to see if an enabled language requires some other language.
6228 # We assume that a given config-lang.in will list all the language
6229 # front ends it requires, even if some are required indirectly.
6230 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6231 case ${lang_frag} in
6233 # The odd quoting in the next line works around
6234 # an apparent bug in bash 1.12 on linux.
6235 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6237 # From the config-lang.in, get $language, $lang_requires, and
6238 # $lang_requires_boot_languages.
6241 lang_requires_boot_languages
=
6242 # set srcdir during sourcing lang_frag to the gcc dir.
6243 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6244 # polutes this shell
6245 saved_srcdir
=${srcdir}
6246 srcdir
=${srcdir}/gcc .
${lang_frag}
6247 srcdir
=${saved_srcdir}
6248 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6249 case ,${enable_languages}, in
6254 echo " \`$other' language required by \`$language'; enabling" 1>&2
6255 enable_languages
="${enable_languages},${other}"
6259 for other
in ${lang_requires_boot_languages} ; do
6260 if test "$other" != "c"; then
6261 case ,${enable_stage1_languages}, in
6266 case ,${enable_languages}, in
6268 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6269 enable_stage1_languages
="$enable_stage1_languages,${other}"
6280 new_enable_languages
=,c
,
6282 # If LTO is enabled, add the LTO front end.
6283 if test "$enable_lto" = "yes" ; then
6284 case ,${enable_languages}, in
6286 *) enable_languages
="${enable_languages},lto" ;;
6288 if test "${build_lto_plugin}" = "yes" ; then
6289 configdirs
="$configdirs lto-plugin"
6293 # If we're building an offloading compiler, add the LTO front end.
6294 if test x
"$enable_as_accelerator_for" != x
; then
6295 case ,${enable_languages}, in
6297 *) enable_languages
="${enable_languages},lto" ;;
6301 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6302 potential_languages
=,c
,
6304 enabled_target_libs
=
6305 disabled_target_libs
=
6307 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6308 case ${lang_frag} in
6310 # The odd quoting in the next line works around
6311 # an apparent bug in bash 1.12 on linux.
6312 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6314 # From the config-lang.in, get $language, $target_libs,
6315 # $lang_dirs, $boot_language, and $build_by_default
6321 build_by_default
=yes
6322 # set srcdir during sourcing. See above about save & restore
6323 saved_srcdir
=${srcdir}
6324 srcdir
=${srcdir}/gcc .
${lang_frag}
6325 srcdir
=${saved_srcdir}
6326 if test x
${language} = x
; then
6327 echo "${lang_frag} doesn't set \$language." 1>&2
6331 if test "$language" = "c++"; then
6336 # C is always enabled, so no need to add it again
6337 if test "$language" != "c"; then
6338 case ,${enable_languages}, in
6340 # Language was explicitly selected; include it
6344 # All languages are enabled
6348 # 'default' was selected, select it if it is a default language
6349 add_this_lang
=${build_by_default}
6354 # Disable languages that need other directories if these aren't available.
6355 for i
in $subdir_requires; do
6356 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6357 case ${add_this_lang} in
6359 # Specifically requested language; tell them.
6360 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6364 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6365 add_this_lang
=unsupported
6369 add_this_lang
=unsupported
6374 # Disable Ada if no preexisting GNAT is available.
6375 case ${add_this_lang}:${language}:${have_gnat} in
6377 # Specifically requested language; tell them.
6378 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6382 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6383 add_this_lang
=unsupported
6387 add_this_lang
=unsupported
6391 # Disable jit if -enable-host-shared not specified
6392 case ${add_this_lang}:${language}:${host_shared} in
6394 # PR jit/64780: explicitly specify --enable-host-shared
6396 Enabling language \"jit\" requires --enable-host-shared.
6398 --enable-host-shared typically slows the rest of the compiler down by
6399 a few %, so you must explicitly enable it.
6401 If you want to build both the jit and the regular compiler, it is often
6402 best to do this via two separate configure/builds, in separate
6403 directories, to avoid imposing the performance cost of
6404 --enable-host-shared on the regular compiler." "$LINENO" 5
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6408 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6409 add_this_lang
=unsupported
6413 add_this_lang
=unsupported
6417 # Disable a language that is unsupported by the target.
6418 case "${add_this_lang}: $unsupported_languages " in
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6423 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6424 add_this_lang
=unsupported
6428 case $add_this_lang in
6430 # Remove language-dependent dirs.
6431 disabled_target_libs
="$disabled_target_libs $target_libs"
6432 noconfigdirs
="$noconfigdirs $lang_dirs"
6435 # Remove language-dependent dirs; still show language as supported.
6436 disabled_target_libs
="$disabled_target_libs $target_libs"
6437 noconfigdirs
="$noconfigdirs $lang_dirs"
6438 potential_languages
="${potential_languages}${language},"
6441 new_enable_languages
="${new_enable_languages}${language},"
6442 potential_languages
="${potential_languages}${language},"
6443 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6444 enabled_target_libs
="$enabled_target_libs $target_libs"
6445 case "${boot_language}:,$enable_stage1_languages," in
6446 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6447 # Add to (comma-separated) list of stage 1 languages.
6448 case ",$stage1_languages," in
6449 *,$language,* |
,yes, |
,all
,) ;;
6450 *) stage1_languages
="${stage1_languages}${language}," ;;
6452 # We need to bootstrap any supporting libraries.
6453 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6462 # Add target libraries which are only needed for disabled languages
6464 if test -n "$disabled_target_libs"; then
6465 for dir
in $disabled_target_libs; do
6466 case " $enabled_target_libs " in
6468 *) noconfigdirs
="$noconfigdirs $dir" ;;
6473 # Check whether --enable-stage1-languages was given.
6474 if test "${enable_stage1_languages+set}" = set; then :
6475 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6477 # Set it to something that will have no effect in the loop below
6478 enable_stage1_languages
=c
;;
6480 enable_stage1_languages
=`echo $new_enable_languages | \
6481 sed -e "s/^,//" -e "s/,$//" ` ;;
6483 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6484 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6487 # Add "good" languages from enable_stage1_languages to stage1_languages,
6488 # while "bad" languages go in missing_languages. Leave no duplicates.
6489 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6490 case $potential_languages in
6492 case $stage1_languages in
6494 *) stage1_languages
="$stage1_languages$i," ;;
6497 case $missing_languages in
6499 *) missing_languages
="$missing_languages$i," ;;
6506 # Remove leading/trailing commas that were added for simplicity
6507 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6508 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6509 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6510 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6512 if test "x$missing_languages" != x
; then
6514 The following requested languages could not be built: ${missing_languages}
6515 Supported languages are: ${potential_languages}" "$LINENO" 5
6517 if test "x$new_enable_languages" != "x$enable_languages"; then
6518 echo The following languages will be built
: ${new_enable_languages}
6519 enable_languages
="$new_enable_languages"
6523 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6526 # Handle --disable-<component> generically.
6527 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6528 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6529 varname
=`echo $dirname | sed -e s/+/_/g`
6530 if eval test x\
${enable_${varname}} "=" xno
; then
6531 noconfigdirs
="$noconfigdirs $dir"
6535 # Check for Boehm's garbage collector
6536 # Check whether --enable-objc-gc was given.
6537 if test "${enable_objc_gc+set}" = set; then :
6538 enableval
=$enable_objc_gc;
6542 # Check whether --with-target-bdw-gc was given.
6543 if test "${with_target_bdw_gc+set}" = set; then :
6544 withval
=$with_target_bdw_gc;
6548 # Check whether --with-target-bdw-gc-include was given.
6549 if test "${with_target_bdw_gc_include+set}" = set; then :
6550 withval
=$with_target_bdw_gc_include;
6554 # Check whether --with-target-bdw-gc-lib was given.
6555 if test "${with_target_bdw_gc_lib+set}" = set; then :
6556 withval
=$with_target_bdw_gc_lib;
6560 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6562 $as_echo_n "checking for bdw garbage collector... " >&6; }
6563 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6565 $as_echo "using bdw-gc in default locations" >&6; }
6567 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6568 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6569 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6570 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6573 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6578 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6579 case ,${enable_languages}, in
6581 # Disable libitm, libsanitizer if we're not building libstdc++
6582 case "${noconfigdirs}" in
6583 *target-libstdc
++-v3*)
6584 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6590 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6594 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6595 # $build_configdirs and $target_configdirs.
6596 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6599 for dir
in .
$skipdirs $noconfigdirs ; do
6600 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6601 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6602 configdirs
=`echo " ${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 " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6612 build_configdirs
=`echo " ${build_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"
6621 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6622 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6623 if test -r $srcdir/$dirname/configure
; then
6624 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6627 notsupp
="$notsupp $dir"
6633 # Quietly strip out all directories which aren't configurable in this tree.
6634 # This relies on all configurable subdirectories being autoconfiscated, which
6636 build_configdirs_all
="$build_configdirs"
6638 for i
in ${build_configdirs_all} ; do
6639 j
=`echo $i | sed -e s/build-//g`
6640 if test -f ${srcdir}/$j/configure
; then
6641 build_configdirs
="${build_configdirs} $i"
6645 configdirs_all
="$configdirs"
6647 for i
in ${configdirs_all} ; do
6648 if test -f ${srcdir}/$i/configure
; then
6649 configdirs
="${configdirs} $i"
6653 target_configdirs_all
="$target_configdirs"
6655 for i
in ${target_configdirs_all} ; do
6656 j
=`echo $i | sed -e s/target-//g`
6657 if test -f ${srcdir}/$j/configure
; then
6658 target_configdirs
="${target_configdirs} $i"
6662 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6663 # so we have to add it after the preceding checks.
6664 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6666 case " $configdirs " in
6668 # If we can build libiberty, we can also build libiberty-linker-plugin.
6669 configdirs
="$configdirs libiberty-linker-plugin"
6670 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6671 --with-libiberty=../libiberty-linker-plugin";;
6673 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6677 # Sometimes we have special requirements for the host libiberty.
6678 extra_host_libiberty_configure_flags
=
6679 extra_host_zlib_configure_flags
=
6680 case " $configdirs " in
6681 *" lto-plugin "* |
*" libcc1 "*)
6682 # When these are to be built as shared libraries, the same applies to
6684 extra_host_libiberty_configure_flags
=--enable-shared
6687 # When bfd is to be built as a shared library, the same applies to
6689 if test "$enable_shared" = "yes"; then
6690 extra_host_zlib_configure_flags
=--enable-host-shared
6697 # Produce a warning message for the subdirs we can't configure.
6698 # This isn't especially interesting in the Cygnus tree, but in the individual
6699 # FSF releases, it's important to let people know when their machine isn't
6700 # supported by the one or two programs in a package.
6702 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6703 # If $appdirs is non-empty, at least one of those directories must still
6704 # be configured, or we error out. (E.g., if the gas release supports a
6705 # specified target in some subdirs but not the gas subdir, we shouldn't
6706 # pretend that all is well.)
6707 if test -n "$appdirs" ; then
6708 for dir
in $appdirs ; do
6709 if test -r $dir/Makefile.
in ; then
6710 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6714 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6720 if test -n "$appdirs" ; then
6721 echo "*** This configuration is not supported by this package." 1>&2
6725 # Okay, some application will build, or we don't care to check. Still
6726 # notify of subdirs not getting built.
6727 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6728 echo " ${notsupp}" 1>&2
6729 echo " (Any other directories should still work fine.)" 1>&2
6737 # To find our prefix, in gcc_cv_tool_prefix.
6739 # The user is always right.
6740 if test "${PATH_SEPARATOR+set}" != set; then
6741 echo "#! /bin/sh" >conf$$.sh
6742 echo "exit 0" >>conf$$.sh
6744 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6753 get_gcc_base_ver
="cat"
6755 # Check whether --with-gcc-major-version-only was given.
6756 if test "${with_gcc_major_version_only+set}" = set; then :
6757 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6758 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6768 if test "x$exec_prefix" = xNONE
; then
6769 if test "x$prefix" = xNONE
; then
6770 gcc_cv_tool_prefix
=$ac_default_prefix
6772 gcc_cv_tool_prefix
=$prefix
6775 gcc_cv_tool_prefix
=$exec_prefix
6778 # If there is no compiler in the tree, use the PATH only. In any
6779 # case, if there is no compiler in the tree nobody should use
6780 # AS_FOR_TARGET and LD_FOR_TARGET.
6781 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6782 if test x
$with_gcc_major_version_only = xyes
; then
6783 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6785 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6787 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6788 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6789 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6790 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6791 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6792 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6797 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6798 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6806 # Check whether --with-build-sysroot was given.
6807 if test "${with_build_sysroot+set}" = set; then :
6808 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6809 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6812 SYSROOT_CFLAGS_FOR_TARGET
=
6818 # Check whether --with-debug-prefix-map was given.
6819 if test "${with_debug_prefix_map+set}" = set; then :
6820 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6821 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6822 for debug_map
in $withval; do
6823 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6827 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6832 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6833 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6834 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6835 # We want to ensure that TARGET libraries (which we know are built with
6836 # gcc) are built with "-O2 -g", so include those options when setting
6837 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6838 if test "x$CFLAGS_FOR_TARGET" = x
; then
6839 if test "x${is_cross_compiler}" = xyes
; then
6840 CFLAGS_FOR_TARGET
="-g -O2"
6842 CFLAGS_FOR_TARGET
=$CFLAGS
6845 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6848 *" -g "* |
*" -g3 "*) ;;
6849 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6855 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6856 if test "x${is_cross_compiler}" = xyes
; then
6857 CXXFLAGS_FOR_TARGET
="-g -O2"
6859 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6860 case " $CXXFLAGS " in
6862 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6864 case " $CXXFLAGS " in
6865 *" -g "* |
*" -g3 "*) ;;
6866 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6874 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6875 # the named directory are copied to $(tooldir)/sys-include.
6876 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6877 if test x
${is_cross_compiler} = xno
; then
6878 echo 1>&2 '***' --with-headers is only supported when cross compiling
6881 if test x
"${with_headers}" != xyes
; then
6882 x
=${gcc_cv_tool_prefix}
6883 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6887 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6888 # the name directories are copied to $(tooldir)/lib. Multiple directories
6890 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6891 if test x
${is_cross_compiler} = xno
; then
6892 echo 1>&2 '***' --with-libs is only supported when cross compiling
6895 if test x
"${with_libs}" != xyes
; then
6896 # Copy the libraries in reverse order, so that files in the first named
6897 # library override files in subsequent libraries.
6898 x
=${gcc_cv_tool_prefix}
6899 for l
in ${with_libs}; do
6900 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6905 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6907 # This is done by determining whether or not the appropriate directory
6908 # is available, and by checking whether or not specific configurations
6909 # have requested that this magic not happen.
6911 # The command line options always override the explicit settings in
6912 # configure.ac, and the settings in configure.ac override this magic.
6914 # If the default for a toolchain is to use GNU as and ld, and you don't
6915 # want to do that, then you should use the --without-gnu-as and
6916 # --without-gnu-ld options for the configure script. Similarly, if
6917 # the default is to use the included zlib and you don't want to do that,
6918 # you should use the --with-system-zlib option for the configure script.
6920 if test x
${use_gnu_as} = x
&&
6921 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6923 extra_host_args
="$extra_host_args --with-gnu-as"
6926 if test x
${use_gnu_ld} = x
&&
6927 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6929 extra_host_args
="$extra_host_args --with-gnu-ld"
6932 if test x
${use_included_zlib} = x
&&
6933 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6936 with_system_zlib
=yes
6937 extra_host_args
="$extra_host_args --with-system-zlib"
6940 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6941 # can detect this case.
6943 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6945 extra_host_args
="$extra_host_args --with-newlib"
6948 # Handle ${copy_dirs}
6949 set fnord
${copy_dirs}
6951 while test $# != 0 ; do
6952 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6955 echo Copying
$1 to
$2
6957 # Use the install script to create the directory and all required
6958 # parent directories.
6959 if test -d $2 ; then
6963 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6966 # Copy the directory, assuming we have tar.
6967 # FIXME: Should we use B in the second tar? Not all systems support it.
6968 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6970 # It is the responsibility of the user to correctly adjust all
6971 # symlinks. If somebody can figure out how to handle them correctly
6972 # here, feel free to add the code.
6979 # Determine a target-dependent exec_prefix that the installed
6980 # gcc will search in. Keep this list sorted by triplet, with
6981 # the *-*-osname triplets last.
6984 i
[34567]86-pc-msdosdjgpp*)
6985 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6990 md_exec_prefix
=/usr
/ccs
/bin
6994 extra_arflags_for_target
=
6995 extra_nmflags_for_target
=
6996 extra_ranlibflags_for_target
=
6997 target_makefile_frag
=/dev
/null
7000 target_makefile_frag
="config/mt-spu"
7002 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7003 target_makefile_frag
="config/mt-sde"
7005 mipsisa
*-*-elfoabi*)
7006 target_makefile_frag
="config/mt-mips-elfoabi"
7008 mips
*-*-*linux
* | mips
*-*-gnu*)
7009 target_makefile_frag
="config/mt-mips-gnu"
7012 target_makefile_frag
="config/mt-nios2-elf"
7015 target_makefile_frag
="config/mt-android"
7017 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7018 target_makefile_frag
="config/mt-gnu"
7020 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7021 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7022 # commands to handle both 32-bit and 64-bit objects. These flags are
7023 # harmless if we're using GNU nm or ar.
7024 extra_arflags_for_target
=" -X32_64"
7025 extra_nmflags_for_target
=" -B -X32_64"
7029 alphaieee_frag
=/dev
/null
7032 # This just makes sure to use the -mieee option to build target libs.
7033 # This should probably be set individually by each library.
7034 alphaieee_frag
="config/mt-alphaieee"
7038 # If --enable-target-optspace always use -Os instead of -O2 to build
7039 # the target libraries, similarly if it is not specified, use -Os
7040 # on selected platforms.
7041 ospace_frag
=/dev
/null
7042 case "${enable_target_optspace}:${target}" in
7044 ospace_frag
="config/mt-ospace"
7047 ospace_frag
="config/mt-d30v"
7049 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7050 ospace_frag
="config/mt-ospace"
7055 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7059 # Some systems (e.g., one of the i386-aix systems the gas testers are
7060 # using) don't handle "\$" correctly, so don't use it here.
7061 tooldir
='${exec_prefix}'/${target_noncanonical}
7062 build_tooldir
=${tooldir}
7064 # Create a .gdbinit file which runs the one in srcdir
7065 # and tells GDB to look there for source files.
7067 if test -r ${srcdir}/.gdbinit
; then
7070 *) cat > .
/.gdbinit
<<EOF
7074 source ${srcdir}/.gdbinit
7080 # Make sure that the compiler is able to generate an executable. If it
7081 # can't, we are probably in trouble. We don't care whether we can run the
7082 # executable--we might be using a cross compiler--we only care whether it
7083 # can be created. At this point the main configure script has set CC.
7085 echo "int main () { return 0; }" > conftest.c
7086 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7087 if test $?
= 0 ; then
7088 if test -s conftest ||
test -s conftest.exe
; then
7094 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7095 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7102 # Decide which environment variable is used to find dynamic libraries.
7104 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7105 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7106 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7107 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7110 # On systems where the dynamic library environment variable is PATH,
7111 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7112 # built executables to PATH.
7113 if test "$RPATH_ENVVAR" = PATH
; then
7114 GCC_SHLIB_SUBDIR
=/shlib
7119 # Adjust the toplevel makefile according to whether bootstrap was selected.
7120 case $enable_bootstrap in
7122 bootstrap_suffix
=bootstrap
7123 BUILD_CONFIG
=bootstrap-debug
7126 bootstrap_suffix
=no-bootstrap
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7132 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7135 # Check whether --with-build-config was given.
7136 if test "${with_build_config+set}" = set; then :
7137 withval
=$with_build_config; case $with_build_config in
7138 yes) with_build_config
= ;;
7139 no
) with_build_config
= BUILD_CONFIG
= ;;
7144 if test "x${with_build_config}" != x
; then
7145 BUILD_CONFIG
=$with_build_config
7147 case $BUILD_CONFIG in
7149 if echo "int f (void) { return 0; }" > conftest.c
&&
7150 ${CC} -c conftest.c
&&
7151 mv conftest.o conftest.o.g0
&&
7152 ${CC} -c -g conftest.c
&&
7153 mv conftest.o conftest.o.g
&&
7154 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7159 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7164 $as_echo "$BUILD_CONFIG" >&6; }
7167 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7169 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7170 # Check whether --enable-vtable-verify was given.
7171 if test "${enable_vtable_verify+set}" = set; then :
7172 enableval
=$enable_vtable_verify; case "$enableval" in
7173 yes) enable_vtable_verify
=yes ;;
7174 no
) enable_vtable_verify
=no
;;
7175 *) enable_vtable_verify
=no
;;
7178 enable_vtable_verify
=no
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7182 $as_echo "$enable_vtable_verify" >&6; }
7184 # Record target_configdirs and the configure arguments for target and
7185 # build configuration in Makefile.
7186 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7187 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7188 bootstrap_fixincludes
=no
7190 # If we are building libgomp, bootstrap it.
7191 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7192 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7195 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7196 # or bootstrap-ubsan, bootstrap it.
7197 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7198 case "$BUILD_CONFIG" in
7199 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7200 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7201 bootstrap_fixincludes
=yes
7206 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7207 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7208 test "$enable_vtable_verify" != no
; then
7209 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7212 # Determine whether gdb needs tk/tcl or not.
7213 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7214 # and in that case we want gdb to be built without tk. Ugh!
7215 # In fact I believe gdb is the *only* package directly dependent on tk,
7216 # so we should be able to put the 'maybe's in unconditionally and
7217 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7218 # 100% sure that that's safe though.
7220 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7221 case "$enable_gdbtk" in
7225 GDB_TK
="${gdb_tk}" ;;
7227 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7228 # distro. Eventually someone will fix this and move Insight, nee
7229 # gdbtk to a separate directory.
7230 if test -d ${srcdir}/gdb
/gdbtk
; then
7237 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7238 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7240 # Strip out unwanted targets.
7242 # While at that, we remove Makefiles if we were started for recursive
7243 # configuration, so that the top-level Makefile reconfigures them,
7244 # like we used to do when configure itself was recursive.
7246 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7247 # but now we're fixing up the Makefile ourselves with the additional
7248 # commands passed to AC_CONFIG_FILES. Use separate variables
7249 # extrasub-{build,host,target} not because there is any reason to split
7250 # the substitutions up that way, but only to remain below the limit of
7251 # 99 commands in a script, for HP-UX sed.
7253 # Do not nest @if/@endif or @unless/@endunless pairs, because
7254 # configure will not warn you at all.
7256 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7257 yes:yes:*\ gold\
*:*,c
++,*) ;;
7258 yes:yes:*\ gold\
*:*)
7259 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7264 for module
in ${build_configdirs} ; do
7265 if test -z "${no_recursion}" \
7266 && test -f ${build_subdir}/${module}/Makefile
; then
7267 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7268 rm -f ${build_subdir}/${module}/Makefile
7270 extrasub_build
="$extrasub_build
7271 /^@if build-$module\$/d
7272 /^@endif build-$module\$/d
7273 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7274 /^@if build-$module-$bootstrap_suffix\$/d
7275 /^@endif build-$module-$bootstrap_suffix\$/d
7276 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7279 for module
in ${configdirs} ; do
7280 if test -z "${no_recursion}"; then
7281 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7282 if test -f ${file}; then
7283 echo 1>&2 "*** removing ${file} to force reconfigure"
7288 case ${module},${bootstrap_fixincludes} in
7289 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7290 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7292 extrasub_host
="$extrasub_host
7294 /^@endif $module\$/d
7295 /^@unless $module\$/,/^@endunless $module\$/d
7296 /^@if $module-$host_bootstrap_suffix\$/d
7297 /^@endif $module-$host_bootstrap_suffix\$/d
7298 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7301 for module
in ${target_configdirs} ; do
7302 if test -z "${no_recursion}" \
7303 && test -f ${target_subdir}/${module}/Makefile
; then
7304 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7305 rm -f ${target_subdir}/${module}/Makefile
7308 # We only bootstrap target libraries listed in bootstrap_target_libs.
7309 case $bootstrap_target_libs in
7310 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7311 *) target_bootstrap_suffix
=no-bootstrap
;;
7314 extrasub_target
="$extrasub_target
7315 /^@if target-$module\$/d
7316 /^@endif target-$module\$/d
7317 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7318 /^@if target-$module-$target_bootstrap_suffix\$/d
7319 /^@endif target-$module-$target_bootstrap_suffix\$/d
7320 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7323 # Do the final fixup along with target modules.
7324 extrasub_target
="$extrasub_target
7329 # Create the serialization dependencies. This uses a temporary file.
7331 # Check whether --enable-serial-configure was given.
7332 if test "${enable_serial_configure+set}" = set; then :
7333 enableval
=$enable_serial_configure;
7337 case ${enable_serial_configure} in
7339 enable_serial_build_configure
=yes
7340 enable_serial_host_configure
=yes
7341 enable_serial_target_configure
=yes
7345 # These force 'configure's to be done one at a time, to avoid problems
7346 # with contention over a shared config.cache.
7348 echo '# serdep.tmp' > serdep.tmp
7350 test "x${enable_serial_build_configure}" = xyes
&&
7351 for item
in ${build_configdirs} ; do
7354 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7359 test "x${enable_serial_host_configure}" = xyes
&&
7360 for item
in ${configdirs} ; do
7363 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7368 test "x${enable_serial_target_configure}" = xyes
&&
7369 for item
in ${target_configdirs} ; do
7372 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7376 serialization_dependencies
=serdep.tmp
7379 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7380 # target, nonopt, and variable assignments. These are the ones we
7381 # might not want to pass down to subconfigures. The exception being
7382 # --cache-file=/dev/null, which is used to turn off the use of cache
7383 # files altogether, and which should be passed on to subconfigures.
7384 # Also strip program-prefix, program-suffix, and program-transform-name,
7385 # so that we can pass down a consistent program-transform-name.
7390 eval "set -- $ac_configure_args"
7393 if test X
"$skip_next" = X
"yes"; then
7397 if test X
"$keep_next" = X
"yes"; then
7400 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7402 baseargs
="$baseargs '$ac_arg'"
7403 tbaseargs
="$tbaseargs '$ac_arg'"
7408 # Handle separated arguments. Based on the logic generated by
7411 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7412 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7413 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7414 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7428 --with-* |
--without-*)
7429 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7433 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7436 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7445 mpc | mpfr | gmp | isl
)
7446 # If we're processing --with-$lib, --with-$lib-include or
7447 # --with-$lib-lib, for one of the libs above, and target is
7448 # different from host, don't pass the current argument to any
7449 # target library's configure.
7450 if test x
$is_cross_compiler = xyes
; then
7459 --cache-file=/dev
/null | \
7460 -cache-file=/dev
/null
)
7461 # Handled here to avoid the test to skip args below.
7462 baseargs
="$baseargs '$ac_arg'"
7463 tbaseargs
="$tbaseargs '$ac_arg'"
7464 # Assert: $separate_arg should always be no.
7465 keep_next
=$separate_arg
7481 -program-prefix* | \
7482 -program-suffix* | \
7483 -program-transform-name* )
7484 skip_next
=$separate_arg
7488 # An option. Add it.
7491 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7493 baseargs
="$baseargs '$ac_arg'"
7494 if test X
"$skip_targ" = Xno
; then
7495 tbaseargs
="$tbaseargs '$ac_arg'"
7497 keep_next
=$separate_arg
7500 # Either a variable assignment, or a nonopt (triplet). Don't
7501 # pass it down; let the Makefile handle this.
7506 # Remove the initial space we just introduced and, as these will be
7507 # expanded by make, quote '$'.
7508 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7510 # Add in --program-transform-name, after --program-prefix and
7511 # --program-suffix have been applied to it. Autoconf has already
7512 # doubled dollar signs and backslashes in program_transform_name; we want
7513 # the backslashes un-doubled, and then the entire thing wrapped in single
7514 # quotes, because this will be expanded first by make and then by the shell.
7515 # Also, because we want to override the logic in subdir configure scripts to
7516 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7517 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7518 ${program_transform_name}
7520 gcc_transform_name
=`cat conftestsed.out`
7521 rm -f conftestsed.out
7522 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7523 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7524 if test "$silent" = yes; then
7525 baseargs
="$baseargs --silent"
7526 tbaseargs
="$tbaseargs --silent"
7528 baseargs
="$baseargs --disable-option-checking"
7529 tbaseargs
="$tbaseargs --disable-option-checking"
7531 # Record and document user additions to sub configure arguments.
7536 # For the build-side libraries, we just need to pretend we're native,
7537 # and not use the same cache file. Multilibs are neither needed nor
7538 # desired. We can't even use the same cache file for all build-side
7539 # libraries, as they're compiled differently; some with C, some with
7540 # C++ or with different feature-enabling options.
7541 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7543 # For host modules, accept cache file option, or specification as blank.
7544 case "${cache_file}" in
7546 cache_file_option
="" ;;
7547 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7548 cache_file_option
="--cache-file=${cache_file}" ;;
7550 cache_file_option
="--cache-file=../${cache_file}" ;;
7553 # Host dirs don't like to share a cache file either, horribly enough.
7554 # This seems to be due to autoconf 2.5x stupidity.
7555 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7557 target_configargs
="$target_configargs ${tbaseargs}"
7559 # Passing a --with-cross-host argument lets the target libraries know
7560 # whether they are being built with a cross-compiler or being built
7561 # native. However, it would be better to use other mechanisms to make the
7562 # sorts of decisions they want to make on this basis. Please consider
7563 # this option to be deprecated. FIXME.
7564 if test x
${is_cross_compiler} = xyes
; then
7565 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7568 # Special user-friendly check for native x86_64-linux build, if
7569 # multilib is not explicitly enabled.
7570 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7571 x86_64-
*linux
*:yes:$build:$build:)
7572 # Make sure we have a development environment that handles 32-bit
7574 echo "int main () { return 0; }" > conftest.c
7575 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7576 if test $?
= 0 ; then
7577 if test -s conftest ||
test -s conftest.exe
; then
7582 if test x
${dev64} != xyes
; then
7583 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
7588 # Default to --enable-multilib.
7589 if test x
${enable_multilib} = x
; then
7590 target_configargs
="--enable-multilib ${target_configargs}"
7593 # Pass --with-newlib if appropriate. Note that target_configdirs has
7594 # changed from the earlier setting of with_newlib.
7595 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7596 target_configargs
="--with-newlib ${target_configargs}"
7599 # Different target subdirs use different values of certain variables
7600 # (notably CXX). Worse, multilibs use *lots* of different values.
7601 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7602 # it doesn't automatically accept command-line overrides of them.
7603 # This means it's not safe for target subdirs to share a cache file,
7604 # which is disgusting, but there you have it. Hopefully this can be
7605 # fixed in future. It's still worthwhile to use a cache file for each
7606 # directory. I think.
7608 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7609 # We need to pass --target, as newer autoconf's requires consistency
7610 # for target_alias and gcc doesn't manage it consistently.
7611 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7614 case " $target_configdirs " in
7616 case " $target_configargs " in
7617 *" --with-newlib "*)
7620 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7624 # If we're not building GCC, don't discard standard headers.
7625 if test -d ${srcdir}/gcc
; then
7626 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7628 if test "${build}" != "${host}"; then
7629 # On Canadian crosses, CC_FOR_TARGET will have already been set
7630 # by `configure', so we won't have an opportunity to add -Bgcc/
7631 # to it. This is right: we don't want to search that directory
7632 # for binaries, but we want the header files in there, so add
7634 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7636 # Someone might think of using the pre-installed headers on
7637 # Canadian crosses, in case the installed compiler is not fully
7638 # compatible with the compiler being built. In this case, it
7639 # would be better to flag an error than risking having
7640 # incompatible object files being constructed. We can't
7641 # guarantee that an error will be flagged, but let's hope the
7642 # compiler will do it, when presented with incompatible header
7647 case "${target}-${is_cross_compiler}" in
7648 i
[3456789]86-*-linux*-no)
7649 # Here host == target, so we don't need to build gcc,
7650 # so we don't want to discard standard headers.
7651 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7654 # If we're building newlib, use its generic headers last, but search
7655 # for any libc-related directories first (so make it the last -B
7657 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7659 # If we're building libgloss, find the startup file, simulator library
7660 # and linker script.
7661 case " $target_configdirs " in
7663 # Look for startup file, simulator library and maybe linker script.
7664 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7665 # Look for libnosys.a in case the target needs it.
7666 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7667 # Most targets have the linker script in the source directory.
7668 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7679 x86_64-
*mingw
* |
*-w64-mingw*)
7680 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7681 # however, use a symlink named 'mingw' in ${prefix} .
7682 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7685 # MinGW can't be handled as Cygwin above since it does not use newlib.
7686 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'
7690 # Allow the user to override the flags for
7691 # our build compiler if desired.
7692 if test x
"${build}" = x
"${host}" ; then
7693 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7694 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7695 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7698 # On Canadian crosses, we'll be searching the right directories for
7699 # the previously-installed cross compiler, so don't bother to add
7700 # flags for directories within the install tree of the compiler
7701 # being built; programs in there won't even run.
7702 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7703 # Search for pre-installed headers if nothing else fits.
7704 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7707 if test "x
${use_gnu_ld}" = x &&
7708 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7709 # Arrange for us to find uninstalled linker scripts.
7710 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7713 # Search for other target-specific linker scripts and such.
7716 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7720 # Makefile fragments.
7721 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7723 eval fragval=\$$frag
7724 if test $fragval != /dev/null; then
7725 eval $frag=${srcdir}/$fragval
7733 # Miscellanea: directories, flags, etc.
7742 # Build module lists & subconfigure args.
7746 # Host module lists & subconfigure args.
7751 # Target module lists & subconfigure args.
7773 # Generate default definitions for YACC, M4, LEX and other programs that run
7774 # on the build machine. These are used if the Makefile can't locate these
7775 # programs in objdir.
7776 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7778 for ac_prog in 'bison -y' byacc yacc
7780 # Extract the first word of "$ac_prog", so it can be a program name with args.
7781 set dummy $ac_prog; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if ${ac_cv_prog_YACC+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$YACC"; then
7788 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_YACC="$ac_prog"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 YACC=$ac_cv_prog_YACC
7808 if test -n "$YACC"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7810 $as_echo "$YACC" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7817 test -n "$YACC" && break
7819 test -n "$YACC" || YACC="$MISSING bison
-y"
7821 case " $build_configdirs " in
7822 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7825 for ac_prog in bison
7827 # Extract the first word of "$ac_prog", so it can be a program name with args.
7828 set dummy $ac_prog; ac_word=$2
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7830 $as_echo_n "checking
for $ac_word...
" >&6; }
7831 if ${ac_cv_prog_BISON+:} false; then :
7832 $as_echo_n "(cached
) " >&6
7834 if test -n "$BISON"; then
7835 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841 test -z "$as_dir" && as_dir=.
7842 for ac_exec_ext in '' $ac_executable_extensions; do
7843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7844 ac_cv_prog_BISON="$ac_prog"
7845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7854 BISON=$ac_cv_prog_BISON
7855 if test -n "$BISON"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7857 $as_echo "$BISON" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7860 $as_echo "no
" >&6; }
7864 test -n "$BISON" && break
7866 test -n "$BISON" || BISON="$MISSING bison
"
7868 case " $build_configdirs " in
7869 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7872 for ac_prog in gm4 gnum4 m4
7874 # Extract the first word of "$ac_prog", so it can be a program name with args.
7875 set dummy $ac_prog; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7877 $as_echo_n "checking
for $ac_word...
" >&6; }
7878 if ${ac_cv_prog_M4+:} false; then :
7879 $as_echo_n "(cached
) " >&6
7881 if test -n "$M4"; then
7882 ac_cv_prog_M4="$M4" # Let the user override the test.
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7891 ac_cv_prog_M4="$ac_prog"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7902 if test -n "$M4"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7904 $as_echo "$M4" >&6; }
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7907 $as_echo "no
" >&6; }
7911 test -n "$M4" && break
7913 test -n "$M4" || M4="$MISSING m4"
7915 case " $build_configdirs " in
7916 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7919 for ac_prog in flex lex
7921 # Extract the first word of "$ac_prog", so it can be a program name with args.
7922 set dummy $ac_prog; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if ${ac_cv_prog_LEX+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$LEX"; then
7929 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_LEX="$ac_prog"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7949 if test -n "$LEX"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7951 $as_echo "$LEX" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7958 test -n "$LEX" && break
7960 test -n "$LEX" || LEX="$MISSING flex
"
7962 case " $build_configdirs " in
7963 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7964 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7969 # Extract the first word of "$ac_prog", so it can be a program name with args.
7970 set dummy $ac_prog; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7972 $as_echo_n "checking
for $ac_word...
" >&6; }
7973 if ${ac_cv_prog_FLEX+:} false; then :
7974 $as_echo_n "(cached
) " >&6
7976 if test -n "$FLEX"; then
7977 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 test -z "$as_dir" && as_dir=.
7984 for ac_exec_ext in '' $ac_executable_extensions; do
7985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7986 ac_cv_prog_FLEX="$ac_prog"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7996 FLEX=$ac_cv_prog_FLEX
7997 if test -n "$FLEX"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7999 $as_echo "$FLEX" >&6; }
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8002 $as_echo "no
" >&6; }
8006 test -n "$FLEX" && break
8008 test -n "$FLEX" || FLEX="$MISSING flex
"
8010 case " $build_configdirs " in
8011 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8014 for ac_prog in makeinfo
8016 # Extract the first word of "$ac_prog", so it can be a program name with args.
8017 set dummy $ac_prog; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8019 $as_echo_n "checking
for $ac_word...
" >&6; }
8020 if ${ac_cv_prog_MAKEINFO+:} false; then :
8021 $as_echo_n "(cached
) " >&6
8023 if test -n "$MAKEINFO"; then
8024 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_MAKEINFO="$ac_prog"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8043 MAKEINFO=$ac_cv_prog_MAKEINFO
8044 if test -n "$MAKEINFO"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8046 $as_echo "$MAKEINFO" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8053 test -n "$MAKEINFO" && break
8055 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8057 case " $build_configdirs " in
8058 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8061 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8062 # higher, else we use the "missing
" dummy.
8063 if ${MAKEINFO} --version \
8064 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8067 MAKEINFO="$MISSING makeinfo
"
8073 # FIXME: expect and dejagnu may become build tools?
8075 for ac_prog in expect
8077 # Extract the first word of "$ac_prog", so it can be a program name with args.
8078 set dummy $ac_prog; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8080 $as_echo_n "checking
for $ac_word...
" >&6; }
8081 if ${ac_cv_prog_EXPECT+:} false; then :
8082 $as_echo_n "(cached
) " >&6
8084 if test -n "$EXPECT"; then
8085 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_EXPECT="$ac_prog"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8104 EXPECT=$ac_cv_prog_EXPECT
8105 if test -n "$EXPECT"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8107 $as_echo "$EXPECT" >&6; }
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8110 $as_echo "no
" >&6; }
8114 test -n "$EXPECT" && break
8116 test -n "$EXPECT" || EXPECT="expect
"
8118 case " $configdirs " in
8120 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8124 for ac_prog in runtest
8126 # Extract the first word of "$ac_prog", so it can be a program name with args.
8127 set dummy $ac_prog; ac_word=$2
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8129 $as_echo_n "checking
for $ac_word...
" >&6; }
8130 if ${ac_cv_prog_RUNTEST+:} false; then :
8131 $as_echo_n "(cached
) " >&6
8133 if test -n "$RUNTEST"; then
8134 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8143 ac_cv_prog_RUNTEST="$ac_prog"
8144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8153 RUNTEST=$ac_cv_prog_RUNTEST
8154 if test -n "$RUNTEST"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8156 $as_echo "$RUNTEST" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8159 $as_echo "no
" >&6; }
8163 test -n "$RUNTEST" && break
8165 test -n "$RUNTEST" || RUNTEST="runtest
"
8167 case " $configdirs " in
8169 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8176 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8177 ncn_target_tool_prefix=
8178 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8182 if test -n "$AR"; then
8184 elif test -n "$ac_cv_prog_AR"; then
8188 if test -n "$ac_cv_prog_AR"; then
8189 for ncn_progname in ar; do
8190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8191 set dummy ${ncn_progname}; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8193 $as_echo_n "checking
for $ac_word...
" >&6; }
8194 if ${ac_cv_prog_AR+:} false; then :
8195 $as_echo_n "(cached
) " >&6
8197 if test -n "$AR"; then
8198 ac_cv_prog_AR="$AR" # Let the user override the test.
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_AR="${ncn_progname}"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8218 if test -n "$AR"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8220 $as_echo "$AR" >&6; }
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8223 $as_echo "no
" >&6; }
8230 for ncn_progname in ar; do
8231 if test -n "$ncn_tool_prefix"; then
8232 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8233 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8235 $as_echo_n "checking
for $ac_word...
" >&6; }
8236 if ${ac_cv_prog_AR+:} false; then :
8237 $as_echo_n "(cached
) " >&6
8239 if test -n "$AR"; then
8240 ac_cv_prog_AR="$AR" # Let the user override the test.
8242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8246 test -z "$as_dir" && as_dir=.
8247 for ac_exec_ext in '' $ac_executable_extensions; do
8248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8249 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8260 if test -n "$AR"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8262 $as_echo "$AR" >&6; }
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8265 $as_echo "no
" >&6; }
8270 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8271 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8272 set dummy ${ncn_progname}; ac_word=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8274 $as_echo_n "checking
for $ac_word...
" >&6; }
8275 if ${ac_cv_prog_AR+:} false; then :
8276 $as_echo_n "(cached
) " >&6
8278 if test -n "$AR"; then
8279 ac_cv_prog_AR="$AR" # Let the user override the test.
8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir=.
8286 for ac_exec_ext in '' $ac_executable_extensions; do
8287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8288 ac_cv_prog_AR="${ncn_progname}"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8299 if test -n "$AR"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8301 $as_echo "$AR" >&6; }
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8304 $as_echo "no
" >&6; }
8309 test -n "$ac_cv_prog_AR" && break
8312 if test -z "$ac_cv_prog_AR" ; then
8314 if test $build = $host ; then
8317 AR="${ncn_tool_prefix}$2"
8323 if test -n "$AS"; then
8325 elif test -n "$ac_cv_prog_AS"; then
8329 if test -n "$ac_cv_prog_AS"; then
8330 for ncn_progname in as; do
8331 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8332 set dummy ${ncn_progname}; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8334 $as_echo_n "checking
for $ac_word...
" >&6; }
8335 if ${ac_cv_prog_AS+:} false; then :
8336 $as_echo_n "(cached
) " >&6
8338 if test -n "$AS"; then
8339 ac_cv_prog_AS="$AS" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348 ac_cv_prog_AS="${ncn_progname}"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8359 if test -n "$AS"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8361 $as_echo "$AS" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8364 $as_echo "no
" >&6; }
8371 for ncn_progname in as; do
8372 if test -n "$ncn_tool_prefix"; then
8373 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8374 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8376 $as_echo_n "checking
for $ac_word...
" >&6; }
8377 if ${ac_cv_prog_AS+:} false; then :
8378 $as_echo_n "(cached
) " >&6
8380 if test -n "$AS"; then
8381 ac_cv_prog_AS="$AS" # Let the user override the test.
8383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387 test -z "$as_dir" && as_dir=.
8388 for ac_exec_ext in '' $ac_executable_extensions; do
8389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8390 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8401 if test -n "$AS"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8403 $as_echo "$AS" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8406 $as_echo "no
" >&6; }
8411 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8412 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8413 set dummy ${ncn_progname}; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8415 $as_echo_n "checking
for $ac_word...
" >&6; }
8416 if ${ac_cv_prog_AS+:} false; then :
8417 $as_echo_n "(cached
) " >&6
8419 if test -n "$AS"; then
8420 ac_cv_prog_AS="$AS" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_AS="${ncn_progname}"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8440 if test -n "$AS"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8442 $as_echo "$AS" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8445 $as_echo "no
" >&6; }
8450 test -n "$ac_cv_prog_AS" && break
8453 if test -z "$ac_cv_prog_AS" ; then
8455 if test $build = $host ; then
8458 AS="${ncn_tool_prefix}$2"
8464 if test -n "$DLLTOOL"; then
8465 ac_cv_prog_DLLTOOL=$DLLTOOL
8466 elif test -n "$ac_cv_prog_DLLTOOL"; then
8467 DLLTOOL=$ac_cv_prog_DLLTOOL
8470 if test -n "$ac_cv_prog_DLLTOOL"; then
8471 for ncn_progname in dlltool; do
8472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8473 set dummy ${ncn_progname}; ac_word=$2
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8475 $as_echo_n "checking
for $ac_word...
" >&6; }
8476 if ${ac_cv_prog_DLLTOOL+:} false; then :
8477 $as_echo_n "(cached
) " >&6
8479 if test -n "$DLLTOOL"; then
8480 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 test -z "$as_dir" && as_dir=.
8487 for ac_exec_ext in '' $ac_executable_extensions; do
8488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8489 ac_cv_prog_DLLTOOL="${ncn_progname}"
8490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8499 DLLTOOL=$ac_cv_prog_DLLTOOL
8500 if test -n "$DLLTOOL"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8502 $as_echo "$DLLTOOL" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8505 $as_echo "no
" >&6; }
8512 for ncn_progname in dlltool; do
8513 if test -n "$ncn_tool_prefix"; then
8514 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8515 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8517 $as_echo_n "checking
for $ac_word...
" >&6; }
8518 if ${ac_cv_prog_DLLTOOL+:} false; then :
8519 $as_echo_n "(cached
) " >&6
8521 if test -n "$DLLTOOL"; then
8522 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8528 test -z "$as_dir" && as_dir=.
8529 for ac_exec_ext in '' $ac_executable_extensions; do
8530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8531 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8541 DLLTOOL=$ac_cv_prog_DLLTOOL
8542 if test -n "$DLLTOOL"; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8544 $as_echo "$DLLTOOL" >&6; }
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8547 $as_echo "no
" >&6; }
8552 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8553 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8554 set dummy ${ncn_progname}; ac_word=$2
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8556 $as_echo_n "checking
for $ac_word...
" >&6; }
8557 if ${ac_cv_prog_DLLTOOL+:} false; then :
8558 $as_echo_n "(cached
) " >&6
8560 if test -n "$DLLTOOL"; then
8561 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8567 test -z "$as_dir" && as_dir=.
8568 for ac_exec_ext in '' $ac_executable_extensions; do
8569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8570 ac_cv_prog_DLLTOOL="${ncn_progname}"
8571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8580 DLLTOOL=$ac_cv_prog_DLLTOOL
8581 if test -n "$DLLTOOL"; then
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8583 $as_echo "$DLLTOOL" >&6; }
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8586 $as_echo "no
" >&6; }
8591 test -n "$ac_cv_prog_DLLTOOL" && break
8594 if test -z "$ac_cv_prog_DLLTOOL" ; then
8596 if test $build = $host ; then
8599 DLLTOOL="${ncn_tool_prefix}$2"
8605 if test -n "$LD"; then
8607 elif test -n "$ac_cv_prog_LD"; then
8611 if test -n "$ac_cv_prog_LD"; then
8612 for ncn_progname in ld; do
8613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8614 set dummy ${ncn_progname}; ac_word=$2
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8616 $as_echo_n "checking
for $ac_word...
" >&6; }
8617 if ${ac_cv_prog_LD+:} false; then :
8618 $as_echo_n "(cached
) " >&6
8620 if test -n "$LD"; then
8621 ac_cv_prog_LD="$LD" # Let the user override the test.
8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir=.
8628 for ac_exec_ext in '' $ac_executable_extensions; do
8629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8630 ac_cv_prog_LD="${ncn_progname}"
8631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8641 if test -n "$LD"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8643 $as_echo "$LD" >&6; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8646 $as_echo "no
" >&6; }
8653 for ncn_progname in ld; do
8654 if test -n "$ncn_tool_prefix"; then
8655 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8656 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8658 $as_echo_n "checking
for $ac_word...
" >&6; }
8659 if ${ac_cv_prog_LD+:} false; then :
8660 $as_echo_n "(cached
) " >&6
8662 if test -n "$LD"; then
8663 ac_cv_prog_LD="$LD" # Let the user override the test.
8665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8669 test -z "$as_dir" && as_dir=.
8670 for ac_exec_ext in '' $ac_executable_extensions; do
8671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8672 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8683 if test -n "$LD"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8685 $as_echo "$LD" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8688 $as_echo "no
" >&6; }
8693 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8694 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8695 set dummy ${ncn_progname}; ac_word=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8697 $as_echo_n "checking
for $ac_word...
" >&6; }
8698 if ${ac_cv_prog_LD+:} false; then :
8699 $as_echo_n "(cached
) " >&6
8701 if test -n "$LD"; then
8702 ac_cv_prog_LD="$LD" # Let the user override the test.
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8711 ac_cv_prog_LD="${ncn_progname}"
8712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8722 if test -n "$LD"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8724 $as_echo "$LD" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8727 $as_echo "no
" >&6; }
8732 test -n "$ac_cv_prog_LD" && break
8735 if test -z "$ac_cv_prog_LD" ; then
8737 if test $build = $host ; then
8740 LD="${ncn_tool_prefix}$2"
8746 if test -n "$LIPO"; then
8747 ac_cv_prog_LIPO=$LIPO
8748 elif test -n "$ac_cv_prog_LIPO"; then
8749 LIPO=$ac_cv_prog_LIPO
8752 if test -n "$ac_cv_prog_LIPO"; then
8753 for ncn_progname in lipo; do
8754 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8755 set dummy ${ncn_progname}; ac_word=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8757 $as_echo_n "checking
for $ac_word...
" >&6; }
8758 if ${ac_cv_prog_LIPO+:} false; then :
8759 $as_echo_n "(cached
) " >&6
8761 if test -n "$LIPO"; then
8762 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_prog_LIPO="${ncn_progname}"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8781 LIPO=$ac_cv_prog_LIPO
8782 if test -n "$LIPO"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8784 $as_echo "$LIPO" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8787 $as_echo "no
" >&6; }
8794 for ncn_progname in lipo; do
8795 if test -n "$ncn_tool_prefix"; then
8796 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8797 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8799 $as_echo_n "checking
for $ac_word...
" >&6; }
8800 if ${ac_cv_prog_LIPO+:} false; then :
8801 $as_echo_n "(cached
) " >&6
8803 if test -n "$LIPO"; then
8804 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8813 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8823 LIPO=$ac_cv_prog_LIPO
8824 if test -n "$LIPO"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8826 $as_echo "$LIPO" >&6; }
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8829 $as_echo "no
" >&6; }
8834 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8836 set dummy ${ncn_progname}; ac_word=$2
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8838 $as_echo_n "checking
for $ac_word...
" >&6; }
8839 if ${ac_cv_prog_LIPO+:} false; then :
8840 $as_echo_n "(cached
) " >&6
8842 if test -n "$LIPO"; then
8843 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 test -z "$as_dir" && as_dir=.
8850 for ac_exec_ext in '' $ac_executable_extensions; do
8851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8852 ac_cv_prog_LIPO="${ncn_progname}"
8853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8862 LIPO=$ac_cv_prog_LIPO
8863 if test -n "$LIPO"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8865 $as_echo "$LIPO" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8868 $as_echo "no
" >&6; }
8873 test -n "$ac_cv_prog_LIPO" && break
8876 if test -z "$ac_cv_prog_LIPO" ; then
8878 if test $build = $host ; then
8881 LIPO="${ncn_tool_prefix}$2"
8887 if test -n "$NM"; then
8889 elif test -n "$ac_cv_prog_NM"; then
8893 if test -n "$ac_cv_prog_NM"; then
8894 for ncn_progname in nm; do
8895 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8896 set dummy ${ncn_progname}; ac_word=$2
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8898 $as_echo_n "checking
for $ac_word...
" >&6; }
8899 if ${ac_cv_prog_NM+:} false; then :
8900 $as_echo_n "(cached
) " >&6
8902 if test -n "$NM"; then
8903 ac_cv_prog_NM="$NM" # Let the user override the test.
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 test -z "$as_dir" && as_dir=.
8910 for ac_exec_ext in '' $ac_executable_extensions; do
8911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912 ac_cv_prog_NM="${ncn_progname}"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8923 if test -n "$NM"; then
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8925 $as_echo "$NM" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8928 $as_echo "no
" >&6; }
8935 for ncn_progname in nm; do
8936 if test -n "$ncn_tool_prefix"; then
8937 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8938 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8940 $as_echo_n "checking
for $ac_word...
" >&6; }
8941 if ${ac_cv_prog_NM+:} false; then :
8942 $as_echo_n "(cached
) " >&6
8944 if test -n "$NM"; then
8945 ac_cv_prog_NM="$NM" # Let the user override the test.
8947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8951 test -z "$as_dir" && as_dir=.
8952 for ac_exec_ext in '' $ac_executable_extensions; do
8953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8954 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8965 if test -n "$NM"; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8967 $as_echo "$NM" >&6; }
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8970 $as_echo "no
" >&6; }
8975 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8976 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8977 set dummy ${ncn_progname}; ac_word=$2
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8979 $as_echo_n "checking
for $ac_word...
" >&6; }
8980 if ${ac_cv_prog_NM+:} false; then :
8981 $as_echo_n "(cached
) " >&6
8983 if test -n "$NM"; then
8984 ac_cv_prog_NM="$NM" # Let the user override the test.
8986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir=.
8991 for ac_exec_ext in '' $ac_executable_extensions; do
8992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8993 ac_cv_prog_NM="${ncn_progname}"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9004 if test -n "$NM"; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9006 $as_echo "$NM" >&6; }
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9009 $as_echo "no
" >&6; }
9014 test -n "$ac_cv_prog_NM" && break
9017 if test -z "$ac_cv_prog_NM" ; then
9019 if test $build = $host ; then
9022 NM="${ncn_tool_prefix}$2"
9028 if test -n "$RANLIB"; then
9029 ac_cv_prog_RANLIB=$RANLIB
9030 elif test -n "$ac_cv_prog_RANLIB"; then
9031 RANLIB=$ac_cv_prog_RANLIB
9034 if test -n "$ac_cv_prog_RANLIB"; then
9035 for ncn_progname in ranlib; do
9036 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9037 set dummy ${ncn_progname}; ac_word=$2
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9039 $as_echo_n "checking
for $ac_word...
" >&6; }
9040 if ${ac_cv_prog_RANLIB+:} false; then :
9041 $as_echo_n "(cached
) " >&6
9043 if test -n "$RANLIB"; then
9044 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9050 test -z "$as_dir" && as_dir=.
9051 for ac_exec_ext in '' $ac_executable_extensions; do
9052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9053 ac_cv_prog_RANLIB="${ncn_progname}"
9054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9063 RANLIB=$ac_cv_prog_RANLIB
9064 if test -n "$RANLIB"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9066 $as_echo "$RANLIB" >&6; }
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9069 $as_echo "no
" >&6; }
9076 for ncn_progname in ranlib; do
9077 if test -n "$ncn_tool_prefix"; then
9078 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9079 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9081 $as_echo_n "checking
for $ac_word...
" >&6; }
9082 if ${ac_cv_prog_RANLIB+:} false; then :
9083 $as_echo_n "(cached
) " >&6
9085 if test -n "$RANLIB"; then
9086 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9092 test -z "$as_dir" && as_dir=.
9093 for ac_exec_ext in '' $ac_executable_extensions; do
9094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9095 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9105 RANLIB=$ac_cv_prog_RANLIB
9106 if test -n "$RANLIB"; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9108 $as_echo "$RANLIB" >&6; }
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9111 $as_echo "no
" >&6; }
9116 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9117 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9118 set dummy ${ncn_progname}; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9120 $as_echo_n "checking
for $ac_word...
" >&6; }
9121 if ${ac_cv_prog_RANLIB+:} false; then :
9122 $as_echo_n "(cached
) " >&6
9124 if test -n "$RANLIB"; then
9125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134 ac_cv_prog_RANLIB="${ncn_progname}"
9135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9144 RANLIB=$ac_cv_prog_RANLIB
9145 if test -n "$RANLIB"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9147 $as_echo "$RANLIB" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9150 $as_echo "no
" >&6; }
9155 test -n "$ac_cv_prog_RANLIB" && break
9158 if test -z "$ac_cv_prog_RANLIB" ; then
9164 if test -n "$STRIP"; then
9165 ac_cv_prog_STRIP=$STRIP
9166 elif test -n "$ac_cv_prog_STRIP"; then
9167 STRIP=$ac_cv_prog_STRIP
9170 if test -n "$ac_cv_prog_STRIP"; then
9171 for ncn_progname in strip; do
9172 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9173 set dummy ${ncn_progname}; ac_word=$2
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9175 $as_echo_n "checking
for $ac_word...
" >&6; }
9176 if ${ac_cv_prog_STRIP+:} false; then :
9177 $as_echo_n "(cached
) " >&6
9179 if test -n "$STRIP"; then
9180 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9186 test -z "$as_dir" && as_dir=.
9187 for ac_exec_ext in '' $ac_executable_extensions; do
9188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9189 ac_cv_prog_STRIP="${ncn_progname}"
9190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9199 STRIP=$ac_cv_prog_STRIP
9200 if test -n "$STRIP"; then
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9202 $as_echo "$STRIP" >&6; }
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9205 $as_echo "no
" >&6; }
9212 for ncn_progname in strip; do
9213 if test -n "$ncn_tool_prefix"; then
9214 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9215 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9217 $as_echo_n "checking
for $ac_word...
" >&6; }
9218 if ${ac_cv_prog_STRIP+:} false; then :
9219 $as_echo_n "(cached
) " >&6
9221 if test -n "$STRIP"; then
9222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228 test -z "$as_dir" && as_dir=.
9229 for ac_exec_ext in '' $ac_executable_extensions; do
9230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9231 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9241 STRIP=$ac_cv_prog_STRIP
9242 if test -n "$STRIP"; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9244 $as_echo "$STRIP" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9247 $as_echo "no
" >&6; }
9252 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9254 set dummy ${ncn_progname}; ac_word=$2
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9256 $as_echo_n "checking
for $ac_word...
" >&6; }
9257 if ${ac_cv_prog_STRIP+:} false; then :
9258 $as_echo_n "(cached
) " >&6
9260 if test -n "$STRIP"; then
9261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9267 test -z "$as_dir" && as_dir=.
9268 for ac_exec_ext in '' $ac_executable_extensions; do
9269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9270 ac_cv_prog_STRIP="${ncn_progname}"
9271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9280 STRIP=$ac_cv_prog_STRIP
9281 if test -n "$STRIP"; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9283 $as_echo "$STRIP" >&6; }
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9286 $as_echo "no
" >&6; }
9291 test -n "$ac_cv_prog_STRIP" && break
9294 if test -z "$ac_cv_prog_STRIP" ; then
9300 if test -n "$WINDRES"; then
9301 ac_cv_prog_WINDRES=$WINDRES
9302 elif test -n "$ac_cv_prog_WINDRES"; then
9303 WINDRES=$ac_cv_prog_WINDRES
9306 if test -n "$ac_cv_prog_WINDRES"; then
9307 for ncn_progname in windres; do
9308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9309 set dummy ${ncn_progname}; ac_word=$2
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9311 $as_echo_n "checking
for $ac_word...
" >&6; }
9312 if ${ac_cv_prog_WINDRES+:} false; then :
9313 $as_echo_n "(cached
) " >&6
9315 if test -n "$WINDRES"; then
9316 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9322 test -z "$as_dir" && as_dir=.
9323 for ac_exec_ext in '' $ac_executable_extensions; do
9324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9325 ac_cv_prog_WINDRES="${ncn_progname}"
9326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9335 WINDRES=$ac_cv_prog_WINDRES
9336 if test -n "$WINDRES"; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9338 $as_echo "$WINDRES" >&6; }
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9341 $as_echo "no
" >&6; }
9348 for ncn_progname in windres; do
9349 if test -n "$ncn_tool_prefix"; then
9350 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9351 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9353 $as_echo_n "checking
for $ac_word...
" >&6; }
9354 if ${ac_cv_prog_WINDRES+:} false; then :
9355 $as_echo_n "(cached
) " >&6
9357 if test -n "$WINDRES"; then
9358 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9364 test -z "$as_dir" && as_dir=.
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9367 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9377 WINDRES=$ac_cv_prog_WINDRES
9378 if test -n "$WINDRES"; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9380 $as_echo "$WINDRES" >&6; }
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9383 $as_echo "no
" >&6; }
9388 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9390 set dummy ${ncn_progname}; ac_word=$2
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9392 $as_echo_n "checking
for $ac_word...
" >&6; }
9393 if ${ac_cv_prog_WINDRES+:} false; then :
9394 $as_echo_n "(cached
) " >&6
9396 if test -n "$WINDRES"; then
9397 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir=.
9404 for ac_exec_ext in '' $ac_executable_extensions; do
9405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9406 ac_cv_prog_WINDRES="${ncn_progname}"
9407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9416 WINDRES=$ac_cv_prog_WINDRES
9417 if test -n "$WINDRES"; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9419 $as_echo "$WINDRES" >&6; }
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9422 $as_echo "no
" >&6; }
9427 test -n "$ac_cv_prog_WINDRES" && break
9430 if test -z "$ac_cv_prog_WINDRES" ; then
9432 if test $build = $host ; then
9435 WINDRES="${ncn_tool_prefix}$2"
9441 if test -n "$WINDMC"; then
9442 ac_cv_prog_WINDMC=$WINDMC
9443 elif test -n "$ac_cv_prog_WINDMC"; then
9444 WINDMC=$ac_cv_prog_WINDMC
9447 if test -n "$ac_cv_prog_WINDMC"; then
9448 for ncn_progname in windmc; do
9449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9450 set dummy ${ncn_progname}; ac_word=$2
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9452 $as_echo_n "checking
for $ac_word...
" >&6; }
9453 if ${ac_cv_prog_WINDMC+:} false; then :
9454 $as_echo_n "(cached
) " >&6
9456 if test -n "$WINDMC"; then
9457 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463 test -z "$as_dir" && as_dir=.
9464 for ac_exec_ext in '' $ac_executable_extensions; do
9465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9466 ac_cv_prog_WINDMC="${ncn_progname}"
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9476 WINDMC=$ac_cv_prog_WINDMC
9477 if test -n "$WINDMC"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9479 $as_echo "$WINDMC" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9482 $as_echo "no
" >&6; }
9489 for ncn_progname in windmc; do
9490 if test -n "$ncn_tool_prefix"; then
9491 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9492 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9494 $as_echo_n "checking
for $ac_word...
" >&6; }
9495 if ${ac_cv_prog_WINDMC+:} false; then :
9496 $as_echo_n "(cached
) " >&6
9498 if test -n "$WINDMC"; then
9499 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9505 test -z "$as_dir" && as_dir=.
9506 for ac_exec_ext in '' $ac_executable_extensions; do
9507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9508 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9518 WINDMC=$ac_cv_prog_WINDMC
9519 if test -n "$WINDMC"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9521 $as_echo "$WINDMC" >&6; }
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9524 $as_echo "no
" >&6; }
9529 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9530 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9531 set dummy ${ncn_progname}; ac_word=$2
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9533 $as_echo_n "checking
for $ac_word...
" >&6; }
9534 if ${ac_cv_prog_WINDMC+:} false; then :
9535 $as_echo_n "(cached
) " >&6
9537 if test -n "$WINDMC"; then
9538 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir=.
9545 for ac_exec_ext in '' $ac_executable_extensions; do
9546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9547 ac_cv_prog_WINDMC="${ncn_progname}"
9548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9557 WINDMC=$ac_cv_prog_WINDMC
9558 if test -n "$WINDMC"; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9560 $as_echo "$WINDMC" >&6; }
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9563 $as_echo "no
" >&6; }
9568 test -n "$ac_cv_prog_WINDMC" && break
9571 if test -z "$ac_cv_prog_WINDMC" ; then
9573 if test $build = $host ; then
9576 WINDMC="${ncn_tool_prefix}$2"
9582 if test -n "$OBJCOPY"; then
9583 ac_cv_prog_OBJCOPY=$OBJCOPY
9584 elif test -n "$ac_cv_prog_OBJCOPY"; then
9585 OBJCOPY=$ac_cv_prog_OBJCOPY
9588 if test -n "$ac_cv_prog_OBJCOPY"; then
9589 for ncn_progname in objcopy; do
9590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9591 set dummy ${ncn_progname}; ac_word=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9593 $as_echo_n "checking
for $ac_word...
" >&6; }
9594 if ${ac_cv_prog_OBJCOPY+:} false; then :
9595 $as_echo_n "(cached
) " >&6
9597 if test -n "$OBJCOPY"; then
9598 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9604 test -z "$as_dir" && as_dir=.
9605 for ac_exec_ext in '' $ac_executable_extensions; do
9606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9607 ac_cv_prog_OBJCOPY="${ncn_progname}"
9608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9617 OBJCOPY=$ac_cv_prog_OBJCOPY
9618 if test -n "$OBJCOPY"; then
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9620 $as_echo "$OBJCOPY" >&6; }
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9623 $as_echo "no
" >&6; }
9630 for ncn_progname in objcopy; do
9631 if test -n "$ncn_tool_prefix"; then
9632 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9633 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9635 $as_echo_n "checking
for $ac_word...
" >&6; }
9636 if ${ac_cv_prog_OBJCOPY+:} false; then :
9637 $as_echo_n "(cached
) " >&6
9639 if test -n "$OBJCOPY"; then
9640 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9646 test -z "$as_dir" && as_dir=.
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9649 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9659 OBJCOPY=$ac_cv_prog_OBJCOPY
9660 if test -n "$OBJCOPY"; then
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9662 $as_echo "$OBJCOPY" >&6; }
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9665 $as_echo "no
" >&6; }
9670 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9671 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9672 set dummy ${ncn_progname}; ac_word=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9674 $as_echo_n "checking
for $ac_word...
" >&6; }
9675 if ${ac_cv_prog_OBJCOPY+:} false; then :
9676 $as_echo_n "(cached
) " >&6
9678 if test -n "$OBJCOPY"; then
9679 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir=.
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9688 ac_cv_prog_OBJCOPY="${ncn_progname}"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9698 OBJCOPY=$ac_cv_prog_OBJCOPY
9699 if test -n "$OBJCOPY"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9701 $as_echo "$OBJCOPY" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9704 $as_echo "no
" >&6; }
9709 test -n "$ac_cv_prog_OBJCOPY" && break
9712 if test -z "$ac_cv_prog_OBJCOPY" ; then
9714 if test $build = $host ; then
9717 OBJCOPY="${ncn_tool_prefix}$2"
9723 if test -n "$OBJDUMP"; then
9724 ac_cv_prog_OBJDUMP=$OBJDUMP
9725 elif test -n "$ac_cv_prog_OBJDUMP"; then
9726 OBJDUMP=$ac_cv_prog_OBJDUMP
9729 if test -n "$ac_cv_prog_OBJDUMP"; then
9730 for ncn_progname in objdump; do
9731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9732 set dummy ${ncn_progname}; ac_word=$2
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9734 $as_echo_n "checking
for $ac_word...
" >&6; }
9735 if ${ac_cv_prog_OBJDUMP+:} false; then :
9736 $as_echo_n "(cached
) " >&6
9738 if test -n "$OBJDUMP"; then
9739 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9745 test -z "$as_dir" && as_dir=.
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9748 ac_cv_prog_OBJDUMP="${ncn_progname}"
9749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9758 OBJDUMP=$ac_cv_prog_OBJDUMP
9759 if test -n "$OBJDUMP"; then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9761 $as_echo "$OBJDUMP" >&6; }
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9764 $as_echo "no
" >&6; }
9771 for ncn_progname in objdump; do
9772 if test -n "$ncn_tool_prefix"; then
9773 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9774 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9776 $as_echo_n "checking
for $ac_word...
" >&6; }
9777 if ${ac_cv_prog_OBJDUMP+:} false; then :
9778 $as_echo_n "(cached
) " >&6
9780 if test -n "$OBJDUMP"; then
9781 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir=.
9788 for ac_exec_ext in '' $ac_executable_extensions; do
9789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9790 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9800 OBJDUMP=$ac_cv_prog_OBJDUMP
9801 if test -n "$OBJDUMP"; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9803 $as_echo "$OBJDUMP" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9806 $as_echo "no
" >&6; }
9811 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9812 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9813 set dummy ${ncn_progname}; ac_word=$2
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9815 $as_echo_n "checking
for $ac_word...
" >&6; }
9816 if ${ac_cv_prog_OBJDUMP+:} false; then :
9817 $as_echo_n "(cached
) " >&6
9819 if test -n "$OBJDUMP"; then
9820 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir=.
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_OBJDUMP="${ncn_progname}"
9830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9839 OBJDUMP=$ac_cv_prog_OBJDUMP
9840 if test -n "$OBJDUMP"; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9842 $as_echo "$OBJDUMP" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9845 $as_echo "no
" >&6; }
9850 test -n "$ac_cv_prog_OBJDUMP" && break
9853 if test -z "$ac_cv_prog_OBJDUMP" ; then
9855 if test $build = $host ; then
9858 OBJDUMP="${ncn_tool_prefix}$2"
9864 if test -n "$OTOOL"; then
9865 ac_cv_prog_OTOOL=$OTOOL
9866 elif test -n "$ac_cv_prog_OTOOL"; then
9867 OTOOL=$ac_cv_prog_OTOOL
9870 if test -n "$ac_cv_prog_OTOOL"; then
9871 for ncn_progname in otool; do
9872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9873 set dummy ${ncn_progname}; ac_word=$2
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9875 $as_echo_n "checking
for $ac_word...
" >&6; }
9876 if ${ac_cv_prog_OTOOL+:} false; then :
9877 $as_echo_n "(cached
) " >&6
9879 if test -n "$OTOOL"; then
9880 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9886 test -z "$as_dir" && as_dir=.
9887 for ac_exec_ext in '' $ac_executable_extensions; do
9888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9889 ac_cv_prog_OTOOL="${ncn_progname}"
9890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9899 OTOOL=$ac_cv_prog_OTOOL
9900 if test -n "$OTOOL"; then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9902 $as_echo "$OTOOL" >&6; }
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9905 $as_echo "no
" >&6; }
9912 for ncn_progname in otool; do
9913 if test -n "$ncn_tool_prefix"; then
9914 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9915 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9917 $as_echo_n "checking
for $ac_word...
" >&6; }
9918 if ${ac_cv_prog_OTOOL+:} false; then :
9919 $as_echo_n "(cached
) " >&6
9921 if test -n "$OTOOL"; then
9922 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9928 test -z "$as_dir" && as_dir=.
9929 for ac_exec_ext in '' $ac_executable_extensions; do
9930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9931 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
9932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9941 OTOOL=$ac_cv_prog_OTOOL
9942 if test -n "$OTOOL"; then
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9944 $as_echo "$OTOOL" >&6; }
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9947 $as_echo "no
" >&6; }
9952 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
9953 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9954 set dummy ${ncn_progname}; ac_word=$2
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9956 $as_echo_n "checking
for $ac_word...
" >&6; }
9957 if ${ac_cv_prog_OTOOL+:} false; then :
9958 $as_echo_n "(cached
) " >&6
9960 if test -n "$OTOOL"; then
9961 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir=.
9968 for ac_exec_ext in '' $ac_executable_extensions; do
9969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9970 ac_cv_prog_OTOOL="${ncn_progname}"
9971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9980 OTOOL=$ac_cv_prog_OTOOL
9981 if test -n "$OTOOL"; then
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9983 $as_echo "$OTOOL" >&6; }
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9986 $as_echo "no
" >&6; }
9991 test -n "$ac_cv_prog_OTOOL" && break
9994 if test -z "$ac_cv_prog_OTOOL" ; then
9996 if test $build = $host ; then
9999 OTOOL="${ncn_tool_prefix}$2"
10005 if test -n "$READELF"; then
10006 ac_cv_prog_READELF=$READELF
10007 elif test -n "$ac_cv_prog_READELF"; then
10008 READELF=$ac_cv_prog_READELF
10011 if test -n "$ac_cv_prog_READELF"; then
10012 for ncn_progname in readelf; do
10013 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10014 set dummy ${ncn_progname}; ac_word=$2
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10016 $as_echo_n "checking
for $ac_word...
" >&6; }
10017 if ${ac_cv_prog_READELF+:} false; then :
10018 $as_echo_n "(cached
) " >&6
10020 if test -n "$READELF"; then
10021 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10024 for as_dir in $PATH
10027 test -z "$as_dir" && as_dir=.
10028 for ac_exec_ext in '' $ac_executable_extensions; do
10029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10030 ac_cv_prog_READELF="${ncn_progname}"
10031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10040 READELF=$ac_cv_prog_READELF
10041 if test -n "$READELF"; then
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10043 $as_echo "$READELF" >&6; }
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10046 $as_echo "no
" >&6; }
10053 for ncn_progname in readelf; do
10054 if test -n "$ncn_tool_prefix"; then
10055 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10056 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10058 $as_echo_n "checking
for $ac_word...
" >&6; }
10059 if ${ac_cv_prog_READELF+:} false; then :
10060 $as_echo_n "(cached
) " >&6
10062 if test -n "$READELF"; then
10063 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10066 for as_dir in $PATH
10069 test -z "$as_dir" && as_dir=.
10070 for ac_exec_ext in '' $ac_executable_extensions; do
10071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10072 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10082 READELF=$ac_cv_prog_READELF
10083 if test -n "$READELF"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10085 $as_echo "$READELF" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10088 $as_echo "no
" >&6; }
10093 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10094 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10095 set dummy ${ncn_progname}; ac_word=$2
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10097 $as_echo_n "checking
for $ac_word...
" >&6; }
10098 if ${ac_cv_prog_READELF+:} false; then :
10099 $as_echo_n "(cached
) " >&6
10101 if test -n "$READELF"; then
10102 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10105 for as_dir in $PATH
10108 test -z "$as_dir" && as_dir=.
10109 for ac_exec_ext in '' $ac_executable_extensions; do
10110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10111 ac_cv_prog_READELF="${ncn_progname}"
10112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10121 READELF=$ac_cv_prog_READELF
10122 if test -n "$READELF"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10124 $as_echo "$READELF" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10127 $as_echo "no
" >&6; }
10132 test -n "$ac_cv_prog_READELF" && break
10135 if test -z "$ac_cv_prog_READELF" ; then
10137 if test $build = $host ; then
10140 READELF="${ncn_tool_prefix}$2"
10151 # Check whether --with-build-time-tools was given.
10152 if test "${with_build_time_tools+set}" = set; then :
10153 withval=$with_build_time_tools; case x"$withval" in
10156 with_build_time_tools=
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10158 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10162 with_build_time_tools=
10168 if test -n "$CC_FOR_TARGET"; then
10169 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10170 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10171 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10174 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10175 for ncn_progname in cc gcc; do
10176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10177 set dummy ${ncn_progname}; ac_word=$2
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10179 $as_echo_n "checking
for $ac_word...
" >&6; }
10180 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10181 $as_echo_n "(cached
) " >&6
10183 if test -n "$CC_FOR_TARGET"; then
10184 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10187 for as_dir in $PATH
10190 test -z "$as_dir" && as_dir=.
10191 for ac_exec_ext in '' $ac_executable_extensions; do
10192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10203 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10204 if test -n "$CC_FOR_TARGET"; then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10206 $as_echo "$CC_FOR_TARGET" >&6; }
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10209 $as_echo "no
" >&6; }
10216 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10217 for ncn_progname in cc gcc; do
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10219 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10220 if test -x $with_build_time_tools/${ncn_progname}; then
10221 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10223 $as_echo "yes" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10227 $as_echo "no
" >&6; }
10232 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10233 for ncn_progname in cc gcc; do
10234 if test -n "$ncn_target_tool_prefix"; then
10235 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10236 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10238 $as_echo_n "checking
for $ac_word...
" >&6; }
10239 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10240 $as_echo_n "(cached
) " >&6
10242 if test -n "$CC_FOR_TARGET"; then
10243 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10246 for as_dir in $PATH
10249 test -z "$as_dir" && as_dir=.
10250 for ac_exec_ext in '' $ac_executable_extensions; do
10251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10252 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10262 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10263 if test -n "$CC_FOR_TARGET"; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10265 $as_echo "$CC_FOR_TARGET" >&6; }
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10268 $as_echo "no
" >&6; }
10273 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10274 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10275 set dummy ${ncn_progname}; ac_word=$2
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10277 $as_echo_n "checking
for $ac_word...
" >&6; }
10278 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10279 $as_echo_n "(cached
) " >&6
10281 if test -n "$CC_FOR_TARGET"; then
10282 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10285 for as_dir in $PATH
10288 test -z "$as_dir" && as_dir=.
10289 for ac_exec_ext in '' $ac_executable_extensions; do
10290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10291 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10301 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10302 if test -n "$CC_FOR_TARGET"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10304 $as_echo "$CC_FOR_TARGET" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10307 $as_echo "no
" >&6; }
10312 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10316 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10318 if test $build = $target ; then
10321 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10324 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10329 if test -n "$CXX_FOR_TARGET"; then
10330 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10331 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10332 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10335 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10336 for ncn_progname in c++ g++ cxx gxx; do
10337 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10338 set dummy ${ncn_progname}; ac_word=$2
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10340 $as_echo_n "checking
for $ac_word...
" >&6; }
10341 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10342 $as_echo_n "(cached
) " >&6
10344 if test -n "$CXX_FOR_TARGET"; then
10345 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10348 for as_dir in $PATH
10351 test -z "$as_dir" && as_dir=.
10352 for ac_exec_ext in '' $ac_executable_extensions; do
10353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10354 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10364 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10365 if test -n "$CXX_FOR_TARGET"; then
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10367 $as_echo "$CXX_FOR_TARGET" >&6; }
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10370 $as_echo "no
" >&6; }
10377 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10378 for ncn_progname in c++ g++ cxx gxx; do
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10380 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10381 if test -x $with_build_time_tools/${ncn_progname}; then
10382 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10384 $as_echo "yes" >&6; }
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10388 $as_echo "no
" >&6; }
10393 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10394 for ncn_progname in c++ g++ cxx gxx; do
10395 if test -n "$ncn_target_tool_prefix"; then
10396 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10397 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10399 $as_echo_n "checking
for $ac_word...
" >&6; }
10400 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10401 $as_echo_n "(cached
) " >&6
10403 if test -n "$CXX_FOR_TARGET"; then
10404 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10413 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10423 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10424 if test -n "$CXX_FOR_TARGET"; then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10426 $as_echo "$CXX_FOR_TARGET" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10429 $as_echo "no
" >&6; }
10434 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10436 set dummy ${ncn_progname}; ac_word=$2
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10438 $as_echo_n "checking
for $ac_word...
" >&6; }
10439 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10440 $as_echo_n "(cached
) " >&6
10442 if test -n "$CXX_FOR_TARGET"; then
10443 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10449 test -z "$as_dir" && as_dir=.
10450 for ac_exec_ext in '' $ac_executable_extensions; do
10451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10452 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10462 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10463 if test -n "$CXX_FOR_TARGET"; then
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10465 $as_echo "$CXX_FOR_TARGET" >&6; }
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10468 $as_echo "no
" >&6; }
10473 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10477 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10478 set dummy c++ g++ cxx gxx
10479 if test $build = $target ; then
10480 CXX_FOR_TARGET="$2"
10482 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10485 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10490 if test -n "$GCC_FOR_TARGET"; then
10491 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10492 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10493 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10496 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10497 for ncn_progname in gcc; do
10498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10499 set dummy ${ncn_progname}; ac_word=$2
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10501 $as_echo_n "checking
for $ac_word...
" >&6; }
10502 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10503 $as_echo_n "(cached
) " >&6
10505 if test -n "$GCC_FOR_TARGET"; then
10506 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10509 for as_dir in $PATH
10512 test -z "$as_dir" && as_dir=.
10513 for ac_exec_ext in '' $ac_executable_extensions; do
10514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10515 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10525 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10526 if test -n "$GCC_FOR_TARGET"; then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10528 $as_echo "$GCC_FOR_TARGET" >&6; }
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10531 $as_echo "no
" >&6; }
10538 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10539 for ncn_progname in gcc; do
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10541 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10542 if test -x $with_build_time_tools/${ncn_progname}; then
10543 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10545 $as_echo "yes" >&6; }
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10549 $as_echo "no
" >&6; }
10554 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10555 for ncn_progname in gcc; do
10556 if test -n "$ncn_target_tool_prefix"; then
10557 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10558 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10560 $as_echo_n "checking
for $ac_word...
" >&6; }
10561 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10562 $as_echo_n "(cached
) " >&6
10564 if test -n "$GCC_FOR_TARGET"; then
10565 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10568 for as_dir in $PATH
10571 test -z "$as_dir" && as_dir=.
10572 for ac_exec_ext in '' $ac_executable_extensions; do
10573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10574 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10584 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10585 if test -n "$GCC_FOR_TARGET"; then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10587 $as_echo "$GCC_FOR_TARGET" >&6; }
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10590 $as_echo "no
" >&6; }
10595 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10596 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10597 set dummy ${ncn_progname}; ac_word=$2
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10599 $as_echo_n "checking
for $ac_word...
" >&6; }
10600 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10601 $as_echo_n "(cached
) " >&6
10603 if test -n "$GCC_FOR_TARGET"; then
10604 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10607 for as_dir in $PATH
10610 test -z "$as_dir" && as_dir=.
10611 for ac_exec_ext in '' $ac_executable_extensions; do
10612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10613 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10623 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10624 if test -n "$GCC_FOR_TARGET"; then
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10626 $as_echo "$GCC_FOR_TARGET" >&6; }
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10629 $as_echo "no
" >&6; }
10634 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10638 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10639 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10641 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10646 if test -n "$GFORTRAN_FOR_TARGET"; then
10647 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10648 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10649 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10652 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10653 for ncn_progname in gfortran; do
10654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10655 set dummy ${ncn_progname}; ac_word=$2
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10657 $as_echo_n "checking
for $ac_word...
" >&6; }
10658 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10659 $as_echo_n "(cached
) " >&6
10661 if test -n "$GFORTRAN_FOR_TARGET"; then
10662 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10665 for as_dir in $PATH
10668 test -z "$as_dir" && as_dir=.
10669 for ac_exec_ext in '' $ac_executable_extensions; do
10670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10671 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10681 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10682 if test -n "$GFORTRAN_FOR_TARGET"; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10684 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10687 $as_echo "no
" >&6; }
10694 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10695 for ncn_progname in gfortran; do
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10697 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10698 if test -x $with_build_time_tools/${ncn_progname}; then
10699 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10701 $as_echo "yes" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10705 $as_echo "no
" >&6; }
10710 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10711 for ncn_progname in gfortran; do
10712 if test -n "$ncn_target_tool_prefix"; then
10713 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10714 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10716 $as_echo_n "checking
for $ac_word...
" >&6; }
10717 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10718 $as_echo_n "(cached
) " >&6
10720 if test -n "$GFORTRAN_FOR_TARGET"; then
10721 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10724 for as_dir in $PATH
10727 test -z "$as_dir" && as_dir=.
10728 for ac_exec_ext in '' $ac_executable_extensions; do
10729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10730 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10740 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10741 if test -n "$GFORTRAN_FOR_TARGET"; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10743 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10746 $as_echo "no
" >&6; }
10751 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10753 set dummy ${ncn_progname}; ac_word=$2
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10755 $as_echo_n "checking
for $ac_word...
" >&6; }
10756 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10757 $as_echo_n "(cached
) " >&6
10759 if test -n "$GFORTRAN_FOR_TARGET"; then
10760 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10763 for as_dir in $PATH
10766 test -z "$as_dir" && as_dir=.
10767 for ac_exec_ext in '' $ac_executable_extensions; do
10768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10769 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10779 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10780 if test -n "$GFORTRAN_FOR_TARGET"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10782 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10785 $as_echo "no
" >&6; }
10790 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10794 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10796 if test $build = $target ; then
10797 GFORTRAN_FOR_TARGET="$2"
10799 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10802 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10807 if test -n "$GOC_FOR_TARGET"; then
10808 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10809 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10810 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10813 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10814 for ncn_progname in gccgo; do
10815 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10816 set dummy ${ncn_progname}; ac_word=$2
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10818 $as_echo_n "checking
for $ac_word...
" >&6; }
10819 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10820 $as_echo_n "(cached
) " >&6
10822 if test -n "$GOC_FOR_TARGET"; then
10823 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10826 for as_dir in $PATH
10829 test -z "$as_dir" && as_dir=.
10830 for ac_exec_ext in '' $ac_executable_extensions; do
10831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10832 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10842 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10843 if test -n "$GOC_FOR_TARGET"; then
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10845 $as_echo "$GOC_FOR_TARGET" >&6; }
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10848 $as_echo "no
" >&6; }
10855 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10856 for ncn_progname in gccgo; do
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10858 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10859 if test -x $with_build_time_tools/${ncn_progname}; then
10860 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10862 $as_echo "yes" >&6; }
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10866 $as_echo "no
" >&6; }
10871 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10872 for ncn_progname in gccgo; do
10873 if test -n "$ncn_target_tool_prefix"; then
10874 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10875 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10877 $as_echo_n "checking
for $ac_word...
" >&6; }
10878 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10879 $as_echo_n "(cached
) " >&6
10881 if test -n "$GOC_FOR_TARGET"; then
10882 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10885 for as_dir in $PATH
10888 test -z "$as_dir" && as_dir=.
10889 for ac_exec_ext in '' $ac_executable_extensions; do
10890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10891 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10901 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10902 if test -n "$GOC_FOR_TARGET"; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10904 $as_echo "$GOC_FOR_TARGET" >&6; }
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10907 $as_echo "no
" >&6; }
10912 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10914 set dummy ${ncn_progname}; ac_word=$2
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10916 $as_echo_n "checking
for $ac_word...
" >&6; }
10917 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10918 $as_echo_n "(cached
) " >&6
10920 if test -n "$GOC_FOR_TARGET"; then
10921 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10924 for as_dir in $PATH
10927 test -z "$as_dir" && as_dir=.
10928 for ac_exec_ext in '' $ac_executable_extensions; do
10929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10940 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10941 if test -n "$GOC_FOR_TARGET"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10943 $as_echo "$GOC_FOR_TARGET" >&6; }
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10946 $as_echo "no
" >&6; }
10951 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10955 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10957 if test $build = $target ; then
10958 GOC_FOR_TARGET="$2"
10960 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10963 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10968 if test -n "$GDC_FOR_TARGET"; then
10969 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
10970 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
10971 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
10974 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
10975 for ncn_progname in gdc; do
10976 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10977 set dummy ${ncn_progname}; ac_word=$2
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10979 $as_echo_n "checking
for $ac_word...
" >&6; }
10980 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
10981 $as_echo_n "(cached
) " >&6
10983 if test -n "$GDC_FOR_TARGET"; then
10984 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
10986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10987 for as_dir in $PATH
10990 test -z "$as_dir" && as_dir=.
10991 for ac_exec_ext in '' $ac_executable_extensions; do
10992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10993 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
10994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11003 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11004 if test -n "$GDC_FOR_TARGET"; then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11006 $as_echo "$GDC_FOR_TARGET" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11009 $as_echo "no
" >&6; }
11016 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11017 for ncn_progname in gdc; do
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11019 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11020 if test -x $with_build_time_tools/${ncn_progname}; then
11021 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11023 $as_echo "yes" >&6; }
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11027 $as_echo "no
" >&6; }
11032 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
11033 for ncn_progname in gdc; do
11034 if test -n "$ncn_target_tool_prefix"; then
11035 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11036 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11038 $as_echo_n "checking
for $ac_word...
" >&6; }
11039 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11040 $as_echo_n "(cached
) " >&6
11042 if test -n "$GDC_FOR_TARGET"; then
11043 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11046 for as_dir in $PATH
11049 test -z "$as_dir" && as_dir=.
11050 for ac_exec_ext in '' $ac_executable_extensions; do
11051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11052 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11062 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11063 if test -n "$GDC_FOR_TARGET"; then
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11065 $as_echo "$GDC_FOR_TARGET" >&6; }
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11068 $as_echo "no
" >&6; }
11073 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
11074 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11075 set dummy ${ncn_progname}; ac_word=$2
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11077 $as_echo_n "checking
for $ac_word...
" >&6; }
11078 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11079 $as_echo_n "(cached
) " >&6
11081 if test -n "$GDC_FOR_TARGET"; then
11082 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11085 for as_dir in $PATH
11088 test -z "$as_dir" && as_dir=.
11089 for ac_exec_ext in '' $ac_executable_extensions; do
11090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11091 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11101 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11102 if test -n "$GDC_FOR_TARGET"; then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11104 $as_echo "$GDC_FOR_TARGET" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11107 $as_echo "no
" >&6; }
11112 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
11116 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
11118 if test $build = $target ; then
11119 GDC_FOR_TARGET="$2"
11121 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11124 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
11129 cat > conftest.c << \EOF
11134 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11135 have_gcc_for_target=yes
11137 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11138 have_gcc_for_target=no
11145 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11146 if test -n "$with_build_time_tools"; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11148 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11149 if test -x $with_build_time_tools/ar; then
11150 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11151 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11153 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11156 $as_echo "no
" >&6; }
11158 elif test $build != $host && test $have_gcc_for_target = yes; then
11159 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11160 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11161 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11164 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11165 # Extract the first word of "ar", so it can be a program name with args.
11166 set dummy ar; ac_word=$2
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11168 $as_echo_n "checking
for $ac_word...
" >&6; }
11169 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11170 $as_echo_n "(cached
) " >&6
11172 case $AR_FOR_TARGET in
11174 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11178 for as_dir in $gcc_cv_tool_dirs
11181 test -z "$as_dir" && as_dir=.
11182 for ac_exec_ext in '' $ac_executable_extensions; do
11183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11184 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11195 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11196 if test -n "$AR_FOR_TARGET"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11198 $as_echo "$AR_FOR_TARGET" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11201 $as_echo "no
" >&6; }
11206 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11209 if test -n "$AR_FOR_TARGET"; then
11210 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11211 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11212 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11215 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11216 for ncn_progname in ar; do
11217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11218 set dummy ${ncn_progname}; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11220 $as_echo_n "checking
for $ac_word...
" >&6; }
11221 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11222 $as_echo_n "(cached
) " >&6
11224 if test -n "$AR_FOR_TARGET"; then
11225 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11228 for as_dir in $PATH
11231 test -z "$as_dir" && as_dir=.
11232 for ac_exec_ext in '' $ac_executable_extensions; do
11233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11234 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11244 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11245 if test -n "$AR_FOR_TARGET"; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11247 $as_echo "$AR_FOR_TARGET" >&6; }
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11250 $as_echo "no
" >&6; }
11257 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11258 for ncn_progname in ar; do
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11260 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11261 if test -x $with_build_time_tools/${ncn_progname}; then
11262 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11264 $as_echo "yes" >&6; }
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11268 $as_echo "no
" >&6; }
11273 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11274 for ncn_progname in ar; do
11275 if test -n "$ncn_target_tool_prefix"; then
11276 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11277 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11279 $as_echo_n "checking
for $ac_word...
" >&6; }
11280 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11281 $as_echo_n "(cached
) " >&6
11283 if test -n "$AR_FOR_TARGET"; then
11284 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11287 for as_dir in $PATH
11290 test -z "$as_dir" && as_dir=.
11291 for ac_exec_ext in '' $ac_executable_extensions; do
11292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11293 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11303 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11304 if test -n "$AR_FOR_TARGET"; then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11306 $as_echo "$AR_FOR_TARGET" >&6; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11309 $as_echo "no
" >&6; }
11314 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11316 set dummy ${ncn_progname}; ac_word=$2
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11318 $as_echo_n "checking
for $ac_word...
" >&6; }
11319 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11320 $as_echo_n "(cached
) " >&6
11322 if test -n "$AR_FOR_TARGET"; then
11323 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11326 for as_dir in $PATH
11329 test -z "$as_dir" && as_dir=.
11330 for ac_exec_ext in '' $ac_executable_extensions; do
11331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11332 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11342 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11343 if test -n "$AR_FOR_TARGET"; then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11345 $as_echo "$AR_FOR_TARGET" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11348 $as_echo "no
" >&6; }
11353 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11357 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11359 if test $build = $target ; then
11362 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11365 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11369 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11375 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11376 if test -n "$with_build_time_tools"; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11378 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11379 if test -x $with_build_time_tools/as; then
11380 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11381 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11383 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11386 $as_echo "no
" >&6; }
11388 elif test $build != $host && test $have_gcc_for_target = yes; then
11389 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11390 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11391 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11394 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11395 # Extract the first word of "as
", so it can be a program name with args.
11396 set dummy as; ac_word=$2
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11398 $as_echo_n "checking
for $ac_word...
" >&6; }
11399 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11400 $as_echo_n "(cached
) " >&6
11402 case $AS_FOR_TARGET in
11404 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11408 for as_dir in $gcc_cv_tool_dirs
11411 test -z "$as_dir" && as_dir=.
11412 for ac_exec_ext in '' $ac_executable_extensions; do
11413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11414 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11425 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11426 if test -n "$AS_FOR_TARGET"; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11428 $as_echo "$AS_FOR_TARGET" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11431 $as_echo "no
" >&6; }
11436 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11439 if test -n "$AS_FOR_TARGET"; then
11440 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11441 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11442 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11445 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11446 for ncn_progname in as; do
11447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11448 set dummy ${ncn_progname}; ac_word=$2
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11450 $as_echo_n "checking
for $ac_word...
" >&6; }
11451 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11452 $as_echo_n "(cached
) " >&6
11454 if test -n "$AS_FOR_TARGET"; then
11455 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11458 for as_dir in $PATH
11461 test -z "$as_dir" && as_dir=.
11462 for ac_exec_ext in '' $ac_executable_extensions; do
11463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11464 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11474 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11475 if test -n "$AS_FOR_TARGET"; then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11477 $as_echo "$AS_FOR_TARGET" >&6; }
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11480 $as_echo "no
" >&6; }
11487 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11488 for ncn_progname in as; do
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11490 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11491 if test -x $with_build_time_tools/${ncn_progname}; then
11492 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11494 $as_echo "yes" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11498 $as_echo "no
" >&6; }
11503 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11504 for ncn_progname in as; do
11505 if test -n "$ncn_target_tool_prefix"; then
11506 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11507 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11509 $as_echo_n "checking
for $ac_word...
" >&6; }
11510 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11511 $as_echo_n "(cached
) " >&6
11513 if test -n "$AS_FOR_TARGET"; then
11514 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11517 for as_dir in $PATH
11520 test -z "$as_dir" && as_dir=.
11521 for ac_exec_ext in '' $ac_executable_extensions; do
11522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11523 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11533 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11534 if test -n "$AS_FOR_TARGET"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11536 $as_echo "$AS_FOR_TARGET" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11539 $as_echo "no
" >&6; }
11544 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11546 set dummy ${ncn_progname}; ac_word=$2
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11548 $as_echo_n "checking
for $ac_word...
" >&6; }
11549 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11550 $as_echo_n "(cached
) " >&6
11552 if test -n "$AS_FOR_TARGET"; then
11553 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11556 for as_dir in $PATH
11559 test -z "$as_dir" && as_dir=.
11560 for ac_exec_ext in '' $ac_executable_extensions; do
11561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11562 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11572 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11573 if test -n "$AS_FOR_TARGET"; then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11575 $as_echo "$AS_FOR_TARGET" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11578 $as_echo "no
" >&6; }
11583 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11587 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11589 if test $build = $target ; then
11592 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11595 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11599 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11605 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11606 if test -n "$with_build_time_tools"; then
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11608 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11609 if test -x $with_build_time_tools/dlltool; then
11610 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11611 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11613 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11616 $as_echo "no
" >&6; }
11618 elif test $build != $host && test $have_gcc_for_target = yes; then
11619 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11620 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11621 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11624 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11625 # Extract the first word of "dlltool
", so it can be a program name with args.
11626 set dummy dlltool; ac_word=$2
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11628 $as_echo_n "checking
for $ac_word...
" >&6; }
11629 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11630 $as_echo_n "(cached
) " >&6
11632 case $DLLTOOL_FOR_TARGET in
11634 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $gcc_cv_tool_dirs
11641 test -z "$as_dir" && as_dir=.
11642 for ac_exec_ext in '' $ac_executable_extensions; do
11643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11644 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11655 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11656 if test -n "$DLLTOOL_FOR_TARGET"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11658 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11661 $as_echo "no
" >&6; }
11666 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11669 if test -n "$DLLTOOL_FOR_TARGET"; then
11670 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11671 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11672 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11675 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11676 for ncn_progname in dlltool; do
11677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11678 set dummy ${ncn_progname}; ac_word=$2
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11680 $as_echo_n "checking
for $ac_word...
" >&6; }
11681 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11682 $as_echo_n "(cached
) " >&6
11684 if test -n "$DLLTOOL_FOR_TARGET"; then
11685 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11688 for as_dir in $PATH
11691 test -z "$as_dir" && as_dir=.
11692 for ac_exec_ext in '' $ac_executable_extensions; do
11693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11694 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11704 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11705 if test -n "$DLLTOOL_FOR_TARGET"; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11707 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11710 $as_echo "no
" >&6; }
11717 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11718 for ncn_progname in dlltool; do
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11720 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11721 if test -x $with_build_time_tools/${ncn_progname}; then
11722 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11724 $as_echo "yes" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11728 $as_echo "no
" >&6; }
11733 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11734 for ncn_progname in dlltool; do
11735 if test -n "$ncn_target_tool_prefix"; then
11736 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11737 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11739 $as_echo_n "checking
for $ac_word...
" >&6; }
11740 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11741 $as_echo_n "(cached
) " >&6
11743 if test -n "$DLLTOOL_FOR_TARGET"; then
11744 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11763 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11764 if test -n "$DLLTOOL_FOR_TARGET"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11766 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11769 $as_echo "no
" >&6; }
11774 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11776 set dummy ${ncn_progname}; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11778 $as_echo_n "checking
for $ac_word...
" >&6; }
11779 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11780 $as_echo_n "(cached
) " >&6
11782 if test -n "$DLLTOOL_FOR_TARGET"; then
11783 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11802 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11803 if test -n "$DLLTOOL_FOR_TARGET"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11805 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11808 $as_echo "no
" >&6; }
11813 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11817 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11819 if test $build = $target ; then
11820 DLLTOOL_FOR_TARGET="$2"
11822 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11825 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11829 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11835 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11836 if test -n "$with_build_time_tools"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11838 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11839 if test -x $with_build_time_tools/ld; then
11840 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11841 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11843 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11846 $as_echo "no
" >&6; }
11848 elif test $build != $host && test $have_gcc_for_target = yes; then
11849 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11850 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11851 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11854 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11855 # Extract the first word of "ld
", so it can be a program name with args.
11856 set dummy ld; ac_word=$2
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11858 $as_echo_n "checking
for $ac_word...
" >&6; }
11859 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11860 $as_echo_n "(cached
) " >&6
11862 case $LD_FOR_TARGET in
11864 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11868 for as_dir in $gcc_cv_tool_dirs
11871 test -z "$as_dir" && as_dir=.
11872 for ac_exec_ext in '' $ac_executable_extensions; do
11873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11874 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11885 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11886 if test -n "$LD_FOR_TARGET"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11888 $as_echo "$LD_FOR_TARGET" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11891 $as_echo "no
" >&6; }
11896 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11899 if test -n "$LD_FOR_TARGET"; then
11900 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11901 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11902 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11905 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11906 for ncn_progname in ld; do
11907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11908 set dummy ${ncn_progname}; ac_word=$2
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11910 $as_echo_n "checking
for $ac_word...
" >&6; }
11911 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11912 $as_echo_n "(cached
) " >&6
11914 if test -n "$LD_FOR_TARGET"; then
11915 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11918 for as_dir in $PATH
11921 test -z "$as_dir" && as_dir=.
11922 for ac_exec_ext in '' $ac_executable_extensions; do
11923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11924 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11934 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11935 if test -n "$LD_FOR_TARGET"; then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11937 $as_echo "$LD_FOR_TARGET" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11940 $as_echo "no
" >&6; }
11947 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11948 for ncn_progname in ld; do
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11950 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11951 if test -x $with_build_time_tools/${ncn_progname}; then
11952 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11954 $as_echo "yes" >&6; }
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11958 $as_echo "no
" >&6; }
11963 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11964 for ncn_progname in ld; do
11965 if test -n "$ncn_target_tool_prefix"; then
11966 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11967 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11969 $as_echo_n "checking
for $ac_word...
" >&6; }
11970 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11971 $as_echo_n "(cached
) " >&6
11973 if test -n "$LD_FOR_TARGET"; then
11974 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11983 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11993 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11994 if test -n "$LD_FOR_TARGET"; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11996 $as_echo "$LD_FOR_TARGET" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11999 $as_echo "no
" >&6; }
12004 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12006 set dummy ${ncn_progname}; ac_word=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12008 $as_echo_n "checking
for $ac_word...
" >&6; }
12009 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12010 $as_echo_n "(cached
) " >&6
12012 if test -n "$LD_FOR_TARGET"; then
12013 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12019 test -z "$as_dir" && as_dir=.
12020 for ac_exec_ext in '' $ac_executable_extensions; do
12021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12022 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12032 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12033 if test -n "$LD_FOR_TARGET"; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12035 $as_echo "$LD_FOR_TARGET" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12038 $as_echo "no
" >&6; }
12043 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12047 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12049 if test $build = $target ; then
12052 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12055 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12059 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12065 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12066 if test -n "$with_build_time_tools"; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12068 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12069 if test -x $with_build_time_tools/lipo; then
12070 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12071 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12073 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12076 $as_echo "no
" >&6; }
12078 elif test $build != $host && test $have_gcc_for_target = yes; then
12079 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12080 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12081 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12084 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12085 # Extract the first word of "lipo
", so it can be a program name with args.
12086 set dummy lipo; ac_word=$2
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12088 $as_echo_n "checking
for $ac_word...
" >&6; }
12089 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12090 $as_echo_n "(cached
) " >&6
12092 case $LIPO_FOR_TARGET in
12094 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12098 for as_dir in $gcc_cv_tool_dirs
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12115 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12116 if test -n "$LIPO_FOR_TARGET"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12118 $as_echo "$LIPO_FOR_TARGET" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12121 $as_echo "no
" >&6; }
12126 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12129 if test -n "$LIPO_FOR_TARGET"; then
12130 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12131 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12132 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12135 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12136 for ncn_progname in lipo; do
12137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12138 set dummy ${ncn_progname}; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12140 $as_echo_n "checking
for $ac_word...
" >&6; }
12141 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12142 $as_echo_n "(cached
) " >&6
12144 if test -n "$LIPO_FOR_TARGET"; then
12145 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12164 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12165 if test -n "$LIPO_FOR_TARGET"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12167 $as_echo "$LIPO_FOR_TARGET" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12170 $as_echo "no
" >&6; }
12177 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12178 for ncn_progname in lipo; do
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12180 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12181 if test -x $with_build_time_tools/${ncn_progname}; then
12182 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12184 $as_echo "yes" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12188 $as_echo "no
" >&6; }
12193 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12194 for ncn_progname in lipo; do
12195 if test -n "$ncn_target_tool_prefix"; then
12196 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12197 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12199 $as_echo_n "checking
for $ac_word...
" >&6; }
12200 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12201 $as_echo_n "(cached
) " >&6
12203 if test -n "$LIPO_FOR_TARGET"; then
12204 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12207 for as_dir in $PATH
12210 test -z "$as_dir" && as_dir=.
12211 for ac_exec_ext in '' $ac_executable_extensions; do
12212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12213 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12223 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12224 if test -n "$LIPO_FOR_TARGET"; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12226 $as_echo "$LIPO_FOR_TARGET" >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12229 $as_echo "no
" >&6; }
12234 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12235 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12236 set dummy ${ncn_progname}; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12238 $as_echo_n "checking
for $ac_word...
" >&6; }
12239 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12240 $as_echo_n "(cached
) " >&6
12242 if test -n "$LIPO_FOR_TARGET"; then
12243 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12246 for as_dir in $PATH
12249 test -z "$as_dir" && as_dir=.
12250 for ac_exec_ext in '' $ac_executable_extensions; do
12251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12252 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12262 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12263 if test -n "$LIPO_FOR_TARGET"; then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12265 $as_echo "$LIPO_FOR_TARGET" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12268 $as_echo "no
" >&6; }
12273 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12277 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12279 if test $build = $target ; then
12280 LIPO_FOR_TARGET="$2"
12282 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12285 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12289 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12295 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12296 if test -n "$with_build_time_tools"; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12298 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12299 if test -x $with_build_time_tools/nm; then
12300 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12301 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12303 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12306 $as_echo "no
" >&6; }
12308 elif test $build != $host && test $have_gcc_for_target = yes; then
12309 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12310 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12311 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12314 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12315 # Extract the first word of "nm
", so it can be a program name with args.
12316 set dummy nm; ac_word=$2
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12318 $as_echo_n "checking
for $ac_word...
" >&6; }
12319 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12320 $as_echo_n "(cached
) " >&6
12322 case $NM_FOR_TARGET in
12324 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $gcc_cv_tool_dirs
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12345 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12346 if test -n "$NM_FOR_TARGET"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12348 $as_echo "$NM_FOR_TARGET" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12351 $as_echo "no
" >&6; }
12356 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12359 if test -n "$NM_FOR_TARGET"; then
12360 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12361 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12362 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12365 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12366 for ncn_progname in nm; do
12367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12368 set dummy ${ncn_progname}; ac_word=$2
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12370 $as_echo_n "checking
for $ac_word...
" >&6; }
12371 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12372 $as_echo_n "(cached
) " >&6
12374 if test -n "$NM_FOR_TARGET"; then
12375 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12381 test -z "$as_dir" && as_dir=.
12382 for ac_exec_ext in '' $ac_executable_extensions; do
12383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12384 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12394 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12395 if test -n "$NM_FOR_TARGET"; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12397 $as_echo "$NM_FOR_TARGET" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12400 $as_echo "no
" >&6; }
12407 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12408 for ncn_progname in nm; do
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12410 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12411 if test -x $with_build_time_tools/${ncn_progname}; then
12412 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12414 $as_echo "yes" >&6; }
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12418 $as_echo "no
" >&6; }
12423 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12424 for ncn_progname in nm; do
12425 if test -n "$ncn_target_tool_prefix"; then
12426 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12427 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12429 $as_echo_n "checking
for $ac_word...
" >&6; }
12430 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12431 $as_echo_n "(cached
) " >&6
12433 if test -n "$NM_FOR_TARGET"; then
12434 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12443 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12453 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12454 if test -n "$NM_FOR_TARGET"; then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12456 $as_echo "$NM_FOR_TARGET" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12459 $as_echo "no
" >&6; }
12464 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12466 set dummy ${ncn_progname}; ac_word=$2
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12468 $as_echo_n "checking
for $ac_word...
" >&6; }
12469 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12470 $as_echo_n "(cached
) " >&6
12472 if test -n "$NM_FOR_TARGET"; then
12473 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12476 for as_dir in $PATH
12479 test -z "$as_dir" && as_dir=.
12480 for ac_exec_ext in '' $ac_executable_extensions; do
12481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12482 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12492 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12493 if test -n "$NM_FOR_TARGET"; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12495 $as_echo "$NM_FOR_TARGET" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12498 $as_echo "no
" >&6; }
12503 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12507 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12509 if test $build = $target ; then
12512 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12515 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12519 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12525 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12526 if test -n "$with_build_time_tools"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12528 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12529 if test -x $with_build_time_tools/objcopy; then
12530 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12531 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12533 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12536 $as_echo "no
" >&6; }
12538 elif test $build != $host && test $have_gcc_for_target = yes; then
12539 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12540 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12541 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12544 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12545 # Extract the first word of "objcopy
", so it can be a program name with args.
12546 set dummy objcopy; ac_word=$2
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12548 $as_echo_n "checking
for $ac_word...
" >&6; }
12549 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12550 $as_echo_n "(cached
) " >&6
12552 case $OBJCOPY_FOR_TARGET in
12554 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12558 for as_dir in $gcc_cv_tool_dirs
12561 test -z "$as_dir" && as_dir=.
12562 for ac_exec_ext in '' $ac_executable_extensions; do
12563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12564 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12575 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12576 if test -n "$OBJCOPY_FOR_TARGET"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12578 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12581 $as_echo "no
" >&6; }
12586 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12589 if test -n "$OBJCOPY_FOR_TARGET"; then
12590 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12591 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12592 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12595 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12596 for ncn_progname in objcopy; do
12597 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12598 set dummy ${ncn_progname}; ac_word=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12600 $as_echo_n "checking
for $ac_word...
" >&6; }
12601 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12602 $as_echo_n "(cached
) " >&6
12604 if test -n "$OBJCOPY_FOR_TARGET"; then
12605 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608 for as_dir in $PATH
12611 test -z "$as_dir" && as_dir=.
12612 for ac_exec_ext in '' $ac_executable_extensions; do
12613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12614 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12624 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12625 if test -n "$OBJCOPY_FOR_TARGET"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12627 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12630 $as_echo "no
" >&6; }
12637 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12638 for ncn_progname in objcopy; do
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12640 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12641 if test -x $with_build_time_tools/${ncn_progname}; then
12642 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12644 $as_echo "yes" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12648 $as_echo "no
" >&6; }
12653 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12654 for ncn_progname in objcopy; do
12655 if test -n "$ncn_target_tool_prefix"; then
12656 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12657 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12659 $as_echo_n "checking
for $ac_word...
" >&6; }
12660 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12661 $as_echo_n "(cached
) " >&6
12663 if test -n "$OBJCOPY_FOR_TARGET"; then
12664 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12667 for as_dir in $PATH
12670 test -z "$as_dir" && as_dir=.
12671 for ac_exec_ext in '' $ac_executable_extensions; do
12672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12673 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12683 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12684 if test -n "$OBJCOPY_FOR_TARGET"; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12686 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12689 $as_echo "no
" >&6; }
12694 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12695 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12696 set dummy ${ncn_progname}; ac_word=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12698 $as_echo_n "checking
for $ac_word...
" >&6; }
12699 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12700 $as_echo_n "(cached
) " >&6
12702 if test -n "$OBJCOPY_FOR_TARGET"; then
12703 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12706 for as_dir in $PATH
12709 test -z "$as_dir" && as_dir=.
12710 for ac_exec_ext in '' $ac_executable_extensions; do
12711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12712 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12722 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12723 if test -n "$OBJCOPY_FOR_TARGET"; then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12725 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12728 $as_echo "no
" >&6; }
12733 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12737 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12739 if test $build = $target ; then
12740 OBJCOPY_FOR_TARGET="$2"
12742 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12745 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12749 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12755 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12756 if test -n "$with_build_time_tools"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12758 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12759 if test -x $with_build_time_tools/objdump; then
12760 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12761 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12763 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12766 $as_echo "no
" >&6; }
12768 elif test $build != $host && test $have_gcc_for_target = yes; then
12769 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12770 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12771 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12774 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12775 # Extract the first word of "objdump
", so it can be a program name with args.
12776 set dummy objdump; ac_word=$2
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12778 $as_echo_n "checking
for $ac_word...
" >&6; }
12779 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12780 $as_echo_n "(cached
) " >&6
12782 case $OBJDUMP_FOR_TARGET in
12784 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $gcc_cv_tool_dirs
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12794 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12805 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12806 if test -n "$OBJDUMP_FOR_TARGET"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12808 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12811 $as_echo "no
" >&6; }
12816 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12819 if test -n "$OBJDUMP_FOR_TARGET"; then
12820 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12821 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12822 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12825 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12826 for ncn_progname in objdump; do
12827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12828 set dummy ${ncn_progname}; ac_word=$2
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12830 $as_echo_n "checking
for $ac_word...
" >&6; }
12831 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12832 $as_echo_n "(cached
) " >&6
12834 if test -n "$OBJDUMP_FOR_TARGET"; then
12835 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838 for as_dir in $PATH
12841 test -z "$as_dir" && as_dir=.
12842 for ac_exec_ext in '' $ac_executable_extensions; do
12843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12844 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12854 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12855 if test -n "$OBJDUMP_FOR_TARGET"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12857 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12860 $as_echo "no
" >&6; }
12867 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12868 for ncn_progname in objdump; do
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12870 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12871 if test -x $with_build_time_tools/${ncn_progname}; then
12872 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12874 $as_echo "yes" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12878 $as_echo "no
" >&6; }
12883 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12884 for ncn_progname in objdump; do
12885 if test -n "$ncn_target_tool_prefix"; then
12886 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12887 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12889 $as_echo_n "checking
for $ac_word...
" >&6; }
12890 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12891 $as_echo_n "(cached
) " >&6
12893 if test -n "$OBJDUMP_FOR_TARGET"; then
12894 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12903 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12913 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12914 if test -n "$OBJDUMP_FOR_TARGET"; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12916 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12919 $as_echo "no
" >&6; }
12924 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12926 set dummy ${ncn_progname}; ac_word=$2
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12928 $as_echo_n "checking
for $ac_word...
" >&6; }
12929 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12930 $as_echo_n "(cached
) " >&6
12932 if test -n "$OBJDUMP_FOR_TARGET"; then
12933 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12936 for as_dir in $PATH
12939 test -z "$as_dir" && as_dir=.
12940 for ac_exec_ext in '' $ac_executable_extensions; do
12941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12942 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12952 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12953 if test -n "$OBJDUMP_FOR_TARGET"; then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12955 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12958 $as_echo "no
" >&6; }
12963 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12967 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12969 if test $build = $target ; then
12970 OBJDUMP_FOR_TARGET="$2"
12972 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12975 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12979 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12985 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
12986 if test -n "$with_build_time_tools"; then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
12988 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
12989 if test -x $with_build_time_tools/otool; then
12990 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
12991 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
12993 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12996 $as_echo "no
" >&6; }
12998 elif test $build != $host && test $have_gcc_for_target = yes; then
12999 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
13000 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
13001 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13004 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13005 # Extract the first word of "otool
", so it can be a program name with args.
13006 set dummy otool; ac_word=$2
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13008 $as_echo_n "checking
for $ac_word...
" >&6; }
13009 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
13010 $as_echo_n "(cached
) " >&6
13012 case $OTOOL_FOR_TARGET in
13014 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
13017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13018 for as_dir in $gcc_cv_tool_dirs
13021 test -z "$as_dir" && as_dir=.
13022 for ac_exec_ext in '' $ac_executable_extensions; do
13023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13024 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13035 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13036 if test -n "$OTOOL_FOR_TARGET"; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13038 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13041 $as_echo "no
" >&6; }
13046 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13049 if test -n "$OTOOL_FOR_TARGET"; then
13050 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13051 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13052 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13055 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13056 for ncn_progname in otool; do
13057 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13058 set dummy ${ncn_progname}; ac_word=$2
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13060 $as_echo_n "checking
for $ac_word...
" >&6; }
13061 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13062 $as_echo_n "(cached
) " >&6
13064 if test -n "$OTOOL_FOR_TARGET"; then
13065 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13068 for as_dir in $PATH
13071 test -z "$as_dir" && as_dir=.
13072 for ac_exec_ext in '' $ac_executable_extensions; do
13073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13074 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13084 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13085 if test -n "$OTOOL_FOR_TARGET"; then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13087 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13090 $as_echo "no
" >&6; }
13097 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13098 for ncn_progname in otool; do
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13100 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13101 if test -x $with_build_time_tools/${ncn_progname}; then
13102 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13104 $as_echo "yes" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13108 $as_echo "no
" >&6; }
13113 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13114 for ncn_progname in otool; do
13115 if test -n "$ncn_target_tool_prefix"; then
13116 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13117 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13119 $as_echo_n "checking
for $ac_word...
" >&6; }
13120 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13121 $as_echo_n "(cached
) " >&6
13123 if test -n "$OTOOL_FOR_TARGET"; then
13124 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13133 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13143 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13144 if test -n "$OTOOL_FOR_TARGET"; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13146 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13149 $as_echo "no
" >&6; }
13154 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
13155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13156 set dummy ${ncn_progname}; ac_word=$2
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13158 $as_echo_n "checking
for $ac_word...
" >&6; }
13159 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13160 $as_echo_n "(cached
) " >&6
13162 if test -n "$OTOOL_FOR_TARGET"; then
13163 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13169 test -z "$as_dir" && as_dir=.
13170 for ac_exec_ext in '' $ac_executable_extensions; do
13171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13172 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13182 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13183 if test -n "$OTOOL_FOR_TARGET"; then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13185 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13188 $as_echo "no
" >&6; }
13193 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
13197 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
13199 if test $build = $target ; then
13200 OTOOL_FOR_TARGET="$2"
13202 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13205 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
13209 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13215 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13216 if test -n "$with_build_time_tools"; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13218 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13219 if test -x $with_build_time_tools/ranlib; then
13220 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13221 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13223 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13226 $as_echo "no
" >&6; }
13228 elif test $build != $host && test $have_gcc_for_target = yes; then
13229 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13230 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13231 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13234 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13235 # Extract the first word of "ranlib
", so it can be a program name with args.
13236 set dummy ranlib; ac_word=$2
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13238 $as_echo_n "checking
for $ac_word...
" >&6; }
13239 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13240 $as_echo_n "(cached
) " >&6
13242 case $RANLIB_FOR_TARGET in
13244 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13248 for as_dir in $gcc_cv_tool_dirs
13251 test -z "$as_dir" && as_dir=.
13252 for ac_exec_ext in '' $ac_executable_extensions; do
13253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13254 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13265 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13266 if test -n "$RANLIB_FOR_TARGET"; then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13268 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13271 $as_echo "no
" >&6; }
13276 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13279 if test -n "$RANLIB_FOR_TARGET"; then
13280 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13281 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13282 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13285 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13286 for ncn_progname in ranlib; do
13287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13288 set dummy ${ncn_progname}; ac_word=$2
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13290 $as_echo_n "checking
for $ac_word...
" >&6; }
13291 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13292 $as_echo_n "(cached
) " >&6
13294 if test -n "$RANLIB_FOR_TARGET"; then
13295 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13298 for as_dir in $PATH
13301 test -z "$as_dir" && as_dir=.
13302 for ac_exec_ext in '' $ac_executable_extensions; do
13303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13304 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13314 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13315 if test -n "$RANLIB_FOR_TARGET"; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13317 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13320 $as_echo "no
" >&6; }
13327 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13328 for ncn_progname in ranlib; do
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13330 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13331 if test -x $with_build_time_tools/${ncn_progname}; then
13332 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13334 $as_echo "yes" >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13338 $as_echo "no
" >&6; }
13343 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13344 for ncn_progname in ranlib; do
13345 if test -n "$ncn_target_tool_prefix"; then
13346 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13347 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13349 $as_echo_n "checking
for $ac_word...
" >&6; }
13350 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13351 $as_echo_n "(cached
) " >&6
13353 if test -n "$RANLIB_FOR_TARGET"; then
13354 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13357 for as_dir in $PATH
13360 test -z "$as_dir" && as_dir=.
13361 for ac_exec_ext in '' $ac_executable_extensions; do
13362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13363 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13373 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13374 if test -n "$RANLIB_FOR_TARGET"; then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13376 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13379 $as_echo "no
" >&6; }
13384 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13386 set dummy ${ncn_progname}; ac_word=$2
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13388 $as_echo_n "checking
for $ac_word...
" >&6; }
13389 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13390 $as_echo_n "(cached
) " >&6
13392 if test -n "$RANLIB_FOR_TARGET"; then
13393 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13402 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13412 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13413 if test -n "$RANLIB_FOR_TARGET"; then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13415 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13418 $as_echo "no
" >&6; }
13423 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13427 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13429 if test $build = $target ; then
13430 RANLIB_FOR_TARGET="$2"
13432 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13435 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13439 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13445 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13446 if test -n "$with_build_time_tools"; then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13448 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13449 if test -x $with_build_time_tools/readelf; then
13450 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13451 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13453 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13456 $as_echo "no
" >&6; }
13458 elif test $build != $host && test $have_gcc_for_target = yes; then
13459 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13460 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13461 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13464 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13465 # Extract the first word of "readelf
", so it can be a program name with args.
13466 set dummy readelf; ac_word=$2
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13468 $as_echo_n "checking
for $ac_word...
" >&6; }
13469 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13470 $as_echo_n "(cached
) " >&6
13472 case $READELF_FOR_TARGET in
13474 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13478 for as_dir in $gcc_cv_tool_dirs
13481 test -z "$as_dir" && as_dir=.
13482 for ac_exec_ext in '' $ac_executable_extensions; do
13483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13484 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13495 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13496 if test -n "$READELF_FOR_TARGET"; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13498 $as_echo "$READELF_FOR_TARGET" >&6; }
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13501 $as_echo "no
" >&6; }
13506 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13509 if test -n "$READELF_FOR_TARGET"; then
13510 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13511 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13512 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13515 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13516 for ncn_progname in readelf; do
13517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13518 set dummy ${ncn_progname}; ac_word=$2
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13520 $as_echo_n "checking
for $ac_word...
" >&6; }
13521 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13522 $as_echo_n "(cached
) " >&6
13524 if test -n "$READELF_FOR_TARGET"; then
13525 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in $PATH
13531 test -z "$as_dir" && as_dir=.
13532 for ac_exec_ext in '' $ac_executable_extensions; do
13533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13534 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13544 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13545 if test -n "$READELF_FOR_TARGET"; then
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13547 $as_echo "$READELF_FOR_TARGET" >&6; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13550 $as_echo "no
" >&6; }
13557 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13558 for ncn_progname in readelf; do
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13560 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13561 if test -x $with_build_time_tools/${ncn_progname}; then
13562 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13564 $as_echo "yes" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13568 $as_echo "no
" >&6; }
13573 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13574 for ncn_progname in readelf; do
13575 if test -n "$ncn_target_tool_prefix"; then
13576 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13577 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13579 $as_echo_n "checking
for $ac_word...
" >&6; }
13580 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13581 $as_echo_n "(cached
) " >&6
13583 if test -n "$READELF_FOR_TARGET"; then
13584 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13587 for as_dir in $PATH
13590 test -z "$as_dir" && as_dir=.
13591 for ac_exec_ext in '' $ac_executable_extensions; do
13592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13593 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13603 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13604 if test -n "$READELF_FOR_TARGET"; then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13606 $as_echo "$READELF_FOR_TARGET" >&6; }
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13609 $as_echo "no
" >&6; }
13614 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13616 set dummy ${ncn_progname}; ac_word=$2
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13618 $as_echo_n "checking
for $ac_word...
" >&6; }
13619 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13620 $as_echo_n "(cached
) " >&6
13622 if test -n "$READELF_FOR_TARGET"; then
13623 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13626 for as_dir in $PATH
13629 test -z "$as_dir" && as_dir=.
13630 for ac_exec_ext in '' $ac_executable_extensions; do
13631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13632 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13642 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13643 if test -n "$READELF_FOR_TARGET"; then
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13645 $as_echo "$READELF_FOR_TARGET" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13648 $as_echo "no
" >&6; }
13653 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13657 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13659 if test $build = $target ; then
13660 READELF_FOR_TARGET="$2"
13662 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13665 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13669 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13675 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13676 if test -n "$with_build_time_tools"; then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13678 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13679 if test -x $with_build_time_tools/strip; then
13680 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13681 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13683 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13686 $as_echo "no
" >&6; }
13688 elif test $build != $host && test $have_gcc_for_target = yes; then
13689 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13690 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13691 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13694 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13695 # Extract the first word of "strip
", so it can be a program name with args.
13696 set dummy strip; ac_word=$2
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13698 $as_echo_n "checking
for $ac_word...
" >&6; }
13699 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13700 $as_echo_n "(cached
) " >&6
13702 case $STRIP_FOR_TARGET in
13704 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13708 for as_dir in $gcc_cv_tool_dirs
13711 test -z "$as_dir" && as_dir=.
13712 for ac_exec_ext in '' $ac_executable_extensions; do
13713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13714 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13725 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13726 if test -n "$STRIP_FOR_TARGET"; then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13728 $as_echo "$STRIP_FOR_TARGET" >&6; }
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13731 $as_echo "no
" >&6; }
13736 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13739 if test -n "$STRIP_FOR_TARGET"; then
13740 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13741 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13742 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13745 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13746 for ncn_progname in strip; do
13747 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13748 set dummy ${ncn_progname}; ac_word=$2
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13750 $as_echo_n "checking
for $ac_word...
" >&6; }
13751 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13752 $as_echo_n "(cached
) " >&6
13754 if test -n "$STRIP_FOR_TARGET"; then
13755 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13758 for as_dir in $PATH
13761 test -z "$as_dir" && as_dir=.
13762 for ac_exec_ext in '' $ac_executable_extensions; do
13763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13764 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13774 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13775 if test -n "$STRIP_FOR_TARGET"; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13777 $as_echo "$STRIP_FOR_TARGET" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13780 $as_echo "no
" >&6; }
13787 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13788 for ncn_progname in strip; do
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13790 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13791 if test -x $with_build_time_tools/${ncn_progname}; then
13792 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13794 $as_echo "yes" >&6; }
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13798 $as_echo "no
" >&6; }
13803 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13804 for ncn_progname in strip; do
13805 if test -n "$ncn_target_tool_prefix"; then
13806 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13807 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13809 $as_echo_n "checking
for $ac_word...
" >&6; }
13810 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13811 $as_echo_n "(cached
) " >&6
13813 if test -n "$STRIP_FOR_TARGET"; then
13814 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13817 for as_dir in $PATH
13820 test -z "$as_dir" && as_dir=.
13821 for ac_exec_ext in '' $ac_executable_extensions; do
13822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13823 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13833 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13834 if test -n "$STRIP_FOR_TARGET"; then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13836 $as_echo "$STRIP_FOR_TARGET" >&6; }
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13839 $as_echo "no
" >&6; }
13844 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13845 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13846 set dummy ${ncn_progname}; ac_word=$2
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13848 $as_echo_n "checking
for $ac_word...
" >&6; }
13849 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13850 $as_echo_n "(cached
) " >&6
13852 if test -n "$STRIP_FOR_TARGET"; then
13853 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13856 for as_dir in $PATH
13859 test -z "$as_dir" && as_dir=.
13860 for ac_exec_ext in '' $ac_executable_extensions; do
13861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13862 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13872 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13873 if test -n "$STRIP_FOR_TARGET"; then
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13875 $as_echo "$STRIP_FOR_TARGET" >&6; }
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13878 $as_echo "no
" >&6; }
13883 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13887 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13889 if test $build = $target ; then
13890 STRIP_FOR_TARGET="$2"
13892 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13895 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13899 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13905 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13906 if test -n "$with_build_time_tools"; then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13908 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13909 if test -x $with_build_time_tools/windres; then
13910 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13911 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13913 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13916 $as_echo "no
" >&6; }
13918 elif test $build != $host && test $have_gcc_for_target = yes; then
13919 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13920 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13921 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13924 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13925 # Extract the first word of "windres
", so it can be a program name with args.
13926 set dummy windres; ac_word=$2
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13928 $as_echo_n "checking
for $ac_word...
" >&6; }
13929 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13930 $as_echo_n "(cached
) " >&6
13932 case $WINDRES_FOR_TARGET in
13934 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13938 for as_dir in $gcc_cv_tool_dirs
13941 test -z "$as_dir" && as_dir=.
13942 for ac_exec_ext in '' $ac_executable_extensions; do
13943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13944 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13955 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13956 if test -n "$WINDRES_FOR_TARGET"; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13958 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13961 $as_echo "no
" >&6; }
13966 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13969 if test -n "$WINDRES_FOR_TARGET"; then
13970 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13971 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13972 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13975 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13976 for ncn_progname in windres; do
13977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13978 set dummy ${ncn_progname}; ac_word=$2
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13980 $as_echo_n "checking
for $ac_word...
" >&6; }
13981 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13982 $as_echo_n "(cached
) " >&6
13984 if test -n "$WINDRES_FOR_TARGET"; then
13985 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13988 for as_dir in $PATH
13991 test -z "$as_dir" && as_dir=.
13992 for ac_exec_ext in '' $ac_executable_extensions; do
13993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13994 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14004 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14005 if test -n "$WINDRES_FOR_TARGET"; then
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14007 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14010 $as_echo "no
" >&6; }
14017 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
14018 for ncn_progname in windres; do
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14020 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14021 if test -x $with_build_time_tools/${ncn_progname}; then
14022 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14024 $as_echo "yes" >&6; }
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14028 $as_echo "no
" >&6; }
14033 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14034 for ncn_progname in windres; do
14035 if test -n "$ncn_target_tool_prefix"; then
14036 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14037 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14039 $as_echo_n "checking
for $ac_word...
" >&6; }
14040 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14041 $as_echo_n "(cached
) " >&6
14043 if test -n "$WINDRES_FOR_TARGET"; then
14044 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14047 for as_dir in $PATH
14050 test -z "$as_dir" && as_dir=.
14051 for ac_exec_ext in '' $ac_executable_extensions; do
14052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14053 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14063 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14064 if test -n "$WINDRES_FOR_TARGET"; then
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14066 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14069 $as_echo "no
" >&6; }
14074 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14075 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14076 set dummy ${ncn_progname}; ac_word=$2
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14078 $as_echo_n "checking
for $ac_word...
" >&6; }
14079 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14080 $as_echo_n "(cached
) " >&6
14082 if test -n "$WINDRES_FOR_TARGET"; then
14083 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14086 for as_dir in $PATH
14089 test -z "$as_dir" && as_dir=.
14090 for ac_exec_ext in '' $ac_executable_extensions; do
14091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14092 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14102 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14103 if test -n "$WINDRES_FOR_TARGET"; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14105 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14108 $as_echo "no
" >&6; }
14113 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14117 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14119 if test $build = $target ; then
14120 WINDRES_FOR_TARGET="$2"
14122 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14125 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14129 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14135 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14136 if test -n "$with_build_time_tools"; then
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14138 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14139 if test -x $with_build_time_tools/windmc; then
14140 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14141 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14143 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14146 $as_echo "no
" >&6; }
14148 elif test $build != $host && test $have_gcc_for_target = yes; then
14149 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14150 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14151 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14154 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14155 # Extract the first word of "windmc
", so it can be a program name with args.
14156 set dummy windmc; ac_word=$2
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14158 $as_echo_n "checking
for $ac_word...
" >&6; }
14159 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14160 $as_echo_n "(cached
) " >&6
14162 case $WINDMC_FOR_TARGET in
14164 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14168 for as_dir in $gcc_cv_tool_dirs
14171 test -z "$as_dir" && as_dir=.
14172 for ac_exec_ext in '' $ac_executable_extensions; do
14173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14174 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14185 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14186 if test -n "$WINDMC_FOR_TARGET"; then
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14188 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14191 $as_echo "no
" >&6; }
14196 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14199 if test -n "$WINDMC_FOR_TARGET"; then
14200 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14201 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14202 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14205 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14206 for ncn_progname in windmc; do
14207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14208 set dummy ${ncn_progname}; ac_word=$2
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14210 $as_echo_n "checking
for $ac_word...
" >&6; }
14211 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14212 $as_echo_n "(cached
) " >&6
14214 if test -n "$WINDMC_FOR_TARGET"; then
14215 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14218 for as_dir in $PATH
14221 test -z "$as_dir" && as_dir=.
14222 for ac_exec_ext in '' $ac_executable_extensions; do
14223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14224 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14234 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14235 if test -n "$WINDMC_FOR_TARGET"; then
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14237 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14240 $as_echo "no
" >&6; }
14247 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14248 for ncn_progname in windmc; do
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14250 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14251 if test -x $with_build_time_tools/${ncn_progname}; then
14252 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14254 $as_echo "yes" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14258 $as_echo "no
" >&6; }
14263 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14264 for ncn_progname in windmc; do
14265 if test -n "$ncn_target_tool_prefix"; then
14266 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14267 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14269 $as_echo_n "checking
for $ac_word...
" >&6; }
14270 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14271 $as_echo_n "(cached
) " >&6
14273 if test -n "$WINDMC_FOR_TARGET"; then
14274 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14280 test -z "$as_dir" && as_dir=.
14281 for ac_exec_ext in '' $ac_executable_extensions; do
14282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14283 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14293 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14294 if test -n "$WINDMC_FOR_TARGET"; then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14296 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14299 $as_echo "no
" >&6; }
14304 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14306 set dummy ${ncn_progname}; ac_word=$2
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14308 $as_echo_n "checking
for $ac_word...
" >&6; }
14309 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14310 $as_echo_n "(cached
) " >&6
14312 if test -n "$WINDMC_FOR_TARGET"; then
14313 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14316 for as_dir in $PATH
14319 test -z "$as_dir" && as_dir=.
14320 for ac_exec_ext in '' $ac_executable_extensions; do
14321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14322 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14332 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14333 if test -n "$WINDMC_FOR_TARGET"; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14335 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14338 $as_echo "no
" >&6; }
14343 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14347 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14349 if test $build = $target ; then
14350 WINDMC_FOR_TARGET="$2"
14352 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14355 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14359 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14363 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14366 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14367 if test "x
${build}" != "x
${host}" ; then
14368 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14369 # We already found the complete path
14370 ac_dir=`dirname $AR_FOR_TARGET`
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14372 $as_echo "pre-installed
in $ac_dir" >&6; }
14374 # Canadian cross, just use what we found
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14376 $as_echo "pre-installed
" >&6; }
14380 case " ${configdirs} " in
14385 if test $ok = yes; then
14386 # An in-tree tool is available and we can use it
14387 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14389 $as_echo "just compiled
" >&6; }
14390 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14391 # We already found the complete path
14392 ac_dir=`dirname $AR_FOR_TARGET`
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14394 $as_echo "pre-installed
in $ac_dir" >&6; }
14395 elif test "x
$target" = "x
$host"; then
14396 # We can use an host tool
14397 AR_FOR_TARGET='$(AR)'
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14399 $as_echo "host tool
" >&6; }
14401 # We need a cross tool
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14403 $as_echo "pre-installed
" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14408 $as_echo_n "checking where to
find the target as...
" >&6; }
14409 if test "x
${build}" != "x
${host}" ; then
14410 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14411 # We already found the complete path
14412 ac_dir=`dirname $AS_FOR_TARGET`
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14414 $as_echo "pre-installed
in $ac_dir" >&6; }
14416 # Canadian cross, just use what we found
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14418 $as_echo "pre-installed
" >&6; }
14422 case " ${configdirs} " in
14427 if test $ok = yes; then
14428 # An in-tree tool is available and we can use it
14429 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14431 $as_echo "just compiled
" >&6; }
14432 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14433 # We already found the complete path
14434 ac_dir=`dirname $AS_FOR_TARGET`
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14436 $as_echo "pre-installed
in $ac_dir" >&6; }
14437 elif test "x
$target" = "x
$host"; then
14438 # We can use an host tool
14439 AS_FOR_TARGET='$(AS)'
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14441 $as_echo "host tool
" >&6; }
14443 # We need a cross tool
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14445 $as_echo "pre-installed
" >&6; }
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14450 $as_echo_n "checking where to
find the target cc...
" >&6; }
14451 if test "x
${build}" != "x
${host}" ; then
14452 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14453 # We already found the complete path
14454 ac_dir=`dirname $CC_FOR_TARGET`
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14456 $as_echo "pre-installed
in $ac_dir" >&6; }
14458 # Canadian cross, just use what we found
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14460 $as_echo "pre-installed
" >&6; }
14464 case " ${configdirs} " in
14469 if test $ok = yes; then
14470 # An in-tree tool is available and we can use it
14471 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14473 $as_echo "just compiled
" >&6; }
14474 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14475 # We already found the complete path
14476 ac_dir=`dirname $CC_FOR_TARGET`
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14478 $as_echo "pre-installed
in $ac_dir" >&6; }
14479 elif test "x
$target" = "x
$host"; then
14480 # We can use an host tool
14481 CC_FOR_TARGET='$(CC)'
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14483 $as_echo "host tool
" >&6; }
14485 # We need a cross tool
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14487 $as_echo "pre-installed
" >&6; }
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14492 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14493 if test "x
${build}" != "x
${host}" ; then
14494 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14495 # We already found the complete path
14496 ac_dir=`dirname $CXX_FOR_TARGET`
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14498 $as_echo "pre-installed
in $ac_dir" >&6; }
14500 # Canadian cross, just use what we found
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14502 $as_echo "pre-installed
" >&6; }
14506 case " ${configdirs} " in
14510 case ,${enable_languages}, in
14514 if test $ok = yes; then
14515 # An in-tree tool is available and we can use it
14516 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'
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14518 $as_echo "just compiled
" >&6; }
14519 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14520 # We already found the complete path
14521 ac_dir=`dirname $CXX_FOR_TARGET`
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14523 $as_echo "pre-installed
in $ac_dir" >&6; }
14524 elif test "x
$target" = "x
$host"; then
14525 # We can use an host tool
14526 CXX_FOR_TARGET='$(CXX)'
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14528 $as_echo "host tool
" >&6; }
14530 # We need a cross tool
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14532 $as_echo "pre-installed
" >&6; }
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14537 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14538 if test "x
${build}" != "x
${host}" ; then
14539 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14540 # We already found the complete path
14541 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14543 $as_echo "pre-installed
in $ac_dir" >&6; }
14545 # Canadian cross, just use what we found
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14547 $as_echo "pre-installed
" >&6; }
14551 case " ${configdirs} " in
14555 case ,${enable_languages}, in
14559 if test $ok = yes; then
14560 # An in-tree tool is available and we can use it
14561 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'
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14563 $as_echo "just compiled
" >&6; }
14564 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14565 # We already found the complete path
14566 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14568 $as_echo "pre-installed
in $ac_dir" >&6; }
14569 elif test "x
$target" = "x
$host"; then
14570 # We can use an host tool
14571 RAW_CXX_FOR_TARGET='$(CXX)'
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14573 $as_echo "host tool
" >&6; }
14575 # We need a cross tool
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14577 $as_echo "pre-installed
" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14582 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14583 if test "x
${build}" != "x
${host}" ; then
14584 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14585 # We already found the complete path
14586 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14588 $as_echo "pre-installed
in $ac_dir" >&6; }
14590 # Canadian cross, just use what we found
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14592 $as_echo "pre-installed
" >&6; }
14596 case " ${configdirs} " in
14601 if test $ok = yes; then
14602 # An in-tree tool is available and we can use it
14603 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14605 $as_echo "just compiled
" >&6; }
14606 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14607 # We already found the complete path
14608 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14610 $as_echo "pre-installed
in $ac_dir" >&6; }
14611 elif test "x
$target" = "x
$host"; then
14612 # We can use an host tool
14613 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14615 $as_echo "host tool
" >&6; }
14617 # We need a cross tool
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14619 $as_echo "pre-installed
" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14624 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14625 if test "x
${build}" != "x
${host}" ; then
14626 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14627 # We already found the complete path
14628 ac_dir=`dirname $GCC_FOR_TARGET`
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14630 $as_echo "pre-installed
in $ac_dir" >&6; }
14632 # Canadian cross, just use what we found
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14634 $as_echo "pre-installed
" >&6; }
14638 case " ${configdirs} " in
14643 if test $ok = yes; then
14644 # An in-tree tool is available and we can use it
14645 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14647 $as_echo "just compiled
" >&6; }
14648 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14649 # We already found the complete path
14650 ac_dir=`dirname $GCC_FOR_TARGET`
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14652 $as_echo "pre-installed
in $ac_dir" >&6; }
14653 elif test "x
$target" = "x
$host"; then
14654 # We can use an host tool
14655 GCC_FOR_TARGET='$()'
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14657 $as_echo "host tool
" >&6; }
14659 # We need a cross tool
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14661 $as_echo "pre-installed
" >&6; }
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14666 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14667 if test "x
${build}" != "x
${host}" ; then
14668 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14669 # We already found the complete path
14670 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14672 $as_echo "pre-installed
in $ac_dir" >&6; }
14674 # Canadian cross, just use what we found
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14676 $as_echo "pre-installed
" >&6; }
14680 case " ${configdirs} " in
14684 case ,${enable_languages}, in
14688 if test $ok = yes; then
14689 # An in-tree tool is available and we can use it
14690 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14692 $as_echo "just compiled
" >&6; }
14693 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14694 # We already found the complete path
14695 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14697 $as_echo "pre-installed
in $ac_dir" >&6; }
14698 elif test "x
$target" = "x
$host"; then
14699 # We can use an host tool
14700 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14702 $as_echo "host tool
" >&6; }
14704 # We need a cross tool
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14706 $as_echo "pre-installed
" >&6; }
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14711 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14712 if test "x
${build}" != "x
${host}" ; then
14713 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14714 # We already found the complete path
14715 ac_dir=`dirname $GOC_FOR_TARGET`
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14717 $as_echo "pre-installed
in $ac_dir" >&6; }
14719 # Canadian cross, just use what we found
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14721 $as_echo "pre-installed
" >&6; }
14725 case " ${configdirs} " in
14729 case ,${enable_languages}, in
14733 if test $ok = yes; then
14734 # An in-tree tool is available and we can use it
14735 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14737 $as_echo "just compiled
" >&6; }
14738 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14739 # We already found the complete path
14740 ac_dir=`dirname $GOC_FOR_TARGET`
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14742 $as_echo "pre-installed
in $ac_dir" >&6; }
14743 elif test "x
$target" = "x
$host"; then
14744 # We can use an host tool
14745 GOC_FOR_TARGET='$(GOC)'
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14747 $as_echo "host tool
" >&6; }
14749 # We need a cross tool
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14751 $as_echo "pre-installed
" >&6; }
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
14756 $as_echo_n "checking where to
find the target gdc...
" >&6; }
14757 if test "x
${build}" != "x
${host}" ; then
14758 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14759 # We already found the complete path
14760 ac_dir=`dirname $GDC_FOR_TARGET`
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14762 $as_echo "pre-installed
in $ac_dir" >&6; }
14764 # Canadian cross, just use what we found
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14766 $as_echo "pre-installed
" >&6; }
14770 case " ${configdirs} " in
14774 case ,${enable_languages}, in
14778 if test $ok = yes; then
14779 # An in-tree tool is available and we can use it
14780 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14782 $as_echo "just compiled
" >&6; }
14783 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14784 # We already found the complete path
14785 ac_dir=`dirname $GDC_FOR_TARGET`
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14787 $as_echo "pre-installed
in $ac_dir" >&6; }
14788 elif test "x
$target" = "x
$host"; then
14789 # We can use an host tool
14790 GDC_FOR_TARGET='$(GDC)'
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14792 $as_echo "host tool
" >&6; }
14794 # We need a cross tool
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14796 $as_echo "pre-installed
" >&6; }
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14801 $as_echo_n "checking where to
find the target ld...
" >&6; }
14802 if test "x
${build}" != "x
${host}" ; then
14803 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14804 # We already found the complete path
14805 ac_dir=`dirname $LD_FOR_TARGET`
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14807 $as_echo "pre-installed
in $ac_dir" >&6; }
14809 # Canadian cross, just use what we found
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14811 $as_echo "pre-installed
" >&6; }
14815 case " ${configdirs} " in
14820 if test $ok = yes; then
14821 # An in-tree tool is available and we can use it
14822 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14824 $as_echo "just compiled
" >&6; }
14825 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14826 # We already found the complete path
14827 ac_dir=`dirname $LD_FOR_TARGET`
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14829 $as_echo "pre-installed
in $ac_dir" >&6; }
14830 elif test "x
$target" = "x
$host"; then
14831 # We can use an host tool
14832 LD_FOR_TARGET='$(LD)'
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14834 $as_echo "host tool
" >&6; }
14836 # We need a cross tool
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14838 $as_echo "pre-installed
" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14843 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14844 if test "x
${build}" != "x
${host}" ; then
14845 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14846 # We already found the complete path
14847 ac_dir=`dirname $LIPO_FOR_TARGET`
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14849 $as_echo "pre-installed
in $ac_dir" >&6; }
14851 # Canadian cross, just use what we found
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14853 $as_echo "pre-installed
" >&6; }
14856 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14857 # We already found the complete path
14858 ac_dir=`dirname $LIPO_FOR_TARGET`
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14860 $as_echo "pre-installed
in $ac_dir" >&6; }
14861 elif test "x
$target" = "x
$host"; then
14862 # We can use an host tool
14863 LIPO_FOR_TARGET='$(LIPO)'
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14865 $as_echo "host tool
" >&6; }
14867 # We need a cross tool
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14869 $as_echo "pre-installed
" >&6; }
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14874 $as_echo_n "checking where to
find the target nm...
" >&6; }
14875 if test "x
${build}" != "x
${host}" ; then
14876 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14877 # We already found the complete path
14878 ac_dir=`dirname $NM_FOR_TARGET`
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14880 $as_echo "pre-installed
in $ac_dir" >&6; }
14882 # Canadian cross, just use what we found
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14884 $as_echo "pre-installed
" >&6; }
14888 case " ${configdirs} " in
14893 if test $ok = yes; then
14894 # An in-tree tool is available and we can use it
14895 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14897 $as_echo "just compiled
" >&6; }
14898 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14899 # We already found the complete path
14900 ac_dir=`dirname $NM_FOR_TARGET`
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14902 $as_echo "pre-installed
in $ac_dir" >&6; }
14903 elif test "x
$target" = "x
$host"; then
14904 # We can use an host tool
14905 NM_FOR_TARGET='$(NM)'
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14907 $as_echo "host tool
" >&6; }
14909 # We need a cross tool
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14911 $as_echo "pre-installed
" >&6; }
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14916 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14917 if test "x
${build}" != "x
${host}" ; then
14918 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14919 # We already found the complete path
14920 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14922 $as_echo "pre-installed
in $ac_dir" >&6; }
14924 # Canadian cross, just use what we found
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14926 $as_echo "pre-installed
" >&6; }
14930 case " ${configdirs} " in
14935 if test $ok = yes; then
14936 # An in-tree tool is available and we can use it
14937 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14939 $as_echo "just compiled
" >&6; }
14940 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14941 # We already found the complete path
14942 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14944 $as_echo "pre-installed
in $ac_dir" >&6; }
14945 elif test "x
$target" = "x
$host"; then
14946 # We can use an host tool
14947 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14949 $as_echo "host tool
" >&6; }
14951 # We need a cross tool
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14953 $as_echo "pre-installed
" >&6; }
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14958 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14959 if test "x
${build}" != "x
${host}" ; then
14960 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14961 # We already found the complete path
14962 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14964 $as_echo "pre-installed
in $ac_dir" >&6; }
14966 # Canadian cross, just use what we found
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14968 $as_echo "pre-installed
" >&6; }
14972 case " ${configdirs} " in
14977 if test $ok = yes; then
14978 # An in-tree tool is available and we can use it
14979 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14981 $as_echo "just compiled
" >&6; }
14982 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14983 # We already found the complete path
14984 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14986 $as_echo "pre-installed
in $ac_dir" >&6; }
14987 elif test "x
$target" = "x
$host"; then
14988 # We can use an host tool
14989 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14991 $as_echo "host tool
" >&6; }
14993 # We need a cross tool
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14995 $as_echo "pre-installed
" >&6; }
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
15000 $as_echo_n "checking where to
find the target otool...
" >&6; }
15001 if test "x
${build}" != "x
${host}" ; then
15002 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15003 # We already found the complete path
15004 ac_dir=`dirname $OTOOL_FOR_TARGET`
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15006 $as_echo "pre-installed
in $ac_dir" >&6; }
15008 # Canadian cross, just use what we found
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15010 $as_echo "pre-installed
" >&6; }
15013 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15014 # We already found the complete path
15015 ac_dir=`dirname $OTOOL_FOR_TARGET`
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15017 $as_echo "pre-installed
in $ac_dir" >&6; }
15018 elif test "x
$target" = "x
$host"; then
15019 # We can use an host tool
15020 OTOOL_FOR_TARGET='$(OTOOL)'
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15022 $as_echo "host tool
" >&6; }
15024 # We need a cross tool
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15026 $as_echo "pre-installed
" >&6; }
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
15031 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
15032 if test "x
${build}" != "x
${host}" ; then
15033 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15034 # We already found the complete path
15035 ac_dir=`dirname $RANLIB_FOR_TARGET`
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15037 $as_echo "pre-installed
in $ac_dir" >&6; }
15039 # Canadian cross, just use what we found
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15041 $as_echo "pre-installed
" >&6; }
15045 case " ${configdirs} " in
15050 if test $ok = yes; then
15051 # An in-tree tool is available and we can use it
15052 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15054 $as_echo "just compiled
" >&6; }
15055 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15056 # We already found the complete path
15057 ac_dir=`dirname $RANLIB_FOR_TARGET`
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15059 $as_echo "pre-installed
in $ac_dir" >&6; }
15060 elif test "x
$target" = "x
$host"; then
15061 # We can use an host tool
15062 RANLIB_FOR_TARGET='$(RANLIB)'
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15064 $as_echo "host tool
" >&6; }
15066 # We need a cross tool
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15068 $as_echo "pre-installed
" >&6; }
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
15073 $as_echo_n "checking where to
find the target readelf...
" >&6; }
15074 if test "x
${build}" != "x
${host}" ; then
15075 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15076 # We already found the complete path
15077 ac_dir=`dirname $READELF_FOR_TARGET`
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15079 $as_echo "pre-installed
in $ac_dir" >&6; }
15081 # Canadian cross, just use what we found
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15083 $as_echo "pre-installed
" >&6; }
15087 case " ${configdirs} " in
15092 if test $ok = yes; then
15093 # An in-tree tool is available and we can use it
15094 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15096 $as_echo "just compiled
" >&6; }
15097 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15098 # We already found the complete path
15099 ac_dir=`dirname $READELF_FOR_TARGET`
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15101 $as_echo "pre-installed
in $ac_dir" >&6; }
15102 elif test "x
$target" = "x
$host"; then
15103 # We can use an host tool
15104 READELF_FOR_TARGET='$(READELF)'
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15106 $as_echo "host tool
" >&6; }
15108 # We need a cross tool
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15110 $as_echo "pre-installed
" >&6; }
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
15115 $as_echo_n "checking where to
find the target strip...
" >&6; }
15116 if test "x
${build}" != "x
${host}" ; then
15117 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15118 # We already found the complete path
15119 ac_dir=`dirname $STRIP_FOR_TARGET`
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15121 $as_echo "pre-installed
in $ac_dir" >&6; }
15123 # Canadian cross, just use what we found
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15125 $as_echo "pre-installed
" >&6; }
15129 case " ${configdirs} " in
15134 if test $ok = yes; then
15135 # An in-tree tool is available and we can use it
15136 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15138 $as_echo "just compiled
" >&6; }
15139 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15140 # We already found the complete path
15141 ac_dir=`dirname $STRIP_FOR_TARGET`
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15143 $as_echo "pre-installed
in $ac_dir" >&6; }
15144 elif test "x
$target" = "x
$host"; then
15145 # We can use an host tool
15146 STRIP_FOR_TARGET='$(STRIP)'
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15148 $as_echo "host tool
" >&6; }
15150 # We need a cross tool
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15152 $as_echo "pre-installed
" >&6; }
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15157 $as_echo_n "checking where to
find the target windres...
" >&6; }
15158 if test "x
${build}" != "x
${host}" ; then
15159 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15160 # We already found the complete path
15161 ac_dir=`dirname $WINDRES_FOR_TARGET`
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15163 $as_echo "pre-installed
in $ac_dir" >&6; }
15165 # Canadian cross, just use what we found
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15167 $as_echo "pre-installed
" >&6; }
15171 case " ${configdirs} " in
15176 if test $ok = yes; then
15177 # An in-tree tool is available and we can use it
15178 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15180 $as_echo "just compiled
" >&6; }
15181 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15182 # We already found the complete path
15183 ac_dir=`dirname $WINDRES_FOR_TARGET`
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15185 $as_echo "pre-installed
in $ac_dir" >&6; }
15186 elif test "x
$target" = "x
$host"; then
15187 # We can use an host tool
15188 WINDRES_FOR_TARGET='$(WINDRES)'
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15190 $as_echo "host tool
" >&6; }
15192 # We need a cross tool
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15194 $as_echo "pre-installed
" >&6; }
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15199 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15200 if test "x
${build}" != "x
${host}" ; then
15201 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15202 # We already found the complete path
15203 ac_dir=`dirname $WINDMC_FOR_TARGET`
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15205 $as_echo "pre-installed
in $ac_dir" >&6; }
15207 # Canadian cross, just use what we found
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15209 $as_echo "pre-installed
" >&6; }
15213 case " ${configdirs} " in
15218 if test $ok = yes; then
15219 # An in-tree tool is available and we can use it
15220 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15222 $as_echo "just compiled
" >&6; }
15223 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15224 # We already found the complete path
15225 ac_dir=`dirname $WINDMC_FOR_TARGET`
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15227 $as_echo "pre-installed
in $ac_dir" >&6; }
15228 elif test "x
$target" = "x
$host"; then
15229 # We can use an host tool
15230 WINDMC_FOR_TARGET='$(WINDMC)'
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15232 $as_echo "host tool
" >&6; }
15234 # We need a cross tool
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15236 $as_echo "pre-installed
" >&6; }
15244 # Certain tools may need extra flags.
15245 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15246 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15247 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15249 # When building target libraries, except in a Canadian cross, we use
15250 # the same toolchain as the compiler we just built.
15251 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15252 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15253 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15254 if test $host = $build; then
15255 case " $configdirs " in
15257 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15258 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15259 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15269 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15270 # Check whether --enable-maintainer-mode was given.
15271 if test "${enable_maintainer_mode+set}" = set; then :
15272 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15274 USE_MAINTAINER_MODE=no
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15278 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15281 if test "$USE_MAINTAINER_MODE" = yes; then
15282 MAINTAINER_MODE_TRUE=
15283 MAINTAINER_MODE_FALSE='#'
15285 MAINTAINER_MODE_TRUE='#'
15286 MAINTAINER_MODE_FALSE=
15288 MAINT=$MAINTAINER_MODE_TRUE
15290 # ---------------------
15291 # GCC bootstrap support
15292 # ---------------------
15294 # Stage specific cflags for build.
15299 yes) stage1_cflags="-g -Wa,-J" ;;
15300 *) stage1_cflags="-g -J" ;;
15306 # Enable --enable-checking in stage1 of the compiler.
15307 # Check whether --enable-stage1-checking was given.
15308 if test "${enable_stage1_checking+set}" = set; then :
15309 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15311 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15312 # For --disable-checking or implicit --enable-checking=release, avoid
15313 # setting --enable-checking=gc in the default stage1 checking for LTO
15314 # bootstraps. See PR62077.
15315 case $BUILD_CONFIG in
15317 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15319 stage1_checking=--enable-checking=yes,types;;
15321 if test "x
$enable_checking" = x && \
15322 test -d ${srcdir}/gcc && \
15323 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15324 stage1_checking=--enable-checking=yes,types,extra
15327 stage1_checking=--enable-checking=$enable_checking,types
15333 # Enable -Werror in bootstrap stage2 and later.
15334 # Check whether --enable-werror was given.
15335 if test "${enable_werror+set}" = set; then :
15336 enableval=$enable_werror;
15337 case ${enable_werror} in
15338 yes) stage2_werror_flag="--enable-werror-always" ;;
15339 *) stage2_werror_flag="" ;;
15344 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15345 case $BUILD_CONFIG in
15347 stage2_werror_flag="--enable-werror-always" ;;
15349 stage2_werror_flag="--enable-werror-always" ;;
15358 # Specify what files to not compare during bootstrap.
15360 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15362 hppa*64*-*-hpux*) ;;
15363 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15364 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15368 ac_config_files="$ac_config_files Makefile
"
15370 cat >confcache <<\_ACEOF
15371 # This file is a shell script that caches the results of configure
15372 # tests run on this system so they can be shared between configure
15373 # scripts and configure runs, see configure's option --config-cache.
15374 # It is not useful on other systems. If it contains results you don't
15375 # want to keep, you may remove or edit it.
15377 # config.status only pays attention to the cache file if you give it
15378 # the --recheck option to rerun configure.
15380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15382 # following values.
15386 # The following way of writing the cache mishandles newlines in values,
15387 # but we know of no workaround that is simple, portable, and efficient.
15388 # So, we kill variables containing newlines.
15389 # Ultrix sh set writes to stderr and can't be redirected directly,
15390 # and sets the high bit in the cache file unless we assign to the vars.
15392 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15393 eval ac_val=\$$ac_var
15397 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15398 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15401 _ | IFS | as_nl) ;; #(
15402 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15403 *) { eval $ac_var=; unset $ac_var;} ;;
15409 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15410 *${as_nl}ac_space=\ *)
15411 # `set' does not quote correctly, so add quotes: double-quote
15412 # substitution turns \\\\ into \\, and sed turns \\ into \.
15415 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15418 # `set' quotes correctly as required by POSIX, so do not add quotes.
15419 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15428 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15430 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15432 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15433 if test -w "$cache_file"; then
15434 if test "x
$cache_file" != "x
/dev
/null
"; then
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15436 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15437 if test ! -f "$cache_file" || test -h "$cache_file"; then
15438 cat confcache >"$cache_file"
15440 case $cache_file in #(
15442 mv -f confcache "$cache_file"$$ &&
15443 mv -f "$cache_file"$$ "$cache_file" ;; #(
15445 mv -f confcache "$cache_file" ;;
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15451 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15456 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15457 # Let make expand exec_prefix.
15458 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15460 # Transform confdefs.h into DEFS.
15461 # Protect against shell expansion while executing Makefile rules.
15462 # Protect against Makefile macro expansion.
15464 # If the first sed substitution is executed (which looks for macros that
15465 # take arguments), then branch to the quote section. Otherwise,
15466 # look for a macro that doesn't take arguments.
15476 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15478 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15482 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15495 DEFS=`sed -n "$ac_script" confdefs.h`
15501 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15502 # 1. Remove the extension, and $U if already installed.
15503 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15504 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15505 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15506 # will be set to the directory where LIBOBJS objects are built.
15507 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15508 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15510 LIBOBJS=$ac_libobjs
15512 LTLIBOBJS=$ac_ltlibobjs
15516 : "${CONFIG_STATUS=./config.status}"
15518 ac_clean_files_save=$ac_clean_files
15519 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15521 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15523 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15525 # Generated by $as_me.
15526 # Run this file to recreate the current configuration.
15527 # Compiler output produced by configure, useful for debugging
15528 # configure, is in config.log if it exists.
15531 ac_cs_recheck=false
15534 SHELL=\${CONFIG_SHELL-$SHELL}
15537 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15538 ## -------------------- ##
15539 ## M4sh Initialization. ##
15540 ## -------------------- ##
15542 # Be more Bourne compatible
15543 DUALCASE=1; export DUALCASE # for MKS sh
15544 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15547 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15548 # is contrary to our usage. Disable this feature.
15549 alias -g '${1+"$@"}'='"$@"'
15550 setopt NO_GLOB_SUBST
15552 case `(set -o) 2>/dev/null` in #(
15564 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15565 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15566 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15567 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15568 # Prefer a ksh shell builtin over an external printf program on Solaris,
15569 # but without wasting forks for bash or zsh.
15570 if test -z "$BASH_VERSION$ZSH_VERSION" \
15571 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15572 as_echo
='print -r --'
15573 as_echo_n
='print -rn --'
15574 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15575 as_echo
='printf %s\n'
15576 as_echo_n
='printf %s'
15578 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15579 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15580 as_echo_n
='/usr/ucb/echo -n'
15582 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15583 as_echo_n_body
='eval
15587 expr "X$arg" : "X\\(.*\\)$as_nl";
15588 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15590 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15592 export as_echo_n_body
15593 as_echo_n
='sh -c $as_echo_n_body as_echo'
15595 export as_echo_body
15596 as_echo
='sh -c $as_echo_body as_echo'
15599 # The user is always right.
15600 if test "${PATH_SEPARATOR+set}" != set; then
15602 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15603 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15610 # We need space, tab and new line, in precisely that order. Quoting is
15611 # there to prevent editors from complaining about space-tab.
15612 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15613 # splitting by setting IFS to empty value.)
15616 # Find who we are. Look in the path if we contain no directory separator.
15619 *[\\/]* ) as_myself
=$0 ;;
15620 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15621 for as_dir
in $PATH
15624 test -z "$as_dir" && as_dir
=.
15625 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15631 # We did not find ourselves, most probably we were run as `sh COMMAND'
15632 # in which case we are not to be found in the path.
15633 if test "x$as_myself" = x
; then
15636 if test ! -f "$as_myself"; then
15637 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15641 # Unset variables that we do not need and which cause bugs (e.g. in
15642 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15643 # suppresses any "Segmentation fault" message there. '((' could
15644 # trigger a bug in pdksh 5.2.14.
15645 for as_var
in BASH_ENV ENV MAIL MAILPATH
15646 do eval test x\
${$as_var+set} = xset \
15647 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15660 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15663 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15664 # ----------------------------------------
15665 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15666 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15667 # script with STATUS, using 1 if that was 0.
15670 as_status
=$1; test $as_status -eq 0 && as_status
=1
15672 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15673 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15675 $as_echo "$as_me: error: $2" >&2
15676 as_fn_exit
$as_status
15680 # as_fn_set_status STATUS
15681 # -----------------------
15682 # Set $? to STATUS, without forking.
15683 as_fn_set_status
()
15686 } # as_fn_set_status
15688 # as_fn_exit STATUS
15689 # -----------------
15690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15694 as_fn_set_status
$1
15700 # Portably unset VAR.
15703 { eval $1=; unset $1;}
15705 as_unset
=as_fn_unset
15706 # as_fn_append VAR VALUE
15707 # ----------------------
15708 # Append the text in VALUE to the end of the definition contained in VAR. Take
15709 # advantage of any shell optimizations that allow amortized linear growth over
15710 # repeated appends, instead of the typical quadratic growth present in naive
15712 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15713 eval 'as_fn_append ()
15724 # as_fn_arith ARG...
15725 # ------------------
15726 # Perform arithmetic evaluation on the ARGs, and store the result in the
15727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15728 # must be portable across $(()) and expr.
15729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15730 eval 'as_fn_arith ()
15737 as_val
=`expr "$@" || test $? -eq 1`
15742 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15743 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15749 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15750 as_basename
=basename
15755 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15761 as_me
=`$as_basename -- "$0" ||
15762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15763 X"$0" : 'X\(//\)$' \| \
15764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15766 sed '/^.*\/\([^/][^/]*\)\/*$/{
15780 # Avoid depending upon Character Ranges.
15781 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15782 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15783 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15784 as_cr_digits
='0123456789'
15785 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15787 ECHO_C
= ECHO_N
= ECHO_T
=
15788 case `echo -n x` in #(((((
15790 case `echo 'xy\c'` in
15791 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15793 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15800 rm -f conf$$ conf$$.exe conf$$.
file
15801 if test -d conf$$.dir
; then
15802 rm -f conf$$.dir
/conf$$.
file
15805 mkdir conf$$.dir
2>/dev
/null
15807 if (echo >conf$$.
file) 2>/dev
/null
; then
15808 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15810 # ... but there are two gotchas:
15811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15813 # In both cases, we have to default to `cp -pR'.
15814 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15816 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15824 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15825 rmdir conf$$.dir
2>/dev
/null
15830 # Create "$as_dir" as a directory, including parents if necessary.
15835 -*) as_dir
=.
/$as_dir;;
15837 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15841 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15842 *) as_qdir
=$as_dir;;
15844 as_dirs
="'$as_qdir' $as_dirs"
15845 as_dir
=`$as_dirname -- "$as_dir" ||
15846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15847 X"$as_dir" : 'X\(//\)[^/]' \| \
15848 X"$as_dir" : 'X\(//\)$' \| \
15849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15850 $as_echo X"$as_dir" |
15851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15855 /^X\(\/\/\)[^/].*/{
15868 test -d "$as_dir" && break
15870 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15871 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15875 if mkdir
-p .
2>/dev
/null
; then
15876 as_mkdir_p
='mkdir -p "$as_dir"'
15878 test -d .
/-p && rmdir .
/-p
15883 # as_fn_executable_p FILE
15884 # -----------------------
15885 # Test if FILE is an executable regular file.
15886 as_fn_executable_p
()
15888 test -f "$1" && test -x "$1"
15889 } # as_fn_executable_p
15890 as_test_x
='test -x'
15891 as_executable_p
=as_fn_executable_p
15893 # Sed expression to map a string onto a valid CPP name.
15894 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15896 # Sed expression to map a string onto a valid variable name.
15897 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15901 ## ----------------------------------- ##
15902 ## Main body of $CONFIG_STATUS script. ##
15903 ## ----------------------------------- ##
15905 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15908 # Save the log message, to keep $0 and so on meaningful, and to
15909 # report actual input values of CONFIG_FILES etc. instead of their
15910 # values after options handling.
15912 This file was extended by $as_me, which was
15913 generated by GNU Autoconf 2.69. Invocation command line was
15915 CONFIG_FILES = $CONFIG_FILES
15916 CONFIG_HEADERS = $CONFIG_HEADERS
15917 CONFIG_LINKS = $CONFIG_LINKS
15918 CONFIG_COMMANDS = $CONFIG_COMMANDS
15921 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15926 case $ac_config_files in *"
15927 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15933 # Files that config.status was made for.
15934 config_files="$ac_config_files"
15938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15940 \`$as_me' instantiates files and other configuration actions
15941 from templates according to the current configuration. Unless the files
15942 and actions are specified as TAGs, all are instantiated by default.
15944 Usage: $0 [OPTION]... [TAG]...
15946 -h, --help print this help, then exit
15947 -V, --version print version number and configuration settings, then exit
15948 --config print configuration, then exit
15949 -q, --quiet, --silent
15950 do not print progress messages
15951 -d, --debug don't remove temporary files
15952 --recheck update $as_me by reconfiguring in the same conditions
15953 --file=FILE[:TEMPLATE]
15954 instantiate the configuration file FILE
15956 Configuration files:
15959 Report bugs to the package provider."
15962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15963 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15966 configured by $0, generated by GNU Autoconf 2.69,
15967 with options \\"\$ac_cs_config\\"
15969 Copyright (C) 2012 Free Software Foundation, Inc.
15970 This config.status script is free software; the Free Software Foundation
15971 gives unlimited permission to copy, distribute and modify it."
15977 test -n "\$AWK" || AWK=awk
15980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15981 # The default lists apply if the user does not specify any file.
15987 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15988 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15992 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16004 # Handling of the options.
16005 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16007 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16008 $as_echo "$ac_cs_version"; exit ;;
16009 --config |
--confi |
--conf |
--con |
--co |
--c )
16010 $as_echo "$ac_cs_config"; exit ;;
16011 --debug |
--debu |
--deb |
--de |
--d |
-d )
16013 --file |
--fil |
--fi |
--f )
16016 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16017 '') as_fn_error $?
"missing file argument" ;;
16019 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16020 ac_need_defaults
=false
;;
16021 --he |
--h |
--help |
--hel |
-h )
16022 $as_echo "$ac_cs_usage"; exit ;;
16023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16024 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16027 # This is an error.
16028 -*) as_fn_error $?
"unrecognized option: \`$1'
16029 Try \`$0 --help' for more information." ;;
16031 *) as_fn_append ac_config_targets
" $1"
16032 ac_need_defaults
=false
;;
16038 ac_configure_extra_args
=
16040 if $ac_cs_silent; then
16042 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 if \$ac_cs_recheck; then
16048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16051 CONFIG_SHELL='$SHELL'
16052 export CONFIG_SHELL
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16062 ## Running $as_me. ##
16068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 extrasub_build="$extrasub_build"
16073 extrasub_host="$extrasub_host"
16074 extrasub_target="$extrasub_target"
16078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16080 # Handling of arguments.
16081 for ac_config_target
in $ac_config_targets
16083 case $ac_config_target in
16084 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16086 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16091 # If the user did not use the arguments to specify the items to instantiate,
16092 # then the envvar interface is used. Set only those that are not.
16093 # We use the long form for the default assignment because of an extremely
16094 # bizarre bug on SunOS 4.1.3.
16095 if $ac_need_defaults; then
16096 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16099 # Have a temporary directory for convenience. Make it in the build tree
16100 # simply because there is no reason against having it here, and in addition,
16101 # creating and moving files from /tmp can sometimes cause problems.
16102 # Hook for its removal unless debugging.
16103 # Note that there is a small window in which the directory will not be cleaned:
16104 # after its creation but before its name has been assigned to `$tmp'.
16108 trap 'exit_status=$?
16109 : "${ac_tmp:=$tmp}"
16110 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16112 trap 'as_fn_exit 1' 1 2 13 15
16114 # Create a (secure) tmp directory for tmp files.
16117 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16121 tmp
=.
/conf$$
-$RANDOM
16122 (umask 077 && mkdir
"$tmp")
16123 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16126 # Set up the scripts for CONFIG_FILES section.
16127 # No need to generate them if there are no CONFIG_FILES.
16128 # This happens for instance with `./config.status config.h'.
16129 if test -n "$CONFIG_FILES"; then
16131 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16132 ac_cs_awk_getline
=:
16133 ac_cs_awk_pipe_init
=
16134 ac_cs_awk_read_file
='
16135 while ((getline aline < (F[key])) > 0)
16138 ac_cs_awk_pipe_fini
=
16140 ac_cs_awk_getline
=false
16141 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16142 ac_cs_awk_read_file
='
16144 print "cat " F[key] " &&"
16145 '$ac_cs_awk_pipe_init
16146 # The final `:' finishes the AND list.
16147 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16149 ac_cr
=`echo X | tr X '\015'`
16150 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16151 # But we know of no other shell where ac_cr would be empty at this
16152 # point, so we can use a bashism as a fallback.
16153 if test "x$ac_cr" = x
; then
16154 eval ac_cr
=\$
\'\\r
\'
16156 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16157 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16160 ac_cs_awk_cr
=$ac_cr
16163 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16166 # Create commands to substitute file output variables.
16168 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16169 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16170 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16173 } >conf$
$files.sh
&&
16174 . .
/conf$
$files.sh ||
16175 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16176 rm -f conf$
$files.sh
16179 echo "cat >conf$$subs.awk <<_ACEOF" &&
16180 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16182 } >conf$$subs.sh ||
16183 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16184 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16186 for ac_last_try in false false false false false :; do
16187 . ./conf$$subs.sh ||
16188 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16190 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16191 if test $ac_delim_n = $ac_delim_num; then
16193 elif $ac_last_try; then
16194 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16196 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16199 rm -f conf$$subs.sh
16201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16202 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16206 s/^/S["/; s
/!.
*/"]=/
16216 s/\(.\{148\}\)..*/\1/
16218 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16223 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16230 s/\(.\{148\}\)..*/\1/
16232 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16236 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16241 ' <conf$$subs.awk | sed '
16246 ' >>$CONFIG_STATUS || ac_write_fail=1
16247 rm -f conf$$subs.awk
16248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16250 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16251 for (key in S) S_is_set[key] = 1
16253 \$ac_cs_awk_pipe_init
16257 nfields = split(line, field, "@
")
16259 len = length(field[1])
16260 for (i = 2; i < nfields; i++) {
16262 keylen = length(key)
16263 if (S_is_set[key]) {
16265 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16266 len += length(value) + length(field[++i])
16271 if (nfields == 3 && !substed) {
16273 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16274 \$ac_cs_awk_read_file
16280 \$ac_cs_awk_pipe_fini
16283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16284 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16285 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16288 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16289 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16292 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16293 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16294 # trailing colons and then remove the whole line if VPATH becomes empty
16295 # (actually we leave an empty line to preserve line numbers).
16296 if test "x
$srcdir" = x.; then
16297 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16316 fi # test -n "$CONFIG_FILES"
16319 eval set X " :F
$CONFIG_FILES "
16324 :[FHLC]) ac_mode=$ac_tag; continue;;
16326 case $ac_mode$ac_tag in
16328 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16329 :[FH]-) ac_tag=-:-;;
16330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16347 -) ac_f="$ac_tmp/stdin";;
16348 *) # Look for the file first in the build tree, then in the source tree
16349 # (if the path is not absolute). The absolute path cannot be DOS-style,
16350 # because $ac_f cannot contain `:'.
16354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16356 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16358 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16359 as_fn_append ac_file_inputs " '$ac_f'"
16362 # Let's still pretend it is `configure' which instantiates (i.e., don't
16363 # use $as_me), people would be surprised to read:
16364 # /* config.h. Generated by config.status. */
16365 configure_input='Generated from '`
16366 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16368 if test x"$ac_file" != x-; then
16369 configure_input="$ac_file.
$configure_input"
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16371 $as_echo "$as_me: creating
$ac_file" >&6;}
16373 # Neutralize special characters interpreted by sed in replacement strings.
16374 case $configure_input in #(
16375 *\&* | *\|* | *\\* )
16376 ac_sed_conf_input=`$as_echo "$configure_input" |
16377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16378 *) ac_sed_conf_input=$configure_input;;
16382 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16383 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16388 ac_dir=`$as_dirname -- "$ac_file" ||
16389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16390 X"$ac_file" : 'X\(//\)[^/]' \| \
16391 X"$ac_file" : 'X\(//\)$' \| \
16392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16393 $as_echo X"$ac_file" |
16394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16398 /^X\(\/\/\)[^/].*/{
16411 as_dir="$ac_dir"; as_fn_mkdir_p
16415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16418 # A "..
" for each directory in $ac_dir_suffix.
16419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16420 case $ac_top_builddir_sub in
16421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16425 ac_abs_top_builddir=$ac_pwd
16426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16427 # for backward compatibility:
16428 ac_top_builddir=$ac_top_build_prefix
16431 .) # We are building in place.
16433 ac_top_srcdir=$ac_top_builddir_sub
16434 ac_abs_top_srcdir=$ac_pwd ;;
16435 [\\/]* | ?:[\\/]* ) # Absolute name.
16436 ac_srcdir=$srcdir$ac_dir_suffix;
16437 ac_top_srcdir=$srcdir
16438 ac_abs_top_srcdir=$srcdir ;;
16439 *) # Relative name.
16440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16441 ac_top_srcdir=$ac_top_build_prefix$srcdir
16442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16460 # If the template does not know about datarootdir, expand it.
16461 # FIXME: This hack should be removed a few years after 2.60.
16462 ac_datarootdir_hack=; ac_datarootdir_seen=
16473 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16474 *datarootdir*) ac_datarootdir_seen=yes;;
16475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16477 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16480 ac_datarootdir_hack='
16481 s&@datadir@&$datadir&g
16482 s&@docdir@&$docdir&g
16483 s&@infodir@&$infodir&g
16484 s&@localedir@&$localedir&g
16485 s&@mandir@&$mandir&g
16486 s&\\\${datarootdir}&$datarootdir&g' ;;
16490 # Neutralize VPATH when `$srcdir' = `.'.
16491 # Shell code in configure.ac might set extrasub.
16492 # FIXME: do we really want to maintain this feature?
16493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16494 ac_sed_extra="$ac_vpsub
16497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16499 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16500 s|@configure_input@|
$ac_sed_conf_input|
;t t
16501 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16502 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16503 s
&@srcdir@
&$ac_srcdir&;t t
16504 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16505 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16506 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16507 s
&@builddir@
&$ac_builddir&;t t
16508 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16509 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16510 s
&@INSTALL@
&$ac_INSTALL&;t t
16511 $ac_datarootdir_hack
16513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16514 if $ac_cs_awk_getline; then
16515 $AWK -f "$ac_tmp/subs.
awk"
16517 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16519 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16522 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16524 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16526 which seems to be undefined. Please make sure it is defined" >&5
16527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16528 which seems to be undefined. Please make sure it is defined" >&2;}
16530 rm -f "$ac_tmp/stdin"
16532 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16533 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16543 case $ac_file$ac_mode in
16544 "Makefile":F) sed "$extrasub_build" Makefile |
16545 sed "$extrasub_host" |
16546 sed "$extrasub_target" > mf$$
16547 mv -f mf$$ Makefile ;;
16555 ac_clean_files=$ac_clean_files_save
16557 test $ac_write_fail = 0 ||
16558 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16561 # configure is writing to config.log, and then calls config.status.
16562 # config.status does its own redirection, appending to config.log.
16563 # Unfortunately, on DOS this fails, as config.log is still kept open
16564 # by configure, so config.status won't be able to
write to it
; its
16565 # output is simply discarded. So we exec the FD to /dev/null,
16566 # effectively closing config.log, so it can be properly (re)opened and
16567 # appended to by config.status. When coming back to configure, we
16568 # need to make the FD available again.
16569 if test "$no_create" != yes; then
16571 ac_config_status_args
=
16572 test "$silent" = yes &&
16573 ac_config_status_args
="$ac_config_status_args --quiet"
16575 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16577 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16578 # would make configure fail if this is the last instruction.
16579 $ac_cs_success || as_fn_exit
1
16581 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16583 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}