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
672 DEBUG_PREFIX_CFLAGS_FOR_TARGET
673 SYSROOT_CFLAGS_FOR_TARGET
675 extra_host_zlib_configure_flags
676 extra_host_libiberty_configure_flags
679 extra_linker_plugin_flags
680 extra_linker_plugin_configure_flags
687 extra_isl_gmp_configure_flags
688 extra_mpc_mpfr_configure_flags
689 extra_mpc_gmp_configure_flags
690 extra_mpfr_configure_flags
706 extra_liboffloadmic_configure_flags
733 TOPLEVEL_CONFIGURE_ARGUMENTS
761 program_transform_name
772 ac_subst_files
='serialization_dependencies
778 enable_option_checking
781 enable_as_accelerator_for
782 enable_offload_targets
785 enable_compressed_debug_sections
787 enable_libquadmath_support
805 with_static_standard_libraries
812 enable_isl_version_check
814 enable_linker_plugin_configure_flags
815 enable_linker_plugin_flags
817 enable_stage1_languages
820 with_target_bdw_gc_include
821 with_target_bdw_gc_lib
822 with_gcc_major_version_only
824 with_debug_prefix_map
827 enable_serial_configure
828 with_build_time_tools
829 enable_maintainer_mode
830 enable_stage1_checking
833 ac_precious_vars
='build_alias
880 # Initialize some variables set by options.
882 ac_init_version
=false
883 ac_unrecognized_opts
=
885 # The variables have the same names as the options, with
886 # dashes changed to underlines.
894 program_transform_name
=s
,x
,x
,
902 # Installation directory options.
903 # These are left unexpanded so users can "make install exec_prefix=/foo"
904 # and all the variables that are supposed to be based on exec_prefix
905 # by default will actually change.
906 # Use braces instead of parens because sh, perl, etc. also accept them.
907 # (The list follows the same order as the GNU Coding Standards.)
908 bindir
='${exec_prefix}/bin'
909 sbindir
='${exec_prefix}/sbin'
910 libexecdir
='${exec_prefix}/libexec'
911 datarootdir
='${prefix}/share'
912 datadir
='${datarootdir}'
913 sysconfdir
='${prefix}/etc'
914 sharedstatedir
='${prefix}/com'
915 localstatedir
='${prefix}/var'
916 includedir
='${prefix}/include'
917 oldincludedir
='/usr/include'
918 docdir
='${datarootdir}/doc/${PACKAGE}'
919 infodir
='${datarootdir}/info'
924 libdir
='${exec_prefix}/lib'
925 localedir
='${datarootdir}/locale'
926 mandir
='${datarootdir}/man'
932 # If the previous option needs an argument, assign it.
933 if test -n "$ac_prev"; then
934 eval $ac_prev=\
$ac_option
940 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945 # Accept the important Cygnus configure options, so we can diagnose typos.
947 case $ac_dashdash$ac_option in
951 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
953 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
956 -build |
--build |
--buil |
--bui |
--bu)
957 ac_prev
=build_alias
;;
958 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
959 build_alias
=$ac_optarg ;;
961 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
962 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
963 ac_prev
=cache_file
;;
964 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
965 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
966 cache_file
=$ac_optarg ;;
969 cache_file
=config.cache
;;
971 -datadir |
--datadir |
--datadi |
--datad)
973 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
974 datadir
=$ac_optarg ;;
976 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
977 |
--dataroo |
--dataro |
--datar)
978 ac_prev
=datarootdir
;;
979 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
980 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
981 datarootdir
=$ac_optarg ;;
983 -disable-* |
--disable-*)
984 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
987 as_fn_error $?
"invalid feature name: $ac_useropt"
988 ac_useropt_orig
=$ac_useropt
989 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in
994 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
995 ac_unrecognized_sep
=', ';;
997 eval enable_
$ac_useropt=no
;;
999 -docdir |
--docdir |
--docdi |
--doc |
--do)
1001 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1002 docdir
=$ac_optarg ;;
1004 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1006 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1007 dvidir
=$ac_optarg ;;
1009 -enable-* |
--enable-*)
1010 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1013 as_fn_error $?
"invalid feature name: $ac_useropt"
1014 ac_useropt_orig
=$ac_useropt
1015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_
$ac_useropt"
1020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1021 ac_unrecognized_sep
=', ';;
1023 eval enable_
$ac_useropt=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 as_fn_error $?
"invalid package name: $ac_useropt"
1234 ac_useropt_orig
=$ac_useropt
1235 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241 ac_unrecognized_sep
=', ';;
1243 eval with_
$ac_useropt=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1264 Try \`$0 --help' for more information"
1268 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1269 # Reject names that are not valid shell variable names.
1270 case $ac_envvar in #(
1271 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1272 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 as_fn_error $?
"missing argument to $ac_option"
1293 if test -n "$ac_unrecognized_opts"; then
1294 case $enable_option_checking in
1296 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1297 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301 # Check all directory arguments for consistency.
1302 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303 datadir sysconfdir sharedstatedir localstatedir includedir \
1304 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305 libdir localedir mandir
1307 eval ac_val
=\$
$ac_var
1308 # Remove trailing slashes.
1311 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312 eval $ac_var=\
$ac_val;;
1314 # Be sure to have absolute directory names.
1316 [\\/$
]* | ?
:[\\/]* ) continue;;
1317 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1319 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target
=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x
; then
1331 if test "x$build_alias" = x
; then
1332 cross_compiling
=maybe
1333 elif test "x$build_alias" != "x$host_alias"; then
1339 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1341 test "$silent" = yes && exec 6>/dev
/null
1344 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1345 ac_ls_di
=`ls -di .` &&
1346 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1347 as_fn_error $?
"working directory cannot be determined"
1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1349 as_fn_error $?
"pwd does not report name of working directory"
1352 # Find the source files, if location was not specified.
1353 if test -z "$srcdir"; then
1354 ac_srcdir_defaulted
=yes
1355 # Try the directory containing this script, then the parent directory.
1356 ac_confdir
=`$as_dirname -- "$as_myself" ||
1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1358 X"$as_myself" : 'X\(//\)[^/]' \| \
1359 X"$as_myself" : 'X\(//\)$' \| \
1360 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1361 $as_echo X"$as_myself" |
1362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1384 ac_srcdir_defaulted
=no
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1387 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1388 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1390 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1392 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1394 # When building in place, set srcdir=.
1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
1398 # Remove unnecessary trailing slashes from srcdir.
1399 # Double slashes in file names in object file debugging info
1400 # mess up M-x gdb in Emacs.
1402 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406 as_fn_error $?
"path to source, $srcdir, contains spaces"
1409 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures this package to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1488 --build=BUILD configure
for building on BUILD
[guessed
]
1489 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1494 if test -n "$ac_init_help"; then
1499 --disable-option-checking ignore unrecognized
--enable/--with options
1500 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1501 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1502 --enable-as-accelerator-for=ARG
1503 build as offload target compiler. Specify offload
1505 --enable-offload-targets=LIST
1506 enable offloading to devices from comma-separated
1507 LIST of TARGET
[=DIR
]. Use optional path to
find
1508 offload target compiler during the build
1509 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1510 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1511 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1512 Enable compressed debug sections
for gas
, gold or ld
1514 --disable-libquadmath do not build libquadmath directory
1515 --disable-libquadmath-support
1516 disable libquadmath support
for Fortran
1517 --enable-libada build libada directory
1518 --enable-libssp build libssp directory
1519 --disable-libstdcxx do not build libstdc
++-v3 directory
1520 --enable-liboffloadmic=ARG
1521 build liboffloadmic
[ARG
={no
,host,target
}]
1522 --enable-bootstrap enable bootstrapping
[yes if native build
]
1523 --disable-isl-version-check
1524 disable check
for isl version
1525 --enable-lto enable link
time optimization support
1526 --enable-linker-plugin-configure-flags=FLAGS
1527 additional flags
for configuring linker plugins
1529 --enable-linker-plugin-flags=FLAGS
1530 additional flags
for configuring and building linker
1532 --enable-host-shared build
host code as shared libraries
1533 --enable-stage1-languages[=all
]
1534 choose additional languages to build during stage1.
1535 Mostly useful
for compiler development
1536 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1538 --enable-vtable-verify Enable vtable verification feature
1539 --enable-serial-[{host,target,build}-]configure
1540 force sequential configuration of sub-packages for
1541 the host, target or build machine, or all
1543 --enable-maintainer-mode
1544 enable make rules and dependencies not useful (and
1545 sometimes confusing) to the casual installer
1546 --enable-stage1-checking[=all]
1547 choose additional checking for stage1 of the
1549 --enable-werror enable -Werror in bootstrap stage2 and later
1552 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1553 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1554 --with-build-libsubdir=DIR Directory where to find libraries for build system
1555 --with-system-zlib use installed libz
1556 --with-mpc=PATH specify prefix directory for installed MPC package.
1557 Equivalent to --with-mpc-include=PATH/include plus
1558 --with-mpc-lib=PATH/lib
1559 --with-mpc-include=PATH specify directory for installed MPC include files
1560 --with-mpc-lib=PATH specify directory for the installed MPC library
1561 --with-mpfr-dir=PATH this option has been REMOVED
1562 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1563 Equivalent to --with-mpfr-include=PATH/include plus
1564 --with-mpfr-lib=PATH/lib
1565 --with-mpfr-include=PATH
1566 specify directory for installed MPFR include files
1567 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1568 --with-gmp-dir=PATH this option has been REMOVED
1569 --with-gmp=PATH specify prefix directory for the installed GMP
1570 package. Equivalent to
1571 --with-gmp-include=PATH/include plus
1572 --with-gmp-lib=PATH/lib
1573 --with-gmp-include=PATH specify directory for installed GMP include files
1574 --with-gmp-lib=PATH specify directory for the installed GMP library
1575 --with-stage1-libs=LIBS libraries for stage1
1576 --with-static-standard-libraries
1577 use -static-libstdc++ and -static-libgcc
1579 --with-stage1-ldflags=FLAGS
1580 linker flags for stage1
1581 --with-boot-libs=LIBS libraries for stage2 and later
1582 --with-boot-ldflags=FLAGS
1583 linker flags for stage2 and later
1584 --with-isl=PATH Specify prefix directory for the installed isl
1585 package. Equivalent to
1586 --with-isl-include=PATH/include plus
1587 --with-isl-lib=PATH/lib
1588 --with-isl-include=PATH Specify directory for installed isl include files
1589 --with-isl-lib=PATH Specify the directory for the installed isl library
1590 --with-target-bdw-gc=PATHLIST
1591 specify prefix directory for installed bdw-gc
1592 package. Equivalent to
1593 --with-target-bdw-gc-include=PATH/include plus
1594 --with-target-bdw-gc-lib=PATH/lib
1595 --with-target-bdw-gc-include=PATHLIST
1596 specify directories for installed bdw-gc include
1598 --with-target-bdw-gc-lib=PATHLIST
1599 specify directories for installed bdw-gc library
1600 --with-gcc-major-version-only
1601 use only GCC major number in filesystem paths
1602 --with-build-sysroot=SYSROOT
1603 use sysroot as the system root during the build
1604 --with-debug-prefix-map='A
=B C
=D ...
'
1605 map A to B, C to D ... in debug information
1606 --with-build-config='NAME NAME2...
'
1607 use config/NAME.mk build configuration
1608 --with-build-time-tools=PATH
1609 use given path to find target tools during the build
1611 Some influential environment variables:
1612 CC C compiler command
1613 CFLAGS C compiler flags
1614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1615 nonstandard directory <lib dir>
1616 LIBS libraries to pass to the linker, e.g. -l<library>
1617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1618 you have headers in a nonstandard directory <include dir>
1619 CXX C++ compiler command
1620 CXXFLAGS C++ compiler flags
1622 additional configure arguments for build directories
1624 additional configure arguments for host directories
1626 additional configure arguments for target directories
1629 DLLTOOL DLLTOOL for the host
1631 LIPO LIPO for the host
1633 RANLIB RANLIB for the host
1634 STRIP STRIP for the host
1635 WINDRES WINDRES for the host
1636 WINDMC WINDMC for the host
1637 OBJCOPY OBJCOPY for the host
1638 OBJDUMP OBJDUMP for the host
1639 READELF READELF for the host
1647 GFORTRAN for the target
1655 DLLTOOL for the target
1663 OBJCOPY for the target
1665 OBJDUMP for the target
1667 RANLIB for the target
1669 READELF for the target
1671 STRIP for the target
1673 WINDRES for the target
1675 WINDMC for the target
1677 Use these variables to override the choices made by `configure' or to
help
1678 it to
find libraries and programs with nonstandard names
/locations.
1680 Report bugs to the package provider.
1685 if test "$ac_init_help" = "recursive"; then
1686 # If there are subdirs, report their specific --help.
1687 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1688 test -d "$ac_dir" ||
1689 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1694 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1696 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1697 # A ".." for each directory in $ac_dir_suffix.
1698 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1699 case $ac_top_builddir_sub in
1700 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1701 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1704 ac_abs_top_builddir
=$ac_pwd
1705 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1706 # for backward compatibility:
1707 ac_top_builddir
=$ac_top_build_prefix
1710 .
) # We are building in place.
1712 ac_top_srcdir
=$ac_top_builddir_sub
1713 ac_abs_top_srcdir
=$ac_pwd ;;
1714 [\\/]* | ?
:[\\/]* ) # Absolute name.
1715 ac_srcdir
=$srcdir$ac_dir_suffix;
1716 ac_top_srcdir
=$srcdir
1717 ac_abs_top_srcdir
=$srcdir ;;
1719 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1720 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1721 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1723 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1725 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1726 # Check for guested configure.
1727 if test -f "$ac_srcdir/configure.gnu"; then
1729 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1730 elif test -f "$ac_srcdir/configure"; then
1732 $SHELL "$ac_srcdir/configure" --help=recursive
1734 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1736 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1740 test -n "$ac_init_help" && exit $ac_status
1741 if $ac_init_version; then
1744 generated by GNU Autoconf
2.69
1746 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1747 This configure
script is free software
; the Free Software Foundation
1748 gives unlimited permission to copy
, distribute and modify it.
1753 ## ------------------------ ##
1754 ## Autoconf initialization. ##
1755 ## ------------------------ ##
1757 # ac_fn_c_try_compile LINENO
1758 # --------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_c_try_compile
()
1762 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1763 rm -f conftest.
$ac_objext
1764 if { { ac_try
="$ac_compile"
1766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.$ac_objext; then :
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1793 } # ac_fn_c_try_compile
1795 # ac_fn_cxx_try_compile LINENO
1796 # ----------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext
1802 if { { ac_try="$ac_compile"
1804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err
; then
1812 grep -v '^ *+' conftest.err
>conftest.er1
1813 cat conftest.er1
>&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.
$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status
$ac_retval
1831 } # ac_fn_cxx_try_compile
1833 # ac_fn_cxx_try_link LINENO
1834 # -------------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_cxx_try_link
()
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext conftest
$ac_exeext
1840 if { { ac_try
="$ac_link"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_cxx_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 test -x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_cxx_try_link
1879 # ac_fn_c_try_link LINENO
1880 # -----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 rm -f conftest.$ac_objext conftest$ac_exeext
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>conftest.err
1895 if test -s conftest.err
; then
1896 grep -v '^ *+' conftest.err
>conftest.er1
1897 cat conftest.er1
>&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && {
1902 test -z "$ac_c_werror_flag" ||
1903 test ! -s conftest.err
1904 } && test -s conftest
$ac_exeext && {
1905 test "$cross_compiling" = yes ||
1906 test -x conftest
$ac_exeext
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.
$ac_ext >&5
1915 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1916 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1917 # interfere with the next link command; also delete a directory that is
1918 # left behind by Apple's compiler. We do this before executing the actions.
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status
$ac_retval
1923 } # ac_fn_c_try_link
1924 cat >config.log
<<_ACEOF
1925 This file contains any messages produced by compilers while
1926 running configure, to aid debugging if configure makes a mistake.
1928 It was created by $as_me, which was
1929 generated by GNU Autoconf 2.69. Invocation command line was
1941 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1942 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1943 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1944 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1945 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1947 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1948 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1950 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1951 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1952 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1953 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1954 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1955 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1956 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 $as_echo "PATH: $as_dir"
1981 # Keep a trace of the command line.
1982 # Strip out --no-create and --no-recursion so they do not pile up.
1983 # Strip out --silent because we don't want to record it for future runs.
1984 # Also quote any args containing shell meta-characters.
1985 # Make two passes to allow for proper duplicate-argument suppression.
1989 ac_must_keep_next
=false
1995 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1996 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1997 |
-silent |
--silent |
--silen |
--sile |
--sil)
2000 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2003 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2005 as_fn_append ac_configure_args1
" '$ac_arg'"
2006 if test $ac_must_keep_next = true
; then
2007 ac_must_keep_next
=false
# Got value, back to normal.
2010 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2011 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2012 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2013 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2014 case "$ac_configure_args0 " in
2015 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2018 -* ) ac_must_keep_next
=true
;;
2021 as_fn_append ac_configure_args
" '$ac_arg'"
2026 { ac_configure_args0
=; unset ac_configure_args0
;}
2027 { ac_configure_args1
=; unset ac_configure_args1
;}
2029 # When interrupted or exit'd, cleanup temporary files, and complete
2030 # config.log. We remove comments because anyway the quotes in there
2031 # would cause problems or look ugly.
2032 # WARNING: Use '\'' to represent an apostrophe within the trap.
2033 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2034 trap 'exit_status=$?
2035 # Save into config.log some information that might help in debugging.
2039 $as_echo "## ---------------- ##
2040 ## Cache variables. ##
2041 ## ---------------- ##"
2043 # The following way of writing the cache mishandles newlines in values,
2045 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2046 eval ac_val=\$$ac_var
2050 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2054 _ | IFS | as_nl) ;; #(
2055 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2056 *) { eval $ac_var=; unset $ac_var;} ;;
2061 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2062 *${as_nl}ac_space=\ *)
2064 "s/'\''/'\''\\\\'\'''\''/g;
2065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2075 $as_echo "## ----------------- ##
2076 ## Output variables. ##
2077 ## ----------------- ##"
2079 for ac_var in $ac_subst_vars
2081 eval ac_val=\$$ac_var
2083 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2085 $as_echo "$ac_var='\''$ac_val'\''"
2089 if test -n "$ac_subst_files"; then
2090 $as_echo "## ------------------- ##
2091 ## File substitutions. ##
2092 ## ------------------- ##"
2094 for ac_var
in $ac_subst_files
2096 eval ac_val
=\$
$ac_var
2098 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2100 $as_echo "$ac_var='\''$ac_val'\''"
2105 if test -s confdefs.h; then
2106 $as_echo "## ----------- ##
2113 test "$ac_signal" != 0 &&
2114 $as_echo "$as_me: caught signal $ac_signal"
2115 $as_echo "$as_me: exit $exit_status"
2117 rm -f core *.core core.conftest.* &&
2118 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2121 for ac_signal
in 1 2 13 15; do
2122 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2127 rm -f -r conftest
* confdefs.h
2129 $as_echo "/* confdefs.h */" > confdefs.h
2131 # Predefined preprocessor variables.
2133 cat >>confdefs.h
<<_ACEOF
2134 #define PACKAGE_NAME "$PACKAGE_NAME"
2137 cat >>confdefs.h
<<_ACEOF
2138 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_STRING "$PACKAGE_STRING"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_URL "$PACKAGE_URL"
2158 # Let the site file select an alternate cache file if it wants to.
2159 # Prefer an explicitly selected file to automatically selected ones.
2162 if test -n "$CONFIG_SITE"; then
2163 # We do not want a PATH search for config.site.
2164 case $CONFIG_SITE in #((
2165 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2166 */*) ac_site_file1
=$CONFIG_SITE;;
2167 *) ac_site_file1
=.
/$CONFIG_SITE;;
2169 elif test "x$prefix" != xNONE
; then
2170 ac_site_file1
=$prefix/share
/config.site
2171 ac_site_file2
=$prefix/etc
/config.site
2173 ac_site_file1
=$ac_default_prefix/share
/config.site
2174 ac_site_file2
=$ac_default_prefix/etc
/config.site
2176 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2178 test "x$ac_site_file" = xNONE
&& continue
2179 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2181 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2182 sed 's/^/| /' "$ac_site_file" >&5
2184 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2186 as_fn_error $?
"failed to load site script $ac_site_file
2187 See \`config.log' for more details" "$LINENO" 5; }
2191 if test -r "$cache_file"; then
2192 # Some versions of bash will fail to source /dev/null (special files
2193 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2194 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2196 $as_echo "$as_me: loading cache $cache_file" >&6;}
2198 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2199 *) .
"./$cache_file";;
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2204 $as_echo "$as_me: creating cache $cache_file" >&6;}
2208 # Check that the precious variables saved in the cache have kept the same
2210 ac_cache_corrupted
=false
2211 for ac_var
in $ac_precious_vars; do
2212 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2213 eval ac_new_set
=\
$ac_env_${ac_var}_set
2214 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2215 eval ac_new_val
=\
$ac_env_${ac_var}_value
2216 case $ac_old_set,$ac_new_set in
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2220 ac_cache_corrupted
=: ;;
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2223 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2224 ac_cache_corrupted
=: ;;
2227 if test "x$ac_old_val" != "x$ac_new_val"; then
2228 # differences in whitespace do not lead to failure.
2229 ac_old_val_w
=`echo x $ac_old_val`
2230 ac_new_val_w
=`echo x $ac_new_val`
2231 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2233 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2234 ac_cache_corrupted
=:
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2237 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2238 eval $ac_var=\
$ac_old_val
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2241 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2243 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2246 # Pass precious variables to config.status.
2247 if test "$ac_new_set" = set; then
2249 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2250 *) ac_arg
=$ac_var=$ac_new_val ;;
2252 case " $ac_configure_args " in
2253 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2254 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2258 if $ac_cache_corrupted; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2262 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2263 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2265 ## -------------------- ##
2266 ## Main body of script. ##
2267 ## -------------------- ##
2270 ac_cpp
='$CPP $CPPFLAGS'
2271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2282 if test x
"${enable_gdb}" != x
"no" -a x
"${enable_src_release_build}" != x
"yes"; then
2283 # For this branch, we do not support building GDB in-tree.
2284 # Try to detect whether we are in this situation or not by
2285 # searching for a couple of known files in the source directory.
2286 if test -f gnulib
/update-gnulib.sh
-a -f gdb
/ChangeLog
; then
2287 as_fn_error $?
"GDB must be configured and built in a directory separate from its sources.
2289 To do so, create a dedicated directory for your GDB build and invoke
2290 the configure script from that directory:
2294 $ <full path to your sources>/gdb-VERSION/configure [etc...]
2300 # if PWD already has a value, it is probably wrong.
2301 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2303 # Export original configure arguments for use by sub-configures.
2304 # Quote arguments with shell meta charatcers.
2305 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2306 set -- "$progname" "$@"
2310 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2311 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2312 # if the argument is of the form -foo=baz, quote the baz part only
2313 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2316 # Add the quoted argument to the list.
2317 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2319 if test "$silent" = yes; then
2320 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2322 # Remove the initial space we just introduced and, as these will be
2323 # expanded by make, quote '$'.
2324 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2327 # Find the build, host, and target systems.
2329 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2330 if test -f "$ac_dir/install-sh"; then
2332 ac_install_sh
="$ac_aux_dir/install-sh -c"
2334 elif test -f "$ac_dir/install.sh"; then
2336 ac_install_sh
="$ac_aux_dir/install.sh -c"
2338 elif test -f "$ac_dir/shtool"; then
2340 ac_install_sh
="$ac_aux_dir/shtool install -c"
2344 if test -z "$ac_aux_dir"; then
2345 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2353 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2354 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2357 # Make sure we can run config.sub.
2358 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2359 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2362 $as_echo_n "checking build system type... " >&6; }
2363 if ${ac_cv_build+:} false
; then :
2364 $as_echo_n "(cached) " >&6
2366 ac_build_alias
=$build_alias
2367 test "x$ac_build_alias" = x
&&
2368 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2369 test "x$ac_build_alias" = x
&&
2370 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2371 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2372 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2376 $as_echo "$ac_cv_build" >&6; }
2377 case $ac_cv_build in
2379 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2382 ac_save_IFS
=$IFS; IFS
='-'
2388 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells:
2392 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2395 case ${build_alias} in
2396 "") build_noncanonical
=${build} ;;
2397 *) build_noncanonical
=${build_alias} ;;
2402 case ${host_alias} in
2403 "") host_noncanonical
=${build_noncanonical} ;;
2404 *) host_noncanonical
=${host_alias} ;;
2409 case ${target_alias} in
2410 "") target_noncanonical
=${host_noncanonical} ;;
2411 *) target_noncanonical
=${target_alias} ;;
2417 test "$host_noncanonical" = "$target_noncanonical" &&
2418 test "$program_prefix$program_suffix$program_transform_name" = \
2420 program_transform_name
=s
,y
,y
,
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2423 $as_echo_n "checking host system type... " >&6; }
2424 if ${ac_cv_host+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 if test "x$host_alias" = x
; then
2428 ac_cv_host
=$ac_cv_build
2430 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2431 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2436 $as_echo "$ac_cv_host" >&6; }
2439 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2442 ac_save_IFS
=$IFS; IFS
='-'
2448 # Remember, the first character of IFS is used to create $*,
2449 # except with old shells:
2452 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2456 $as_echo_n "checking target system type... " >&6; }
2457 if ${ac_cv_target+:} false
; then :
2458 $as_echo_n "(cached) " >&6
2460 if test "x$target_alias" = x
; then
2461 ac_cv_target
=$ac_cv_host
2463 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2464 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2469 $as_echo "$ac_cv_target" >&6; }
2470 case $ac_cv_target in
2472 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2474 target
=$ac_cv_target
2475 ac_save_IFS
=$IFS; IFS
='-'
2481 # Remember, the first character of IFS is used to create $*,
2482 # except with old shells:
2485 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2488 # The aliases save the names the user supplied, while $host etc.
2489 # will get canonicalized.
2490 test -n "$target_alias" &&
2491 test "$program_prefix$program_suffix$program_transform_name" = \
2493 program_prefix
=${target_alias}-
2495 test "$program_prefix" != NONE
&&
2496 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2497 # Use a double $ so make ignores it.
2498 test "$program_suffix" != NONE
&&
2499 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2500 # Double any \ or $.
2501 # By default was `s,x,x', remove it if useless.
2502 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2503 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2507 # Get 'install' or 'install-sh' and its variants.
2508 # Find a good install program. We prefer a C program (faster),
2509 # so one script is as good as another. But avoid the broken or
2510 # incompatible versions:
2511 # SysV /etc/install, /usr/sbin/install
2512 # SunOS /usr/etc/install
2513 # IRIX /sbin/install
2515 # AmigaOS /C/install, which installs bootblocks on floppy discs
2516 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2517 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2518 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2519 # OS/2's system install, which has a completely different semantic
2520 # ./install, which can be erroneously created by make from ./install.sh.
2521 # Reject install programs that cannot install multiple files.
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2523 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2524 if test -z "$INSTALL"; then
2525 if ${ac_cv_path_install+:} false
; then :
2526 $as_echo_n "(cached) " >&6
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 # Account for people who put trailing slashes in PATH elements.
2534 case $as_dir/ in #((
2535 .
/ | .
// |
/[cC
]/* | \
2536 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2537 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2540 # OSF1 and SCO ODT 3.0 have their own names for install.
2541 # Don't use installbsd from OSF since it installs stuff as root
2543 for ac_prog
in ginstall scoinst
install; do
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2546 if test $ac_prog = install &&
2547 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2548 # AIX install. It has an incompatible calling convention.
2550 elif test $ac_prog = install &&
2551 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2552 # program-specific install script used by HP pwplus--don't use.
2555 rm -rf conftest.one conftest.two conftest.dir
2556 echo one
> conftest.one
2557 echo two
> conftest.two
2559 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2560 test -s conftest.one
&& test -s conftest.two
&&
2561 test -s conftest.dir
/conftest.one
&&
2562 test -s conftest.dir
/conftest.two
2564 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2577 rm -rf conftest.one conftest.two conftest.dir
2580 if test "${ac_cv_path_install+set}" = set; then
2581 INSTALL
=$ac_cv_path_install
2583 # As a last resort, use the slow shell script. Don't cache a
2584 # value for INSTALL within a source directory, because that will
2585 # break other packages using the cache if that directory is
2586 # removed, or if the value is a relative name.
2587 INSTALL
=$ac_install_sh
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2591 $as_echo "$INSTALL" >&6; }
2593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2594 # It thinks the first close brace ends the variable substitution.
2595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2599 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2602 $as_echo_n "checking whether ln works... " >&6; }
2603 if ${acx_cv_prog_LN+:} false
; then :
2604 $as_echo_n "(cached) " >&6
2606 rm -f conftestdata_t
2607 echo >conftestdata_f
2608 if ln conftestdata_f conftestdata_t
2>/dev
/null
2614 rm -f conftestdata_f conftestdata_t
2617 if test $acx_cv_prog_LN = no
; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2620 $as_echo "no, using $LN" >&6; }
2622 LN
="$acx_cv_prog_LN"
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2624 $as_echo "yes" >&6; }
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2628 $as_echo_n "checking whether ln -s works... " >&6; }
2630 if test "$LN_S" = "ln -s"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632 $as_echo "yes" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2635 $as_echo "no, using $LN_S" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2639 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2640 if ${ac_cv_path_SED+:} false
; then :
2641 $as_echo_n "(cached) " >&6
2643 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2644 for ac_i
in 1 2 3 4 5 6 7; do
2645 ac_script
="$ac_script$as_nl$ac_script"
2647 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2648 { ac_script
=; unset ac_script
;}
2649 if test -z "$SED"; then
2650 ac_path_SED_found
=false
2651 # Loop through the user's path and test for each of PROGNAME-LIST
2652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir
=.
2657 for ac_prog
in sed gsed
; do
2658 for ac_exec_ext
in '' $ac_executable_extensions; do
2659 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2660 as_fn_executable_p
"$ac_path_SED" ||
continue
2661 # Check for GNU ac_path_SED and select it if it is found.
2662 # Check for GNU $ac_path_SED
2663 case `"$ac_path_SED" --version 2>&1` in
2665 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2668 $as_echo_n 0123456789 >"conftest.in"
2671 cat "conftest.in" "conftest.in" >"conftest.tmp"
2672 mv "conftest.tmp" "conftest.in"
2673 cp "conftest.in" "conftest.nl"
2674 $as_echo '' >> "conftest.nl"
2675 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2676 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2677 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2678 if test $ac_count -gt ${ac_path_SED_max-0}; then
2679 # Best one so far, save it but keep looking for a better one
2680 ac_cv_path_SED
="$ac_path_SED"
2681 ac_path_SED_max
=$ac_count
2683 # 10*(2^10) chars as input seems more than enough
2684 test $ac_count -gt 10 && break
2686 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2689 $ac_path_SED_found && break 3
2694 if test -z "$ac_cv_path_SED"; then
2695 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2703 $as_echo "$ac_cv_path_SED" >&6; }
2704 SED
="$ac_cv_path_SED"
2707 for ac_prog
in gawk mawk nawk
awk
2709 # Extract the first word of "$ac_prog", so it can be a program name with args.
2710 set dummy
$ac_prog; ac_word
=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_AWK+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$AWK"; then
2717 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir
=.
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2726 ac_cv_prog_AWK
="$ac_prog"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test -n "$AWK"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2739 $as_echo "$AWK" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2746 test -n "$AWK" && break
2750 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2752 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2754 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2755 INSTALL
="${srcpwd}/install-sh -c"
2758 # Set srcdir to "." if that's what it is.
2759 # This is important for multilib support.
2761 if test "${pwd}" = "${srcpwd}" ; then
2769 ### To add a new directory to the tree, first choose whether it is a target
2770 ### or a host dependent tool. Then put it into the appropriate list
2771 ### (library or tools, host or target), doing a dependency sort.
2773 # Subdirs will be configured in the order listed in build_configdirs,
2774 # configdirs, or target_configdirs; see the serialization section below.
2776 # Dependency sorting is only needed when *configuration* must be done in
2777 # a particular order. In all cases a dependency should be specified in
2778 # the Makefile, whether or not it's implicitly specified here.
2780 # Double entries in build_configdirs, configdirs, or target_configdirs may
2781 # cause circular dependencies and break everything horribly.
2783 # these library is used by various programs built for the build
2786 build_libs
="build-libiberty build-libcpp"
2788 # these tools are built for the build environment
2789 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2791 # these libraries are used by various programs built for the host environment
2793 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2795 # these tools are built for the host environment
2796 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2797 # know that we are building the simulator.
2798 # binutils, gas and ld appear in that order because it makes sense to run
2799 # "make check" in that particular order.
2800 # If --enable-gold is used, "gold" may replace "ld".
2801 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"
2803 # these libraries are built for the target environment, and are built after
2804 # the host libraries and the host tools (which may be a cross compiler)
2805 # Note that libiberty is not a target library.
2806 target_libraries
="target-libgcc \
2807 target-libbacktrace \
2811 target-liboffloadmic \
2812 target-libhsail-rt \
2815 target-libstdc++-v3 \
2816 target-libsanitizer \
2819 target-libquadmath \
2820 target-libgfortran \
2826 # these tools are built using the target libraries, and are intended to
2827 # run only in the target environment
2829 # note: any program that *uses* libraries that are in the "target_libraries"
2830 # list belongs in this list.
2832 target_tools
="target-rda"
2834 ################################################################################
2836 ## All tools belong in one of the four categories, and are assigned above
2837 ## We assign ${configdirs} this way to remove all embedded newlines. This
2838 ## is important because configure will choke if they ever get through.
2839 ## ${configdirs} is directories we build using the host tools.
2840 ## ${target_configdirs} is directories we build using the target tools.
2841 configdirs
=`echo ${host_libs} ${host_tools}`
2842 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2843 build_configdirs
=`echo ${build_libs} ${build_tools}`
2847 ################################################################################
2849 srcname
="gnu development package"
2851 # This gets set non-empty for some net releases of packages.
2854 # Define is_cross_compiler to save on calls to 'test'.
2856 if test x
"${host}" = x
"${target}" ; then
2857 is_cross_compiler
=no
2859 is_cross_compiler
=yes
2862 # Find the build and target subdir names.
2864 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2865 # have matching libraries, they should use host libraries: Makefile.tpl
2866 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2867 # However, they still use the build modules, because the corresponding
2868 # host modules (e.g. bison) are only built for the host when bootstrap
2870 # - build_subdir is where we find build modules, and never changes.
2871 # - build_libsubdir is where we find build libraries, and can be overridden.
2873 # Prefix 'build-' so this never conflicts with target_subdir.
2874 build_subdir
="build-${build_noncanonical}"
2876 # Check whether --with-build-libsubdir was given.
2877 if test "${with_build_libsubdir+set}" = set; then :
2878 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2880 build_libsubdir
="$build_subdir"
2883 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2884 if ( test $srcdir = .
&& test -d gcc
) \
2885 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2886 host_subdir
="host-${host_noncanonical}"
2891 target_subdir
=${target_noncanonical}
2893 # Be sure to cover against remnants of an in-tree build.
2894 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2895 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2896 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2899 # Skipdirs are removed silently.
2901 # Noconfigdirs are removed loudly.
2905 # Make sure we don't let GNU ld be added if we didn't want it.
2906 if test x
$with_gnu_ld = xno
; then
2908 noconfigdirs
="$noconfigdirs ld gold"
2912 # Make sure we don't let GNU as be added if we didn't want it.
2913 if test x
$with_gnu_as = xno
; then
2915 noconfigdirs
="$noconfigdirs gas"
2920 # Check whether --with-system-zlib was given.
2921 if test "${with_system_zlib+set}" = set; then :
2922 withval
=$with_system_zlib;
2925 # Make sure we don't let ZLIB be added if we didn't want it.
2926 if test x
$with_system_zlib = xyes
; then
2927 use_included_zlib
=no
2928 noconfigdirs
="$noconfigdirs zlib"
2931 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2933 if test x
$with_system_readline = xyes
; then
2934 noconfigdirs
="$noconfigdirs readline"
2937 # some tools are so dependent upon X11 that if we're not building with X,
2938 # it's not even worth trying to configure, much less build, that tool.
2941 yes |
"") ;; # the default value for this tree is that X11 is available
2943 skipdirs
="${skipdirs} tk itcl libgui"
2944 # We won't be able to build gdbtk without X.
2947 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2950 # Some are only suitable for cross toolchains.
2951 # Remove these if host=target.
2952 cross_only
="target-libgloss target-newlib target-opcodes"
2954 case $is_cross_compiler in
2955 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2958 # If both --with-headers and --with-libs are specified, default to
2960 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2961 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2962 if test x
"${with_newlib}" = x
; then
2967 # Recognize --with-newlib/--without-newlib.
2968 case ${with_newlib} in
2969 no
) skipdirs
="${skipdirs} target-newlib" ;;
2970 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2973 # Check whether --enable-as-accelerator-for was given.
2974 if test "${enable_as_accelerator_for+set}" = set; then :
2975 enableval
=$enable_as_accelerator_for;
2979 # Check whether --enable-offload-targets was given.
2980 if test "${enable_offload_targets+set}" = set; then :
2981 enableval
=$enable_offload_targets;
2982 if test x
"$enable_offload_targets" = x
; then
2983 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2987 enable_offload_targets
=
2991 # Handle --enable-gold, --enable-ld.
2992 # --disable-gold [--enable-ld]
2993 # Build only ld. Default option.
2994 # --enable-gold [--enable-ld]
2995 # Build both gold and ld. Install gold as "ld.gold", install ld
2996 # as "ld.bfd" and "ld".
2997 # --enable-gold=default [--enable-ld]
2998 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2999 # install ld as "ld.bfd".
3000 # --enable-gold[=default] --disable-ld
3001 # Build only gold, which is then installed as both "ld.gold" and "ld".
3002 # --enable-gold --enable-ld=default
3003 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3005 # In other words, ld is default
3006 # --enable-gold=default --enable-ld=default
3010 # Check whether --enable-gold was given.
3011 if test "${enable_gold+set}" = set; then :
3012 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3017 case "${ENABLE_GOLD}" in
3019 # Check for ELF target.
3022 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3023 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3024 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3025 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3027 *-*-linux*aout
* |
*-*-linux*oldld
*)
3035 if test "$is_elf" = "yes"; then
3036 # Check for target supported by gold.
3038 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3039 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3040 configdirs
="$configdirs gold"
3041 if test x
${ENABLE_GOLD} = xdefault
; then
3052 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3056 # Check whether --enable-ld was given.
3057 if test "${enable_ld+set}" = set; then :
3058 enableval
=$enable_ld; ENABLE_LD
=$enableval
3064 case "${ENABLE_LD}" in
3066 if test x
${default_ld} != x
; then
3067 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3073 if test x
${ENABLE_GOLD} != xyes
; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3075 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3077 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3080 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3085 # Decide the default method for compressing debug sections.
3086 # Provide a configure time option to override our default.
3087 # Check whether --enable-compressed_debug_sections was given.
3088 if test "${enable_compressed_debug_sections+set}" = set; then :
3089 enableval
=$enable_compressed_debug_sections;
3090 if test x
"$enable_compressed_debug_sections" = xyes
; then
3091 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3095 enable_compressed_debug_sections
=
3099 # Configure extra directories which are host specific
3103 configdirs
="$configdirs libtermcap" ;;
3106 # A target can indicate whether a language isn't supported for some reason.
3107 # Only spaces may be used in this macro; not newlines or tabs.
3108 unsupported_languages
=
3110 # Remove more programs from consideration, based on the host or
3111 # target this usually means that a port of the program doesn't
3115 i
[3456789]86-*-msdosdjgpp*)
3116 noconfigdirs
="$noconfigdirs tcl tk itcl"
3121 # Check whether --enable-libquadmath was given.
3122 if test "${enable_libquadmath+set}" = set; then :
3123 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3125 ENABLE_LIBQUADMATH
=yes
3128 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3129 noconfigdirs
="$noconfigdirs target-libquadmath"
3133 # Check whether --enable-libquadmath-support was given.
3134 if test "${enable_libquadmath_support+set}" = set; then :
3135 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3137 ENABLE_LIBQUADMATH_SUPPORT
=yes
3140 enable_libquadmath_support
=
3141 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3142 enable_libquadmath_support
=no
3146 # Check whether --enable-libada was given.
3147 if test "${enable_libada+set}" = set; then :
3148 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3153 if test "${ENABLE_LIBADA}" != "yes" ; then
3154 noconfigdirs
="$noconfigdirs gnattools"
3157 # Check whether --enable-libssp was given.
3158 if test "${enable_libssp+set}" = set; then :
3159 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3165 # Check whether --enable-libstdcxx was given.
3166 if test "${enable_libstdcxx+set}" = set; then :
3167 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3169 ENABLE_LIBSTDCXX
=default
3172 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3173 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3176 # If this is accelerator compiler and its target is intelmic we enable
3177 # target liboffloadmic by default. If this is compiler with offloading
3178 # for intelmic we enable host liboffloadmic by default. Otherwise
3179 # liboffloadmic is disabled by default.
3180 # Check whether --enable-liboffloadmic was given.
3181 if test "${enable_liboffloadmic+set}" = set; then :
3182 enableval
=$enable_liboffloadmic; case "$enableval" in
3184 enable_liboffloadmic
=$enableval ;;
3186 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3189 if test x
"$enable_as_accelerator_for" != x
; then
3191 *-intelmic-* |
*-intelmicemul-*)
3192 enable_liboffloadmic
=target
3193 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3196 enable_liboffloadmic
=no
3200 case "${enable_offload_targets}" in
3201 *-intelmic-* |
*-intelmicemul-*)
3202 enable_liboffloadmic
=host
3203 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3206 enable_liboffloadmic
=no
3214 # Enable libgomp by default on hosted POSIX systems, and a few others.
3215 if test x
$enable_libgomp = x
; then
3217 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3219 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3221 *-*-solaris2* |
*-*-hpux11*)
3223 *-*-darwin* |
*-*-aix*)
3228 noconfigdirs
="$noconfigdirs target-libgomp"
3233 # Disable libatomic on unsupported systems.
3234 if test -d ${srcdir}/libatomic
; then
3235 if test x
$enable_libatomic = x
; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3237 $as_echo_n "checking for libatomic support... " >&6; }
3238 if (srcdir
=${srcdir}/libatomic
; \
3239 .
${srcdir}/configure.tgt
; \
3240 test -n "$UNSUPPORTED")
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3244 noconfigdirs
="$noconfigdirs target-libatomic"
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3247 $as_echo "yes" >&6; }
3252 # Disable liboffloadmic on unsupported systems.
3253 if test -d ${srcdir}/liboffloadmic
; then
3254 if test x
$enable_liboffloadmic != xno
; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3256 $as_echo_n "checking for liboffloadmic support... " >&6; }
3257 if (srcdir
=${srcdir}/liboffloadmic
; \
3258 .
${srcdir}/configure.tgt
; \
3259 test -n "$UNSUPPORTED")
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3262 $as_echo "no" >&6; }
3263 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3266 $as_echo "yes" >&6; }
3271 # Disable libitm on unsupported systems.
3272 if test -d ${srcdir}/libitm
; then
3273 if test x
$enable_libitm = x
; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3275 $as_echo_n "checking for libitm support... " >&6; }
3276 if (srcdir
=${srcdir}/libitm
; \
3277 .
${srcdir}/configure.tgt
; \
3278 test -n "$UNSUPPORTED")
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 noconfigdirs
="$noconfigdirs target-libitm"
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3285 $as_echo "yes" >&6; }
3290 # Disable libsanitizer on unsupported systems.
3291 if test -d ${srcdir}/libsanitizer
; then
3292 if test x
$enable_libsanitizer = x
; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3294 $as_echo_n "checking for libsanitizer support... " >&6; }
3295 if (srcdir
=${srcdir}/libsanitizer
; \
3296 .
${srcdir}/configure.tgt
; \
3297 test -n "$UNSUPPORTED")
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3301 noconfigdirs
="$noconfigdirs target-libsanitizer"
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3304 $as_echo "yes" >&6; }
3309 # Disable libvtv on unsupported systems.
3310 if test -d ${srcdir}/libvtv
; then
3311 if test x
$enable_libvtv = x
; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3313 $as_echo_n "checking for libvtv support... " >&6; }
3314 if (srcdir
=${srcdir}/libvtv
; \
3315 .
${srcdir}/configure.tgt
; \
3316 test "$VTV_SUPPORTED" != "yes")
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3320 noconfigdirs
="$noconfigdirs target-libvtv"
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3329 # Disable libhsail-rt on unsupported systems.
3330 if test -d ${srcdir}/libhsail-rt
; then
3331 if test x
$enable_libhsail_rt = x
; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3333 $as_echo_n "checking for libhsail-rt support... " >&6; }
3334 if (srcdir
=${srcdir}/libhsail-rt
; \
3335 .
${srcdir}/configure.tgt
; \
3336 test -n "$UNSUPPORTED")
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 unsupported_languages
="$unsupported_languages brig"
3341 # This implicitly disables also target-libhsail-rt as it won't
3342 # get added to the build without BRIG FE.
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3345 $as_echo "yes" >&6; }
3351 # Disable libquadmath for some systems.
3354 noconfigdirs
="$noconfigdirs target-libquadmath"
3356 # libquadmath is unused on AIX and libquadmath build process use of
3357 # LD_LIBRARY_PATH can break AIX bootstrap.
3358 powerpc-
*-aix* | rs6000-
*-aix*)
3359 noconfigdirs
="$noconfigdirs target-libquadmath"
3363 # Disable libssp for some systems.
3366 # No hosted I/O support.
3367 noconfigdirs
="$noconfigdirs target-libssp"
3369 powerpc-
*-aix* | rs6000-
*-aix*)
3370 noconfigdirs
="$noconfigdirs target-libssp"
3373 # libssp uses a misaligned load to trigger a fault, but the RL78
3374 # doesn't fault for those - instead, it gives a build-time error
3375 # for explicit misaligned loads.
3376 noconfigdirs
="$noconfigdirs target-libssp"
3379 # No hosted I/O support.
3380 noconfigdirs
="$noconfigdirs target-libssp"
3384 # Disable libstdc++-v3 for some systems.
3385 # Allow user to override this if they pass --enable-libstdc++-v3
3386 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3389 # VxWorks uses the Dinkumware C++ library.
3390 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3393 # the C++ libraries don't build on top of CE's C libraries
3394 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3397 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3400 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3405 # Disable Fortran for some systems.
3408 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3409 unsupported_languages
="$unsupported_languages fortran"
3413 # Disable libffi for some systems.
3417 i
[3456789]86-*-darwin*)
3419 x86_64-
*-darwin[912]*)
3422 noconfigdirs
="$noconfigdirs target-libffi"
3425 noconfigdirs
="$noconfigdirs target-libffi"
3428 noconfigdirs
="$noconfigdirs target-libffi"
3431 noconfigdirs
="$noconfigdirs target-libffi"
3434 noconfigdirs
="$noconfigdirs target-libffi"
3437 noconfigdirs
="$noconfigdirs target-libffi"
3440 noconfigdirs
="$noconfigdirs target-libffi"
3442 aarch64
*-*-freebsd*)
3443 noconfigdirs
="$noconfigdirs target-libffi"
3446 noconfigdirs
="$noconfigdirs target-libffi"
3449 noconfigdirs
="$noconfigdirs target-libffi"
3452 noconfigdirs
="$noconfigdirs target-libffi"
3455 noconfigdirs
="$noconfigdirs target-libffi"
3457 cris-
*-* | crisv32-
*-*)
3461 *) # See PR46792 regarding target-libffi.
3462 noconfigdirs
="$noconfigdirs target-libffi";;
3466 noconfigdirs
="$noconfigdirs target-libffi"
3471 noconfigdirs
="$noconfigdirs target-libffi"
3474 noconfigdirs
="$noconfigdirs target-libffi"
3476 i
[3456789]86-w64-mingw*)
3477 noconfigdirs
="$noconfigdirs target-libffi"
3479 i
[3456789]86-*-mingw*)
3480 noconfigdirs
="$noconfigdirs target-libffi"
3483 noconfigdirs
="$noconfigdirs target-libffi"
3486 noconfigdirs
="$noconfigdirs target-libffi"
3493 noconfigdirs
="$noconfigdirs target-libffi"
3496 noconfigdirs
="$noconfigdirs target-libffi"
3500 # Disable the go frontend on systems where it is known to not work. Please keep
3501 # this in sync with contrib/config-list.mk.
3503 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3504 unsupported_languages
="$unsupported_languages go"
3508 # Disable libgo for some systems where it is known to not work.
3509 # For testing, you can easily override this with --enable-libgo.
3510 if test x
$enable_libgo = x
; then
3514 noconfigdirs
="$noconfigdirs target-libgo"
3516 *-*-cygwin* |
*-*-mingw*)
3517 noconfigdirs
="$noconfigdirs target-libgo"
3522 # Default libgloss CPU subdirectory.
3523 libgloss_dir
="$target_cpu"
3526 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3530 libgloss_dir
=aarch64
3535 cris-
*-* | crisv32-
*-*)
3544 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3545 libgloss_dir
=m68hc11
3547 m68
*-*-* | fido-
*-*)
3561 # Disable newlib and libgloss for various target OSes.
3564 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3566 i
[3456789]86-*-linux*)
3567 # This section makes it possible to build newlib natively on linux.
3568 # If we are using a cross compiler then don't configure newlib.
3569 if test x
${is_cross_compiler} != xno
; then
3570 noconfigdirs
="$noconfigdirs target-newlib"
3572 noconfigdirs
="$noconfigdirs target-libgloss"
3573 # If we are not using a cross compiler, do configure newlib.
3574 # Note however, that newlib will only be configured in this situation
3575 # if the --with-newlib option has been given, because otherwise
3576 # 'target-newlib' will appear in skipdirs.
3578 i
[3456789]86-*-rdos*)
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3581 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3582 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3597 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3600 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3602 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3603 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3615 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3618 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3621 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3624 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3632 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3633 noconfigdirs
="$noconfigdirs sim target-rda"
3636 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3637 noconfigdirs
="$noconfigdirs sim target-rda"
3640 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3641 noconfigdirs
="$noconfigdirs sim target-rda"
3643 i
[3456789]86-*-darwin*)
3644 noconfigdirs
="$noconfigdirs ld gprof"
3645 noconfigdirs
="$noconfigdirs sim target-rda"
3647 x86_64-
*-darwin[912]*)
3648 noconfigdirs
="$noconfigdirs ld gas gprof"
3649 noconfigdirs
="$noconfigdirs sim target-rda"
3652 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3653 noconfigdirs
="$noconfigdirs sim target-rda"
3658 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3659 && test -f /usr
/local
/include
/gmp.h
; then
3664 # Remove unsupported stuff on all kaOS configurations.
3665 noconfigdirs
="$noconfigdirs target-libgloss"
3672 noconfigdirs
="$noconfigdirs target-libgloss"
3675 noconfigdirs
="$noconfigdirs target-libgloss"
3677 # The tpf target doesn't support gdb yet.
3679 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3682 noconfigdirs
="$noconfigdirs target-rda"
3687 # ld works, but does not support shared libraries.
3688 # gas doesn't generate exception information.
3689 noconfigdirs
="$noconfigdirs gas ld"
3692 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3695 # newlib is not 64 bit ready
3696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3698 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3699 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3702 noconfigdirs
="$noconfigdirs sim"
3705 noconfigdirs
="$noconfigdirs target-libgloss"
3708 noconfigdirs
="$noconfigdirs ld target-libgloss"
3711 if test x
${with_avrlibc} != xno
; then
3712 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3715 c4x-
*-* | tic4x-
*-*)
3716 noconfigdirs
="$noconfigdirs target-libgloss"
3719 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3722 noconfigdirs
="$noconfigdirs target-libgloss"
3725 noconfigdirs
="$noconfigdirs gdb"
3728 noconfigdirs
="$noconfigdirs gdb"
3731 noconfigdirs
="$noconfigdirs target-rda gprof"
3734 noconfigdirs
="$noconfigdirs"
3737 noconfigdirs
="$noconfigdirs target-libgloss"
3740 noconfigdirs
="$noconfigdirs target-libgloss"
3742 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3745 noconfigdirs
="$noconfigdirs gdb"
3748 noconfigdirs
="$noconfigdirs gdb ld"
3756 hppa
*-*-openbsd* | \
3762 noconfigdirs
="$noconfigdirs ld"
3765 noconfigdirs
="$noconfigdirs gdb"
3768 # No gdb support yet.
3769 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3772 # No ld support yet.
3773 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3776 # No ld support yet.
3777 noconfigdirs
="$noconfigdirs libgui itcl ld"
3779 i
[3456789]86-w64-mingw*)
3781 i
[3456789]86-*-mingw*)
3782 target_configdirs
="$target_configdirs target-winsup"
3785 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3786 noconfigdirs
="$noconfigdirs target-libgloss"
3787 # always build newlib if winsup directory is present.
3788 if test -d "$srcdir/winsup/cygwin"; then
3789 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3790 elif test -d "$srcdir/newlib"; then
3791 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3795 noconfigdirs
="$noconfigdirs target-libgloss"
3797 i
[3456789]86-*-sco3.2v5
*)
3798 # The linker does not yet know about weak symbols in COFF,
3799 # and is not configured to handle mixed ELF and COFF.
3800 noconfigdirs
="$noconfigdirs ld target-libgloss"
3802 i
[3456789]86-*-sco*)
3803 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3805 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3806 noconfigdirs
="$noconfigdirs target-libgloss"
3808 i
[3456789]86-*-sysv4*)
3809 noconfigdirs
="$noconfigdirs target-libgloss"
3811 i
[3456789]86-*-beos*)
3812 noconfigdirs
="$noconfigdirs gdb"
3814 i
[3456789]86-*-rdos*)
3815 noconfigdirs
="$noconfigdirs gdb"
3818 noconfigdirs
="$noconfigdirs gdb"
3821 noconfigdirs
="$noconfigdirs sim"
3824 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3825 noconfigdirs
="$noconfigdirs $target_libraries"
3828 # copied from rs6000-*-* entry
3829 noconfigdirs
="$noconfigdirs gprof"
3831 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3832 target_configdirs
="$target_configdirs target-winsup"
3833 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3834 # always build newlib.
3835 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3837 # This is temporary until we can link against shared libraries
3838 powerpcle-
*-solaris*)
3839 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3842 noconfigdirs
="$noconfigdirs gdb"
3845 noconfigdirs
="$noconfigdirs gprof"
3848 noconfigdirs
="$noconfigdirs gprof"
3851 noconfigdirs
="$noconfigdirs gprof"
3854 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3857 noconfigdirs
="$noconfigdirs gprof"
3859 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3860 if test x
$with_newlib = xyes
; then
3861 noconfigdirs
="$noconfigdirs gprof"
3865 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3868 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3871 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3875 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3876 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3877 noconfigdirs
="$noconfigdirs ld gas gprof"
3880 noconfigdirs
="$noconfigdirs gprof"
3883 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3890 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3894 if test x
${is_cross_compiler} = xno
; then
3899 noconfigdirs
="$noconfigdirs sim"
3901 tilepro
*-*-* | tilegx
*-*-*)
3902 noconfigdirs
="$noconfigdirs sim"
3905 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3908 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3911 noconfigdirs
="$noconfigdirs ld"
3915 # If we aren't building newlib, then don't build libgloss, since libgloss
3916 # depends upon some newlib header files.
3917 case "${noconfigdirs}" in
3918 *target-libgloss
*) ;;
3919 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3922 # Work in distributions that contain no compiler tools, like Autoconf.
3923 host_makefile_frag
=/dev
/null
3924 if test -d ${srcdir}/config
; then
3926 i
[3456789]86-*-msdosdjgpp*)
3927 host_makefile_frag
="config/mh-djgpp"
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3932 $as_echo_n "checking to see if cat works as expected... " >&6; }
3933 echo a
>cygwin-cat-check
3934 if test `cat cygwin-cat-check` = a
; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3937 $as_echo "yes" >&6; }
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3941 $as_echo "no" >&6; }
3942 as_fn_error $?
"The cat command does not ignore carriage return characters.
3943 Please either mount the build directory in binary mode or run the following
3944 commands before running any configure script:
3950 host_makefile_frag
="config/mh-cygwin"
3953 host_makefile_frag
="config/mh-mingw"
3956 host_makefile_frag
="config/mh-alpha-linux"
3959 host_makefile_frag
="config/mh-pa-hpux10"
3962 host_makefile_frag
="config/mh-pa"
3965 host_makefile_frag
="config/mh-pa"
3968 host_makefile_frag
="config/mh-darwin"
3971 host_makefile_frag
="config/mh-ppc-aix"
3974 host_makefile_frag
="config/mh-ppc-aix"
3979 if test "${build}" != "${host}" ; then
3980 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3981 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3982 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3983 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3984 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3985 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3986 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3987 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3988 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3989 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3990 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3991 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3993 AR_FOR_BUILD
="\$(AR)"
3994 AS_FOR_BUILD
="\$(AS)"
3995 CC_FOR_BUILD
="\$(CC)"
3996 CXX_FOR_BUILD
="\$(CXX)"
3997 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3998 GOC_FOR_BUILD
="\$(GOC)"
3999 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4000 LD_FOR_BUILD
="\$(LD)"
4001 NM_FOR_BUILD
="\$(NM)"
4002 RANLIB_FOR_BUILD
="\$(RANLIB)"
4003 WINDRES_FOR_BUILD
="\$(WINDRES)"
4004 WINDMC_FOR_BUILD
="\$(WINDMC)"
4008 ac_cpp
='$CPP $CPPFLAGS'
4009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4012 if test -n "$ac_tool_prefix"; then
4013 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4014 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4016 $as_echo_n "checking for $ac_word... " >&6; }
4017 if ${ac_cv_prog_CC+:} false
; then :
4018 $as_echo_n "(cached) " >&6
4020 if test -n "$CC"; then
4021 ac_cv_prog_CC
="$CC" # Let the user override the test.
4023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir
=.
4028 for ac_exec_ext
in '' $ac_executable_extensions; do
4029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4030 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 if test -n "$CC"; then
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4043 $as_echo "$CC" >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4051 if test -z "$ac_cv_prog_CC"; then
4053 # Extract the first word of "gcc", so it can be a program name with args.
4054 set dummy gcc
; ac_word
=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4058 $as_echo_n "(cached) " >&6
4060 if test -n "$ac_ct_CC"; then
4061 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4067 test -z "$as_dir" && as_dir
=.
4068 for ac_exec_ext
in '' $ac_executable_extensions; do
4069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4070 ac_cv_prog_ac_ct_CC
="gcc"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4081 if test -n "$ac_ct_CC"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4083 $as_echo "$ac_ct_CC" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4089 if test "x$ac_ct_CC" = x
; then
4092 case $cross_compiling:$ac_tool_warned in
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4096 ac_tool_warned
=yes ;;
4104 if test -z "$CC"; then
4105 if test -n "$ac_tool_prefix"; then
4106 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4107 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_prog_CC+:} false
; then :
4111 $as_echo_n "(cached) " >&6
4113 if test -n "$CC"; then
4114 ac_cv_prog_CC
="$CC" # Let the user override the test.
4116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4120 test -z "$as_dir" && as_dir
=.
4121 for ac_exec_ext
in '' $ac_executable_extensions; do
4122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 if test -n "$CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4136 $as_echo "$CC" >&6; }
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4145 if test -z "$CC"; then
4146 # Extract the first word of "cc", so it can be a program name with args.
4147 set dummy cc
; ac_word
=$2
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4149 $as_echo_n "checking for $ac_word... " >&6; }
4150 if ${ac_cv_prog_CC+:} false
; then :
4151 $as_echo_n "(cached) " >&6
4153 if test -n "$CC"; then
4154 ac_cv_prog_CC
="$CC" # Let the user override the test.
4157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir
=.
4162 for ac_exec_ext
in '' $ac_executable_extensions; do
4163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4164 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4165 ac_prog_rejected
=yes
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 if test $ac_prog_rejected = yes; then
4177 # We found a bogon in the path, so make sure we never use it.
4178 set dummy
$ac_cv_prog_CC
4180 if test $# != 0; then
4181 # We chose a different compiler from the bogus one.
4182 # However, it has the same basename, so the bogon will be chosen
4183 # first if we set CC to just the basename; use the full file name.
4185 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4191 if test -n "$CC"; then
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4193 $as_echo "$CC" >&6; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4196 $as_echo "no" >&6; }
4201 if test -z "$CC"; then
4202 if test -n "$ac_tool_prefix"; then
4203 for ac_prog
in cl.exe
4205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4206 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_prog_CC+:} false
; then :
4210 $as_echo_n "(cached) " >&6
4212 if test -n "$CC"; then
4213 ac_cv_prog_CC
="$CC" # Let the user override the test.
4215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir
=.
4220 for ac_exec_ext
in '' $ac_executable_extensions; do
4221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 if test -n "$CC"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4235 $as_echo "$CC" >&6; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4242 test -n "$CC" && break
4245 if test -z "$CC"; then
4247 for ac_prog
in cl.exe
4249 # Extract the first word of "$ac_prog", so it can be a program name with args.
4250 set dummy
$ac_prog; ac_word
=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4254 $as_echo_n "(cached) " >&6
4256 if test -n "$ac_ct_CC"; then
4257 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4263 test -z "$as_dir" && as_dir
=.
4264 for ac_exec_ext
in '' $ac_executable_extensions; do
4265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4266 ac_cv_prog_ac_ct_CC
="$ac_prog"
4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4277 if test -n "$ac_ct_CC"; then
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4279 $as_echo "$ac_ct_CC" >&6; }
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4286 test -n "$ac_ct_CC" && break
4289 if test "x$ac_ct_CC" = x
; then
4292 case $cross_compiling:$ac_tool_warned in
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4296 ac_tool_warned
=yes ;;
4305 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4307 as_fn_error $?
"no acceptable C compiler found in \$PATH
4308 See \`config.log' for more details" "$LINENO" 5; }
4310 # Provide some information about the compiler.
4311 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4314 for ac_option
in --version -v -V -qversion; do
4315 { { ac_try
="$ac_compiler $ac_option >&5"
4317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4321 $as_echo "$ac_try_echo"; } >&5
4322 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4324 if test -s conftest.err; then
4326 ... rest of stderr output deleted ...
4327 10q' conftest.err >conftest.er1
4328 cat conftest.er1 >&5
4330 rm -f conftest.er1 conftest.err
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4346 ac_clean_files_save=$ac_clean_files
4347 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4348 # Try to create an executable without -o first, disregard a.out.
4349 # It will help us diagnose broken compilers, and finding out an intuition
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4352 $as_echo_n "checking whether the C compiler works... " >&6; }
4353 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4355 # The possible output files:
4356 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4359 for ac_file in $ac_files
4362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4363 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4368 if { { ac_try="$ac_link_default"
4370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4371 *) ac_try_echo
=$ac_try;;
4373 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4374 $as_echo "$ac_try_echo"; } >&5
4375 (eval "$ac_link_default") 2>&5
4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378 test $ac_status = 0; }; then :
4379 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4380 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4381 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4382 # so that the user can short-circuit this test for compilers unknown to
4384 for ac_file
in $ac_files ''
4386 test -f "$ac_file" ||
continue
4388 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4391 # We found the default executable, but exeext='' is most
4395 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4397 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4399 # We set ac_cv_exeext here because the later test for it is not
4400 # safe: cross compilers may not add the suffix if given an `-o'
4401 # argument, so we may need to know it at that point already.
4402 # Even if this section looks crufty: it has the advantage of
4409 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4414 if test -z "$ac_file"; then :
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4417 $as_echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.
$ac_ext >&5
4420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error
77 "C compiler cannot create executables
4423 See \`config.log' for more details" "$LINENO" 5; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4426 $as_echo "yes" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4429 $as_echo_n "checking for C compiler default output file name... " >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4431 $as_echo "$ac_file" >&6; }
4432 ac_exeext
=$ac_cv_exeext
4434 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4435 ac_clean_files
=$ac_clean_files_save
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4437 $as_echo_n "checking for suffix of executables... " >&6; }
4438 if { { ac_try
="$ac_link"
4440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4444 $as_echo "$ac_try_echo"; } >&5
4445 (eval "$ac_link") 2>&5
4447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4448 test $ac_status = 0; }; then :
4449 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4450 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4451 # work properly (i.e., refer to `conftest.exe'), while it won't with
4453 for ac_file
in conftest.exe conftest conftest.
*; do
4454 test -f "$ac_file" ||
continue
4456 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4457 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4465 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4466 See \`config.log' for more details" "$LINENO" 5; }
4468 rm -f conftest conftest
$ac_cv_exeext
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4470 $as_echo "$ac_cv_exeext" >&6; }
4472 rm -f conftest.
$ac_ext
4473 EXEEXT
=$ac_cv_exeext
4475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4481 FILE *f = fopen ("conftest.out", "w");
4482 return ferror (f) || fclose (f) != 0;
4488 ac_clean_files
="$ac_clean_files conftest.out"
4489 # Check that the compiler produces executables we can run. If not, either
4490 # the compiler is broken, or we cross compile.
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4492 $as_echo_n "checking whether we are cross compiling... " >&6; }
4493 if test "$cross_compiling" != yes; then
4494 { { ac_try
="$ac_link"
4496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4500 $as_echo "$ac_try_echo"; } >&5
4501 (eval "$ac_link") 2>&5
4503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4504 test $ac_status = 0; }
4505 if { ac_try='./conftest$ac_cv_exeext'
4506 { { case "(($ac_try" in
4507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4508 *) ac_try_echo
=$ac_try;;
4510 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4511 $as_echo "$ac_try_echo"; } >&5
4512 (eval "$ac_try") 2>&5
4514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4515 test $ac_status = 0; }; }; then
4518 if test "$cross_compiling" = maybe
; then
4521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4523 as_fn_error $?
"cannot run C compiled programs.
4524 If you meant to cross compile, use \`--host'.
4525 See \`config.log' for more details" "$LINENO" 5; }
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4530 $as_echo "$cross_compiling" >&6; }
4532 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4533 ac_clean_files
=$ac_clean_files_save
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4535 $as_echo_n "checking for suffix of object files... " >&6; }
4536 if ${ac_cv_objext+:} false
; then :
4537 $as_echo_n "(cached) " >&6
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 rm -f conftest.o conftest.obj
4551 if { { ac_try
="$ac_compile"
4553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4554 *) ac_try_echo=$ac_try;;
4556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4557 $as_echo "$ac_try_echo"; } >&5
4558 (eval "$ac_compile") 2>&5
4560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4561 test $ac_status = 0; }; then :
4562 for ac_file in conftest.o conftest.obj conftest.*; do
4563 test -f "$ac_file" || continue;
4565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4566 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4571 $as_echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.$ac_ext >&5
4574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4576 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4577 See \
`config.log' for more details" "$LINENO" 5; }
4579 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4582 $as_echo "$ac_cv_objext" >&6; }
4583 OBJEXT=$ac_cv_objext
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4586 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4587 if ${ac_cv_c_compiler_gnu+:} false; then :
4588 $as_echo_n "(cached) " >&6
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4604 if ac_fn_c_try_compile "$LINENO"; then :
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4614 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4615 if test $ac_compiler_gnu = yes; then
4620 ac_test_CFLAGS=${CFLAGS+set}
4621 ac_save_CFLAGS=$CFLAGS
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4623 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4624 if ${ac_cv_prog_cc_g+:} false; then :
4625 $as_echo_n "(cached) " >&6
4627 ac_save_c_werror_flag=$ac_c_werror_flag
4628 ac_c_werror_flag=yes
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4642 if ac_fn_c_try_compile "$LINENO"; then :
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4657 if ac_fn_c_try_compile "$LINENO"; then :
4660 ac_c_werror_flag=$ac_save_c_werror_flag
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4673 if ac_fn_c_try_compile "$LINENO"; then :
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4681 ac_c_werror_flag=$ac_save_c_werror_flag
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4684 $as_echo "$ac_cv_prog_cc_g" >&6; }
4685 if test "$ac_test_CFLAGS" = set; then
4686 CFLAGS=$ac_save_CFLAGS
4687 elif test $ac_cv_prog_cc_g = yes; then
4688 if test "$GCC" = yes; then
4694 if test "$GCC" = yes; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4701 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4702 if ${ac_cv_prog_cc_c89+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 ac_cv_prog_cc_c89=no
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4713 struct buf { int x; };
4714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4715 static char *e (p, i)
4721 static char *f (char * (*g) (char **, int), char **p, ...)
4726 s = g (p, va_arg (v,int));
4731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4732 function prototypes and stuff, but not '\xHH' hex character constants.
4733 These don't provoke an error unfortunately, instead are silently treated
4734 as 'x'. The following induces an error, until -std is added to get
4735 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4736 array size at least. It's necessary to write '\x00'==0 to get something
4737 that's true only with -std. */
4738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4741 inside strings and character constants. */
4743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4745 int test (int i, double x);
4746 struct s1 {int (*f) (int a);};
4747 struct s2 {int (*f) (double a);};
4748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4760 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4762 CC="$ac_save_CC $ac_arg"
4763 if ac_fn_c_try_compile "$LINENO"; then :
4764 ac_cv_prog_cc_c89=$ac_arg
4766 rm -f core conftest.err conftest.$ac_objext
4767 test "x$ac_cv_prog_cc_c89" != "xno" && break
4769 rm -f conftest.$ac_ext
4774 case "x$ac_cv_prog_cc_c89" in
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4777 $as_echo "none needed" >&6; } ;;
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4780 $as_echo "unsupported" >&6; } ;;
4782 CC="$CC $ac_cv_prog_cc_c89"
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4786 if test "x$ac_cv_prog_cc_c89" != xno; then :
4791 ac_cpp='$CPP $CPPFLAGS'
4792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4797 ac_cpp='$CXXCPP $CPPFLAGS'
4798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4801 if test -z "$CXX"; then
4802 if test -n "$CCC"; then
4805 if test -n "$ac_tool_prefix"; then
4806 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_CXX+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$CXX"; then
4816 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 if test -n "$CXX"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4838 $as_echo "$CXX" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4845 test -n "$CXX" && break
4848 if test -z "$CXX"; then
4850 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4852 # Extract the first word of "$ac_prog", so it can be a program name with args.
4853 set dummy $ac_prog; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$ac_ct_CXX"; then
4860 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_ac_ct_CXX="$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4880 if test -n "$ac_ct_CXX"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4882 $as_echo "$ac_ct_CXX" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$ac_ct_CXX" && break
4892 if test "x$ac_ct_CXX" = x; then
4895 case $cross_compiling:$ac_tool_warned in
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4899 ac_tool_warned=yes ;;
4907 # Provide some information about the compiler.
4908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4911 for ac_option in --version -v -V -qversion; do
4912 { { ac_try="$ac_compiler $ac_option >&5"
4914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4915 *) ac_try_echo
=$ac_try;;
4917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918 $as_echo "$ac_try_echo"; } >&5
4919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4921 if test -s conftest.err
; then
4923 ... rest of stderr output deleted ...
4924 10q' conftest.err
>conftest.er1
4925 cat conftest.er1
>&5
4927 rm -f conftest.er1 conftest.err
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4933 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4934 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4935 $as_echo_n "(cached) " >&6
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4951 if ac_fn_cxx_try_compile
"$LINENO"; then :
4956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4961 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4962 if test $ac_compiler_gnu = yes; then
4967 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4968 ac_save_CXXFLAGS
=$CXXFLAGS
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4970 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4971 if ${ac_cv_prog_cxx_g+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4975 ac_cxx_werror_flag
=yes
4978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4989 if ac_fn_cxx_try_compile
"$LINENO"; then :
4990 ac_cv_prog_cxx_g
=yes
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
5004 if ac_fn_cxx_try_compile
"$LINENO"; then :
5007 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5020 if ac_fn_cxx_try_compile
"$LINENO"; then :
5021 ac_cv_prog_cxx_g
=yes
5023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5028 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5031 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5032 if test "$ac_test_CXXFLAGS" = set; then
5033 CXXFLAGS
=$ac_save_CXXFLAGS
5034 elif test $ac_cv_prog_cxx_g = yes; then
5035 if test "$GXX" = yes; then
5041 if test "$GXX" = yes; then
5048 ac_cpp
='$CPP $CPPFLAGS'
5049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5054 # We must set the default linker to the linker used by gcc for the correct
5055 # operation of libtool. If LD is not defined and we are using gcc, try to
5056 # set the LD default to the ld used by gcc.
5057 if test -z "$LD"; then
5058 if test "$GCC" = yes; then
5061 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5063 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5065 case $gcc_prog_ld in
5066 # Accept absolute paths.
5067 [\\/]* |
[A-Za-z
]:[\\/]*)
5068 LD
="$gcc_prog_ld" ;;
5073 # Check whether -static-libstdc++ -static-libgcc is supported.
5075 if test "$GCC" = yes; then
5076 saved_LDFLAGS
="$LDFLAGS"
5078 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5080 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5082 ac_cpp
='$CXXCPP $CPPFLAGS'
5083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5091 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5092 #error -static-libstdc++ not implemented
5096 if ac_fn_cxx_try_link
"$LINENO"; then :
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5098 $as_echo "yes" >&6; }; have_static_libs
=yes
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5103 rm -f core conftest.err conftest.
$ac_objext \
5104 conftest
$ac_exeext conftest.
$ac_ext
5106 ac_cpp
='$CPP $CPPFLAGS'
5107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5112 LDFLAGS
="$saved_LDFLAGS"
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5120 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_GNATBIND+:} false
; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -n "$GNATBIND"; then
5127 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 GNATBIND
=$ac_cv_prog_GNATBIND
5147 if test -n "$GNATBIND"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5149 $as_echo "$GNATBIND" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5157 if test -z "$ac_cv_prog_GNATBIND"; then
5158 ac_ct_GNATBIND
=$GNATBIND
5159 # Extract the first word of "gnatbind", so it can be a program name with args.
5160 set dummy gnatbind
; ac_word
=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$ac_ct_GNATBIND"; then
5167 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir
=.
5174 for ac_exec_ext
in '' $ac_executable_extensions; do
5175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5187 if test -n "$ac_ct_GNATBIND"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5189 $as_echo "$ac_ct_GNATBIND" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5195 if test "x$ac_ct_GNATBIND" = x
; then
5198 case $cross_compiling:$ac_tool_warned in
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned
=yes ;;
5204 GNATBIND
=$ac_ct_GNATBIND
5207 GNATBIND
="$ac_cv_prog_GNATBIND"
5210 if test -n "$ac_tool_prefix"; then
5211 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5212 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$GNATMAKE"; then
5219 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 GNATMAKE
=$ac_cv_prog_GNATMAKE
5239 if test -n "$GNATMAKE"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5241 $as_echo "$GNATMAKE" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5249 if test -z "$ac_cv_prog_GNATMAKE"; then
5250 ac_ct_GNATMAKE
=$GNATMAKE
5251 # Extract the first word of "gnatmake", so it can be a program name with args.
5252 set dummy gnatmake
; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5256 $as_echo_n "(cached) " >&6
5258 if test -n "$ac_ct_GNATMAKE"; then
5259 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5268 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5279 if test -n "$ac_ct_GNATMAKE"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5281 $as_echo "$ac_ct_GNATMAKE" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5287 if test "x$ac_ct_GNATMAKE" = x
; then
5290 case $cross_compiling:$ac_tool_warned in
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5294 ac_tool_warned
=yes ;;
5296 GNATMAKE
=$ac_ct_GNATMAKE
5299 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5303 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5304 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 cat >conftest.adb
<<EOF
5308 procedure conftest is begin null; end conftest;
5310 acx_cv_cc_gcc_supports_ada
=no
5311 # There is a bug in old released versions of GCC which causes the
5312 # driver to exit successfully when the appropriate language module
5313 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5314 # Therefore we must check for the error message as well as an
5315 # unsuccessful exit.
5316 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5317 # given a .adb file, but produce no object file. So we must check
5318 # if an object file was really produced to guard against this.
5319 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5320 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5321 acx_cv_cc_gcc_supports_ada
=yes
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5326 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5328 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5335 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5336 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5341 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5342 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5343 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5346 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5349 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5350 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5353 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5360 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5361 do_compare
="$gcc_cv_prog_cmp_skip"
5365 # Check whether --enable-bootstrap was given.
5366 if test "${enable_bootstrap+set}" = set; then :
5367 enableval
=$enable_bootstrap;
5369 enable_bootstrap
=default
5373 # Issue errors and warnings for invalid/strange bootstrap combinations.
5374 if test -r $srcdir/gcc
/configure
; then
5380 case "$have_compiler:$host:$target:$enable_bootstrap" in
5383 # Default behavior. Enable bootstrap if we have a compiler
5384 # and we are in a native configuration.
5385 yes:$build:$build:default
)
5386 enable_bootstrap
=yes ;;
5389 enable_bootstrap
=no
;;
5391 # We have a compiler and we are in a native configuration, bootstrap is ok
5392 yes:$build:$build:yes)
5395 # Other configurations, but we have a compiler. Assume the user knows
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5399 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5402 # No compiler: if they passed --enable-bootstrap explicitly, fail
5404 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5406 # Fail if wrong command line
5408 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5412 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5413 # C++98 compiler can still start the bootstrap.
5414 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5415 CXX
="$CXX -std=gnu++98"
5418 # Used for setting $lt_cv_objdir
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5420 $as_echo_n "checking for objdir... " >&6; }
5421 if ${lt_cv_objdir+:} false
; then :
5422 $as_echo_n "(cached) " >&6
5424 rm -f .libs
2>/dev
/null
5425 mkdir .libs
2>/dev
/null
5426 if test -d .libs
; then
5429 # MS-DOS does not allow filenames that begin with a dot.
5432 rmdir .libs
2>/dev
/null
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5435 $as_echo "$lt_cv_objdir" >&6; }
5436 objdir
=$lt_cv_objdir
5442 cat >>confdefs.h
<<_ACEOF
5443 #define LT_OBJDIR "$lt_cv_objdir/"
5448 # Check for GMP, MPFR and MPC
5449 gmplibs
="-lmpc -lmpfr -lgmp"
5453 # Specify a location for mpc
5454 # check for this first so it ends up on the link line before mpfr.
5456 # Check whether --with-mpc was given.
5457 if test "${with_mpc+set}" = set; then :
5462 # Check whether --with-mpc-include was given.
5463 if test "${with_mpc_include+set}" = set; then :
5464 withval
=$with_mpc_include;
5468 # Check whether --with-mpc-lib was given.
5469 if test "${with_mpc_lib+set}" = set; then :
5470 withval
=$with_mpc_lib;
5474 if test "x$with_mpc" != x
; then
5475 gmplibs
="-L$with_mpc/lib $gmplibs"
5476 gmpinc
="-I$with_mpc/include $gmpinc"
5478 if test "x$with_mpc_include" != x
; then
5479 gmpinc
="-I$with_mpc_include $gmpinc"
5481 if test "x$with_mpc_lib" != x
; then
5482 gmplibs
="-L$with_mpc_lib $gmplibs"
5484 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5485 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5486 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5487 # Do not test the mpc version. Assume that it is sufficient, since
5488 # it is in the source tree, and the library has not been built yet
5489 # but it would be included on the link line in the version check below
5490 # hence making the test fail.
5494 # Specify a location for mpfr
5495 # check for this first so it ends up on the link line before gmp.
5497 # Check whether --with-mpfr-dir was given.
5498 if test "${with_mpfr_dir+set}" = set; then :
5499 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5500 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5505 # Check whether --with-mpfr was given.
5506 if test "${with_mpfr+set}" = set; then :
5511 # Check whether --with-mpfr-include was given.
5512 if test "${with_mpfr_include+set}" = set; then :
5513 withval
=$with_mpfr_include;
5517 # Check whether --with-mpfr-lib was given.
5518 if test "${with_mpfr_lib+set}" = set; then :
5519 withval
=$with_mpfr_lib;
5523 if test "x$with_mpfr" != x
; then
5524 gmplibs
="-L$with_mpfr/lib $gmplibs"
5525 gmpinc
="-I$with_mpfr/include $gmpinc"
5527 if test "x$with_mpfr_include" != x
; then
5528 gmpinc
="-I$with_mpfr_include $gmpinc"
5530 if test "x$with_mpfr_lib" != x
; then
5531 gmplibs
="-L$with_mpfr_lib $gmplibs"
5533 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5534 # MPFR v3.1.0 moved the sources into a src sub-directory.
5535 if ! test -d ${srcdir}/mpfr
/src
; then
5536 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5538 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5539 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5540 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5541 # Do not test the mpfr version. Assume that it is sufficient, since
5542 # it is in the source tree, and the library has not been built yet
5543 # but it would be included on the link line in the version check below
5544 # hence making the test fail.
5548 # Specify a location for gmp
5550 # Check whether --with-gmp-dir was given.
5551 if test "${with_gmp_dir+set}" = set; then :
5552 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5553 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5558 # Check whether --with-gmp was given.
5559 if test "${with_gmp+set}" = set; then :
5564 # Check whether --with-gmp-include was given.
5565 if test "${with_gmp_include+set}" = set; then :
5566 withval
=$with_gmp_include;
5570 # Check whether --with-gmp-lib was given.
5571 if test "${with_gmp_lib+set}" = set; then :
5572 withval
=$with_gmp_lib;
5577 if test "x$with_gmp" != x
; then
5578 gmplibs
="-L$with_gmp/lib $gmplibs"
5579 gmpinc
="-I$with_gmp/include $gmpinc"
5581 if test "x$with_gmp_include" != x
; then
5582 gmpinc
="-I$with_gmp_include $gmpinc"
5584 if test "x$with_gmp_lib" != x
; then
5585 gmplibs
="-L$with_gmp_lib $gmplibs"
5587 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5588 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5589 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5590 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5591 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5592 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5593 # Do not test the gmp version. Assume that it is sufficient, since
5594 # it is in the source tree, and the library has not been built yet
5595 # but it would be included on the link line in the version check below
5596 # hence making the test fail.
5600 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5602 saved_CFLAGS
="$CFLAGS"
5603 CFLAGS
="$CFLAGS $gmpinc"
5604 # Check for the recommended and required versions of GMP.
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5606 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5615 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5616 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5617 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5625 if ac_fn_c_try_compile
"$LINENO"; then :
5626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5633 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5634 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5635 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5643 if ac_fn_c_try_compile
"$LINENO"; then :
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5645 $as_echo "yes" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5648 $as_echo "buggy but acceptable" >&6; }
5650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }; have_gmp
=no
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5657 # If we have GMP, check the MPFR version.
5658 if test x
"$have_gmp" = xyes
; then
5659 # Check for the recommended and required versions of MPFR.
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5661 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5670 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5678 if ac_fn_c_try_compile
"$LINENO"; then :
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5687 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5695 if ac_fn_c_try_compile
"$LINENO"; then :
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5697 $as_echo "yes" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5700 $as_echo "buggy but acceptable" >&6; }
5702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }; have_gmp
=no
5707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5710 # Check for the MPC header version.
5711 if test x
"$have_gmp" = xyes
; then
5712 # Check for the recommended and required versions of MPC.
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5714 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5722 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5730 if ac_fn_c_try_compile
"$LINENO"; then :
5731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5732 /* end confdefs.h. */
5738 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5746 if ac_fn_c_try_compile
"$LINENO"; then :
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5748 $as_echo "yes" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5751 $as_echo "buggy but acceptable" >&6; }
5753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }; have_gmp
=no
5758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5761 # Now check the MPFR library.
5762 if test x
"$have_gmp" = xyes
; then
5764 LIBS
="$LIBS $gmplibs"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5766 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5780 mpfr_atan2 (n, n, x, GMP_RNDN);
5781 mpfr_erfc (n, x, GMP_RNDN);
5782 mpfr_subnormalize (x, t, GMP_RNDN);
5786 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5787 mpc_cosh (c, c, MPC_RNDNN);
5788 mpc_pow (c, c, c, MPC_RNDNN);
5789 mpc_acosh (c, c, MPC_RNDNN);
5796 if ac_fn_c_try_link
"$LINENO"; then :
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5798 $as_echo "yes" >&6; }
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }; have_gmp
=no
5803 rm -f core conftest.err conftest.
$ac_objext \
5804 conftest
$ac_exeext conftest.
$ac_ext
5808 CFLAGS
="$saved_CFLAGS"
5810 # The library versions listed in the error message below should match
5811 # the HARD-minimums enforced above.
5812 if test x
$have_gmp != xyes
; then
5813 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5814 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5815 their locations. Source code for these libraries can be found at
5816 their respective hosting sites as well as at
5817 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5818 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5819 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5820 make sure that you have installed both the libraries and the header
5821 files. They may be located in separate packages." "$LINENO" 5
5825 # Flags needed for both GMP, MPFR and/or MPC.
5833 # Libraries to use for stage1 or when not bootstrapping.
5835 # Check whether --with-stage1-libs was given.
5836 if test "${with_stage1_libs+set}" = set; then :
5837 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5840 stage1_libs
=$withval
5848 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5849 # default is yes if gcc is being built; no otherwise. The reason for
5850 # this default is that gdb is sometimes linked against GNU Source
5851 # Highlight, which is a shared library that uses C++ exceptions. In
5852 # this case, -static-libstdc++ will cause crashes.
5854 # Check whether --with-static-standard-libraries was given.
5855 if test "${with_static_standard_libraries+set}" = set; then :
5856 withval
=$with_static_standard_libraries;
5858 with_static_standard_libraries
=auto
5861 if test "$with_static_standard_libraries" = auto
; then
5862 with_static_standard_libraries
=$have_compiler
5865 # Linker flags to use for stage1 or when not bootstrapping.
5867 # Check whether --with-stage1-ldflags was given.
5868 if test "${with_stage1_ldflags+set}" = set; then :
5869 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5872 stage1_ldflags
=$withval
5876 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5877 # if supported. But if the user explicitly specified the libraries to use,
5878 # trust that they are doing what they want.
5879 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5880 -a "$have_static_libs" = yes; then
5881 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5887 # Libraries to use for stage2 and later builds.
5889 # Check whether --with-boot-libs was given.
5890 if test "${with_boot_libs+set}" = set; then :
5891 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5894 poststage1_libs
=$withval
5902 # Linker flags to use for stage2 and later builds.
5904 # Check whether --with-boot-ldflags was given.
5905 if test "${with_boot_ldflags+set}" = set; then :
5906 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5909 poststage1_ldflags
=$withval
5913 # In stages 2 and 3, default to linking libstdc++ and libgcc
5914 # statically. But if the user explicitly specified the libraries to
5915 # use, trust that they are doing what they want.
5916 if test "$poststage1_libs" = ""; then
5917 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5923 # GCC GRAPHITE dependency isl.
5924 # Basic setup is inlined here, actual checks are in config/isl.m4
5927 # Check whether --with-isl was given.
5928 if test "${with_isl+set}" = set; then :
5933 # Treat --without-isl as a request to disable
5934 # GRAPHITE support and skip all following checks.
5935 if test "x$with_isl" != "xno"; then
5939 # Check whether --with-isl-include was given.
5940 if test "${with_isl_include+set}" = set; then :
5941 withval
=$with_isl_include;
5945 # Check whether --with-isl-lib was given.
5946 if test "${with_isl_lib+set}" = set; then :
5947 withval
=$with_isl_lib;
5951 # Check whether --enable-isl-version-check was given.
5952 if test "${enable_isl_version_check+set}" = set; then :
5953 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5955 ENABLE_ISL_CHECK
=yes
5959 # Initialize isllibs and islinc.
5968 isllibs
="-L$with_isl/lib"
5969 islinc
="-I$with_isl/include"
5972 if test "x${with_isl_include}" != x
; then
5973 islinc
="-I$with_isl_include"
5975 if test "x${with_isl_lib}" != x
; then
5976 isllibs
="-L$with_isl_lib"
5978 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5979 && test -d ${srcdir}/isl
; then
5980 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5981 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5984 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5987 isllibs
="${isllibs} -lisl"
5991 if test "${ENABLE_ISL_CHECK}" = yes ; then
5992 _isl_saved_CFLAGS
=$CFLAGS
5993 _isl_saved_LDFLAGS
=$LDFLAGS
5994 _isl_saved_LIBS
=$LIBS
5996 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5997 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5998 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6001 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6004 #include <isl/schedule.h>
6008 isl_options_set_schedule_serialize_sccs (NULL, 0);
6013 if ac_fn_c_try_link
"$LINENO"; then :
6018 rm -f core conftest.err conftest.
$ac_objext \
6019 conftest
$ac_exeext conftest.
$ac_ext
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6021 $as_echo "$gcc_cv_isl" >&6; }
6023 if test "${gcc_cv_isl}" = no
; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6025 $as_echo "required isl version is 0.15 or later" >&6; }
6028 CFLAGS
=$_isl_saved_CFLAGS
6029 LDFLAGS
=$_isl_saved_LDFLAGS
6030 LIBS
=$_isl_saved_LIBS
6038 if test "x${with_isl}" = xno
; then
6039 graphite_requested
=no
6040 elif test "x${with_isl}" != x \
6041 ||
test "x${with_isl_include}" != x \
6042 ||
test "x${with_isl_lib}" != x
; then
6043 graphite_requested
=yes
6045 graphite_requested
=no
6050 if test "${gcc_cv_isl}" = no
; then
6055 if test "${graphite_requested}" = yes \
6056 && test "x${isllibs}" = x \
6057 && test "x${islinc}" = x
; then
6059 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6065 # If the isl check failed, disable builds of in-tree variant of isl
6066 if test "x$with_isl" = xno ||
6067 test "x$gcc_cv_isl" = xno
; then
6068 noconfigdirs
="$noconfigdirs isl"
6075 # Check for LTO support.
6076 # Check whether --enable-lto was given.
6077 if test "${enable_lto+set}" = set; then :
6078 enableval
=$enable_lto; enable_lto
=$enableval
6080 enable_lto
=yes; default_enable_lto
=yes
6089 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6090 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6091 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6100 if test $target_elf = yes; then :
6101 # ELF platforms build the lto-plugin always.
6102 build_lto_plugin
=yes
6105 if test x
"$default_enable_lto" = x
"yes" ; then
6107 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6108 # On other non-ELF platforms, LTO has yet to be validated.
6112 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6113 # It would also be nice to check the binutils support, but we don't
6114 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6115 # warn during gcc/ subconfigure; unless you're bootstrapping with
6116 # -flto it won't be needed until after installation anyway.
6118 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6119 *) if test x
"$enable_lto" = x
"yes"; then
6120 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6125 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6126 # Build it unless LTO was explicitly disabled.
6128 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6135 # Check whether --enable-linker-plugin-configure-flags was given.
6136 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6137 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6139 extra_linker_plugin_configure_flags
=
6143 # Check whether --enable-linker-plugin-flags was given.
6144 if test "${enable_linker_plugin_flags+set}" = set; then :
6145 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6147 extra_linker_plugin_flags
=
6152 # Enable --enable-host-shared.
6153 # Checked early to determine whether jit is an 'all' language
6154 # Check whether --enable-host-shared was given.
6155 if test "${enable_host_shared+set}" = set; then :
6156 enableval
=$enable_host_shared; host_shared
=$enableval
6163 # By default, C and C++ are the only stage 1 languages.
6164 stage1_languages
=,c
,
6166 # Target libraries that we bootstrap.
6167 bootstrap_target_libs
=,target-libgcc
,
6169 # Figure out what language subdirectories are present.
6170 # Look if the user specified --enable-languages="..."; if not, use
6171 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6173 # NB: embedded tabs in this IF block -- do not untabify
6174 if test -d ${srcdir}/gcc
; then
6175 if test x
"${enable_languages+set}" != xset
; then
6176 if test x
"${LANGUAGES+set}" = xset
; then
6177 enable_languages
="${LANGUAGES}"
6178 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6180 enable_languages
=default
6183 if test x
"${enable_languages}" = x ||
6184 test x
"${enable_languages}" = xyes
;
6186 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6190 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6192 # 'f95' is the old name for the 'fortran' language. We issue a warning
6193 # and make the substitution.
6194 case ,${enable_languages}, in
6196 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6197 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6201 # If bootstrapping, C++ must be enabled.
6202 case ",$enable_languages,:$enable_bootstrap" in
6205 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6206 enable_languages
="${enable_languages},c++"
6208 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6213 # First scan to see if an enabled language requires some other language.
6214 # We assume that a given config-lang.in will list all the language
6215 # front ends it requires, even if some are required indirectly.
6216 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6217 case ${lang_frag} in
6219 # The odd quoting in the next line works around
6220 # an apparent bug in bash 1.12 on linux.
6221 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6223 # From the config-lang.in, get $language, $lang_requires, and
6224 # $lang_requires_boot_languages.
6227 lang_requires_boot_languages
=
6228 # set srcdir during sourcing lang_frag to the gcc dir.
6229 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6230 # polutes this shell
6231 saved_srcdir
=${srcdir}
6232 srcdir
=${srcdir}/gcc .
${lang_frag}
6233 srcdir
=${saved_srcdir}
6234 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6235 case ,${enable_languages}, in
6240 echo " \`$other' language required by \`$language'; enabling" 1>&2
6241 enable_languages
="${enable_languages},${other}"
6245 for other
in ${lang_requires_boot_languages} ; do
6246 if test "$other" != "c"; then
6247 case ,${enable_stage1_languages}, in
6252 case ,${enable_languages}, in
6254 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6255 enable_stage1_languages
="$enable_stage1_languages,${other}"
6266 new_enable_languages
=,c
,
6268 # If LTO is enabled, add the LTO front end.
6269 if test "$enable_lto" = "yes" ; then
6270 case ,${enable_languages}, in
6272 *) enable_languages
="${enable_languages},lto" ;;
6274 if test "${build_lto_plugin}" = "yes" ; then
6275 configdirs
="$configdirs lto-plugin"
6279 # If we're building an offloading compiler, add the LTO front end.
6280 if test x
"$enable_as_accelerator_for" != x
; then
6281 case ,${enable_languages}, in
6283 *) enable_languages
="${enable_languages},lto" ;;
6287 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6288 potential_languages
=,c
,
6290 enabled_target_libs
=
6291 disabled_target_libs
=
6293 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6294 case ${lang_frag} in
6296 # The odd quoting in the next line works around
6297 # an apparent bug in bash 1.12 on linux.
6298 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6300 # From the config-lang.in, get $language, $target_libs,
6301 # $lang_dirs, $boot_language, and $build_by_default
6307 build_by_default
=yes
6308 # set srcdir during sourcing. See above about save & restore
6309 saved_srcdir
=${srcdir}
6310 srcdir
=${srcdir}/gcc .
${lang_frag}
6311 srcdir
=${saved_srcdir}
6312 if test x
${language} = x
; then
6313 echo "${lang_frag} doesn't set \$language." 1>&2
6317 if test "$language" = "c++"; then
6322 # C is always enabled, so no need to add it again
6323 if test "$language" != "c"; then
6324 case ,${enable_languages}, in
6326 # Language was explicitly selected; include it
6330 # All languages are enabled
6334 # 'default' was selected, select it if it is a default language
6335 add_this_lang
=${build_by_default}
6340 # Disable languages that need other directories if these aren't available.
6341 for i
in $subdir_requires; do
6342 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6343 case ${add_this_lang} in
6345 # Specifically requested language; tell them.
6346 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6350 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6351 add_this_lang
=unsupported
6355 add_this_lang
=unsupported
6360 # Disable Ada if no preexisting GNAT is available.
6361 case ${add_this_lang}:${language}:${have_gnat} in
6363 # Specifically requested language; tell them.
6364 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6368 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6369 add_this_lang
=unsupported
6373 add_this_lang
=unsupported
6377 # Disable jit if -enable-host-shared not specified
6378 case ${add_this_lang}:${language}:${host_shared} in
6380 # PR jit/64780: explicitly specify --enable-host-shared
6382 Enabling language \"jit\" requires --enable-host-shared.
6384 --enable-host-shared typically slows the rest of the compiler down by
6385 a few %, so you must explicitly enable it.
6387 If you want to build both the jit and the regular compiler, it is often
6388 best to do this via two separate configure/builds, in separate
6389 directories, to avoid imposing the performance cost of
6390 --enable-host-shared on the regular compiler." "$LINENO" 5
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6394 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6395 add_this_lang
=unsupported
6399 add_this_lang
=unsupported
6403 # Disable a language that is unsupported by the target.
6404 case "${add_this_lang}: $unsupported_languages " in
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6409 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6410 add_this_lang
=unsupported
6414 case $add_this_lang in
6416 # Remove language-dependent dirs.
6417 disabled_target_libs
="$disabled_target_libs $target_libs"
6418 noconfigdirs
="$noconfigdirs $lang_dirs"
6421 # Remove language-dependent dirs; still show language as supported.
6422 disabled_target_libs
="$disabled_target_libs $target_libs"
6423 noconfigdirs
="$noconfigdirs $lang_dirs"
6424 potential_languages
="${potential_languages}${language},"
6427 new_enable_languages
="${new_enable_languages}${language},"
6428 potential_languages
="${potential_languages}${language},"
6429 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6430 enabled_target_libs
="$enabled_target_libs $target_libs"
6431 case "${boot_language}:,$enable_stage1_languages," in
6432 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6433 # Add to (comma-separated) list of stage 1 languages.
6434 case ",$stage1_languages," in
6435 *,$language,* |
,yes, |
,all
,) ;;
6436 *) stage1_languages
="${stage1_languages}${language}," ;;
6438 # We need to bootstrap any supporting libraries.
6439 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6448 # Add target libraries which are only needed for disabled languages
6450 if test -n "$disabled_target_libs"; then
6451 for dir
in $disabled_target_libs; do
6452 case " $enabled_target_libs " in
6454 *) noconfigdirs
="$noconfigdirs $dir" ;;
6459 # Check whether --enable-stage1-languages was given.
6460 if test "${enable_stage1_languages+set}" = set; then :
6461 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6463 # Set it to something that will have no effect in the loop below
6464 enable_stage1_languages
=c
;;
6466 enable_stage1_languages
=`echo $new_enable_languages | \
6467 sed -e "s/^,//" -e "s/,$//" ` ;;
6469 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6470 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6473 # Add "good" languages from enable_stage1_languages to stage1_languages,
6474 # while "bad" languages go in missing_languages. Leave no duplicates.
6475 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6476 case $potential_languages in
6478 case $stage1_languages in
6480 *) stage1_languages
="$stage1_languages$i," ;;
6483 case $missing_languages in
6485 *) missing_languages
="$missing_languages$i," ;;
6492 # Remove leading/trailing commas that were added for simplicity
6493 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6494 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6495 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6496 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6498 if test "x$missing_languages" != x
; then
6500 The following requested languages could not be built: ${missing_languages}
6501 Supported languages are: ${potential_languages}" "$LINENO" 5
6503 if test "x$new_enable_languages" != "x$enable_languages"; then
6504 echo The following languages will be built
: ${new_enable_languages}
6505 enable_languages
="$new_enable_languages"
6509 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6512 # Handle --disable-<component> generically.
6513 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6514 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6515 varname
=`echo $dirname | sed -e s/+/_/g`
6516 if eval test x\
${enable_${varname}} "=" xno
; then
6517 noconfigdirs
="$noconfigdirs $dir"
6521 # Check for Boehm's garbage collector
6522 # Check whether --enable-objc-gc was given.
6523 if test "${enable_objc_gc+set}" = set; then :
6524 enableval
=$enable_objc_gc;
6528 # Check whether --with-target-bdw-gc was given.
6529 if test "${with_target_bdw_gc+set}" = set; then :
6530 withval
=$with_target_bdw_gc;
6534 # Check whether --with-target-bdw-gc-include was given.
6535 if test "${with_target_bdw_gc_include+set}" = set; then :
6536 withval
=$with_target_bdw_gc_include;
6540 # Check whether --with-target-bdw-gc-lib was given.
6541 if test "${with_target_bdw_gc_lib+set}" = set; then :
6542 withval
=$with_target_bdw_gc_lib;
6546 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6548 $as_echo_n "checking for bdw garbage collector... " >&6; }
6549 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6551 $as_echo "using bdw-gc in default locations" >&6; }
6553 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6554 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6555 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6556 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6559 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6564 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6565 case ,${enable_languages}, in
6567 # Disable libitm, libsanitizer if we're not building libstdc++
6568 case "${noconfigdirs}" in
6569 *target-libstdc
++-v3*)
6570 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6576 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6580 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6581 # $build_configdirs and $target_configdirs.
6582 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6585 for dir
in .
$skipdirs $noconfigdirs ; do
6586 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6587 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6588 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6589 if test -r $srcdir/$dirname/configure
; then
6590 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6593 notsupp
="$notsupp $dir"
6597 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6598 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6599 if test -r $srcdir/$dirname/configure
; then
6600 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6603 notsupp
="$notsupp $dir"
6607 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6608 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6609 if test -r $srcdir/$dirname/configure
; then
6610 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6613 notsupp
="$notsupp $dir"
6619 # Quietly strip out all directories which aren't configurable in this tree.
6620 # This relies on all configurable subdirectories being autoconfiscated, which
6622 build_configdirs_all
="$build_configdirs"
6624 for i
in ${build_configdirs_all} ; do
6625 j
=`echo $i | sed -e s/build-//g`
6626 if test -f ${srcdir}/$j/configure
; then
6627 build_configdirs
="${build_configdirs} $i"
6631 configdirs_all
="$configdirs"
6633 for i
in ${configdirs_all} ; do
6634 if test -f ${srcdir}/$i/configure
; then
6635 configdirs
="${configdirs} $i"
6639 target_configdirs_all
="$target_configdirs"
6641 for i
in ${target_configdirs_all} ; do
6642 j
=`echo $i | sed -e s/target-//g`
6643 if test -f ${srcdir}/$j/configure
; then
6644 target_configdirs
="${target_configdirs} $i"
6648 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6649 # so we have to add it after the preceding checks.
6650 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6652 case " $configdirs " in
6654 # If we can build libiberty, we can also build libiberty-linker-plugin.
6655 configdirs
="$configdirs libiberty-linker-plugin"
6656 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6657 --with-libiberty=../libiberty-linker-plugin";;
6659 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6663 # Sometimes we have special requirements for the host libiberty.
6664 extra_host_libiberty_configure_flags
=
6665 extra_host_zlib_configure_flags
=
6666 case " $configdirs " in
6667 *" lto-plugin "* |
*" libcc1 "*)
6668 # When these are to be built as shared libraries, the same applies to
6670 extra_host_libiberty_configure_flags
=--enable-shared
6673 # When bfd is to be built as a shared library, the same applies to
6675 if test "$enable_shared" = "yes"; then
6676 extra_host_zlib_configure_flags
=--enable-host-shared
6683 # Produce a warning message for the subdirs we can't configure.
6684 # This isn't especially interesting in the Cygnus tree, but in the individual
6685 # FSF releases, it's important to let people know when their machine isn't
6686 # supported by the one or two programs in a package.
6688 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6689 # If $appdirs is non-empty, at least one of those directories must still
6690 # be configured, or we error out. (E.g., if the gas release supports a
6691 # specified target in some subdirs but not the gas subdir, we shouldn't
6692 # pretend that all is well.)
6693 if test -n "$appdirs" ; then
6694 for dir
in $appdirs ; do
6695 if test -r $dir/Makefile.
in ; then
6696 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6700 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6706 if test -n "$appdirs" ; then
6707 echo "*** This configuration is not supported by this package." 1>&2
6711 # Okay, some application will build, or we don't care to check. Still
6712 # notify of subdirs not getting built.
6713 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6714 echo " ${notsupp}" 1>&2
6715 echo " (Any other directories should still work fine.)" 1>&2
6723 # To find our prefix, in gcc_cv_tool_prefix.
6725 # The user is always right.
6726 if test "${PATH_SEPARATOR+set}" != set; then
6727 echo "#! /bin/sh" >conf$$.sh
6728 echo "exit 0" >>conf$$.sh
6730 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6739 get_gcc_base_ver
="cat"
6741 # Check whether --with-gcc-major-version-only was given.
6742 if test "${with_gcc_major_version_only+set}" = set; then :
6743 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6744 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6754 if test "x$exec_prefix" = xNONE
; then
6755 if test "x$prefix" = xNONE
; then
6756 gcc_cv_tool_prefix
=$ac_default_prefix
6758 gcc_cv_tool_prefix
=$prefix
6761 gcc_cv_tool_prefix
=$exec_prefix
6764 # If there is no compiler in the tree, use the PATH only. In any
6765 # case, if there is no compiler in the tree nobody should use
6766 # AS_FOR_TARGET and LD_FOR_TARGET.
6767 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6768 if test x
$with_gcc_major_version_only = xyes
; then
6769 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6771 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6773 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6774 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6775 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6776 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6777 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6778 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6783 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6784 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6792 # Check whether --with-build-sysroot was given.
6793 if test "${with_build_sysroot+set}" = set; then :
6794 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6795 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6798 SYSROOT_CFLAGS_FOR_TARGET
=
6804 # Check whether --with-debug-prefix-map was given.
6805 if test "${with_debug_prefix_map+set}" = set; then :
6806 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6807 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6808 for debug_map
in $withval; do
6809 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6813 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6818 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6819 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6820 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6821 # We want to ensure that TARGET libraries (which we know are built with
6822 # gcc) are built with "-O2 -g", so include those options when setting
6823 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6824 if test "x$CFLAGS_FOR_TARGET" = x
; then
6825 if test "x${is_cross_compiler}" = xyes
; then
6826 CFLAGS_FOR_TARGET
="-g -O2"
6828 CFLAGS_FOR_TARGET
=$CFLAGS
6831 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6834 *" -g "* |
*" -g3 "*) ;;
6835 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6841 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6842 if test "x${is_cross_compiler}" = xyes
; then
6843 CXXFLAGS_FOR_TARGET
="-g -O2"
6845 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6846 case " $CXXFLAGS " in
6848 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6850 case " $CXXFLAGS " in
6851 *" -g "* |
*" -g3 "*) ;;
6852 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6860 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6861 # the named directory are copied to $(tooldir)/sys-include.
6862 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6863 if test x
${is_cross_compiler} = xno
; then
6864 echo 1>&2 '***' --with-headers is only supported when cross compiling
6867 if test x
"${with_headers}" != xyes
; then
6868 x
=${gcc_cv_tool_prefix}
6869 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6873 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6874 # the name directories are copied to $(tooldir)/lib. Multiple directories
6876 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6877 if test x
${is_cross_compiler} = xno
; then
6878 echo 1>&2 '***' --with-libs is only supported when cross compiling
6881 if test x
"${with_libs}" != xyes
; then
6882 # Copy the libraries in reverse order, so that files in the first named
6883 # library override files in subsequent libraries.
6884 x
=${gcc_cv_tool_prefix}
6885 for l
in ${with_libs}; do
6886 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6891 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6893 # This is done by determining whether or not the appropriate directory
6894 # is available, and by checking whether or not specific configurations
6895 # have requested that this magic not happen.
6897 # The command line options always override the explicit settings in
6898 # configure.ac, and the settings in configure.ac override this magic.
6900 # If the default for a toolchain is to use GNU as and ld, and you don't
6901 # want to do that, then you should use the --without-gnu-as and
6902 # --without-gnu-ld options for the configure script. Similarly, if
6903 # the default is to use the included zlib and you don't want to do that,
6904 # you should use the --with-system-zlib option for the configure script.
6906 if test x
${use_gnu_as} = x
&&
6907 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6909 extra_host_args
="$extra_host_args --with-gnu-as"
6912 if test x
${use_gnu_ld} = x
&&
6913 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6915 extra_host_args
="$extra_host_args --with-gnu-ld"
6918 if test x
${use_included_zlib} = x
&&
6919 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6922 with_system_zlib
=yes
6923 extra_host_args
="$extra_host_args --with-system-zlib"
6926 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6927 # can detect this case.
6929 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6931 extra_host_args
="$extra_host_args --with-newlib"
6934 # Handle ${copy_dirs}
6935 set fnord
${copy_dirs}
6937 while test $# != 0 ; do
6938 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6941 echo Copying
$1 to
$2
6943 # Use the install script to create the directory and all required
6944 # parent directories.
6945 if test -d $2 ; then
6949 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6952 # Copy the directory, assuming we have tar.
6953 # FIXME: Should we use B in the second tar? Not all systems support it.
6954 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6956 # It is the responsibility of the user to correctly adjust all
6957 # symlinks. If somebody can figure out how to handle them correctly
6958 # here, feel free to add the code.
6965 # Determine a target-dependent exec_prefix that the installed
6966 # gcc will search in. Keep this list sorted by triplet, with
6967 # the *-*-osname triplets last.
6970 i
[34567]86-pc-msdosdjgpp*)
6971 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6976 md_exec_prefix
=/usr
/ccs
/bin
6980 extra_arflags_for_target
=
6981 extra_nmflags_for_target
=
6982 extra_ranlibflags_for_target
=
6983 target_makefile_frag
=/dev
/null
6986 target_makefile_frag
="config/mt-spu"
6988 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6989 target_makefile_frag
="config/mt-sde"
6991 mipsisa
*-*-elfoabi*)
6992 target_makefile_frag
="config/mt-mips-elfoabi"
6994 mips
*-*-*linux
* | mips
*-*-gnu*)
6995 target_makefile_frag
="config/mt-mips-gnu"
6998 target_makefile_frag
="config/mt-nios2-elf"
7001 target_makefile_frag
="config/mt-android"
7003 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7004 target_makefile_frag
="config/mt-gnu"
7006 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7007 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7008 # commands to handle both 32-bit and 64-bit objects. These flags are
7009 # harmless if we're using GNU nm or ar.
7010 extra_arflags_for_target
=" -X32_64"
7011 extra_nmflags_for_target
=" -B -X32_64"
7015 alphaieee_frag
=/dev
/null
7018 # This just makes sure to use the -mieee option to build target libs.
7019 # This should probably be set individually by each library.
7020 alphaieee_frag
="config/mt-alphaieee"
7024 # If --enable-target-optspace always use -Os instead of -O2 to build
7025 # the target libraries, similarly if it is not specified, use -Os
7026 # on selected platforms.
7027 ospace_frag
=/dev
/null
7028 case "${enable_target_optspace}:${target}" in
7030 ospace_frag
="config/mt-ospace"
7033 ospace_frag
="config/mt-d30v"
7035 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7036 ospace_frag
="config/mt-ospace"
7041 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7045 # Some systems (e.g., one of the i386-aix systems the gas testers are
7046 # using) don't handle "\$" correctly, so don't use it here.
7047 tooldir
='${exec_prefix}'/${target_noncanonical}
7048 build_tooldir
=${tooldir}
7050 # Create a .gdbinit file which runs the one in srcdir
7051 # and tells GDB to look there for source files.
7053 if test -r ${srcdir}/.gdbinit
; then
7056 *) cat > .
/.gdbinit
<<EOF
7060 source ${srcdir}/.gdbinit
7066 # Make sure that the compiler is able to generate an executable. If it
7067 # can't, we are probably in trouble. We don't care whether we can run the
7068 # executable--we might be using a cross compiler--we only care whether it
7069 # can be created. At this point the main configure script has set CC.
7071 echo "int main () { return 0; }" > conftest.c
7072 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7073 if test $?
= 0 ; then
7074 if test -s conftest ||
test -s conftest.exe
; then
7080 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7081 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7088 # Decide which environment variable is used to find dynamic libraries.
7090 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7091 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7092 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7093 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7096 # On systems where the dynamic library environment variable is PATH,
7097 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7098 # built executables to PATH.
7099 if test "$RPATH_ENVVAR" = PATH
; then
7100 GCC_SHLIB_SUBDIR
=/shlib
7105 # Adjust the toplevel makefile according to whether bootstrap was selected.
7106 case $enable_bootstrap in
7108 bootstrap_suffix
=bootstrap
7109 BUILD_CONFIG
=bootstrap-debug
7112 bootstrap_suffix
=no-bootstrap
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7118 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7121 # Check whether --with-build-config was given.
7122 if test "${with_build_config+set}" = set; then :
7123 withval
=$with_build_config; case $with_build_config in
7124 yes) with_build_config
= ;;
7125 no
) with_build_config
= BUILD_CONFIG
= ;;
7130 if test "x${with_build_config}" != x
; then
7131 BUILD_CONFIG
=$with_build_config
7133 case $BUILD_CONFIG in
7135 if echo "int f (void) { return 0; }" > conftest.c
&&
7136 ${CC} -c conftest.c
&&
7137 mv conftest.o conftest.o.g0
&&
7138 ${CC} -c -g conftest.c
&&
7139 mv conftest.o conftest.o.g
&&
7140 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7145 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7150 $as_echo "$BUILD_CONFIG" >&6; }
7153 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7155 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7156 # Check whether --enable-vtable-verify was given.
7157 if test "${enable_vtable_verify+set}" = set; then :
7158 enableval
=$enable_vtable_verify; case "$enableval" in
7159 yes) enable_vtable_verify
=yes ;;
7160 no
) enable_vtable_verify
=no
;;
7161 *) enable_vtable_verify
=no
;;
7164 enable_vtable_verify
=no
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7168 $as_echo "$enable_vtable_verify" >&6; }
7170 # Record target_configdirs and the configure arguments for target and
7171 # build configuration in Makefile.
7172 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7173 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7174 bootstrap_fixincludes
=no
7176 # If we are building libgomp, bootstrap it.
7177 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7178 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7181 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7182 # or bootstrap-ubsan, bootstrap it.
7183 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7184 case "$BUILD_CONFIG" in
7185 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7186 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7187 bootstrap_fixincludes
=yes
7192 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7193 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7194 test "$enable_vtable_verify" != no
; then
7195 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7198 # Determine whether gdb needs tk/tcl or not.
7199 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7200 # and in that case we want gdb to be built without tk. Ugh!
7201 # In fact I believe gdb is the *only* package directly dependent on tk,
7202 # so we should be able to put the 'maybe's in unconditionally and
7203 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7204 # 100% sure that that's safe though.
7206 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7207 case "$enable_gdbtk" in
7211 GDB_TK
="${gdb_tk}" ;;
7213 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7214 # distro. Eventually someone will fix this and move Insight, nee
7215 # gdbtk to a separate directory.
7216 if test -d ${srcdir}/gdb
/gdbtk
; then
7223 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7224 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7226 # gdb depends on gnulib, but as nothing else does, only include it if
7228 if echo " ${configdirs} " |
grep " gdb " > /dev
/null
2>&1 ; then
7229 # The Makefile provides the ordering, so it's enough here to add
7230 # gnulib to the list.
7231 configdirs
="${configdirs} gnulib"
7234 # Strip out unwanted targets.
7236 # While at that, we remove Makefiles if we were started for recursive
7237 # configuration, so that the top-level Makefile reconfigures them,
7238 # like we used to do when configure itself was recursive.
7240 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7241 # but now we're fixing up the Makefile ourselves with the additional
7242 # commands passed to AC_CONFIG_FILES. Use separate variables
7243 # extrasub-{build,host,target} not because there is any reason to split
7244 # the substitutions up that way, but only to remain below the limit of
7245 # 99 commands in a script, for HP-UX sed.
7247 # Do not nest @if/@endif or @unless/@endunless pairs, because
7248 # configure will not warn you at all.
7250 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7251 yes:yes:*\ gold\
*:*,c
++,*) ;;
7252 yes:yes:*\ gold\
*:*)
7253 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7258 for module
in ${build_configdirs} ; do
7259 if test -z "${no_recursion}" \
7260 && test -f ${build_subdir}/${module}/Makefile
; then
7261 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7262 rm -f ${build_subdir}/${module}/Makefile
7264 extrasub_build
="$extrasub_build
7265 /^@if build-$module\$/d
7266 /^@endif build-$module\$/d
7267 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7268 /^@if build-$module-$bootstrap_suffix\$/d
7269 /^@endif build-$module-$bootstrap_suffix\$/d
7270 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7273 for module
in ${configdirs} ; do
7274 if test -z "${no_recursion}"; then
7275 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7276 if test -f ${file}; then
7277 echo 1>&2 "*** removing ${file} to force reconfigure"
7282 case ${module},${bootstrap_fixincludes} in
7283 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7284 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7286 extrasub_host
="$extrasub_host
7288 /^@endif $module\$/d
7289 /^@unless $module\$/,/^@endunless $module\$/d
7290 /^@if $module-$host_bootstrap_suffix\$/d
7291 /^@endif $module-$host_bootstrap_suffix\$/d
7292 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7295 for module
in ${target_configdirs} ; do
7296 if test -z "${no_recursion}" \
7297 && test -f ${target_subdir}/${module}/Makefile
; then
7298 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7299 rm -f ${target_subdir}/${module}/Makefile
7302 # We only bootstrap target libraries listed in bootstrap_target_libs.
7303 case $bootstrap_target_libs in
7304 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7305 *) target_bootstrap_suffix
=no-bootstrap
;;
7308 extrasub_target
="$extrasub_target
7309 /^@if target-$module\$/d
7310 /^@endif target-$module\$/d
7311 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7312 /^@if target-$module-$target_bootstrap_suffix\$/d
7313 /^@endif target-$module-$target_bootstrap_suffix\$/d
7314 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7317 # Do the final fixup along with target modules.
7318 extrasub_target
="$extrasub_target
7323 # Create the serialization dependencies. This uses a temporary file.
7325 # Check whether --enable-serial-configure was given.
7326 if test "${enable_serial_configure+set}" = set; then :
7327 enableval
=$enable_serial_configure;
7331 case ${enable_serial_configure} in
7333 enable_serial_build_configure
=yes
7334 enable_serial_host_configure
=yes
7335 enable_serial_target_configure
=yes
7339 # These force 'configure's to be done one at a time, to avoid problems
7340 # with contention over a shared config.cache.
7342 echo '# serdep.tmp' > serdep.tmp
7344 test "x${enable_serial_build_configure}" = xyes
&&
7345 for item
in ${build_configdirs} ; do
7348 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7353 test "x${enable_serial_host_configure}" = xyes
&&
7354 for item
in ${configdirs} ; do
7357 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7362 test "x${enable_serial_target_configure}" = xyes
&&
7363 for item
in ${target_configdirs} ; do
7366 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7370 serialization_dependencies
=serdep.tmp
7373 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7374 # target, nonopt, and variable assignments. These are the ones we
7375 # might not want to pass down to subconfigures. The exception being
7376 # --cache-file=/dev/null, which is used to turn off the use of cache
7377 # files altogether, and which should be passed on to subconfigures.
7378 # Also strip program-prefix, program-suffix, and program-transform-name,
7379 # so that we can pass down a consistent program-transform-name.
7384 eval "set -- $ac_configure_args"
7387 if test X
"$skip_next" = X
"yes"; then
7391 if test X
"$keep_next" = X
"yes"; then
7394 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7396 baseargs
="$baseargs '$ac_arg'"
7397 tbaseargs
="$tbaseargs '$ac_arg'"
7402 # Handle separated arguments. Based on the logic generated by
7405 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7406 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7407 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7408 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7422 --with-* |
--without-*)
7423 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7427 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7430 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7439 mpc | mpfr | gmp | isl
)
7440 # If we're processing --with-$lib, --with-$lib-include or
7441 # --with-$lib-lib, for one of the libs above, and target is
7442 # different from host, don't pass the current argument to any
7443 # target library's configure.
7444 if test x
$is_cross_compiler = xyes
; then
7453 --cache-file=/dev
/null | \
7454 -cache-file=/dev
/null
)
7455 # Handled here to avoid the test to skip args below.
7456 baseargs
="$baseargs '$ac_arg'"
7457 tbaseargs
="$tbaseargs '$ac_arg'"
7458 # Assert: $separate_arg should always be no.
7459 keep_next
=$separate_arg
7475 -program-prefix* | \
7476 -program-suffix* | \
7477 -program-transform-name* )
7478 skip_next
=$separate_arg
7482 # An option. Add it.
7485 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7487 baseargs
="$baseargs '$ac_arg'"
7488 if test X
"$skip_targ" = Xno
; then
7489 tbaseargs
="$tbaseargs '$ac_arg'"
7491 keep_next
=$separate_arg
7494 # Either a variable assignment, or a nonopt (triplet). Don't
7495 # pass it down; let the Makefile handle this.
7500 # Remove the initial space we just introduced and, as these will be
7501 # expanded by make, quote '$'.
7502 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7504 # Add in --program-transform-name, after --program-prefix and
7505 # --program-suffix have been applied to it. Autoconf has already
7506 # doubled dollar signs and backslashes in program_transform_name; we want
7507 # the backslashes un-doubled, and then the entire thing wrapped in single
7508 # quotes, because this will be expanded first by make and then by the shell.
7509 # Also, because we want to override the logic in subdir configure scripts to
7510 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7511 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7512 ${program_transform_name}
7514 gcc_transform_name
=`cat conftestsed.out`
7515 rm -f conftestsed.out
7516 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7517 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7518 if test "$silent" = yes; then
7519 baseargs
="$baseargs --silent"
7520 tbaseargs
="$tbaseargs --silent"
7522 baseargs
="$baseargs --disable-option-checking"
7523 tbaseargs
="$tbaseargs --disable-option-checking"
7525 # Record and document user additions to sub configure arguments.
7530 # For the build-side libraries, we just need to pretend we're native,
7531 # and not use the same cache file. Multilibs are neither needed nor
7532 # desired. We can't even use the same cache file for all build-side
7533 # libraries, as they're compiled differently; some with C, some with
7534 # C++ or with different feature-enabling options.
7535 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7537 # For host modules, accept cache file option, or specification as blank.
7538 case "${cache_file}" in
7540 cache_file_option
="" ;;
7541 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7542 cache_file_option
="--cache-file=${cache_file}" ;;
7544 cache_file_option
="--cache-file=../${cache_file}" ;;
7547 # Host dirs don't like to share a cache file either, horribly enough.
7548 # This seems to be due to autoconf 2.5x stupidity.
7549 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7551 target_configargs
="$target_configargs ${tbaseargs}"
7553 # Passing a --with-cross-host argument lets the target libraries know
7554 # whether they are being built with a cross-compiler or being built
7555 # native. However, it would be better to use other mechanisms to make the
7556 # sorts of decisions they want to make on this basis. Please consider
7557 # this option to be deprecated. FIXME.
7558 if test x
${is_cross_compiler} = xyes
; then
7559 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7562 # Special user-friendly check for native x86_64-linux build, if
7563 # multilib is not explicitly enabled.
7564 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7565 x86_64-
*linux
*:yes:$build:$build:)
7566 # Make sure we have a development environment that handles 32-bit
7568 echo "int main () { return 0; }" > conftest.c
7569 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7570 if test $?
= 0 ; then
7571 if test -s conftest ||
test -s conftest.exe
; then
7576 if test x
${dev64} != xyes
; then
7577 as_fn_error $?
"I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7582 # Default to --enable-multilib.
7583 if test x
${enable_multilib} = x
; then
7584 target_configargs
="--enable-multilib ${target_configargs}"
7587 # Pass --with-newlib if appropriate. Note that target_configdirs has
7588 # changed from the earlier setting of with_newlib.
7589 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7590 target_configargs
="--with-newlib ${target_configargs}"
7593 # Different target subdirs use different values of certain variables
7594 # (notably CXX). Worse, multilibs use *lots* of different values.
7595 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7596 # it doesn't automatically accept command-line overrides of them.
7597 # This means it's not safe for target subdirs to share a cache file,
7598 # which is disgusting, but there you have it. Hopefully this can be
7599 # fixed in future. It's still worthwhile to use a cache file for each
7600 # directory. I think.
7602 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7603 # We need to pass --target, as newer autoconf's requires consistency
7604 # for target_alias and gcc doesn't manage it consistently.
7605 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7608 case " $target_configdirs " in
7610 case " $target_configargs " in
7611 *" --with-newlib "*)
7614 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7618 # If we're not building GCC, don't discard standard headers.
7619 if test -d ${srcdir}/gcc
; then
7620 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7622 if test "${build}" != "${host}"; then
7623 # On Canadian crosses, CC_FOR_TARGET will have already been set
7624 # by `configure', so we won't have an opportunity to add -Bgcc/
7625 # to it. This is right: we don't want to search that directory
7626 # for binaries, but we want the header files in there, so add
7628 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7630 # Someone might think of using the pre-installed headers on
7631 # Canadian crosses, in case the installed compiler is not fully
7632 # compatible with the compiler being built. In this case, it
7633 # would be better to flag an error than risking having
7634 # incompatible object files being constructed. We can't
7635 # guarantee that an error will be flagged, but let's hope the
7636 # compiler will do it, when presented with incompatible header
7641 case "${target}-${is_cross_compiler}" in
7642 i
[3456789]86-*-linux*-no)
7643 # Here host == target, so we don't need to build gcc,
7644 # so we don't want to discard standard headers.
7645 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7648 # If we're building newlib, use its generic headers last, but search
7649 # for any libc-related directories first (so make it the last -B
7651 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7653 # If we're building libgloss, find the startup file, simulator library
7654 # and linker script.
7655 case " $target_configdirs " in
7657 # Look for startup file, simulator library and maybe linker script.
7658 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7659 # Look for libnosys.a in case the target needs it.
7660 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7661 # Most targets have the linker script in the source directory.
7662 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7673 x86_64-
*mingw
* |
*-w64-mingw*)
7674 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7675 # however, use a symlink named 'mingw' in ${prefix} .
7676 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7679 # MinGW can't be handled as Cygwin above since it does not use newlib.
7680 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include'
7684 # Allow the user to override the flags for
7685 # our build compiler if desired.
7686 if test x
"${build}" = x
"${host}" ; then
7687 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7688 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7689 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7692 # On Canadian crosses, we'll be searching the right directories for
7693 # the previously-installed cross compiler, so don't bother to add
7694 # flags for directories within the install tree of the compiler
7695 # being built; programs in there won't even run.
7696 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7697 # Search for pre-installed headers if nothing else fits.
7698 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7701 if test "x
${use_gnu_ld}" = x &&
7702 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7703 # Arrange for us to find uninstalled linker scripts.
7704 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7707 # Search for other target-specific linker scripts and such.
7710 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7714 # Makefile fragments.
7715 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7717 eval fragval=\$$frag
7718 if test $fragval != /dev/null; then
7719 eval $frag=${srcdir}/$fragval
7727 # Miscellanea: directories, flags, etc.
7736 # Build module lists & subconfigure args.
7740 # Host module lists & subconfigure args.
7745 # Target module lists & subconfigure args.
7766 # Generate default definitions for YACC, M4, LEX and other programs that run
7767 # on the build machine. These are used if the Makefile can't locate these
7768 # programs in objdir.
7769 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7771 for ac_prog in 'bison -y' byacc yacc
7773 # Extract the first word of "$ac_prog", so it can be a program name with args.
7774 set dummy $ac_prog; ac_word=$2
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7776 $as_echo_n "checking
for $ac_word...
" >&6; }
7777 if ${ac_cv_prog_YACC+:} false; then :
7778 $as_echo_n "(cached
) " >&6
7780 if test -n "$YACC"; then
7781 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7787 test -z "$as_dir" && as_dir=.
7788 for ac_exec_ext in '' $ac_executable_extensions; do
7789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7790 ac_cv_prog_YACC="$ac_prog"
7791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7800 YACC=$ac_cv_prog_YACC
7801 if test -n "$YACC"; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7803 $as_echo "$YACC" >&6; }
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7806 $as_echo "no
" >&6; }
7810 test -n "$YACC" && break
7812 test -n "$YACC" || YACC="$MISSING bison
-y"
7814 case " $build_configdirs " in
7815 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7818 for ac_prog in bison
7820 # Extract the first word of "$ac_prog", so it can be a program name with args.
7821 set dummy $ac_prog; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7823 $as_echo_n "checking
for $ac_word...
" >&6; }
7824 if ${ac_cv_prog_BISON+:} false; then :
7825 $as_echo_n "(cached
) " >&6
7827 if test -n "$BISON"; then
7828 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_BISON="$ac_prog"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7847 BISON=$ac_cv_prog_BISON
7848 if test -n "$BISON"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7850 $as_echo "$BISON" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7853 $as_echo "no
" >&6; }
7857 test -n "$BISON" && break
7859 test -n "$BISON" || BISON="$MISSING bison
"
7861 case " $build_configdirs " in
7862 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7865 for ac_prog in gm4 gnum4 m4
7867 # Extract the first word of "$ac_prog", so it can be a program name with args.
7868 set dummy $ac_prog; ac_word=$2
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7870 $as_echo_n "checking
for $ac_word...
" >&6; }
7871 if ${ac_cv_prog_M4+:} false; then :
7872 $as_echo_n "(cached
) " >&6
7874 if test -n "$M4"; then
7875 ac_cv_prog_M4="$M4" # Let the user override the test.
7877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881 test -z "$as_dir" && as_dir=.
7882 for ac_exec_ext in '' $ac_executable_extensions; do
7883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7884 ac_cv_prog_M4="$ac_prog"
7885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7895 if test -n "$M4"; then
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7897 $as_echo "$M4" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7900 $as_echo "no
" >&6; }
7904 test -n "$M4" && break
7906 test -n "$M4" || M4="$MISSING m4"
7908 case " $build_configdirs " in
7909 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7912 for ac_prog in flex lex
7914 # Extract the first word of "$ac_prog", so it can be a program name with args.
7915 set dummy $ac_prog; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7917 $as_echo_n "checking
for $ac_word...
" >&6; }
7918 if ${ac_cv_prog_LEX+:} false; then :
7919 $as_echo_n "(cached
) " >&6
7921 if test -n "$LEX"; then
7922 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_LEX="$ac_prog"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7942 if test -n "$LEX"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7944 $as_echo "$LEX" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7947 $as_echo "no
" >&6; }
7951 test -n "$LEX" && break
7953 test -n "$LEX" || LEX="$MISSING flex
"
7955 case " $build_configdirs " in
7956 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7957 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7962 # Extract the first word of "$ac_prog", so it can be a program name with args.
7963 set dummy $ac_prog; ac_word=$2
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7965 $as_echo_n "checking
for $ac_word...
" >&6; }
7966 if ${ac_cv_prog_FLEX+:} false; then :
7967 $as_echo_n "(cached
) " >&6
7969 if test -n "$FLEX"; then
7970 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7979 ac_cv_prog_FLEX="$ac_prog"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7989 FLEX=$ac_cv_prog_FLEX
7990 if test -n "$FLEX"; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7992 $as_echo "$FLEX" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7995 $as_echo "no
" >&6; }
7999 test -n "$FLEX" && break
8001 test -n "$FLEX" || FLEX="$MISSING flex
"
8003 case " $build_configdirs " in
8004 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8007 for ac_prog in makeinfo
8009 # Extract the first word of "$ac_prog", so it can be a program name with args.
8010 set dummy $ac_prog; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8012 $as_echo_n "checking
for $ac_word...
" >&6; }
8013 if ${ac_cv_prog_MAKEINFO+:} false; then :
8014 $as_echo_n "(cached
) " >&6
8016 if test -n "$MAKEINFO"; then
8017 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_MAKEINFO="$ac_prog"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8036 MAKEINFO=$ac_cv_prog_MAKEINFO
8037 if test -n "$MAKEINFO"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8039 $as_echo "$MAKEINFO" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8042 $as_echo "no
" >&6; }
8046 test -n "$MAKEINFO" && break
8048 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8050 case " $build_configdirs " in
8051 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8054 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8055 # higher, else we use the "missing
" dummy.
8056 if ${MAKEINFO} --version \
8057 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8060 MAKEINFO="$MISSING makeinfo
"
8066 # FIXME: expect and dejagnu may become build tools?
8068 for ac_prog in expect
8070 # Extract the first word of "$ac_prog", so it can be a program name with args.
8071 set dummy $ac_prog; ac_word=$2
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8073 $as_echo_n "checking
for $ac_word...
" >&6; }
8074 if ${ac_cv_prog_EXPECT+:} false; then :
8075 $as_echo_n "(cached
) " >&6
8077 if test -n "$EXPECT"; then
8078 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8087 ac_cv_prog_EXPECT="$ac_prog"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8097 EXPECT=$ac_cv_prog_EXPECT
8098 if test -n "$EXPECT"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8100 $as_echo "$EXPECT" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8103 $as_echo "no
" >&6; }
8107 test -n "$EXPECT" && break
8109 test -n "$EXPECT" || EXPECT="expect
"
8111 case " $configdirs " in
8113 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8117 for ac_prog in runtest
8119 # Extract the first word of "$ac_prog", so it can be a program name with args.
8120 set dummy $ac_prog; ac_word=$2
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8122 $as_echo_n "checking
for $ac_word...
" >&6; }
8123 if ${ac_cv_prog_RUNTEST+:} false; then :
8124 $as_echo_n "(cached
) " >&6
8126 if test -n "$RUNTEST"; then
8127 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir=.
8134 for ac_exec_ext in '' $ac_executable_extensions; do
8135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8136 ac_cv_prog_RUNTEST="$ac_prog"
8137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8146 RUNTEST=$ac_cv_prog_RUNTEST
8147 if test -n "$RUNTEST"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8149 $as_echo "$RUNTEST" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8152 $as_echo "no
" >&6; }
8156 test -n "$RUNTEST" && break
8158 test -n "$RUNTEST" || RUNTEST="runtest
"
8160 case " $configdirs " in
8162 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8169 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8170 ncn_target_tool_prefix=
8171 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8175 if test -n "$AR"; then
8177 elif test -n "$ac_cv_prog_AR"; then
8181 if test -n "$ac_cv_prog_AR"; then
8182 for ncn_progname in ar; do
8183 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8184 set dummy ${ncn_progname}; ac_word=$2
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8186 $as_echo_n "checking
for $ac_word...
" >&6; }
8187 if ${ac_cv_prog_AR+:} false; then :
8188 $as_echo_n "(cached
) " >&6
8190 if test -n "$AR"; then
8191 ac_cv_prog_AR="$AR" # Let the user override the test.
8193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 test -z "$as_dir" && as_dir=.
8198 for ac_exec_ext in '' $ac_executable_extensions; do
8199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8200 ac_cv_prog_AR="${ncn_progname}"
8201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8211 if test -n "$AR"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8213 $as_echo "$AR" >&6; }
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8216 $as_echo "no
" >&6; }
8223 for ncn_progname in ar; do
8224 if test -n "$ncn_tool_prefix"; then
8225 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8226 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8228 $as_echo_n "checking
for $ac_word...
" >&6; }
8229 if ${ac_cv_prog_AR+:} false; then :
8230 $as_echo_n "(cached
) " >&6
8232 if test -n "$AR"; then
8233 ac_cv_prog_AR="$AR" # Let the user override the test.
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8253 if test -n "$AR"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8255 $as_echo "$AR" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8258 $as_echo "no
" >&6; }
8263 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8265 set dummy ${ncn_progname}; ac_word=$2
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8267 $as_echo_n "checking
for $ac_word...
" >&6; }
8268 if ${ac_cv_prog_AR+:} false; then :
8269 $as_echo_n "(cached
) " >&6
8271 if test -n "$AR"; then
8272 ac_cv_prog_AR="$AR" # Let the user override the test.
8274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 test -z "$as_dir" && as_dir=.
8279 for ac_exec_ext in '' $ac_executable_extensions; do
8280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8281 ac_cv_prog_AR="${ncn_progname}"
8282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8292 if test -n "$AR"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8294 $as_echo "$AR" >&6; }
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8297 $as_echo "no
" >&6; }
8302 test -n "$ac_cv_prog_AR" && break
8305 if test -z "$ac_cv_prog_AR" ; then
8307 if test $build = $host ; then
8310 AR="${ncn_tool_prefix}$2"
8316 if test -n "$AS"; then
8318 elif test -n "$ac_cv_prog_AS"; then
8322 if test -n "$ac_cv_prog_AS"; then
8323 for ncn_progname in as; do
8324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8325 set dummy ${ncn_progname}; ac_word=$2
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8327 $as_echo_n "checking
for $ac_word...
" >&6; }
8328 if ${ac_cv_prog_AS+:} false; then :
8329 $as_echo_n "(cached
) " >&6
8331 if test -n "$AS"; then
8332 ac_cv_prog_AS="$AS" # Let the user override the test.
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir=.
8339 for ac_exec_ext in '' $ac_executable_extensions; do
8340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341 ac_cv_prog_AS="${ncn_progname}"
8342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8352 if test -n "$AS"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8354 $as_echo "$AS" >&6; }
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8357 $as_echo "no
" >&6; }
8364 for ncn_progname in as; do
8365 if test -n "$ncn_tool_prefix"; then
8366 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8367 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8369 $as_echo_n "checking
for $ac_word...
" >&6; }
8370 if ${ac_cv_prog_AS+:} false; then :
8371 $as_echo_n "(cached
) " >&6
8373 if test -n "$AS"; then
8374 ac_cv_prog_AS="$AS" # Let the user override the test.
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8394 if test -n "$AS"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8396 $as_echo "$AS" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8399 $as_echo "no
" >&6; }
8404 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8406 set dummy ${ncn_progname}; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8408 $as_echo_n "checking
for $ac_word...
" >&6; }
8409 if ${ac_cv_prog_AS+:} false; then :
8410 $as_echo_n "(cached
) " >&6
8412 if test -n "$AS"; then
8413 ac_cv_prog_AS="$AS" # Let the user override the test.
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir=.
8420 for ac_exec_ext in '' $ac_executable_extensions; do
8421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8422 ac_cv_prog_AS="${ncn_progname}"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8433 if test -n "$AS"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8435 $as_echo "$AS" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8438 $as_echo "no
" >&6; }
8443 test -n "$ac_cv_prog_AS" && break
8446 if test -z "$ac_cv_prog_AS" ; then
8448 if test $build = $host ; then
8451 AS="${ncn_tool_prefix}$2"
8457 if test -n "$DLLTOOL"; then
8458 ac_cv_prog_DLLTOOL=$DLLTOOL
8459 elif test -n "$ac_cv_prog_DLLTOOL"; then
8460 DLLTOOL=$ac_cv_prog_DLLTOOL
8463 if test -n "$ac_cv_prog_DLLTOOL"; then
8464 for ncn_progname in dlltool; do
8465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8466 set dummy ${ncn_progname}; ac_word=$2
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8468 $as_echo_n "checking
for $ac_word...
" >&6; }
8469 if ${ac_cv_prog_DLLTOOL+:} false; then :
8470 $as_echo_n "(cached
) " >&6
8472 if test -n "$DLLTOOL"; then
8473 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8479 test -z "$as_dir" && as_dir=.
8480 for ac_exec_ext in '' $ac_executable_extensions; do
8481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8482 ac_cv_prog_DLLTOOL="${ncn_progname}"
8483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8492 DLLTOOL=$ac_cv_prog_DLLTOOL
8493 if test -n "$DLLTOOL"; then
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8495 $as_echo "$DLLTOOL" >&6; }
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8498 $as_echo "no
" >&6; }
8505 for ncn_progname in dlltool; do
8506 if test -n "$ncn_tool_prefix"; then
8507 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8508 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8510 $as_echo_n "checking
for $ac_word...
" >&6; }
8511 if ${ac_cv_prog_DLLTOOL+:} false; then :
8512 $as_echo_n "(cached
) " >&6
8514 if test -n "$DLLTOOL"; then
8515 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8521 test -z "$as_dir" && as_dir=.
8522 for ac_exec_ext in '' $ac_executable_extensions; do
8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8524 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8534 DLLTOOL=$ac_cv_prog_DLLTOOL
8535 if test -n "$DLLTOOL"; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8537 $as_echo "$DLLTOOL" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8540 $as_echo "no
" >&6; }
8545 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8546 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8547 set dummy ${ncn_progname}; ac_word=$2
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8549 $as_echo_n "checking
for $ac_word...
" >&6; }
8550 if ${ac_cv_prog_DLLTOOL+:} false; then :
8551 $as_echo_n "(cached
) " >&6
8553 if test -n "$DLLTOOL"; then
8554 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8560 test -z "$as_dir" && as_dir=.
8561 for ac_exec_ext in '' $ac_executable_extensions; do
8562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8563 ac_cv_prog_DLLTOOL="${ncn_progname}"
8564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8573 DLLTOOL=$ac_cv_prog_DLLTOOL
8574 if test -n "$DLLTOOL"; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8576 $as_echo "$DLLTOOL" >&6; }
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8579 $as_echo "no
" >&6; }
8584 test -n "$ac_cv_prog_DLLTOOL" && break
8587 if test -z "$ac_cv_prog_DLLTOOL" ; then
8589 if test $build = $host ; then
8592 DLLTOOL="${ncn_tool_prefix}$2"
8598 if test -n "$LD"; then
8600 elif test -n "$ac_cv_prog_LD"; then
8604 if test -n "$ac_cv_prog_LD"; then
8605 for ncn_progname in ld; do
8606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8607 set dummy ${ncn_progname}; ac_word=$2
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8609 $as_echo_n "checking
for $ac_word...
" >&6; }
8610 if ${ac_cv_prog_LD+:} false; then :
8611 $as_echo_n "(cached
) " >&6
8613 if test -n "$LD"; then
8614 ac_cv_prog_LD="$LD" # Let the user override the test.
8616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620 test -z "$as_dir" && as_dir=.
8621 for ac_exec_ext in '' $ac_executable_extensions; do
8622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8623 ac_cv_prog_LD="${ncn_progname}"
8624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8634 if test -n "$LD"; then
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8636 $as_echo "$LD" >&6; }
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8639 $as_echo "no
" >&6; }
8646 for ncn_progname in ld; do
8647 if test -n "$ncn_tool_prefix"; then
8648 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8649 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8651 $as_echo_n "checking
for $ac_word...
" >&6; }
8652 if ${ac_cv_prog_LD+:} false; then :
8653 $as_echo_n "(cached
) " >&6
8655 if test -n "$LD"; then
8656 ac_cv_prog_LD="$LD" # Let the user override the test.
8658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8662 test -z "$as_dir" && as_dir=.
8663 for ac_exec_ext in '' $ac_executable_extensions; do
8664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8665 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8676 if test -n "$LD"; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8678 $as_echo "$LD" >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8681 $as_echo "no
" >&6; }
8686 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8687 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8688 set dummy ${ncn_progname}; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8690 $as_echo_n "checking
for $ac_word...
" >&6; }
8691 if ${ac_cv_prog_LD+:} false; then :
8692 $as_echo_n "(cached
) " >&6
8694 if test -n "$LD"; then
8695 ac_cv_prog_LD="$LD" # Let the user override the test.
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8704 ac_cv_prog_LD="${ncn_progname}"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8715 if test -n "$LD"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8717 $as_echo "$LD" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8720 $as_echo "no
" >&6; }
8725 test -n "$ac_cv_prog_LD" && break
8728 if test -z "$ac_cv_prog_LD" ; then
8730 if test $build = $host ; then
8733 LD="${ncn_tool_prefix}$2"
8739 if test -n "$LIPO"; then
8740 ac_cv_prog_LIPO=$LIPO
8741 elif test -n "$ac_cv_prog_LIPO"; then
8742 LIPO=$ac_cv_prog_LIPO
8745 if test -n "$ac_cv_prog_LIPO"; then
8746 for ncn_progname in lipo; do
8747 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8748 set dummy ${ncn_progname}; ac_word=$2
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8750 $as_echo_n "checking
for $ac_word...
" >&6; }
8751 if ${ac_cv_prog_LIPO+:} false; then :
8752 $as_echo_n "(cached
) " >&6
8754 if test -n "$LIPO"; then
8755 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8761 test -z "$as_dir" && as_dir=.
8762 for ac_exec_ext in '' $ac_executable_extensions; do
8763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8764 ac_cv_prog_LIPO="${ncn_progname}"
8765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8774 LIPO=$ac_cv_prog_LIPO
8775 if test -n "$LIPO"; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8777 $as_echo "$LIPO" >&6; }
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8780 $as_echo "no
" >&6; }
8787 for ncn_progname in lipo; do
8788 if test -n "$ncn_tool_prefix"; then
8789 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8790 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8792 $as_echo_n "checking
for $ac_word...
" >&6; }
8793 if ${ac_cv_prog_LIPO+:} false; then :
8794 $as_echo_n "(cached
) " >&6
8796 if test -n "$LIPO"; then
8797 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8816 LIPO=$ac_cv_prog_LIPO
8817 if test -n "$LIPO"; then
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8819 $as_echo "$LIPO" >&6; }
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8822 $as_echo "no
" >&6; }
8827 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8828 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8829 set dummy ${ncn_progname}; ac_word=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8831 $as_echo_n "checking
for $ac_word...
" >&6; }
8832 if ${ac_cv_prog_LIPO+:} false; then :
8833 $as_echo_n "(cached
) " >&6
8835 if test -n "$LIPO"; then
8836 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir=.
8843 for ac_exec_ext in '' $ac_executable_extensions; do
8844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8845 ac_cv_prog_LIPO="${ncn_progname}"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8855 LIPO=$ac_cv_prog_LIPO
8856 if test -n "$LIPO"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8858 $as_echo "$LIPO" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8861 $as_echo "no
" >&6; }
8866 test -n "$ac_cv_prog_LIPO" && break
8869 if test -z "$ac_cv_prog_LIPO" ; then
8871 if test $build = $host ; then
8874 LIPO="${ncn_tool_prefix}$2"
8880 if test -n "$NM"; then
8882 elif test -n "$ac_cv_prog_NM"; then
8886 if test -n "$ac_cv_prog_NM"; then
8887 for ncn_progname in nm; do
8888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8889 set dummy ${ncn_progname}; ac_word=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8891 $as_echo_n "checking
for $ac_word...
" >&6; }
8892 if ${ac_cv_prog_NM+:} false; then :
8893 $as_echo_n "(cached
) " >&6
8895 if test -n "$NM"; then
8896 ac_cv_prog_NM="$NM" # Let the user override the test.
8898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir=.
8903 for ac_exec_ext in '' $ac_executable_extensions; do
8904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905 ac_cv_prog_NM="${ncn_progname}"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8916 if test -n "$NM"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8918 $as_echo "$NM" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8921 $as_echo "no
" >&6; }
8928 for ncn_progname in nm; do
8929 if test -n "$ncn_tool_prefix"; then
8930 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8931 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8933 $as_echo_n "checking
for $ac_word...
" >&6; }
8934 if ${ac_cv_prog_NM+:} false; then :
8935 $as_echo_n "(cached
) " >&6
8937 if test -n "$NM"; then
8938 ac_cv_prog_NM="$NM" # Let the user override the test.
8940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8944 test -z "$as_dir" && as_dir=.
8945 for ac_exec_ext in '' $ac_executable_extensions; do
8946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8947 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8958 if test -n "$NM"; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8960 $as_echo "$NM" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8963 $as_echo "no
" >&6; }
8968 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8969 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8970 set dummy ${ncn_progname}; ac_word=$2
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8972 $as_echo_n "checking
for $ac_word...
" >&6; }
8973 if ${ac_cv_prog_NM+:} false; then :
8974 $as_echo_n "(cached
) " >&6
8976 if test -n "$NM"; then
8977 ac_cv_prog_NM="$NM" # Let the user override the test.
8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8983 test -z "$as_dir" && as_dir=.
8984 for ac_exec_ext in '' $ac_executable_extensions; do
8985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8986 ac_cv_prog_NM="${ncn_progname}"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8997 if test -n "$NM"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8999 $as_echo "$NM" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9002 $as_echo "no
" >&6; }
9007 test -n "$ac_cv_prog_NM" && break
9010 if test -z "$ac_cv_prog_NM" ; then
9012 if test $build = $host ; then
9015 NM="${ncn_tool_prefix}$2"
9021 if test -n "$RANLIB"; then
9022 ac_cv_prog_RANLIB=$RANLIB
9023 elif test -n "$ac_cv_prog_RANLIB"; then
9024 RANLIB=$ac_cv_prog_RANLIB
9027 if test -n "$ac_cv_prog_RANLIB"; then
9028 for ncn_progname in ranlib; do
9029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9030 set dummy ${ncn_progname}; ac_word=$2
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9032 $as_echo_n "checking
for $ac_word...
" >&6; }
9033 if ${ac_cv_prog_RANLIB+:} false; then :
9034 $as_echo_n "(cached
) " >&6
9036 if test -n "$RANLIB"; then
9037 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9043 test -z "$as_dir" && as_dir=.
9044 for ac_exec_ext in '' $ac_executable_extensions; do
9045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9046 ac_cv_prog_RANLIB="${ncn_progname}"
9047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9056 RANLIB=$ac_cv_prog_RANLIB
9057 if test -n "$RANLIB"; then
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9059 $as_echo "$RANLIB" >&6; }
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9062 $as_echo "no
" >&6; }
9069 for ncn_progname in ranlib; do
9070 if test -n "$ncn_tool_prefix"; then
9071 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9072 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9074 $as_echo_n "checking
for $ac_word...
" >&6; }
9075 if ${ac_cv_prog_RANLIB+:} false; then :
9076 $as_echo_n "(cached
) " >&6
9078 if test -n "$RANLIB"; then
9079 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 test -z "$as_dir" && as_dir=.
9086 for ac_exec_ext in '' $ac_executable_extensions; do
9087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9088 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9098 RANLIB=$ac_cv_prog_RANLIB
9099 if test -n "$RANLIB"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9101 $as_echo "$RANLIB" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9104 $as_echo "no
" >&6; }
9109 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9111 set dummy ${ncn_progname}; ac_word=$2
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9113 $as_echo_n "checking
for $ac_word...
" >&6; }
9114 if ${ac_cv_prog_RANLIB+:} false; then :
9115 $as_echo_n "(cached
) " >&6
9117 if test -n "$RANLIB"; then
9118 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 test -z "$as_dir" && as_dir=.
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9127 ac_cv_prog_RANLIB="${ncn_progname}"
9128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9137 RANLIB=$ac_cv_prog_RANLIB
9138 if test -n "$RANLIB"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9140 $as_echo "$RANLIB" >&6; }
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9143 $as_echo "no
" >&6; }
9148 test -n "$ac_cv_prog_RANLIB" && break
9151 if test -z "$ac_cv_prog_RANLIB" ; then
9157 if test -n "$STRIP"; then
9158 ac_cv_prog_STRIP=$STRIP
9159 elif test -n "$ac_cv_prog_STRIP"; then
9160 STRIP=$ac_cv_prog_STRIP
9163 if test -n "$ac_cv_prog_STRIP"; then
9164 for ncn_progname in strip; do
9165 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9166 set dummy ${ncn_progname}; ac_word=$2
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9168 $as_echo_n "checking
for $ac_word...
" >&6; }
9169 if ${ac_cv_prog_STRIP+:} false; then :
9170 $as_echo_n "(cached
) " >&6
9172 if test -n "$STRIP"; then
9173 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9179 test -z "$as_dir" && as_dir=.
9180 for ac_exec_ext in '' $ac_executable_extensions; do
9181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9182 ac_cv_prog_STRIP="${ncn_progname}"
9183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9192 STRIP=$ac_cv_prog_STRIP
9193 if test -n "$STRIP"; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9195 $as_echo "$STRIP" >&6; }
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9198 $as_echo "no
" >&6; }
9205 for ncn_progname in strip; do
9206 if test -n "$ncn_tool_prefix"; then
9207 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9208 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9210 $as_echo_n "checking
for $ac_word...
" >&6; }
9211 if ${ac_cv_prog_STRIP+:} false; then :
9212 $as_echo_n "(cached
) " >&6
9214 if test -n "$STRIP"; then
9215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9221 test -z "$as_dir" && as_dir=.
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9224 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9234 STRIP=$ac_cv_prog_STRIP
9235 if test -n "$STRIP"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9237 $as_echo "$STRIP" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9240 $as_echo "no
" >&6; }
9245 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9247 set dummy ${ncn_progname}; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9249 $as_echo_n "checking
for $ac_word...
" >&6; }
9250 if ${ac_cv_prog_STRIP+:} false; then :
9251 $as_echo_n "(cached
) " >&6
9253 if test -n "$STRIP"; then
9254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9263 ac_cv_prog_STRIP="${ncn_progname}"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9273 STRIP=$ac_cv_prog_STRIP
9274 if test -n "$STRIP"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9276 $as_echo "$STRIP" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9279 $as_echo "no
" >&6; }
9284 test -n "$ac_cv_prog_STRIP" && break
9287 if test -z "$ac_cv_prog_STRIP" ; then
9293 if test -n "$WINDRES"; then
9294 ac_cv_prog_WINDRES=$WINDRES
9295 elif test -n "$ac_cv_prog_WINDRES"; then
9296 WINDRES=$ac_cv_prog_WINDRES
9299 if test -n "$ac_cv_prog_WINDRES"; then
9300 for ncn_progname in windres; do
9301 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9302 set dummy ${ncn_progname}; ac_word=$2
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9304 $as_echo_n "checking
for $ac_word...
" >&6; }
9305 if ${ac_cv_prog_WINDRES+:} false; then :
9306 $as_echo_n "(cached
) " >&6
9308 if test -n "$WINDRES"; then
9309 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9315 test -z "$as_dir" && as_dir=.
9316 for ac_exec_ext in '' $ac_executable_extensions; do
9317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9318 ac_cv_prog_WINDRES="${ncn_progname}"
9319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9328 WINDRES=$ac_cv_prog_WINDRES
9329 if test -n "$WINDRES"; then
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9331 $as_echo "$WINDRES" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9334 $as_echo "no
" >&6; }
9341 for ncn_progname in windres; do
9342 if test -n "$ncn_tool_prefix"; then
9343 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9344 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9346 $as_echo_n "checking
for $ac_word...
" >&6; }
9347 if ${ac_cv_prog_WINDRES+:} false; then :
9348 $as_echo_n "(cached
) " >&6
9350 if test -n "$WINDRES"; then
9351 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9357 test -z "$as_dir" && as_dir=.
9358 for ac_exec_ext in '' $ac_executable_extensions; do
9359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9360 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9370 WINDRES=$ac_cv_prog_WINDRES
9371 if test -n "$WINDRES"; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9373 $as_echo "$WINDRES" >&6; }
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9376 $as_echo "no
" >&6; }
9381 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9382 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9383 set dummy ${ncn_progname}; ac_word=$2
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9385 $as_echo_n "checking
for $ac_word...
" >&6; }
9386 if ${ac_cv_prog_WINDRES+:} false; then :
9387 $as_echo_n "(cached
) " >&6
9389 if test -n "$WINDRES"; then
9390 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9396 test -z "$as_dir" && as_dir=.
9397 for ac_exec_ext in '' $ac_executable_extensions; do
9398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9399 ac_cv_prog_WINDRES="${ncn_progname}"
9400 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9409 WINDRES=$ac_cv_prog_WINDRES
9410 if test -n "$WINDRES"; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9412 $as_echo "$WINDRES" >&6; }
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9415 $as_echo "no
" >&6; }
9420 test -n "$ac_cv_prog_WINDRES" && break
9423 if test -z "$ac_cv_prog_WINDRES" ; then
9425 if test $build = $host ; then
9428 WINDRES="${ncn_tool_prefix}$2"
9434 if test -n "$WINDMC"; then
9435 ac_cv_prog_WINDMC=$WINDMC
9436 elif test -n "$ac_cv_prog_WINDMC"; then
9437 WINDMC=$ac_cv_prog_WINDMC
9440 if test -n "$ac_cv_prog_WINDMC"; then
9441 for ncn_progname in windmc; do
9442 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9443 set dummy ${ncn_progname}; ac_word=$2
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9445 $as_echo_n "checking
for $ac_word...
" >&6; }
9446 if ${ac_cv_prog_WINDMC+:} false; then :
9447 $as_echo_n "(cached
) " >&6
9449 if test -n "$WINDMC"; then
9450 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9456 test -z "$as_dir" && as_dir=.
9457 for ac_exec_ext in '' $ac_executable_extensions; do
9458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9459 ac_cv_prog_WINDMC="${ncn_progname}"
9460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9469 WINDMC=$ac_cv_prog_WINDMC
9470 if test -n "$WINDMC"; then
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9472 $as_echo "$WINDMC" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9475 $as_echo "no
" >&6; }
9482 for ncn_progname in windmc; do
9483 if test -n "$ncn_tool_prefix"; then
9484 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9485 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9487 $as_echo_n "checking
for $ac_word...
" >&6; }
9488 if ${ac_cv_prog_WINDMC+:} false; then :
9489 $as_echo_n "(cached
) " >&6
9491 if test -n "$WINDMC"; then
9492 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9498 test -z "$as_dir" && as_dir=.
9499 for ac_exec_ext in '' $ac_executable_extensions; do
9500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9501 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9511 WINDMC=$ac_cv_prog_WINDMC
9512 if test -n "$WINDMC"; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9514 $as_echo "$WINDMC" >&6; }
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9517 $as_echo "no
" >&6; }
9522 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9523 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9524 set dummy ${ncn_progname}; ac_word=$2
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9526 $as_echo_n "checking
for $ac_word...
" >&6; }
9527 if ${ac_cv_prog_WINDMC+:} false; then :
9528 $as_echo_n "(cached
) " >&6
9530 if test -n "$WINDMC"; then
9531 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9537 test -z "$as_dir" && as_dir=.
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9540 ac_cv_prog_WINDMC="${ncn_progname}"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9550 WINDMC=$ac_cv_prog_WINDMC
9551 if test -n "$WINDMC"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9553 $as_echo "$WINDMC" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9556 $as_echo "no
" >&6; }
9561 test -n "$ac_cv_prog_WINDMC" && break
9564 if test -z "$ac_cv_prog_WINDMC" ; then
9566 if test $build = $host ; then
9569 WINDMC="${ncn_tool_prefix}$2"
9575 if test -n "$OBJCOPY"; then
9576 ac_cv_prog_OBJCOPY=$OBJCOPY
9577 elif test -n "$ac_cv_prog_OBJCOPY"; then
9578 OBJCOPY=$ac_cv_prog_OBJCOPY
9581 if test -n "$ac_cv_prog_OBJCOPY"; then
9582 for ncn_progname in objcopy; do
9583 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9584 set dummy ${ncn_progname}; ac_word=$2
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9586 $as_echo_n "checking
for $ac_word...
" >&6; }
9587 if ${ac_cv_prog_OBJCOPY+:} false; then :
9588 $as_echo_n "(cached
) " >&6
9590 if test -n "$OBJCOPY"; then
9591 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9597 test -z "$as_dir" && as_dir=.
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_OBJCOPY="${ncn_progname}"
9601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9610 OBJCOPY=$ac_cv_prog_OBJCOPY
9611 if test -n "$OBJCOPY"; then
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9613 $as_echo "$OBJCOPY" >&6; }
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9616 $as_echo "no
" >&6; }
9623 for ncn_progname in objcopy; do
9624 if test -n "$ncn_tool_prefix"; then
9625 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9626 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9628 $as_echo_n "checking
for $ac_word...
" >&6; }
9629 if ${ac_cv_prog_OBJCOPY+:} false; then :
9630 $as_echo_n "(cached
) " >&6
9632 if test -n "$OBJCOPY"; then
9633 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 test -z "$as_dir" && as_dir=.
9640 for ac_exec_ext in '' $ac_executable_extensions; do
9641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9642 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9652 OBJCOPY=$ac_cv_prog_OBJCOPY
9653 if test -n "$OBJCOPY"; then
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9655 $as_echo "$OBJCOPY" >&6; }
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9658 $as_echo "no
" >&6; }
9663 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9664 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9665 set dummy ${ncn_progname}; ac_word=$2
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9667 $as_echo_n "checking
for $ac_word...
" >&6; }
9668 if ${ac_cv_prog_OBJCOPY+:} false; then :
9669 $as_echo_n "(cached
) " >&6
9671 if test -n "$OBJCOPY"; then
9672 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9678 test -z "$as_dir" && as_dir=.
9679 for ac_exec_ext in '' $ac_executable_extensions; do
9680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9681 ac_cv_prog_OBJCOPY="${ncn_progname}"
9682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9691 OBJCOPY=$ac_cv_prog_OBJCOPY
9692 if test -n "$OBJCOPY"; then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9694 $as_echo "$OBJCOPY" >&6; }
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9697 $as_echo "no
" >&6; }
9702 test -n "$ac_cv_prog_OBJCOPY" && break
9705 if test -z "$ac_cv_prog_OBJCOPY" ; then
9707 if test $build = $host ; then
9710 OBJCOPY="${ncn_tool_prefix}$2"
9716 if test -n "$OBJDUMP"; then
9717 ac_cv_prog_OBJDUMP=$OBJDUMP
9718 elif test -n "$ac_cv_prog_OBJDUMP"; then
9719 OBJDUMP=$ac_cv_prog_OBJDUMP
9722 if test -n "$ac_cv_prog_OBJDUMP"; then
9723 for ncn_progname in objdump; do
9724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9725 set dummy ${ncn_progname}; ac_word=$2
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9727 $as_echo_n "checking
for $ac_word...
" >&6; }
9728 if ${ac_cv_prog_OBJDUMP+:} false; then :
9729 $as_echo_n "(cached
) " >&6
9731 if test -n "$OBJDUMP"; then
9732 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738 test -z "$as_dir" && as_dir=.
9739 for ac_exec_ext in '' $ac_executable_extensions; do
9740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9741 ac_cv_prog_OBJDUMP="${ncn_progname}"
9742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9751 OBJDUMP=$ac_cv_prog_OBJDUMP
9752 if test -n "$OBJDUMP"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9754 $as_echo "$OBJDUMP" >&6; }
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9757 $as_echo "no
" >&6; }
9764 for ncn_progname in objdump; do
9765 if test -n "$ncn_tool_prefix"; then
9766 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9767 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9769 $as_echo_n "checking
for $ac_word...
" >&6; }
9770 if ${ac_cv_prog_OBJDUMP+:} false; then :
9771 $as_echo_n "(cached
) " >&6
9773 if test -n "$OBJDUMP"; then
9774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9780 test -z "$as_dir" && as_dir=.
9781 for ac_exec_ext in '' $ac_executable_extensions; do
9782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9793 OBJDUMP=$ac_cv_prog_OBJDUMP
9794 if test -n "$OBJDUMP"; then
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9796 $as_echo "$OBJDUMP" >&6; }
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9799 $as_echo "no
" >&6; }
9804 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9805 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9806 set dummy ${ncn_progname}; ac_word=$2
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9808 $as_echo_n "checking
for $ac_word...
" >&6; }
9809 if ${ac_cv_prog_OBJDUMP+:} false; then :
9810 $as_echo_n "(cached
) " >&6
9812 if test -n "$OBJDUMP"; then
9813 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9819 test -z "$as_dir" && as_dir=.
9820 for ac_exec_ext in '' $ac_executable_extensions; do
9821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9822 ac_cv_prog_OBJDUMP="${ncn_progname}"
9823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9832 OBJDUMP=$ac_cv_prog_OBJDUMP
9833 if test -n "$OBJDUMP"; then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9835 $as_echo "$OBJDUMP" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9838 $as_echo "no
" >&6; }
9843 test -n "$ac_cv_prog_OBJDUMP" && break
9846 if test -z "$ac_cv_prog_OBJDUMP" ; then
9848 if test $build = $host ; then
9851 OBJDUMP="${ncn_tool_prefix}$2"
9857 if test -n "$READELF"; then
9858 ac_cv_prog_READELF=$READELF
9859 elif test -n "$ac_cv_prog_READELF"; then
9860 READELF=$ac_cv_prog_READELF
9863 if test -n "$ac_cv_prog_READELF"; then
9864 for ncn_progname in readelf; do
9865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9866 set dummy ${ncn_progname}; ac_word=$2
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9868 $as_echo_n "checking
for $ac_word...
" >&6; }
9869 if ${ac_cv_prog_READELF+:} false; then :
9870 $as_echo_n "(cached
) " >&6
9872 if test -n "$READELF"; then
9873 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9879 test -z "$as_dir" && as_dir=.
9880 for ac_exec_ext in '' $ac_executable_extensions; do
9881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9882 ac_cv_prog_READELF="${ncn_progname}"
9883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9892 READELF=$ac_cv_prog_READELF
9893 if test -n "$READELF"; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9895 $as_echo "$READELF" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9898 $as_echo "no
" >&6; }
9905 for ncn_progname in readelf; do
9906 if test -n "$ncn_tool_prefix"; then
9907 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9908 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9910 $as_echo_n "checking
for $ac_word...
" >&6; }
9911 if ${ac_cv_prog_READELF+:} false; then :
9912 $as_echo_n "(cached
) " >&6
9914 if test -n "$READELF"; then
9915 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9921 test -z "$as_dir" && as_dir=.
9922 for ac_exec_ext in '' $ac_executable_extensions; do
9923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9924 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9934 READELF=$ac_cv_prog_READELF
9935 if test -n "$READELF"; then
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9937 $as_echo "$READELF" >&6; }
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9940 $as_echo "no
" >&6; }
9945 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9946 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9947 set dummy ${ncn_progname}; ac_word=$2
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9949 $as_echo_n "checking
for $ac_word...
" >&6; }
9950 if ${ac_cv_prog_READELF+:} false; then :
9951 $as_echo_n "(cached
) " >&6
9953 if test -n "$READELF"; then
9954 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9960 test -z "$as_dir" && as_dir=.
9961 for ac_exec_ext in '' $ac_executable_extensions; do
9962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9963 ac_cv_prog_READELF="${ncn_progname}"
9964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9973 READELF=$ac_cv_prog_READELF
9974 if test -n "$READELF"; then
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9976 $as_echo "$READELF" >&6; }
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9979 $as_echo "no
" >&6; }
9984 test -n "$ac_cv_prog_READELF" && break
9987 if test -z "$ac_cv_prog_READELF" ; then
9989 if test $build = $host ; then
9992 READELF="${ncn_tool_prefix}$2"
10003 # Check whether --with-build-time-tools was given.
10004 if test "${with_build_time_tools+set}" = set; then :
10005 withval=$with_build_time_tools; case x"$withval" in
10008 with_build_time_tools=
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10010 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10014 with_build_time_tools=
10020 if test -n "$CC_FOR_TARGET"; then
10021 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10022 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10023 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10026 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10027 for ncn_progname in cc gcc; do
10028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10029 set dummy ${ncn_progname}; ac_word=$2
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10031 $as_echo_n "checking
for $ac_word...
" >&6; }
10032 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10033 $as_echo_n "(cached
) " >&6
10035 if test -n "$CC_FOR_TARGET"; then
10036 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10055 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10056 if test -n "$CC_FOR_TARGET"; then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10058 $as_echo "$CC_FOR_TARGET" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10061 $as_echo "no
" >&6; }
10068 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10069 for ncn_progname in cc gcc; do
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10071 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10072 if test -x $with_build_time_tools/${ncn_progname}; then
10073 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10075 $as_echo "yes" >&6; }
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10079 $as_echo "no
" >&6; }
10084 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10085 for ncn_progname in cc gcc; do
10086 if test -n "$ncn_target_tool_prefix"; then
10087 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10088 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10090 $as_echo_n "checking
for $ac_word...
" >&6; }
10091 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10092 $as_echo_n "(cached
) " >&6
10094 if test -n "$CC_FOR_TARGET"; then
10095 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10098 for as_dir in $PATH
10101 test -z "$as_dir" && as_dir=.
10102 for ac_exec_ext in '' $ac_executable_extensions; do
10103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10104 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10114 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10115 if test -n "$CC_FOR_TARGET"; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10117 $as_echo "$CC_FOR_TARGET" >&6; }
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10120 $as_echo "no
" >&6; }
10125 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10127 set dummy ${ncn_progname}; ac_word=$2
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10129 $as_echo_n "checking
for $ac_word...
" >&6; }
10130 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10131 $as_echo_n "(cached
) " >&6
10133 if test -n "$CC_FOR_TARGET"; then
10134 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10137 for as_dir in $PATH
10140 test -z "$as_dir" && as_dir=.
10141 for ac_exec_ext in '' $ac_executable_extensions; do
10142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10153 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10154 if test -n "$CC_FOR_TARGET"; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10156 $as_echo "$CC_FOR_TARGET" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10159 $as_echo "no
" >&6; }
10164 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10168 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10170 if test $build = $target ; then
10173 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10176 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10181 if test -n "$CXX_FOR_TARGET"; then
10182 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10183 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10184 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10187 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10188 for ncn_progname in c++ g++ cxx gxx; do
10189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10190 set dummy ${ncn_progname}; ac_word=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10192 $as_echo_n "checking
for $ac_word...
" >&6; }
10193 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10194 $as_echo_n "(cached
) " >&6
10196 if test -n "$CXX_FOR_TARGET"; then
10197 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10200 for as_dir in $PATH
10203 test -z "$as_dir" && as_dir=.
10204 for ac_exec_ext in '' $ac_executable_extensions; do
10205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10206 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10216 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10217 if test -n "$CXX_FOR_TARGET"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10219 $as_echo "$CXX_FOR_TARGET" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10222 $as_echo "no
" >&6; }
10229 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10230 for ncn_progname in c++ g++ cxx gxx; do
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10232 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10233 if test -x $with_build_time_tools/${ncn_progname}; then
10234 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10236 $as_echo "yes" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10240 $as_echo "no
" >&6; }
10245 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10246 for ncn_progname in c++ g++ cxx gxx; do
10247 if test -n "$ncn_target_tool_prefix"; then
10248 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10249 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10251 $as_echo_n "checking
for $ac_word...
" >&6; }
10252 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10253 $as_echo_n "(cached
) " >&6
10255 if test -n "$CXX_FOR_TARGET"; then
10256 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10259 for as_dir in $PATH
10262 test -z "$as_dir" && as_dir=.
10263 for ac_exec_ext in '' $ac_executable_extensions; do
10264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10265 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10275 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10276 if test -n "$CXX_FOR_TARGET"; then
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10278 $as_echo "$CXX_FOR_TARGET" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10281 $as_echo "no
" >&6; }
10286 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10288 set dummy ${ncn_progname}; ac_word=$2
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10290 $as_echo_n "checking
for $ac_word...
" >&6; }
10291 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10292 $as_echo_n "(cached
) " >&6
10294 if test -n "$CXX_FOR_TARGET"; then
10295 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10298 for as_dir in $PATH
10301 test -z "$as_dir" && as_dir=.
10302 for ac_exec_ext in '' $ac_executable_extensions; do
10303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10304 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10314 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10315 if test -n "$CXX_FOR_TARGET"; then
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10317 $as_echo "$CXX_FOR_TARGET" >&6; }
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10320 $as_echo "no
" >&6; }
10325 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10329 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10330 set dummy c++ g++ cxx gxx
10331 if test $build = $target ; then
10332 CXX_FOR_TARGET="$2"
10334 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10337 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10342 if test -n "$GCC_FOR_TARGET"; then
10343 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10344 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10345 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10348 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10349 for ncn_progname in gcc; do
10350 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10351 set dummy ${ncn_progname}; ac_word=$2
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10353 $as_echo_n "checking
for $ac_word...
" >&6; }
10354 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10355 $as_echo_n "(cached
) " >&6
10357 if test -n "$GCC_FOR_TARGET"; then
10358 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361 for as_dir in $PATH
10364 test -z "$as_dir" && as_dir=.
10365 for ac_exec_ext in '' $ac_executable_extensions; do
10366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10367 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10377 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10378 if test -n "$GCC_FOR_TARGET"; then
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10380 $as_echo "$GCC_FOR_TARGET" >&6; }
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10383 $as_echo "no
" >&6; }
10390 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10391 for ncn_progname in gcc; do
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10393 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10394 if test -x $with_build_time_tools/${ncn_progname}; then
10395 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10397 $as_echo "yes" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10401 $as_echo "no
" >&6; }
10406 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10407 for ncn_progname in gcc; do
10408 if test -n "$ncn_target_tool_prefix"; then
10409 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10410 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10412 $as_echo_n "checking
for $ac_word...
" >&6; }
10413 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10414 $as_echo_n "(cached
) " >&6
10416 if test -n "$GCC_FOR_TARGET"; then
10417 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10420 for as_dir in $PATH
10423 test -z "$as_dir" && as_dir=.
10424 for ac_exec_ext in '' $ac_executable_extensions; do
10425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10426 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10436 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10437 if test -n "$GCC_FOR_TARGET"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10439 $as_echo "$GCC_FOR_TARGET" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10442 $as_echo "no
" >&6; }
10447 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10448 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10449 set dummy ${ncn_progname}; ac_word=$2
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10451 $as_echo_n "checking
for $ac_word...
" >&6; }
10452 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10453 $as_echo_n "(cached
) " >&6
10455 if test -n "$GCC_FOR_TARGET"; then
10456 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10459 for as_dir in $PATH
10462 test -z "$as_dir" && as_dir=.
10463 for ac_exec_ext in '' $ac_executable_extensions; do
10464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10465 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10475 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10476 if test -n "$GCC_FOR_TARGET"; then
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10478 $as_echo "$GCC_FOR_TARGET" >&6; }
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10481 $as_echo "no
" >&6; }
10486 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10490 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10491 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10493 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10498 if test -n "$GFORTRAN_FOR_TARGET"; then
10499 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10500 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10501 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10504 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10505 for ncn_progname in gfortran; do
10506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10507 set dummy ${ncn_progname}; ac_word=$2
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10509 $as_echo_n "checking
for $ac_word...
" >&6; }
10510 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10511 $as_echo_n "(cached
) " >&6
10513 if test -n "$GFORTRAN_FOR_TARGET"; then
10514 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in $PATH
10520 test -z "$as_dir" && as_dir=.
10521 for ac_exec_ext in '' $ac_executable_extensions; do
10522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10523 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10533 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10534 if test -n "$GFORTRAN_FOR_TARGET"; then
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10536 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10539 $as_echo "no
" >&6; }
10546 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10547 for ncn_progname in gfortran; do
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10549 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10550 if test -x $with_build_time_tools/${ncn_progname}; then
10551 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10553 $as_echo "yes" >&6; }
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10557 $as_echo "no
" >&6; }
10562 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10563 for ncn_progname in gfortran; do
10564 if test -n "$ncn_target_tool_prefix"; then
10565 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10566 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10568 $as_echo_n "checking
for $ac_word...
" >&6; }
10569 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10570 $as_echo_n "(cached
) " >&6
10572 if test -n "$GFORTRAN_FOR_TARGET"; then
10573 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10576 for as_dir in $PATH
10579 test -z "$as_dir" && as_dir=.
10580 for ac_exec_ext in '' $ac_executable_extensions; do
10581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10582 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10592 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10593 if test -n "$GFORTRAN_FOR_TARGET"; then
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10595 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10598 $as_echo "no
" >&6; }
10603 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10604 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10605 set dummy ${ncn_progname}; ac_word=$2
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10607 $as_echo_n "checking
for $ac_word...
" >&6; }
10608 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10609 $as_echo_n "(cached
) " >&6
10611 if test -n "$GFORTRAN_FOR_TARGET"; then
10612 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615 for as_dir in $PATH
10618 test -z "$as_dir" && as_dir=.
10619 for ac_exec_ext in '' $ac_executable_extensions; do
10620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10631 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10632 if test -n "$GFORTRAN_FOR_TARGET"; then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10634 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10637 $as_echo "no
" >&6; }
10642 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10646 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10648 if test $build = $target ; then
10649 GFORTRAN_FOR_TARGET="$2"
10651 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10654 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10659 if test -n "$GOC_FOR_TARGET"; then
10660 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10661 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10662 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10665 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10666 for ncn_progname in gccgo; do
10667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10668 set dummy ${ncn_progname}; ac_word=$2
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10670 $as_echo_n "checking
for $ac_word...
" >&6; }
10671 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10672 $as_echo_n "(cached
) " >&6
10674 if test -n "$GOC_FOR_TARGET"; then
10675 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10678 for as_dir in $PATH
10681 test -z "$as_dir" && as_dir=.
10682 for ac_exec_ext in '' $ac_executable_extensions; do
10683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10684 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10694 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10695 if test -n "$GOC_FOR_TARGET"; then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10697 $as_echo "$GOC_FOR_TARGET" >&6; }
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10700 $as_echo "no
" >&6; }
10707 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10708 for ncn_progname in gccgo; do
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10710 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10711 if test -x $with_build_time_tools/${ncn_progname}; then
10712 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10714 $as_echo "yes" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10718 $as_echo "no
" >&6; }
10723 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10724 for ncn_progname in gccgo; do
10725 if test -n "$ncn_target_tool_prefix"; then
10726 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10727 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10729 $as_echo_n "checking
for $ac_word...
" >&6; }
10730 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10731 $as_echo_n "(cached
) " >&6
10733 if test -n "$GOC_FOR_TARGET"; then
10734 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10737 for as_dir in $PATH
10740 test -z "$as_dir" && as_dir=.
10741 for ac_exec_ext in '' $ac_executable_extensions; do
10742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10743 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10753 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10754 if test -n "$GOC_FOR_TARGET"; then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10756 $as_echo "$GOC_FOR_TARGET" >&6; }
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10759 $as_echo "no
" >&6; }
10764 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10765 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10766 set dummy ${ncn_progname}; ac_word=$2
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10768 $as_echo_n "checking
for $ac_word...
" >&6; }
10769 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10770 $as_echo_n "(cached
) " >&6
10772 if test -n "$GOC_FOR_TARGET"; then
10773 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10776 for as_dir in $PATH
10779 test -z "$as_dir" && as_dir=.
10780 for ac_exec_ext in '' $ac_executable_extensions; do
10781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10782 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10792 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10793 if test -n "$GOC_FOR_TARGET"; then
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10795 $as_echo "$GOC_FOR_TARGET" >&6; }
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10798 $as_echo "no
" >&6; }
10803 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10807 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10809 if test $build = $target ; then
10810 GOC_FOR_TARGET="$2"
10812 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10815 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10820 cat > conftest.c << \EOF
10825 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10826 have_gcc_for_target=yes
10828 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10829 have_gcc_for_target=no
10836 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10837 if test -n "$with_build_time_tools"; then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10839 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10840 if test -x $with_build_time_tools/ar; then
10841 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10842 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10844 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10847 $as_echo "no
" >&6; }
10849 elif test $build != $host && test $have_gcc_for_target = yes; then
10850 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10851 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10852 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10855 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10856 # Extract the first word of "ar", so it can be a program name with args.
10857 set dummy ar; ac_word=$2
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10859 $as_echo_n "checking
for $ac_word...
" >&6; }
10860 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
10861 $as_echo_n "(cached
) " >&6
10863 case $AR_FOR_TARGET in
10865 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869 for as_dir in $gcc_cv_tool_dirs
10872 test -z "$as_dir" && as_dir=.
10873 for ac_exec_ext in '' $ac_executable_extensions; do
10874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10875 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10886 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10887 if test -n "$AR_FOR_TARGET"; then
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10889 $as_echo "$AR_FOR_TARGET" >&6; }
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10892 $as_echo "no
" >&6; }
10897 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10900 if test -n "$AR_FOR_TARGET"; then
10901 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10902 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10903 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10906 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10907 for ncn_progname in ar; do
10908 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10909 set dummy ${ncn_progname}; ac_word=$2
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10911 $as_echo_n "checking
for $ac_word...
" >&6; }
10912 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10913 $as_echo_n "(cached
) " >&6
10915 if test -n "$AR_FOR_TARGET"; then
10916 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10925 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10935 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10936 if test -n "$AR_FOR_TARGET"; then
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10938 $as_echo "$AR_FOR_TARGET" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10941 $as_echo "no
" >&6; }
10948 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10949 for ncn_progname in ar; do
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10951 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10952 if test -x $with_build_time_tools/${ncn_progname}; then
10953 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10955 $as_echo "yes" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10959 $as_echo "no
" >&6; }
10964 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10965 for ncn_progname in ar; do
10966 if test -n "$ncn_target_tool_prefix"; then
10967 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10968 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10970 $as_echo_n "checking
for $ac_word...
" >&6; }
10971 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10972 $as_echo_n "(cached
) " >&6
10974 if test -n "$AR_FOR_TARGET"; then
10975 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in $PATH
10981 test -z "$as_dir" && as_dir=.
10982 for ac_exec_ext in '' $ac_executable_extensions; do
10983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10984 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10994 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10995 if test -n "$AR_FOR_TARGET"; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10997 $as_echo "$AR_FOR_TARGET" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11000 $as_echo "no
" >&6; }
11005 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
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_AR_FOR_TARGET+:} false; then :
11011 $as_echo_n "(cached
) " >&6
11013 if test -n "$AR_FOR_TARGET"; then
11014 ac_cv_prog_AR_FOR_TARGET="$AR_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_AR_FOR_TARGET="${ncn_progname}"
11024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11033 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11034 if test -n "$AR_FOR_TARGET"; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11036 $as_echo "$AR_FOR_TARGET" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11039 $as_echo "no
" >&6; }
11044 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11048 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11050 if test $build = $target ; then
11053 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11056 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11060 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11066 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11067 if test -n "$with_build_time_tools"; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11069 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11070 if test -x $with_build_time_tools/as; then
11071 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11072 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11074 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11077 $as_echo "no
" >&6; }
11079 elif test $build != $host && test $have_gcc_for_target = yes; then
11080 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11081 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11082 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11085 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11086 # Extract the first word of "as
", so it can be a program name with args.
11087 set dummy as; ac_word=$2
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11089 $as_echo_n "checking
for $ac_word...
" >&6; }
11090 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11091 $as_echo_n "(cached
) " >&6
11093 case $AS_FOR_TARGET in
11095 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $gcc_cv_tool_dirs
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11116 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11117 if test -n "$AS_FOR_TARGET"; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11119 $as_echo "$AS_FOR_TARGET" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11122 $as_echo "no
" >&6; }
11127 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11130 if test -n "$AS_FOR_TARGET"; then
11131 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11132 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11133 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11136 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11137 for ncn_progname in as; do
11138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11139 set dummy ${ncn_progname}; ac_word=$2
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11141 $as_echo_n "checking
for $ac_word...
" >&6; }
11142 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11143 $as_echo_n "(cached
) " >&6
11145 if test -n "$AS_FOR_TARGET"; then
11146 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11149 for as_dir in $PATH
11152 test -z "$as_dir" && as_dir=.
11153 for ac_exec_ext in '' $ac_executable_extensions; do
11154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11155 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11165 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11166 if test -n "$AS_FOR_TARGET"; then
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11168 $as_echo "$AS_FOR_TARGET" >&6; }
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11171 $as_echo "no
" >&6; }
11178 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11179 for ncn_progname in as; do
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11181 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11182 if test -x $with_build_time_tools/${ncn_progname}; then
11183 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11185 $as_echo "yes" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11189 $as_echo "no
" >&6; }
11194 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11195 for ncn_progname in as; do
11196 if test -n "$ncn_target_tool_prefix"; then
11197 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11198 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11200 $as_echo_n "checking
for $ac_word...
" >&6; }
11201 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11202 $as_echo_n "(cached
) " >&6
11204 if test -n "$AS_FOR_TARGET"; then
11205 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11208 for as_dir in $PATH
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_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11224 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11225 if test -n "$AS_FOR_TARGET"; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11227 $as_echo "$AS_FOR_TARGET" >&6; }
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11230 $as_echo "no
" >&6; }
11235 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11237 set dummy ${ncn_progname}; ac_word=$2
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11239 $as_echo_n "checking
for $ac_word...
" >&6; }
11240 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11241 $as_echo_n "(cached
) " >&6
11243 if test -n "$AS_FOR_TARGET"; then
11244 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11247 for as_dir in $PATH
11250 test -z "$as_dir" && as_dir=.
11251 for ac_exec_ext in '' $ac_executable_extensions; do
11252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11253 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11263 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11264 if test -n "$AS_FOR_TARGET"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11266 $as_echo "$AS_FOR_TARGET" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11269 $as_echo "no
" >&6; }
11274 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11278 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11280 if test $build = $target ; then
11283 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11286 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11290 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11296 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11297 if test -n "$with_build_time_tools"; then
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11299 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11300 if test -x $with_build_time_tools/dlltool; then
11301 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11302 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11304 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11307 $as_echo "no
" >&6; }
11309 elif test $build != $host && test $have_gcc_for_target = yes; then
11310 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11311 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11312 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11315 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11316 # Extract the first word of "dlltool
", so it can be a program name with args.
11317 set dummy dlltool; ac_word=$2
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11319 $as_echo_n "checking
for $ac_word...
" >&6; }
11320 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11321 $as_echo_n "(cached
) " >&6
11323 case $DLLTOOL_FOR_TARGET in
11325 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11329 for as_dir in $gcc_cv_tool_dirs
11332 test -z "$as_dir" && as_dir=.
11333 for ac_exec_ext in '' $ac_executable_extensions; do
11334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11346 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11347 if test -n "$DLLTOOL_FOR_TARGET"; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11349 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11352 $as_echo "no
" >&6; }
11357 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11360 if test -n "$DLLTOOL_FOR_TARGET"; then
11361 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11362 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11363 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11366 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11367 for ncn_progname in dlltool; do
11368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11369 set dummy ${ncn_progname}; ac_word=$2
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11371 $as_echo_n "checking
for $ac_word...
" >&6; }
11372 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11373 $as_echo_n "(cached
) " >&6
11375 if test -n "$DLLTOOL_FOR_TARGET"; then
11376 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11379 for as_dir in $PATH
11382 test -z "$as_dir" && as_dir=.
11383 for ac_exec_ext in '' $ac_executable_extensions; do
11384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11385 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11395 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11396 if test -n "$DLLTOOL_FOR_TARGET"; then
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11398 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11401 $as_echo "no
" >&6; }
11408 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11409 for ncn_progname in dlltool; do
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11411 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11412 if test -x $with_build_time_tools/${ncn_progname}; then
11413 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11415 $as_echo "yes" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11419 $as_echo "no
" >&6; }
11424 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11425 for ncn_progname in dlltool; do
11426 if test -n "$ncn_target_tool_prefix"; then
11427 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11428 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11430 $as_echo_n "checking
for $ac_word...
" >&6; }
11431 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11432 $as_echo_n "(cached
) " >&6
11434 if test -n "$DLLTOOL_FOR_TARGET"; then
11435 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11438 for as_dir in $PATH
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_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11454 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11455 if test -n "$DLLTOOL_FOR_TARGET"; then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11457 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11460 $as_echo "no
" >&6; }
11465 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11467 set dummy ${ncn_progname}; ac_word=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11469 $as_echo_n "checking
for $ac_word...
" >&6; }
11470 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11471 $as_echo_n "(cached
) " >&6
11473 if test -n "$DLLTOOL_FOR_TARGET"; then
11474 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11477 for as_dir in $PATH
11480 test -z "$as_dir" && as_dir=.
11481 for ac_exec_ext in '' $ac_executable_extensions; do
11482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11483 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11493 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11494 if test -n "$DLLTOOL_FOR_TARGET"; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11496 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11499 $as_echo "no
" >&6; }
11504 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11508 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11510 if test $build = $target ; then
11511 DLLTOOL_FOR_TARGET="$2"
11513 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11516 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11520 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11526 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11527 if test -n "$with_build_time_tools"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11529 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11530 if test -x $with_build_time_tools/ld; then
11531 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11532 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11534 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11537 $as_echo "no
" >&6; }
11539 elif test $build != $host && test $have_gcc_for_target = yes; then
11540 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11541 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11542 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11545 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11546 # Extract the first word of "ld
", so it can be a program name with args.
11547 set dummy ld; ac_word=$2
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11549 $as_echo_n "checking
for $ac_word...
" >&6; }
11550 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11551 $as_echo_n "(cached
) " >&6
11553 case $LD_FOR_TARGET in
11555 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11559 for as_dir in $gcc_cv_tool_dirs
11562 test -z "$as_dir" && as_dir=.
11563 for ac_exec_ext in '' $ac_executable_extensions; do
11564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11576 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11577 if test -n "$LD_FOR_TARGET"; then
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11579 $as_echo "$LD_FOR_TARGET" >&6; }
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11582 $as_echo "no
" >&6; }
11587 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11590 if test -n "$LD_FOR_TARGET"; then
11591 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11592 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11593 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11596 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11597 for ncn_progname in ld; do
11598 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11599 set dummy ${ncn_progname}; ac_word=$2
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11601 $as_echo_n "checking
for $ac_word...
" >&6; }
11602 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11603 $as_echo_n "(cached
) " >&6
11605 if test -n "$LD_FOR_TARGET"; then
11606 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11609 for as_dir in $PATH
11612 test -z "$as_dir" && as_dir=.
11613 for ac_exec_ext in '' $ac_executable_extensions; do
11614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11615 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11625 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11626 if test -n "$LD_FOR_TARGET"; then
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11628 $as_echo "$LD_FOR_TARGET" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11631 $as_echo "no
" >&6; }
11638 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11639 for ncn_progname in ld; do
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11641 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11642 if test -x $with_build_time_tools/${ncn_progname}; then
11643 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11645 $as_echo "yes" >&6; }
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11649 $as_echo "no
" >&6; }
11654 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11655 for ncn_progname in ld; do
11656 if test -n "$ncn_target_tool_prefix"; then
11657 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11658 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11660 $as_echo_n "checking
for $ac_word...
" >&6; }
11661 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11662 $as_echo_n "(cached
) " >&6
11664 if test -n "$LD_FOR_TARGET"; then
11665 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
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_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11684 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11685 if test -n "$LD_FOR_TARGET"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11687 $as_echo "$LD_FOR_TARGET" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11690 $as_echo "no
" >&6; }
11695 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11696 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11697 set dummy ${ncn_progname}; ac_word=$2
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11699 $as_echo_n "checking
for $ac_word...
" >&6; }
11700 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11701 $as_echo_n "(cached
) " >&6
11703 if test -n "$LD_FOR_TARGET"; then
11704 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 for as_dir in $PATH
11710 test -z "$as_dir" && as_dir=.
11711 for ac_exec_ext in '' $ac_executable_extensions; do
11712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11713 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11723 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11724 if test -n "$LD_FOR_TARGET"; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11726 $as_echo "$LD_FOR_TARGET" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11729 $as_echo "no
" >&6; }
11734 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11738 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11740 if test $build = $target ; then
11743 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11746 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11750 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11756 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11757 if test -n "$with_build_time_tools"; then
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11759 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11760 if test -x $with_build_time_tools/lipo; then
11761 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11762 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11764 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11767 $as_echo "no
" >&6; }
11769 elif test $build != $host && test $have_gcc_for_target = yes; then
11770 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11771 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11772 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11775 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11776 # Extract the first word of "lipo
", so it can be a program name with args.
11777 set dummy lipo; ac_word=$2
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11779 $as_echo_n "checking
for $ac_word...
" >&6; }
11780 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
11781 $as_echo_n "(cached
) " >&6
11783 case $LIPO_FOR_TARGET in
11785 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789 for as_dir in $gcc_cv_tool_dirs
11792 test -z "$as_dir" && as_dir=.
11793 for ac_exec_ext in '' $ac_executable_extensions; do
11794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11795 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11806 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11807 if test -n "$LIPO_FOR_TARGET"; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11809 $as_echo "$LIPO_FOR_TARGET" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11812 $as_echo "no
" >&6; }
11817 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11820 if test -n "$LIPO_FOR_TARGET"; then
11821 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11822 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11823 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11826 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11827 for ncn_progname in lipo; do
11828 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11829 set dummy ${ncn_progname}; ac_word=$2
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11831 $as_echo_n "checking
for $ac_word...
" >&6; }
11832 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11833 $as_echo_n "(cached
) " >&6
11835 if test -n "$LIPO_FOR_TARGET"; then
11836 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11842 test -z "$as_dir" && as_dir=.
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11855 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11856 if test -n "$LIPO_FOR_TARGET"; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11858 $as_echo "$LIPO_FOR_TARGET" >&6; }
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11861 $as_echo "no
" >&6; }
11868 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11869 for ncn_progname in lipo; do
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11871 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11872 if test -x $with_build_time_tools/${ncn_progname}; then
11873 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11875 $as_echo "yes" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11879 $as_echo "no
" >&6; }
11884 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11885 for ncn_progname in lipo; do
11886 if test -n "$ncn_target_tool_prefix"; then
11887 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11888 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11890 $as_echo_n "checking
for $ac_word...
" >&6; }
11891 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11892 $as_echo_n "(cached
) " >&6
11894 if test -n "$LIPO_FOR_TARGET"; then
11895 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11898 for as_dir in $PATH
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_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11914 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11915 if test -n "$LIPO_FOR_TARGET"; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11917 $as_echo "$LIPO_FOR_TARGET" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11920 $as_echo "no
" >&6; }
11925 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11927 set dummy ${ncn_progname}; ac_word=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11929 $as_echo_n "checking
for $ac_word...
" >&6; }
11930 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11931 $as_echo_n "(cached
) " >&6
11933 if test -n "$LIPO_FOR_TARGET"; then
11934 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11953 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11954 if test -n "$LIPO_FOR_TARGET"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11956 $as_echo "$LIPO_FOR_TARGET" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11959 $as_echo "no
" >&6; }
11964 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11968 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11970 if test $build = $target ; then
11971 LIPO_FOR_TARGET="$2"
11973 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11976 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11980 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11986 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11987 if test -n "$with_build_time_tools"; then
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11989 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11990 if test -x $with_build_time_tools/nm; then
11991 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11992 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11994 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11997 $as_echo "no
" >&6; }
11999 elif test $build != $host && test $have_gcc_for_target = yes; then
12000 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12001 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12002 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12005 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12006 # Extract the first word of "nm
", so it can be a program name with args.
12007 set dummy nm; ac_word=$2
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12009 $as_echo_n "checking
for $ac_word...
" >&6; }
12010 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12011 $as_echo_n "(cached
) " >&6
12013 case $NM_FOR_TARGET in
12015 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12019 for as_dir in $gcc_cv_tool_dirs
12022 test -z "$as_dir" && as_dir=.
12023 for ac_exec_ext in '' $ac_executable_extensions; do
12024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12025 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12036 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12037 if test -n "$NM_FOR_TARGET"; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12039 $as_echo "$NM_FOR_TARGET" >&6; }
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12042 $as_echo "no
" >&6; }
12047 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12050 if test -n "$NM_FOR_TARGET"; then
12051 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12052 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12053 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12056 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12057 for ncn_progname in nm; do
12058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12059 set dummy ${ncn_progname}; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12061 $as_echo_n "checking
for $ac_word...
" >&6; }
12062 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12063 $as_echo_n "(cached
) " >&6
12065 if test -n "$NM_FOR_TARGET"; then
12066 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12069 for as_dir in $PATH
12072 test -z "$as_dir" && as_dir=.
12073 for ac_exec_ext in '' $ac_executable_extensions; do
12074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12075 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12085 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12086 if test -n "$NM_FOR_TARGET"; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12088 $as_echo "$NM_FOR_TARGET" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12091 $as_echo "no
" >&6; }
12098 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12099 for ncn_progname in nm; do
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12101 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12102 if test -x $with_build_time_tools/${ncn_progname}; then
12103 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12105 $as_echo "yes" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12109 $as_echo "no
" >&6; }
12114 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12115 for ncn_progname in nm; do
12116 if test -n "$ncn_target_tool_prefix"; then
12117 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12118 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12120 $as_echo_n "checking
for $ac_word...
" >&6; }
12121 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12122 $as_echo_n "(cached
) " >&6
12124 if test -n "$NM_FOR_TARGET"; then
12125 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
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_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12144 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12145 if test -n "$NM_FOR_TARGET"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12147 $as_echo "$NM_FOR_TARGET" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12150 $as_echo "no
" >&6; }
12155 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12157 set dummy ${ncn_progname}; ac_word=$2
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12159 $as_echo_n "checking
for $ac_word...
" >&6; }
12160 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12161 $as_echo_n "(cached
) " >&6
12163 if test -n "$NM_FOR_TARGET"; then
12164 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12167 for as_dir in $PATH
12170 test -z "$as_dir" && as_dir=.
12171 for ac_exec_ext in '' $ac_executable_extensions; do
12172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12173 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12183 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12184 if test -n "$NM_FOR_TARGET"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12186 $as_echo "$NM_FOR_TARGET" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12189 $as_echo "no
" >&6; }
12194 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12198 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12200 if test $build = $target ; then
12203 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12206 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12210 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12216 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12217 if test -n "$with_build_time_tools"; then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12219 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12220 if test -x $with_build_time_tools/objcopy; then
12221 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12222 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12224 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12227 $as_echo "no
" >&6; }
12229 elif test $build != $host && test $have_gcc_for_target = yes; then
12230 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12231 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12232 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12235 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12236 # Extract the first word of "objcopy
", so it can be a program name with args.
12237 set dummy objcopy; ac_word=$2
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12239 $as_echo_n "checking
for $ac_word...
" >&6; }
12240 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12241 $as_echo_n "(cached
) " >&6
12243 case $OBJCOPY_FOR_TARGET in
12245 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249 for as_dir in $gcc_cv_tool_dirs
12252 test -z "$as_dir" && as_dir=.
12253 for ac_exec_ext in '' $ac_executable_extensions; do
12254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12255 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12266 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12267 if test -n "$OBJCOPY_FOR_TARGET"; then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12269 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12272 $as_echo "no
" >&6; }
12277 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12280 if test -n "$OBJCOPY_FOR_TARGET"; then
12281 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12282 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12283 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12286 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12287 for ncn_progname in objcopy; do
12288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12289 set dummy ${ncn_progname}; ac_word=$2
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12291 $as_echo_n "checking
for $ac_word...
" >&6; }
12292 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12293 $as_echo_n "(cached
) " >&6
12295 if test -n "$OBJCOPY_FOR_TARGET"; then
12296 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12299 for as_dir in $PATH
12302 test -z "$as_dir" && as_dir=.
12303 for ac_exec_ext in '' $ac_executable_extensions; do
12304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12305 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12315 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12316 if test -n "$OBJCOPY_FOR_TARGET"; then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12318 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12321 $as_echo "no
" >&6; }
12328 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12329 for ncn_progname in objcopy; do
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12331 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12332 if test -x $with_build_time_tools/${ncn_progname}; then
12333 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12335 $as_echo "yes" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12339 $as_echo "no
" >&6; }
12344 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12345 for ncn_progname in objcopy; do
12346 if test -n "$ncn_target_tool_prefix"; then
12347 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12348 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12350 $as_echo_n "checking
for $ac_word...
" >&6; }
12351 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12352 $as_echo_n "(cached
) " >&6
12354 if test -n "$OBJCOPY_FOR_TARGET"; then
12355 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12358 for as_dir in $PATH
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_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12374 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12375 if test -n "$OBJCOPY_FOR_TARGET"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12377 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12380 $as_echo "no
" >&6; }
12385 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12387 set dummy ${ncn_progname}; ac_word=$2
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12389 $as_echo_n "checking
for $ac_word...
" >&6; }
12390 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12391 $as_echo_n "(cached
) " >&6
12393 if test -n "$OBJCOPY_FOR_TARGET"; then
12394 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12400 test -z "$as_dir" && as_dir=.
12401 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12413 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12414 if test -n "$OBJCOPY_FOR_TARGET"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12416 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12419 $as_echo "no
" >&6; }
12424 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12428 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12430 if test $build = $target ; then
12431 OBJCOPY_FOR_TARGET="$2"
12433 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12436 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12440 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12446 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12447 if test -n "$with_build_time_tools"; then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12449 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12450 if test -x $with_build_time_tools/objdump; then
12451 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12452 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12454 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12457 $as_echo "no
" >&6; }
12459 elif test $build != $host && test $have_gcc_for_target = yes; then
12460 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12461 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12462 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12465 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12466 # Extract the first word of "objdump
", so it can be a program name with args.
12467 set dummy objdump; ac_word=$2
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12469 $as_echo_n "checking
for $ac_word...
" >&6; }
12470 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12471 $as_echo_n "(cached
) " >&6
12473 case $OBJDUMP_FOR_TARGET in
12475 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12479 for as_dir in $gcc_cv_tool_dirs
12482 test -z "$as_dir" && as_dir=.
12483 for ac_exec_ext in '' $ac_executable_extensions; do
12484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12485 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12496 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12497 if test -n "$OBJDUMP_FOR_TARGET"; then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12499 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12502 $as_echo "no
" >&6; }
12507 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12510 if test -n "$OBJDUMP_FOR_TARGET"; then
12511 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12512 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12513 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12516 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12517 for ncn_progname in objdump; do
12518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12519 set dummy ${ncn_progname}; ac_word=$2
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12521 $as_echo_n "checking
for $ac_word...
" >&6; }
12522 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12523 $as_echo_n "(cached
) " >&6
12525 if test -n "$OBJDUMP_FOR_TARGET"; then
12526 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12529 for as_dir in $PATH
12532 test -z "$as_dir" && as_dir=.
12533 for ac_exec_ext in '' $ac_executable_extensions; do
12534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12535 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12545 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12546 if test -n "$OBJDUMP_FOR_TARGET"; then
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12548 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12551 $as_echo "no
" >&6; }
12558 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12559 for ncn_progname in objdump; do
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12561 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12562 if test -x $with_build_time_tools/${ncn_progname}; then
12563 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12565 $as_echo "yes" >&6; }
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12569 $as_echo "no
" >&6; }
12574 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12575 for ncn_progname in objdump; do
12576 if test -n "$ncn_target_tool_prefix"; then
12577 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12578 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12580 $as_echo_n "checking
for $ac_word...
" >&6; }
12581 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12582 $as_echo_n "(cached
) " >&6
12584 if test -n "$OBJDUMP_FOR_TARGET"; then
12585 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12588 for as_dir in $PATH
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_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12604 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12605 if test -n "$OBJDUMP_FOR_TARGET"; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12607 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12610 $as_echo "no
" >&6; }
12615 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12616 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12617 set dummy ${ncn_progname}; ac_word=$2
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12619 $as_echo_n "checking
for $ac_word...
" >&6; }
12620 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12621 $as_echo_n "(cached
) " >&6
12623 if test -n "$OBJDUMP_FOR_TARGET"; then
12624 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12627 for as_dir in $PATH
12630 test -z "$as_dir" && as_dir=.
12631 for ac_exec_ext in '' $ac_executable_extensions; do
12632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12633 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12643 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12644 if test -n "$OBJDUMP_FOR_TARGET"; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12646 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12649 $as_echo "no
" >&6; }
12654 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12658 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12660 if test $build = $target ; then
12661 OBJDUMP_FOR_TARGET="$2"
12663 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12666 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12670 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12676 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12677 if test -n "$with_build_time_tools"; then
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12679 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12680 if test -x $with_build_time_tools/ranlib; then
12681 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12682 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12684 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12687 $as_echo "no
" >&6; }
12689 elif test $build != $host && test $have_gcc_for_target = yes; then
12690 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12691 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12692 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12695 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12696 # Extract the first word of "ranlib
", so it can be a program name with args.
12697 set dummy ranlib; ac_word=$2
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12699 $as_echo_n "checking
for $ac_word...
" >&6; }
12700 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
12701 $as_echo_n "(cached
) " >&6
12703 case $RANLIB_FOR_TARGET in
12705 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12709 for as_dir in $gcc_cv_tool_dirs
12712 test -z "$as_dir" && as_dir=.
12713 for ac_exec_ext in '' $ac_executable_extensions; do
12714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12715 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12726 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12727 if test -n "$RANLIB_FOR_TARGET"; then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12729 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12732 $as_echo "no
" >&6; }
12737 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12740 if test -n "$RANLIB_FOR_TARGET"; then
12741 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12742 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12743 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12746 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12747 for ncn_progname in ranlib; do
12748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12749 set dummy ${ncn_progname}; ac_word=$2
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12751 $as_echo_n "checking
for $ac_word...
" >&6; }
12752 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12753 $as_echo_n "(cached
) " >&6
12755 if test -n "$RANLIB_FOR_TARGET"; then
12756 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12759 for as_dir in $PATH
12762 test -z "$as_dir" && as_dir=.
12763 for ac_exec_ext in '' $ac_executable_extensions; do
12764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12765 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12775 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12776 if test -n "$RANLIB_FOR_TARGET"; then
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12778 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12781 $as_echo "no
" >&6; }
12788 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12789 for ncn_progname in ranlib; do
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12791 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12792 if test -x $with_build_time_tools/${ncn_progname}; then
12793 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12795 $as_echo "yes" >&6; }
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12799 $as_echo "no
" >&6; }
12804 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12805 for ncn_progname in ranlib; do
12806 if test -n "$ncn_target_tool_prefix"; then
12807 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12808 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12810 $as_echo_n "checking
for $ac_word...
" >&6; }
12811 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12812 $as_echo_n "(cached
) " >&6
12814 if test -n "$RANLIB_FOR_TARGET"; then
12815 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12818 for as_dir in $PATH
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_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12834 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12835 if test -n "$RANLIB_FOR_TARGET"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12837 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12840 $as_echo "no
" >&6; }
12845 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12846 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12847 set dummy ${ncn_progname}; ac_word=$2
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12849 $as_echo_n "checking
for $ac_word...
" >&6; }
12850 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12851 $as_echo_n "(cached
) " >&6
12853 if test -n "$RANLIB_FOR_TARGET"; then
12854 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12863 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12873 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12874 if test -n "$RANLIB_FOR_TARGET"; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12876 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12879 $as_echo "no
" >&6; }
12884 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12888 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12890 if test $build = $target ; then
12891 RANLIB_FOR_TARGET="$2"
12893 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12896 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12900 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12906 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12907 if test -n "$with_build_time_tools"; then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12909 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12910 if test -x $with_build_time_tools/readelf; then
12911 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12912 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12914 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12917 $as_echo "no
" >&6; }
12919 elif test $build != $host && test $have_gcc_for_target = yes; then
12920 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12921 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12922 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12925 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12926 # Extract the first word of "readelf
", so it can be a program name with args.
12927 set dummy readelf; ac_word=$2
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12929 $as_echo_n "checking
for $ac_word...
" >&6; }
12930 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
12931 $as_echo_n "(cached
) " >&6
12933 case $READELF_FOR_TARGET in
12935 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12939 for as_dir in $gcc_cv_tool_dirs
12942 test -z "$as_dir" && as_dir=.
12943 for ac_exec_ext in '' $ac_executable_extensions; do
12944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12945 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12956 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12957 if test -n "$READELF_FOR_TARGET"; then
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12959 $as_echo "$READELF_FOR_TARGET" >&6; }
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12962 $as_echo "no
" >&6; }
12967 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12970 if test -n "$READELF_FOR_TARGET"; then
12971 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12972 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12973 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12976 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12977 for ncn_progname in readelf; do
12978 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12979 set dummy ${ncn_progname}; ac_word=$2
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12981 $as_echo_n "checking
for $ac_word...
" >&6; }
12982 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
12983 $as_echo_n "(cached
) " >&6
12985 if test -n "$READELF_FOR_TARGET"; then
12986 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12989 for as_dir in $PATH
12992 test -z "$as_dir" && as_dir=.
12993 for ac_exec_ext in '' $ac_executable_extensions; do
12994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12995 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13005 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13006 if test -n "$READELF_FOR_TARGET"; then
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13008 $as_echo "$READELF_FOR_TARGET" >&6; }
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13011 $as_echo "no
" >&6; }
13018 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13019 for ncn_progname in readelf; do
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13021 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13022 if test -x $with_build_time_tools/${ncn_progname}; then
13023 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13025 $as_echo "yes" >&6; }
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13029 $as_echo "no
" >&6; }
13034 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13035 for ncn_progname in readelf; do
13036 if test -n "$ncn_target_tool_prefix"; then
13037 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13038 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13040 $as_echo_n "checking
for $ac_word...
" >&6; }
13041 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13042 $as_echo_n "(cached
) " >&6
13044 if test -n "$READELF_FOR_TARGET"; then
13045 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $PATH
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_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13064 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13065 if test -n "$READELF_FOR_TARGET"; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13067 $as_echo "$READELF_FOR_TARGET" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13070 $as_echo "no
" >&6; }
13075 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13077 set dummy ${ncn_progname}; ac_word=$2
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13079 $as_echo_n "checking
for $ac_word...
" >&6; }
13080 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13081 $as_echo_n "(cached
) " >&6
13083 if test -n "$READELF_FOR_TARGET"; then
13084 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13087 for as_dir in $PATH
13090 test -z "$as_dir" && as_dir=.
13091 for ac_exec_ext in '' $ac_executable_extensions; do
13092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13093 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13103 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13104 if test -n "$READELF_FOR_TARGET"; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13106 $as_echo "$READELF_FOR_TARGET" >&6; }
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13109 $as_echo "no
" >&6; }
13114 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13118 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13120 if test $build = $target ; then
13121 READELF_FOR_TARGET="$2"
13123 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13126 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13130 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13136 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13137 if test -n "$with_build_time_tools"; then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13139 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13140 if test -x $with_build_time_tools/strip; then
13141 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13142 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13144 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13147 $as_echo "no
" >&6; }
13149 elif test $build != $host && test $have_gcc_for_target = yes; then
13150 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13151 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13152 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13155 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13156 # Extract the first word of "strip
", so it can be a program name with args.
13157 set dummy strip; ac_word=$2
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13159 $as_echo_n "checking
for $ac_word...
" >&6; }
13160 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13161 $as_echo_n "(cached
) " >&6
13163 case $STRIP_FOR_TARGET in
13165 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $gcc_cv_tool_dirs
13172 test -z "$as_dir" && as_dir=.
13173 for ac_exec_ext in '' $ac_executable_extensions; do
13174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13175 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13186 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13187 if test -n "$STRIP_FOR_TARGET"; then
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13189 $as_echo "$STRIP_FOR_TARGET" >&6; }
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13192 $as_echo "no
" >&6; }
13197 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13200 if test -n "$STRIP_FOR_TARGET"; then
13201 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13202 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13203 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13206 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13207 for ncn_progname in strip; do
13208 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13209 set dummy ${ncn_progname}; ac_word=$2
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13211 $as_echo_n "checking
for $ac_word...
" >&6; }
13212 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13213 $as_echo_n "(cached
) " >&6
13215 if test -n "$STRIP_FOR_TARGET"; then
13216 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13219 for as_dir in $PATH
13222 test -z "$as_dir" && as_dir=.
13223 for ac_exec_ext in '' $ac_executable_extensions; do
13224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13225 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13235 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13236 if test -n "$STRIP_FOR_TARGET"; then
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13238 $as_echo "$STRIP_FOR_TARGET" >&6; }
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13241 $as_echo "no
" >&6; }
13248 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13249 for ncn_progname in strip; do
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13251 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13252 if test -x $with_build_time_tools/${ncn_progname}; then
13253 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13255 $as_echo "yes" >&6; }
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13259 $as_echo "no
" >&6; }
13264 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13265 for ncn_progname in strip; do
13266 if test -n "$ncn_target_tool_prefix"; then
13267 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13268 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13270 $as_echo_n "checking
for $ac_word...
" >&6; }
13271 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13272 $as_echo_n "(cached
) " >&6
13274 if test -n "$STRIP_FOR_TARGET"; then
13275 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13278 for as_dir in $PATH
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_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13294 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13295 if test -n "$STRIP_FOR_TARGET"; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13297 $as_echo "$STRIP_FOR_TARGET" >&6; }
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13300 $as_echo "no
" >&6; }
13305 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13306 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13307 set dummy ${ncn_progname}; ac_word=$2
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13309 $as_echo_n "checking
for $ac_word...
" >&6; }
13310 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13311 $as_echo_n "(cached
) " >&6
13313 if test -n "$STRIP_FOR_TARGET"; then
13314 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13317 for as_dir in $PATH
13320 test -z "$as_dir" && as_dir=.
13321 for ac_exec_ext in '' $ac_executable_extensions; do
13322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13323 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13333 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13334 if test -n "$STRIP_FOR_TARGET"; then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13336 $as_echo "$STRIP_FOR_TARGET" >&6; }
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13339 $as_echo "no
" >&6; }
13344 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13348 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13350 if test $build = $target ; then
13351 STRIP_FOR_TARGET="$2"
13353 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13356 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13360 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13366 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13367 if test -n "$with_build_time_tools"; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13369 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13370 if test -x $with_build_time_tools/windres; then
13371 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13372 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13374 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13377 $as_echo "no
" >&6; }
13379 elif test $build != $host && test $have_gcc_for_target = yes; then
13380 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13381 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13382 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13385 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13386 # Extract the first word of "windres
", so it can be a program name with args.
13387 set dummy windres; ac_word=$2
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13389 $as_echo_n "checking
for $ac_word...
" >&6; }
13390 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13391 $as_echo_n "(cached
) " >&6
13393 case $WINDRES_FOR_TARGET in
13395 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13399 for as_dir in $gcc_cv_tool_dirs
13402 test -z "$as_dir" && as_dir=.
13403 for ac_exec_ext in '' $ac_executable_extensions; do
13404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13405 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13416 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13417 if test -n "$WINDRES_FOR_TARGET"; then
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13419 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13422 $as_echo "no
" >&6; }
13427 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13430 if test -n "$WINDRES_FOR_TARGET"; then
13431 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13432 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13433 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13436 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13437 for ncn_progname in windres; do
13438 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13439 set dummy ${ncn_progname}; ac_word=$2
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13441 $as_echo_n "checking
for $ac_word...
" >&6; }
13442 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13443 $as_echo_n "(cached
) " >&6
13445 if test -n "$WINDRES_FOR_TARGET"; then
13446 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13449 for as_dir in $PATH
13452 test -z "$as_dir" && as_dir=.
13453 for ac_exec_ext in '' $ac_executable_extensions; do
13454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13455 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13465 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13466 if test -n "$WINDRES_FOR_TARGET"; then
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13468 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13471 $as_echo "no
" >&6; }
13478 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13479 for ncn_progname in windres; do
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13481 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13482 if test -x $with_build_time_tools/${ncn_progname}; then
13483 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13485 $as_echo "yes" >&6; }
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13489 $as_echo "no
" >&6; }
13494 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13495 for ncn_progname in windres; do
13496 if test -n "$ncn_target_tool_prefix"; then
13497 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13498 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13500 $as_echo_n "checking
for $ac_word...
" >&6; }
13501 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13502 $as_echo_n "(cached
) " >&6
13504 if test -n "$WINDRES_FOR_TARGET"; then
13505 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13508 for as_dir in $PATH
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_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13524 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13525 if test -n "$WINDRES_FOR_TARGET"; then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13527 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13530 $as_echo "no
" >&6; }
13535 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13537 set dummy ${ncn_progname}; ac_word=$2
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13539 $as_echo_n "checking
for $ac_word...
" >&6; }
13540 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13541 $as_echo_n "(cached
) " >&6
13543 if test -n "$WINDRES_FOR_TARGET"; then
13544 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13547 for as_dir in $PATH
13550 test -z "$as_dir" && as_dir=.
13551 for ac_exec_ext in '' $ac_executable_extensions; do
13552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13553 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13563 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13564 if test -n "$WINDRES_FOR_TARGET"; then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13566 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13569 $as_echo "no
" >&6; }
13574 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13578 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13580 if test $build = $target ; then
13581 WINDRES_FOR_TARGET="$2"
13583 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13586 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13590 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13596 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13597 if test -n "$with_build_time_tools"; then
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13599 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13600 if test -x $with_build_time_tools/windmc; then
13601 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13602 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13604 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13607 $as_echo "no
" >&6; }
13609 elif test $build != $host && test $have_gcc_for_target = yes; then
13610 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13611 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13612 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13615 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13616 # Extract the first word of "windmc
", so it can be a program name with args.
13617 set dummy windmc; ac_word=$2
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13619 $as_echo_n "checking
for $ac_word...
" >&6; }
13620 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13621 $as_echo_n "(cached
) " >&6
13623 case $WINDMC_FOR_TARGET in
13625 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13629 for as_dir in $gcc_cv_tool_dirs
13632 test -z "$as_dir" && as_dir=.
13633 for ac_exec_ext in '' $ac_executable_extensions; do
13634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13635 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13646 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13647 if test -n "$WINDMC_FOR_TARGET"; then
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13649 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13652 $as_echo "no
" >&6; }
13657 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13660 if test -n "$WINDMC_FOR_TARGET"; then
13661 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13662 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13663 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13666 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13667 for ncn_progname in windmc; do
13668 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13669 set dummy ${ncn_progname}; ac_word=$2
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13671 $as_echo_n "checking
for $ac_word...
" >&6; }
13672 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13673 $as_echo_n "(cached
) " >&6
13675 if test -n "$WINDMC_FOR_TARGET"; then
13676 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13679 for as_dir in $PATH
13682 test -z "$as_dir" && as_dir=.
13683 for ac_exec_ext in '' $ac_executable_extensions; do
13684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13685 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13695 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13696 if test -n "$WINDMC_FOR_TARGET"; then
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13698 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13701 $as_echo "no
" >&6; }
13708 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13709 for ncn_progname in windmc; do
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13711 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13712 if test -x $with_build_time_tools/${ncn_progname}; then
13713 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13715 $as_echo "yes" >&6; }
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13719 $as_echo "no
" >&6; }
13724 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13725 for ncn_progname in windmc; do
13726 if test -n "$ncn_target_tool_prefix"; then
13727 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13728 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13730 $as_echo_n "checking
for $ac_word...
" >&6; }
13731 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13732 $as_echo_n "(cached
) " >&6
13734 if test -n "$WINDMC_FOR_TARGET"; then
13735 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13738 for as_dir in $PATH
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_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13754 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13755 if test -n "$WINDMC_FOR_TARGET"; then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13757 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13760 $as_echo "no
" >&6; }
13765 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13766 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13767 set dummy ${ncn_progname}; ac_word=$2
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13769 $as_echo_n "checking
for $ac_word...
" >&6; }
13770 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13771 $as_echo_n "(cached
) " >&6
13773 if test -n "$WINDMC_FOR_TARGET"; then
13774 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13777 for as_dir in $PATH
13780 test -z "$as_dir" && as_dir=.
13781 for ac_exec_ext in '' $ac_executable_extensions; do
13782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13783 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13793 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13794 if test -n "$WINDMC_FOR_TARGET"; then
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13796 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13799 $as_echo "no
" >&6; }
13804 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13808 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13810 if test $build = $target ; then
13811 WINDMC_FOR_TARGET="$2"
13813 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13816 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13820 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13824 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13827 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13828 if test "x
${build}" != "x
${host}" ; then
13829 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13830 # We already found the complete path
13831 ac_dir=`dirname $AR_FOR_TARGET`
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13833 $as_echo "pre-installed
in $ac_dir" >&6; }
13835 # Canadian cross, just use what we found
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13837 $as_echo "pre-installed
" >&6; }
13841 case " ${configdirs} " in
13846 if test $ok = yes; then
13847 # An in-tree tool is available and we can use it
13848 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13850 $as_echo "just compiled
" >&6; }
13851 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13852 # We already found the complete path
13853 ac_dir=`dirname $AR_FOR_TARGET`
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13855 $as_echo "pre-installed
in $ac_dir" >&6; }
13856 elif test "x
$target" = "x
$host"; then
13857 # We can use an host tool
13858 AR_FOR_TARGET='$(AR)'
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13860 $as_echo "host tool
" >&6; }
13862 # We need a cross tool
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13864 $as_echo "pre-installed
" >&6; }
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13869 $as_echo_n "checking where to
find the target as...
" >&6; }
13870 if test "x
${build}" != "x
${host}" ; then
13871 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13872 # We already found the complete path
13873 ac_dir=`dirname $AS_FOR_TARGET`
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13875 $as_echo "pre-installed
in $ac_dir" >&6; }
13877 # Canadian cross, just use what we found
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13879 $as_echo "pre-installed
" >&6; }
13883 case " ${configdirs} " in
13888 if test $ok = yes; then
13889 # An in-tree tool is available and we can use it
13890 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13892 $as_echo "just compiled
" >&6; }
13893 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13894 # We already found the complete path
13895 ac_dir=`dirname $AS_FOR_TARGET`
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13897 $as_echo "pre-installed
in $ac_dir" >&6; }
13898 elif test "x
$target" = "x
$host"; then
13899 # We can use an host tool
13900 AS_FOR_TARGET='$(AS)'
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13902 $as_echo "host tool
" >&6; }
13904 # We need a cross tool
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13906 $as_echo "pre-installed
" >&6; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13911 $as_echo_n "checking where to
find the target cc...
" >&6; }
13912 if test "x
${build}" != "x
${host}" ; then
13913 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13914 # We already found the complete path
13915 ac_dir=`dirname $CC_FOR_TARGET`
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13917 $as_echo "pre-installed
in $ac_dir" >&6; }
13919 # Canadian cross, just use what we found
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13921 $as_echo "pre-installed
" >&6; }
13925 case " ${configdirs} " in
13930 if test $ok = yes; then
13931 # An in-tree tool is available and we can use it
13932 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13934 $as_echo "just compiled
" >&6; }
13935 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13936 # We already found the complete path
13937 ac_dir=`dirname $CC_FOR_TARGET`
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13939 $as_echo "pre-installed
in $ac_dir" >&6; }
13940 elif test "x
$target" = "x
$host"; then
13941 # We can use an host tool
13942 CC_FOR_TARGET='$(CC)'
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13944 $as_echo "host tool
" >&6; }
13946 # We need a cross tool
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13948 $as_echo "pre-installed
" >&6; }
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13953 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13954 if test "x
${build}" != "x
${host}" ; then
13955 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13956 # We already found the complete path
13957 ac_dir=`dirname $CXX_FOR_TARGET`
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13959 $as_echo "pre-installed
in $ac_dir" >&6; }
13961 # Canadian cross, just use what we found
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13963 $as_echo "pre-installed
" >&6; }
13967 case " ${configdirs} " in
13971 case ,${enable_languages}, in
13975 if test $ok = yes; then
13976 # An in-tree tool is available and we can use it
13977 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'
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13979 $as_echo "just compiled
" >&6; }
13980 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13981 # We already found the complete path
13982 ac_dir=`dirname $CXX_FOR_TARGET`
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13984 $as_echo "pre-installed
in $ac_dir" >&6; }
13985 elif test "x
$target" = "x
$host"; then
13986 # We can use an host tool
13987 CXX_FOR_TARGET='$(CXX)'
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13989 $as_echo "host tool
" >&6; }
13991 # We need a cross tool
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13993 $as_echo "pre-installed
" >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13998 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13999 if test "x
${build}" != "x
${host}" ; then
14000 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14001 # We already found the complete path
14002 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14004 $as_echo "pre-installed
in $ac_dir" >&6; }
14006 # Canadian cross, just use what we found
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14008 $as_echo "pre-installed
" >&6; }
14012 case " ${configdirs} " in
14016 case ,${enable_languages}, in
14020 if test $ok = yes; then
14021 # An in-tree tool is available and we can use it
14022 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'
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14024 $as_echo "just compiled
" >&6; }
14025 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14026 # We already found the complete path
14027 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14029 $as_echo "pre-installed
in $ac_dir" >&6; }
14030 elif test "x
$target" = "x
$host"; then
14031 # We can use an host tool
14032 RAW_CXX_FOR_TARGET='$(CXX)'
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14034 $as_echo "host tool
" >&6; }
14036 # We need a cross tool
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14038 $as_echo "pre-installed
" >&6; }
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14043 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14044 if test "x
${build}" != "x
${host}" ; then
14045 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14046 # We already found the complete path
14047 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14049 $as_echo "pre-installed
in $ac_dir" >&6; }
14051 # Canadian cross, just use what we found
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14053 $as_echo "pre-installed
" >&6; }
14057 case " ${configdirs} " in
14062 if test $ok = yes; then
14063 # An in-tree tool is available and we can use it
14064 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14066 $as_echo "just compiled
" >&6; }
14067 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14068 # We already found the complete path
14069 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14071 $as_echo "pre-installed
in $ac_dir" >&6; }
14072 elif test "x
$target" = "x
$host"; then
14073 # We can use an host tool
14074 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14076 $as_echo "host tool
" >&6; }
14078 # We need a cross tool
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14080 $as_echo "pre-installed
" >&6; }
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14085 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14086 if test "x
${build}" != "x
${host}" ; then
14087 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14088 # We already found the complete path
14089 ac_dir=`dirname $GCC_FOR_TARGET`
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14091 $as_echo "pre-installed
in $ac_dir" >&6; }
14093 # Canadian cross, just use what we found
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14095 $as_echo "pre-installed
" >&6; }
14099 case " ${configdirs} " in
14104 if test $ok = yes; then
14105 # An in-tree tool is available and we can use it
14106 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14108 $as_echo "just compiled
" >&6; }
14109 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14110 # We already found the complete path
14111 ac_dir=`dirname $GCC_FOR_TARGET`
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14113 $as_echo "pre-installed
in $ac_dir" >&6; }
14114 elif test "x
$target" = "x
$host"; then
14115 # We can use an host tool
14116 GCC_FOR_TARGET='$()'
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14118 $as_echo "host tool
" >&6; }
14120 # We need a cross tool
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14122 $as_echo "pre-installed
" >&6; }
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14127 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14128 if test "x
${build}" != "x
${host}" ; then
14129 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14130 # We already found the complete path
14131 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14133 $as_echo "pre-installed
in $ac_dir" >&6; }
14135 # Canadian cross, just use what we found
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14137 $as_echo "pre-installed
" >&6; }
14141 case " ${configdirs} " in
14145 case ,${enable_languages}, in
14149 if test $ok = yes; then
14150 # An in-tree tool is available and we can use it
14151 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14153 $as_echo "just compiled
" >&6; }
14154 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14155 # We already found the complete path
14156 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14158 $as_echo "pre-installed
in $ac_dir" >&6; }
14159 elif test "x
$target" = "x
$host"; then
14160 # We can use an host tool
14161 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14163 $as_echo "host tool
" >&6; }
14165 # We need a cross tool
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14167 $as_echo "pre-installed
" >&6; }
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14172 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14173 if test "x
${build}" != "x
${host}" ; then
14174 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14175 # We already found the complete path
14176 ac_dir=`dirname $GOC_FOR_TARGET`
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14178 $as_echo "pre-installed
in $ac_dir" >&6; }
14180 # Canadian cross, just use what we found
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14182 $as_echo "pre-installed
" >&6; }
14186 case " ${configdirs} " in
14190 case ,${enable_languages}, in
14194 if test $ok = yes; then
14195 # An in-tree tool is available and we can use it
14196 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14198 $as_echo "just compiled
" >&6; }
14199 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14200 # We already found the complete path
14201 ac_dir=`dirname $GOC_FOR_TARGET`
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14203 $as_echo "pre-installed
in $ac_dir" >&6; }
14204 elif test "x
$target" = "x
$host"; then
14205 # We can use an host tool
14206 GOC_FOR_TARGET='$(GOC)'
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14208 $as_echo "host tool
" >&6; }
14210 # We need a cross tool
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14212 $as_echo "pre-installed
" >&6; }
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14217 $as_echo_n "checking where to
find the target ld...
" >&6; }
14218 if test "x
${build}" != "x
${host}" ; then
14219 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14220 # We already found the complete path
14221 ac_dir=`dirname $LD_FOR_TARGET`
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14223 $as_echo "pre-installed
in $ac_dir" >&6; }
14225 # Canadian cross, just use what we found
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14227 $as_echo "pre-installed
" >&6; }
14231 case " ${configdirs} " in
14236 if test $ok = yes; then
14237 # An in-tree tool is available and we can use it
14238 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14240 $as_echo "just compiled
" >&6; }
14241 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14242 # We already found the complete path
14243 ac_dir=`dirname $LD_FOR_TARGET`
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14245 $as_echo "pre-installed
in $ac_dir" >&6; }
14246 elif test "x
$target" = "x
$host"; then
14247 # We can use an host tool
14248 LD_FOR_TARGET='$(LD)'
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14250 $as_echo "host tool
" >&6; }
14252 # We need a cross tool
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14254 $as_echo "pre-installed
" >&6; }
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14259 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14260 if test "x
${build}" != "x
${host}" ; then
14261 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14262 # We already found the complete path
14263 ac_dir=`dirname $LIPO_FOR_TARGET`
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14265 $as_echo "pre-installed
in $ac_dir" >&6; }
14267 # Canadian cross, just use what we found
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14269 $as_echo "pre-installed
" >&6; }
14272 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14273 # We already found the complete path
14274 ac_dir=`dirname $LIPO_FOR_TARGET`
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14276 $as_echo "pre-installed
in $ac_dir" >&6; }
14277 elif test "x
$target" = "x
$host"; then
14278 # We can use an host tool
14279 LIPO_FOR_TARGET='$(LIPO)'
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14281 $as_echo "host tool
" >&6; }
14283 # We need a cross tool
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14285 $as_echo "pre-installed
" >&6; }
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14290 $as_echo_n "checking where to
find the target nm...
" >&6; }
14291 if test "x
${build}" != "x
${host}" ; then
14292 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14293 # We already found the complete path
14294 ac_dir=`dirname $NM_FOR_TARGET`
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14296 $as_echo "pre-installed
in $ac_dir" >&6; }
14298 # Canadian cross, just use what we found
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14300 $as_echo "pre-installed
" >&6; }
14304 case " ${configdirs} " in
14309 if test $ok = yes; then
14310 # An in-tree tool is available and we can use it
14311 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14313 $as_echo "just compiled
" >&6; }
14314 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14315 # We already found the complete path
14316 ac_dir=`dirname $NM_FOR_TARGET`
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14318 $as_echo "pre-installed
in $ac_dir" >&6; }
14319 elif test "x
$target" = "x
$host"; then
14320 # We can use an host tool
14321 NM_FOR_TARGET='$(NM)'
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14323 $as_echo "host tool
" >&6; }
14325 # We need a cross tool
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14327 $as_echo "pre-installed
" >&6; }
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14332 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14333 if test "x
${build}" != "x
${host}" ; then
14334 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14335 # We already found the complete path
14336 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14338 $as_echo "pre-installed
in $ac_dir" >&6; }
14340 # Canadian cross, just use what we found
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14342 $as_echo "pre-installed
" >&6; }
14346 case " ${configdirs} " in
14351 if test $ok = yes; then
14352 # An in-tree tool is available and we can use it
14353 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14355 $as_echo "just compiled
" >&6; }
14356 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14357 # We already found the complete path
14358 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14360 $as_echo "pre-installed
in $ac_dir" >&6; }
14361 elif test "x
$target" = "x
$host"; then
14362 # We can use an host tool
14363 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14365 $as_echo "host tool
" >&6; }
14367 # We need a cross tool
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14369 $as_echo "pre-installed
" >&6; }
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14374 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14375 if test "x
${build}" != "x
${host}" ; then
14376 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14377 # We already found the complete path
14378 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14380 $as_echo "pre-installed
in $ac_dir" >&6; }
14382 # Canadian cross, just use what we found
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14384 $as_echo "pre-installed
" >&6; }
14388 case " ${configdirs} " in
14393 if test $ok = yes; then
14394 # An in-tree tool is available and we can use it
14395 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14397 $as_echo "just compiled
" >&6; }
14398 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14399 # We already found the complete path
14400 ac_dir=`dirname $OBJDUMP_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; }
14403 elif test "x
$target" = "x
$host"; then
14404 # We can use an host tool
14405 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14407 $as_echo "host tool
" >&6; }
14409 # We need a cross tool
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14411 $as_echo "pre-installed
" >&6; }
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14416 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14417 if test "x
${build}" != "x
${host}" ; then
14418 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14419 # We already found the complete path
14420 ac_dir=`dirname $RANLIB_FOR_TARGET`
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14422 $as_echo "pre-installed
in $ac_dir" >&6; }
14424 # Canadian cross, just use what we found
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14426 $as_echo "pre-installed
" >&6; }
14430 case " ${configdirs} " in
14435 if test $ok = yes; then
14436 # An in-tree tool is available and we can use it
14437 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14439 $as_echo "just compiled
" >&6; }
14440 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14441 # We already found the complete path
14442 ac_dir=`dirname $RANLIB_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; }
14445 elif test "x
$target" = "x
$host"; then
14446 # We can use an host tool
14447 RANLIB_FOR_TARGET='$(RANLIB)'
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14449 $as_echo "host tool
" >&6; }
14451 # We need a cross tool
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14453 $as_echo "pre-installed
" >&6; }
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14458 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14459 if test "x
${build}" != "x
${host}" ; then
14460 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14461 # We already found the complete path
14462 ac_dir=`dirname $READELF_FOR_TARGET`
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14464 $as_echo "pre-installed
in $ac_dir" >&6; }
14466 # Canadian cross, just use what we found
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14468 $as_echo "pre-installed
" >&6; }
14472 case " ${configdirs} " in
14477 if test $ok = yes; then
14478 # An in-tree tool is available and we can use it
14479 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14481 $as_echo "just compiled
" >&6; }
14482 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14483 # We already found the complete path
14484 ac_dir=`dirname $READELF_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; }
14487 elif test "x
$target" = "x
$host"; then
14488 # We can use an host tool
14489 READELF_FOR_TARGET='$(READELF)'
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14491 $as_echo "host tool
" >&6; }
14493 # We need a cross tool
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14495 $as_echo "pre-installed
" >&6; }
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14500 $as_echo_n "checking where to
find the target strip...
" >&6; }
14501 if test "x
${build}" != "x
${host}" ; then
14502 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14503 # We already found the complete path
14504 ac_dir=`dirname $STRIP_FOR_TARGET`
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14506 $as_echo "pre-installed
in $ac_dir" >&6; }
14508 # Canadian cross, just use what we found
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14510 $as_echo "pre-installed
" >&6; }
14514 case " ${configdirs} " in
14519 if test $ok = yes; then
14520 # An in-tree tool is available and we can use it
14521 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14523 $as_echo "just compiled
" >&6; }
14524 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14525 # We already found the complete path
14526 ac_dir=`dirname $STRIP_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; }
14529 elif test "x
$target" = "x
$host"; then
14530 # We can use an host tool
14531 STRIP_FOR_TARGET='$(STRIP)'
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14533 $as_echo "host tool
" >&6; }
14535 # We need a cross tool
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14537 $as_echo "pre-installed
" >&6; }
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14542 $as_echo_n "checking where to
find the target windres...
" >&6; }
14543 if test "x
${build}" != "x
${host}" ; then
14544 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14545 # We already found the complete path
14546 ac_dir=`dirname $WINDRES_FOR_TARGET`
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14548 $as_echo "pre-installed
in $ac_dir" >&6; }
14550 # Canadian cross, just use what we found
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14552 $as_echo "pre-installed
" >&6; }
14556 case " ${configdirs} " in
14561 if test $ok = yes; then
14562 # An in-tree tool is available and we can use it
14563 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14565 $as_echo "just compiled
" >&6; }
14566 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14567 # We already found the complete path
14568 ac_dir=`dirname $WINDRES_FOR_TARGET`
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14570 $as_echo "pre-installed
in $ac_dir" >&6; }
14571 elif test "x
$target" = "x
$host"; then
14572 # We can use an host tool
14573 WINDRES_FOR_TARGET='$(WINDRES)'
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14575 $as_echo "host tool
" >&6; }
14577 # We need a cross tool
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14579 $as_echo "pre-installed
" >&6; }
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14584 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14585 if test "x
${build}" != "x
${host}" ; then
14586 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14587 # We already found the complete path
14588 ac_dir=`dirname $WINDMC_FOR_TARGET`
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14590 $as_echo "pre-installed
in $ac_dir" >&6; }
14592 # Canadian cross, just use what we found
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14594 $as_echo "pre-installed
" >&6; }
14598 case " ${configdirs} " in
14603 if test $ok = yes; then
14604 # An in-tree tool is available and we can use it
14605 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14607 $as_echo "just compiled
" >&6; }
14608 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14609 # We already found the complete path
14610 ac_dir=`dirname $WINDMC_FOR_TARGET`
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14612 $as_echo "pre-installed
in $ac_dir" >&6; }
14613 elif test "x
$target" = "x
$host"; then
14614 # We can use an host tool
14615 WINDMC_FOR_TARGET='$(WINDMC)'
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14617 $as_echo "host tool
" >&6; }
14619 # We need a cross tool
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14621 $as_echo "pre-installed
" >&6; }
14629 # Certain tools may need extra flags.
14630 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14631 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14632 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14634 # When building target libraries, except in a Canadian cross, we use
14635 # the same toolchain as the compiler we just built.
14636 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14637 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14638 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14639 if test $host = $build; then
14640 case " $configdirs " in
14642 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14643 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14644 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14654 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14655 # Check whether --enable-maintainer-mode was given.
14656 if test "${enable_maintainer_mode+set}" = set; then :
14657 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14659 USE_MAINTAINER_MODE=no
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14663 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14666 if test "$USE_MAINTAINER_MODE" = yes; then
14667 MAINTAINER_MODE_TRUE=
14668 MAINTAINER_MODE_FALSE='#'
14670 MAINTAINER_MODE_TRUE='#'
14671 MAINTAINER_MODE_FALSE=
14673 MAINT=$MAINTAINER_MODE_TRUE
14675 # ---------------------
14676 # GCC bootstrap support
14677 # ---------------------
14679 # Stage specific cflags for build.
14684 yes) stage1_cflags="-g -Wa,-J" ;;
14685 *) stage1_cflags="-g -J" ;;
14691 # Enable --enable-checking in stage1 of the compiler.
14692 # Check whether --enable-stage1-checking was given.
14693 if test "${enable_stage1_checking+set}" = set; then :
14694 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14696 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14697 # For --disable-checking or implicit --enable-checking=release, avoid
14698 # setting --enable-checking=gc in the default stage1 checking for LTO
14699 # bootstraps. See PR62077.
14700 case $BUILD_CONFIG in
14702 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14704 stage1_checking=--enable-checking=yes,types;;
14706 if test "x
$enable_checking" = x && \
14707 test -d ${srcdir}/gcc && \
14708 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14709 stage1_checking=--enable-checking=yes,types,extra
14712 stage1_checking=--enable-checking=$enable_checking,types
14718 # Enable -Werror in bootstrap stage2 and later.
14719 # Check whether --enable-werror was given.
14720 if test "${enable_werror+set}" = set; then :
14721 enableval=$enable_werror;
14722 case ${enable_werror} in
14723 yes) stage2_werror_flag="--enable-werror-always" ;;
14724 *) stage2_werror_flag="" ;;
14729 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14730 case $BUILD_CONFIG in
14732 stage2_werror_flag="--enable-werror-always" ;;
14734 stage2_werror_flag="--enable-werror-always" ;;
14743 # Specify what files to not compare during bootstrap.
14745 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14747 hppa*64*-*-hpux*) ;;
14748 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
14749 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14753 ac_config_files="$ac_config_files Makefile
"
14755 cat >confcache <<\_ACEOF
14756 # This file is a shell script that caches the results of configure
14757 # tests run on this system so they can be shared between configure
14758 # scripts and configure runs, see configure's option --config-cache.
14759 # It is not useful on other systems. If it contains results you don't
14760 # want to keep, you may remove or edit it.
14762 # config.status only pays attention to the cache file if you give it
14763 # the --recheck option to rerun configure.
14765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14767 # following values.
14771 # The following way of writing the cache mishandles newlines in values,
14772 # but we know of no workaround that is simple, portable, and efficient.
14773 # So, we kill variables containing newlines.
14774 # Ultrix sh set writes to stderr and can't be redirected directly,
14775 # and sets the high bit in the cache file unless we assign to the vars.
14777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14778 eval ac_val=\$$ac_var
14782 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14783 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14786 _ | IFS | as_nl) ;; #(
14787 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14788 *) { eval $ac_var=; unset $ac_var;} ;;
14794 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14795 *${as_nl}ac_space=\ *)
14796 # `set' does not quote correctly, so add quotes: double-quote
14797 # substitution turns \\\\ into \\, and sed turns \\ into \.
14800 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14803 # `set' quotes correctly as required by POSIX, so do not add quotes.
14804 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14813 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14817 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14818 if test -w "$cache_file"; then
14819 if test "x
$cache_file" != "x
/dev
/null
"; then
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14821 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14822 if test ! -f "$cache_file" || test -h "$cache_file"; then
14823 cat confcache >"$cache_file"
14825 case $cache_file in #(
14827 mv -f confcache "$cache_file"$$ &&
14828 mv -f "$cache_file"$$ "$cache_file" ;; #(
14830 mv -f confcache "$cache_file" ;;
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14836 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14841 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14842 # Let make expand exec_prefix.
14843 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14845 # Transform confdefs.h into DEFS.
14846 # Protect against shell expansion while executing Makefile rules.
14847 # Protect against Makefile macro expansion.
14849 # If the first sed substitution is executed (which looks for macros that
14850 # take arguments), then branch to the quote section. Otherwise,
14851 # look for a macro that doesn't take arguments.
14861 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14863 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14867 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14880 DEFS=`sed -n "$ac_script" confdefs.h`
14886 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14887 # 1. Remove the extension, and $U if already installed.
14888 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14889 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14891 # will be set to the directory where LIBOBJS objects are built.
14892 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14893 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14895 LIBOBJS=$ac_libobjs
14897 LTLIBOBJS=$ac_ltlibobjs
14901 : "${CONFIG_STATUS=./config.status}"
14903 ac_clean_files_save=$ac_clean_files
14904 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14906 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14908 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14910 # Generated by $as_me.
14911 # Run this file to recreate the current configuration.
14912 # Compiler output produced by configure, useful for debugging
14913 # configure, is in config.log if it exists.
14916 ac_cs_recheck=false
14919 SHELL=\${CONFIG_SHELL-$SHELL}
14922 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14923 ## -------------------- ##
14924 ## M4sh Initialization. ##
14925 ## -------------------- ##
14927 # Be more Bourne compatible
14928 DUALCASE=1; export DUALCASE # for MKS sh
14929 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14932 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14933 # is contrary to our usage. Disable this feature.
14934 alias -g '${1+"$@"}'='"$@"'
14935 setopt NO_GLOB_SUBST
14937 case `(set -o) 2>/dev/null` in #(
14949 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14950 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14951 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14952 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14953 # Prefer a ksh shell builtin over an external printf program on Solaris,
14954 # but without wasting forks for bash or zsh.
14955 if test -z "$BASH_VERSION$ZSH_VERSION" \
14956 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14957 as_echo
='print -r --'
14958 as_echo_n
='print -rn --'
14959 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14960 as_echo
='printf %s\n'
14961 as_echo_n
='printf %s'
14963 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14964 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14965 as_echo_n
='/usr/ucb/echo -n'
14967 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14968 as_echo_n_body
='eval
14972 expr "X$arg" : "X\\(.*\\)$as_nl";
14973 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14975 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14977 export as_echo_n_body
14978 as_echo_n
='sh -c $as_echo_n_body as_echo'
14980 export as_echo_body
14981 as_echo
='sh -c $as_echo_body as_echo'
14984 # The user is always right.
14985 if test "${PATH_SEPARATOR+set}" != set; then
14987 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14988 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14995 # We need space, tab and new line, in precisely that order. Quoting is
14996 # there to prevent editors from complaining about space-tab.
14997 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14998 # splitting by setting IFS to empty value.)
15001 # Find who we are. Look in the path if we contain no directory separator.
15004 *[\\/]* ) as_myself
=$0 ;;
15005 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15006 for as_dir
in $PATH
15009 test -z "$as_dir" && as_dir
=.
15010 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15016 # We did not find ourselves, most probably we were run as `sh COMMAND'
15017 # in which case we are not to be found in the path.
15018 if test "x$as_myself" = x
; then
15021 if test ! -f "$as_myself"; then
15022 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15026 # Unset variables that we do not need and which cause bugs (e.g. in
15027 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15028 # suppresses any "Segmentation fault" message there. '((' could
15029 # trigger a bug in pdksh 5.2.14.
15030 for as_var
in BASH_ENV ENV MAIL MAILPATH
15031 do eval test x\
${$as_var+set} = xset \
15032 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15045 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15048 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15049 # ----------------------------------------
15050 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15051 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15052 # script with STATUS, using 1 if that was 0.
15055 as_status
=$1; test $as_status -eq 0 && as_status
=1
15057 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15058 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15060 $as_echo "$as_me: error: $2" >&2
15061 as_fn_exit
$as_status
15065 # as_fn_set_status STATUS
15066 # -----------------------
15067 # Set $? to STATUS, without forking.
15068 as_fn_set_status
()
15071 } # as_fn_set_status
15073 # as_fn_exit STATUS
15074 # -----------------
15075 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15079 as_fn_set_status
$1
15085 # Portably unset VAR.
15088 { eval $1=; unset $1;}
15090 as_unset
=as_fn_unset
15091 # as_fn_append VAR VALUE
15092 # ----------------------
15093 # Append the text in VALUE to the end of the definition contained in VAR. Take
15094 # advantage of any shell optimizations that allow amortized linear growth over
15095 # repeated appends, instead of the typical quadratic growth present in naive
15097 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15098 eval 'as_fn_append ()
15109 # as_fn_arith ARG...
15110 # ------------------
15111 # Perform arithmetic evaluation on the ARGs, and store the result in the
15112 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15113 # must be portable across $(()) and expr.
15114 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15115 eval 'as_fn_arith ()
15122 as_val
=`expr "$@" || test $? -eq 1`
15127 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15128 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15134 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15135 as_basename
=basename
15140 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15146 as_me
=`$as_basename -- "$0" ||
15147 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15148 X"$0" : 'X\(//\)$' \| \
15149 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15151 sed '/^.*\/\([^/][^/]*\)\/*$/{
15165 # Avoid depending upon Character Ranges.
15166 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15167 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15168 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15169 as_cr_digits
='0123456789'
15170 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15172 ECHO_C
= ECHO_N
= ECHO_T
=
15173 case `echo -n x` in #(((((
15175 case `echo 'xy\c'` in
15176 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15178 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15185 rm -f conf$$ conf$$.exe conf$$.
file
15186 if test -d conf$$.dir
; then
15187 rm -f conf$$.dir
/conf$$.
file
15190 mkdir conf$$.dir
2>/dev
/null
15192 if (echo >conf$$.
file) 2>/dev
/null
; then
15193 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15195 # ... but there are two gotchas:
15196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15198 # In both cases, we have to default to `cp -pR'.
15199 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15201 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15209 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15210 rmdir conf$$.dir
2>/dev
/null
15215 # Create "$as_dir" as a directory, including parents if necessary.
15220 -*) as_dir
=.
/$as_dir;;
15222 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15226 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15227 *) as_qdir
=$as_dir;;
15229 as_dirs
="'$as_qdir' $as_dirs"
15230 as_dir
=`$as_dirname -- "$as_dir" ||
15231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15232 X"$as_dir" : 'X\(//\)[^/]' \| \
15233 X"$as_dir" : 'X\(//\)$' \| \
15234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15235 $as_echo X"$as_dir" |
15236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15240 /^X\(\/\/\)[^/].*/{
15253 test -d "$as_dir" && break
15255 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15256 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15260 if mkdir
-p .
2>/dev
/null
; then
15261 as_mkdir_p
='mkdir -p "$as_dir"'
15263 test -d .
/-p && rmdir .
/-p
15268 # as_fn_executable_p FILE
15269 # -----------------------
15270 # Test if FILE is an executable regular file.
15271 as_fn_executable_p
()
15273 test -f "$1" && test -x "$1"
15274 } # as_fn_executable_p
15275 as_test_x
='test -x'
15276 as_executable_p
=as_fn_executable_p
15278 # Sed expression to map a string onto a valid CPP name.
15279 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15281 # Sed expression to map a string onto a valid variable name.
15282 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15286 ## ----------------------------------- ##
15287 ## Main body of $CONFIG_STATUS script. ##
15288 ## ----------------------------------- ##
15290 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15293 # Save the log message, to keep $0 and so on meaningful, and to
15294 # report actual input values of CONFIG_FILES etc. instead of their
15295 # values after options handling.
15297 This file was extended by $as_me, which was
15298 generated by GNU Autoconf 2.69. Invocation command line was
15300 CONFIG_FILES = $CONFIG_FILES
15301 CONFIG_HEADERS = $CONFIG_HEADERS
15302 CONFIG_LINKS = $CONFIG_LINKS
15303 CONFIG_COMMANDS = $CONFIG_COMMANDS
15306 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15311 case $ac_config_files in *"
15312 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15318 # Files that config.status was made for.
15319 config_files="$ac_config_files"
15323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15325 \`$as_me' instantiates files and other configuration actions
15326 from templates according to the current configuration. Unless the files
15327 and actions are specified as TAGs, all are instantiated by default.
15329 Usage: $0 [OPTION]... [TAG]...
15331 -h, --help print this help, then exit
15332 -V, --version print version number and configuration settings, then exit
15333 --config print configuration, then exit
15334 -q, --quiet, --silent
15335 do not print progress messages
15336 -d, --debug don't remove temporary files
15337 --recheck update $as_me by reconfiguring in the same conditions
15338 --file=FILE[:TEMPLATE]
15339 instantiate the configuration file FILE
15341 Configuration files:
15344 Report bugs to the package provider."
15347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15348 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15351 configured by $0, generated by GNU Autoconf 2.69,
15352 with options \\"\$ac_cs_config\\"
15354 Copyright (C) 2012 Free Software Foundation, Inc.
15355 This config.status script is free software; the Free Software Foundation
15356 gives unlimited permission to copy, distribute and modify it."
15362 test -n "\$AWK" || AWK=awk
15365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15366 # The default lists apply if the user does not specify any file.
15372 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15373 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15377 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15389 # Handling of the options.
15390 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15392 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15393 $as_echo "$ac_cs_version"; exit ;;
15394 --config |
--confi |
--conf |
--con |
--co |
--c )
15395 $as_echo "$ac_cs_config"; exit ;;
15396 --debug |
--debu |
--deb |
--de |
--d |
-d )
15398 --file |
--fil |
--fi |
--f )
15401 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15402 '') as_fn_error $?
"missing file argument" ;;
15404 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15405 ac_need_defaults
=false
;;
15406 --he |
--h |
--help |
--hel |
-h )
15407 $as_echo "$ac_cs_usage"; exit ;;
15408 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15409 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15412 # This is an error.
15413 -*) as_fn_error $?
"unrecognized option: \`$1'
15414 Try \`$0 --help' for more information." ;;
15416 *) as_fn_append ac_config_targets
" $1"
15417 ac_need_defaults
=false
;;
15423 ac_configure_extra_args
=
15425 if $ac_cs_silent; then
15427 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15432 if \$ac_cs_recheck; then
15433 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15435 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15436 CONFIG_SHELL='$SHELL'
15437 export CONFIG_SHELL
15442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15446 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15447 ## Running $as_me. ##
15453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15457 extrasub_build="$extrasub_build"
15458 extrasub_host="$extrasub_host"
15459 extrasub_target="$extrasub_target"
15463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15465 # Handling of arguments.
15466 for ac_config_target
in $ac_config_targets
15468 case $ac_config_target in
15469 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15471 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15476 # If the user did not use the arguments to specify the items to instantiate,
15477 # then the envvar interface is used. Set only those that are not.
15478 # We use the long form for the default assignment because of an extremely
15479 # bizarre bug on SunOS 4.1.3.
15480 if $ac_need_defaults; then
15481 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15484 # Have a temporary directory for convenience. Make it in the build tree
15485 # simply because there is no reason against having it here, and in addition,
15486 # creating and moving files from /tmp can sometimes cause problems.
15487 # Hook for its removal unless debugging.
15488 # Note that there is a small window in which the directory will not be cleaned:
15489 # after its creation but before its name has been assigned to `$tmp'.
15493 trap 'exit_status=$?
15494 : "${ac_tmp:=$tmp}"
15495 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15497 trap 'as_fn_exit 1' 1 2 13 15
15499 # Create a (secure) tmp directory for tmp files.
15502 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15506 tmp
=.
/conf$$
-$RANDOM
15507 (umask 077 && mkdir
"$tmp")
15508 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15511 # Set up the scripts for CONFIG_FILES section.
15512 # No need to generate them if there are no CONFIG_FILES.
15513 # This happens for instance with `./config.status config.h'.
15514 if test -n "$CONFIG_FILES"; then
15516 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15517 ac_cs_awk_getline
=:
15518 ac_cs_awk_pipe_init
=
15519 ac_cs_awk_read_file
='
15520 while ((getline aline < (F[key])) > 0)
15523 ac_cs_awk_pipe_fini
=
15525 ac_cs_awk_getline
=false
15526 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15527 ac_cs_awk_read_file
='
15529 print "cat " F[key] " &&"
15530 '$ac_cs_awk_pipe_init
15531 # The final `:' finishes the AND list.
15532 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15534 ac_cr
=`echo X | tr X '\015'`
15535 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15536 # But we know of no other shell where ac_cr would be empty at this
15537 # point, so we can use a bashism as a fallback.
15538 if test "x$ac_cr" = x
; then
15539 eval ac_cr
=\$
\'\\r
\'
15541 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15542 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15545 ac_cs_awk_cr
=$ac_cr
15548 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15551 # Create commands to substitute file output variables.
15553 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15554 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15555 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15558 } >conf$
$files.sh
&&
15559 . .
/conf$
$files.sh ||
15560 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15561 rm -f conf$
$files.sh
15564 echo "cat >conf$$subs.awk <<_ACEOF" &&
15565 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15567 } >conf$$subs.sh ||
15568 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15569 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15571 for ac_last_try in false false false false false :; do
15572 . ./conf$$subs.sh ||
15573 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15575 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15576 if test $ac_delim_n = $ac_delim_num; then
15578 elif $ac_last_try; then
15579 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15581 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15584 rm -f conf$$subs.sh
15586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15587 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15591 s/^/S["/; s
/!.
*/"]=/
15601 s/\(.\{148\}\)..*/\1/
15603 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15608 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15615 s/\(.\{148\}\)..*/\1/
15617 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15621 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15626 ' <conf$$subs.awk | sed '
15631 ' >>$CONFIG_STATUS || ac_write_fail=1
15632 rm -f conf$$subs.awk
15633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15635 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15636 for (key in S) S_is_set[key] = 1
15638 \$ac_cs_awk_pipe_init
15642 nfields = split(line, field, "@
")
15644 len = length(field[1])
15645 for (i = 2; i < nfields; i++) {
15647 keylen = length(key)
15648 if (S_is_set[key]) {
15650 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15651 len += length(value) + length(field[++i])
15656 if (nfields == 3 && !substed) {
15658 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15659 \$ac_cs_awk_read_file
15665 \$ac_cs_awk_pipe_fini
15668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15669 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15670 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15673 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15674 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15677 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15678 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15679 # trailing colons and then remove the whole line if VPATH becomes empty
15680 # (actually we leave an empty line to preserve line numbers).
15681 if test "x
$srcdir" = x.; then
15682 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15701 fi # test -n "$CONFIG_FILES"
15704 eval set X " :F
$CONFIG_FILES "
15709 :[FHLC]) ac_mode=$ac_tag; continue;;
15711 case $ac_mode$ac_tag in
15713 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15714 :[FH]-) ac_tag=-:-;;
15715 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15732 -) ac_f="$ac_tmp/stdin";;
15733 *) # Look for the file first in the build tree, then in the source tree
15734 # (if the path is not absolute). The absolute path cannot be DOS-style,
15735 # because $ac_f cannot contain `:'.
15739 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15741 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15743 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15744 as_fn_append ac_file_inputs " '$ac_f'"
15747 # Let's still pretend it is `configure' which instantiates (i.e., don't
15748 # use $as_me), people would be surprised to read:
15749 # /* config.h. Generated by config.status. */
15750 configure_input='Generated from '`
15751 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15753 if test x"$ac_file" != x-; then
15754 configure_input="$ac_file.
$configure_input"
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15756 $as_echo "$as_me: creating
$ac_file" >&6;}
15758 # Neutralize special characters interpreted by sed in replacement strings.
15759 case $configure_input in #(
15760 *\&* | *\|* | *\\* )
15761 ac_sed_conf_input=`$as_echo "$configure_input" |
15762 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15763 *) ac_sed_conf_input=$configure_input;;
15767 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
15768 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
15773 ac_dir=`$as_dirname -- "$ac_file" ||
15774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15775 X"$ac_file" : 'X\(//\)[^/]' \| \
15776 X"$ac_file" : 'X\(//\)$' \| \
15777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15778 $as_echo X"$ac_file" |
15779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15783 /^X\(\/\/\)[^/].*/{
15796 as_dir="$ac_dir"; as_fn_mkdir_p
15800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15803 # A "..
" for each directory in $ac_dir_suffix.
15804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15805 case $ac_top_builddir_sub in
15806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15810 ac_abs_top_builddir=$ac_pwd
15811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15812 # for backward compatibility:
15813 ac_top_builddir=$ac_top_build_prefix
15816 .) # We are building in place.
15818 ac_top_srcdir=$ac_top_builddir_sub
15819 ac_abs_top_srcdir=$ac_pwd ;;
15820 [\\/]* | ?:[\\/]* ) # Absolute name.
15821 ac_srcdir=$srcdir$ac_dir_suffix;
15822 ac_top_srcdir=$srcdir
15823 ac_abs_top_srcdir=$srcdir ;;
15824 *) # Relative name.
15825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15826 ac_top_srcdir=$ac_top_build_prefix$srcdir
15827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15839 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15840 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15845 # If the template does not know about datarootdir, expand it.
15846 # FIXME: This hack should be removed a few years after 2.60.
15847 ac_datarootdir_hack=; ac_datarootdir_seen=
15858 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15859 *datarootdir*) ac_datarootdir_seen=yes;;
15860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15862 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15865 ac_datarootdir_hack='
15866 s&@datadir@&$datadir&g
15867 s&@docdir@&$docdir&g
15868 s&@infodir@&$infodir&g
15869 s&@localedir@&$localedir&g
15870 s&@mandir@&$mandir&g
15871 s&\\\${datarootdir}&$datarootdir&g' ;;
15875 # Neutralize VPATH when `$srcdir' = `.'.
15876 # Shell code in configure.ac might set extrasub.
15877 # FIXME: do we really want to maintain this feature?
15878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15879 ac_sed_extra="$ac_vpsub
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15884 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15885 s|@configure_input@|
$ac_sed_conf_input|
;t t
15886 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15887 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15888 s
&@srcdir@
&$ac_srcdir&;t t
15889 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15890 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15891 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15892 s
&@builddir@
&$ac_builddir&;t t
15893 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15894 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15895 s
&@INSTALL@
&$ac_INSTALL&;t t
15896 $ac_datarootdir_hack
15898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15899 if $ac_cs_awk_getline; then
15900 $AWK -f "$ac_tmp/subs.
awk"
15902 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
15904 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15907 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15909 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15911 which seems to be undefined. Please make sure it is defined" >&5
15912 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15913 which seems to be undefined. Please make sure it is defined" >&2;}
15915 rm -f "$ac_tmp/stdin"
15917 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15918 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15920 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15928 case $ac_file$ac_mode in
15929 "Makefile":F) sed "$extrasub_build" Makefile |
15930 sed "$extrasub_host" |
15931 sed "$extrasub_target" > mf$$
15932 mv -f mf$$ Makefile ;;
15940 ac_clean_files=$ac_clean_files_save
15942 test $ac_write_fail = 0 ||
15943 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15946 # configure is writing to config.log, and then calls config.status.
15947 # config.status does its own redirection, appending to config.log.
15948 # Unfortunately, on DOS this fails, as config.log is still kept open
15949 # by configure, so config.status won't be able to
write to it
; its
15950 # output is simply discarded. So we exec the FD to /dev/null,
15951 # effectively closing config.log, so it can be properly (re)opened and
15952 # appended to by config.status. When coming back to configure, we
15953 # need to make the FD available again.
15954 if test "$no_create" != yes; then
15956 ac_config_status_args
=
15957 test "$silent" = yes &&
15958 ac_config_status_args
="$ac_config_status_args --quiet"
15960 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15962 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15963 # would make configure fail if this is the last instruction.
15964 $ac_cs_success || as_fn_exit
1
15966 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15968 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}