2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
676 DEBUG_PREFIX_CFLAGS_FOR_TARGET
677 SYSROOT_CFLAGS_FOR_TARGET
679 extra_host_zlib_configure_flags
680 extra_host_libiberty_configure_flags
683 extra_linker_plugin_flags
684 extra_linker_plugin_configure_flags
691 extra_isl_gmp_configure_flags
692 extra_mpc_mpfr_configure_flags
693 extra_mpc_gmp_configure_flags
694 extra_mpfr_configure_flags
710 extra_liboffloadmic_configure_flags
737 TOPLEVEL_CONFIGURE_ARGUMENTS
765 program_transform_name
776 ac_subst_files
='serialization_dependencies
782 enable_option_checking
785 enable_as_accelerator_for
786 enable_offload_targets
789 enable_compressed_debug_sections
791 enable_libquadmath_support
809 with_static_standard_libraries
816 enable_isl_version_check
818 enable_linker_plugin_configure_flags
819 enable_linker_plugin_flags
821 enable_stage1_languages
824 with_target_bdw_gc_include
825 with_target_bdw_gc_lib
826 with_gcc_major_version_only
828 with_debug_prefix_map
831 enable_serial_configure
832 with_build_time_tools
833 enable_maintainer_mode
834 enable_stage1_checking
837 ac_precious_vars
='build_alias
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
960 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
963 -build |
--build |
--buil |
--bui |
--bu)
964 ac_prev
=build_alias
;;
965 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
969 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
970 ac_prev
=cache_file
;;
971 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
972 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir |
--datadir |
--datadi |
--datad)
980 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
984 |
--dataroo |
--dataro |
--datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
987 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* |
--disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid feature name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 as_fn_error $?
"invalid package name: $ac_useropt"
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1279 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $?
"missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val
=\$
$ac_var
1315 # Remove trailing slashes.
1318 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\
$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$
]* | ?
:[\\/]* ) continue;;
1324 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1326 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target
=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x
; then
1338 if test "x$build_alias" = x
; then
1339 cross_compiling
=maybe
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 as_fn_error $?
"path to source, $srcdir, contains spaces"
1416 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1418 for ac_var
in $ac_precious_vars; do
1419 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1420 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1421 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1426 # Report the --help message.
1428 if test "$ac_init_help" = "long"; then
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1432 \`configure' configures this package to adapt to many kinds of systems.
1434 Usage: $0 [OPTION]... [VAR=VALUE]...
1436 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking ...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452 Installation directories:
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1454 [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1458 By default, \`make install' will install all the files in
1459 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1465 Fine tuning of the installation directories:
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1490 --program-prefix=PREFIX prepend PREFIX to installed program names
1491 --program-suffix=SUFFIX append SUFFIX to installed program names
1492 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1495 --build=BUILD configure
for building on BUILD
[guessed
]
1496 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1497 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1501 if test -n "$ac_init_help"; then
1506 --disable-option-checking ignore unrecognized
--enable/--with options
1507 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1508 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1509 --enable-as-accelerator-for=ARG
1510 build as offload target compiler. Specify offload
1512 --enable-offload-targets=LIST
1513 enable offloading to devices from comma-separated
1514 LIST of TARGET
[=DIR
]. Use optional path to
find
1515 offload target compiler during the build
1516 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1517 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1518 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1519 Enable compressed debug sections
for gas
, gold or ld
1521 --disable-libquadmath do not build libquadmath directory
1522 --disable-libquadmath-support
1523 disable libquadmath support
for Fortran
1524 --enable-libada build libada directory
1525 --enable-libssp build libssp directory
1526 --disable-libstdcxx do not build libstdc
++-v3 directory
1527 --enable-liboffloadmic=ARG
1528 build liboffloadmic
[ARG
={no
,host,target
}]
1529 --enable-bootstrap enable bootstrapping
[yes if native build
]
1530 --disable-isl-version-check
1531 disable check
for isl version
1532 --enable-lto enable link
time optimization support
1533 --enable-linker-plugin-configure-flags=FLAGS
1534 additional flags
for configuring linker plugins
1536 --enable-linker-plugin-flags=FLAGS
1537 additional flags
for configuring and building linker
1539 --enable-host-shared build
host code as shared libraries
1540 --enable-stage1-languages[=all
]
1541 choose additional languages to build during stage1.
1542 Mostly useful
for compiler development
1543 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1545 --enable-vtable-verify Enable vtable verification feature
1546 --enable-serial-[{host,target,build}-]configure
1547 force sequential configuration of sub-packages for
1548 the host, target or build machine, or all
1550 --enable-maintainer-mode
1551 enable make rules and dependencies not useful (and
1552 sometimes confusing) to the casual installer
1553 --enable-stage1-checking[=all]
1554 choose additional checking for stage1 of the
1556 --enable-werror enable -Werror in bootstrap stage2 and later
1559 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1560 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1561 --with-build-libsubdir=DIR Directory where to find libraries for build system
1562 --with-system-zlib use installed libz
1563 --with-mpc=PATH specify prefix directory for installed MPC package.
1564 Equivalent to --with-mpc-include=PATH/include plus
1565 --with-mpc-lib=PATH/lib
1566 --with-mpc-include=PATH specify directory for installed MPC include files
1567 --with-mpc-lib=PATH specify directory for the installed MPC library
1568 --with-mpfr-dir=PATH this option has been REMOVED
1569 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1570 Equivalent to --with-mpfr-include=PATH/include plus
1571 --with-mpfr-lib=PATH/lib
1572 --with-mpfr-include=PATH
1573 specify directory for installed MPFR include files
1574 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1575 --with-gmp-dir=PATH this option has been REMOVED
1576 --with-gmp=PATH specify prefix directory for the installed GMP
1577 package. Equivalent to
1578 --with-gmp-include=PATH/include plus
1579 --with-gmp-lib=PATH/lib
1580 --with-gmp-include=PATH specify directory for installed GMP include files
1581 --with-gmp-lib=PATH specify directory for the installed GMP library
1582 --with-stage1-libs=LIBS libraries for stage1
1583 --with-static-standard-libraries
1584 use -static-libstdc++ and -static-libgcc
1586 --with-stage1-ldflags=FLAGS
1587 linker flags for stage1
1588 --with-boot-libs=LIBS libraries for stage2 and later
1589 --with-boot-ldflags=FLAGS
1590 linker flags for stage2 and later
1591 --with-isl=PATH Specify prefix directory for the installed isl
1592 package. Equivalent to
1593 --with-isl-include=PATH/include plus
1594 --with-isl-lib=PATH/lib
1595 --with-isl-include=PATH Specify directory for installed isl include files
1596 --with-isl-lib=PATH Specify the directory for the installed isl library
1597 --with-target-bdw-gc=PATHLIST
1598 specify prefix directory for installed bdw-gc
1599 package. Equivalent to
1600 --with-target-bdw-gc-include=PATH/include plus
1601 --with-target-bdw-gc-lib=PATH/lib
1602 --with-target-bdw-gc-include=PATHLIST
1603 specify directories for installed bdw-gc include
1605 --with-target-bdw-gc-lib=PATHLIST
1606 specify directories for installed bdw-gc library
1607 --with-gcc-major-version-only
1608 use only GCC major number in filesystem paths
1609 --with-build-sysroot=SYSROOT
1610 use sysroot as the system root during the build
1611 --with-debug-prefix-map='A
=B C
=D ...
'
1612 map A to B, C to D ... in debug information
1613 --with-build-config='NAME NAME2...
'
1614 use config/NAME.mk build configuration
1615 --with-build-time-tools=PATH
1616 use given path to find target tools during the build
1618 Some influential environment variables:
1619 CC C compiler command
1620 CFLAGS C compiler flags
1621 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1622 nonstandard directory <lib dir>
1623 LIBS libraries to pass to the linker, e.g. -l<library>
1624 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1625 you have headers in a nonstandard directory <include dir>
1626 CXX C++ compiler command
1627 CXXFLAGS C++ compiler flags
1629 additional configure arguments for build directories
1631 additional configure arguments for host directories
1633 additional configure arguments for target directories
1636 DLLTOOL DLLTOOL for the host
1638 LIPO LIPO for the host
1640 RANLIB RANLIB for the host
1641 STRIP STRIP for the host
1642 WINDRES WINDRES for the host
1643 WINDMC WINDMC for the host
1644 OBJCOPY OBJCOPY for the host
1645 OBJDUMP OBJDUMP for the host
1646 OTOOL OTOOL for the host
1647 READELF READELF for the host
1655 GFORTRAN for the target
1665 DLLTOOL for the target
1673 OBJCOPY for the target
1675 OBJDUMP for the target
1677 OTOOL for the target
1679 RANLIB for the target
1681 READELF for the target
1683 STRIP for the target
1685 WINDRES for the target
1687 WINDMC for the target
1689 Use these variables to override the choices made by `configure' or to
help
1690 it to
find libraries and programs with nonstandard names
/locations.
1692 Report bugs to the package provider.
1697 if test "$ac_init_help" = "recursive"; then
1698 # If there are subdirs, report their specific --help.
1699 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1700 test -d "$ac_dir" ||
1701 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1706 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1708 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1709 # A ".." for each directory in $ac_dir_suffix.
1710 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1711 case $ac_top_builddir_sub in
1712 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1713 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1716 ac_abs_top_builddir
=$ac_pwd
1717 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1718 # for backward compatibility:
1719 ac_top_builddir
=$ac_top_build_prefix
1722 .
) # We are building in place.
1724 ac_top_srcdir
=$ac_top_builddir_sub
1725 ac_abs_top_srcdir
=$ac_pwd ;;
1726 [\\/]* | ?
:[\\/]* ) # Absolute name.
1727 ac_srcdir
=$srcdir$ac_dir_suffix;
1728 ac_top_srcdir
=$srcdir
1729 ac_abs_top_srcdir
=$srcdir ;;
1731 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1732 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1733 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1735 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1737 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1738 # Check for guested configure.
1739 if test -f "$ac_srcdir/configure.gnu"; then
1741 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1742 elif test -f "$ac_srcdir/configure"; then
1744 $SHELL "$ac_srcdir/configure" --help=recursive
1746 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1752 test -n "$ac_init_help" && exit $ac_status
1753 if $ac_init_version; then
1756 generated by GNU Autoconf
2.69
1758 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1759 This configure
script is free software
; the Free Software Foundation
1760 gives unlimited permission to copy
, distribute and modify it.
1765 ## ------------------------ ##
1766 ## Autoconf initialization. ##
1767 ## ------------------------ ##
1769 # ac_fn_c_try_compile LINENO
1770 # --------------------------
1771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_c_try_compile
()
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 rm -f conftest.
$ac_objext
1776 if { { ac_try
="$ac_compile"
1778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_compile") 2>conftest.err
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest.$ac_objext; then :
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1805 } # ac_fn_c_try_compile
1807 # ac_fn_cxx_try_compile LINENO
1808 # ----------------------------
1809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 rm -f conftest.$ac_objext
1814 if { { ac_try="$ac_compile"
1816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1817 *) ac_try_echo
=$ac_try;;
1819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_compile") 2>conftest.err
1823 if test -s conftest.err
; then
1824 grep -v '^ *+' conftest.err
>conftest.er1
1825 cat conftest.er1
>&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_cxx_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest.
$ac_objext; then :
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status
$ac_retval
1843 } # ac_fn_cxx_try_compile
1845 # ac_fn_cxx_try_link LINENO
1846 # -------------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded.
1848 ac_fn_cxx_try_link
()
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 rm -f conftest.
$ac_objext conftest
$ac_exeext
1852 if { { ac_try
="$ac_link"
1854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>conftest.err
1861 if test -s conftest.err; then
1862 grep -v '^ *+' conftest.err >conftest.er1
1863 cat conftest.er1 >&5
1864 mv -f conftest.er1 conftest.err
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } && {
1868 test -z "$ac_cxx_werror_flag" ||
1869 test ! -s conftest.err
1870 } && test -s conftest$ac_exeext && {
1871 test "$cross_compiling" = yes ||
1872 test -x conftest$ac_exeext
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1881 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1882 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1883 # interfere with the next link command; also delete a directory that is
1884 # left behind by Apple's compiler. We do this before executing the actions.
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_cxx_try_link
1891 # ac_fn_c_try_link LINENO
1892 # -----------------------
1893 # Try to link conftest.$ac_ext, and return whether this succeeded.
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 rm -f conftest.$ac_objext conftest$ac_exeext
1898 if { { ac_try="$ac_link"
1900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1901 *) ac_try_echo
=$ac_try;;
1903 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_link") 2>conftest.err
1907 if test -s conftest.err
; then
1908 grep -v '^ *+' conftest.err
>conftest.er1
1909 cat conftest.er1
>&5
1910 mv -f conftest.er1 conftest.err
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } && {
1914 test -z "$ac_c_werror_flag" ||
1915 test ! -s conftest.err
1916 } && test -s conftest
$ac_exeext && {
1917 test "$cross_compiling" = yes ||
1918 test -x conftest
$ac_exeext
1922 $as_echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.
$ac_ext >&5
1927 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1928 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1929 # interfere with the next link command; also delete a directory that is
1930 # left behind by Apple's compiler. We do this before executing the actions.
1931 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 as_fn_set_status
$ac_retval
1935 } # ac_fn_c_try_link
1936 cat >config.log
<<_ACEOF
1937 This file contains any messages produced by compilers while
1938 running configure, to aid debugging if configure makes a mistake.
1940 It was created by $as_me, which was
1941 generated by GNU Autoconf 2.69. Invocation command line was
1953 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1954 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1955 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1956 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1957 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1959 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1960 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1962 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1963 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1964 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1965 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1966 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1967 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1968 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir
=.
1977 $as_echo "PATH: $as_dir"
1993 # Keep a trace of the command line.
1994 # Strip out --no-create and --no-recursion so they do not pile up.
1995 # Strip out --silent because we don't want to record it for future runs.
1996 # Also quote any args containing shell meta-characters.
1997 # Make two passes to allow for proper duplicate-argument suppression.
2001 ac_must_keep_next
=false
2007 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2008 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2009 |
-silent |
--silent |
--silen |
--sile |
--sil)
2012 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2015 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2017 as_fn_append ac_configure_args1
" '$ac_arg'"
2018 if test $ac_must_keep_next = true
; then
2019 ac_must_keep_next
=false
# Got value, back to normal.
2022 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2023 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2024 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2025 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2026 case "$ac_configure_args0 " in
2027 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2030 -* ) ac_must_keep_next
=true
;;
2033 as_fn_append ac_configure_args
" '$ac_arg'"
2038 { ac_configure_args0
=; unset ac_configure_args0
;}
2039 { ac_configure_args1
=; unset ac_configure_args1
;}
2041 # When interrupted or exit'd, cleanup temporary files, and complete
2042 # config.log. We remove comments because anyway the quotes in there
2043 # would cause problems or look ugly.
2044 # WARNING: Use '\'' to represent an apostrophe within the trap.
2045 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2046 trap 'exit_status=$?
2047 # Save into config.log some information that might help in debugging.
2051 $as_echo "## ---------------- ##
2052 ## Cache variables. ##
2053 ## ---------------- ##"
2055 # The following way of writing the cache mishandles newlines in values,
2057 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2058 eval ac_val=\$$ac_var
2062 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2066 _ | IFS | as_nl) ;; #(
2067 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2068 *) { eval $ac_var=; unset $ac_var;} ;;
2073 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2074 *${as_nl}ac_space=\ *)
2076 "s/'\''/'\''\\\\'\'''\''/g;
2077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2087 $as_echo "## ----------------- ##
2088 ## Output variables. ##
2089 ## ----------------- ##"
2091 for ac_var in $ac_subst_vars
2093 eval ac_val=\$$ac_var
2095 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097 $as_echo "$ac_var='\''$ac_val'\''"
2101 if test -n "$ac_subst_files"; then
2102 $as_echo "## ------------------- ##
2103 ## File substitutions. ##
2104 ## ------------------- ##"
2106 for ac_var
in $ac_subst_files
2108 eval ac_val
=\$
$ac_var
2110 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112 $as_echo "$ac_var='\''$ac_val'\''"
2117 if test -s confdefs.h; then
2118 $as_echo "## ----------- ##
2125 test "$ac_signal" != 0 &&
2126 $as_echo "$as_me: caught signal $ac_signal"
2127 $as_echo "$as_me: exit $exit_status"
2129 rm -f core *.core core.conftest.* &&
2130 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2133 for ac_signal
in 1 2 13 15; do
2134 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2138 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2139 rm -f -r conftest
* confdefs.h
2141 $as_echo "/* confdefs.h */" > confdefs.h
2143 # Predefined preprocessor variables.
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_NAME "$PACKAGE_NAME"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_STRING "$PACKAGE_STRING"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_URL "$PACKAGE_URL"
2170 # Let the site file select an alternate cache file if it wants to.
2171 # Prefer an explicitly selected file to automatically selected ones.
2174 if test -n "$CONFIG_SITE"; then
2175 # We do not want a PATH search for config.site.
2176 case $CONFIG_SITE in #((
2177 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2178 */*) ac_site_file1
=$CONFIG_SITE;;
2179 *) ac_site_file1
=.
/$CONFIG_SITE;;
2181 elif test "x$prefix" != xNONE
; then
2182 ac_site_file1
=$prefix/share
/config.site
2183 ac_site_file2
=$prefix/etc
/config.site
2185 ac_site_file1
=$ac_default_prefix/share
/config.site
2186 ac_site_file2
=$ac_default_prefix/etc
/config.site
2188 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2190 test "x$ac_site_file" = xNONE
&& continue
2191 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2193 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2194 sed 's/^/| /' "$ac_site_file" >&5
2196 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 as_fn_error $?
"failed to load site script $ac_site_file
2199 See \`config.log' for more details" "$LINENO" 5; }
2203 if test -r "$cache_file"; then
2204 # Some versions of bash will fail to source /dev/null (special files
2205 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2206 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2208 $as_echo "$as_me: loading cache $cache_file" >&6;}
2210 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2211 *) .
"./$cache_file";;
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2216 $as_echo "$as_me: creating cache $cache_file" >&6;}
2220 # Check that the precious variables saved in the cache have kept the same
2222 ac_cache_corrupted
=false
2223 for ac_var
in $ac_precious_vars; do
2224 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2225 eval ac_new_set
=\
$ac_env_${ac_var}_set
2226 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2227 eval ac_new_val
=\
$ac_env_${ac_var}_value
2228 case $ac_old_set,$ac_new_set in
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2232 ac_cache_corrupted
=: ;;
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2236 ac_cache_corrupted
=: ;;
2239 if test "x$ac_old_val" != "x$ac_new_val"; then
2240 # differences in whitespace do not lead to failure.
2241 ac_old_val_w
=`echo x $ac_old_val`
2242 ac_new_val_w
=`echo x $ac_new_val`
2243 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2245 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2246 ac_cache_corrupted
=:
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2249 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2250 eval $ac_var=\
$ac_old_val
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2253 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2255 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2258 # Pass precious variables to config.status.
2259 if test "$ac_new_set" = set; then
2261 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2262 *) ac_arg
=$ac_var=$ac_new_val ;;
2264 case " $ac_configure_args " in
2265 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2266 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2270 if $ac_cache_corrupted; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2274 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2275 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2277 ## -------------------- ##
2278 ## Main body of script. ##
2279 ## -------------------- ##
2282 ac_cpp
='$CPP $CPPFLAGS'
2283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2295 # if PWD already has a value, it is probably wrong.
2296 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2298 # Export original configure arguments for use by sub-configures.
2299 # Quote arguments with shell meta charatcers.
2300 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2301 set -- "$progname" "$@"
2305 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2306 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2307 # if the argument is of the form -foo=baz, quote the baz part only
2308 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2311 # Add the quoted argument to the list.
2312 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2314 if test "$silent" = yes; then
2315 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2317 # Remove the initial space we just introduced and, as these will be
2318 # expanded by make, quote '$'.
2319 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2322 # Find the build, host, and target systems.
2324 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2325 if test -f "$ac_dir/install-sh"; then
2327 ac_install_sh
="$ac_aux_dir/install-sh -c"
2329 elif test -f "$ac_dir/install.sh"; then
2331 ac_install_sh
="$ac_aux_dir/install.sh -c"
2333 elif test -f "$ac_dir/shtool"; then
2335 ac_install_sh
="$ac_aux_dir/shtool install -c"
2339 if test -z "$ac_aux_dir"; then
2340 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2343 # These three variables are undocumented and unsupported,
2344 # and are intended to be withdrawn in a future Autoconf release.
2345 # They can cause serious problems if a builder's source tree is in a directory
2346 # whose full name contains unusual characters.
2347 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2348 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2349 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2352 # Make sure we can run config.sub.
2353 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2354 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2357 $as_echo_n "checking build system type... " >&6; }
2358 if ${ac_cv_build+:} false
; then :
2359 $as_echo_n "(cached) " >&6
2361 ac_build_alias
=$build_alias
2362 test "x$ac_build_alias" = x
&&
2363 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2364 test "x$ac_build_alias" = x
&&
2365 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2366 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2367 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2371 $as_echo "$ac_cv_build" >&6; }
2372 case $ac_cv_build in
2374 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2377 ac_save_IFS
=$IFS; IFS
='-'
2383 # Remember, the first character of IFS is used to create $*,
2384 # except with old shells:
2387 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2390 case ${build_alias} in
2391 "") build_noncanonical
=${build} ;;
2392 *) build_noncanonical
=${build_alias} ;;
2397 case ${host_alias} in
2398 "") host_noncanonical
=${build_noncanonical} ;;
2399 *) host_noncanonical
=${host_alias} ;;
2404 case ${target_alias} in
2405 "") target_noncanonical
=${host_noncanonical} ;;
2406 *) target_noncanonical
=${target_alias} ;;
2412 test "$host_noncanonical" = "$target_noncanonical" &&
2413 test "$program_prefix$program_suffix$program_transform_name" = \
2415 program_transform_name
=s
,y
,y
,
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2418 $as_echo_n "checking host system type... " >&6; }
2419 if ${ac_cv_host+:} false
; then :
2420 $as_echo_n "(cached) " >&6
2422 if test "x$host_alias" = x
; then
2423 ac_cv_host
=$ac_cv_build
2425 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2426 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2431 $as_echo "$ac_cv_host" >&6; }
2434 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2437 ac_save_IFS
=$IFS; IFS
='-'
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2447 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2451 $as_echo_n "checking target system type... " >&6; }
2452 if ${ac_cv_target+:} false
; then :
2453 $as_echo_n "(cached) " >&6
2455 if test "x$target_alias" = x
; then
2456 ac_cv_target
=$ac_cv_host
2458 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2459 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2464 $as_echo "$ac_cv_target" >&6; }
2465 case $ac_cv_target in
2467 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2469 target
=$ac_cv_target
2470 ac_save_IFS
=$IFS; IFS
='-'
2476 # Remember, the first character of IFS is used to create $*,
2477 # except with old shells:
2480 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2483 # The aliases save the names the user supplied, while $host etc.
2484 # will get canonicalized.
2485 test -n "$target_alias" &&
2486 test "$program_prefix$program_suffix$program_transform_name" = \
2488 program_prefix
=${target_alias}-
2490 test "$program_prefix" != NONE
&&
2491 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2492 # Use a double $ so make ignores it.
2493 test "$program_suffix" != NONE
&&
2494 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2495 # Double any \ or $.
2496 # By default was `s,x,x', remove it if useless.
2497 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2498 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2502 # Get 'install' or 'install-sh' and its variants.
2503 # Find a good install program. We prefer a C program (faster),
2504 # so one script is as good as another. But avoid the broken or
2505 # incompatible versions:
2506 # SysV /etc/install, /usr/sbin/install
2507 # SunOS /usr/etc/install
2508 # IRIX /sbin/install
2510 # AmigaOS /C/install, which installs bootblocks on floppy discs
2511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2514 # OS/2's system install, which has a completely different semantic
2515 # ./install, which can be erroneously created by make from ./install.sh.
2516 # Reject install programs that cannot install multiple files.
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2518 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2519 if test -z "$INSTALL"; then
2520 if ${ac_cv_path_install+:} false
; then :
2521 $as_echo_n "(cached) " >&6
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 # Account for people who put trailing slashes in PATH elements.
2529 case $as_dir/ in #((
2530 .
/ | .
// |
/[cC
]/* | \
2531 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2532 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2535 # OSF1 and SCO ODT 3.0 have their own names for install.
2536 # Don't use installbsd from OSF since it installs stuff as root
2538 for ac_prog
in ginstall scoinst
install; do
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2541 if test $ac_prog = install &&
2542 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2543 # AIX install. It has an incompatible calling convention.
2545 elif test $ac_prog = install &&
2546 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2547 # program-specific install script used by HP pwplus--don't use.
2550 rm -rf conftest.one conftest.two conftest.dir
2551 echo one
> conftest.one
2552 echo two
> conftest.two
2554 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2555 test -s conftest.one
&& test -s conftest.two
&&
2556 test -s conftest.dir
/conftest.one
&&
2557 test -s conftest.dir
/conftest.two
2559 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2572 rm -rf conftest.one conftest.two conftest.dir
2575 if test "${ac_cv_path_install+set}" = set; then
2576 INSTALL
=$ac_cv_path_install
2578 # As a last resort, use the slow shell script. Don't cache a
2579 # value for INSTALL within a source directory, because that will
2580 # break other packages using the cache if that directory is
2581 # removed, or if the value is a relative name.
2582 INSTALL
=$ac_install_sh
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2586 $as_echo "$INSTALL" >&6; }
2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2589 # It thinks the first close brace ends the variable substitution.
2590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2594 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2597 $as_echo_n "checking whether ln works... " >&6; }
2598 if ${acx_cv_prog_LN+:} false
; then :
2599 $as_echo_n "(cached) " >&6
2601 rm -f conftestdata_t
2602 echo >conftestdata_f
2603 if ln conftestdata_f conftestdata_t
2>/dev
/null
2609 rm -f conftestdata_f conftestdata_t
2612 if test $acx_cv_prog_LN = no
; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2615 $as_echo "no, using $LN" >&6; }
2617 LN
="$acx_cv_prog_LN"
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2619 $as_echo "yes" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2623 $as_echo_n "checking whether ln -s works... " >&6; }
2625 if test "$LN_S" = "ln -s"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2630 $as_echo "no, using $LN_S" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2634 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2635 if ${ac_cv_path_SED+:} false
; then :
2636 $as_echo_n "(cached) " >&6
2638 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2639 for ac_i
in 1 2 3 4 5 6 7; do
2640 ac_script
="$ac_script$as_nl$ac_script"
2642 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2643 { ac_script
=; unset ac_script
;}
2644 if test -z "$SED"; then
2645 ac_path_SED_found
=false
2646 # Loop through the user's path and test for each of PROGNAME-LIST
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_prog
in sed gsed
; do
2653 for ac_exec_ext
in '' $ac_executable_extensions; do
2654 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2655 as_fn_executable_p
"$ac_path_SED" ||
continue
2656 # Check for GNU ac_path_SED and select it if it is found.
2657 # Check for GNU $ac_path_SED
2658 case `"$ac_path_SED" --version 2>&1` in
2660 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2663 $as_echo_n 0123456789 >"conftest.in"
2666 cat "conftest.in" "conftest.in" >"conftest.tmp"
2667 mv "conftest.tmp" "conftest.in"
2668 cp "conftest.in" "conftest.nl"
2669 $as_echo '' >> "conftest.nl"
2670 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2672 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2673 if test $ac_count -gt ${ac_path_SED_max-0}; then
2674 # Best one so far, save it but keep looking for a better one
2675 ac_cv_path_SED
="$ac_path_SED"
2676 ac_path_SED_max
=$ac_count
2678 # 10*(2^10) chars as input seems more than enough
2679 test $ac_count -gt 10 && break
2681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2684 $ac_path_SED_found && break 3
2689 if test -z "$ac_cv_path_SED"; then
2690 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2698 $as_echo "$ac_cv_path_SED" >&6; }
2699 SED
="$ac_cv_path_SED"
2702 for ac_prog
in gawk mawk nawk
awk
2704 # Extract the first word of "$ac_prog", so it can be a program name with args.
2705 set dummy
$ac_prog; ac_word
=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if ${ac_cv_prog_AWK+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$AWK"; then
2712 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2721 ac_cv_prog_AWK
="$ac_prog"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$AWK"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2734 $as_echo "$AWK" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$AWK" && break
2745 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2747 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2749 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2750 INSTALL
="${srcpwd}/install-sh -c"
2753 # Set srcdir to "." if that's what it is.
2754 # This is important for multilib support.
2756 if test "${pwd}" = "${srcpwd}" ; then
2764 ### To add a new directory to the tree, first choose whether it is a target
2765 ### or a host dependent tool. Then put it into the appropriate list
2766 ### (library or tools, host or target), doing a dependency sort.
2768 # Subdirs will be configured in the order listed in build_configdirs,
2769 # configdirs, or target_configdirs; see the serialization section below.
2771 # Dependency sorting is only needed when *configuration* must be done in
2772 # a particular order. In all cases a dependency should be specified in
2773 # the Makefile, whether or not it's implicitly specified here.
2775 # Double entries in build_configdirs, configdirs, or target_configdirs may
2776 # cause circular dependencies and break everything horribly.
2778 # these library is used by various programs built for the build
2781 build_libs
="build-libiberty build-libcpp"
2783 # these tools are built for the build environment
2784 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2786 # these libraries are used by various programs built for the host environment
2788 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2790 # these tools are built for the host environment
2791 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2792 # know that we are building the simulator.
2793 # binutils, gas and ld appear in that order because it makes sense to run
2794 # "make check" in that particular order.
2795 # If --enable-gold is used, "gold" may replace "ld".
2796 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2798 # these libraries are built for the target environment, and are built after
2799 # the host libraries and the host tools (which may be a cross compiler)
2800 # Note that libiberty is not a target library.
2801 target_libraries
="target-libgcc \
2802 target-libbacktrace \
2806 target-liboffloadmic \
2807 target-libhsail-rt \
2810 target-libstdc++-v3 \
2811 target-libsanitizer \
2814 target-libquadmath \
2815 target-libgfortran \
2823 # these tools are built using the target libraries, and are intended to
2824 # run only in the target environment
2826 # note: any program that *uses* libraries that are in the "target_libraries"
2827 # list belongs in this list.
2829 target_tools
="target-rda"
2831 ################################################################################
2833 ## All tools belong in one of the four categories, and are assigned above
2834 ## We assign ${configdirs} this way to remove all embedded newlines. This
2835 ## is important because configure will choke if they ever get through.
2836 ## ${configdirs} is directories we build using the host tools.
2837 ## ${target_configdirs} is directories we build using the target tools.
2838 configdirs
=`echo ${host_libs} ${host_tools}`
2839 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2840 build_configdirs
=`echo ${build_libs} ${build_tools}`
2844 ################################################################################
2846 srcname
="gnu development package"
2848 # This gets set non-empty for some net releases of packages.
2851 # Define is_cross_compiler to save on calls to 'test'.
2853 if test x
"${host}" = x
"${target}" ; then
2854 is_cross_compiler
=no
2856 is_cross_compiler
=yes
2859 # Find the build and target subdir names.
2861 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2862 # have matching libraries, they should use host libraries: Makefile.tpl
2863 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2864 # However, they still use the build modules, because the corresponding
2865 # host modules (e.g. bison) are only built for the host when bootstrap
2867 # - build_subdir is where we find build modules, and never changes.
2868 # - build_libsubdir is where we find build libraries, and can be overridden.
2870 # Prefix 'build-' so this never conflicts with target_subdir.
2871 build_subdir
="build-${build_noncanonical}"
2873 # Check whether --with-build-libsubdir was given.
2874 if test "${with_build_libsubdir+set}" = set; then :
2875 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2877 build_libsubdir
="$build_subdir"
2880 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2881 if ( test $srcdir = .
&& test -d gcc
) \
2882 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2883 host_subdir
="host-${host_noncanonical}"
2888 target_subdir
=${target_noncanonical}
2890 # Be sure to cover against remnants of an in-tree build.
2891 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2892 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2893 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2896 # Skipdirs are removed silently.
2898 # Noconfigdirs are removed loudly.
2902 # Make sure we don't let GNU ld be added if we didn't want it.
2903 if test x
$with_gnu_ld = xno
; then
2905 noconfigdirs
="$noconfigdirs ld gold"
2909 # Make sure we don't let GNU as be added if we didn't want it.
2910 if test x
$with_gnu_as = xno
; then
2912 noconfigdirs
="$noconfigdirs gas"
2917 # Check whether --with-system-zlib was given.
2918 if test "${with_system_zlib+set}" = set; then :
2919 withval
=$with_system_zlib;
2922 # Make sure we don't let ZLIB be added if we didn't want it.
2923 if test x
$with_system_zlib = xyes
; then
2924 use_included_zlib
=no
2925 noconfigdirs
="$noconfigdirs zlib"
2928 # some tools are so dependent upon X11 that if we're not building with X,
2929 # it's not even worth trying to configure, much less build, that tool.
2932 yes |
"") ;; # the default value for this tree is that X11 is available
2934 skipdirs
="${skipdirs} tk itcl libgui"
2935 # We won't be able to build gdbtk without X.
2938 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2941 # Some are only suitable for cross toolchains.
2942 # Remove these if host=target.
2943 cross_only
="target-libgloss target-newlib target-opcodes"
2945 case $is_cross_compiler in
2946 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2949 # If both --with-headers and --with-libs are specified, default to
2951 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2952 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2953 if test x
"${with_newlib}" = x
; then
2958 # Recognize --with-newlib/--without-newlib.
2959 case ${with_newlib} in
2960 no
) skipdirs
="${skipdirs} target-newlib" ;;
2961 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2964 # Check whether --enable-as-accelerator-for was given.
2965 if test "${enable_as_accelerator_for+set}" = set; then :
2966 enableval
=$enable_as_accelerator_for;
2970 # Check whether --enable-offload-targets was given.
2971 if test "${enable_offload_targets+set}" = set; then :
2972 enableval
=$enable_offload_targets;
2973 if test x
"$enable_offload_targets" = x
; then
2974 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2978 enable_offload_targets
=
2982 # Handle --enable-gold, --enable-ld.
2983 # --disable-gold [--enable-ld]
2984 # Build only ld. Default option.
2985 # --enable-gold [--enable-ld]
2986 # Build both gold and ld. Install gold as "ld.gold", install ld
2987 # as "ld.bfd" and "ld".
2988 # --enable-gold=default [--enable-ld]
2989 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2990 # install ld as "ld.bfd".
2991 # --enable-gold[=default] --disable-ld
2992 # Build only gold, which is then installed as both "ld.gold" and "ld".
2993 # --enable-gold --enable-ld=default
2994 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2996 # In other words, ld is default
2997 # --enable-gold=default --enable-ld=default
3001 # Check whether --enable-gold was given.
3002 if test "${enable_gold+set}" = set; then :
3003 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3008 case "${ENABLE_GOLD}" in
3010 # Check for ELF target.
3013 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3014 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3015 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3016 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3018 *-*-linux*aout
* |
*-*-linux*oldld
*)
3026 if test "$is_elf" = "yes"; then
3027 # Check for target supported by gold.
3029 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3030 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3031 configdirs
="$configdirs gold"
3032 if test x
${ENABLE_GOLD} = xdefault
; then
3043 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3047 # Check whether --enable-ld was given.
3048 if test "${enable_ld+set}" = set; then :
3049 enableval
=$enable_ld; ENABLE_LD
=$enableval
3055 case "${ENABLE_LD}" in
3057 if test x
${default_ld} != x
; then
3058 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3064 if test x
${ENABLE_GOLD} != xyes
; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3066 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3068 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3071 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3076 # Decide the default method for compressing debug sections.
3077 # Provide a configure time option to override our default.
3078 # Check whether --enable-compressed_debug_sections was given.
3079 if test "${enable_compressed_debug_sections+set}" = set; then :
3080 enableval
=$enable_compressed_debug_sections;
3081 if test x
"$enable_compressed_debug_sections" = xyes
; then
3082 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3086 enable_compressed_debug_sections
=
3090 # Configure extra directories which are host specific
3094 configdirs
="$configdirs libtermcap" ;;
3097 # A target can indicate whether a language isn't supported for some reason.
3098 # Only spaces may be used in this macro; not newlines or tabs.
3099 unsupported_languages
=
3101 # Remove more programs from consideration, based on the host or
3102 # target this usually means that a port of the program doesn't
3106 i
[3456789]86-*-msdosdjgpp*)
3107 noconfigdirs
="$noconfigdirs tcl tk itcl"
3112 # Check whether --enable-libquadmath was given.
3113 if test "${enable_libquadmath+set}" = set; then :
3114 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3116 ENABLE_LIBQUADMATH
=yes
3119 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3120 noconfigdirs
="$noconfigdirs target-libquadmath"
3124 # Check whether --enable-libquadmath-support was given.
3125 if test "${enable_libquadmath_support+set}" = set; then :
3126 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3128 ENABLE_LIBQUADMATH_SUPPORT
=yes
3131 enable_libquadmath_support
=
3132 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3133 enable_libquadmath_support
=no
3137 # Check whether --enable-libada was given.
3138 if test "${enable_libada+set}" = set; then :
3139 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3144 if test "${ENABLE_LIBADA}" != "yes" ; then
3145 noconfigdirs
="$noconfigdirs gnattools"
3148 # Check whether --enable-libssp was given.
3149 if test "${enable_libssp+set}" = set; then :
3150 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3156 # Check whether --enable-libstdcxx was given.
3157 if test "${enable_libstdcxx+set}" = set; then :
3158 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3160 ENABLE_LIBSTDCXX
=default
3163 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3164 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3167 # If this is accelerator compiler and its target is intelmic we enable
3168 # target liboffloadmic by default. If this is compiler with offloading
3169 # for intelmic we enable host liboffloadmic by default. Otherwise
3170 # liboffloadmic is disabled by default.
3171 # Check whether --enable-liboffloadmic was given.
3172 if test "${enable_liboffloadmic+set}" = set; then :
3173 enableval
=$enable_liboffloadmic; case "$enableval" in
3175 enable_liboffloadmic
=$enableval ;;
3177 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3180 if test x
"$enable_as_accelerator_for" != x
; then
3182 *-intelmic-* |
*-intelmicemul-*)
3183 enable_liboffloadmic
=target
3184 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3187 enable_liboffloadmic
=no
3191 case "${enable_offload_targets}" in
3192 *-intelmic-* |
*-intelmicemul-*)
3193 enable_liboffloadmic
=host
3194 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3197 enable_liboffloadmic
=no
3205 # Enable libgomp by default on hosted POSIX systems, and a few others.
3206 if test x
$enable_libgomp = x
; then
3208 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3210 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3212 *-*-solaris2* |
*-*-hpux11*)
3214 *-*-darwin* |
*-*-aix*)
3219 noconfigdirs
="$noconfigdirs target-libgomp"
3224 # Disable libatomic on unsupported systems.
3225 if test -d ${srcdir}/libatomic
; then
3226 if test x
$enable_libatomic = x
; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3228 $as_echo_n "checking for libatomic support... " >&6; }
3229 if (srcdir
=${srcdir}/libatomic
; \
3230 .
${srcdir}/configure.tgt
; \
3231 test -n "$UNSUPPORTED")
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 noconfigdirs
="$noconfigdirs target-libatomic"
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3243 # Disable liboffloadmic on unsupported systems.
3244 if test -d ${srcdir}/liboffloadmic
; then
3245 if test x
$enable_liboffloadmic != xno
; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3247 $as_echo_n "checking for liboffloadmic support... " >&6; }
3248 if (srcdir
=${srcdir}/liboffloadmic
; \
3249 .
${srcdir}/configure.tgt
; \
3250 test -n "$UNSUPPORTED")
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3262 # Disable libitm on unsupported systems.
3263 if test -d ${srcdir}/libitm
; then
3264 if test x
$enable_libitm = x
; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3266 $as_echo_n "checking for libitm support... " >&6; }
3267 if (srcdir
=${srcdir}/libitm
; \
3268 .
${srcdir}/configure.tgt
; \
3269 test -n "$UNSUPPORTED")
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 noconfigdirs
="$noconfigdirs target-libitm"
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3276 $as_echo "yes" >&6; }
3281 # Disable libsanitizer on unsupported systems.
3282 if test -d ${srcdir}/libsanitizer
; then
3283 if test x
$enable_libsanitizer = x
; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3285 $as_echo_n "checking for libsanitizer support... " >&6; }
3286 if (srcdir
=${srcdir}/libsanitizer
; \
3287 .
${srcdir}/configure.tgt
; \
3288 test -n "$UNSUPPORTED")
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 noconfigdirs
="$noconfigdirs target-libsanitizer"
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3300 # Disable libvtv on unsupported systems.
3301 if test -d ${srcdir}/libvtv
; then
3302 if test x
$enable_libvtv = x
; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3304 $as_echo_n "checking for libvtv support... " >&6; }
3305 if (srcdir
=${srcdir}/libvtv
; \
3306 .
${srcdir}/configure.tgt
; \
3307 test "$VTV_SUPPORTED" != "yes")
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3311 noconfigdirs
="$noconfigdirs target-libvtv"
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3320 # Disable libhsail-rt on unsupported systems.
3321 if test -d ${srcdir}/libhsail-rt
; then
3322 if test x
$enable_libhsail_rt = x
; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3324 $as_echo_n "checking for libhsail-rt support... " >&6; }
3325 if (srcdir
=${srcdir}/libhsail-rt
; \
3326 .
${srcdir}/configure.tgt
; \
3327 test -n "$UNSUPPORTED")
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 unsupported_languages
="$unsupported_languages brig"
3332 # This implicitly disables also target-libhsail-rt as it won't
3333 # get added to the build without BRIG FE.
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3336 $as_echo "yes" >&6; }
3342 # Disable libquadmath for some systems.
3345 noconfigdirs
="$noconfigdirs target-libquadmath"
3347 # libquadmath is unused on AIX and libquadmath build process use of
3348 # LD_LIBRARY_PATH can break AIX bootstrap.
3349 powerpc-
*-aix* | rs6000-
*-aix*)
3350 noconfigdirs
="$noconfigdirs target-libquadmath"
3354 # Disable libssp for some systems.
3357 # No hosted I/O support.
3358 noconfigdirs
="$noconfigdirs target-libssp"
3360 powerpc-
*-aix* | rs6000-
*-aix*)
3361 noconfigdirs
="$noconfigdirs target-libssp"
3364 # No hosted I/O support.
3365 noconfigdirs
="$noconfigdirs target-libssp"
3368 # libssp uses a misaligned load to trigger a fault, but the RL78
3369 # doesn't fault for those - instead, it gives a build-time error
3370 # for explicit misaligned loads.
3371 noconfigdirs
="$noconfigdirs target-libssp"
3374 # No hosted I/O support.
3375 noconfigdirs
="$noconfigdirs target-libssp"
3379 # Disable libstdc++-v3 for some systems.
3380 # Allow user to override this if they pass --enable-libstdc++-v3
3381 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3384 # VxWorks uses the Dinkumware C++ library.
3385 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3388 # the C++ libraries don't build on top of CE's C libraries
3389 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3392 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3395 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3400 # Disable D on systems where it is known to not work.
3401 # For testing, you can override this with --enable-languages=d.
3402 case ,${enable_languages}, in
3408 unsupported_languages
="$unsupported_languages d"
3414 # Disable libphobos on unsupported systems.
3415 # For testing, you can override this with --enable-libphobos.
3416 if test -d ${srcdir}/libphobos
; then
3417 if test x
$enable_libphobos = x
; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3419 $as_echo_n "checking for libphobos support... " >&6; }
3420 if (srcdir
=${srcdir}/libphobos
; \
3421 .
${srcdir}/configure.tgt
; \
3422 test "$LIBPHOBOS_SUPPORTED" != "yes")
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 noconfigdirs
="$noconfigdirs target-libphobos"
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3429 $as_echo "yes" >&6; }
3434 # Disable Fortran for some systems.
3437 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3438 unsupported_languages
="$unsupported_languages fortran"
3442 # Disable libffi for some systems.
3446 i
[3456789]86-*-darwin*)
3448 x86_64-
*-darwin[912]*)
3451 noconfigdirs
="$noconfigdirs target-libffi"
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3460 noconfigdirs
="$noconfigdirs target-libffi"
3463 noconfigdirs
="$noconfigdirs target-libffi"
3466 noconfigdirs
="$noconfigdirs target-libffi"
3469 noconfigdirs
="$noconfigdirs target-libffi"
3471 aarch64
*-*-freebsd*)
3472 noconfigdirs
="$noconfigdirs target-libffi"
3475 noconfigdirs
="$noconfigdirs target-libffi"
3478 noconfigdirs
="$noconfigdirs target-libffi"
3481 noconfigdirs
="$noconfigdirs target-libffi"
3484 noconfigdirs
="$noconfigdirs target-libffi"
3486 cris-
*-* | crisv32-
*-*)
3490 *) # See PR46792 regarding target-libffi.
3491 noconfigdirs
="$noconfigdirs target-libffi";;
3495 noconfigdirs
="$noconfigdirs target-libffi"
3500 noconfigdirs
="$noconfigdirs target-libffi"
3503 noconfigdirs
="$noconfigdirs target-libffi"
3505 i
[3456789]86-w64-mingw*)
3506 noconfigdirs
="$noconfigdirs target-libffi"
3508 i
[3456789]86-*-mingw*)
3509 noconfigdirs
="$noconfigdirs target-libffi"
3512 noconfigdirs
="$noconfigdirs target-libffi"
3515 noconfigdirs
="$noconfigdirs target-libffi"
3522 noconfigdirs
="$noconfigdirs target-libffi"
3525 noconfigdirs
="$noconfigdirs target-libffi"
3529 # Disable the go frontend on systems where it is known to not work. Please keep
3530 # this in sync with contrib/config-list.mk.
3532 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3533 unsupported_languages
="$unsupported_languages go"
3537 # Disable libgo for some systems where it is known to not work.
3538 # For testing, you can easily override this with --enable-libgo.
3539 if test x
$enable_libgo = x
; then
3543 noconfigdirs
="$noconfigdirs target-libgo"
3545 *-*-cygwin* |
*-*-mingw*)
3546 noconfigdirs
="$noconfigdirs target-libgo"
3551 # Default libgloss CPU subdirectory.
3552 libgloss_dir
="$target_cpu"
3555 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3559 libgloss_dir
=aarch64
3564 cris-
*-* | crisv32-
*-*)
3573 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3574 libgloss_dir
=m68hc11
3576 m68
*-*-* | fido-
*-*)
3593 # Disable newlib and libgloss for various target OSes.
3596 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 i
[3456789]86-*-linux*)
3599 # This section makes it possible to build newlib natively on linux.
3600 # If we are using a cross compiler then don't configure newlib.
3601 if test x
${is_cross_compiler} != xno
; then
3602 noconfigdirs
="$noconfigdirs target-newlib"
3604 noconfigdirs
="$noconfigdirs target-libgloss"
3605 # If we are not using a cross compiler, do configure newlib.
3606 # Note however, that newlib will only be configured in this situation
3607 # if the --with-newlib option has been given, because otherwise
3608 # 'target-newlib' will appear in skipdirs.
3610 i
[3456789]86-*-rdos*)
3611 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3613 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3614 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3620 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3623 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3632 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3638 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3641 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3650 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3653 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3656 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3664 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3665 noconfigdirs
="$noconfigdirs sim target-rda"
3670 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3671 noconfigdirs
="$noconfigdirs sim target-rda"
3674 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3675 noconfigdirs
="$noconfigdirs sim target-rda"
3677 i
[3456789]86-*-darwin*)
3678 noconfigdirs
="$noconfigdirs ld gprof"
3679 noconfigdirs
="$noconfigdirs sim target-rda"
3681 x86_64-
*-darwin[912]*)
3682 noconfigdirs
="$noconfigdirs ld gas gprof"
3683 noconfigdirs
="$noconfigdirs sim target-rda"
3686 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3687 noconfigdirs
="$noconfigdirs sim target-rda"
3692 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3693 && test -f /usr
/local
/include
/gmp.h
; then
3698 # Remove unsupported stuff on all kaOS configurations.
3699 noconfigdirs
="$noconfigdirs target-libgloss"
3706 noconfigdirs
="$noconfigdirs target-libgloss"
3709 noconfigdirs
="$noconfigdirs target-libgloss"
3711 # The tpf target doesn't support gdb yet.
3713 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3716 noconfigdirs
="$noconfigdirs target-rda"
3721 # ld works, but does not support shared libraries.
3722 # gas doesn't generate exception information.
3723 noconfigdirs
="$noconfigdirs gas ld"
3726 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3729 # newlib is not 64 bit ready
3730 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3732 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3733 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3736 noconfigdirs
="$noconfigdirs sim"
3739 noconfigdirs
="$noconfigdirs target-libgloss"
3742 noconfigdirs
="$noconfigdirs ld target-libgloss"
3745 if test x
${with_avrlibc} != xno
; then
3746 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3749 c4x-
*-* | tic4x-
*-*)
3750 noconfigdirs
="$noconfigdirs target-libgloss"
3753 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3756 noconfigdirs
="$noconfigdirs target-libgloss"
3759 noconfigdirs
="$noconfigdirs gdb"
3762 noconfigdirs
="$noconfigdirs gdb"
3765 noconfigdirs
="$noconfigdirs target-rda gprof"
3768 noconfigdirs
="$noconfigdirs"
3771 noconfigdirs
="$noconfigdirs target-libgloss"
3774 noconfigdirs
="$noconfigdirs target-libgloss"
3776 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3779 noconfigdirs
="$noconfigdirs gdb"
3782 noconfigdirs
="$noconfigdirs gdb ld"
3790 hppa
*-*-openbsd* | \
3796 noconfigdirs
="$noconfigdirs ld"
3799 noconfigdirs
="$noconfigdirs gdb"
3802 # No gdb support yet.
3803 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3806 # No ld support yet.
3807 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3810 # No ld support yet.
3811 noconfigdirs
="$noconfigdirs libgui itcl ld"
3813 i
[3456789]86-w64-mingw*)
3815 i
[3456789]86-*-mingw*)
3816 target_configdirs
="$target_configdirs target-winsup"
3819 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3820 noconfigdirs
="$noconfigdirs target-libgloss"
3821 # always build newlib if winsup directory is present.
3822 if test -d "$srcdir/winsup/cygwin"; then
3823 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3824 elif test -d "$srcdir/newlib"; then
3825 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3829 noconfigdirs
="$noconfigdirs target-libgloss"
3831 i
[3456789]86-*-sco3.2v5
*)
3832 # The linker does not yet know about weak symbols in COFF,
3833 # and is not configured to handle mixed ELF and COFF.
3834 noconfigdirs
="$noconfigdirs ld target-libgloss"
3836 i
[3456789]86-*-sco*)
3837 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3839 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3840 noconfigdirs
="$noconfigdirs target-libgloss"
3842 i
[3456789]86-*-sysv4*)
3843 noconfigdirs
="$noconfigdirs target-libgloss"
3845 i
[3456789]86-*-beos*)
3846 noconfigdirs
="$noconfigdirs gdb"
3848 i
[3456789]86-*-rdos*)
3849 noconfigdirs
="$noconfigdirs gdb"
3852 noconfigdirs
="$noconfigdirs gdb"
3855 noconfigdirs
="$noconfigdirs sim"
3858 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3859 noconfigdirs
="$noconfigdirs $target_libraries"
3862 # copied from rs6000-*-* entry
3863 noconfigdirs
="$noconfigdirs gprof"
3865 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3866 target_configdirs
="$target_configdirs target-winsup"
3867 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3868 # always build newlib.
3869 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3871 # This is temporary until we can link against shared libraries
3872 powerpcle-
*-solaris*)
3873 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3876 noconfigdirs
="$noconfigdirs gdb"
3879 noconfigdirs
="$noconfigdirs gprof"
3882 noconfigdirs
="$noconfigdirs gprof"
3885 noconfigdirs
="$noconfigdirs gprof"
3888 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3891 noconfigdirs
="$noconfigdirs gprof"
3893 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3894 if test x
$with_newlib = xyes
; then
3895 noconfigdirs
="$noconfigdirs gprof"
3899 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3902 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3905 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3909 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3910 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3911 noconfigdirs
="$noconfigdirs ld gas gprof"
3914 noconfigdirs
="$noconfigdirs gprof"
3917 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3924 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3928 if test x
${is_cross_compiler} = xno
; then
3933 noconfigdirs
="$noconfigdirs sim"
3935 tilepro
*-*-* | tilegx
*-*-*)
3936 noconfigdirs
="$noconfigdirs sim"
3939 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3942 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3945 noconfigdirs
="$noconfigdirs ld"
3949 # If we aren't building newlib, then don't build libgloss, since libgloss
3950 # depends upon some newlib header files.
3951 case "${noconfigdirs}" in
3952 *target-libgloss
*) ;;
3953 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3956 # Work in distributions that contain no compiler tools, like Autoconf.
3957 host_makefile_frag
=/dev
/null
3958 if test -d ${srcdir}/config
; then
3960 i
[3456789]86-*-msdosdjgpp*)
3961 host_makefile_frag
="config/mh-djgpp"
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3966 $as_echo_n "checking to see if cat works as expected... " >&6; }
3967 echo a
>cygwin-cat-check
3968 if test `cat cygwin-cat-check` = a
; then
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3971 $as_echo "yes" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3976 as_fn_error $?
"The cat command does not ignore carriage return characters.
3977 Please either mount the build directory in binary mode or run the following
3978 commands before running any configure script:
3984 host_makefile_frag
="config/mh-cygwin"
3987 host_makefile_frag
="config/mh-mingw"
3990 host_makefile_frag
="config/mh-alpha-linux"
3993 host_makefile_frag
="config/mh-pa-hpux10"
3996 host_makefile_frag
="config/mh-pa"
3999 host_makefile_frag
="config/mh-pa"
4002 host_makefile_frag
="config/mh-darwin"
4005 host_makefile_frag
="config/mh-ppc-aix"
4008 host_makefile_frag
="config/mh-ppc-aix"
4013 if test "${build}" != "${host}" ; then
4014 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4015 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4016 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4017 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4018 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4019 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4020 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4021 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4022 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4023 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4024 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4025 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4026 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4028 AR_FOR_BUILD
="\$(AR)"
4029 AS_FOR_BUILD
="\$(AS)"
4030 CC_FOR_BUILD
="\$(CC)"
4031 CXX_FOR_BUILD
="\$(CXX)"
4032 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4033 GOC_FOR_BUILD
="\$(GOC)"
4034 GDC_FOR_BUILD
="\$(GDC)"
4035 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4036 LD_FOR_BUILD
="\$(LD)"
4037 NM_FOR_BUILD
="\$(NM)"
4038 RANLIB_FOR_BUILD
="\$(RANLIB)"
4039 WINDRES_FOR_BUILD
="\$(WINDRES)"
4040 WINDMC_FOR_BUILD
="\$(WINDMC)"
4044 ac_cpp
='$CPP $CPPFLAGS'
4045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4048 if test -n "$ac_tool_prefix"; then
4049 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4050 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4052 $as_echo_n "checking for $ac_word... " >&6; }
4053 if ${ac_cv_prog_CC+:} false
; then :
4054 $as_echo_n "(cached) " >&6
4056 if test -n "$CC"; then
4057 ac_cv_prog_CC
="$CC" # Let the user override the test.
4059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir
=.
4064 for ac_exec_ext
in '' $ac_executable_extensions; do
4065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4066 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077 if test -n "$CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4087 if test -z "$ac_cv_prog_CC"; then
4089 # Extract the first word of "gcc", so it can be a program name with args.
4090 set dummy gcc
; ac_word
=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$ac_ct_CC"; then
4097 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_prog_ac_ct_CC
="gcc"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4117 if test -n "$ac_ct_CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4119 $as_echo "$ac_ct_CC" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4125 if test "x$ac_ct_CC" = x
; then
4128 case $cross_compiling:$ac_tool_warned in
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4132 ac_tool_warned
=yes ;;
4140 if test -z "$CC"; then
4141 if test -n "$ac_tool_prefix"; then
4142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4143 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4145 $as_echo_n "checking for $ac_word... " >&6; }
4146 if ${ac_cv_prog_CC+:} false
; then :
4147 $as_echo_n "(cached) " >&6
4149 if test -n "$CC"; then
4150 ac_cv_prog_CC
="$CC" # Let the user override the test.
4152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir
=.
4157 for ac_exec_ext
in '' $ac_executable_extensions; do
4158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4159 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 if test -n "$CC"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4172 $as_echo "$CC" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4181 if test -z "$CC"; then
4182 # Extract the first word of "cc", so it can be a program name with args.
4183 set dummy cc
; ac_word
=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if ${ac_cv_prog_CC+:} false
; then :
4187 $as_echo_n "(cached) " >&6
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC
="$CC" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4201 ac_prog_rejected
=yes
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 if test $ac_prog_rejected = yes; then
4213 # We found a bogon in the path, so make sure we never use it.
4214 set dummy
$ac_cv_prog_CC
4216 if test $# != 0; then
4217 # We chose a different compiler from the bogus one.
4218 # However, it has the same basename, so the bogon will be chosen
4219 # first if we set CC to just the basename; use the full file name.
4221 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4227 if test -n "$CC"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4229 $as_echo "$CC" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4237 if test -z "$CC"; then
4238 if test -n "$ac_tool_prefix"; then
4239 for ac_prog
in cl.exe
4241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4242 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4244 $as_echo_n "checking for $ac_word... " >&6; }
4245 if ${ac_cv_prog_CC+:} false
; then :
4246 $as_echo_n "(cached) " >&6
4248 if test -n "$CC"; then
4249 ac_cv_prog_CC
="$CC" # Let the user override the test.
4251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir
=.
4256 for ac_exec_ext
in '' $ac_executable_extensions; do
4257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4258 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 if test -n "$CC"; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4271 $as_echo "$CC" >&6; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274 $as_echo "no" >&6; }
4278 test -n "$CC" && break
4281 if test -z "$CC"; then
4283 for ac_prog
in cl.exe
4285 # Extract the first word of "$ac_prog", so it can be a program name with args.
4286 set dummy
$ac_prog; ac_word
=$2
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4290 $as_echo_n "(cached) " >&6
4292 if test -n "$ac_ct_CC"; then
4293 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4302 ac_cv_prog_ac_ct_CC
="$ac_prog"
4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4313 if test -n "$ac_ct_CC"; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4315 $as_echo "$ac_ct_CC" >&6; }
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4318 $as_echo "no" >&6; }
4322 test -n "$ac_ct_CC" && break
4325 if test "x$ac_ct_CC" = x
; then
4328 case $cross_compiling:$ac_tool_warned in
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4332 ac_tool_warned
=yes ;;
4341 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4343 as_fn_error $?
"no acceptable C compiler found in \$PATH
4344 See \`config.log' for more details" "$LINENO" 5; }
4346 # Provide some information about the compiler.
4347 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4350 for ac_option
in --version -v -V -qversion; do
4351 { { ac_try
="$ac_compiler $ac_option >&5"
4353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 $as_echo "$ac_try_echo"; } >&5
4358 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4360 if test -s conftest.err; then
4362 ... rest of stderr output deleted ...
4363 10q' conftest.err >conftest.er1
4364 cat conftest.er1 >&5
4366 rm -f conftest.er1 conftest.err
4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4368 test $ac_status = 0; }
4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4382 ac_clean_files_save=$ac_clean_files
4383 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4384 # Try to create an executable without -o first, disregard a.out.
4385 # It will help us diagnose broken compilers, and finding out an intuition
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4388 $as_echo_n "checking whether the C compiler works... " >&6; }
4389 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4391 # The possible output files:
4392 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4395 for ac_file in $ac_files
4398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4399 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4404 if { { ac_try="$ac_link_default"
4406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4407 *) ac_try_echo
=$ac_try;;
4409 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_link_default") 2>&5
4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4414 test $ac_status = 0; }; then :
4415 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4416 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4417 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4418 # so that the user can short-circuit this test for compilers unknown to
4420 for ac_file
in $ac_files ''
4422 test -f "$ac_file" ||
continue
4424 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4427 # We found the default executable, but exeext='' is most
4431 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4433 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4435 # We set ac_cv_exeext here because the later test for it is not
4436 # safe: cross compilers may not add the suffix if given an `-o'
4437 # argument, so we may need to know it at that point already.
4438 # Even if this section looks crufty: it has the advantage of
4445 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4450 if test -z "$ac_file"; then :
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4453 $as_echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.
$ac_ext >&5
4456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4458 as_fn_error
77 "C compiler cannot create executables
4459 See \`config.log' for more details" "$LINENO" 5; }
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4462 $as_echo "yes" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4465 $as_echo_n "checking for C compiler default output file name... " >&6; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4467 $as_echo "$ac_file" >&6; }
4468 ac_exeext
=$ac_cv_exeext
4470 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4471 ac_clean_files
=$ac_clean_files_save
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4473 $as_echo_n "checking for suffix of executables... " >&6; }
4474 if { { ac_try
="$ac_link"
4476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4480 $as_echo "$ac_try_echo"; } >&5
4481 (eval "$ac_link") 2>&5
4483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4484 test $ac_status = 0; }; then :
4485 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4486 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4487 # work properly (i.e., refer to `conftest.exe'), while it won't with
4489 for ac_file
in conftest.exe conftest conftest.
*; do
4490 test -f "$ac_file" ||
continue
4492 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4493 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4501 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4502 See \`config.log' for more details" "$LINENO" 5; }
4504 rm -f conftest conftest
$ac_cv_exeext
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4506 $as_echo "$ac_cv_exeext" >&6; }
4508 rm -f conftest.
$ac_ext
4509 EXEEXT
=$ac_cv_exeext
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4517 FILE *f = fopen ("conftest.out", "w");
4518 return ferror (f) || fclose (f) != 0;
4524 ac_clean_files
="$ac_clean_files conftest.out"
4525 # Check that the compiler produces executables we can run. If not, either
4526 # the compiler is broken, or we cross compile.
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4528 $as_echo_n "checking whether we are cross compiling... " >&6; }
4529 if test "$cross_compiling" != yes; then
4530 { { ac_try
="$ac_link"
4532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536 $as_echo "$ac_try_echo"; } >&5
4537 (eval "$ac_link") 2>&5
4539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540 test $ac_status = 0; }
4541 if { ac_try='./conftest$ac_cv_exeext'
4542 { { case "(($ac_try" in
4543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4544 *) ac_try_echo
=$ac_try;;
4546 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4547 $as_echo "$ac_try_echo"; } >&5
4548 (eval "$ac_try") 2>&5
4550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4551 test $ac_status = 0; }; }; then
4554 if test "$cross_compiling" = maybe
; then
4557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4559 as_fn_error $?
"cannot run C compiled programs.
4560 If you meant to cross compile, use \`--host'.
4561 See \`config.log' for more details" "$LINENO" 5; }
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4566 $as_echo "$cross_compiling" >&6; }
4568 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4569 ac_clean_files
=$ac_clean_files_save
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4571 $as_echo_n "checking for suffix of object files... " >&6; }
4572 if ${ac_cv_objext+:} false
; then :
4573 $as_echo_n "(cached) " >&6
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4586 rm -f conftest.o conftest.obj
4587 if { { ac_try
="$ac_compile"
4589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
4592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4593 $as_echo "$ac_try_echo"; } >&5
4594 (eval "$ac_compile") 2>&5
4596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4597 test $ac_status = 0; }; then :
4598 for ac_file in conftest.o conftest.obj conftest.*; do
4599 test -f "$ac_file" || continue;
4601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4607 $as_echo "$as_me: failed program was:" >&5
4608 sed 's/^/| /' conftest.$ac_ext >&5
4610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4612 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4613 See \
`config.log' for more details" "$LINENO" 5; }
4615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4618 $as_echo "$ac_cv_objext" >&6; }
4619 OBJEXT=$ac_cv_objext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4623 if ${ac_cv_c_compiler_gnu+:} false; then :
4624 $as_echo_n "(cached) " >&6
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4640 if ac_fn_c_try_compile "$LINENO"; then :
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4651 if test $ac_compiler_gnu = yes; then
4656 ac_test_CFLAGS=${CFLAGS+set}
4657 ac_save_CFLAGS=$CFLAGS
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4659 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4660 if ${ac_cv_prog_cc_g+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 ac_save_c_werror_flag=$ac_c_werror_flag
4664 ac_c_werror_flag=yes
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 if ac_fn_c_try_compile "$LINENO"; then :
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4693 if ac_fn_c_try_compile "$LINENO"; then :
4696 ac_c_werror_flag=$ac_save_c_werror_flag
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4709 if ac_fn_c_try_compile "$LINENO"; then :
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4717 ac_c_werror_flag=$ac_save_c_werror_flag
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4720 $as_echo "$ac_cv_prog_cc_g" >&6; }
4721 if test "$ac_test_CFLAGS" = set; then
4722 CFLAGS=$ac_save_CFLAGS
4723 elif test $ac_cv_prog_cc_g = yes; then
4724 if test "$GCC" = yes; then
4730 if test "$GCC" = yes; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4737 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4738 if ${ac_cv_prog_cc_c89+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 ac_cv_prog_cc_c89=no
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4749 struct buf { int x; };
4750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4751 static char *e (p, i)
4757 static char *f (char * (*g) (char **, int), char **p, ...)
4762 s = g (p, va_arg (v,int));
4767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4768 function prototypes and stuff, but not '\xHH' hex character constants.
4769 These don't provoke an error unfortunately, instead are silently treated
4770 as 'x'. The following induces an error, until -std is added to get
4771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4772 array size at least. It's necessary to write '\x00'==0 to get something
4773 that's true only with -std. */
4774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4777 inside strings and character constants. */
4779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4781 int test (int i, double x);
4782 struct s1 {int (*f) (int a);};
4783 struct s2 {int (*f) (double a);};
4784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4798 CC="$ac_save_CC $ac_arg"
4799 if ac_fn_c_try_compile "$LINENO"; then :
4800 ac_cv_prog_cc_c89=$ac_arg
4802 rm -f core conftest.err conftest.$ac_objext
4803 test "x$ac_cv_prog_cc_c89" != "xno" && break
4805 rm -f conftest.$ac_ext
4810 case "x$ac_cv_prog_cc_c89" in
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4813 $as_echo "none needed" >&6; } ;;
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4816 $as_echo "unsupported" >&6; } ;;
4818 CC="$CC $ac_cv_prog_cc_c89"
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4822 if test "x$ac_cv_prog_cc_c89" != xno; then :
4827 ac_cpp='$CPP $CPPFLAGS'
4828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4833 ac_cpp='$CXXCPP $CPPFLAGS'
4834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4837 if test -z "$CXX"; then
4838 if test -n "$CCC"; then
4841 if test -n "$ac_tool_prefix"; then
4842 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4844 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4845 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_prog_CXX+:} false; then :
4849 $as_echo_n "(cached) " >&6
4851 if test -n "$CXX"; then
4852 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 test -z "$as_dir" && as_dir=.
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 if test -n "$CXX"; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4874 $as_echo "$CXX" >&6; }
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4881 test -n "$CXX" && break
4884 if test -z "$CXX"; then
4886 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4888 # Extract the first word of "$ac_prog", so it can be a program name with args.
4889 set dummy $ac_prog; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4893 $as_echo_n "(cached) " >&6
4895 if test -n "$ac_ct_CXX"; then
4896 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_CXX="$ac_prog"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4916 if test -n "$ac_ct_CXX"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4918 $as_echo "$ac_ct_CXX" >&6; }
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4925 test -n "$ac_ct_CXX" && break
4928 if test "x$ac_ct_CXX" = x; then
4931 case $cross_compiling:$ac_tool_warned in
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned=yes ;;
4943 # Provide some information about the compiler.
4944 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4947 for ac_option in --version -v -V -qversion; do
4948 { { ac_try="$ac_compiler $ac_option >&5"
4950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4951 *) ac_try_echo
=$ac_try;;
4953 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4954 $as_echo "$ac_try_echo"; } >&5
4955 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4957 if test -s conftest.err
; then
4959 ... rest of stderr output deleted ...
4960 10q' conftest.err
>conftest.er1
4961 cat conftest.er1
>&5
4963 rm -f conftest.er1 conftest.err
4964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4965 test $ac_status = 0; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4969 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4970 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4987 if ac_fn_cxx_try_compile
"$LINENO"; then :
4992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4993 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4997 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4998 if test $ac_compiler_gnu = yes; then
5003 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5004 ac_save_CXXFLAGS
=$CXXFLAGS
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5006 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5007 if ${ac_cv_prog_cxx_g+:} false
; then :
5008 $as_echo_n "(cached) " >&6
5010 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5011 ac_cxx_werror_flag
=yes
5014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5025 if ac_fn_cxx_try_compile
"$LINENO"; then :
5026 ac_cv_prog_cxx_g
=yes
5029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5040 if ac_fn_cxx_try_compile
"$LINENO"; then :
5043 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5056 if ac_fn_cxx_try_compile
"$LINENO"; then :
5057 ac_cv_prog_cxx_g
=yes
5059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5064 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5067 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5068 if test "$ac_test_CXXFLAGS" = set; then
5069 CXXFLAGS
=$ac_save_CXXFLAGS
5070 elif test $ac_cv_prog_cxx_g = yes; then
5071 if test "$GXX" = yes; then
5077 if test "$GXX" = yes; then
5084 ac_cpp
='$CPP $CPPFLAGS'
5085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5090 # We must set the default linker to the linker used by gcc for the correct
5091 # operation of libtool. If LD is not defined and we are using gcc, try to
5092 # set the LD default to the ld used by gcc.
5093 if test -z "$LD"; then
5094 if test "$GCC" = yes; then
5097 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5099 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5101 case $gcc_prog_ld in
5102 # Accept absolute paths.
5103 [\\/]* |
[A-Za-z
]:[\\/]*)
5104 LD
="$gcc_prog_ld" ;;
5109 # Check whether -static-libstdc++ -static-libgcc is supported.
5111 if test "$GCC" = yes; then
5112 saved_LDFLAGS
="$LDFLAGS"
5114 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5116 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5118 ac_cpp
='$CXXCPP $CPPFLAGS'
5119 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5120 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5121 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5127 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5128 #error -static-libstdc++ not implemented
5132 if ac_fn_cxx_try_link
"$LINENO"; then :
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5134 $as_echo "yes" >&6; }; have_static_libs
=yes
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5139 rm -f core conftest.err conftest.
$ac_objext \
5140 conftest
$ac_exeext conftest.
$ac_ext
5142 ac_cpp
='$CPP $CPPFLAGS'
5143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5148 LDFLAGS
="$saved_LDFLAGS"
5154 if test -n "$ac_tool_prefix"; then
5155 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5156 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_GNATBIND+:} false
; then :
5160 $as_echo_n "(cached) " >&6
5162 if test -n "$GNATBIND"; then
5163 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir
=.
5170 for ac_exec_ext
in '' $ac_executable_extensions; do
5171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 GNATBIND
=$ac_cv_prog_GNATBIND
5183 if test -n "$GNATBIND"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5185 $as_echo "$GNATBIND" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5193 if test -z "$ac_cv_prog_GNATBIND"; then
5194 ac_ct_GNATBIND
=$GNATBIND
5195 # Extract the first word of "gnatbind", so it can be a program name with args.
5196 set dummy gnatbind
; ac_word
=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5200 $as_echo_n "(cached) " >&6
5202 if test -n "$ac_ct_GNATBIND"; then
5203 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir
=.
5210 for ac_exec_ext
in '' $ac_executable_extensions; do
5211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5223 if test -n "$ac_ct_GNATBIND"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5225 $as_echo "$ac_ct_GNATBIND" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5231 if test "x$ac_ct_GNATBIND" = x
; then
5234 case $cross_compiling:$ac_tool_warned in
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5238 ac_tool_warned
=yes ;;
5240 GNATBIND
=$ac_ct_GNATBIND
5243 GNATBIND
="$ac_cv_prog_GNATBIND"
5246 if test -n "$ac_tool_prefix"; then
5247 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5248 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$GNATMAKE"; then
5255 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 GNATMAKE
=$ac_cv_prog_GNATMAKE
5275 if test -n "$GNATMAKE"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5277 $as_echo "$GNATMAKE" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5285 if test -z "$ac_cv_prog_GNATMAKE"; then
5286 ac_ct_GNATMAKE
=$GNATMAKE
5287 # Extract the first word of "gnatmake", so it can be a program name with args.
5288 set dummy gnatmake
; ac_word
=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -n "$ac_ct_GNATMAKE"; then
5295 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5315 if test -n "$ac_ct_GNATMAKE"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5317 $as_echo "$ac_ct_GNATMAKE" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5323 if test "x$ac_ct_GNATMAKE" = x
; then
5326 case $cross_compiling:$ac_tool_warned in
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5330 ac_tool_warned
=yes ;;
5332 GNATMAKE
=$ac_ct_GNATMAKE
5335 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5339 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5340 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5341 $as_echo_n "(cached) " >&6
5343 cat >conftest.adb
<<EOF
5344 procedure conftest is begin null; end conftest;
5346 acx_cv_cc_gcc_supports_ada
=no
5347 # There is a bug in old released versions of GCC which causes the
5348 # driver to exit successfully when the appropriate language module
5349 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5350 # Therefore we must check for the error message as well as an
5351 # unsuccessful exit.
5352 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5353 # given a .adb file, but produce no object file. So we must check
5354 # if an object file was really produced to guard against this.
5355 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5356 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5357 acx_cv_cc_gcc_supports_ada
=yes
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5362 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5364 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5371 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5372 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5377 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5378 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5379 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5382 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5385 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5386 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5389 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5396 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5397 do_compare
="$gcc_cv_prog_cmp_skip"
5401 # Check whether --enable-bootstrap was given.
5402 if test "${enable_bootstrap+set}" = set; then :
5403 enableval
=$enable_bootstrap;
5405 enable_bootstrap
=default
5409 # Issue errors and warnings for invalid/strange bootstrap combinations.
5410 if test -r $srcdir/gcc
/configure
; then
5416 case "$have_compiler:$host:$target:$enable_bootstrap" in
5419 # Default behavior. Enable bootstrap if we have a compiler
5420 # and we are in a native configuration.
5421 yes:$build:$build:default
)
5422 enable_bootstrap
=yes ;;
5425 enable_bootstrap
=no
;;
5427 # We have a compiler and we are in a native configuration, bootstrap is ok
5428 yes:$build:$build:yes)
5431 # Other configurations, but we have a compiler. Assume the user knows
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5435 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5438 # No compiler: if they passed --enable-bootstrap explicitly, fail
5440 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5442 # Fail if wrong command line
5444 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5448 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5449 # C++98 compiler can still start the bootstrap.
5450 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5451 CXX
="$CXX -std=gnu++98"
5454 # Used for setting $lt_cv_objdir
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5456 $as_echo_n "checking for objdir... " >&6; }
5457 if ${lt_cv_objdir+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 rm -f .libs
2>/dev
/null
5461 mkdir .libs
2>/dev
/null
5462 if test -d .libs
; then
5465 # MS-DOS does not allow filenames that begin with a dot.
5468 rmdir .libs
2>/dev
/null
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5471 $as_echo "$lt_cv_objdir" >&6; }
5472 objdir
=$lt_cv_objdir
5478 cat >>confdefs.h
<<_ACEOF
5479 #define LT_OBJDIR "$lt_cv_objdir/"
5484 # Check for GMP, MPFR and MPC
5485 gmplibs
="-lmpc -lmpfr -lgmp"
5489 # Specify a location for mpc
5490 # check for this first so it ends up on the link line before mpfr.
5492 # Check whether --with-mpc was given.
5493 if test "${with_mpc+set}" = set; then :
5498 # Check whether --with-mpc-include was given.
5499 if test "${with_mpc_include+set}" = set; then :
5500 withval
=$with_mpc_include;
5504 # Check whether --with-mpc-lib was given.
5505 if test "${with_mpc_lib+set}" = set; then :
5506 withval
=$with_mpc_lib;
5510 if test "x$with_mpc" != x
; then
5511 gmplibs
="-L$with_mpc/lib $gmplibs"
5512 gmpinc
="-I$with_mpc/include $gmpinc"
5514 if test "x$with_mpc_include" != x
; then
5515 gmpinc
="-I$with_mpc_include $gmpinc"
5517 if test "x$with_mpc_lib" != x
; then
5518 gmplibs
="-L$with_mpc_lib $gmplibs"
5520 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5521 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5522 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5523 # Do not test the mpc version. Assume that it is sufficient, since
5524 # it is in the source tree, and the library has not been built yet
5525 # but it would be included on the link line in the version check below
5526 # hence making the test fail.
5530 # Specify a location for mpfr
5531 # check for this first so it ends up on the link line before gmp.
5533 # Check whether --with-mpfr-dir was given.
5534 if test "${with_mpfr_dir+set}" = set; then :
5535 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5536 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5541 # Check whether --with-mpfr was given.
5542 if test "${with_mpfr+set}" = set; then :
5547 # Check whether --with-mpfr-include was given.
5548 if test "${with_mpfr_include+set}" = set; then :
5549 withval
=$with_mpfr_include;
5553 # Check whether --with-mpfr-lib was given.
5554 if test "${with_mpfr_lib+set}" = set; then :
5555 withval
=$with_mpfr_lib;
5559 if test "x$with_mpfr" != x
; then
5560 gmplibs
="-L$with_mpfr/lib $gmplibs"
5561 gmpinc
="-I$with_mpfr/include $gmpinc"
5563 if test "x$with_mpfr_include" != x
; then
5564 gmpinc
="-I$with_mpfr_include $gmpinc"
5566 if test "x$with_mpfr_lib" != x
; then
5567 gmplibs
="-L$with_mpfr_lib $gmplibs"
5569 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5570 # MPFR v3.1.0 moved the sources into a src sub-directory.
5571 if ! test -d ${srcdir}/mpfr
/src
; then
5572 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5574 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5575 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5576 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5577 # Do not test the mpfr version. Assume that it is sufficient, since
5578 # it is in the source tree, and the library has not been built yet
5579 # but it would be included on the link line in the version check below
5580 # hence making the test fail.
5584 # Specify a location for gmp
5586 # Check whether --with-gmp-dir was given.
5587 if test "${with_gmp_dir+set}" = set; then :
5588 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5589 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5594 # Check whether --with-gmp was given.
5595 if test "${with_gmp+set}" = set; then :
5600 # Check whether --with-gmp-include was given.
5601 if test "${with_gmp_include+set}" = set; then :
5602 withval
=$with_gmp_include;
5606 # Check whether --with-gmp-lib was given.
5607 if test "${with_gmp_lib+set}" = set; then :
5608 withval
=$with_gmp_lib;
5613 if test "x$with_gmp" != x
; then
5614 gmplibs
="-L$with_gmp/lib $gmplibs"
5615 gmpinc
="-I$with_gmp/include $gmpinc"
5617 if test "x$with_gmp_include" != x
; then
5618 gmpinc
="-I$with_gmp_include $gmpinc"
5620 if test "x$with_gmp_lib" != x
; then
5621 gmplibs
="-L$with_gmp_lib $gmplibs"
5623 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5624 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5625 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5626 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5627 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5628 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5629 # Do not test the gmp version. Assume that it is sufficient, since
5630 # it is in the source tree, and the library has not been built yet
5631 # but it would be included on the link line in the version check below
5632 # hence making the test fail.
5636 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5638 saved_CFLAGS
="$CFLAGS"
5639 CFLAGS
="$CFLAGS $gmpinc"
5640 # Check for the recommended and required versions of GMP.
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5642 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5651 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5652 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5653 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5661 if ac_fn_c_try_compile
"$LINENO"; then :
5662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5669 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5670 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5671 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5679 if ac_fn_c_try_compile
"$LINENO"; then :
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5681 $as_echo "yes" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5684 $as_echo "buggy but acceptable" >&6; }
5686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }; have_gmp
=no
5691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5693 # If we have GMP, check the MPFR version.
5694 if test x
"$have_gmp" = xyes
; then
5695 # Check for the recommended and required versions of MPFR.
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5697 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5706 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5714 if ac_fn_c_try_compile
"$LINENO"; then :
5715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5723 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5731 if ac_fn_c_try_compile
"$LINENO"; then :
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5733 $as_echo "yes" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5736 $as_echo "buggy but acceptable" >&6; }
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }; have_gmp
=no
5743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5746 # Check for the MPC header version.
5747 if test x
"$have_gmp" = xyes
; then
5748 # Check for the recommended and required versions of MPC.
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5750 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5752 /* end confdefs.h. */
5758 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5766 if ac_fn_c_try_compile
"$LINENO"; then :
5767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5774 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5782 if ac_fn_c_try_compile
"$LINENO"; then :
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5784 $as_echo "yes" >&6; }
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5787 $as_echo "buggy but acceptable" >&6; }
5789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }; have_gmp
=no
5794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5797 # Now check the MPFR library.
5798 if test x
"$have_gmp" = xyes
; then
5800 LIBS
="$LIBS $gmplibs"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5802 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5816 mpfr_atan2 (n, n, x, GMP_RNDN);
5817 mpfr_erfc (n, x, GMP_RNDN);
5818 mpfr_subnormalize (x, t, GMP_RNDN);
5822 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5823 mpc_cosh (c, c, MPC_RNDNN);
5824 mpc_pow (c, c, c, MPC_RNDNN);
5825 mpc_acosh (c, c, MPC_RNDNN);
5832 if ac_fn_c_try_link
"$LINENO"; then :
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5834 $as_echo "yes" >&6; }
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }; have_gmp
=no
5839 rm -f core conftest.err conftest.
$ac_objext \
5840 conftest
$ac_exeext conftest.
$ac_ext
5844 CFLAGS
="$saved_CFLAGS"
5846 # The library versions listed in the error message below should match
5847 # the HARD-minimums enforced above.
5848 if test x
$have_gmp != xyes
; then
5849 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5850 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5851 their locations. Source code for these libraries can be found at
5852 their respective hosting sites as well as at
5853 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5854 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5855 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5856 make sure that you have installed both the libraries and the header
5857 files. They may be located in separate packages." "$LINENO" 5
5861 # Flags needed for both GMP, MPFR and/or MPC.
5869 # Libraries to use for stage1 or when not bootstrapping.
5871 # Check whether --with-stage1-libs was given.
5872 if test "${with_stage1_libs+set}" = set; then :
5873 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5876 stage1_libs
=$withval
5884 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5885 # default is yes if gcc is being built; no otherwise. The reason for
5886 # this default is that gdb is sometimes linked against GNU Source
5887 # Highlight, which is a shared library that uses C++ exceptions. In
5888 # this case, -static-libstdc++ will cause crashes.
5890 # Check whether --with-static-standard-libraries was given.
5891 if test "${with_static_standard_libraries+set}" = set; then :
5892 withval
=$with_static_standard_libraries;
5894 with_static_standard_libraries
=auto
5897 if test "$with_static_standard_libraries" = auto
; then
5898 with_static_standard_libraries
=$have_compiler
5901 # Linker flags to use for stage1 or when not bootstrapping.
5903 # Check whether --with-stage1-ldflags was given.
5904 if test "${with_stage1_ldflags+set}" = set; then :
5905 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5908 stage1_ldflags
=$withval
5912 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5913 # if supported. But if the user explicitly specified the libraries to use,
5914 # trust that they are doing what they want.
5915 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5916 -a "$have_static_libs" = yes; then
5917 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5923 # Libraries to use for stage2 and later builds.
5925 # Check whether --with-boot-libs was given.
5926 if test "${with_boot_libs+set}" = set; then :
5927 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5930 poststage1_libs
=$withval
5938 # Linker flags to use for stage2 and later builds.
5940 # Check whether --with-boot-ldflags was given.
5941 if test "${with_boot_ldflags+set}" = set; then :
5942 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5945 poststage1_ldflags
=$withval
5949 # In stages 2 and 3, default to linking libstdc++ and libgcc
5950 # statically. But if the user explicitly specified the libraries to
5951 # use, trust that they are doing what they want.
5952 if test "$poststage1_libs" = ""; then
5953 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5959 # GCC GRAPHITE dependency isl.
5960 # Basic setup is inlined here, actual checks are in config/isl.m4
5963 # Check whether --with-isl was given.
5964 if test "${with_isl+set}" = set; then :
5969 # Treat --without-isl as a request to disable
5970 # GRAPHITE support and skip all following checks.
5971 if test "x$with_isl" != "xno"; then
5975 # Check whether --with-isl-include was given.
5976 if test "${with_isl_include+set}" = set; then :
5977 withval
=$with_isl_include;
5981 # Check whether --with-isl-lib was given.
5982 if test "${with_isl_lib+set}" = set; then :
5983 withval
=$with_isl_lib;
5987 # Check whether --enable-isl-version-check was given.
5988 if test "${enable_isl_version_check+set}" = set; then :
5989 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5991 ENABLE_ISL_CHECK
=yes
5995 # Initialize isllibs and islinc.
6004 isllibs
="-L$with_isl/lib"
6005 islinc
="-I$with_isl/include"
6008 if test "x${with_isl_include}" != x
; then
6009 islinc
="-I$with_isl_include"
6011 if test "x${with_isl_lib}" != x
; then
6012 isllibs
="-L$with_isl_lib"
6014 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6015 && test -d ${srcdir}/isl
; then
6016 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6017 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6020 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6023 isllibs
="${isllibs} -lisl"
6027 if test "${ENABLE_ISL_CHECK}" = yes ; then
6028 _isl_saved_CFLAGS
=$CFLAGS
6029 _isl_saved_LDFLAGS
=$LDFLAGS
6030 _isl_saved_LIBS
=$LIBS
6032 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6033 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6034 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6037 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6039 /* end confdefs.h. */
6040 #include <isl/schedule.h>
6044 isl_options_set_schedule_serialize_sccs (NULL, 0);
6049 if ac_fn_c_try_link
"$LINENO"; then :
6054 rm -f core conftest.err conftest.
$ac_objext \
6055 conftest
$ac_exeext conftest.
$ac_ext
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6057 $as_echo "$gcc_cv_isl" >&6; }
6059 if test "${gcc_cv_isl}" = no
; then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6061 $as_echo "required isl version is 0.15 or later" >&6; }
6064 CFLAGS
=$_isl_saved_CFLAGS
6065 LDFLAGS
=$_isl_saved_LDFLAGS
6066 LIBS
=$_isl_saved_LIBS
6074 if test "x${with_isl}" = xno
; then
6075 graphite_requested
=no
6076 elif test "x${with_isl}" != x \
6077 ||
test "x${with_isl_include}" != x \
6078 ||
test "x${with_isl_lib}" != x
; then
6079 graphite_requested
=yes
6081 graphite_requested
=no
6086 if test "${gcc_cv_isl}" = no
; then
6091 if test "${graphite_requested}" = yes \
6092 && test "x${isllibs}" = x \
6093 && test "x${islinc}" = x
; then
6095 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6101 # If the isl check failed, disable builds of in-tree variant of isl
6102 if test "x$with_isl" = xno ||
6103 test "x$gcc_cv_isl" = xno
; then
6104 noconfigdirs
="$noconfigdirs isl"
6111 # Check for LTO support.
6112 # Check whether --enable-lto was given.
6113 if test "${enable_lto+set}" = set; then :
6114 enableval
=$enable_lto; enable_lto
=$enableval
6116 enable_lto
=yes; default_enable_lto
=yes
6125 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6126 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6127 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6136 if test $target_elf = yes; then :
6137 # ELF platforms build the lto-plugin always.
6138 build_lto_plugin
=yes
6141 if test x
"$default_enable_lto" = x
"yes" ; then
6143 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6144 # On other non-ELF platforms, LTO has yet to be validated.
6148 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6149 # It would also be nice to check the binutils support, but we don't
6150 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6151 # warn during gcc/ subconfigure; unless you're bootstrapping with
6152 # -flto it won't be needed until after installation anyway.
6154 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6155 *) if test x
"$enable_lto" = x
"yes"; then
6156 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6161 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6162 # Build it unless LTO was explicitly disabled.
6164 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6171 # Check whether --enable-linker-plugin-configure-flags was given.
6172 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6173 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6175 extra_linker_plugin_configure_flags
=
6179 # Check whether --enable-linker-plugin-flags was given.
6180 if test "${enable_linker_plugin_flags+set}" = set; then :
6181 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6183 extra_linker_plugin_flags
=
6188 # Enable --enable-host-shared.
6189 # Checked early to determine whether jit is an 'all' language
6190 # Check whether --enable-host-shared was given.
6191 if test "${enable_host_shared+set}" = set; then :
6192 enableval
=$enable_host_shared; host_shared
=$enableval
6199 # By default, C and C++ are the only stage 1 languages.
6200 stage1_languages
=,c
,
6202 # Target libraries that we bootstrap.
6203 bootstrap_target_libs
=,target-libgcc
,
6205 # Figure out what language subdirectories are present.
6206 # Look if the user specified --enable-languages="..."; if not, use
6207 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6209 # NB: embedded tabs in this IF block -- do not untabify
6210 if test -d ${srcdir}/gcc
; then
6211 if test x
"${enable_languages+set}" != xset
; then
6212 if test x
"${LANGUAGES+set}" = xset
; then
6213 enable_languages
="${LANGUAGES}"
6214 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6216 enable_languages
=default
6219 if test x
"${enable_languages}" = x ||
6220 test x
"${enable_languages}" = xyes
;
6222 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6226 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6228 # 'f95' is the old name for the 'fortran' language. We issue a warning
6229 # and make the substitution.
6230 case ,${enable_languages}, in
6232 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6233 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6237 # If bootstrapping, C++ must be enabled.
6238 case ",$enable_languages,:$enable_bootstrap" in
6241 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6242 enable_languages
="${enable_languages},c++"
6244 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6249 # First scan to see if an enabled language requires some other language.
6250 # We assume that a given config-lang.in will list all the language
6251 # front ends it requires, even if some are required indirectly.
6252 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6253 case ${lang_frag} in
6255 # The odd quoting in the next line works around
6256 # an apparent bug in bash 1.12 on linux.
6257 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6259 # From the config-lang.in, get $language, $lang_requires, and
6260 # $lang_requires_boot_languages.
6263 lang_requires_boot_languages
=
6264 # set srcdir during sourcing lang_frag to the gcc dir.
6265 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6266 # polutes this shell
6267 saved_srcdir
=${srcdir}
6268 srcdir
=${srcdir}/gcc .
${lang_frag}
6269 srcdir
=${saved_srcdir}
6270 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6271 case ,${enable_languages}, in
6276 echo " \`$other' language required by \`$language'; enabling" 1>&2
6277 enable_languages
="${enable_languages},${other}"
6281 for other
in ${lang_requires_boot_languages} ; do
6282 if test "$other" != "c"; then
6283 case ,${enable_stage1_languages}, in
6288 case ,${enable_languages}, in
6290 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6291 enable_stage1_languages
="$enable_stage1_languages,${other}"
6302 new_enable_languages
=,c
,
6304 # If LTO is enabled, add the LTO front end.
6305 if test "$enable_lto" = "yes" ; then
6306 case ,${enable_languages}, in
6308 *) enable_languages
="${enable_languages},lto" ;;
6310 if test "${build_lto_plugin}" = "yes" ; then
6311 configdirs
="$configdirs lto-plugin"
6315 # If we're building an offloading compiler, add the LTO front end.
6316 if test x
"$enable_as_accelerator_for" != x
; then
6317 case ,${enable_languages}, in
6319 *) enable_languages
="${enable_languages},lto" ;;
6323 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6324 potential_languages
=,c
,
6326 enabled_target_libs
=
6327 disabled_target_libs
=
6329 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6330 case ${lang_frag} in
6332 # The odd quoting in the next line works around
6333 # an apparent bug in bash 1.12 on linux.
6334 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6336 # From the config-lang.in, get $language, $target_libs,
6337 # $lang_dirs, $boot_language, and $build_by_default
6343 build_by_default
=yes
6344 # set srcdir during sourcing. See above about save & restore
6345 saved_srcdir
=${srcdir}
6346 srcdir
=${srcdir}/gcc .
${lang_frag}
6347 srcdir
=${saved_srcdir}
6348 if test x
${language} = x
; then
6349 echo "${lang_frag} doesn't set \$language." 1>&2
6353 if test "$language" = "c++"; then
6358 # C is always enabled, so no need to add it again
6359 if test "$language" != "c"; then
6360 case ,${enable_languages}, in
6362 # Language was explicitly selected; include it
6366 # All languages are enabled
6370 # 'default' was selected, select it if it is a default language
6371 add_this_lang
=${build_by_default}
6376 # Disable languages that need other directories if these aren't available.
6377 for i
in $subdir_requires; do
6378 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6379 case ${add_this_lang} in
6381 # Specifically requested language; tell them.
6382 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6386 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6387 add_this_lang
=unsupported
6391 add_this_lang
=unsupported
6396 # Disable Ada if no preexisting GNAT is available.
6397 case ${add_this_lang}:${language}:${have_gnat} in
6399 # Specifically requested language; tell them.
6400 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6404 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6405 add_this_lang
=unsupported
6409 add_this_lang
=unsupported
6413 # Disable jit if -enable-host-shared not specified
6414 case ${add_this_lang}:${language}:${host_shared} in
6416 # PR jit/64780: explicitly specify --enable-host-shared
6418 Enabling language \"jit\" requires --enable-host-shared.
6420 --enable-host-shared typically slows the rest of the compiler down by
6421 a few %, so you must explicitly enable it.
6423 If you want to build both the jit and the regular compiler, it is often
6424 best to do this via two separate configure/builds, in separate
6425 directories, to avoid imposing the performance cost of
6426 --enable-host-shared on the regular compiler." "$LINENO" 5
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6430 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6431 add_this_lang
=unsupported
6435 add_this_lang
=unsupported
6439 # Disable a language that is unsupported by the target.
6440 case "${add_this_lang}: $unsupported_languages " in
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6445 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6446 add_this_lang
=unsupported
6450 case $add_this_lang in
6452 # Remove language-dependent dirs.
6453 disabled_target_libs
="$disabled_target_libs $target_libs"
6454 noconfigdirs
="$noconfigdirs $lang_dirs"
6457 # Remove language-dependent dirs; still show language as supported.
6458 disabled_target_libs
="$disabled_target_libs $target_libs"
6459 noconfigdirs
="$noconfigdirs $lang_dirs"
6460 potential_languages
="${potential_languages}${language},"
6463 new_enable_languages
="${new_enable_languages}${language},"
6464 potential_languages
="${potential_languages}${language},"
6465 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6466 enabled_target_libs
="$enabled_target_libs $target_libs"
6467 case "${boot_language}:,$enable_stage1_languages," in
6468 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6469 # Add to (comma-separated) list of stage 1 languages.
6470 case ",$stage1_languages," in
6471 *,$language,* |
,yes, |
,all
,) ;;
6472 *) stage1_languages
="${stage1_languages}${language}," ;;
6474 # We need to bootstrap any supporting libraries.
6475 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6484 # Add target libraries which are only needed for disabled languages
6486 if test -n "$disabled_target_libs"; then
6487 for dir
in $disabled_target_libs; do
6488 case " $enabled_target_libs " in
6490 *) noconfigdirs
="$noconfigdirs $dir" ;;
6495 # Check whether --enable-stage1-languages was given.
6496 if test "${enable_stage1_languages+set}" = set; then :
6497 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6499 # Set it to something that will have no effect in the loop below
6500 enable_stage1_languages
=c
;;
6502 enable_stage1_languages
=`echo $new_enable_languages | \
6503 sed -e "s/^,//" -e "s/,$//" ` ;;
6505 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6506 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6509 # Add "good" languages from enable_stage1_languages to stage1_languages,
6510 # while "bad" languages go in missing_languages. Leave no duplicates.
6511 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6512 case $potential_languages in
6514 case $stage1_languages in
6516 *) stage1_languages
="$stage1_languages$i," ;;
6519 case $missing_languages in
6521 *) missing_languages
="$missing_languages$i," ;;
6528 # Remove leading/trailing commas that were added for simplicity
6529 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6530 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6531 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6532 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6534 if test "x$missing_languages" != x
; then
6536 The following requested languages could not be built: ${missing_languages}
6537 Supported languages are: ${potential_languages}" "$LINENO" 5
6539 if test "x$new_enable_languages" != "x$enable_languages"; then
6540 echo The following languages will be built
: ${new_enable_languages}
6541 enable_languages
="$new_enable_languages"
6545 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6548 # Handle --disable-<component> generically.
6549 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6550 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6551 varname
=`echo $dirname | sed -e s/+/_/g`
6552 if eval test x\
${enable_${varname}} "=" xno
; then
6553 noconfigdirs
="$noconfigdirs $dir"
6557 # Check for Boehm's garbage collector
6558 # Check whether --enable-objc-gc was given.
6559 if test "${enable_objc_gc+set}" = set; then :
6560 enableval
=$enable_objc_gc;
6564 # Check whether --with-target-bdw-gc was given.
6565 if test "${with_target_bdw_gc+set}" = set; then :
6566 withval
=$with_target_bdw_gc;
6570 # Check whether --with-target-bdw-gc-include was given.
6571 if test "${with_target_bdw_gc_include+set}" = set; then :
6572 withval
=$with_target_bdw_gc_include;
6576 # Check whether --with-target-bdw-gc-lib was given.
6577 if test "${with_target_bdw_gc_lib+set}" = set; then :
6578 withval
=$with_target_bdw_gc_lib;
6582 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6584 $as_echo_n "checking for bdw garbage collector... " >&6; }
6585 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6587 $as_echo "using bdw-gc in default locations" >&6; }
6589 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6590 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6591 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6592 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6595 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6600 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6601 case ,${enable_languages}, in
6603 # Disable libitm, libsanitizer if we're not building libstdc++
6604 case "${noconfigdirs}" in
6605 *target-libstdc
++-v3*)
6606 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6612 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6616 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6617 # $build_configdirs and $target_configdirs.
6618 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6621 for dir
in .
$skipdirs $noconfigdirs ; do
6622 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6623 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6624 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6625 if test -r $srcdir/$dirname/configure
; then
6626 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6629 notsupp
="$notsupp $dir"
6633 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6634 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6635 if test -r $srcdir/$dirname/configure
; then
6636 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6639 notsupp
="$notsupp $dir"
6643 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6644 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6645 if test -r $srcdir/$dirname/configure
; then
6646 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6649 notsupp
="$notsupp $dir"
6655 # Quietly strip out all directories which aren't configurable in this tree.
6656 # This relies on all configurable subdirectories being autoconfiscated, which
6658 build_configdirs_all
="$build_configdirs"
6660 for i
in ${build_configdirs_all} ; do
6661 j
=`echo $i | sed -e s/build-//g`
6662 if test -f ${srcdir}/$j/configure
; then
6663 build_configdirs
="${build_configdirs} $i"
6667 configdirs_all
="$configdirs"
6669 for i
in ${configdirs_all} ; do
6670 if test -f ${srcdir}/$i/configure
; then
6671 configdirs
="${configdirs} $i"
6675 target_configdirs_all
="$target_configdirs"
6677 for i
in ${target_configdirs_all} ; do
6678 j
=`echo $i | sed -e s/target-//g`
6679 if test -f ${srcdir}/$j/configure
; then
6680 target_configdirs
="${target_configdirs} $i"
6684 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6685 # so we have to add it after the preceding checks.
6686 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6688 case " $configdirs " in
6690 # If we can build libiberty, we can also build libiberty-linker-plugin.
6691 configdirs
="$configdirs libiberty-linker-plugin"
6692 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6693 --with-libiberty=../libiberty-linker-plugin";;
6695 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6699 # Sometimes we have special requirements for the host libiberty.
6700 extra_host_libiberty_configure_flags
=
6701 extra_host_zlib_configure_flags
=
6702 case " $configdirs " in
6703 *" lto-plugin "* |
*" libcc1 "*)
6704 # When these are to be built as shared libraries, the same applies to
6706 extra_host_libiberty_configure_flags
=--enable-shared
6709 # When bfd is to be built as a shared library, the same applies to
6711 if test "$enable_shared" = "yes"; then
6712 extra_host_zlib_configure_flags
=--enable-host-shared
6719 # Produce a warning message for the subdirs we can't configure.
6720 # This isn't especially interesting in the Cygnus tree, but in the individual
6721 # FSF releases, it's important to let people know when their machine isn't
6722 # supported by the one or two programs in a package.
6724 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6725 # If $appdirs is non-empty, at least one of those directories must still
6726 # be configured, or we error out. (E.g., if the gas release supports a
6727 # specified target in some subdirs but not the gas subdir, we shouldn't
6728 # pretend that all is well.)
6729 if test -n "$appdirs" ; then
6730 for dir
in $appdirs ; do
6731 if test -r $dir/Makefile.
in ; then
6732 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6736 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6742 if test -n "$appdirs" ; then
6743 echo "*** This configuration is not supported by this package." 1>&2
6747 # Okay, some application will build, or we don't care to check. Still
6748 # notify of subdirs not getting built.
6749 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6750 echo " ${notsupp}" 1>&2
6751 echo " (Any other directories should still work fine.)" 1>&2
6759 # To find our prefix, in gcc_cv_tool_prefix.
6761 # The user is always right.
6762 if test "${PATH_SEPARATOR+set}" != set; then
6763 echo "#! /bin/sh" >conf$$.sh
6764 echo "exit 0" >>conf$$.sh
6766 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6775 get_gcc_base_ver
="cat"
6777 # Check whether --with-gcc-major-version-only was given.
6778 if test "${with_gcc_major_version_only+set}" = set; then :
6779 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6780 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6790 if test "x$exec_prefix" = xNONE
; then
6791 if test "x$prefix" = xNONE
; then
6792 gcc_cv_tool_prefix
=$ac_default_prefix
6794 gcc_cv_tool_prefix
=$prefix
6797 gcc_cv_tool_prefix
=$exec_prefix
6800 # If there is no compiler in the tree, use the PATH only. In any
6801 # case, if there is no compiler in the tree nobody should use
6802 # AS_FOR_TARGET and LD_FOR_TARGET.
6803 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6804 if test x
$with_gcc_major_version_only = xyes
; then
6805 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6807 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6809 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6810 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6811 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6812 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6813 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6814 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6819 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6820 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6828 # Check whether --with-build-sysroot was given.
6829 if test "${with_build_sysroot+set}" = set; then :
6830 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6831 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6834 SYSROOT_CFLAGS_FOR_TARGET
=
6840 # Check whether --with-debug-prefix-map was given.
6841 if test "${with_debug_prefix_map+set}" = set; then :
6842 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6843 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6844 for debug_map
in $withval; do
6845 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6849 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6854 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6855 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6856 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6857 # We want to ensure that TARGET libraries (which we know are built with
6858 # gcc) are built with "-O2 -g", so include those options when setting
6859 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6860 if test "x$CFLAGS_FOR_TARGET" = x
; then
6861 if test "x${is_cross_compiler}" = xyes
; then
6862 CFLAGS_FOR_TARGET
="-g -O2"
6864 CFLAGS_FOR_TARGET
=$CFLAGS
6867 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6870 *" -g "* |
*" -g3 "*) ;;
6871 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6877 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6878 if test "x${is_cross_compiler}" = xyes
; then
6879 CXXFLAGS_FOR_TARGET
="-g -O2"
6881 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6882 case " $CXXFLAGS " in
6884 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6886 case " $CXXFLAGS " in
6887 *" -g "* |
*" -g3 "*) ;;
6888 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6896 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6897 # the named directory are copied to $(tooldir)/sys-include.
6898 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6899 if test x
${is_cross_compiler} = xno
; then
6900 echo 1>&2 '***' --with-headers is only supported when cross compiling
6903 if test x
"${with_headers}" != xyes
; then
6904 x
=${gcc_cv_tool_prefix}
6905 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6909 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6910 # the name directories are copied to $(tooldir)/lib. Multiple directories
6912 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6913 if test x
${is_cross_compiler} = xno
; then
6914 echo 1>&2 '***' --with-libs is only supported when cross compiling
6917 if test x
"${with_libs}" != xyes
; then
6918 # Copy the libraries in reverse order, so that files in the first named
6919 # library override files in subsequent libraries.
6920 x
=${gcc_cv_tool_prefix}
6921 for l
in ${with_libs}; do
6922 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6927 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6929 # This is done by determining whether or not the appropriate directory
6930 # is available, and by checking whether or not specific configurations
6931 # have requested that this magic not happen.
6933 # The command line options always override the explicit settings in
6934 # configure.ac, and the settings in configure.ac override this magic.
6936 # If the default for a toolchain is to use GNU as and ld, and you don't
6937 # want to do that, then you should use the --without-gnu-as and
6938 # --without-gnu-ld options for the configure script. Similarly, if
6939 # the default is to use the included zlib and you don't want to do that,
6940 # you should use the --with-system-zlib option for the configure script.
6942 if test x
${use_gnu_as} = x
&&
6943 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6945 extra_host_args
="$extra_host_args --with-gnu-as"
6948 if test x
${use_gnu_ld} = x
&&
6949 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6951 extra_host_args
="$extra_host_args --with-gnu-ld"
6954 if test x
${use_included_zlib} = x
&&
6955 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6958 with_system_zlib
=yes
6959 extra_host_args
="$extra_host_args --with-system-zlib"
6962 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6963 # can detect this case.
6965 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6967 extra_host_args
="$extra_host_args --with-newlib"
6970 # Handle ${copy_dirs}
6971 set fnord
${copy_dirs}
6973 while test $# != 0 ; do
6974 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6977 echo Copying
$1 to
$2
6979 # Use the install script to create the directory and all required
6980 # parent directories.
6981 if test -d $2 ; then
6985 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6988 # Copy the directory, assuming we have tar.
6989 # FIXME: Should we use B in the second tar? Not all systems support it.
6990 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6992 # It is the responsibility of the user to correctly adjust all
6993 # symlinks. If somebody can figure out how to handle them correctly
6994 # here, feel free to add the code.
7001 # Determine a target-dependent exec_prefix that the installed
7002 # gcc will search in. Keep this list sorted by triplet, with
7003 # the *-*-osname triplets last.
7006 i
[34567]86-pc-msdosdjgpp*)
7007 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7012 md_exec_prefix
=/usr
/ccs
/bin
7016 extra_arflags_for_target
=
7017 extra_nmflags_for_target
=
7018 extra_ranlibflags_for_target
=
7019 target_makefile_frag
=/dev
/null
7022 target_makefile_frag
="config/mt-spu"
7024 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7025 target_makefile_frag
="config/mt-sde"
7027 mipsisa
*-*-elfoabi*)
7028 target_makefile_frag
="config/mt-mips-elfoabi"
7030 mips
*-*-*linux
* | mips
*-*-gnu*)
7031 target_makefile_frag
="config/mt-mips-gnu"
7034 target_makefile_frag
="config/mt-nios2-elf"
7037 target_makefile_frag
="config/mt-android"
7039 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7040 target_makefile_frag
="config/mt-gnu"
7042 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7043 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7044 # commands to handle both 32-bit and 64-bit objects. These flags are
7045 # harmless if we're using GNU nm or ar.
7046 extra_arflags_for_target
=" -X32_64"
7047 extra_nmflags_for_target
=" -B -X32_64"
7051 alphaieee_frag
=/dev
/null
7054 # This just makes sure to use the -mieee option to build target libs.
7055 # This should probably be set individually by each library.
7056 alphaieee_frag
="config/mt-alphaieee"
7060 # If --enable-target-optspace always use -Os instead of -O2 to build
7061 # the target libraries, similarly if it is not specified, use -Os
7062 # on selected platforms.
7063 ospace_frag
=/dev
/null
7064 case "${enable_target_optspace}:${target}" in
7066 ospace_frag
="config/mt-ospace"
7069 ospace_frag
="config/mt-d30v"
7071 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7072 ospace_frag
="config/mt-ospace"
7077 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7081 # Some systems (e.g., one of the i386-aix systems the gas testers are
7082 # using) don't handle "\$" correctly, so don't use it here.
7083 tooldir
='${exec_prefix}'/${target_noncanonical}
7084 build_tooldir
=${tooldir}
7086 # Create a .gdbinit file which runs the one in srcdir
7087 # and tells GDB to look there for source files.
7089 if test -r ${srcdir}/.gdbinit
; then
7092 *) cat > .
/.gdbinit
<<EOF
7096 source ${srcdir}/.gdbinit
7102 # Make sure that the compiler is able to generate an executable. If it
7103 # can't, we are probably in trouble. We don't care whether we can run the
7104 # executable--we might be using a cross compiler--we only care whether it
7105 # can be created. At this point the main configure script has set CC.
7107 echo "int main () { return 0; }" > conftest.c
7108 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7109 if test $?
= 0 ; then
7110 if test -s conftest ||
test -s conftest.exe
; then
7116 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7117 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7124 # Decide which environment variable is used to find dynamic libraries.
7126 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7127 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7128 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7129 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7132 # On systems where the dynamic library environment variable is PATH,
7133 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7134 # built executables to PATH.
7135 if test "$RPATH_ENVVAR" = PATH
; then
7136 GCC_SHLIB_SUBDIR
=/shlib
7141 # Adjust the toplevel makefile according to whether bootstrap was selected.
7142 case $enable_bootstrap in
7144 bootstrap_suffix
=bootstrap
7145 BUILD_CONFIG
=bootstrap-debug
7148 bootstrap_suffix
=no-bootstrap
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7154 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7157 # Check whether --with-build-config was given.
7158 if test "${with_build_config+set}" = set; then :
7159 withval
=$with_build_config; case $with_build_config in
7160 yes) with_build_config
= ;;
7161 no
) with_build_config
= BUILD_CONFIG
= ;;
7166 if test "x${with_build_config}" != x
; then
7167 BUILD_CONFIG
=$with_build_config
7169 case $BUILD_CONFIG in
7171 if echo "int f (void) { return 0; }" > conftest.c
&&
7172 ${CC} -c conftest.c
&&
7173 mv conftest.o conftest.o.g0
&&
7174 ${CC} -c -g conftest.c
&&
7175 mv conftest.o conftest.o.g
&&
7176 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7181 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7186 $as_echo "$BUILD_CONFIG" >&6; }
7189 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7191 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7192 # Check whether --enable-vtable-verify was given.
7193 if test "${enable_vtable_verify+set}" = set; then :
7194 enableval
=$enable_vtable_verify; case "$enableval" in
7195 yes) enable_vtable_verify
=yes ;;
7196 no
) enable_vtable_verify
=no
;;
7197 *) enable_vtable_verify
=no
;;
7200 enable_vtable_verify
=no
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7204 $as_echo "$enable_vtable_verify" >&6; }
7206 # Record target_configdirs and the configure arguments for target and
7207 # build configuration in Makefile.
7208 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7209 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7210 bootstrap_fixincludes
=no
7212 # If we are building libgomp, bootstrap it.
7213 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7214 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7217 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7218 # or bootstrap-ubsan, bootstrap it.
7219 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7220 case "$BUILD_CONFIG" in
7221 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7222 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7223 bootstrap_fixincludes
=yes
7228 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7229 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7230 test "$enable_vtable_verify" != no
; then
7231 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7234 # Determine whether gdb needs tk/tcl or not.
7235 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7236 # and in that case we want gdb to be built without tk. Ugh!
7237 # In fact I believe gdb is the *only* package directly dependent on tk,
7238 # so we should be able to put the 'maybe's in unconditionally and
7239 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7240 # 100% sure that that's safe though.
7242 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7243 case "$enable_gdbtk" in
7247 GDB_TK
="${gdb_tk}" ;;
7249 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7250 # distro. Eventually someone will fix this and move Insight, nee
7251 # gdbtk to a separate directory.
7252 if test -d ${srcdir}/gdb
/gdbtk
; then
7259 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7260 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7262 # gdb depends on gnulib, but as nothing else does, only include it if
7264 if echo " ${configdirs} " |
grep " gdb " > /dev
/null
2>&1 ; then
7265 # The Makefile provides the ordering, so it's enough here to add
7266 # gnulib to the list.
7267 configdirs
="${configdirs} gnulib"
7270 # Strip out unwanted targets.
7272 # While at that, we remove Makefiles if we were started for recursive
7273 # configuration, so that the top-level Makefile reconfigures them,
7274 # like we used to do when configure itself was recursive.
7276 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7277 # but now we're fixing up the Makefile ourselves with the additional
7278 # commands passed to AC_CONFIG_FILES. Use separate variables
7279 # extrasub-{build,host,target} not because there is any reason to split
7280 # the substitutions up that way, but only to remain below the limit of
7281 # 99 commands in a script, for HP-UX sed.
7283 # Do not nest @if/@endif or @unless/@endunless pairs, because
7284 # configure will not warn you at all.
7286 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7287 yes:yes:*\ gold\
*:*,c
++,*) ;;
7288 yes:yes:*\ gold\
*:*)
7289 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7294 for module
in ${build_configdirs} ; do
7295 if test -z "${no_recursion}" \
7296 && test -f ${build_subdir}/${module}/Makefile
; then
7297 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7298 rm -f ${build_subdir}/${module}/Makefile
7300 extrasub_build
="$extrasub_build
7301 /^@if build-$module\$/d
7302 /^@endif build-$module\$/d
7303 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7304 /^@if build-$module-$bootstrap_suffix\$/d
7305 /^@endif build-$module-$bootstrap_suffix\$/d
7306 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7309 for module
in ${configdirs} ; do
7310 if test -z "${no_recursion}"; then
7311 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7312 if test -f ${file}; then
7313 echo 1>&2 "*** removing ${file} to force reconfigure"
7318 case ${module},${bootstrap_fixincludes} in
7319 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7320 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7322 extrasub_host
="$extrasub_host
7324 /^@endif $module\$/d
7325 /^@unless $module\$/,/^@endunless $module\$/d
7326 /^@if $module-$host_bootstrap_suffix\$/d
7327 /^@endif $module-$host_bootstrap_suffix\$/d
7328 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7331 for module
in ${target_configdirs} ; do
7332 if test -z "${no_recursion}" \
7333 && test -f ${target_subdir}/${module}/Makefile
; then
7334 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7335 rm -f ${target_subdir}/${module}/Makefile
7338 # We only bootstrap target libraries listed in bootstrap_target_libs.
7339 case $bootstrap_target_libs in
7340 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7341 *) target_bootstrap_suffix
=no-bootstrap
;;
7344 extrasub_target
="$extrasub_target
7345 /^@if target-$module\$/d
7346 /^@endif target-$module\$/d
7347 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7348 /^@if target-$module-$target_bootstrap_suffix\$/d
7349 /^@endif target-$module-$target_bootstrap_suffix\$/d
7350 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7353 # Do the final fixup along with target modules.
7354 extrasub_target
="$extrasub_target
7359 # Create the serialization dependencies. This uses a temporary file.
7361 # Check whether --enable-serial-configure was given.
7362 if test "${enable_serial_configure+set}" = set; then :
7363 enableval
=$enable_serial_configure;
7367 case ${enable_serial_configure} in
7369 enable_serial_build_configure
=yes
7370 enable_serial_host_configure
=yes
7371 enable_serial_target_configure
=yes
7375 # These force 'configure's to be done one at a time, to avoid problems
7376 # with contention over a shared config.cache.
7378 echo '# serdep.tmp' > serdep.tmp
7380 test "x${enable_serial_build_configure}" = xyes
&&
7381 for item
in ${build_configdirs} ; do
7384 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7389 test "x${enable_serial_host_configure}" = xyes
&&
7390 for item
in ${configdirs} ; do
7393 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7398 test "x${enable_serial_target_configure}" = xyes
&&
7399 for item
in ${target_configdirs} ; do
7402 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7406 serialization_dependencies
=serdep.tmp
7409 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7410 # target, nonopt, and variable assignments. These are the ones we
7411 # might not want to pass down to subconfigures. The exception being
7412 # --cache-file=/dev/null, which is used to turn off the use of cache
7413 # files altogether, and which should be passed on to subconfigures.
7414 # Also strip program-prefix, program-suffix, and program-transform-name,
7415 # so that we can pass down a consistent program-transform-name.
7420 eval "set -- $ac_configure_args"
7423 if test X
"$skip_next" = X
"yes"; then
7427 if test X
"$keep_next" = X
"yes"; then
7430 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7432 baseargs
="$baseargs '$ac_arg'"
7433 tbaseargs
="$tbaseargs '$ac_arg'"
7438 # Handle separated arguments. Based on the logic generated by
7441 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7442 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7443 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7444 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7458 --with-* |
--without-*)
7459 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7463 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7466 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7475 mpc | mpfr | gmp | isl
)
7476 # If we're processing --with-$lib, --with-$lib-include or
7477 # --with-$lib-lib, for one of the libs above, and target is
7478 # different from host, don't pass the current argument to any
7479 # target library's configure.
7480 if test x
$is_cross_compiler = xyes
; then
7489 --cache-file=/dev
/null | \
7490 -cache-file=/dev
/null
)
7491 # Handled here to avoid the test to skip args below.
7492 baseargs
="$baseargs '$ac_arg'"
7493 tbaseargs
="$tbaseargs '$ac_arg'"
7494 # Assert: $separate_arg should always be no.
7495 keep_next
=$separate_arg
7511 -program-prefix* | \
7512 -program-suffix* | \
7513 -program-transform-name* )
7514 skip_next
=$separate_arg
7518 # An option. Add it.
7521 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7523 baseargs
="$baseargs '$ac_arg'"
7524 if test X
"$skip_targ" = Xno
; then
7525 tbaseargs
="$tbaseargs '$ac_arg'"
7527 keep_next
=$separate_arg
7530 # Either a variable assignment, or a nonopt (triplet). Don't
7531 # pass it down; let the Makefile handle this.
7536 # Remove the initial space we just introduced and, as these will be
7537 # expanded by make, quote '$'.
7538 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7540 # Add in --program-transform-name, after --program-prefix and
7541 # --program-suffix have been applied to it. Autoconf has already
7542 # doubled dollar signs and backslashes in program_transform_name; we want
7543 # the backslashes un-doubled, and then the entire thing wrapped in single
7544 # quotes, because this will be expanded first by make and then by the shell.
7545 # Also, because we want to override the logic in subdir configure scripts to
7546 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7547 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7548 ${program_transform_name}
7550 gcc_transform_name
=`cat conftestsed.out`
7551 rm -f conftestsed.out
7552 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7553 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7554 if test "$silent" = yes; then
7555 baseargs
="$baseargs --silent"
7556 tbaseargs
="$tbaseargs --silent"
7558 baseargs
="$baseargs --disable-option-checking"
7559 tbaseargs
="$tbaseargs --disable-option-checking"
7561 # Record and document user additions to sub configure arguments.
7566 # For the build-side libraries, we just need to pretend we're native,
7567 # and not use the same cache file. Multilibs are neither needed nor
7568 # desired. We can't even use the same cache file for all build-side
7569 # libraries, as they're compiled differently; some with C, some with
7570 # C++ or with different feature-enabling options.
7571 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7573 # For host modules, accept cache file option, or specification as blank.
7574 case "${cache_file}" in
7576 cache_file_option
="" ;;
7577 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7578 cache_file_option
="--cache-file=${cache_file}" ;;
7580 cache_file_option
="--cache-file=../${cache_file}" ;;
7583 # Host dirs don't like to share a cache file either, horribly enough.
7584 # This seems to be due to autoconf 2.5x stupidity.
7585 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7587 target_configargs
="$target_configargs ${tbaseargs}"
7589 # Passing a --with-cross-host argument lets the target libraries know
7590 # whether they are being built with a cross-compiler or being built
7591 # native. However, it would be better to use other mechanisms to make the
7592 # sorts of decisions they want to make on this basis. Please consider
7593 # this option to be deprecated. FIXME.
7594 if test x
${is_cross_compiler} = xyes
; then
7595 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7598 # Special user-friendly check for native x86_64-linux build, if
7599 # multilib is not explicitly enabled.
7600 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7601 x86_64-
*linux
*:yes:$build:$build:)
7602 # Make sure we have a development environment that handles 32-bit
7604 echo "int main () { return 0; }" > conftest.c
7605 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7606 if test $?
= 0 ; then
7607 if test -s conftest ||
test -s conftest.exe
; then
7612 if test x
${dev64} != xyes
; then
7613 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
7618 # Default to --enable-multilib.
7619 if test x
${enable_multilib} = x
; then
7620 target_configargs
="--enable-multilib ${target_configargs}"
7623 # Pass --with-newlib if appropriate. Note that target_configdirs has
7624 # changed from the earlier setting of with_newlib.
7625 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7626 target_configargs
="--with-newlib ${target_configargs}"
7629 # Different target subdirs use different values of certain variables
7630 # (notably CXX). Worse, multilibs use *lots* of different values.
7631 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7632 # it doesn't automatically accept command-line overrides of them.
7633 # This means it's not safe for target subdirs to share a cache file,
7634 # which is disgusting, but there you have it. Hopefully this can be
7635 # fixed in future. It's still worthwhile to use a cache file for each
7636 # directory. I think.
7638 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7639 # We need to pass --target, as newer autoconf's requires consistency
7640 # for target_alias and gcc doesn't manage it consistently.
7641 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7644 case " $target_configdirs " in
7646 case " $target_configargs " in
7647 *" --with-newlib "*)
7650 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7654 # If we're not building GCC, don't discard standard headers.
7655 if test -d ${srcdir}/gcc
; then
7656 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7658 if test "${build}" != "${host}"; then
7659 # On Canadian crosses, CC_FOR_TARGET will have already been set
7660 # by `configure', so we won't have an opportunity to add -Bgcc/
7661 # to it. This is right: we don't want to search that directory
7662 # for binaries, but we want the header files in there, so add
7664 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7666 # Someone might think of using the pre-installed headers on
7667 # Canadian crosses, in case the installed compiler is not fully
7668 # compatible with the compiler being built. In this case, it
7669 # would be better to flag an error than risking having
7670 # incompatible object files being constructed. We can't
7671 # guarantee that an error will be flagged, but let's hope the
7672 # compiler will do it, when presented with incompatible header
7677 case "${target}-${is_cross_compiler}" in
7678 i
[3456789]86-*-linux*-no)
7679 # Here host == target, so we don't need to build gcc,
7680 # so we don't want to discard standard headers.
7681 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7684 # If we're building newlib, use its generic headers last, but search
7685 # for any libc-related directories first (so make it the last -B
7687 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7689 # If we're building libgloss, find the startup file, simulator library
7690 # and linker script.
7691 case " $target_configdirs " in
7693 # Look for startup file, simulator library and maybe linker script.
7694 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7695 # Look for libnosys.a in case the target needs it.
7696 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7697 # Most targets have the linker script in the source directory.
7698 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7709 x86_64-
*mingw
* |
*-w64-mingw*)
7710 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7711 # however, use a symlink named 'mingw' in ${prefix} .
7712 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7715 # MinGW can't be handled as Cygwin above since it does not use newlib.
7716 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'
7720 # Allow the user to override the flags for
7721 # our build compiler if desired.
7722 if test x
"${build}" = x
"${host}" ; then
7723 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7724 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7725 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7728 # On Canadian crosses, we'll be searching the right directories for
7729 # the previously-installed cross compiler, so don't bother to add
7730 # flags for directories within the install tree of the compiler
7731 # being built; programs in there won't even run.
7732 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7733 # Search for pre-installed headers if nothing else fits.
7734 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7737 if test "x
${use_gnu_ld}" = x &&
7738 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7739 # Arrange for us to find uninstalled linker scripts.
7740 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7743 # Search for other target-specific linker scripts and such.
7746 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7750 # Makefile fragments.
7751 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7753 eval fragval=\$$frag
7754 if test $fragval != /dev/null; then
7755 eval $frag=${srcdir}/$fragval
7763 # Miscellanea: directories, flags, etc.
7772 # Build module lists & subconfigure args.
7776 # Host module lists & subconfigure args.
7781 # Target module lists & subconfigure args.
7803 # Generate default definitions for YACC, M4, LEX and other programs that run
7804 # on the build machine. These are used if the Makefile can't locate these
7805 # programs in objdir.
7806 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7808 for ac_prog in 'bison -y' byacc yacc
7810 # Extract the first word of "$ac_prog", so it can be a program name with args.
7811 set dummy $ac_prog; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if ${ac_cv_prog_YACC+:} false; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$YACC"; then
7818 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827 ac_cv_prog_YACC="$ac_prog"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 YACC=$ac_cv_prog_YACC
7838 if test -n "$YACC"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7840 $as_echo "$YACC" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7847 test -n "$YACC" && break
7849 test -n "$YACC" || YACC="$MISSING bison
-y"
7851 case " $build_configdirs " in
7852 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7855 for ac_prog in bison
7857 # Extract the first word of "$ac_prog", so it can be a program name with args.
7858 set dummy $ac_prog; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7860 $as_echo_n "checking
for $ac_word...
" >&6; }
7861 if ${ac_cv_prog_BISON+:} false; then :
7862 $as_echo_n "(cached
) " >&6
7864 if test -n "$BISON"; then
7865 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7874 ac_cv_prog_BISON="$ac_prog"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7884 BISON=$ac_cv_prog_BISON
7885 if test -n "$BISON"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7887 $as_echo "$BISON" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7890 $as_echo "no
" >&6; }
7894 test -n "$BISON" && break
7896 test -n "$BISON" || BISON="$MISSING bison
"
7898 case " $build_configdirs " in
7899 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7902 for ac_prog in gm4 gnum4 m4
7904 # Extract the first word of "$ac_prog", so it can be a program name with args.
7905 set dummy $ac_prog; ac_word=$2
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7907 $as_echo_n "checking
for $ac_word...
" >&6; }
7908 if ${ac_cv_prog_M4+:} false; then :
7909 $as_echo_n "(cached
) " >&6
7911 if test -n "$M4"; then
7912 ac_cv_prog_M4="$M4" # Let the user override the test.
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7921 ac_cv_prog_M4="$ac_prog"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7932 if test -n "$M4"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7934 $as_echo "$M4" >&6; }
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7937 $as_echo "no
" >&6; }
7941 test -n "$M4" && break
7943 test -n "$M4" || M4="$MISSING m4"
7945 case " $build_configdirs " in
7946 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7949 for ac_prog in flex lex
7951 # Extract the first word of "$ac_prog", so it can be a program name with args.
7952 set dummy $ac_prog; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7954 $as_echo_n "checking
for $ac_word...
" >&6; }
7955 if ${ac_cv_prog_LEX+:} false; then :
7956 $as_echo_n "(cached
) " >&6
7958 if test -n "$LEX"; then
7959 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_LEX="$ac_prog"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7979 if test -n "$LEX"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7981 $as_echo "$LEX" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7984 $as_echo "no
" >&6; }
7988 test -n "$LEX" && break
7990 test -n "$LEX" || LEX="$MISSING flex
"
7992 case " $build_configdirs " in
7993 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7994 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7999 # Extract the first word of "$ac_prog", so it can be a program name with args.
8000 set dummy $ac_prog; ac_word=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8002 $as_echo_n "checking
for $ac_word...
" >&6; }
8003 if ${ac_cv_prog_FLEX+:} false; then :
8004 $as_echo_n "(cached
) " >&6
8006 if test -n "$FLEX"; then
8007 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8013 test -z "$as_dir" && as_dir=.
8014 for ac_exec_ext in '' $ac_executable_extensions; do
8015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_prog_FLEX="$ac_prog"
8017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8026 FLEX=$ac_cv_prog_FLEX
8027 if test -n "$FLEX"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8029 $as_echo "$FLEX" >&6; }
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8032 $as_echo "no
" >&6; }
8036 test -n "$FLEX" && break
8038 test -n "$FLEX" || FLEX="$MISSING flex
"
8040 case " $build_configdirs " in
8041 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8044 for ac_prog in makeinfo
8046 # Extract the first word of "$ac_prog", so it can be a program name with args.
8047 set dummy $ac_prog; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8049 $as_echo_n "checking
for $ac_word...
" >&6; }
8050 if ${ac_cv_prog_MAKEINFO+:} false; then :
8051 $as_echo_n "(cached
) " >&6
8053 if test -n "$MAKEINFO"; then
8054 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_MAKEINFO="$ac_prog"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8073 MAKEINFO=$ac_cv_prog_MAKEINFO
8074 if test -n "$MAKEINFO"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8076 $as_echo "$MAKEINFO" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8079 $as_echo "no
" >&6; }
8083 test -n "$MAKEINFO" && break
8085 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8087 case " $build_configdirs " in
8088 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8091 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8092 # higher, else we use the "missing
" dummy.
8093 if ${MAKEINFO} --version \
8094 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8097 MAKEINFO="$MISSING makeinfo
"
8103 # FIXME: expect and dejagnu may become build tools?
8105 for ac_prog in expect
8107 # Extract the first word of "$ac_prog", so it can be a program name with args.
8108 set dummy $ac_prog; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8110 $as_echo_n "checking
for $ac_word...
" >&6; }
8111 if ${ac_cv_prog_EXPECT+:} false; then :
8112 $as_echo_n "(cached
) " >&6
8114 if test -n "$EXPECT"; then
8115 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_EXPECT="$ac_prog"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8134 EXPECT=$ac_cv_prog_EXPECT
8135 if test -n "$EXPECT"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8137 $as_echo "$EXPECT" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8140 $as_echo "no
" >&6; }
8144 test -n "$EXPECT" && break
8146 test -n "$EXPECT" || EXPECT="expect
"
8148 case " $configdirs " in
8150 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8154 for ac_prog in runtest
8156 # Extract the first word of "$ac_prog", so it can be a program name with args.
8157 set dummy $ac_prog; ac_word=$2
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8159 $as_echo_n "checking
for $ac_word...
" >&6; }
8160 if ${ac_cv_prog_RUNTEST+:} false; then :
8161 $as_echo_n "(cached
) " >&6
8163 if test -n "$RUNTEST"; then
8164 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8170 test -z "$as_dir" && as_dir=.
8171 for ac_exec_ext in '' $ac_executable_extensions; do
8172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8173 ac_cv_prog_RUNTEST="$ac_prog"
8174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8183 RUNTEST=$ac_cv_prog_RUNTEST
8184 if test -n "$RUNTEST"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8186 $as_echo "$RUNTEST" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8189 $as_echo "no
" >&6; }
8193 test -n "$RUNTEST" && break
8195 test -n "$RUNTEST" || RUNTEST="runtest
"
8197 case " $configdirs " in
8199 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8206 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8207 ncn_target_tool_prefix=
8208 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8212 if test -n "$AR"; then
8214 elif test -n "$ac_cv_prog_AR"; then
8218 if test -n "$ac_cv_prog_AR"; then
8219 for ncn_progname in ar; do
8220 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8221 set dummy ${ncn_progname}; ac_word=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8223 $as_echo_n "checking
for $ac_word...
" >&6; }
8224 if ${ac_cv_prog_AR+:} false; then :
8225 $as_echo_n "(cached
) " >&6
8227 if test -n "$AR"; then
8228 ac_cv_prog_AR="$AR" # Let the user override the test.
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8237 ac_cv_prog_AR="${ncn_progname}"
8238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8248 if test -n "$AR"; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8250 $as_echo "$AR" >&6; }
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8253 $as_echo "no
" >&6; }
8260 for ncn_progname in ar; do
8261 if test -n "$ncn_tool_prefix"; then
8262 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8263 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8265 $as_echo_n "checking
for $ac_word...
" >&6; }
8266 if ${ac_cv_prog_AR+:} false; then :
8267 $as_echo_n "(cached
) " >&6
8269 if test -n "$AR"; then
8270 ac_cv_prog_AR="$AR" # Let the user override the test.
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8290 if test -n "$AR"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8292 $as_echo "$AR" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8295 $as_echo "no
" >&6; }
8300 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8301 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8302 set dummy ${ncn_progname}; ac_word=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8304 $as_echo_n "checking
for $ac_word...
" >&6; }
8305 if ${ac_cv_prog_AR+:} false; then :
8306 $as_echo_n "(cached
) " >&6
8308 if test -n "$AR"; then
8309 ac_cv_prog_AR="$AR" # Let the user override the test.
8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315 test -z "$as_dir" && as_dir=.
8316 for ac_exec_ext in '' $ac_executable_extensions; do
8317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8318 ac_cv_prog_AR="${ncn_progname}"
8319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8329 if test -n "$AR"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8331 $as_echo "$AR" >&6; }
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8334 $as_echo "no
" >&6; }
8339 test -n "$ac_cv_prog_AR" && break
8342 if test -z "$ac_cv_prog_AR" ; then
8344 if test $build = $host ; then
8347 AR="${ncn_tool_prefix}$2"
8353 if test -n "$AS"; then
8355 elif test -n "$ac_cv_prog_AS"; then
8359 if test -n "$ac_cv_prog_AS"; then
8360 for ncn_progname in as; do
8361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8362 set dummy ${ncn_progname}; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8364 $as_echo_n "checking
for $ac_word...
" >&6; }
8365 if ${ac_cv_prog_AS+:} false; then :
8366 $as_echo_n "(cached
) " >&6
8368 if test -n "$AS"; then
8369 ac_cv_prog_AS="$AS" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8378 ac_cv_prog_AS="${ncn_progname}"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8389 if test -n "$AS"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8391 $as_echo "$AS" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8394 $as_echo "no
" >&6; }
8401 for ncn_progname in as; do
8402 if test -n "$ncn_tool_prefix"; then
8403 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8404 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8406 $as_echo_n "checking
for $ac_word...
" >&6; }
8407 if ${ac_cv_prog_AS+:} false; then :
8408 $as_echo_n "(cached
) " >&6
8410 if test -n "$AS"; then
8411 ac_cv_prog_AS="$AS" # Let the user override the test.
8413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir=.
8418 for ac_exec_ext in '' $ac_executable_extensions; do
8419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8420 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8431 if test -n "$AS"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8433 $as_echo "$AS" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8436 $as_echo "no
" >&6; }
8441 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8442 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8443 set dummy ${ncn_progname}; ac_word=$2
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8445 $as_echo_n "checking
for $ac_word...
" >&6; }
8446 if ${ac_cv_prog_AS+:} false; then :
8447 $as_echo_n "(cached
) " >&6
8449 if test -n "$AS"; then
8450 ac_cv_prog_AS="$AS" # Let the user override the test.
8452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8456 test -z "$as_dir" && as_dir=.
8457 for ac_exec_ext in '' $ac_executable_extensions; do
8458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8459 ac_cv_prog_AS="${ncn_progname}"
8460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8470 if test -n "$AS"; then
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8472 $as_echo "$AS" >&6; }
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8475 $as_echo "no
" >&6; }
8480 test -n "$ac_cv_prog_AS" && break
8483 if test -z "$ac_cv_prog_AS" ; then
8485 if test $build = $host ; then
8488 AS="${ncn_tool_prefix}$2"
8494 if test -n "$DLLTOOL"; then
8495 ac_cv_prog_DLLTOOL=$DLLTOOL
8496 elif test -n "$ac_cv_prog_DLLTOOL"; then
8497 DLLTOOL=$ac_cv_prog_DLLTOOL
8500 if test -n "$ac_cv_prog_DLLTOOL"; then
8501 for ncn_progname in dlltool; do
8502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8503 set dummy ${ncn_progname}; ac_word=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8505 $as_echo_n "checking
for $ac_word...
" >&6; }
8506 if ${ac_cv_prog_DLLTOOL+:} false; then :
8507 $as_echo_n "(cached
) " >&6
8509 if test -n "$DLLTOOL"; then
8510 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516 test -z "$as_dir" && as_dir=.
8517 for ac_exec_ext in '' $ac_executable_extensions; do
8518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8519 ac_cv_prog_DLLTOOL="${ncn_progname}"
8520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8529 DLLTOOL=$ac_cv_prog_DLLTOOL
8530 if test -n "$DLLTOOL"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8532 $as_echo "$DLLTOOL" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8535 $as_echo "no
" >&6; }
8542 for ncn_progname in dlltool; do
8543 if test -n "$ncn_tool_prefix"; then
8544 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8545 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8547 $as_echo_n "checking
for $ac_word...
" >&6; }
8548 if ${ac_cv_prog_DLLTOOL+:} false; then :
8549 $as_echo_n "(cached
) " >&6
8551 if test -n "$DLLTOOL"; then
8552 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8558 test -z "$as_dir" && as_dir=.
8559 for ac_exec_ext in '' $ac_executable_extensions; do
8560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8561 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8571 DLLTOOL=$ac_cv_prog_DLLTOOL
8572 if test -n "$DLLTOOL"; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8574 $as_echo "$DLLTOOL" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8577 $as_echo "no
" >&6; }
8582 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8583 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8584 set dummy ${ncn_progname}; ac_word=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8586 $as_echo_n "checking
for $ac_word...
" >&6; }
8587 if ${ac_cv_prog_DLLTOOL+:} false; then :
8588 $as_echo_n "(cached
) " >&6
8590 if test -n "$DLLTOOL"; then
8591 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8597 test -z "$as_dir" && as_dir=.
8598 for ac_exec_ext in '' $ac_executable_extensions; do
8599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8600 ac_cv_prog_DLLTOOL="${ncn_progname}"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8610 DLLTOOL=$ac_cv_prog_DLLTOOL
8611 if test -n "$DLLTOOL"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8613 $as_echo "$DLLTOOL" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8616 $as_echo "no
" >&6; }
8621 test -n "$ac_cv_prog_DLLTOOL" && break
8624 if test -z "$ac_cv_prog_DLLTOOL" ; then
8626 if test $build = $host ; then
8629 DLLTOOL="${ncn_tool_prefix}$2"
8635 if test -n "$LD"; then
8637 elif test -n "$ac_cv_prog_LD"; then
8641 if test -n "$ac_cv_prog_LD"; then
8642 for ncn_progname in ld; do
8643 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8644 set dummy ${ncn_progname}; ac_word=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8646 $as_echo_n "checking
for $ac_word...
" >&6; }
8647 if ${ac_cv_prog_LD+:} false; then :
8648 $as_echo_n "(cached
) " >&6
8650 if test -n "$LD"; then
8651 ac_cv_prog_LD="$LD" # Let the user override the test.
8653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8657 test -z "$as_dir" && as_dir=.
8658 for ac_exec_ext in '' $ac_executable_extensions; do
8659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8660 ac_cv_prog_LD="${ncn_progname}"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8671 if test -n "$LD"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8673 $as_echo "$LD" >&6; }
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8676 $as_echo "no
" >&6; }
8683 for ncn_progname in ld; do
8684 if test -n "$ncn_tool_prefix"; then
8685 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8686 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8688 $as_echo_n "checking
for $ac_word...
" >&6; }
8689 if ${ac_cv_prog_LD+:} false; then :
8690 $as_echo_n "(cached
) " >&6
8692 if test -n "$LD"; then
8693 ac_cv_prog_LD="$LD" # Let the user override the test.
8695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8699 test -z "$as_dir" && as_dir=.
8700 for ac_exec_ext in '' $ac_executable_extensions; do
8701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8702 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8713 if test -n "$LD"; then
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8715 $as_echo "$LD" >&6; }
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8718 $as_echo "no
" >&6; }
8723 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8725 set dummy ${ncn_progname}; ac_word=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8727 $as_echo_n "checking
for $ac_word...
" >&6; }
8728 if ${ac_cv_prog_LD+:} false; then :
8729 $as_echo_n "(cached
) " >&6
8731 if test -n "$LD"; then
8732 ac_cv_prog_LD="$LD" # Let the user override the test.
8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8738 test -z "$as_dir" && as_dir=.
8739 for ac_exec_ext in '' $ac_executable_extensions; do
8740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8741 ac_cv_prog_LD="${ncn_progname}"
8742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8752 if test -n "$LD"; then
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8754 $as_echo "$LD" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8757 $as_echo "no
" >&6; }
8762 test -n "$ac_cv_prog_LD" && break
8765 if test -z "$ac_cv_prog_LD" ; then
8767 if test $build = $host ; then
8770 LD="${ncn_tool_prefix}$2"
8776 if test -n "$LIPO"; then
8777 ac_cv_prog_LIPO=$LIPO
8778 elif test -n "$ac_cv_prog_LIPO"; then
8779 LIPO=$ac_cv_prog_LIPO
8782 if test -n "$ac_cv_prog_LIPO"; then
8783 for ncn_progname in lipo; do
8784 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8785 set dummy ${ncn_progname}; ac_word=$2
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8787 $as_echo_n "checking
for $ac_word...
" >&6; }
8788 if ${ac_cv_prog_LIPO+:} false; then :
8789 $as_echo_n "(cached
) " >&6
8791 if test -n "$LIPO"; then
8792 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8798 test -z "$as_dir" && as_dir=.
8799 for ac_exec_ext in '' $ac_executable_extensions; do
8800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8801 ac_cv_prog_LIPO="${ncn_progname}"
8802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8811 LIPO=$ac_cv_prog_LIPO
8812 if test -n "$LIPO"; then
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8814 $as_echo "$LIPO" >&6; }
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8817 $as_echo "no
" >&6; }
8824 for ncn_progname in lipo; do
8825 if test -n "$ncn_tool_prefix"; then
8826 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8827 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8829 $as_echo_n "checking
for $ac_word...
" >&6; }
8830 if ${ac_cv_prog_LIPO+:} false; then :
8831 $as_echo_n "(cached
) " >&6
8833 if test -n "$LIPO"; then
8834 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8840 test -z "$as_dir" && as_dir=.
8841 for ac_exec_ext in '' $ac_executable_extensions; do
8842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8843 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8853 LIPO=$ac_cv_prog_LIPO
8854 if test -n "$LIPO"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8856 $as_echo "$LIPO" >&6; }
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8859 $as_echo "no
" >&6; }
8864 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8866 set dummy ${ncn_progname}; ac_word=$2
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8868 $as_echo_n "checking
for $ac_word...
" >&6; }
8869 if ${ac_cv_prog_LIPO+:} false; then :
8870 $as_echo_n "(cached
) " >&6
8872 if test -n "$LIPO"; then
8873 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8879 test -z "$as_dir" && as_dir=.
8880 for ac_exec_ext in '' $ac_executable_extensions; do
8881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8882 ac_cv_prog_LIPO="${ncn_progname}"
8883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8892 LIPO=$ac_cv_prog_LIPO
8893 if test -n "$LIPO"; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8895 $as_echo "$LIPO" >&6; }
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8898 $as_echo "no
" >&6; }
8903 test -n "$ac_cv_prog_LIPO" && break
8906 if test -z "$ac_cv_prog_LIPO" ; then
8908 if test $build = $host ; then
8911 LIPO="${ncn_tool_prefix}$2"
8917 if test -n "$NM"; then
8919 elif test -n "$ac_cv_prog_NM"; then
8923 if test -n "$ac_cv_prog_NM"; then
8924 for ncn_progname in nm; do
8925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8926 set dummy ${ncn_progname}; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8928 $as_echo_n "checking
for $ac_word...
" >&6; }
8929 if ${ac_cv_prog_NM+:} false; then :
8930 $as_echo_n "(cached
) " >&6
8932 if test -n "$NM"; then
8933 ac_cv_prog_NM="$NM" # Let the user override the test.
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942 ac_cv_prog_NM="${ncn_progname}"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8953 if test -n "$NM"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8955 $as_echo "$NM" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8958 $as_echo "no
" >&6; }
8965 for ncn_progname in nm; do
8966 if test -n "$ncn_tool_prefix"; then
8967 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8968 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8970 $as_echo_n "checking
for $ac_word...
" >&6; }
8971 if ${ac_cv_prog_NM+:} false; then :
8972 $as_echo_n "(cached
) " >&6
8974 if test -n "$NM"; then
8975 ac_cv_prog_NM="$NM" # Let the user override the test.
8977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981 test -z "$as_dir" && as_dir=.
8982 for ac_exec_ext in '' $ac_executable_extensions; do
8983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8984 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8995 if test -n "$NM"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8997 $as_echo "$NM" >&6; }
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9000 $as_echo "no
" >&6; }
9005 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9006 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9007 set dummy ${ncn_progname}; ac_word=$2
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9009 $as_echo_n "checking
for $ac_word...
" >&6; }
9010 if ${ac_cv_prog_NM+:} false; then :
9011 $as_echo_n "(cached
) " >&6
9013 if test -n "$NM"; then
9014 ac_cv_prog_NM="$NM" # Let the user override the test.
9016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9020 test -z "$as_dir" && as_dir=.
9021 for ac_exec_ext in '' $ac_executable_extensions; do
9022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9023 ac_cv_prog_NM="${ncn_progname}"
9024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9034 if test -n "$NM"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9036 $as_echo "$NM" >&6; }
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9039 $as_echo "no
" >&6; }
9044 test -n "$ac_cv_prog_NM" && break
9047 if test -z "$ac_cv_prog_NM" ; then
9049 if test $build = $host ; then
9052 NM="${ncn_tool_prefix}$2"
9058 if test -n "$RANLIB"; then
9059 ac_cv_prog_RANLIB=$RANLIB
9060 elif test -n "$ac_cv_prog_RANLIB"; then
9061 RANLIB=$ac_cv_prog_RANLIB
9064 if test -n "$ac_cv_prog_RANLIB"; then
9065 for ncn_progname in ranlib; do
9066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9067 set dummy ${ncn_progname}; ac_word=$2
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9069 $as_echo_n "checking
for $ac_word...
" >&6; }
9070 if ${ac_cv_prog_RANLIB+:} false; then :
9071 $as_echo_n "(cached
) " >&6
9073 if test -n "$RANLIB"; then
9074 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 test -z "$as_dir" && as_dir=.
9081 for ac_exec_ext in '' $ac_executable_extensions; do
9082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9083 ac_cv_prog_RANLIB="${ncn_progname}"
9084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9093 RANLIB=$ac_cv_prog_RANLIB
9094 if test -n "$RANLIB"; then
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9096 $as_echo "$RANLIB" >&6; }
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9099 $as_echo "no
" >&6; }
9106 for ncn_progname in ranlib; do
9107 if test -n "$ncn_tool_prefix"; then
9108 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9109 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9111 $as_echo_n "checking
for $ac_word...
" >&6; }
9112 if ${ac_cv_prog_RANLIB+:} false; then :
9113 $as_echo_n "(cached
) " >&6
9115 if test -n "$RANLIB"; then
9116 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9122 test -z "$as_dir" && as_dir=.
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9125 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9135 RANLIB=$ac_cv_prog_RANLIB
9136 if test -n "$RANLIB"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9138 $as_echo "$RANLIB" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9141 $as_echo "no
" >&6; }
9146 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9148 set dummy ${ncn_progname}; ac_word=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9150 $as_echo_n "checking
for $ac_word...
" >&6; }
9151 if ${ac_cv_prog_RANLIB+:} false; then :
9152 $as_echo_n "(cached
) " >&6
9154 if test -n "$RANLIB"; then
9155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 test -z "$as_dir" && as_dir=.
9162 for ac_exec_ext in '' $ac_executable_extensions; do
9163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9164 ac_cv_prog_RANLIB="${ncn_progname}"
9165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9174 RANLIB=$ac_cv_prog_RANLIB
9175 if test -n "$RANLIB"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9177 $as_echo "$RANLIB" >&6; }
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9180 $as_echo "no
" >&6; }
9185 test -n "$ac_cv_prog_RANLIB" && break
9188 if test -z "$ac_cv_prog_RANLIB" ; then
9194 if test -n "$STRIP"; then
9195 ac_cv_prog_STRIP=$STRIP
9196 elif test -n "$ac_cv_prog_STRIP"; then
9197 STRIP=$ac_cv_prog_STRIP
9200 if test -n "$ac_cv_prog_STRIP"; then
9201 for ncn_progname in strip; do
9202 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9203 set dummy ${ncn_progname}; ac_word=$2
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9205 $as_echo_n "checking
for $ac_word...
" >&6; }
9206 if ${ac_cv_prog_STRIP+:} false; then :
9207 $as_echo_n "(cached
) " >&6
9209 if test -n "$STRIP"; then
9210 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216 test -z "$as_dir" && as_dir=.
9217 for ac_exec_ext in '' $ac_executable_extensions; do
9218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9219 ac_cv_prog_STRIP="${ncn_progname}"
9220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9229 STRIP=$ac_cv_prog_STRIP
9230 if test -n "$STRIP"; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9232 $as_echo "$STRIP" >&6; }
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9235 $as_echo "no
" >&6; }
9242 for ncn_progname in strip; do
9243 if test -n "$ncn_tool_prefix"; then
9244 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9245 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9247 $as_echo_n "checking
for $ac_word...
" >&6; }
9248 if ${ac_cv_prog_STRIP+:} false; then :
9249 $as_echo_n "(cached
) " >&6
9251 if test -n "$STRIP"; then
9252 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 test -z "$as_dir" && as_dir=.
9259 for ac_exec_ext in '' $ac_executable_extensions; do
9260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9261 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9271 STRIP=$ac_cv_prog_STRIP
9272 if test -n "$STRIP"; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9274 $as_echo "$STRIP" >&6; }
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9277 $as_echo "no
" >&6; }
9282 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9283 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9284 set dummy ${ncn_progname}; ac_word=$2
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9286 $as_echo_n "checking
for $ac_word...
" >&6; }
9287 if ${ac_cv_prog_STRIP+:} false; then :
9288 $as_echo_n "(cached
) " >&6
9290 if test -n "$STRIP"; then
9291 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297 test -z "$as_dir" && as_dir=.
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_STRIP="${ncn_progname}"
9301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9310 STRIP=$ac_cv_prog_STRIP
9311 if test -n "$STRIP"; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9313 $as_echo "$STRIP" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9316 $as_echo "no
" >&6; }
9321 test -n "$ac_cv_prog_STRIP" && break
9324 if test -z "$ac_cv_prog_STRIP" ; then
9330 if test -n "$WINDRES"; then
9331 ac_cv_prog_WINDRES=$WINDRES
9332 elif test -n "$ac_cv_prog_WINDRES"; then
9333 WINDRES=$ac_cv_prog_WINDRES
9336 if test -n "$ac_cv_prog_WINDRES"; then
9337 for ncn_progname in windres; do
9338 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9339 set dummy ${ncn_progname}; ac_word=$2
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9341 $as_echo_n "checking
for $ac_word...
" >&6; }
9342 if ${ac_cv_prog_WINDRES+:} false; then :
9343 $as_echo_n "(cached
) " >&6
9345 if test -n "$WINDRES"; then
9346 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9352 test -z "$as_dir" && as_dir=.
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9355 ac_cv_prog_WINDRES="${ncn_progname}"
9356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9365 WINDRES=$ac_cv_prog_WINDRES
9366 if test -n "$WINDRES"; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9368 $as_echo "$WINDRES" >&6; }
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9371 $as_echo "no
" >&6; }
9378 for ncn_progname in windres; do
9379 if test -n "$ncn_tool_prefix"; then
9380 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9381 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9383 $as_echo_n "checking
for $ac_word...
" >&6; }
9384 if ${ac_cv_prog_WINDRES+:} false; then :
9385 $as_echo_n "(cached
) " >&6
9387 if test -n "$WINDRES"; then
9388 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9394 test -z "$as_dir" && as_dir=.
9395 for ac_exec_ext in '' $ac_executable_extensions; do
9396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9397 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9398 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9407 WINDRES=$ac_cv_prog_WINDRES
9408 if test -n "$WINDRES"; then
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9410 $as_echo "$WINDRES" >&6; }
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9413 $as_echo "no
" >&6; }
9418 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9419 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9420 set dummy ${ncn_progname}; ac_word=$2
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9422 $as_echo_n "checking
for $ac_word...
" >&6; }
9423 if ${ac_cv_prog_WINDRES+:} false; then :
9424 $as_echo_n "(cached
) " >&6
9426 if test -n "$WINDRES"; then
9427 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9433 test -z "$as_dir" && as_dir=.
9434 for ac_exec_ext in '' $ac_executable_extensions; do
9435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9436 ac_cv_prog_WINDRES="${ncn_progname}"
9437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9446 WINDRES=$ac_cv_prog_WINDRES
9447 if test -n "$WINDRES"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9449 $as_echo "$WINDRES" >&6; }
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9452 $as_echo "no
" >&6; }
9457 test -n "$ac_cv_prog_WINDRES" && break
9460 if test -z "$ac_cv_prog_WINDRES" ; then
9462 if test $build = $host ; then
9465 WINDRES="${ncn_tool_prefix}$2"
9471 if test -n "$WINDMC"; then
9472 ac_cv_prog_WINDMC=$WINDMC
9473 elif test -n "$ac_cv_prog_WINDMC"; then
9474 WINDMC=$ac_cv_prog_WINDMC
9477 if test -n "$ac_cv_prog_WINDMC"; then
9478 for ncn_progname in windmc; do
9479 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9480 set dummy ${ncn_progname}; ac_word=$2
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9482 $as_echo_n "checking
for $ac_word...
" >&6; }
9483 if ${ac_cv_prog_WINDMC+:} false; then :
9484 $as_echo_n "(cached
) " >&6
9486 if test -n "$WINDMC"; then
9487 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9493 test -z "$as_dir" && as_dir=.
9494 for ac_exec_ext in '' $ac_executable_extensions; do
9495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9496 ac_cv_prog_WINDMC="${ncn_progname}"
9497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9506 WINDMC=$ac_cv_prog_WINDMC
9507 if test -n "$WINDMC"; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9509 $as_echo "$WINDMC" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9512 $as_echo "no
" >&6; }
9519 for ncn_progname in windmc; do
9520 if test -n "$ncn_tool_prefix"; then
9521 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9522 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9524 $as_echo_n "checking
for $ac_word...
" >&6; }
9525 if ${ac_cv_prog_WINDMC+:} false; then :
9526 $as_echo_n "(cached
) " >&6
9528 if test -n "$WINDMC"; then
9529 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9535 test -z "$as_dir" && as_dir=.
9536 for ac_exec_ext in '' $ac_executable_extensions; do
9537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9538 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9548 WINDMC=$ac_cv_prog_WINDMC
9549 if test -n "$WINDMC"; then
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9551 $as_echo "$WINDMC" >&6; }
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9554 $as_echo "no
" >&6; }
9559 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9560 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9561 set dummy ${ncn_progname}; ac_word=$2
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9563 $as_echo_n "checking
for $ac_word...
" >&6; }
9564 if ${ac_cv_prog_WINDMC+:} false; then :
9565 $as_echo_n "(cached
) " >&6
9567 if test -n "$WINDMC"; then
9568 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9574 test -z "$as_dir" && as_dir=.
9575 for ac_exec_ext in '' $ac_executable_extensions; do
9576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9577 ac_cv_prog_WINDMC="${ncn_progname}"
9578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9587 WINDMC=$ac_cv_prog_WINDMC
9588 if test -n "$WINDMC"; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9590 $as_echo "$WINDMC" >&6; }
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9593 $as_echo "no
" >&6; }
9598 test -n "$ac_cv_prog_WINDMC" && break
9601 if test -z "$ac_cv_prog_WINDMC" ; then
9603 if test $build = $host ; then
9606 WINDMC="${ncn_tool_prefix}$2"
9612 if test -n "$OBJCOPY"; then
9613 ac_cv_prog_OBJCOPY=$OBJCOPY
9614 elif test -n "$ac_cv_prog_OBJCOPY"; then
9615 OBJCOPY=$ac_cv_prog_OBJCOPY
9618 if test -n "$ac_cv_prog_OBJCOPY"; then
9619 for ncn_progname in objcopy; do
9620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9621 set dummy ${ncn_progname}; ac_word=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9623 $as_echo_n "checking
for $ac_word...
" >&6; }
9624 if ${ac_cv_prog_OBJCOPY+:} false; then :
9625 $as_echo_n "(cached
) " >&6
9627 if test -n "$OBJCOPY"; then
9628 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9634 test -z "$as_dir" && as_dir=.
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9637 ac_cv_prog_OBJCOPY="${ncn_progname}"
9638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9647 OBJCOPY=$ac_cv_prog_OBJCOPY
9648 if test -n "$OBJCOPY"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9650 $as_echo "$OBJCOPY" >&6; }
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9653 $as_echo "no
" >&6; }
9660 for ncn_progname in objcopy; do
9661 if test -n "$ncn_tool_prefix"; then
9662 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9663 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9665 $as_echo_n "checking
for $ac_word...
" >&6; }
9666 if ${ac_cv_prog_OBJCOPY+:} false; then :
9667 $as_echo_n "(cached
) " >&6
9669 if test -n "$OBJCOPY"; then
9670 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 test -z "$as_dir" && as_dir=.
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9689 OBJCOPY=$ac_cv_prog_OBJCOPY
9690 if test -n "$OBJCOPY"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9692 $as_echo "$OBJCOPY" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9695 $as_echo "no
" >&6; }
9700 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9701 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9702 set dummy ${ncn_progname}; ac_word=$2
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9704 $as_echo_n "checking
for $ac_word...
" >&6; }
9705 if ${ac_cv_prog_OBJCOPY+:} false; then :
9706 $as_echo_n "(cached
) " >&6
9708 if test -n "$OBJCOPY"; then
9709 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9715 test -z "$as_dir" && as_dir=.
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9718 ac_cv_prog_OBJCOPY="${ncn_progname}"
9719 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9728 OBJCOPY=$ac_cv_prog_OBJCOPY
9729 if test -n "$OBJCOPY"; then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9731 $as_echo "$OBJCOPY" >&6; }
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9734 $as_echo "no
" >&6; }
9739 test -n "$ac_cv_prog_OBJCOPY" && break
9742 if test -z "$ac_cv_prog_OBJCOPY" ; then
9744 if test $build = $host ; then
9747 OBJCOPY="${ncn_tool_prefix}$2"
9753 if test -n "$OBJDUMP"; then
9754 ac_cv_prog_OBJDUMP=$OBJDUMP
9755 elif test -n "$ac_cv_prog_OBJDUMP"; then
9756 OBJDUMP=$ac_cv_prog_OBJDUMP
9759 if test -n "$ac_cv_prog_OBJDUMP"; then
9760 for ncn_progname in objdump; do
9761 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9762 set dummy ${ncn_progname}; ac_word=$2
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9764 $as_echo_n "checking
for $ac_word...
" >&6; }
9765 if ${ac_cv_prog_OBJDUMP+:} false; then :
9766 $as_echo_n "(cached
) " >&6
9768 if test -n "$OBJDUMP"; then
9769 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9775 test -z "$as_dir" && as_dir=.
9776 for ac_exec_ext in '' $ac_executable_extensions; do
9777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9778 ac_cv_prog_OBJDUMP="${ncn_progname}"
9779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9788 OBJDUMP=$ac_cv_prog_OBJDUMP
9789 if test -n "$OBJDUMP"; then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9791 $as_echo "$OBJDUMP" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9794 $as_echo "no
" >&6; }
9801 for ncn_progname in objdump; do
9802 if test -n "$ncn_tool_prefix"; then
9803 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9804 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9806 $as_echo_n "checking
for $ac_word...
" >&6; }
9807 if ${ac_cv_prog_OBJDUMP+:} false; then :
9808 $as_echo_n "(cached
) " >&6
9810 if test -n "$OBJDUMP"; then
9811 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9817 test -z "$as_dir" && as_dir=.
9818 for ac_exec_ext in '' $ac_executable_extensions; do
9819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9820 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9830 OBJDUMP=$ac_cv_prog_OBJDUMP
9831 if test -n "$OBJDUMP"; then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9833 $as_echo "$OBJDUMP" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9836 $as_echo "no
" >&6; }
9841 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9843 set dummy ${ncn_progname}; ac_word=$2
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9845 $as_echo_n "checking
for $ac_word...
" >&6; }
9846 if ${ac_cv_prog_OBJDUMP+:} false; then :
9847 $as_echo_n "(cached
) " >&6
9849 if test -n "$OBJDUMP"; then
9850 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9856 test -z "$as_dir" && as_dir=.
9857 for ac_exec_ext in '' $ac_executable_extensions; do
9858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9859 ac_cv_prog_OBJDUMP="${ncn_progname}"
9860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9869 OBJDUMP=$ac_cv_prog_OBJDUMP
9870 if test -n "$OBJDUMP"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9872 $as_echo "$OBJDUMP" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9875 $as_echo "no
" >&6; }
9880 test -n "$ac_cv_prog_OBJDUMP" && break
9883 if test -z "$ac_cv_prog_OBJDUMP" ; then
9885 if test $build = $host ; then
9888 OBJDUMP="${ncn_tool_prefix}$2"
9894 if test -n "$OTOOL"; then
9895 ac_cv_prog_OTOOL=$OTOOL
9896 elif test -n "$ac_cv_prog_OTOOL"; then
9897 OTOOL=$ac_cv_prog_OTOOL
9900 if test -n "$ac_cv_prog_OTOOL"; then
9901 for ncn_progname in otool; do
9902 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9903 set dummy ${ncn_progname}; ac_word=$2
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9905 $as_echo_n "checking
for $ac_word...
" >&6; }
9906 if ${ac_cv_prog_OTOOL+:} false; then :
9907 $as_echo_n "(cached
) " >&6
9909 if test -n "$OTOOL"; then
9910 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916 test -z "$as_dir" && as_dir=.
9917 for ac_exec_ext in '' $ac_executable_extensions; do
9918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9919 ac_cv_prog_OTOOL="${ncn_progname}"
9920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9929 OTOOL=$ac_cv_prog_OTOOL
9930 if test -n "$OTOOL"; then
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9932 $as_echo "$OTOOL" >&6; }
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9935 $as_echo "no
" >&6; }
9942 for ncn_progname in otool; do
9943 if test -n "$ncn_tool_prefix"; then
9944 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9945 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9947 $as_echo_n "checking
for $ac_word...
" >&6; }
9948 if ${ac_cv_prog_OTOOL+:} false; then :
9949 $as_echo_n "(cached
) " >&6
9951 if test -n "$OTOOL"; then
9952 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9958 test -z "$as_dir" && as_dir=.
9959 for ac_exec_ext in '' $ac_executable_extensions; do
9960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9961 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
9962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9971 OTOOL=$ac_cv_prog_OTOOL
9972 if test -n "$OTOOL"; then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9974 $as_echo "$OTOOL" >&6; }
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9977 $as_echo "no
" >&6; }
9982 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
9983 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9984 set dummy ${ncn_progname}; ac_word=$2
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9986 $as_echo_n "checking
for $ac_word...
" >&6; }
9987 if ${ac_cv_prog_OTOOL+:} false; then :
9988 $as_echo_n "(cached
) " >&6
9990 if test -n "$OTOOL"; then
9991 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9997 test -z "$as_dir" && as_dir=.
9998 for ac_exec_ext in '' $ac_executable_extensions; do
9999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10000 ac_cv_prog_OTOOL="${ncn_progname}"
10001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10010 OTOOL=$ac_cv_prog_OTOOL
10011 if test -n "$OTOOL"; then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10013 $as_echo "$OTOOL" >&6; }
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10016 $as_echo "no
" >&6; }
10021 test -n "$ac_cv_prog_OTOOL" && break
10024 if test -z "$ac_cv_prog_OTOOL" ; then
10026 if test $build = $host ; then
10029 OTOOL="${ncn_tool_prefix}$2"
10035 if test -n "$READELF"; then
10036 ac_cv_prog_READELF=$READELF
10037 elif test -n "$ac_cv_prog_READELF"; then
10038 READELF=$ac_cv_prog_READELF
10041 if test -n "$ac_cv_prog_READELF"; then
10042 for ncn_progname in readelf; do
10043 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10044 set dummy ${ncn_progname}; ac_word=$2
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10046 $as_echo_n "checking
for $ac_word...
" >&6; }
10047 if ${ac_cv_prog_READELF+:} false; then :
10048 $as_echo_n "(cached
) " >&6
10050 if test -n "$READELF"; then
10051 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10054 for as_dir in $PATH
10057 test -z "$as_dir" && as_dir=.
10058 for ac_exec_ext in '' $ac_executable_extensions; do
10059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10060 ac_cv_prog_READELF="${ncn_progname}"
10061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10070 READELF=$ac_cv_prog_READELF
10071 if test -n "$READELF"; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10073 $as_echo "$READELF" >&6; }
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10076 $as_echo "no
" >&6; }
10083 for ncn_progname in readelf; do
10084 if test -n "$ncn_tool_prefix"; then
10085 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10086 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10088 $as_echo_n "checking
for $ac_word...
" >&6; }
10089 if ${ac_cv_prog_READELF+:} false; then :
10090 $as_echo_n "(cached
) " >&6
10092 if test -n "$READELF"; then
10093 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10099 test -z "$as_dir" && as_dir=.
10100 for ac_exec_ext in '' $ac_executable_extensions; do
10101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10102 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10112 READELF=$ac_cv_prog_READELF
10113 if test -n "$READELF"; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10115 $as_echo "$READELF" >&6; }
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10118 $as_echo "no
" >&6; }
10123 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10124 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10125 set dummy ${ncn_progname}; ac_word=$2
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10127 $as_echo_n "checking
for $ac_word...
" >&6; }
10128 if ${ac_cv_prog_READELF+:} false; then :
10129 $as_echo_n "(cached
) " >&6
10131 if test -n "$READELF"; then
10132 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10135 for as_dir in $PATH
10138 test -z "$as_dir" && as_dir=.
10139 for ac_exec_ext in '' $ac_executable_extensions; do
10140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10141 ac_cv_prog_READELF="${ncn_progname}"
10142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10151 READELF=$ac_cv_prog_READELF
10152 if test -n "$READELF"; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10154 $as_echo "$READELF" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10157 $as_echo "no
" >&6; }
10162 test -n "$ac_cv_prog_READELF" && break
10165 if test -z "$ac_cv_prog_READELF" ; then
10167 if test $build = $host ; then
10170 READELF="${ncn_tool_prefix}$2"
10181 # Check whether --with-build-time-tools was given.
10182 if test "${with_build_time_tools+set}" = set; then :
10183 withval=$with_build_time_tools; case x"$withval" in
10186 with_build_time_tools=
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10188 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10192 with_build_time_tools=
10198 if test -n "$CC_FOR_TARGET"; then
10199 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10200 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10201 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10204 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10205 for ncn_progname in cc gcc; do
10206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10207 set dummy ${ncn_progname}; ac_word=$2
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10209 $as_echo_n "checking
for $ac_word...
" >&6; }
10210 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10211 $as_echo_n "(cached
) " >&6
10213 if test -n "$CC_FOR_TARGET"; then
10214 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10217 for as_dir in $PATH
10220 test -z "$as_dir" && as_dir=.
10221 for ac_exec_ext in '' $ac_executable_extensions; do
10222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10223 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10233 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10234 if test -n "$CC_FOR_TARGET"; then
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10236 $as_echo "$CC_FOR_TARGET" >&6; }
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10239 $as_echo "no
" >&6; }
10246 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10247 for ncn_progname in cc gcc; do
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10249 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10250 if test -x $with_build_time_tools/${ncn_progname}; then
10251 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10253 $as_echo "yes" >&6; }
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10257 $as_echo "no
" >&6; }
10262 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10263 for ncn_progname in cc gcc; do
10264 if test -n "$ncn_target_tool_prefix"; then
10265 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10266 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10268 $as_echo_n "checking
for $ac_word...
" >&6; }
10269 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10270 $as_echo_n "(cached
) " >&6
10272 if test -n "$CC_FOR_TARGET"; then
10273 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10276 for as_dir in $PATH
10279 test -z "$as_dir" && as_dir=.
10280 for ac_exec_ext in '' $ac_executable_extensions; do
10281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10282 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10292 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10293 if test -n "$CC_FOR_TARGET"; then
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10295 $as_echo "$CC_FOR_TARGET" >&6; }
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10298 $as_echo "no
" >&6; }
10303 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10304 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10305 set dummy ${ncn_progname}; ac_word=$2
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10307 $as_echo_n "checking
for $ac_word...
" >&6; }
10308 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10309 $as_echo_n "(cached
) " >&6
10311 if test -n "$CC_FOR_TARGET"; then
10312 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10315 for as_dir in $PATH
10318 test -z "$as_dir" && as_dir=.
10319 for ac_exec_ext in '' $ac_executable_extensions; do
10320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10321 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10331 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10332 if test -n "$CC_FOR_TARGET"; then
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10334 $as_echo "$CC_FOR_TARGET" >&6; }
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10337 $as_echo "no
" >&6; }
10342 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10346 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10348 if test $build = $target ; then
10351 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10354 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10359 if test -n "$CXX_FOR_TARGET"; then
10360 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10361 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10362 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10365 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10366 for ncn_progname in c++ g++ cxx gxx; do
10367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10368 set dummy ${ncn_progname}; ac_word=$2
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10370 $as_echo_n "checking
for $ac_word...
" >&6; }
10371 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10372 $as_echo_n "(cached
) " >&6
10374 if test -n "$CXX_FOR_TARGET"; then
10375 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10378 for as_dir in $PATH
10381 test -z "$as_dir" && as_dir=.
10382 for ac_exec_ext in '' $ac_executable_extensions; do
10383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10384 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10394 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10395 if test -n "$CXX_FOR_TARGET"; then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10397 $as_echo "$CXX_FOR_TARGET" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10400 $as_echo "no
" >&6; }
10407 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10408 for ncn_progname in c++ g++ cxx gxx; do
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10410 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10411 if test -x $with_build_time_tools/${ncn_progname}; then
10412 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10414 $as_echo "yes" >&6; }
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10418 $as_echo "no
" >&6; }
10423 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10424 for ncn_progname in c++ g++ cxx gxx; do
10425 if test -n "$ncn_target_tool_prefix"; then
10426 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10427 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10429 $as_echo_n "checking
for $ac_word...
" >&6; }
10430 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10431 $as_echo_n "(cached
) " >&6
10433 if test -n "$CXX_FOR_TARGET"; then
10434 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10443 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10453 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10454 if test -n "$CXX_FOR_TARGET"; then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10456 $as_echo "$CXX_FOR_TARGET" >&6; }
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10459 $as_echo "no
" >&6; }
10464 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10466 set dummy ${ncn_progname}; ac_word=$2
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10468 $as_echo_n "checking
for $ac_word...
" >&6; }
10469 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10470 $as_echo_n "(cached
) " >&6
10472 if test -n "$CXX_FOR_TARGET"; then
10473 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10476 for as_dir in $PATH
10479 test -z "$as_dir" && as_dir=.
10480 for ac_exec_ext in '' $ac_executable_extensions; do
10481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10482 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10492 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10493 if test -n "$CXX_FOR_TARGET"; then
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10495 $as_echo "$CXX_FOR_TARGET" >&6; }
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10498 $as_echo "no
" >&6; }
10503 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10507 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10508 set dummy c++ g++ cxx gxx
10509 if test $build = $target ; then
10510 CXX_FOR_TARGET="$2"
10512 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10515 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10520 if test -n "$GCC_FOR_TARGET"; then
10521 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10522 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10523 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10526 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10527 for ncn_progname in gcc; do
10528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10529 set dummy ${ncn_progname}; ac_word=$2
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10531 $as_echo_n "checking
for $ac_word...
" >&6; }
10532 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10533 $as_echo_n "(cached
) " >&6
10535 if test -n "$GCC_FOR_TARGET"; then
10536 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10539 for as_dir in $PATH
10542 test -z "$as_dir" && as_dir=.
10543 for ac_exec_ext in '' $ac_executable_extensions; do
10544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10545 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10555 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10556 if test -n "$GCC_FOR_TARGET"; then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10558 $as_echo "$GCC_FOR_TARGET" >&6; }
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10561 $as_echo "no
" >&6; }
10568 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10569 for ncn_progname in gcc; do
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10571 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10572 if test -x $with_build_time_tools/${ncn_progname}; then
10573 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10575 $as_echo "yes" >&6; }
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10579 $as_echo "no
" >&6; }
10584 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10585 for ncn_progname in gcc; do
10586 if test -n "$ncn_target_tool_prefix"; then
10587 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10588 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10590 $as_echo_n "checking
for $ac_word...
" >&6; }
10591 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10592 $as_echo_n "(cached
) " >&6
10594 if test -n "$GCC_FOR_TARGET"; then
10595 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10598 for as_dir in $PATH
10601 test -z "$as_dir" && as_dir=.
10602 for ac_exec_ext in '' $ac_executable_extensions; do
10603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10604 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10615 if test -n "$GCC_FOR_TARGET"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10617 $as_echo "$GCC_FOR_TARGET" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10620 $as_echo "no
" >&6; }
10625 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10627 set dummy ${ncn_progname}; ac_word=$2
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10629 $as_echo_n "checking
for $ac_word...
" >&6; }
10630 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10631 $as_echo_n "(cached
) " >&6
10633 if test -n "$GCC_FOR_TARGET"; then
10634 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10637 for as_dir in $PATH
10640 test -z "$as_dir" && as_dir=.
10641 for ac_exec_ext in '' $ac_executable_extensions; do
10642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10643 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10653 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10654 if test -n "$GCC_FOR_TARGET"; then
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10656 $as_echo "$GCC_FOR_TARGET" >&6; }
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10659 $as_echo "no
" >&6; }
10664 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10668 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10669 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10671 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10676 if test -n "$GFORTRAN_FOR_TARGET"; then
10677 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10678 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10679 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10682 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10683 for ncn_progname in gfortran; do
10684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10685 set dummy ${ncn_progname}; ac_word=$2
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10687 $as_echo_n "checking
for $ac_word...
" >&6; }
10688 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10689 $as_echo_n "(cached
) " >&6
10691 if test -n "$GFORTRAN_FOR_TARGET"; then
10692 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10695 for as_dir in $PATH
10698 test -z "$as_dir" && as_dir=.
10699 for ac_exec_ext in '' $ac_executable_extensions; do
10700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10701 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10711 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10712 if test -n "$GFORTRAN_FOR_TARGET"; then
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10714 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10717 $as_echo "no
" >&6; }
10724 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10725 for ncn_progname in gfortran; do
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10727 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10728 if test -x $with_build_time_tools/${ncn_progname}; then
10729 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10731 $as_echo "yes" >&6; }
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10735 $as_echo "no
" >&6; }
10740 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10741 for ncn_progname in gfortran; do
10742 if test -n "$ncn_target_tool_prefix"; then
10743 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10744 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10746 $as_echo_n "checking
for $ac_word...
" >&6; }
10747 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10748 $as_echo_n "(cached
) " >&6
10750 if test -n "$GFORTRAN_FOR_TARGET"; then
10751 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10754 for as_dir in $PATH
10757 test -z "$as_dir" && as_dir=.
10758 for ac_exec_ext in '' $ac_executable_extensions; do
10759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10760 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10770 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10771 if test -n "$GFORTRAN_FOR_TARGET"; then
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10773 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10776 $as_echo "no
" >&6; }
10781 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10783 set dummy ${ncn_progname}; ac_word=$2
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10785 $as_echo_n "checking
for $ac_word...
" >&6; }
10786 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10787 $as_echo_n "(cached
) " >&6
10789 if test -n "$GFORTRAN_FOR_TARGET"; then
10790 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10793 for as_dir in $PATH
10796 test -z "$as_dir" && as_dir=.
10797 for ac_exec_ext in '' $ac_executable_extensions; do
10798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10799 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10809 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10810 if test -n "$GFORTRAN_FOR_TARGET"; then
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10812 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10815 $as_echo "no
" >&6; }
10820 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10824 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10826 if test $build = $target ; then
10827 GFORTRAN_FOR_TARGET="$2"
10829 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10832 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10837 if test -n "$GOC_FOR_TARGET"; then
10838 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10839 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10840 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10843 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10844 for ncn_progname in gccgo; do
10845 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10846 set dummy ${ncn_progname}; ac_word=$2
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10848 $as_echo_n "checking
for $ac_word...
" >&6; }
10849 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10850 $as_echo_n "(cached
) " >&6
10852 if test -n "$GOC_FOR_TARGET"; then
10853 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10856 for as_dir in $PATH
10859 test -z "$as_dir" && as_dir=.
10860 for ac_exec_ext in '' $ac_executable_extensions; do
10861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10862 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10872 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10873 if test -n "$GOC_FOR_TARGET"; then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10875 $as_echo "$GOC_FOR_TARGET" >&6; }
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10878 $as_echo "no
" >&6; }
10885 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10886 for ncn_progname in gccgo; do
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10888 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10889 if test -x $with_build_time_tools/${ncn_progname}; then
10890 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10892 $as_echo "yes" >&6; }
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10896 $as_echo "no
" >&6; }
10901 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10902 for ncn_progname in gccgo; do
10903 if test -n "$ncn_target_tool_prefix"; then
10904 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10905 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10907 $as_echo_n "checking
for $ac_word...
" >&6; }
10908 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10909 $as_echo_n "(cached
) " >&6
10911 if test -n "$GOC_FOR_TARGET"; then
10912 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10915 for as_dir in $PATH
10918 test -z "$as_dir" && as_dir=.
10919 for ac_exec_ext in '' $ac_executable_extensions; do
10920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10921 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10931 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10932 if test -n "$GOC_FOR_TARGET"; then
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10934 $as_echo "$GOC_FOR_TARGET" >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10937 $as_echo "no
" >&6; }
10942 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10943 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10944 set dummy ${ncn_progname}; ac_word=$2
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10946 $as_echo_n "checking
for $ac_word...
" >&6; }
10947 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10948 $as_echo_n "(cached
) " >&6
10950 if test -n "$GOC_FOR_TARGET"; then
10951 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10954 for as_dir in $PATH
10957 test -z "$as_dir" && as_dir=.
10958 for ac_exec_ext in '' $ac_executable_extensions; do
10959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10960 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10970 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10971 if test -n "$GOC_FOR_TARGET"; then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10973 $as_echo "$GOC_FOR_TARGET" >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10976 $as_echo "no
" >&6; }
10981 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10985 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10987 if test $build = $target ; then
10988 GOC_FOR_TARGET="$2"
10990 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10993 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10998 if test -n "$GDC_FOR_TARGET"; then
10999 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
11000 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
11001 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11004 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
11005 for ncn_progname in gdc; do
11006 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11007 set dummy ${ncn_progname}; ac_word=$2
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11009 $as_echo_n "checking
for $ac_word...
" >&6; }
11010 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11011 $as_echo_n "(cached
) " >&6
11013 if test -n "$GDC_FOR_TARGET"; then
11014 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11017 for as_dir in $PATH
11020 test -z "$as_dir" && as_dir=.
11021 for ac_exec_ext in '' $ac_executable_extensions; do
11022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11023 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11033 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11034 if test -n "$GDC_FOR_TARGET"; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11036 $as_echo "$GDC_FOR_TARGET" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11039 $as_echo "no
" >&6; }
11046 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11047 for ncn_progname in gdc; do
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11049 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11050 if test -x $with_build_time_tools/${ncn_progname}; then
11051 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11053 $as_echo "yes" >&6; }
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11057 $as_echo "no
" >&6; }
11062 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
11063 for ncn_progname in gdc; do
11064 if test -n "$ncn_target_tool_prefix"; then
11065 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11066 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11068 $as_echo_n "checking
for $ac_word...
" >&6; }
11069 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11070 $as_echo_n "(cached
) " >&6
11072 if test -n "$GDC_FOR_TARGET"; then
11073 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11076 for as_dir in $PATH
11079 test -z "$as_dir" && as_dir=.
11080 for ac_exec_ext in '' $ac_executable_extensions; do
11081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11082 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11092 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11093 if test -n "$GDC_FOR_TARGET"; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11095 $as_echo "$GDC_FOR_TARGET" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11098 $as_echo "no
" >&6; }
11103 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
11104 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11105 set dummy ${ncn_progname}; ac_word=$2
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11107 $as_echo_n "checking
for $ac_word...
" >&6; }
11108 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11109 $as_echo_n "(cached
) " >&6
11111 if test -n "$GDC_FOR_TARGET"; then
11112 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11115 for as_dir in $PATH
11118 test -z "$as_dir" && as_dir=.
11119 for ac_exec_ext in '' $ac_executable_extensions; do
11120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11121 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11131 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11132 if test -n "$GDC_FOR_TARGET"; then
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11134 $as_echo "$GDC_FOR_TARGET" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11137 $as_echo "no
" >&6; }
11142 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
11146 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
11148 if test $build = $target ; then
11149 GDC_FOR_TARGET="$2"
11151 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11154 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
11159 cat > conftest.c << \EOF
11164 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11165 have_gcc_for_target=yes
11167 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11168 have_gcc_for_target=no
11175 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11176 if test -n "$with_build_time_tools"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11178 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11179 if test -x $with_build_time_tools/ar; then
11180 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11181 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11183 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11186 $as_echo "no
" >&6; }
11188 elif test $build != $host && test $have_gcc_for_target = yes; then
11189 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11190 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11191 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11194 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11195 # Extract the first word of "ar", so it can be a program name with args.
11196 set dummy ar; ac_word=$2
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11198 $as_echo_n "checking
for $ac_word...
" >&6; }
11199 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11200 $as_echo_n "(cached
) " >&6
11202 case $AR_FOR_TARGET in
11204 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11208 for as_dir in $gcc_cv_tool_dirs
11211 test -z "$as_dir" && as_dir=.
11212 for ac_exec_ext in '' $ac_executable_extensions; do
11213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11214 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11225 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11226 if test -n "$AR_FOR_TARGET"; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11228 $as_echo "$AR_FOR_TARGET" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11231 $as_echo "no
" >&6; }
11236 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11239 if test -n "$AR_FOR_TARGET"; then
11240 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11241 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11242 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11245 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11246 for ncn_progname in ar; do
11247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11248 set dummy ${ncn_progname}; ac_word=$2
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11250 $as_echo_n "checking
for $ac_word...
" >&6; }
11251 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11252 $as_echo_n "(cached
) " >&6
11254 if test -n "$AR_FOR_TARGET"; then
11255 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11258 for as_dir in $PATH
11261 test -z "$as_dir" && as_dir=.
11262 for ac_exec_ext in '' $ac_executable_extensions; do
11263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11264 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11274 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11275 if test -n "$AR_FOR_TARGET"; then
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11277 $as_echo "$AR_FOR_TARGET" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11280 $as_echo "no
" >&6; }
11287 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11288 for ncn_progname in ar; do
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11290 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11291 if test -x $with_build_time_tools/${ncn_progname}; then
11292 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11294 $as_echo "yes" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11298 $as_echo "no
" >&6; }
11303 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11304 for ncn_progname in ar; do
11305 if test -n "$ncn_target_tool_prefix"; then
11306 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11307 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11309 $as_echo_n "checking
for $ac_word...
" >&6; }
11310 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11311 $as_echo_n "(cached
) " >&6
11313 if test -n "$AR_FOR_TARGET"; then
11314 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11317 for as_dir in $PATH
11320 test -z "$as_dir" && as_dir=.
11321 for ac_exec_ext in '' $ac_executable_extensions; do
11322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11323 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11333 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11334 if test -n "$AR_FOR_TARGET"; then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11336 $as_echo "$AR_FOR_TARGET" >&6; }
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11339 $as_echo "no
" >&6; }
11344 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11345 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11346 set dummy ${ncn_progname}; ac_word=$2
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11348 $as_echo_n "checking
for $ac_word...
" >&6; }
11349 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11350 $as_echo_n "(cached
) " >&6
11352 if test -n "$AR_FOR_TARGET"; then
11353 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11356 for as_dir in $PATH
11359 test -z "$as_dir" && as_dir=.
11360 for ac_exec_ext in '' $ac_executable_extensions; do
11361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11362 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11372 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11373 if test -n "$AR_FOR_TARGET"; then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11375 $as_echo "$AR_FOR_TARGET" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11378 $as_echo "no
" >&6; }
11383 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11387 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11389 if test $build = $target ; then
11392 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11395 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11399 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11405 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11406 if test -n "$with_build_time_tools"; then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11408 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11409 if test -x $with_build_time_tools/as; then
11410 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11411 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11413 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11416 $as_echo "no
" >&6; }
11418 elif test $build != $host && test $have_gcc_for_target = yes; then
11419 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11420 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11421 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11424 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11425 # Extract the first word of "as
", so it can be a program name with args.
11426 set dummy as; ac_word=$2
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11428 $as_echo_n "checking
for $ac_word...
" >&6; }
11429 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11430 $as_echo_n "(cached
) " >&6
11432 case $AS_FOR_TARGET in
11434 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11438 for as_dir in $gcc_cv_tool_dirs
11441 test -z "$as_dir" && as_dir=.
11442 for ac_exec_ext in '' $ac_executable_extensions; do
11443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11444 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11455 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11456 if test -n "$AS_FOR_TARGET"; then
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11458 $as_echo "$AS_FOR_TARGET" >&6; }
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11461 $as_echo "no
" >&6; }
11466 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11469 if test -n "$AS_FOR_TARGET"; then
11470 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11471 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11472 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11475 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11476 for ncn_progname in as; do
11477 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11478 set dummy ${ncn_progname}; ac_word=$2
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11480 $as_echo_n "checking
for $ac_word...
" >&6; }
11481 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11482 $as_echo_n "(cached
) " >&6
11484 if test -n "$AS_FOR_TARGET"; then
11485 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11488 for as_dir in $PATH
11491 test -z "$as_dir" && as_dir=.
11492 for ac_exec_ext in '' $ac_executable_extensions; do
11493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11494 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11504 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11505 if test -n "$AS_FOR_TARGET"; then
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11507 $as_echo "$AS_FOR_TARGET" >&6; }
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11510 $as_echo "no
" >&6; }
11517 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11518 for ncn_progname in as; do
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11520 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11521 if test -x $with_build_time_tools/${ncn_progname}; then
11522 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11524 $as_echo "yes" >&6; }
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11528 $as_echo "no
" >&6; }
11533 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11534 for ncn_progname in as; do
11535 if test -n "$ncn_target_tool_prefix"; then
11536 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11537 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11539 $as_echo_n "checking
for $ac_word...
" >&6; }
11540 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11541 $as_echo_n "(cached
) " >&6
11543 if test -n "$AS_FOR_TARGET"; then
11544 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11547 for as_dir in $PATH
11550 test -z "$as_dir" && as_dir=.
11551 for ac_exec_ext in '' $ac_executable_extensions; do
11552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11553 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11563 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11564 if test -n "$AS_FOR_TARGET"; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11566 $as_echo "$AS_FOR_TARGET" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11569 $as_echo "no
" >&6; }
11574 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11575 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11576 set dummy ${ncn_progname}; ac_word=$2
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11578 $as_echo_n "checking
for $ac_word...
" >&6; }
11579 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11580 $as_echo_n "(cached
) " >&6
11582 if test -n "$AS_FOR_TARGET"; then
11583 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11586 for as_dir in $PATH
11589 test -z "$as_dir" && as_dir=.
11590 for ac_exec_ext in '' $ac_executable_extensions; do
11591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11592 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11602 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11603 if test -n "$AS_FOR_TARGET"; then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11605 $as_echo "$AS_FOR_TARGET" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11608 $as_echo "no
" >&6; }
11613 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11617 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11619 if test $build = $target ; then
11622 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11625 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11629 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11635 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11636 if test -n "$with_build_time_tools"; then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11638 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11639 if test -x $with_build_time_tools/dlltool; then
11640 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11641 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11643 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11646 $as_echo "no
" >&6; }
11648 elif test $build != $host && test $have_gcc_for_target = yes; then
11649 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11650 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11651 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11654 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11655 # Extract the first word of "dlltool
", so it can be a program name with args.
11656 set dummy dlltool; ac_word=$2
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11658 $as_echo_n "checking
for $ac_word...
" >&6; }
11659 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11660 $as_echo_n "(cached
) " >&6
11662 case $DLLTOOL_FOR_TARGET in
11664 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $gcc_cv_tool_dirs
11671 test -z "$as_dir" && as_dir=.
11672 for ac_exec_ext in '' $ac_executable_extensions; do
11673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11674 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11685 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11686 if test -n "$DLLTOOL_FOR_TARGET"; then
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11688 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11691 $as_echo "no
" >&6; }
11696 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11699 if test -n "$DLLTOOL_FOR_TARGET"; then
11700 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11701 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11702 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11705 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11706 for ncn_progname in dlltool; do
11707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11708 set dummy ${ncn_progname}; ac_word=$2
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11710 $as_echo_n "checking
for $ac_word...
" >&6; }
11711 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11712 $as_echo_n "(cached
) " >&6
11714 if test -n "$DLLTOOL_FOR_TARGET"; then
11715 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11718 for as_dir in $PATH
11721 test -z "$as_dir" && as_dir=.
11722 for ac_exec_ext in '' $ac_executable_extensions; do
11723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11724 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11734 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11735 if test -n "$DLLTOOL_FOR_TARGET"; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11737 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11740 $as_echo "no
" >&6; }
11747 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11748 for ncn_progname in dlltool; do
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11750 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11751 if test -x $with_build_time_tools/${ncn_progname}; then
11752 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11754 $as_echo "yes" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11758 $as_echo "no
" >&6; }
11763 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11764 for ncn_progname in dlltool; do
11765 if test -n "$ncn_target_tool_prefix"; then
11766 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11767 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11769 $as_echo_n "checking
for $ac_word...
" >&6; }
11770 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11771 $as_echo_n "(cached
) " >&6
11773 if test -n "$DLLTOOL_FOR_TARGET"; then
11774 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11777 for as_dir in $PATH
11780 test -z "$as_dir" && as_dir=.
11781 for ac_exec_ext in '' $ac_executable_extensions; do
11782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11783 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11793 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11794 if test -n "$DLLTOOL_FOR_TARGET"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11796 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11799 $as_echo "no
" >&6; }
11804 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11805 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11806 set dummy ${ncn_progname}; ac_word=$2
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11808 $as_echo_n "checking
for $ac_word...
" >&6; }
11809 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11810 $as_echo_n "(cached
) " >&6
11812 if test -n "$DLLTOOL_FOR_TARGET"; then
11813 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11816 for as_dir in $PATH
11819 test -z "$as_dir" && as_dir=.
11820 for ac_exec_ext in '' $ac_executable_extensions; do
11821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11822 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11832 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11833 if test -n "$DLLTOOL_FOR_TARGET"; then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11835 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11838 $as_echo "no
" >&6; }
11843 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11847 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11849 if test $build = $target ; then
11850 DLLTOOL_FOR_TARGET="$2"
11852 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11855 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11859 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11865 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11866 if test -n "$with_build_time_tools"; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11868 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11869 if test -x $with_build_time_tools/ld; then
11870 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11871 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11873 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11876 $as_echo "no
" >&6; }
11878 elif test $build != $host && test $have_gcc_for_target = yes; then
11879 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11880 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11881 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11884 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11885 # Extract the first word of "ld
", so it can be a program name with args.
11886 set dummy ld; ac_word=$2
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11888 $as_echo_n "checking
for $ac_word...
" >&6; }
11889 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11890 $as_echo_n "(cached
) " >&6
11892 case $LD_FOR_TARGET in
11894 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11898 for as_dir in $gcc_cv_tool_dirs
11901 test -z "$as_dir" && as_dir=.
11902 for ac_exec_ext in '' $ac_executable_extensions; do
11903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11904 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11915 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11916 if test -n "$LD_FOR_TARGET"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11918 $as_echo "$LD_FOR_TARGET" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11921 $as_echo "no
" >&6; }
11926 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11929 if test -n "$LD_FOR_TARGET"; then
11930 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11931 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11932 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11935 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11936 for ncn_progname in ld; do
11937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11938 set dummy ${ncn_progname}; ac_word=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11940 $as_echo_n "checking
for $ac_word...
" >&6; }
11941 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11942 $as_echo_n "(cached
) " >&6
11944 if test -n "$LD_FOR_TARGET"; then
11945 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11948 for as_dir in $PATH
11951 test -z "$as_dir" && as_dir=.
11952 for ac_exec_ext in '' $ac_executable_extensions; do
11953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11954 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11964 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11965 if test -n "$LD_FOR_TARGET"; then
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11967 $as_echo "$LD_FOR_TARGET" >&6; }
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11970 $as_echo "no
" >&6; }
11977 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11978 for ncn_progname in ld; do
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11980 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11981 if test -x $with_build_time_tools/${ncn_progname}; then
11982 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11984 $as_echo "yes" >&6; }
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11988 $as_echo "no
" >&6; }
11993 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11994 for ncn_progname in ld; do
11995 if test -n "$ncn_target_tool_prefix"; then
11996 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11997 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11999 $as_echo_n "checking
for $ac_word...
" >&6; }
12000 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12001 $as_echo_n "(cached
) " >&6
12003 if test -n "$LD_FOR_TARGET"; then
12004 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12007 for as_dir in $PATH
12010 test -z "$as_dir" && as_dir=.
12011 for ac_exec_ext in '' $ac_executable_extensions; do
12012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12013 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12023 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12024 if test -n "$LD_FOR_TARGET"; then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12026 $as_echo "$LD_FOR_TARGET" >&6; }
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12029 $as_echo "no
" >&6; }
12034 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12036 set dummy ${ncn_progname}; ac_word=$2
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12038 $as_echo_n "checking
for $ac_word...
" >&6; }
12039 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12040 $as_echo_n "(cached
) " >&6
12042 if test -n "$LD_FOR_TARGET"; then
12043 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12046 for as_dir in $PATH
12049 test -z "$as_dir" && as_dir=.
12050 for ac_exec_ext in '' $ac_executable_extensions; do
12051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12052 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12062 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12063 if test -n "$LD_FOR_TARGET"; then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12065 $as_echo "$LD_FOR_TARGET" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12068 $as_echo "no
" >&6; }
12073 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12077 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12079 if test $build = $target ; then
12082 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12085 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12089 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12095 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12096 if test -n "$with_build_time_tools"; then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12098 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12099 if test -x $with_build_time_tools/lipo; then
12100 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12101 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12103 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12106 $as_echo "no
" >&6; }
12108 elif test $build != $host && test $have_gcc_for_target = yes; then
12109 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12110 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12111 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12114 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12115 # Extract the first word of "lipo
", so it can be a program name with args.
12116 set dummy lipo; ac_word=$2
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12118 $as_echo_n "checking
for $ac_word...
" >&6; }
12119 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12120 $as_echo_n "(cached
) " >&6
12122 case $LIPO_FOR_TARGET in
12124 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $gcc_cv_tool_dirs
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12145 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12146 if test -n "$LIPO_FOR_TARGET"; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12148 $as_echo "$LIPO_FOR_TARGET" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12151 $as_echo "no
" >&6; }
12156 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12159 if test -n "$LIPO_FOR_TARGET"; then
12160 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12161 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12162 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12165 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12166 for ncn_progname in lipo; do
12167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12168 set dummy ${ncn_progname}; ac_word=$2
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12170 $as_echo_n "checking
for $ac_word...
" >&6; }
12171 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12172 $as_echo_n "(cached
) " >&6
12174 if test -n "$LIPO_FOR_TARGET"; then
12175 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12178 for as_dir in $PATH
12181 test -z "$as_dir" && as_dir=.
12182 for ac_exec_ext in '' $ac_executable_extensions; do
12183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12184 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12194 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12195 if test -n "$LIPO_FOR_TARGET"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12197 $as_echo "$LIPO_FOR_TARGET" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12200 $as_echo "no
" >&6; }
12207 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12208 for ncn_progname in lipo; do
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12210 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12211 if test -x $with_build_time_tools/${ncn_progname}; then
12212 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12214 $as_echo "yes" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12218 $as_echo "no
" >&6; }
12223 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12224 for ncn_progname in lipo; do
12225 if test -n "$ncn_target_tool_prefix"; then
12226 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12227 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12229 $as_echo_n "checking
for $ac_word...
" >&6; }
12230 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12231 $as_echo_n "(cached
) " >&6
12233 if test -n "$LIPO_FOR_TARGET"; then
12234 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $PATH
12240 test -z "$as_dir" && as_dir=.
12241 for ac_exec_ext in '' $ac_executable_extensions; do
12242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12253 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12254 if test -n "$LIPO_FOR_TARGET"; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12256 $as_echo "$LIPO_FOR_TARGET" >&6; }
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12259 $as_echo "no
" >&6; }
12264 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12265 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12266 set dummy ${ncn_progname}; ac_word=$2
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12268 $as_echo_n "checking
for $ac_word...
" >&6; }
12269 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12270 $as_echo_n "(cached
) " >&6
12272 if test -n "$LIPO_FOR_TARGET"; then
12273 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12276 for as_dir in $PATH
12279 test -z "$as_dir" && as_dir=.
12280 for ac_exec_ext in '' $ac_executable_extensions; do
12281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12282 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12292 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12293 if test -n "$LIPO_FOR_TARGET"; then
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12295 $as_echo "$LIPO_FOR_TARGET" >&6; }
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12298 $as_echo "no
" >&6; }
12303 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12307 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12309 if test $build = $target ; then
12310 LIPO_FOR_TARGET="$2"
12312 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12315 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12319 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12325 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12326 if test -n "$with_build_time_tools"; then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12328 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12329 if test -x $with_build_time_tools/nm; then
12330 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12331 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12333 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12336 $as_echo "no
" >&6; }
12338 elif test $build != $host && test $have_gcc_for_target = yes; then
12339 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12340 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12341 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12344 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12345 # Extract the first word of "nm
", so it can be a program name with args.
12346 set dummy nm; ac_word=$2
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12348 $as_echo_n "checking
for $ac_word...
" >&6; }
12349 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12350 $as_echo_n "(cached
) " >&6
12352 case $NM_FOR_TARGET in
12354 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12358 for as_dir in $gcc_cv_tool_dirs
12361 test -z "$as_dir" && as_dir=.
12362 for ac_exec_ext in '' $ac_executable_extensions; do
12363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12364 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12375 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12376 if test -n "$NM_FOR_TARGET"; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12378 $as_echo "$NM_FOR_TARGET" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12381 $as_echo "no
" >&6; }
12386 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12389 if test -n "$NM_FOR_TARGET"; then
12390 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12391 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12392 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12395 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12396 for ncn_progname in nm; do
12397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12398 set dummy ${ncn_progname}; ac_word=$2
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12400 $as_echo_n "checking
for $ac_word...
" >&6; }
12401 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12402 $as_echo_n "(cached
) " >&6
12404 if test -n "$NM_FOR_TARGET"; then
12405 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12408 for as_dir in $PATH
12411 test -z "$as_dir" && as_dir=.
12412 for ac_exec_ext in '' $ac_executable_extensions; do
12413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12414 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12424 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12425 if test -n "$NM_FOR_TARGET"; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12427 $as_echo "$NM_FOR_TARGET" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12430 $as_echo "no
" >&6; }
12437 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12438 for ncn_progname in nm; do
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12440 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12441 if test -x $with_build_time_tools/${ncn_progname}; then
12442 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12444 $as_echo "yes" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12448 $as_echo "no
" >&6; }
12453 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12454 for ncn_progname in nm; do
12455 if test -n "$ncn_target_tool_prefix"; then
12456 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12457 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12459 $as_echo_n "checking
for $ac_word...
" >&6; }
12460 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12461 $as_echo_n "(cached
) " >&6
12463 if test -n "$NM_FOR_TARGET"; then
12464 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12467 for as_dir in $PATH
12470 test -z "$as_dir" && as_dir=.
12471 for ac_exec_ext in '' $ac_executable_extensions; do
12472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12473 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12483 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12484 if test -n "$NM_FOR_TARGET"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12486 $as_echo "$NM_FOR_TARGET" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12489 $as_echo "no
" >&6; }
12494 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12495 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12496 set dummy ${ncn_progname}; ac_word=$2
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12498 $as_echo_n "checking
for $ac_word...
" >&6; }
12499 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12500 $as_echo_n "(cached
) " >&6
12502 if test -n "$NM_FOR_TARGET"; then
12503 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12506 for as_dir in $PATH
12509 test -z "$as_dir" && as_dir=.
12510 for ac_exec_ext in '' $ac_executable_extensions; do
12511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12512 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12522 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12523 if test -n "$NM_FOR_TARGET"; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12525 $as_echo "$NM_FOR_TARGET" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12528 $as_echo "no
" >&6; }
12533 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12537 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12539 if test $build = $target ; then
12542 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12545 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12549 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12555 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12556 if test -n "$with_build_time_tools"; then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12558 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12559 if test -x $with_build_time_tools/objcopy; then
12560 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12561 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12563 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12566 $as_echo "no
" >&6; }
12568 elif test $build != $host && test $have_gcc_for_target = yes; then
12569 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12570 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12571 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12574 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12575 # Extract the first word of "objcopy
", so it can be a program name with args.
12576 set dummy objcopy; ac_word=$2
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12578 $as_echo_n "checking
for $ac_word...
" >&6; }
12579 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12580 $as_echo_n "(cached
) " >&6
12582 case $OBJCOPY_FOR_TARGET in
12584 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12588 for as_dir in $gcc_cv_tool_dirs
12591 test -z "$as_dir" && as_dir=.
12592 for ac_exec_ext in '' $ac_executable_extensions; do
12593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12594 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12605 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12606 if test -n "$OBJCOPY_FOR_TARGET"; then
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12608 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12611 $as_echo "no
" >&6; }
12616 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12619 if test -n "$OBJCOPY_FOR_TARGET"; then
12620 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12621 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12622 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12625 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12626 for ncn_progname in objcopy; do
12627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12628 set dummy ${ncn_progname}; ac_word=$2
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12630 $as_echo_n "checking
for $ac_word...
" >&6; }
12631 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12632 $as_echo_n "(cached
) " >&6
12634 if test -n "$OBJCOPY_FOR_TARGET"; then
12635 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12638 for as_dir in $PATH
12641 test -z "$as_dir" && as_dir=.
12642 for ac_exec_ext in '' $ac_executable_extensions; do
12643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12644 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12654 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12655 if test -n "$OBJCOPY_FOR_TARGET"; then
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12657 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12660 $as_echo "no
" >&6; }
12667 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12668 for ncn_progname in objcopy; do
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12670 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12671 if test -x $with_build_time_tools/${ncn_progname}; then
12672 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12674 $as_echo "yes" >&6; }
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12678 $as_echo "no
" >&6; }
12683 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12684 for ncn_progname in objcopy; do
12685 if test -n "$ncn_target_tool_prefix"; then
12686 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12687 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12689 $as_echo_n "checking
for $ac_word...
" >&6; }
12690 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12691 $as_echo_n "(cached
) " >&6
12693 if test -n "$OBJCOPY_FOR_TARGET"; then
12694 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12697 for as_dir in $PATH
12700 test -z "$as_dir" && as_dir=.
12701 for ac_exec_ext in '' $ac_executable_extensions; do
12702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12713 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12714 if test -n "$OBJCOPY_FOR_TARGET"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12716 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12719 $as_echo "no
" >&6; }
12724 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12726 set dummy ${ncn_progname}; ac_word=$2
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12728 $as_echo_n "checking
for $ac_word...
" >&6; }
12729 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12730 $as_echo_n "(cached
) " >&6
12732 if test -n "$OBJCOPY_FOR_TARGET"; then
12733 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12736 for as_dir in $PATH
12739 test -z "$as_dir" && as_dir=.
12740 for ac_exec_ext in '' $ac_executable_extensions; do
12741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12742 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12752 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12753 if test -n "$OBJCOPY_FOR_TARGET"; then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12755 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12758 $as_echo "no
" >&6; }
12763 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12767 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12769 if test $build = $target ; then
12770 OBJCOPY_FOR_TARGET="$2"
12772 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12775 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12779 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12785 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12786 if test -n "$with_build_time_tools"; then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12788 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12789 if test -x $with_build_time_tools/objdump; then
12790 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12791 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12793 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12796 $as_echo "no
" >&6; }
12798 elif test $build != $host && test $have_gcc_for_target = yes; then
12799 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12800 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12801 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12804 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12805 # Extract the first word of "objdump
", so it can be a program name with args.
12806 set dummy objdump; ac_word=$2
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12808 $as_echo_n "checking
for $ac_word...
" >&6; }
12809 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12810 $as_echo_n "(cached
) " >&6
12812 case $OBJDUMP_FOR_TARGET in
12814 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12818 for as_dir in $gcc_cv_tool_dirs
12821 test -z "$as_dir" && as_dir=.
12822 for ac_exec_ext in '' $ac_executable_extensions; do
12823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12824 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12835 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12836 if test -n "$OBJDUMP_FOR_TARGET"; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12838 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12841 $as_echo "no
" >&6; }
12846 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12849 if test -n "$OBJDUMP_FOR_TARGET"; then
12850 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12851 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12852 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12855 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12856 for ncn_progname in objdump; do
12857 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12858 set dummy ${ncn_progname}; ac_word=$2
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12860 $as_echo_n "checking
for $ac_word...
" >&6; }
12861 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12862 $as_echo_n "(cached
) " >&6
12864 if test -n "$OBJDUMP_FOR_TARGET"; then
12865 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12868 for as_dir in $PATH
12871 test -z "$as_dir" && as_dir=.
12872 for ac_exec_ext in '' $ac_executable_extensions; do
12873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12874 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12884 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12885 if test -n "$OBJDUMP_FOR_TARGET"; then
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12887 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12890 $as_echo "no
" >&6; }
12897 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12898 for ncn_progname in objdump; do
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12900 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12901 if test -x $with_build_time_tools/${ncn_progname}; then
12902 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12904 $as_echo "yes" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12908 $as_echo "no
" >&6; }
12913 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12914 for ncn_progname in objdump; do
12915 if test -n "$ncn_target_tool_prefix"; then
12916 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12917 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12919 $as_echo_n "checking
for $ac_word...
" >&6; }
12920 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12921 $as_echo_n "(cached
) " >&6
12923 if test -n "$OBJDUMP_FOR_TARGET"; then
12924 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12927 for as_dir in $PATH
12930 test -z "$as_dir" && as_dir=.
12931 for ac_exec_ext in '' $ac_executable_extensions; do
12932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12933 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12943 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12944 if test -n "$OBJDUMP_FOR_TARGET"; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12946 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12949 $as_echo "no
" >&6; }
12954 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12956 set dummy ${ncn_progname}; ac_word=$2
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12958 $as_echo_n "checking
for $ac_word...
" >&6; }
12959 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12960 $as_echo_n "(cached
) " >&6
12962 if test -n "$OBJDUMP_FOR_TARGET"; then
12963 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12966 for as_dir in $PATH
12969 test -z "$as_dir" && as_dir=.
12970 for ac_exec_ext in '' $ac_executable_extensions; do
12971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12972 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12982 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12983 if test -n "$OBJDUMP_FOR_TARGET"; then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12985 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12988 $as_echo "no
" >&6; }
12993 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12997 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12999 if test $build = $target ; then
13000 OBJDUMP_FOR_TARGET="$2"
13002 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13005 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
13009 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13015 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13016 if test -n "$with_build_time_tools"; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
13018 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
13019 if test -x $with_build_time_tools/otool; then
13020 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
13021 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
13023 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13026 $as_echo "no
" >&6; }
13028 elif test $build != $host && test $have_gcc_for_target = yes; then
13029 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
13030 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
13031 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13034 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13035 # Extract the first word of "otool
", so it can be a program name with args.
13036 set dummy otool; ac_word=$2
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13038 $as_echo_n "checking
for $ac_word...
" >&6; }
13039 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
13040 $as_echo_n "(cached
) " >&6
13042 case $OTOOL_FOR_TARGET in
13044 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $gcc_cv_tool_dirs
13051 test -z "$as_dir" && as_dir=.
13052 for ac_exec_ext in '' $ac_executable_extensions; do
13053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13054 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13065 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13066 if test -n "$OTOOL_FOR_TARGET"; then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13068 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13071 $as_echo "no
" >&6; }
13076 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13079 if test -n "$OTOOL_FOR_TARGET"; then
13080 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13081 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13082 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13085 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13086 for ncn_progname in otool; do
13087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13088 set dummy ${ncn_progname}; ac_word=$2
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13090 $as_echo_n "checking
for $ac_word...
" >&6; }
13091 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13092 $as_echo_n "(cached
) " >&6
13094 if test -n "$OTOOL_FOR_TARGET"; then
13095 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13098 for as_dir in $PATH
13101 test -z "$as_dir" && as_dir=.
13102 for ac_exec_ext in '' $ac_executable_extensions; do
13103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13104 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13114 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13115 if test -n "$OTOOL_FOR_TARGET"; then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13117 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13120 $as_echo "no
" >&6; }
13127 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13128 for ncn_progname in otool; do
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13130 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13131 if test -x $with_build_time_tools/${ncn_progname}; then
13132 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13134 $as_echo "yes" >&6; }
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13138 $as_echo "no
" >&6; }
13143 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13144 for ncn_progname in otool; do
13145 if test -n "$ncn_target_tool_prefix"; then
13146 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13147 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13149 $as_echo_n "checking
for $ac_word...
" >&6; }
13150 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13151 $as_echo_n "(cached
) " >&6
13153 if test -n "$OTOOL_FOR_TARGET"; then
13154 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13157 for as_dir in $PATH
13160 test -z "$as_dir" && as_dir=.
13161 for ac_exec_ext in '' $ac_executable_extensions; do
13162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13163 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13173 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13174 if test -n "$OTOOL_FOR_TARGET"; then
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13176 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13179 $as_echo "no
" >&6; }
13184 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
13185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13186 set dummy ${ncn_progname}; ac_word=$2
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13188 $as_echo_n "checking
for $ac_word...
" >&6; }
13189 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13190 $as_echo_n "(cached
) " >&6
13192 if test -n "$OTOOL_FOR_TARGET"; then
13193 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13196 for as_dir in $PATH
13199 test -z "$as_dir" && as_dir=.
13200 for ac_exec_ext in '' $ac_executable_extensions; do
13201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13202 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13212 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13213 if test -n "$OTOOL_FOR_TARGET"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13215 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13218 $as_echo "no
" >&6; }
13223 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
13227 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
13229 if test $build = $target ; then
13230 OTOOL_FOR_TARGET="$2"
13232 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13235 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
13239 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13245 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13246 if test -n "$with_build_time_tools"; then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13248 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13249 if test -x $with_build_time_tools/ranlib; then
13250 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13251 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13253 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13256 $as_echo "no
" >&6; }
13258 elif test $build != $host && test $have_gcc_for_target = yes; then
13259 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13260 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13261 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13264 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13265 # Extract the first word of "ranlib
", so it can be a program name with args.
13266 set dummy ranlib; ac_word=$2
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13268 $as_echo_n "checking
for $ac_word...
" >&6; }
13269 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13270 $as_echo_n "(cached
) " >&6
13272 case $RANLIB_FOR_TARGET in
13274 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13278 for as_dir in $gcc_cv_tool_dirs
13281 test -z "$as_dir" && as_dir=.
13282 for ac_exec_ext in '' $ac_executable_extensions; do
13283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13284 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13295 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13296 if test -n "$RANLIB_FOR_TARGET"; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13298 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13301 $as_echo "no
" >&6; }
13306 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13309 if test -n "$RANLIB_FOR_TARGET"; then
13310 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13311 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13312 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13315 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13316 for ncn_progname in ranlib; do
13317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13318 set dummy ${ncn_progname}; ac_word=$2
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13320 $as_echo_n "checking
for $ac_word...
" >&6; }
13321 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13322 $as_echo_n "(cached
) " >&6
13324 if test -n "$RANLIB_FOR_TARGET"; then
13325 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13328 for as_dir in $PATH
13331 test -z "$as_dir" && as_dir=.
13332 for ac_exec_ext in '' $ac_executable_extensions; do
13333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13334 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13344 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13345 if test -n "$RANLIB_FOR_TARGET"; then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13347 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13350 $as_echo "no
" >&6; }
13357 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13358 for ncn_progname in ranlib; do
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13360 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13361 if test -x $with_build_time_tools/${ncn_progname}; then
13362 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13364 $as_echo "yes" >&6; }
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13368 $as_echo "no
" >&6; }
13373 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13374 for ncn_progname in ranlib; do
13375 if test -n "$ncn_target_tool_prefix"; then
13376 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13377 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13379 $as_echo_n "checking
for $ac_word...
" >&6; }
13380 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13381 $as_echo_n "(cached
) " >&6
13383 if test -n "$RANLIB_FOR_TARGET"; then
13384 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13390 test -z "$as_dir" && as_dir=.
13391 for ac_exec_ext in '' $ac_executable_extensions; do
13392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13393 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13403 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13404 if test -n "$RANLIB_FOR_TARGET"; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13406 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13409 $as_echo "no
" >&6; }
13414 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13416 set dummy ${ncn_progname}; ac_word=$2
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13418 $as_echo_n "checking
for $ac_word...
" >&6; }
13419 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13420 $as_echo_n "(cached
) " >&6
13422 if test -n "$RANLIB_FOR_TARGET"; then
13423 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13426 for as_dir in $PATH
13429 test -z "$as_dir" && as_dir=.
13430 for ac_exec_ext in '' $ac_executable_extensions; do
13431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13432 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13442 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13443 if test -n "$RANLIB_FOR_TARGET"; then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13445 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13448 $as_echo "no
" >&6; }
13453 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13457 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13459 if test $build = $target ; then
13460 RANLIB_FOR_TARGET="$2"
13462 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13465 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13469 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13475 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13476 if test -n "$with_build_time_tools"; then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13478 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13479 if test -x $with_build_time_tools/readelf; then
13480 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13481 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13483 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13486 $as_echo "no
" >&6; }
13488 elif test $build != $host && test $have_gcc_for_target = yes; then
13489 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13490 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13491 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13494 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13495 # Extract the first word of "readelf
", so it can be a program name with args.
13496 set dummy readelf; ac_word=$2
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13498 $as_echo_n "checking
for $ac_word...
" >&6; }
13499 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13500 $as_echo_n "(cached
) " >&6
13502 case $READELF_FOR_TARGET in
13504 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13508 for as_dir in $gcc_cv_tool_dirs
13511 test -z "$as_dir" && as_dir=.
13512 for ac_exec_ext in '' $ac_executable_extensions; do
13513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13514 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13525 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13526 if test -n "$READELF_FOR_TARGET"; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13528 $as_echo "$READELF_FOR_TARGET" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13531 $as_echo "no
" >&6; }
13536 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13539 if test -n "$READELF_FOR_TARGET"; then
13540 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13541 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13542 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13545 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13546 for ncn_progname in readelf; do
13547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13548 set dummy ${ncn_progname}; ac_word=$2
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13550 $as_echo_n "checking
for $ac_word...
" >&6; }
13551 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13552 $as_echo_n "(cached
) " >&6
13554 if test -n "$READELF_FOR_TARGET"; then
13555 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13558 for as_dir in $PATH
13561 test -z "$as_dir" && as_dir=.
13562 for ac_exec_ext in '' $ac_executable_extensions; do
13563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13564 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13574 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13575 if test -n "$READELF_FOR_TARGET"; then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13577 $as_echo "$READELF_FOR_TARGET" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13580 $as_echo "no
" >&6; }
13587 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13588 for ncn_progname in readelf; do
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13590 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13591 if test -x $with_build_time_tools/${ncn_progname}; then
13592 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13594 $as_echo "yes" >&6; }
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13598 $as_echo "no
" >&6; }
13603 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13604 for ncn_progname in readelf; do
13605 if test -n "$ncn_target_tool_prefix"; then
13606 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13607 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13609 $as_echo_n "checking
for $ac_word...
" >&6; }
13610 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13611 $as_echo_n "(cached
) " >&6
13613 if test -n "$READELF_FOR_TARGET"; then
13614 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13617 for as_dir in $PATH
13620 test -z "$as_dir" && as_dir=.
13621 for ac_exec_ext in '' $ac_executable_extensions; do
13622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13623 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13633 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13634 if test -n "$READELF_FOR_TARGET"; then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13636 $as_echo "$READELF_FOR_TARGET" >&6; }
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13639 $as_echo "no
" >&6; }
13644 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13645 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13646 set dummy ${ncn_progname}; ac_word=$2
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13648 $as_echo_n "checking
for $ac_word...
" >&6; }
13649 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13650 $as_echo_n "(cached
) " >&6
13652 if test -n "$READELF_FOR_TARGET"; then
13653 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13656 for as_dir in $PATH
13659 test -z "$as_dir" && as_dir=.
13660 for ac_exec_ext in '' $ac_executable_extensions; do
13661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13662 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13672 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13673 if test -n "$READELF_FOR_TARGET"; then
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13675 $as_echo "$READELF_FOR_TARGET" >&6; }
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13678 $as_echo "no
" >&6; }
13683 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13687 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13689 if test $build = $target ; then
13690 READELF_FOR_TARGET="$2"
13692 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13695 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13699 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13705 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13706 if test -n "$with_build_time_tools"; then
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13708 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13709 if test -x $with_build_time_tools/strip; then
13710 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13711 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13713 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13716 $as_echo "no
" >&6; }
13718 elif test $build != $host && test $have_gcc_for_target = yes; then
13719 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13720 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13721 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13724 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13725 # Extract the first word of "strip
", so it can be a program name with args.
13726 set dummy strip; ac_word=$2
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13728 $as_echo_n "checking
for $ac_word...
" >&6; }
13729 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13730 $as_echo_n "(cached
) " >&6
13732 case $STRIP_FOR_TARGET in
13734 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13738 for as_dir in $gcc_cv_tool_dirs
13741 test -z "$as_dir" && as_dir=.
13742 for ac_exec_ext in '' $ac_executable_extensions; do
13743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13744 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13755 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13756 if test -n "$STRIP_FOR_TARGET"; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13758 $as_echo "$STRIP_FOR_TARGET" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13761 $as_echo "no
" >&6; }
13766 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13769 if test -n "$STRIP_FOR_TARGET"; then
13770 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13771 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13772 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13775 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13776 for ncn_progname in strip; do
13777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13778 set dummy ${ncn_progname}; ac_word=$2
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13780 $as_echo_n "checking
for $ac_word...
" >&6; }
13781 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13782 $as_echo_n "(cached
) " >&6
13784 if test -n "$STRIP_FOR_TARGET"; then
13785 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13788 for as_dir in $PATH
13791 test -z "$as_dir" && as_dir=.
13792 for ac_exec_ext in '' $ac_executable_extensions; do
13793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13794 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13804 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13805 if test -n "$STRIP_FOR_TARGET"; then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13807 $as_echo "$STRIP_FOR_TARGET" >&6; }
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13810 $as_echo "no
" >&6; }
13817 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13818 for ncn_progname in strip; do
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13820 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13821 if test -x $with_build_time_tools/${ncn_progname}; then
13822 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13824 $as_echo "yes" >&6; }
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13828 $as_echo "no
" >&6; }
13833 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13834 for ncn_progname in strip; do
13835 if test -n "$ncn_target_tool_prefix"; then
13836 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13837 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13839 $as_echo_n "checking
for $ac_word...
" >&6; }
13840 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13841 $as_echo_n "(cached
) " >&6
13843 if test -n "$STRIP_FOR_TARGET"; then
13844 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13847 for as_dir in $PATH
13850 test -z "$as_dir" && as_dir=.
13851 for ac_exec_ext in '' $ac_executable_extensions; do
13852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13853 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13863 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13864 if test -n "$STRIP_FOR_TARGET"; then
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13866 $as_echo "$STRIP_FOR_TARGET" >&6; }
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13869 $as_echo "no
" >&6; }
13874 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13876 set dummy ${ncn_progname}; ac_word=$2
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13878 $as_echo_n "checking
for $ac_word...
" >&6; }
13879 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13880 $as_echo_n "(cached
) " >&6
13882 if test -n "$STRIP_FOR_TARGET"; then
13883 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13886 for as_dir in $PATH
13889 test -z "$as_dir" && as_dir=.
13890 for ac_exec_ext in '' $ac_executable_extensions; do
13891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13892 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13902 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13903 if test -n "$STRIP_FOR_TARGET"; then
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13905 $as_echo "$STRIP_FOR_TARGET" >&6; }
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13908 $as_echo "no
" >&6; }
13913 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13917 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13919 if test $build = $target ; then
13920 STRIP_FOR_TARGET="$2"
13922 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13925 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13929 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13935 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13936 if test -n "$with_build_time_tools"; then
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13938 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13939 if test -x $with_build_time_tools/windres; then
13940 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13941 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13943 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13946 $as_echo "no
" >&6; }
13948 elif test $build != $host && test $have_gcc_for_target = yes; then
13949 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13950 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13951 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13954 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13955 # Extract the first word of "windres
", so it can be a program name with args.
13956 set dummy windres; ac_word=$2
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13958 $as_echo_n "checking
for $ac_word...
" >&6; }
13959 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13960 $as_echo_n "(cached
) " >&6
13962 case $WINDRES_FOR_TARGET in
13964 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13968 for as_dir in $gcc_cv_tool_dirs
13971 test -z "$as_dir" && as_dir=.
13972 for ac_exec_ext in '' $ac_executable_extensions; do
13973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13985 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13986 if test -n "$WINDRES_FOR_TARGET"; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13988 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13991 $as_echo "no
" >&6; }
13996 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13999 if test -n "$WINDRES_FOR_TARGET"; then
14000 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
14001 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14002 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14005 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14006 for ncn_progname in windres; do
14007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14008 set dummy ${ncn_progname}; ac_word=$2
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14010 $as_echo_n "checking
for $ac_word...
" >&6; }
14011 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14012 $as_echo_n "(cached
) " >&6
14014 if test -n "$WINDRES_FOR_TARGET"; then
14015 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14018 for as_dir in $PATH
14021 test -z "$as_dir" && as_dir=.
14022 for ac_exec_ext in '' $ac_executable_extensions; do
14023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14024 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14034 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14035 if test -n "$WINDRES_FOR_TARGET"; then
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14037 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14040 $as_echo "no
" >&6; }
14047 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
14048 for ncn_progname in windres; do
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14050 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14051 if test -x $with_build_time_tools/${ncn_progname}; then
14052 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14054 $as_echo "yes" >&6; }
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14058 $as_echo "no
" >&6; }
14063 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14064 for ncn_progname in windres; do
14065 if test -n "$ncn_target_tool_prefix"; then
14066 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14067 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14069 $as_echo_n "checking
for $ac_word...
" >&6; }
14070 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14071 $as_echo_n "(cached
) " >&6
14073 if test -n "$WINDRES_FOR_TARGET"; then
14074 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14083 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14093 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14094 if test -n "$WINDRES_FOR_TARGET"; then
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14096 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14099 $as_echo "no
" >&6; }
14104 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14105 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14106 set dummy ${ncn_progname}; ac_word=$2
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14108 $as_echo_n "checking
for $ac_word...
" >&6; }
14109 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14110 $as_echo_n "(cached
) " >&6
14112 if test -n "$WINDRES_FOR_TARGET"; then
14113 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14116 for as_dir in $PATH
14119 test -z "$as_dir" && as_dir=.
14120 for ac_exec_ext in '' $ac_executable_extensions; do
14121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14122 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14132 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14133 if test -n "$WINDRES_FOR_TARGET"; then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14135 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14138 $as_echo "no
" >&6; }
14143 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14147 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14149 if test $build = $target ; then
14150 WINDRES_FOR_TARGET="$2"
14152 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14155 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14159 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14165 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14166 if test -n "$with_build_time_tools"; then
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14168 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14169 if test -x $with_build_time_tools/windmc; then
14170 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14171 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14173 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14176 $as_echo "no
" >&6; }
14178 elif test $build != $host && test $have_gcc_for_target = yes; then
14179 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14180 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14181 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14184 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14185 # Extract the first word of "windmc
", so it can be a program name with args.
14186 set dummy windmc; ac_word=$2
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14188 $as_echo_n "checking
for $ac_word...
" >&6; }
14189 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14190 $as_echo_n "(cached
) " >&6
14192 case $WINDMC_FOR_TARGET in
14194 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14198 for as_dir in $gcc_cv_tool_dirs
14201 test -z "$as_dir" && as_dir=.
14202 for ac_exec_ext in '' $ac_executable_extensions; do
14203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14204 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14215 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14216 if test -n "$WINDMC_FOR_TARGET"; then
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14218 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14221 $as_echo "no
" >&6; }
14226 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14229 if test -n "$WINDMC_FOR_TARGET"; then
14230 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14231 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14232 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14235 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14236 for ncn_progname in windmc; do
14237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14238 set dummy ${ncn_progname}; ac_word=$2
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14240 $as_echo_n "checking
for $ac_word...
" >&6; }
14241 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14242 $as_echo_n "(cached
) " >&6
14244 if test -n "$WINDMC_FOR_TARGET"; then
14245 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14248 for as_dir in $PATH
14251 test -z "$as_dir" && as_dir=.
14252 for ac_exec_ext in '' $ac_executable_extensions; do
14253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14254 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14264 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14265 if test -n "$WINDMC_FOR_TARGET"; then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14267 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14270 $as_echo "no
" >&6; }
14277 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14278 for ncn_progname in windmc; do
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14280 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14281 if test -x $with_build_time_tools/${ncn_progname}; then
14282 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14284 $as_echo "yes" >&6; }
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14288 $as_echo "no
" >&6; }
14293 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14294 for ncn_progname in windmc; do
14295 if test -n "$ncn_target_tool_prefix"; then
14296 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14297 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14299 $as_echo_n "checking
for $ac_word...
" >&6; }
14300 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14301 $as_echo_n "(cached
) " >&6
14303 if test -n "$WINDMC_FOR_TARGET"; then
14304 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14307 for as_dir in $PATH
14310 test -z "$as_dir" && as_dir=.
14311 for ac_exec_ext in '' $ac_executable_extensions; do
14312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14313 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14323 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14324 if test -n "$WINDMC_FOR_TARGET"; then
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14326 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14329 $as_echo "no
" >&6; }
14334 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14336 set dummy ${ncn_progname}; ac_word=$2
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14338 $as_echo_n "checking
for $ac_word...
" >&6; }
14339 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14340 $as_echo_n "(cached
) " >&6
14342 if test -n "$WINDMC_FOR_TARGET"; then
14343 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14346 for as_dir in $PATH
14349 test -z "$as_dir" && as_dir=.
14350 for ac_exec_ext in '' $ac_executable_extensions; do
14351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14352 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14362 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14363 if test -n "$WINDMC_FOR_TARGET"; then
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14365 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14368 $as_echo "no
" >&6; }
14373 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14377 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14379 if test $build = $target ; then
14380 WINDMC_FOR_TARGET="$2"
14382 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14385 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14389 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14393 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14396 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14397 if test "x
${build}" != "x
${host}" ; then
14398 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14399 # We already found the complete path
14400 ac_dir=`dirname $AR_FOR_TARGET`
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14402 $as_echo "pre-installed
in $ac_dir" >&6; }
14404 # Canadian cross, just use what we found
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14406 $as_echo "pre-installed
" >&6; }
14410 case " ${configdirs} " in
14415 if test $ok = yes; then
14416 # An in-tree tool is available and we can use it
14417 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14419 $as_echo "just compiled
" >&6; }
14420 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14421 # We already found the complete path
14422 ac_dir=`dirname $AR_FOR_TARGET`
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14424 $as_echo "pre-installed
in $ac_dir" >&6; }
14425 elif test "x
$target" = "x
$host"; then
14426 # We can use an host tool
14427 AR_FOR_TARGET='$(AR)'
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14429 $as_echo "host tool
" >&6; }
14431 # We need a cross tool
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14433 $as_echo "pre-installed
" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14438 $as_echo_n "checking where to
find the target as...
" >&6; }
14439 if test "x
${build}" != "x
${host}" ; then
14440 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14441 # We already found the complete path
14442 ac_dir=`dirname $AS_FOR_TARGET`
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14444 $as_echo "pre-installed
in $ac_dir" >&6; }
14446 # Canadian cross, just use what we found
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14448 $as_echo "pre-installed
" >&6; }
14452 case " ${configdirs} " in
14457 if test $ok = yes; then
14458 # An in-tree tool is available and we can use it
14459 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14461 $as_echo "just compiled
" >&6; }
14462 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14463 # We already found the complete path
14464 ac_dir=`dirname $AS_FOR_TARGET`
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14466 $as_echo "pre-installed
in $ac_dir" >&6; }
14467 elif test "x
$target" = "x
$host"; then
14468 # We can use an host tool
14469 AS_FOR_TARGET='$(AS)'
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14471 $as_echo "host tool
" >&6; }
14473 # We need a cross tool
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14475 $as_echo "pre-installed
" >&6; }
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14480 $as_echo_n "checking where to
find the target cc...
" >&6; }
14481 if test "x
${build}" != "x
${host}" ; then
14482 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14483 # We already found the complete path
14484 ac_dir=`dirname $CC_FOR_TARGET`
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14486 $as_echo "pre-installed
in $ac_dir" >&6; }
14488 # Canadian cross, just use what we found
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14490 $as_echo "pre-installed
" >&6; }
14494 case " ${configdirs} " in
14499 if test $ok = yes; then
14500 # An in-tree tool is available and we can use it
14501 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14503 $as_echo "just compiled
" >&6; }
14504 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14505 # We already found the complete path
14506 ac_dir=`dirname $CC_FOR_TARGET`
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14508 $as_echo "pre-installed
in $ac_dir" >&6; }
14509 elif test "x
$target" = "x
$host"; then
14510 # We can use an host tool
14511 CC_FOR_TARGET='$(CC)'
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14513 $as_echo "host tool
" >&6; }
14515 # We need a cross tool
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14517 $as_echo "pre-installed
" >&6; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14522 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14523 if test "x
${build}" != "x
${host}" ; then
14524 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14525 # We already found the complete path
14526 ac_dir=`dirname $CXX_FOR_TARGET`
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14528 $as_echo "pre-installed
in $ac_dir" >&6; }
14530 # Canadian cross, just use what we found
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14532 $as_echo "pre-installed
" >&6; }
14536 case " ${configdirs} " in
14540 case ,${enable_languages}, in
14544 if test $ok = yes; then
14545 # An in-tree tool is available and we can use it
14546 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'
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14548 $as_echo "just compiled
" >&6; }
14549 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14550 # We already found the complete path
14551 ac_dir=`dirname $CXX_FOR_TARGET`
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14553 $as_echo "pre-installed
in $ac_dir" >&6; }
14554 elif test "x
$target" = "x
$host"; then
14555 # We can use an host tool
14556 CXX_FOR_TARGET='$(CXX)'
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14558 $as_echo "host tool
" >&6; }
14560 # We need a cross tool
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14562 $as_echo "pre-installed
" >&6; }
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14567 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14568 if test "x
${build}" != "x
${host}" ; then
14569 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14570 # We already found the complete path
14571 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14573 $as_echo "pre-installed
in $ac_dir" >&6; }
14575 # Canadian cross, just use what we found
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14577 $as_echo "pre-installed
" >&6; }
14581 case " ${configdirs} " in
14585 case ,${enable_languages}, in
14589 if test $ok = yes; then
14590 # An in-tree tool is available and we can use it
14591 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'
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14593 $as_echo "just compiled
" >&6; }
14594 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14595 # We already found the complete path
14596 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14598 $as_echo "pre-installed
in $ac_dir" >&6; }
14599 elif test "x
$target" = "x
$host"; then
14600 # We can use an host tool
14601 RAW_CXX_FOR_TARGET='$(CXX)'
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14603 $as_echo "host tool
" >&6; }
14605 # We need a cross tool
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14607 $as_echo "pre-installed
" >&6; }
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14612 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14613 if test "x
${build}" != "x
${host}" ; then
14614 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14615 # We already found the complete path
14616 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14618 $as_echo "pre-installed
in $ac_dir" >&6; }
14620 # Canadian cross, just use what we found
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14622 $as_echo "pre-installed
" >&6; }
14626 case " ${configdirs} " in
14631 if test $ok = yes; then
14632 # An in-tree tool is available and we can use it
14633 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14635 $as_echo "just compiled
" >&6; }
14636 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14637 # We already found the complete path
14638 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14640 $as_echo "pre-installed
in $ac_dir" >&6; }
14641 elif test "x
$target" = "x
$host"; then
14642 # We can use an host tool
14643 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14645 $as_echo "host tool
" >&6; }
14647 # We need a cross tool
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14649 $as_echo "pre-installed
" >&6; }
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14654 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14655 if test "x
${build}" != "x
${host}" ; then
14656 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14657 # We already found the complete path
14658 ac_dir=`dirname $GCC_FOR_TARGET`
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14660 $as_echo "pre-installed
in $ac_dir" >&6; }
14662 # Canadian cross, just use what we found
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14664 $as_echo "pre-installed
" >&6; }
14668 case " ${configdirs} " in
14673 if test $ok = yes; then
14674 # An in-tree tool is available and we can use it
14675 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14677 $as_echo "just compiled
" >&6; }
14678 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14679 # We already found the complete path
14680 ac_dir=`dirname $GCC_FOR_TARGET`
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14682 $as_echo "pre-installed
in $ac_dir" >&6; }
14683 elif test "x
$target" = "x
$host"; then
14684 # We can use an host tool
14685 GCC_FOR_TARGET='$()'
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14687 $as_echo "host tool
" >&6; }
14689 # We need a cross tool
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14691 $as_echo "pre-installed
" >&6; }
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14696 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14697 if test "x
${build}" != "x
${host}" ; then
14698 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14699 # We already found the complete path
14700 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14702 $as_echo "pre-installed
in $ac_dir" >&6; }
14704 # Canadian cross, just use what we found
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14706 $as_echo "pre-installed
" >&6; }
14710 case " ${configdirs} " in
14714 case ,${enable_languages}, in
14718 if test $ok = yes; then
14719 # An in-tree tool is available and we can use it
14720 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14722 $as_echo "just compiled
" >&6; }
14723 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14724 # We already found the complete path
14725 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14727 $as_echo "pre-installed
in $ac_dir" >&6; }
14728 elif test "x
$target" = "x
$host"; then
14729 # We can use an host tool
14730 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14732 $as_echo "host tool
" >&6; }
14734 # We need a cross tool
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14736 $as_echo "pre-installed
" >&6; }
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14741 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14742 if test "x
${build}" != "x
${host}" ; then
14743 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14744 # We already found the complete path
14745 ac_dir=`dirname $GOC_FOR_TARGET`
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14747 $as_echo "pre-installed
in $ac_dir" >&6; }
14749 # Canadian cross, just use what we found
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14751 $as_echo "pre-installed
" >&6; }
14755 case " ${configdirs} " in
14759 case ,${enable_languages}, in
14763 if test $ok = yes; then
14764 # An in-tree tool is available and we can use it
14765 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14767 $as_echo "just compiled
" >&6; }
14768 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14769 # We already found the complete path
14770 ac_dir=`dirname $GOC_FOR_TARGET`
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14772 $as_echo "pre-installed
in $ac_dir" >&6; }
14773 elif test "x
$target" = "x
$host"; then
14774 # We can use an host tool
14775 GOC_FOR_TARGET='$(GOC)'
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14777 $as_echo "host tool
" >&6; }
14779 # We need a cross tool
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14781 $as_echo "pre-installed
" >&6; }
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
14786 $as_echo_n "checking where to
find the target gdc...
" >&6; }
14787 if test "x
${build}" != "x
${host}" ; then
14788 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14789 # We already found the complete path
14790 ac_dir=`dirname $GDC_FOR_TARGET`
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14792 $as_echo "pre-installed
in $ac_dir" >&6; }
14794 # Canadian cross, just use what we found
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14796 $as_echo "pre-installed
" >&6; }
14800 case " ${configdirs} " in
14804 case ,${enable_languages}, in
14808 if test $ok = yes; then
14809 # An in-tree tool is available and we can use it
14810 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14812 $as_echo "just compiled
" >&6; }
14813 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14814 # We already found the complete path
14815 ac_dir=`dirname $GDC_FOR_TARGET`
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14817 $as_echo "pre-installed
in $ac_dir" >&6; }
14818 elif test "x
$target" = "x
$host"; then
14819 # We can use an host tool
14820 GDC_FOR_TARGET='$(GDC)'
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14822 $as_echo "host tool
" >&6; }
14824 # We need a cross tool
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14826 $as_echo "pre-installed
" >&6; }
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14831 $as_echo_n "checking where to
find the target ld...
" >&6; }
14832 if test "x
${build}" != "x
${host}" ; then
14833 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14834 # We already found the complete path
14835 ac_dir=`dirname $LD_FOR_TARGET`
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14837 $as_echo "pre-installed
in $ac_dir" >&6; }
14839 # Canadian cross, just use what we found
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14841 $as_echo "pre-installed
" >&6; }
14845 case " ${configdirs} " in
14850 if test $ok = yes; then
14851 # An in-tree tool is available and we can use it
14852 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14854 $as_echo "just compiled
" >&6; }
14855 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14856 # We already found the complete path
14857 ac_dir=`dirname $LD_FOR_TARGET`
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14859 $as_echo "pre-installed
in $ac_dir" >&6; }
14860 elif test "x
$target" = "x
$host"; then
14861 # We can use an host tool
14862 LD_FOR_TARGET='$(LD)'
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14864 $as_echo "host tool
" >&6; }
14866 # We need a cross tool
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14868 $as_echo "pre-installed
" >&6; }
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14873 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14874 if test "x
${build}" != "x
${host}" ; then
14875 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14876 # We already found the complete path
14877 ac_dir=`dirname $LIPO_FOR_TARGET`
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14879 $as_echo "pre-installed
in $ac_dir" >&6; }
14881 # Canadian cross, just use what we found
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14883 $as_echo "pre-installed
" >&6; }
14886 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14887 # We already found the complete path
14888 ac_dir=`dirname $LIPO_FOR_TARGET`
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14890 $as_echo "pre-installed
in $ac_dir" >&6; }
14891 elif test "x
$target" = "x
$host"; then
14892 # We can use an host tool
14893 LIPO_FOR_TARGET='$(LIPO)'
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14895 $as_echo "host tool
" >&6; }
14897 # We need a cross tool
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14899 $as_echo "pre-installed
" >&6; }
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14904 $as_echo_n "checking where to
find the target nm...
" >&6; }
14905 if test "x
${build}" != "x
${host}" ; then
14906 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14907 # We already found the complete path
14908 ac_dir=`dirname $NM_FOR_TARGET`
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14910 $as_echo "pre-installed
in $ac_dir" >&6; }
14912 # Canadian cross, just use what we found
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14914 $as_echo "pre-installed
" >&6; }
14918 case " ${configdirs} " in
14923 if test $ok = yes; then
14924 # An in-tree tool is available and we can use it
14925 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14927 $as_echo "just compiled
" >&6; }
14928 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14929 # We already found the complete path
14930 ac_dir=`dirname $NM_FOR_TARGET`
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14932 $as_echo "pre-installed
in $ac_dir" >&6; }
14933 elif test "x
$target" = "x
$host"; then
14934 # We can use an host tool
14935 NM_FOR_TARGET='$(NM)'
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14937 $as_echo "host tool
" >&6; }
14939 # We need a cross tool
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14941 $as_echo "pre-installed
" >&6; }
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14946 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14947 if test "x
${build}" != "x
${host}" ; then
14948 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14949 # We already found the complete path
14950 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14952 $as_echo "pre-installed
in $ac_dir" >&6; }
14954 # Canadian cross, just use what we found
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14956 $as_echo "pre-installed
" >&6; }
14960 case " ${configdirs} " in
14965 if test $ok = yes; then
14966 # An in-tree tool is available and we can use it
14967 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14969 $as_echo "just compiled
" >&6; }
14970 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14971 # We already found the complete path
14972 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14974 $as_echo "pre-installed
in $ac_dir" >&6; }
14975 elif test "x
$target" = "x
$host"; then
14976 # We can use an host tool
14977 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14979 $as_echo "host tool
" >&6; }
14981 # We need a cross tool
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14983 $as_echo "pre-installed
" >&6; }
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14988 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14989 if test "x
${build}" != "x
${host}" ; then
14990 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14991 # We already found the complete path
14992 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14994 $as_echo "pre-installed
in $ac_dir" >&6; }
14996 # Canadian cross, just use what we found
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14998 $as_echo "pre-installed
" >&6; }
15002 case " ${configdirs} " in
15007 if test $ok = yes; then
15008 # An in-tree tool is available and we can use it
15009 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15011 $as_echo "just compiled
" >&6; }
15012 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
15013 # We already found the complete path
15014 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15016 $as_echo "pre-installed
in $ac_dir" >&6; }
15017 elif test "x
$target" = "x
$host"; then
15018 # We can use an host tool
15019 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15021 $as_echo "host tool
" >&6; }
15023 # We need a cross tool
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15025 $as_echo "pre-installed
" >&6; }
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
15030 $as_echo_n "checking where to
find the target otool...
" >&6; }
15031 if test "x
${build}" != "x
${host}" ; then
15032 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15033 # We already found the complete path
15034 ac_dir=`dirname $OTOOL_FOR_TARGET`
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15036 $as_echo "pre-installed
in $ac_dir" >&6; }
15038 # Canadian cross, just use what we found
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15040 $as_echo "pre-installed
" >&6; }
15043 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15044 # We already found the complete path
15045 ac_dir=`dirname $OTOOL_FOR_TARGET`
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15047 $as_echo "pre-installed
in $ac_dir" >&6; }
15048 elif test "x
$target" = "x
$host"; then
15049 # We can use an host tool
15050 OTOOL_FOR_TARGET='$(OTOOL)'
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15052 $as_echo "host tool
" >&6; }
15054 # We need a cross tool
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15056 $as_echo "pre-installed
" >&6; }
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
15061 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
15062 if test "x
${build}" != "x
${host}" ; then
15063 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15064 # We already found the complete path
15065 ac_dir=`dirname $RANLIB_FOR_TARGET`
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15067 $as_echo "pre-installed
in $ac_dir" >&6; }
15069 # Canadian cross, just use what we found
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15071 $as_echo "pre-installed
" >&6; }
15075 case " ${configdirs} " in
15080 if test $ok = yes; then
15081 # An in-tree tool is available and we can use it
15082 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15084 $as_echo "just compiled
" >&6; }
15085 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15086 # We already found the complete path
15087 ac_dir=`dirname $RANLIB_FOR_TARGET`
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15089 $as_echo "pre-installed
in $ac_dir" >&6; }
15090 elif test "x
$target" = "x
$host"; then
15091 # We can use an host tool
15092 RANLIB_FOR_TARGET='$(RANLIB)'
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15094 $as_echo "host tool
" >&6; }
15096 # We need a cross tool
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15098 $as_echo "pre-installed
" >&6; }
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
15103 $as_echo_n "checking where to
find the target readelf...
" >&6; }
15104 if test "x
${build}" != "x
${host}" ; then
15105 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15106 # We already found the complete path
15107 ac_dir=`dirname $READELF_FOR_TARGET`
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15109 $as_echo "pre-installed
in $ac_dir" >&6; }
15111 # Canadian cross, just use what we found
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15113 $as_echo "pre-installed
" >&6; }
15117 case " ${configdirs} " in
15122 if test $ok = yes; then
15123 # An in-tree tool is available and we can use it
15124 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15126 $as_echo "just compiled
" >&6; }
15127 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15128 # We already found the complete path
15129 ac_dir=`dirname $READELF_FOR_TARGET`
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15131 $as_echo "pre-installed
in $ac_dir" >&6; }
15132 elif test "x
$target" = "x
$host"; then
15133 # We can use an host tool
15134 READELF_FOR_TARGET='$(READELF)'
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15136 $as_echo "host tool
" >&6; }
15138 # We need a cross tool
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15140 $as_echo "pre-installed
" >&6; }
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
15145 $as_echo_n "checking where to
find the target strip...
" >&6; }
15146 if test "x
${build}" != "x
${host}" ; then
15147 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15148 # We already found the complete path
15149 ac_dir=`dirname $STRIP_FOR_TARGET`
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15151 $as_echo "pre-installed
in $ac_dir" >&6; }
15153 # Canadian cross, just use what we found
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15155 $as_echo "pre-installed
" >&6; }
15159 case " ${configdirs} " in
15164 if test $ok = yes; then
15165 # An in-tree tool is available and we can use it
15166 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15168 $as_echo "just compiled
" >&6; }
15169 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15170 # We already found the complete path
15171 ac_dir=`dirname $STRIP_FOR_TARGET`
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15173 $as_echo "pre-installed
in $ac_dir" >&6; }
15174 elif test "x
$target" = "x
$host"; then
15175 # We can use an host tool
15176 STRIP_FOR_TARGET='$(STRIP)'
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15178 $as_echo "host tool
" >&6; }
15180 # We need a cross tool
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15182 $as_echo "pre-installed
" >&6; }
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15187 $as_echo_n "checking where to
find the target windres...
" >&6; }
15188 if test "x
${build}" != "x
${host}" ; then
15189 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15190 # We already found the complete path
15191 ac_dir=`dirname $WINDRES_FOR_TARGET`
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15193 $as_echo "pre-installed
in $ac_dir" >&6; }
15195 # Canadian cross, just use what we found
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15197 $as_echo "pre-installed
" >&6; }
15201 case " ${configdirs} " in
15206 if test $ok = yes; then
15207 # An in-tree tool is available and we can use it
15208 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15210 $as_echo "just compiled
" >&6; }
15211 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15212 # We already found the complete path
15213 ac_dir=`dirname $WINDRES_FOR_TARGET`
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15215 $as_echo "pre-installed
in $ac_dir" >&6; }
15216 elif test "x
$target" = "x
$host"; then
15217 # We can use an host tool
15218 WINDRES_FOR_TARGET='$(WINDRES)'
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15220 $as_echo "host tool
" >&6; }
15222 # We need a cross tool
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15224 $as_echo "pre-installed
" >&6; }
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15229 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15230 if test "x
${build}" != "x
${host}" ; then
15231 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15232 # We already found the complete path
15233 ac_dir=`dirname $WINDMC_FOR_TARGET`
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15235 $as_echo "pre-installed
in $ac_dir" >&6; }
15237 # Canadian cross, just use what we found
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15239 $as_echo "pre-installed
" >&6; }
15243 case " ${configdirs} " in
15248 if test $ok = yes; then
15249 # An in-tree tool is available and we can use it
15250 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15252 $as_echo "just compiled
" >&6; }
15253 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15254 # We already found the complete path
15255 ac_dir=`dirname $WINDMC_FOR_TARGET`
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15257 $as_echo "pre-installed
in $ac_dir" >&6; }
15258 elif test "x
$target" = "x
$host"; then
15259 # We can use an host tool
15260 WINDMC_FOR_TARGET='$(WINDMC)'
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15262 $as_echo "host tool
" >&6; }
15264 # We need a cross tool
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15266 $as_echo "pre-installed
" >&6; }
15274 # Certain tools may need extra flags.
15275 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15276 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15277 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15279 # When building target libraries, except in a Canadian cross, we use
15280 # the same toolchain as the compiler we just built.
15281 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15282 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15283 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15284 if test $host = $build; then
15285 case " $configdirs " in
15287 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15288 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15289 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15299 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15300 # Check whether --enable-maintainer-mode was given.
15301 if test "${enable_maintainer_mode+set}" = set; then :
15302 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15304 USE_MAINTAINER_MODE=no
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15308 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15311 if test "$USE_MAINTAINER_MODE" = yes; then
15312 MAINTAINER_MODE_TRUE=
15313 MAINTAINER_MODE_FALSE='#'
15315 MAINTAINER_MODE_TRUE='#'
15316 MAINTAINER_MODE_FALSE=
15318 MAINT=$MAINTAINER_MODE_TRUE
15320 # ---------------------
15321 # GCC bootstrap support
15322 # ---------------------
15324 # Stage specific cflags for build.
15329 yes) stage1_cflags="-g -Wa,-J" ;;
15330 *) stage1_cflags="-g -J" ;;
15336 # Enable --enable-checking in stage1 of the compiler.
15337 # Check whether --enable-stage1-checking was given.
15338 if test "${enable_stage1_checking+set}" = set; then :
15339 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15341 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15342 # For --disable-checking or implicit --enable-checking=release, avoid
15343 # setting --enable-checking=gc in the default stage1 checking for LTO
15344 # bootstraps. See PR62077.
15345 case $BUILD_CONFIG in
15347 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15349 stage1_checking=--enable-checking=yes,types;;
15351 if test "x
$enable_checking" = x && \
15352 test -d ${srcdir}/gcc && \
15353 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15354 stage1_checking=--enable-checking=yes,types,extra
15357 stage1_checking=--enable-checking=$enable_checking,types
15363 # Enable -Werror in bootstrap stage2 and later.
15364 # Check whether --enable-werror was given.
15365 if test "${enable_werror+set}" = set; then :
15366 enableval=$enable_werror;
15367 case ${enable_werror} in
15368 yes) stage2_werror_flag="--enable-werror-always" ;;
15369 *) stage2_werror_flag="" ;;
15374 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15375 case $BUILD_CONFIG in
15377 stage2_werror_flag="--enable-werror-always" ;;
15379 stage2_werror_flag="--enable-werror-always" ;;
15388 # Specify what files to not compare during bootstrap.
15390 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15392 hppa*64*-*-hpux*) ;;
15393 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15394 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15398 ac_config_files="$ac_config_files Makefile
"
15400 cat >confcache <<\_ACEOF
15401 # This file is a shell script that caches the results of configure
15402 # tests run on this system so they can be shared between configure
15403 # scripts and configure runs, see configure's option --config-cache.
15404 # It is not useful on other systems. If it contains results you don't
15405 # want to keep, you may remove or edit it.
15407 # config.status only pays attention to the cache file if you give it
15408 # the --recheck option to rerun configure.
15410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15412 # following values.
15416 # The following way of writing the cache mishandles newlines in values,
15417 # but we know of no workaround that is simple, portable, and efficient.
15418 # So, we kill variables containing newlines.
15419 # Ultrix sh set writes to stderr and can't be redirected directly,
15420 # and sets the high bit in the cache file unless we assign to the vars.
15422 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15423 eval ac_val=\$$ac_var
15427 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15428 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15431 _ | IFS | as_nl) ;; #(
15432 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15433 *) { eval $ac_var=; unset $ac_var;} ;;
15439 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15440 *${as_nl}ac_space=\ *)
15441 # `set' does not quote correctly, so add quotes: double-quote
15442 # substitution turns \\\\ into \\, and sed turns \\ into \.
15445 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15448 # `set' quotes correctly as required by POSIX, so do not add quotes.
15449 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15458 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15463 if test -w "$cache_file"; then
15464 if test "x
$cache_file" != "x
/dev
/null
"; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15466 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15467 if test ! -f "$cache_file" || test -h "$cache_file"; then
15468 cat confcache >"$cache_file"
15470 case $cache_file in #(
15472 mv -f confcache "$cache_file"$$ &&
15473 mv -f "$cache_file"$$ "$cache_file" ;; #(
15475 mv -f confcache "$cache_file" ;;
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15481 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15486 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15487 # Let make expand exec_prefix.
15488 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15490 # Transform confdefs.h into DEFS.
15491 # Protect against shell expansion while executing Makefile rules.
15492 # Protect against Makefile macro expansion.
15494 # If the first sed substitution is executed (which looks for macros that
15495 # take arguments), then branch to the quote section. Otherwise,
15496 # look for a macro that doesn't take arguments.
15506 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15508 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15512 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15525 DEFS=`sed -n "$ac_script" confdefs.h`
15531 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15532 # 1. Remove the extension, and $U if already installed.
15533 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15534 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15535 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15536 # will be set to the directory where LIBOBJS objects are built.
15537 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15538 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15540 LIBOBJS=$ac_libobjs
15542 LTLIBOBJS=$ac_ltlibobjs
15546 : "${CONFIG_STATUS=./config.status}"
15548 ac_clean_files_save=$ac_clean_files
15549 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15551 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15553 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15555 # Generated by $as_me.
15556 # Run this file to recreate the current configuration.
15557 # Compiler output produced by configure, useful for debugging
15558 # configure, is in config.log if it exists.
15561 ac_cs_recheck=false
15564 SHELL=\${CONFIG_SHELL-$SHELL}
15567 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15568 ## -------------------- ##
15569 ## M4sh Initialization. ##
15570 ## -------------------- ##
15572 # Be more Bourne compatible
15573 DUALCASE=1; export DUALCASE # for MKS sh
15574 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15577 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15578 # is contrary to our usage. Disable this feature.
15579 alias -g '${1+"$@"}'='"$@"'
15580 setopt NO_GLOB_SUBST
15582 case `(set -o) 2>/dev/null` in #(
15594 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15595 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15596 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15597 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15598 # Prefer a ksh shell builtin over an external printf program on Solaris,
15599 # but without wasting forks for bash or zsh.
15600 if test -z "$BASH_VERSION$ZSH_VERSION" \
15601 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15602 as_echo
='print -r --'
15603 as_echo_n
='print -rn --'
15604 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15605 as_echo
='printf %s\n'
15606 as_echo_n
='printf %s'
15608 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15609 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15610 as_echo_n
='/usr/ucb/echo -n'
15612 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15613 as_echo_n_body
='eval
15617 expr "X$arg" : "X\\(.*\\)$as_nl";
15618 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15620 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15622 export as_echo_n_body
15623 as_echo_n
='sh -c $as_echo_n_body as_echo'
15625 export as_echo_body
15626 as_echo
='sh -c $as_echo_body as_echo'
15629 # The user is always right.
15630 if test "${PATH_SEPARATOR+set}" != set; then
15632 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15633 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15640 # We need space, tab and new line, in precisely that order. Quoting is
15641 # there to prevent editors from complaining about space-tab.
15642 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15643 # splitting by setting IFS to empty value.)
15646 # Find who we are. Look in the path if we contain no directory separator.
15649 *[\\/]* ) as_myself
=$0 ;;
15650 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15651 for as_dir
in $PATH
15654 test -z "$as_dir" && as_dir
=.
15655 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15661 # We did not find ourselves, most probably we were run as `sh COMMAND'
15662 # in which case we are not to be found in the path.
15663 if test "x$as_myself" = x
; then
15666 if test ! -f "$as_myself"; then
15667 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15671 # Unset variables that we do not need and which cause bugs (e.g. in
15672 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15673 # suppresses any "Segmentation fault" message there. '((' could
15674 # trigger a bug in pdksh 5.2.14.
15675 for as_var
in BASH_ENV ENV MAIL MAILPATH
15676 do eval test x\
${$as_var+set} = xset \
15677 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15690 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15693 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15694 # ----------------------------------------
15695 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15696 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15697 # script with STATUS, using 1 if that was 0.
15700 as_status
=$1; test $as_status -eq 0 && as_status
=1
15702 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15703 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15705 $as_echo "$as_me: error: $2" >&2
15706 as_fn_exit
$as_status
15710 # as_fn_set_status STATUS
15711 # -----------------------
15712 # Set $? to STATUS, without forking.
15713 as_fn_set_status
()
15716 } # as_fn_set_status
15718 # as_fn_exit STATUS
15719 # -----------------
15720 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15724 as_fn_set_status
$1
15730 # Portably unset VAR.
15733 { eval $1=; unset $1;}
15735 as_unset
=as_fn_unset
15736 # as_fn_append VAR VALUE
15737 # ----------------------
15738 # Append the text in VALUE to the end of the definition contained in VAR. Take
15739 # advantage of any shell optimizations that allow amortized linear growth over
15740 # repeated appends, instead of the typical quadratic growth present in naive
15742 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15743 eval 'as_fn_append ()
15754 # as_fn_arith ARG...
15755 # ------------------
15756 # Perform arithmetic evaluation on the ARGs, and store the result in the
15757 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15758 # must be portable across $(()) and expr.
15759 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15760 eval 'as_fn_arith ()
15767 as_val
=`expr "$@" || test $? -eq 1`
15772 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15773 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15779 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15780 as_basename
=basename
15785 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15791 as_me
=`$as_basename -- "$0" ||
15792 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15793 X"$0" : 'X\(//\)$' \| \
15794 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15796 sed '/^.*\/\([^/][^/]*\)\/*$/{
15810 # Avoid depending upon Character Ranges.
15811 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15812 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15813 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15814 as_cr_digits
='0123456789'
15815 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15817 ECHO_C
= ECHO_N
= ECHO_T
=
15818 case `echo -n x` in #(((((
15820 case `echo 'xy\c'` in
15821 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15823 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15830 rm -f conf$$ conf$$.exe conf$$.
file
15831 if test -d conf$$.dir
; then
15832 rm -f conf$$.dir
/conf$$.
file
15835 mkdir conf$$.dir
2>/dev
/null
15837 if (echo >conf$$.
file) 2>/dev
/null
; then
15838 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15840 # ... but there are two gotchas:
15841 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15842 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15843 # In both cases, we have to default to `cp -pR'.
15844 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15846 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15854 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15855 rmdir conf$$.dir
2>/dev
/null
15860 # Create "$as_dir" as a directory, including parents if necessary.
15865 -*) as_dir
=.
/$as_dir;;
15867 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15871 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15872 *) as_qdir
=$as_dir;;
15874 as_dirs
="'$as_qdir' $as_dirs"
15875 as_dir
=`$as_dirname -- "$as_dir" ||
15876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15877 X"$as_dir" : 'X\(//\)[^/]' \| \
15878 X"$as_dir" : 'X\(//\)$' \| \
15879 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15880 $as_echo X"$as_dir" |
15881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15885 /^X\(\/\/\)[^/].*/{
15898 test -d "$as_dir" && break
15900 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15901 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15905 if mkdir
-p .
2>/dev
/null
; then
15906 as_mkdir_p
='mkdir -p "$as_dir"'
15908 test -d .
/-p && rmdir .
/-p
15913 # as_fn_executable_p FILE
15914 # -----------------------
15915 # Test if FILE is an executable regular file.
15916 as_fn_executable_p
()
15918 test -f "$1" && test -x "$1"
15919 } # as_fn_executable_p
15920 as_test_x
='test -x'
15921 as_executable_p
=as_fn_executable_p
15923 # Sed expression to map a string onto a valid CPP name.
15924 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15926 # Sed expression to map a string onto a valid variable name.
15927 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15931 ## ----------------------------------- ##
15932 ## Main body of $CONFIG_STATUS script. ##
15933 ## ----------------------------------- ##
15935 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15938 # Save the log message, to keep $0 and so on meaningful, and to
15939 # report actual input values of CONFIG_FILES etc. instead of their
15940 # values after options handling.
15942 This file was extended by $as_me, which was
15943 generated by GNU Autoconf 2.69. Invocation command line was
15945 CONFIG_FILES = $CONFIG_FILES
15946 CONFIG_HEADERS = $CONFIG_HEADERS
15947 CONFIG_LINKS = $CONFIG_LINKS
15948 CONFIG_COMMANDS = $CONFIG_COMMANDS
15951 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15956 case $ac_config_files in *"
15957 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15963 # Files that config.status was made for.
15964 config_files="$ac_config_files"
15968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15970 \`$as_me' instantiates files and other configuration actions
15971 from templates according to the current configuration. Unless the files
15972 and actions are specified as TAGs, all are instantiated by default.
15974 Usage: $0 [OPTION]... [TAG]...
15976 -h, --help print this help, then exit
15977 -V, --version print version number and configuration settings, then exit
15978 --config print configuration, then exit
15979 -q, --quiet, --silent
15980 do not print progress messages
15981 -d, --debug don't remove temporary files
15982 --recheck update $as_me by reconfiguring in the same conditions
15983 --file=FILE[:TEMPLATE]
15984 instantiate the configuration file FILE
15986 Configuration files:
15989 Report bugs to the package provider."
15992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15993 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15996 configured by $0, generated by GNU Autoconf 2.69,
15997 with options \\"\$ac_cs_config\\"
15999 Copyright (C) 2012 Free Software Foundation, Inc.
16000 This config.status script is free software; the Free Software Foundation
16001 gives unlimited permission to copy, distribute and modify it."
16007 test -n "\$AWK" || AWK=awk
16010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16011 # The default lists apply if the user does not specify any file.
16017 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16018 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16022 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16034 # Handling of the options.
16035 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16037 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16038 $as_echo "$ac_cs_version"; exit ;;
16039 --config |
--confi |
--conf |
--con |
--co |
--c )
16040 $as_echo "$ac_cs_config"; exit ;;
16041 --debug |
--debu |
--deb |
--de |
--d |
-d )
16043 --file |
--fil |
--fi |
--f )
16046 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16047 '') as_fn_error $?
"missing file argument" ;;
16049 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16050 ac_need_defaults
=false
;;
16051 --he |
--h |
--help |
--hel |
-h )
16052 $as_echo "$ac_cs_usage"; exit ;;
16053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16054 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16057 # This is an error.
16058 -*) as_fn_error $?
"unrecognized option: \`$1'
16059 Try \`$0 --help' for more information." ;;
16061 *) as_fn_append ac_config_targets
" $1"
16062 ac_need_defaults
=false
;;
16068 ac_configure_extra_args
=
16070 if $ac_cs_silent; then
16072 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16077 if \$ac_cs_recheck; then
16078 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16080 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16081 CONFIG_SHELL='$SHELL'
16082 export CONFIG_SHELL
16087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16091 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16092 ## Running $as_me. ##
16098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16102 extrasub_build="$extrasub_build"
16103 extrasub_host="$extrasub_host"
16104 extrasub_target="$extrasub_target"
16108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16110 # Handling of arguments.
16111 for ac_config_target
in $ac_config_targets
16113 case $ac_config_target in
16114 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16116 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16121 # If the user did not use the arguments to specify the items to instantiate,
16122 # then the envvar interface is used. Set only those that are not.
16123 # We use the long form for the default assignment because of an extremely
16124 # bizarre bug on SunOS 4.1.3.
16125 if $ac_need_defaults; then
16126 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16129 # Have a temporary directory for convenience. Make it in the build tree
16130 # simply because there is no reason against having it here, and in addition,
16131 # creating and moving files from /tmp can sometimes cause problems.
16132 # Hook for its removal unless debugging.
16133 # Note that there is a small window in which the directory will not be cleaned:
16134 # after its creation but before its name has been assigned to `$tmp'.
16138 trap 'exit_status=$?
16139 : "${ac_tmp:=$tmp}"
16140 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16142 trap 'as_fn_exit 1' 1 2 13 15
16144 # Create a (secure) tmp directory for tmp files.
16147 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16151 tmp
=.
/conf$$
-$RANDOM
16152 (umask 077 && mkdir
"$tmp")
16153 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16156 # Set up the scripts for CONFIG_FILES section.
16157 # No need to generate them if there are no CONFIG_FILES.
16158 # This happens for instance with `./config.status config.h'.
16159 if test -n "$CONFIG_FILES"; then
16161 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16162 ac_cs_awk_getline
=:
16163 ac_cs_awk_pipe_init
=
16164 ac_cs_awk_read_file
='
16165 while ((getline aline < (F[key])) > 0)
16168 ac_cs_awk_pipe_fini
=
16170 ac_cs_awk_getline
=false
16171 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16172 ac_cs_awk_read_file
='
16174 print "cat " F[key] " &&"
16175 '$ac_cs_awk_pipe_init
16176 # The final `:' finishes the AND list.
16177 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16179 ac_cr
=`echo X | tr X '\015'`
16180 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16181 # But we know of no other shell where ac_cr would be empty at this
16182 # point, so we can use a bashism as a fallback.
16183 if test "x$ac_cr" = x
; then
16184 eval ac_cr
=\$
\'\\r
\'
16186 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16187 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16190 ac_cs_awk_cr
=$ac_cr
16193 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16196 # Create commands to substitute file output variables.
16198 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16199 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16200 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16203 } >conf$
$files.sh
&&
16204 . .
/conf$
$files.sh ||
16205 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16206 rm -f conf$
$files.sh
16209 echo "cat >conf$$subs.awk <<_ACEOF" &&
16210 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16212 } >conf$$subs.sh ||
16213 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16214 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16216 for ac_last_try in false false false false false :; do
16217 . ./conf$$subs.sh ||
16218 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16220 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16221 if test $ac_delim_n = $ac_delim_num; then
16223 elif $ac_last_try; then
16224 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16226 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16229 rm -f conf$$subs.sh
16231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16232 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16236 s/^/S["/; s
/!.
*/"]=/
16246 s/\(.\{148\}\)..*/\1/
16248 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16253 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16260 s/\(.\{148\}\)..*/\1/
16262 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16266 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16271 ' <conf$$subs.awk | sed '
16276 ' >>$CONFIG_STATUS || ac_write_fail=1
16277 rm -f conf$$subs.awk
16278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16280 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16281 for (key in S) S_is_set[key] = 1
16283 \$ac_cs_awk_pipe_init
16287 nfields = split(line, field, "@
")
16289 len = length(field[1])
16290 for (i = 2; i < nfields; i++) {
16292 keylen = length(key)
16293 if (S_is_set[key]) {
16295 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16296 len += length(value) + length(field[++i])
16301 if (nfields == 3 && !substed) {
16303 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16304 \$ac_cs_awk_read_file
16310 \$ac_cs_awk_pipe_fini
16313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16314 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16315 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16318 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16319 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16322 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16323 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16324 # trailing colons and then remove the whole line if VPATH becomes empty
16325 # (actually we leave an empty line to preserve line numbers).
16326 if test "x
$srcdir" = x.; then
16327 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16346 fi # test -n "$CONFIG_FILES"
16349 eval set X " :F
$CONFIG_FILES "
16354 :[FHLC]) ac_mode=$ac_tag; continue;;
16356 case $ac_mode$ac_tag in
16358 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16359 :[FH]-) ac_tag=-:-;;
16360 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16377 -) ac_f="$ac_tmp/stdin";;
16378 *) # Look for the file first in the build tree, then in the source tree
16379 # (if the path is not absolute). The absolute path cannot be DOS-style,
16380 # because $ac_f cannot contain `:'.
16384 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16386 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16388 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16389 as_fn_append ac_file_inputs " '$ac_f'"
16392 # Let's still pretend it is `configure' which instantiates (i.e., don't
16393 # use $as_me), people would be surprised to read:
16394 # /* config.h. Generated by config.status. */
16395 configure_input='Generated from '`
16396 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16398 if test x"$ac_file" != x-; then
16399 configure_input="$ac_file.
$configure_input"
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16401 $as_echo "$as_me: creating
$ac_file" >&6;}
16403 # Neutralize special characters interpreted by sed in replacement strings.
16404 case $configure_input in #(
16405 *\&* | *\|* | *\\* )
16406 ac_sed_conf_input=`$as_echo "$configure_input" |
16407 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16408 *) ac_sed_conf_input=$configure_input;;
16412 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16413 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16418 ac_dir=`$as_dirname -- "$ac_file" ||
16419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16420 X"$ac_file" : 'X\(//\)[^/]' \| \
16421 X"$ac_file" : 'X\(//\)$' \| \
16422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16423 $as_echo X"$ac_file" |
16424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16428 /^X\(\/\/\)[^/].*/{
16441 as_dir="$ac_dir"; as_fn_mkdir_p
16445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16447 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16448 # A "..
" for each directory in $ac_dir_suffix.
16449 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16450 case $ac_top_builddir_sub in
16451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16455 ac_abs_top_builddir=$ac_pwd
16456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16457 # for backward compatibility:
16458 ac_top_builddir=$ac_top_build_prefix
16461 .) # We are building in place.
16463 ac_top_srcdir=$ac_top_builddir_sub
16464 ac_abs_top_srcdir=$ac_pwd ;;
16465 [\\/]* | ?:[\\/]* ) # Absolute name.
16466 ac_srcdir=$srcdir$ac_dir_suffix;
16467 ac_top_srcdir=$srcdir
16468 ac_abs_top_srcdir=$srcdir ;;
16469 *) # Relative name.
16470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16471 ac_top_srcdir=$ac_top_build_prefix$srcdir
16472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16484 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16485 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16490 # If the template does not know about datarootdir, expand it.
16491 # FIXME: This hack should be removed a few years after 2.60.
16492 ac_datarootdir_hack=; ac_datarootdir_seen=
16503 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16504 *datarootdir*) ac_datarootdir_seen=yes;;
16505 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16507 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16510 ac_datarootdir_hack='
16511 s&@datadir@&$datadir&g
16512 s&@docdir@&$docdir&g
16513 s&@infodir@&$infodir&g
16514 s&@localedir@&$localedir&g
16515 s&@mandir@&$mandir&g
16516 s&\\\${datarootdir}&$datarootdir&g' ;;
16520 # Neutralize VPATH when `$srcdir' = `.'.
16521 # Shell code in configure.ac might set extrasub.
16522 # FIXME: do we really want to maintain this feature?
16523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16524 ac_sed_extra="$ac_vpsub
16527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16529 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16530 s|@configure_input@|
$ac_sed_conf_input|
;t t
16531 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16532 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16533 s
&@srcdir@
&$ac_srcdir&;t t
16534 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16535 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16536 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16537 s
&@builddir@
&$ac_builddir&;t t
16538 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16539 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16540 s
&@INSTALL@
&$ac_INSTALL&;t t
16541 $ac_datarootdir_hack
16543 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16544 if $ac_cs_awk_getline; then
16545 $AWK -f "$ac_tmp/subs.
awk"
16547 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16549 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16551 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16552 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16553 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16554 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16556 which seems to be undefined. Please make sure it is defined" >&5
16557 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16558 which seems to be undefined. Please make sure it is defined" >&2;}
16560 rm -f "$ac_tmp/stdin"
16562 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16563 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16565 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16573 case $ac_file$ac_mode in
16574 "Makefile":F) sed "$extrasub_build" Makefile |
16575 sed "$extrasub_host" |
16576 sed "$extrasub_target" > mf$$
16577 mv -f mf$$ Makefile ;;
16585 ac_clean_files=$ac_clean_files_save
16587 test $ac_write_fail = 0 ||
16588 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16591 # configure is writing to config.log, and then calls config.status.
16592 # config.status does its own redirection, appending to config.log.
16593 # Unfortunately, on DOS this fails, as config.log is still kept open
16594 # by configure, so config.status won't be able to
write to it
; its
16595 # output is simply discarded. So we exec the FD to /dev/null,
16596 # effectively closing config.log, so it can be properly (re)opened and
16597 # appended to by config.status. When coming back to configure, we
16598 # need to make the FD available again.
16599 if test "$no_create" != yes; then
16601 ac_config_status_args
=
16602 test "$silent" = yes &&
16603 ac_config_status_args
="$ac_config_status_args --quiet"
16605 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16607 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16608 # would make configure fail if this is the last instruction.
16609 $ac_cs_success || as_fn_exit
1
16611 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16613 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}