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
595 MAINTAINER_MODE_FALSE
597 COMPILER_NM_FOR_TARGET
598 COMPILER_LD_FOR_TARGET
599 COMPILER_AS_FOR_TARGET
677 DEBUG_PREFIX_CFLAGS_FOR_TARGET
678 SYSROOT_CFLAGS_FOR_TARGET
679 extra_host_zlib_configure_flags
680 extra_host_libiberty_configure_flags
682 extra_linker_plugin_flags
683 extra_linker_plugin_configure_flags
691 extra_isl_gmp_configure_flags
692 extra_mpc_mpfr_configure_flags
693 extra_mpc_gmp_configure_flags
694 extra_mpfr_configure_flags
710 EXTRA_CONFIGARGS_LIBJAVA
711 extra_liboffloadmic_configure_flags
738 TOPLEVEL_CONFIGURE_ARGUMENTS
767 program_transform_name
778 ac_subst_files
='serialization_dependencies
784 enable_option_checking
787 enable_as_accelerator_for
788 enable_offload_targets
791 enable_compressed_debug_sections
793 enable_libquadmath_support
798 enable_static_libjava
818 enable_isl_version_check
820 enable_linker_plugin_configure_flags
821 enable_linker_plugin_flags
822 enable_stage1_languages
825 with_debug_prefix_map
829 enable_serial_configure
830 with_build_time_tools
831 enable_maintainer_mode
832 enable_stage1_checking
836 ac_precious_vars
='build_alias
884 # Initialize some variables set by options.
886 ac_init_version
=false
887 ac_unrecognized_opts
=
889 # The variables have the same names as the options, with
890 # dashes changed to underlines.
898 program_transform_name
=s
,x
,x
,
906 # Installation directory options.
907 # These are left unexpanded so users can "make install exec_prefix=/foo"
908 # and all the variables that are supposed to be based on exec_prefix
909 # by default will actually change.
910 # Use braces instead of parens because sh, perl, etc. also accept them.
911 # (The list follows the same order as the GNU Coding Standards.)
912 bindir
='${exec_prefix}/bin'
913 sbindir
='${exec_prefix}/sbin'
914 libexecdir
='${exec_prefix}/libexec'
915 datarootdir
='${prefix}/share'
916 datadir
='${datarootdir}'
917 sysconfdir
='${prefix}/etc'
918 sharedstatedir
='${prefix}/com'
919 localstatedir
='${prefix}/var'
920 runstatedir
='${localstatedir}/run'
921 includedir
='${prefix}/include'
922 oldincludedir
='/usr/include'
923 docdir
='${datarootdir}/doc/${PACKAGE}'
924 infodir
='${datarootdir}/info'
929 libdir
='${exec_prefix}/lib'
930 localedir
='${datarootdir}/locale'
931 mandir
='${datarootdir}/man'
937 # If the previous option needs an argument, assign it.
938 if test -n "$ac_prev"; then
939 eval $ac_prev=\
$ac_option
945 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
958 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
961 -build |
--build |
--buil |
--bui |
--bu)
962 ac_prev
=build_alias
;;
963 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
964 build_alias
=$ac_optarg ;;
966 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
967 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
968 ac_prev
=cache_file
;;
969 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
970 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
971 cache_file
=$ac_optarg ;;
974 cache_file
=config.cache
;;
976 -datadir |
--datadir |
--datadi |
--datad)
978 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
979 datadir
=$ac_optarg ;;
981 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
982 |
--dataroo |
--dataro |
--datar)
983 ac_prev
=datarootdir
;;
984 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
985 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
986 datarootdir
=$ac_optarg ;;
988 -disable-* |
--disable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=no
;;
1004 -docdir |
--docdir |
--docdi |
--doc |
--do)
1006 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1007 docdir
=$ac_optarg ;;
1009 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1011 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1012 dvidir
=$ac_optarg ;;
1014 -enable-* |
--enable-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error $?
"invalid feature name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1174 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1175 |
--run |
--ru |
--r)
1176 ac_prev
=runstatedir
;;
1177 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1178 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1179 |
--run=* |
--ru=* |
--r=*)
1180 runstatedir
=$ac_optarg ;;
1182 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1184 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1189 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1190 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1194 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1195 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site |
--site |
--sit)
1201 -site=* |
--site=* |
--sit=*)
1204 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1206 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1210 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1213 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1217 ac_prev
=target_alias
;;
1218 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1224 -version |
--version |
--versio |
--versi |
--vers |
-V)
1225 ac_init_version
=: ;;
1228 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1231 as_fn_error $?
"invalid package name: $ac_useropt"
1232 ac_useropt_orig
=$ac_useropt
1233 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239 ac_unrecognized_sep
=', ';;
1241 eval with_
$ac_useropt=\
$ac_optarg ;;
1243 -without-* |
--without-*)
1244 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 as_fn_error $?
"invalid package name: $ac_useropt"
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=no
;;
1260 # Obsolete; use --with-x.
1263 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1264 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1265 ac_prev
=x_includes
;;
1266 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1267 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1268 x_includes
=$ac_optarg ;;
1270 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1271 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1272 ac_prev
=x_libraries
;;
1273 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1274 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1275 x_libraries
=$ac_optarg ;;
1277 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information"
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 case $ac_envvar in #(
1285 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1286 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1288 eval $ac_envvar=\
$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1302 if test -n "$ac_prev"; then
1303 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1304 as_fn_error $?
"missing argument to $ac_option"
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir runstatedir
1321 eval ac_val
=\$
$ac_var
1322 # Remove trailing slashes.
1325 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\
$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$
]* | ?
:[\\/]* ) continue;;
1331 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1333 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target
=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x
; then
1345 if test "x$build_alias" = x
; then
1346 cross_compiling
=maybe
1347 elif test "x$build_alias" != "x$host_alias"; then
1353 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1355 test "$silent" = yes && exec 6>/dev
/null
1358 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di
=`ls -di .` &&
1360 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1361 as_fn_error $?
"working directory cannot be determined"
1362 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1363 as_fn_error $?
"pwd does not report name of working directory"
1366 # Find the source files, if location was not specified.
1367 if test -z "$srcdir"; then
1368 ac_srcdir_defaulted
=yes
1369 # Try the directory containing this script, then the parent directory.
1370 ac_confdir
=`$as_dirname -- "$as_myself" ||
1371 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372 X"$as_myself" : 'X\(//\)[^/]' \| \
1373 X"$as_myself" : 'X\(//\)$' \| \
1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375 $as_echo X"$as_myself" |
1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted
=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1401 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1402 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1404 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1408 # When building in place, set srcdir=.
1409 if test "$ac_abs_confdir" = "$ac_pwd"; then
1412 # Remove unnecessary trailing slashes from srcdir.
1413 # Double slashes in file names in object file debugging info
1414 # mess up M-x gdb in Emacs.
1416 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 as_fn_error $?
"path to source, $srcdir, contains spaces"
1423 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1425 for ac_var
in $ac_precious_vars; do
1426 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1428 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1429 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1433 # Report the --help message.
1435 if test "$ac_init_help" = "long"; then
1436 # Omit some internal or obsolete options to make the list less imposing.
1437 # This message is too long to be a string in the A/UX 3.1 sh.
1439 \`configure' configures this package to adapt to many kinds of systems.
1441 Usage: $0 [OPTION]... [VAR=VALUE]...
1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444 VAR=VALUE. See below for descriptions of some of the useful variables.
1446 Defaults for the options are specified in brackets.
1449 -h, --help display this help and exit
1450 --help=short display options specific to this package
1451 --help=recursive display the short help of all the included packages
1452 -V, --version display version information and exit
1453 -q, --quiet, --silent do not print \`checking ...' messages
1454 --cache-file=FILE cache test results in FILE [disabled]
1455 -C, --config-cache alias for \`--cache-file=config.cache'
1456 -n, --no-create do not create output files
1457 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1459 Installation directories:
1460 --prefix=PREFIX install architecture-independent files in PREFIX
1461 [$ac_default_prefix]
1462 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1465 By default, \`make install' will install all the files in
1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468 for instance \`--prefix=\$HOME'.
1470 For better control, use the options below.
1472 Fine tuning of the installation directories:
1473 --bindir=DIR user executables [EPREFIX/bin]
1474 --sbindir=DIR system admin executables [EPREFIX/sbin]
1475 --libexecdir=DIR program executables [EPREFIX/libexec]
1476 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1477 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1478 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1479 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1480 --libdir=DIR object code libraries [EPREFIX/lib]
1481 --includedir=DIR C header files [PREFIX/include]
1482 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1483 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1484 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1485 --infodir=DIR info documentation [DATAROOTDIR/info]
1486 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1487 --mandir=DIR man documentation [DATAROOTDIR/man]
1488 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1489 --htmldir=DIR html documentation [DOCDIR]
1490 --dvidir=DIR dvi documentation [DOCDIR]
1491 --pdfdir=DIR pdf documentation [DOCDIR]
1492 --psdir=DIR ps documentation [DOCDIR]
1498 --program-prefix=PREFIX prepend PREFIX to installed program names
1499 --program-suffix=SUFFIX append SUFFIX to installed program names
1500 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1503 --build=BUILD configure
for building on BUILD
[guessed
]
1504 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1505 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1509 if test -n "$ac_init_help"; then
1514 --disable-option-checking ignore unrecognized
--enable/--with options
1515 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1516 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1517 --enable-as-accelerator-for=ARG
1518 build as offload target compiler. Specify offload
1520 --enable-offload-targets=LIST
1521 enable offloading to devices from comma-separated
1522 LIST of TARGET
[=DIR
]. Use optional path to
find
1523 offload target compiler during the build
1524 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1525 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1526 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1527 Enable compressed debug sections
for gas
, gold or ld
1529 --disable-libquadmath do not build libquadmath directory
1530 --disable-libquadmath-support
1531 disable libquadmath support
for Fortran
1532 --enable-libada build libada directory
1533 --enable-libssp build libssp directory
1534 --disable-libstdcxx do not build libstdc
++-v3 directory
1535 --enable-liboffloadmic=ARG
1536 build liboffloadmic
[ARG
={no
,host,target
}]
1537 --enable-static-libjava[=ARG
]
1538 build static libjava
[default
=no
]
1539 --enable-bootstrap enable bootstrapping
[yes if native build
]
1540 --disable-isl-version-check
1541 disable check
for isl version
1542 --enable-lto enable link
time optimization support
1543 --enable-linker-plugin-configure-flags=FLAGS
1544 additional flags
for configuring linker plugins
1546 --enable-linker-plugin-flags=FLAGS
1547 additional flags
for configuring and building linker
1549 --enable-stage1-languages[=all
]
1550 choose additional languages to build during stage1.
1551 Mostly useful
for compiler development
1552 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1554 --enable-vtable-verify Enable vtable verification feature
1555 --enable-serial-[{host,target,build}-]configure
1556 force sequential configuration of sub-packages for
1557 the host, target or build machine, or all
1559 --enable-maintainer-mode
1560 enable make rules and dependencies not useful (and
1561 sometimes confusing) to the casual installer
1562 --enable-stage1-checking[=all]
1563 choose additional checking for stage1 of the
1565 --enable-werror enable -Werror in bootstrap stage2 and later
1566 --enable-host-shared build host code as shared libraries
1569 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1570 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1571 --with-build-libsubdir=DIR Directory where to find libraries for build system
1572 --with-system-zlib use installed libz
1573 --with-mpc=PATH specify prefix directory for installed MPC package.
1574 Equivalent to --with-mpc-include=PATH/include plus
1575 --with-mpc-lib=PATH/lib
1576 --with-mpc-include=PATH specify directory for installed MPC include files
1577 --with-mpc-lib=PATH specify directory for the installed MPC library
1578 --with-mpfr-dir=PATH this option has been REMOVED
1579 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1580 Equivalent to --with-mpfr-include=PATH/include plus
1581 --with-mpfr-lib=PATH/lib
1582 --with-mpfr-include=PATH
1583 specify directory for installed MPFR include files
1584 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1585 --with-gmp-dir=PATH this option has been REMOVED
1586 --with-gmp=PATH specify prefix directory for the installed GMP
1587 package. Equivalent to
1588 --with-gmp-include=PATH/include plus
1589 --with-gmp-lib=PATH/lib
1590 --with-gmp-include=PATH specify directory for installed GMP include files
1591 --with-gmp-lib=PATH specify directory for the installed GMP library
1592 --with-stage1-libs=LIBS libraries for stage1
1593 --with-stage1-ldflags=FLAGS
1594 linker flags for stage1
1595 --with-boot-libs=LIBS libraries for stage2 and later
1596 --with-boot-ldflags=FLAGS
1597 linker flags for stage2 and later
1598 --with-isl=PATH Specify prefix directory for the installed isl
1599 package. Equivalent to
1600 --with-isl-include=PATH/include plus
1601 --with-isl-lib=PATH/lib
1602 --with-isl-include=PATH Specify directory for installed isl include files
1603 --with-isl-lib=PATH Specify the directory for the installed isl library
1604 --with-build-sysroot=SYSROOT
1605 use sysroot as the system root during the build
1606 --with-debug-prefix-map='A
=B C
=D ...
'
1607 map A to B, C to D ... in debug information
1608 --with-tooldir=PATH use given path to install target tools after build
1609 --with-build-config='NAME NAME2...
'
1610 use config/NAME.mk build configuration
1611 --with-build-time-tools=PATH
1612 use given path to find target tools during the build
1614 Some influential environment variables:
1615 CC C compiler command
1616 CFLAGS C compiler flags
1617 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1618 nonstandard directory <lib dir>
1619 LIBS libraries to pass to the linker, e.g. -l<library>
1620 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1621 you have headers in a nonstandard directory <include dir>
1622 CXX C++ compiler command
1623 CXXFLAGS C++ compiler flags
1625 additional configure arguments for build directories
1627 additional configure arguments for host directories
1629 additional configure arguments for target directories
1632 DLLTOOL DLLTOOL for the host
1634 LIPO LIPO for the host
1636 RANLIB RANLIB for the host
1637 STRIP STRIP for the host
1638 WINDRES WINDRES for the host
1639 WINDMC WINDMC for the host
1640 OBJCOPY OBJCOPY for the host
1641 OBJDUMP OBJDUMP for the host
1642 READELF READELF for the host
1652 GFORTRAN for the target
1660 DLLTOOL for the target
1668 OBJCOPY for the target
1670 OBJDUMP for the target
1672 RANLIB for the target
1674 READELF for the target
1676 STRIP for the target
1678 WINDRES for the target
1680 WINDMC for the target
1682 Use these variables to override the choices made by `configure' or to
help
1683 it to
find libraries and programs with nonstandard names
/locations.
1685 Report bugs to the package provider.
1690 if test "$ac_init_help" = "recursive"; then
1691 # If there are subdirs, report their specific --help.
1692 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1693 test -d "$ac_dir" ||
1694 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1699 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1701 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1702 # A ".." for each directory in $ac_dir_suffix.
1703 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1704 case $ac_top_builddir_sub in
1705 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1706 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1709 ac_abs_top_builddir
=$ac_pwd
1710 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1711 # for backward compatibility:
1712 ac_top_builddir
=$ac_top_build_prefix
1715 .
) # We are building in place.
1717 ac_top_srcdir
=$ac_top_builddir_sub
1718 ac_abs_top_srcdir
=$ac_pwd ;;
1719 [\\/]* | ?
:[\\/]* ) # Absolute name.
1720 ac_srcdir
=$srcdir$ac_dir_suffix;
1721 ac_top_srcdir
=$srcdir
1722 ac_abs_top_srcdir
=$srcdir ;;
1724 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1725 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1726 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1728 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1730 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1731 # Check for guested configure.
1732 if test -f "$ac_srcdir/configure.gnu"; then
1734 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1735 elif test -f "$ac_srcdir/configure"; then
1737 $SHELL "$ac_srcdir/configure" --help=recursive
1739 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1741 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1745 test -n "$ac_init_help" && exit $ac_status
1746 if $ac_init_version; then
1749 generated by GNU Autoconf
2.69
1751 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1752 This configure
script is free software
; the Free Software Foundation
1753 gives unlimited permission to copy
, distribute and modify it.
1758 ## ------------------------ ##
1759 ## Autoconf initialization. ##
1760 ## ------------------------ ##
1762 # ac_fn_c_try_compile LINENO
1763 # --------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_compile
()
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 rm -f conftest.
$ac_objext
1769 if { { ac_try
="$ac_compile"
1771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.$ac_objext; then :
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1798 } # ac_fn_c_try_compile
1800 # ac_fn_cxx_try_compile LINENO
1801 # ----------------------------
1802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext
1807 if { { ac_try="$ac_compile"
1809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1810 *) ac_try_echo
=$ac_try;;
1812 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_compile") 2>conftest.err
1816 if test -s conftest.err
; then
1817 grep -v '^ *+' conftest.err
>conftest.er1
1818 cat conftest.er1
>&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_cxx_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest.
$ac_objext; then :
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.
$ac_ext >&5
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status
$ac_retval
1836 } # ac_fn_cxx_try_compile
1838 # ac_fn_cxx_try_link LINENO
1839 # -------------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_cxx_try_link
()
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 rm -f conftest.
$ac_objext conftest
$ac_exeext
1845 if { { ac_try
="$ac_link"
1847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_cxx_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 test -x conftest$ac_exeext
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 as_fn_set_status $ac_retval
1882 } # ac_fn_cxx_try_link
1884 # ac_fn_c_try_link LINENO
1885 # -----------------------
1886 # Try to link conftest.$ac_ext, and return whether this succeeded.
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 rm -f conftest.$ac_objext conftest$ac_exeext
1891 if { { ac_try="$ac_link"
1893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1894 *) ac_try_echo
=$ac_try;;
1896 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_link") 2>conftest.err
1900 if test -s conftest.err
; then
1901 grep -v '^ *+' conftest.err
>conftest.er1
1902 cat conftest.er1
>&5
1903 mv -f conftest.er1 conftest.err
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } && {
1907 test -z "$ac_c_werror_flag" ||
1908 test ! -s conftest.err
1909 } && test -s conftest
$ac_exeext && {
1910 test "$cross_compiling" = yes ||
1911 test -x conftest
$ac_exeext
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.
$ac_ext >&5
1920 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1921 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1922 # interfere with the next link command; also delete a directory that is
1923 # left behind by Apple's compiler. We do this before executing the actions.
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status
$ac_retval
1928 } # ac_fn_c_try_link
1929 cat >config.log
<<_ACEOF
1930 This file contains any messages produced by compilers while
1931 running configure, to aid debugging if configure makes a mistake.
1933 It was created by $as_me, which was
1934 generated by GNU Autoconf 2.69. Invocation command line was
1946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1958 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir
=.
1970 $as_echo "PATH: $as_dir"
1986 # Keep a trace of the command line.
1987 # Strip out --no-create and --no-recursion so they do not pile up.
1988 # Strip out --silent because we don't want to record it for future runs.
1989 # Also quote any args containing shell meta-characters.
1990 # Make two passes to allow for proper duplicate-argument suppression.
1994 ac_must_keep_next
=false
2000 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2001 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2002 |
-silent |
--silent |
--silen |
--sile |
--sil)
2005 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2008 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2010 as_fn_append ac_configure_args1
" '$ac_arg'"
2011 if test $ac_must_keep_next = true
; then
2012 ac_must_keep_next
=false
# Got value, back to normal.
2015 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2016 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2017 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2018 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2019 case "$ac_configure_args0 " in
2020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2023 -* ) ac_must_keep_next
=true
;;
2026 as_fn_append ac_configure_args
" '$ac_arg'"
2031 { ac_configure_args0
=; unset ac_configure_args0
;}
2032 { ac_configure_args1
=; unset ac_configure_args1
;}
2034 # When interrupted or exit'd, cleanup temporary files, and complete
2035 # config.log. We remove comments because anyway the quotes in there
2036 # would cause problems or look ugly.
2037 # WARNING: Use '\'' to represent an apostrophe within the trap.
2038 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2039 trap 'exit_status=$?
2040 # Save into config.log some information that might help in debugging.
2044 $as_echo "## ---------------- ##
2045 ## Cache variables. ##
2046 ## ---------------- ##"
2048 # The following way of writing the cache mishandles newlines in values,
2050 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2051 eval ac_val=\$$ac_var
2055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059 _ | IFS | as_nl) ;; #(
2060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2061 *) { eval $ac_var=; unset $ac_var;} ;;
2066 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2067 *${as_nl}ac_space=\ *)
2069 "s/'\''/'\''\\\\'\'''\''/g;
2070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2080 $as_echo "## ----------------- ##
2081 ## Output variables. ##
2082 ## ----------------- ##"
2084 for ac_var in $ac_subst_vars
2086 eval ac_val=\$$ac_var
2088 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2094 if test -n "$ac_subst_files"; then
2095 $as_echo "## ------------------- ##
2096 ## File substitutions. ##
2097 ## ------------------- ##"
2099 for ac_var
in $ac_subst_files
2101 eval ac_val
=\$
$ac_var
2103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2110 if test -s confdefs.h; then
2111 $as_echo "## ----------- ##
2118 test "$ac_signal" != 0 &&
2119 $as_echo "$as_me: caught signal $ac_signal"
2120 $as_echo "$as_me: exit $exit_status"
2122 rm -f core *.core core.conftest.* &&
2123 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2126 for ac_signal
in 1 2 13 15; do
2127 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2132 rm -f -r conftest
* confdefs.h
2134 $as_echo "/* confdefs.h */" > confdefs.h
2136 # Predefined preprocessor variables.
2138 cat >>confdefs.h
<<_ACEOF
2139 #define PACKAGE_NAME "$PACKAGE_NAME"
2142 cat >>confdefs.h
<<_ACEOF
2143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2146 cat >>confdefs.h
<<_ACEOF
2147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2150 cat >>confdefs.h
<<_ACEOF
2151 #define PACKAGE_STRING "$PACKAGE_STRING"
2154 cat >>confdefs.h
<<_ACEOF
2155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2158 cat >>confdefs.h
<<_ACEOF
2159 #define PACKAGE_URL "$PACKAGE_URL"
2163 # Let the site file select an alternate cache file if it wants to.
2164 # Prefer an explicitly selected file to automatically selected ones.
2167 if test -n "$CONFIG_SITE"; then
2168 # We do not want a PATH search for config.site.
2169 case $CONFIG_SITE in #((
2170 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2171 */*) ac_site_file1
=$CONFIG_SITE;;
2172 *) ac_site_file1
=.
/$CONFIG_SITE;;
2174 elif test "x$prefix" != xNONE
; then
2175 ac_site_file1
=$prefix/share
/config.site
2176 ac_site_file2
=$prefix/etc
/config.site
2178 ac_site_file1
=$ac_default_prefix/share
/config.site
2179 ac_site_file2
=$ac_default_prefix/etc
/config.site
2181 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2183 test "x$ac_site_file" = xNONE
&& continue
2184 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2186 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2187 sed 's/^/| /' "$ac_site_file" >&5
2189 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 as_fn_error $?
"failed to load site script $ac_site_file
2192 See \`config.log' for more details" "$LINENO" 5; }
2196 if test -r "$cache_file"; then
2197 # Some versions of bash will fail to source /dev/null (special files
2198 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2199 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2201 $as_echo "$as_me: loading cache $cache_file" >&6;}
2203 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2204 *) .
"./$cache_file";;
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2209 $as_echo "$as_me: creating cache $cache_file" >&6;}
2213 # Check that the precious variables saved in the cache have kept the same
2215 ac_cache_corrupted
=false
2216 for ac_var
in $ac_precious_vars; do
2217 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2218 eval ac_new_set
=\
$ac_env_${ac_var}_set
2219 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2220 eval ac_new_val
=\
$ac_env_${ac_var}_value
2221 case $ac_old_set,$ac_new_set in
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2224 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225 ac_cache_corrupted
=: ;;
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2228 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2229 ac_cache_corrupted
=: ;;
2232 if test "x$ac_old_val" != "x$ac_new_val"; then
2233 # differences in whitespace do not lead to failure.
2234 ac_old_val_w
=`echo x $ac_old_val`
2235 ac_new_val_w
=`echo x $ac_new_val`
2236 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2239 ac_cache_corrupted
=:
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2242 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243 eval $ac_var=\
$ac_old_val
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2246 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2248 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2251 # Pass precious variables to config.status.
2252 if test "$ac_new_set" = set; then
2254 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2255 *) ac_arg
=$ac_var=$ac_new_val ;;
2257 case " $ac_configure_args " in
2258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2259 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2263 if $ac_cache_corrupted; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2268 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2270 ## -------------------- ##
2271 ## Main body of script. ##
2272 ## -------------------- ##
2275 ac_cpp
='$CPP $CPPFLAGS'
2276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2288 # if PWD already has a value, it is probably wrong.
2289 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2291 # Export original configure arguments for use by sub-configures.
2292 # Quote arguments with shell meta charatcers.
2293 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2294 set -- "$progname" "$@"
2298 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2299 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2300 # if the argument is of the form -foo=baz, quote the baz part only
2301 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2304 # Add the quoted argument to the list.
2305 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2307 if test "$silent" = yes; then
2308 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2310 # Remove the initial space we just introduced and, as these will be
2311 # expanded by make, quote '$'.
2312 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2315 # Find the build, host, and target systems.
2317 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2318 if test -f "$ac_dir/install-sh"; then
2320 ac_install_sh
="$ac_aux_dir/install-sh -c"
2322 elif test -f "$ac_dir/install.sh"; then
2324 ac_install_sh
="$ac_aux_dir/install.sh -c"
2326 elif test -f "$ac_dir/shtool"; then
2328 ac_install_sh
="$ac_aux_dir/shtool install -c"
2332 if test -z "$ac_aux_dir"; then
2333 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2336 # These three variables are undocumented and unsupported,
2337 # and are intended to be withdrawn in a future Autoconf release.
2338 # They can cause serious problems if a builder's source tree is in a directory
2339 # whose full name contains unusual characters.
2340 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2341 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2342 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2345 # Make sure we can run config.sub.
2346 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2347 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2350 $as_echo_n "checking build system type... " >&6; }
2351 if ${ac_cv_build+:} false
; then :
2352 $as_echo_n "(cached) " >&6
2354 ac_build_alias
=$build_alias
2355 test "x$ac_build_alias" = x
&&
2356 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2357 test "x$ac_build_alias" = x
&&
2358 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2359 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2360 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2364 $as_echo "$ac_cv_build" >&6; }
2365 case $ac_cv_build in
2367 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2370 ac_save_IFS
=$IFS; IFS
='-'
2376 # Remember, the first character of IFS is used to create $*,
2377 # except with old shells:
2380 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2383 case ${build_alias} in
2384 "") build_noncanonical
=${build} ;;
2385 *) build_noncanonical
=${build_alias} ;;
2390 case ${host_alias} in
2391 "") host_noncanonical
=${build_noncanonical} ;;
2392 *) host_noncanonical
=${host_alias} ;;
2397 case ${target_alias} in
2398 "") target_noncanonical
=${host_noncanonical} ;;
2399 *) target_noncanonical
=${target_alias} ;;
2405 test "$host_noncanonical" = "$target_noncanonical" &&
2406 test "$program_prefix$program_suffix$program_transform_name" = \
2408 program_transform_name
=s
,y
,y
,
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2411 $as_echo_n "checking host system type... " >&6; }
2412 if ${ac_cv_host+:} false
; then :
2413 $as_echo_n "(cached) " >&6
2415 if test "x$host_alias" = x
; then
2416 ac_cv_host
=$ac_cv_build
2418 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2419 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2424 $as_echo "$ac_cv_host" >&6; }
2427 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2430 ac_save_IFS
=$IFS; IFS
='-'
2436 # Remember, the first character of IFS is used to create $*,
2437 # except with old shells:
2440 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2444 $as_echo_n "checking target system type... " >&6; }
2445 if ${ac_cv_target+:} false
; then :
2446 $as_echo_n "(cached) " >&6
2448 if test "x$target_alias" = x
; then
2449 ac_cv_target
=$ac_cv_host
2451 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2452 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2457 $as_echo "$ac_cv_target" >&6; }
2458 case $ac_cv_target in
2460 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2462 target
=$ac_cv_target
2463 ac_save_IFS
=$IFS; IFS
='-'
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2473 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2476 # The aliases save the names the user supplied, while $host etc.
2477 # will get canonicalized.
2478 test -n "$target_alias" &&
2479 test "$program_prefix$program_suffix$program_transform_name" = \
2481 program_prefix
=${target_alias}-
2483 test "$program_prefix" != NONE
&&
2484 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2485 # Use a double $ so make ignores it.
2486 test "$program_suffix" != NONE
&&
2487 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2488 # Double any \ or $.
2489 # By default was `s,x,x', remove it if useless.
2490 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2491 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2495 # Get 'install' or 'install-sh' and its variants.
2496 # Find a good install program. We prefer a C program (faster),
2497 # so one script is as good as another. But avoid the broken or
2498 # incompatible versions:
2499 # SysV /etc/install, /usr/sbin/install
2500 # SunOS /usr/etc/install
2501 # IRIX /sbin/install
2503 # AmigaOS /C/install, which installs bootblocks on floppy discs
2504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2507 # OS/2's system install, which has a completely different semantic
2508 # ./install, which can be erroneously created by make from ./install.sh.
2509 # Reject install programs that cannot install multiple files.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2511 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2512 if test -z "$INSTALL"; then
2513 if ${ac_cv_path_install+:} false
; then :
2514 $as_echo_n "(cached) " >&6
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 # Account for people who put trailing slashes in PATH elements.
2522 case $as_dir/ in #((
2523 .
/ | .
// |
/[cC
]/* | \
2524 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2525 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2528 # OSF1 and SCO ODT 3.0 have their own names for install.
2529 # Don't use installbsd from OSF since it installs stuff as root
2531 for ac_prog
in ginstall scoinst
install; do
2532 for ac_exec_ext
in '' $ac_executable_extensions; do
2533 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2534 if test $ac_prog = install &&
2535 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2536 # AIX install. It has an incompatible calling convention.
2538 elif test $ac_prog = install &&
2539 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2540 # program-specific install script used by HP pwplus--don't use.
2543 rm -rf conftest.one conftest.two conftest.dir
2544 echo one
> conftest.one
2545 echo two
> conftest.two
2547 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2548 test -s conftest.one
&& test -s conftest.two
&&
2549 test -s conftest.dir
/conftest.one
&&
2550 test -s conftest.dir
/conftest.two
2552 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2565 rm -rf conftest.one conftest.two conftest.dir
2568 if test "${ac_cv_path_install+set}" = set; then
2569 INSTALL
=$ac_cv_path_install
2571 # As a last resort, use the slow shell script. Don't cache a
2572 # value for INSTALL within a source directory, because that will
2573 # break other packages using the cache if that directory is
2574 # removed, or if the value is a relative name.
2575 INSTALL
=$ac_install_sh
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2579 $as_echo "$INSTALL" >&6; }
2581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2582 # It thinks the first close brace ends the variable substitution.
2583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2587 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2590 $as_echo_n "checking whether ln works... " >&6; }
2591 if ${acx_cv_prog_LN+:} false
; then :
2592 $as_echo_n "(cached) " >&6
2594 rm -f conftestdata_t
2595 echo >conftestdata_f
2596 if ln conftestdata_f conftestdata_t
2>/dev
/null
2602 rm -f conftestdata_f conftestdata_t
2605 if test $acx_cv_prog_LN = no
; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2608 $as_echo "no, using $LN" >&6; }
2610 LN
="$acx_cv_prog_LN"
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2612 $as_echo "yes" >&6; }
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2616 $as_echo_n "checking whether ln -s works... " >&6; }
2618 if test "$LN_S" = "ln -s"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2620 $as_echo "yes" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2623 $as_echo "no, using $LN_S" >&6; }
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2627 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2628 if ${ac_cv_path_SED+:} false
; then :
2629 $as_echo_n "(cached) " >&6
2631 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2632 for ac_i
in 1 2 3 4 5 6 7; do
2633 ac_script
="$ac_script$as_nl$ac_script"
2635 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2636 { ac_script
=; unset ac_script
;}
2637 if test -z "$SED"; then
2638 ac_path_SED_found
=false
2639 # Loop through the user's path and test for each of PROGNAME-LIST
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_prog
in sed gsed
; do
2646 for ac_exec_ext
in '' $ac_executable_extensions; do
2647 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2648 as_fn_executable_p
"$ac_path_SED" ||
continue
2649 # Check for GNU ac_path_SED and select it if it is found.
2650 # Check for GNU $ac_path_SED
2651 case `"$ac_path_SED" --version 2>&1` in
2653 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2656 $as_echo_n 0123456789 >"conftest.in"
2659 cat "conftest.in" "conftest.in" >"conftest.tmp"
2660 mv "conftest.tmp" "conftest.in"
2661 cp "conftest.in" "conftest.nl"
2662 $as_echo '' >> "conftest.nl"
2663 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2664 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2665 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2666 if test $ac_count -gt ${ac_path_SED_max-0}; then
2667 # Best one so far, save it but keep looking for a better one
2668 ac_cv_path_SED
="$ac_path_SED"
2669 ac_path_SED_max
=$ac_count
2671 # 10*(2^10) chars as input seems more than enough
2672 test $ac_count -gt 10 && break
2674 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2677 $ac_path_SED_found && break 3
2682 if test -z "$ac_cv_path_SED"; then
2683 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2691 $as_echo "$ac_cv_path_SED" >&6; }
2692 SED
="$ac_cv_path_SED"
2695 for ac_prog
in gawk mawk nawk
awk
2697 # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy
$ac_prog; ac_word
=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if ${ac_cv_prog_AWK+:} false
; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$AWK"; then
2705 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2714 ac_cv_prog_AWK
="$ac_prog"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725 if test -n "$AWK"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2727 $as_echo "$AWK" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2734 test -n "$AWK" && break
2738 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2740 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2742 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2743 INSTALL
="${srcpwd}/install-sh -c"
2746 # Set srcdir to "." if that's what it is.
2747 # This is important for multilib support.
2749 if test "${pwd}" = "${srcpwd}" ; then
2757 ### To add a new directory to the tree, first choose whether it is a target
2758 ### or a host dependent tool. Then put it into the appropriate list
2759 ### (library or tools, host or target), doing a dependency sort.
2761 # Subdirs will be configured in the order listed in build_configdirs,
2762 # configdirs, or target_configdirs; see the serialization section below.
2764 # Dependency sorting is only needed when *configuration* must be done in
2765 # a particular order. In all cases a dependency should be specified in
2766 # the Makefile, whether or not it's implicitly specified here.
2768 # Double entries in build_configdirs, configdirs, or target_configdirs may
2769 # cause circular dependencies and break everything horribly.
2771 # these library is used by various programs built for the build
2774 build_libs
="build-libiberty build-libcpp"
2776 # these tools are built for the build environment
2777 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2779 # these libraries are used by various programs built for the host environment
2781 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2783 # these tools are built for the host environment
2784 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2785 # know that we are building the simulator.
2786 # binutils, gas and ld appear in that order because it makes sense to run
2787 # "make check" in that particular order.
2788 # If --enable-gold is used, "gold" may replace "ld".
2789 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"
2791 # libgcj represents the runtime libraries only used by gcj.
2792 libgcj
="target-libffi \
2796 # these libraries are built for the target environment, and are built after
2797 # the host libraries and the host tools (which may be a cross compiler)
2798 # Note that libiberty is not a target library.
2799 target_libraries
="target-libgcc \
2800 target-libbacktrace \
2805 target-liboffloadmic \
2808 target-libstdc++-v3 \
2809 target-libsanitizer \
2813 target-libquadmath \
2814 target-libgfortran \
2821 # these tools are built using the target libraries, and are intended to
2822 # run only in the target environment
2824 # note: any program that *uses* libraries that are in the "target_libraries"
2825 # list belongs in this list.
2827 target_tools
="target-rda"
2829 ################################################################################
2831 ## All tools belong in one of the four categories, and are assigned above
2832 ## We assign ${configdirs} this way to remove all embedded newlines. This
2833 ## is important because configure will choke if they ever get through.
2834 ## ${configdirs} is directories we build using the host tools.
2835 ## ${target_configdirs} is directories we build using the target tools.
2836 configdirs
=`echo ${host_libs} ${host_tools}`
2837 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2838 build_configdirs
=`echo ${build_libs} ${build_tools}`
2842 ################################################################################
2844 srcname
="gnu development package"
2846 # This gets set non-empty for some net releases of packages.
2849 # Define is_cross_compiler to save on calls to 'test'.
2851 if test x
"${host}" = x
"${target}" ; then
2852 is_cross_compiler
=no
2854 is_cross_compiler
=yes
2857 # Find the build and target subdir names.
2859 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2860 # have matching libraries, they should use host libraries: Makefile.tpl
2861 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2862 # However, they still use the build modules, because the corresponding
2863 # host modules (e.g. bison) are only built for the host when bootstrap
2865 # - build_subdir is where we find build modules, and never changes.
2866 # - build_libsubdir is where we find build libraries, and can be overridden.
2868 # Prefix 'build-' so this never conflicts with target_subdir.
2869 build_subdir
="build-${build_noncanonical}"
2871 # Check whether --with-build-libsubdir was given.
2872 if test "${with_build_libsubdir+set}" = set; then :
2873 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2875 build_libsubdir
="$build_subdir"
2878 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2879 if ( test $srcdir = .
&& test -d gcc
) \
2880 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2881 host_subdir
="host-${host_noncanonical}"
2886 target_subdir
=${target_noncanonical}
2888 # Be sure to cover against remnants of an in-tree build.
2889 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2890 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2891 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2894 # Skipdirs are removed silently.
2896 # Noconfigdirs are removed loudly.
2900 # Make sure we don't let GNU ld be added if we didn't want it.
2901 if test x
$with_gnu_ld = xno
; then
2903 noconfigdirs
="$noconfigdirs ld gold"
2907 # Make sure we don't let GNU as be added if we didn't want it.
2908 if test x
$with_gnu_as = xno
; then
2910 noconfigdirs
="$noconfigdirs gas"
2915 # Check whether --with-system-zlib was given.
2916 if test "${with_system_zlib+set}" = set; then :
2917 withval
=$with_system_zlib;
2920 # Make sure we don't let ZLIB be added if we didn't want it.
2921 if test x
$with_system_zlib = xyes
; then
2922 use_included_zlib
=no
2923 noconfigdirs
="$noconfigdirs zlib"
2926 # some tools are so dependent upon X11 that if we're not building with X,
2927 # it's not even worth trying to configure, much less build, that tool.
2930 yes |
"") ;; # the default value for this tree is that X11 is available
2932 skipdirs
="${skipdirs} tk itcl libgui"
2933 # We won't be able to build gdbtk without X.
2936 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2939 # Some are only suitable for cross toolchains.
2940 # Remove these if host=target.
2941 cross_only
="target-libgloss target-newlib target-opcodes"
2943 case $is_cross_compiler in
2944 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2947 # If both --with-headers and --with-libs are specified, default to
2949 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2950 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2951 if test x
"${with_newlib}" = x
; then
2956 # Recognize --with-newlib/--without-newlib.
2957 case ${with_newlib} in
2958 no
) skipdirs
="${skipdirs} target-newlib" ;;
2959 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2962 # Check whether --enable-as-accelerator-for was given.
2963 if test "${enable_as_accelerator_for+set}" = set; then :
2964 enableval
=$enable_as_accelerator_for;
2968 # Check whether --enable-offload-targets was given.
2969 if test "${enable_offload_targets+set}" = set; then :
2970 enableval
=$enable_offload_targets;
2971 if test x
"$enable_offload_targets" = x
; then
2972 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2976 enable_offload_targets
=
2980 # Handle --enable-gold, --enable-ld.
2981 # --disable-gold [--enable-ld]
2982 # Build only ld. Default option.
2983 # --enable-gold [--enable-ld]
2984 # Build both gold and ld. Install gold as "ld.gold", install ld
2985 # as "ld.bfd" and "ld".
2986 # --enable-gold=default [--enable-ld]
2987 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2988 # install ld as "ld.bfd".
2989 # --enable-gold[=default] --disable-ld
2990 # Build only gold, which is then installed as both "ld.gold" and "ld".
2991 # --enable-gold --enable-ld=default
2992 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2994 # In other words, ld is default
2995 # --enable-gold=default --enable-ld=default
2999 # Check whether --enable-gold was given.
3000 if test "${enable_gold+set}" = set; then :
3001 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3006 case "${ENABLE_GOLD}" in
3008 # Check for ELF target.
3011 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3012 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3013 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3014 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl* |
*-*-haiku*)
3016 *-*-linux*aout
* |
*-*-linux*oldld
*)
3024 if test "$is_elf" = "yes"; then
3025 # Check for target supported by gold.
3027 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3028 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3029 configdirs
="$configdirs gold"
3030 if test x
${ENABLE_GOLD} = xdefault
; then
3041 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3045 # Check whether --enable-ld was given.
3046 if test "${enable_ld+set}" = set; then :
3047 enableval
=$enable_ld; ENABLE_LD
=$enableval
3053 case "${ENABLE_LD}" in
3055 if test x
${default_ld} != x
; then
3056 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3062 if test x
${ENABLE_GOLD} != xyes
; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3064 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3066 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3069 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3074 # Decide the default method for compressing debug sections.
3075 # Provide a configure time option to override our default.
3076 # Check whether --enable-compressed_debug_sections was given.
3077 if test "${enable_compressed_debug_sections+set}" = set; then :
3078 enableval
=$enable_compressed_debug_sections;
3079 if test x
"$enable_compressed_debug_sections" = xyes
; then
3080 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3084 enable_compressed_debug_sections
=
3088 # Configure extra directories which are host specific
3092 configdirs
="$configdirs libtermcap" ;;
3095 # A target can indicate whether a language isn't supported for some reason.
3096 # Only spaces may be used in this macro; not newlines or tabs.
3097 unsupported_languages
=
3099 # Remove more programs from consideration, based on the host or
3100 # target this usually means that a port of the program doesn't
3104 i
[3456789]86-*-msdosdjgpp*)
3105 noconfigdirs
="$noconfigdirs tcl tk itcl"
3110 # Check whether --enable-libquadmath was given.
3111 if test "${enable_libquadmath+set}" = set; then :
3112 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3114 ENABLE_LIBQUADMATH
=yes
3117 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3118 noconfigdirs
="$noconfigdirs target-libquadmath"
3122 # Check whether --enable-libquadmath-support was given.
3123 if test "${enable_libquadmath_support+set}" = set; then :
3124 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3126 ENABLE_LIBQUADMATH_SUPPORT
=yes
3129 enable_libquadmath_support
=
3130 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3131 enable_libquadmath_support
=no
3135 # Check whether --enable-libada was given.
3136 if test "${enable_libada+set}" = set; then :
3137 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3142 if test "${ENABLE_LIBADA}" != "yes" ; then
3143 noconfigdirs
="$noconfigdirs gnattools"
3146 # Check whether --enable-libssp was given.
3147 if test "${enable_libssp+set}" = set; then :
3148 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3154 # Check whether --enable-libstdcxx was given.
3155 if test "${enable_libstdcxx+set}" = set; then :
3156 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3158 ENABLE_LIBSTDCXX
=default
3161 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3162 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3165 # If this is accelerator compiler and its target is intelmic we enable
3166 # target liboffloadmic by default. If this is compiler with offloading
3167 # for intelmic we enable host liboffloadmic by default. Otherwise
3168 # liboffloadmic is disabled by default.
3169 # Check whether --enable-liboffloadmic was given.
3170 if test "${enable_liboffloadmic+set}" = set; then :
3171 enableval
=$enable_liboffloadmic; case "$enableval" in
3173 enable_liboffloadmic
=$enableval ;;
3175 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3178 if test x
"$enable_as_accelerator_for" != x
; then
3180 *-intelmic-* |
*-intelmicemul-*)
3181 enable_liboffloadmic
=target
3182 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3185 enable_liboffloadmic
=no
3189 case "${enable_offload_targets}" in
3190 *-intelmic-* |
*-intelmicemul-*)
3191 enable_liboffloadmic
=host
3192 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3195 enable_liboffloadmic
=no
3203 # Save it here so that, even in case of --enable-libgcj, if the Java
3204 # front-end isn't enabled, we still get libgcj disabled.
3205 libgcj_saved
=$libgcj
3206 case $enable_libgcj in
3208 # If we reset it here, it won't get added to noconfigdirs in the
3209 # target-specific build rules, so it will be forcibly enabled
3210 # (unless the Java language itself isn't enabled).
3214 # Make sure we get it printed in the list of not supported target libs.
3215 # Don't disable libffi, though, other languages use it.
3216 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3217 # Clear libgcj_saved so that even if java is enabled libffi won't be
3223 # Check whether --enable-static-libjava was given.
3224 if test "${enable_static_libjava+set}" = set; then :
3225 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3227 ENABLE_STATIC_LIBJAVA
=no
3230 enable_static_libjava
=
3231 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3232 enable_static_libjava
=yes
3235 if test x
$enable_static_libjava != xyes
; then
3236 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3240 # Enable libgomp by default on hosted POSIX systems, and a few others.
3241 if test x
$enable_libgomp = x
; then
3243 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3245 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3247 *-*-solaris2* |
*-*-hpux11*)
3249 *-*-darwin* |
*-*-aix*)
3254 noconfigdirs
="$noconfigdirs target-libgomp"
3259 # Disable libatomic on unsupported systems.
3260 if test -d ${srcdir}/libatomic
; then
3261 if test x
$enable_libatomic = x
; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3263 $as_echo_n "checking for libatomic support... " >&6; }
3264 if (srcdir
=${srcdir}/libatomic
; \
3265 .
${srcdir}/configure.tgt
; \
3266 test -n "$UNSUPPORTED")
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3270 noconfigdirs
="$noconfigdirs target-libatomic"
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3273 $as_echo "yes" >&6; }
3278 # Disable libcilkrts on unsupported systems.
3279 if test -d ${srcdir}/libcilkrts
; then
3280 if test x
$enable_libcilkrts = x
; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3282 $as_echo_n "checking for libcilkrts support... " >&6; }
3283 if (srcdir
=${srcdir}/libcilkrts
; \
3284 .
${srcdir}/configure.tgt
; \
3285 test -n "$UNSUPPORTED")
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 noconfigdirs
="$noconfigdirs target-libcilkrts"
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292 $as_echo "yes" >&6; }
3297 # Disable liboffloadmic on unsupported systems.
3298 if test -d ${srcdir}/liboffloadmic
; then
3299 if test x
$enable_liboffloadmic != xno
; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3301 $as_echo_n "checking for liboffloadmic support... " >&6; }
3302 if (srcdir
=${srcdir}/liboffloadmic
; \
3303 .
${srcdir}/configure.tgt
; \
3304 test -n "$UNSUPPORTED")
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3308 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3311 $as_echo "yes" >&6; }
3316 # Disable libitm on unsupported systems.
3317 if test -d ${srcdir}/libitm
; then
3318 if test x
$enable_libitm = x
; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3320 $as_echo_n "checking for libitm support... " >&6; }
3321 if (srcdir
=${srcdir}/libitm
; \
3322 .
${srcdir}/configure.tgt
; \
3323 test -n "$UNSUPPORTED")
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 noconfigdirs
="$noconfigdirs target-libitm"
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330 $as_echo "yes" >&6; }
3335 # Disable libsanitizer on unsupported systems.
3336 if test -d ${srcdir}/libsanitizer
; then
3337 if test x
$enable_libsanitizer = x
; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3339 $as_echo_n "checking for libsanitizer support... " >&6; }
3340 if (srcdir
=${srcdir}/libsanitizer
; \
3341 .
${srcdir}/configure.tgt
; \
3342 test -n "$UNSUPPORTED")
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3346 noconfigdirs
="$noconfigdirs target-libsanitizer"
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349 $as_echo "yes" >&6; }
3354 # Disable libvtv on unsupported systems.
3355 if test -d ${srcdir}/libvtv
; then
3356 if test x
$enable_libvtv = x
; then
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3358 $as_echo_n "checking for libvtv support... " >&6; }
3359 if (srcdir
=${srcdir}/libvtv
; \
3360 .
${srcdir}/configure.tgt
; \
3361 test "$VTV_SUPPORTED" != "yes")
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3364 $as_echo "no" >&6; }
3365 noconfigdirs
="$noconfigdirs target-libvtv"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3368 $as_echo "yes" >&6; }
3374 # Enable libmpx on supported systems by request.
3375 if test -d ${srcdir}/libmpx
; then
3376 if test x
$enable_libmpx = x
; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3378 $as_echo_n "checking for libmpx support... " >&6; }
3379 if (srcdir
=${srcdir}/libmpx
; \
3380 .
${srcdir}/configure.tgt
; \
3381 test "$LIBMPX_SUPPORTED" != "yes")
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3385 noconfigdirs
="$noconfigdirs target-libmpx"
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3388 $as_echo "yes" >&6; }
3395 # Disable libquadmath for some systems.
3398 noconfigdirs
="$noconfigdirs target-libquadmath"
3400 # libquadmath is unused on AIX and libquadmath build process use of
3401 # LD_LIBRARY_PATH can break AIX bootstrap.
3402 powerpc-
*-aix* | rs6000-
*-aix*)
3403 noconfigdirs
="$noconfigdirs target-libquadmath"
3407 # Disable libssp for some systems.
3410 # No hosted I/O support.
3411 noconfigdirs
="$noconfigdirs target-libssp"
3413 powerpc-
*-aix* | rs6000-
*-aix*)
3414 noconfigdirs
="$noconfigdirs target-libssp"
3417 # libssp uses a misaligned load to trigger a fault, but the RL78
3418 # doesn't fault for those - instead, it gives a build-time error
3419 # for explicit misaligned loads.
3420 noconfigdirs
="$noconfigdirs target-libssp"
3423 # No hosted I/O support.
3424 noconfigdirs
="$noconfigdirs target-libssp"
3428 # Disable libstdc++-v3 for some systems.
3429 # Allow user to override this if they pass --enable-libstdc++-v3
3430 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3433 # VxWorks uses the Dinkumware C++ library.
3434 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3437 # the C++ libraries don't build on top of CE's C libraries
3438 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3441 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3444 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3449 # Disable Fortran for some systems.
3452 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3453 unsupported_languages
="$unsupported_languages fortran"
3457 # Disable Java if libffi is not supported.
3489 powerpc-
*-aix* | rs6000-
*-aix*)
3493 powerpc64-
*-freebsd*)
3497 s390-
*-* | s390x-
*-*)
3499 sh-
*-* | sh
[34]*-*-*)
3506 unsupported_languages
="$unsupported_languages java"
3510 # Disable Java, libgcj or related libraries for some systems.
3514 i
[3456789]86-*-darwin*)
3516 x86_64-
*-darwin[912]*)
3519 noconfigdirs
="$noconfigdirs ${libgcj}"
3522 noconfigdirs
="$noconfigdirs ${libgcj}"
3525 noconfigdirs
="$noconfigdirs ${libgcj}"
3528 noconfigdirs
="$noconfigdirs ${libgcj}"
3531 noconfigdirs
="$noconfigdirs ${libgcj}"
3534 noconfigdirs
="$noconfigdirs ${libgcj}"
3537 noconfigdirs
="$noconfigdirs ${libgcj}"
3540 noconfigdirs
="$noconfigdirs ${libgcj}"
3543 noconfigdirs
="$noconfigdirs ${libgcj}"
3546 noconfigdirs
="$noconfigdirs ${libgcj}"
3549 noconfigdirs
="$noconfigdirs ${libgcj}"
3552 noconfigdirs
="$noconfigdirs target-boehm-gc"
3554 cris-
*-* | crisv32-
*-*)
3555 unsupported_languages
="$unsupported_languages java"
3559 *) # See PR46792 regarding target-libffi.
3560 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3564 # In this case, it's because the hppa64-linux target is for
3565 # the kernel only at this point and has no libc, and thus no
3566 # headers, crt*.o, etc., all of which are needed by these.
3567 unsupported_languages
="$unsupported_languages java"
3570 noconfigdirs
="$noconfigdirs ${libgcj}"
3575 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3576 # build on HP-UX 10.20.
3577 noconfigdirs
="$noconfigdirs ${libgcj}"
3580 noconfigdirs
="$noconfigdirs ${libgcj}"
3582 i
[3456789]86-w64-mingw*)
3583 noconfigdirs
="$noconfigdirs ${libgcj}"
3585 i
[3456789]86-*-mingw*)
3586 noconfigdirs
="$noconfigdirs ${libgcj}"
3589 noconfigdirs
="$noconfigdirs ${libgcj}"
3592 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3595 # copied from rs6000-*-* entry
3596 noconfigdirs
="$noconfigdirs ${libgcj}"
3599 noconfigdirs
="$noconfigdirs ${libgcj}"
3602 noconfigdirs
="$noconfigdirs ${libgcj}"
3605 noconfigdirs
="$noconfigdirs ${libgcj}"
3609 # Disable the go frontend on systems where it is known to not work. Please keep
3610 # this in sync with contrib/config-list.mk.
3612 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3613 unsupported_languages
="$unsupported_languages go"
3617 # Disable libgo for some systems where it is known to not work.
3618 # For testing, you can easily override this with --enable-libgo.
3619 if test x
$enable_libgo = x
; then
3623 noconfigdirs
="$noconfigdirs target-libgo"
3625 *-*-cygwin* |
*-*-mingw*)
3626 noconfigdirs
="$noconfigdirs target-libgo"
3629 noconfigdirs
="$noconfigdirs target-libgo"
3634 # Default libgloss CPU subdirectory.
3635 libgloss_dir
="$target_cpu"
3638 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3642 libgloss_dir
=aarch64
3647 cris-
*-* | crisv32-
*-*)
3656 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3657 libgloss_dir
=m68hc11
3659 m68
*-*-* | fido-
*-*)
3673 # Disable newlib and libgloss for various target OSes.
3676 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3678 i
[3456789]86-*-linux*)
3679 # This section makes it possible to build newlib natively on linux.
3680 # If we are using a cross compiler then don't configure newlib.
3681 if test x
${is_cross_compiler} != xno
; then
3682 noconfigdirs
="$noconfigdirs target-newlib"
3684 noconfigdirs
="$noconfigdirs target-libgloss"
3685 # If we are not using a cross compiler, do configure newlib.
3686 # Note however, that newlib will only be configured in this situation
3687 # if the --with-newlib option has been given, because otherwise
3688 # 'target-newlib' will appear in skipdirs.
3690 i
[3456789]86-*-rdos*)
3691 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3693 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3694 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3697 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3703 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3706 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3709 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3712 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3714 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3715 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3718 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3721 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3724 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3727 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3730 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3733 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3736 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3744 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3745 noconfigdirs
="$noconfigdirs sim target-rda"
3748 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3749 noconfigdirs
="$noconfigdirs sim target-rda"
3752 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3753 noconfigdirs
="$noconfigdirs sim target-rda"
3755 i
[3456789]86-*-darwin*)
3756 noconfigdirs
="$noconfigdirs ld gprof"
3757 noconfigdirs
="$noconfigdirs sim target-rda"
3759 x86_64-
*-darwin[912]*)
3760 noconfigdirs
="$noconfigdirs ld gas gprof"
3761 noconfigdirs
="$noconfigdirs sim target-rda"
3764 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3765 noconfigdirs
="$noconfigdirs sim target-rda"
3770 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3771 && test -f /usr
/local
/include
/gmp.h
; then
3776 # Remove unsupported stuff on all kaOS configurations.
3777 noconfigdirs
="$noconfigdirs target-libgloss"
3784 noconfigdirs
="$noconfigdirs target-libgloss"
3787 noconfigdirs
="$noconfigdirs target-libgloss"
3788 # this is not caught below because this stanza matches earlier
3790 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3793 # The tpf target doesn't support gdb yet.
3795 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3798 noconfigdirs
="$noconfigdirs target-rda"
3803 # ld works, but does not support shared libraries.
3804 # gas doesn't generate exception information.
3805 noconfigdirs
="$noconfigdirs gas ld"
3808 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3811 # newlib is not 64 bit ready
3812 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3814 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3815 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3818 noconfigdirs
="$noconfigdirs target-libgloss"
3821 noconfigdirs
="$noconfigdirs ld target-libgloss"
3824 if test x
${with_avrlibc} != xno
; then
3825 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3828 c4x-
*-* | tic4x-
*-*)
3829 noconfigdirs
="$noconfigdirs target-libgloss"
3832 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3835 noconfigdirs
="$noconfigdirs target-libgloss"
3838 noconfigdirs
="$noconfigdirs gdb"
3841 noconfigdirs
="$noconfigdirs gdb"
3844 noconfigdirs
="$noconfigdirs target-rda gprof"
3847 noconfigdirs
="$noconfigdirs"
3850 noconfigdirs
="$noconfigdirs target-libgloss"
3853 noconfigdirs
="$noconfigdirs target-libgloss"
3855 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3858 noconfigdirs
="$noconfigdirs gdb"
3861 noconfigdirs
="$noconfigdirs gdb ld"
3869 hppa
*-*-openbsd* | \
3875 noconfigdirs
="$noconfigdirs ld"
3878 noconfigdirs
="$noconfigdirs gdb"
3881 # No gdb support yet.
3882 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3885 # No ld support yet.
3886 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3889 # No ld support yet.
3890 noconfigdirs
="$noconfigdirs libgui itcl ld"
3892 i
[3456789]86-w64-mingw*)
3894 i
[3456789]86-*-mingw*)
3895 target_configdirs
="$target_configdirs target-winsup"
3898 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3899 noconfigdirs
="$noconfigdirs target-libgloss"
3900 # always build newlib if winsup directory is present.
3901 if test -d "$srcdir/winsup/cygwin"; then
3902 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3903 elif test -d "$srcdir/newlib"; then
3904 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3908 noconfigdirs
="$noconfigdirs target-libgloss"
3910 i
[3456789]86-*-sco3.2v5
*)
3911 # The linker does not yet know about weak symbols in COFF,
3912 # and is not configured to handle mixed ELF and COFF.
3913 noconfigdirs
="$noconfigdirs ld target-libgloss"
3915 i
[3456789]86-*-sco*)
3916 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3918 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3919 noconfigdirs
="$noconfigdirs target-libgloss"
3921 i
[3456789]86-*-sysv4*)
3922 noconfigdirs
="$noconfigdirs target-libgloss"
3924 i
[3456789]86-*-beos*)
3925 noconfigdirs
="$noconfigdirs gdb"
3927 i
[3456789]86-*-rdos*)
3928 noconfigdirs
="$noconfigdirs gdb"
3931 noconfigdirs
="$noconfigdirs gdb"
3934 noconfigdirs
="$noconfigdirs sim"
3937 # copied from rs6000-*-* entry
3938 noconfigdirs
="$noconfigdirs gprof"
3940 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3941 target_configdirs
="$target_configdirs target-winsup"
3942 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3943 # always build newlib.
3944 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3946 # This is temporary until we can link against shared libraries
3947 powerpcle-
*-solaris*)
3948 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3951 noconfigdirs
="$noconfigdirs gdb"
3954 noconfigdirs
="$noconfigdirs gprof"
3957 noconfigdirs
="$noconfigdirs gprof"
3960 noconfigdirs
="$noconfigdirs gprof"
3963 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3966 noconfigdirs
="$noconfigdirs gprof"
3968 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3969 if test x
$with_newlib = xyes
; then
3970 noconfigdirs
="$noconfigdirs gprof"
3974 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3977 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3980 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3984 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3985 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3986 noconfigdirs
="$noconfigdirs ld gas gprof"
3989 noconfigdirs
="$noconfigdirs gprof"
3992 noconfigdirs
="$noconfigdirs gdb"
3995 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3998 noconfigdirs
="$noconfigdirs gdb"
4005 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4009 if test x
${is_cross_compiler} = xno
; then
4014 noconfigdirs
="$noconfigdirs sim"
4016 tilepro
*-*-* | tilegx
*-*-*)
4017 noconfigdirs
="$noconfigdirs sim"
4020 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4023 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4027 # If we aren't building newlib, then don't build libgloss, since libgloss
4028 # depends upon some newlib header files.
4029 case "${noconfigdirs}" in
4030 *target-libgloss
*) ;;
4031 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4034 # Work in distributions that contain no compiler tools, like Autoconf.
4035 host_makefile_frag
=/dev
/null
4036 if test -d ${srcdir}/config
; then
4038 i
[3456789]86-*-msdosdjgpp*)
4039 host_makefile_frag
="config/mh-djgpp"
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4044 $as_echo_n "checking to see if cat works as expected... " >&6; }
4045 echo a
>cygwin-cat-check
4046 if test `cat cygwin-cat-check` = a
; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4049 $as_echo "yes" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4054 as_fn_error $?
"The cat command does not ignore carriage return characters.
4055 Please either mount the build directory in binary mode or run the following
4056 commands before running any configure script:
4062 host_makefile_frag
="config/mh-cygwin"
4065 host_makefile_frag
="config/mh-mingw"
4068 host_makefile_frag
="config/mh-alpha-linux"
4071 host_makefile_frag
="config/mh-pa-hpux10"
4074 host_makefile_frag
="config/mh-pa"
4077 host_makefile_frag
="config/mh-pa"
4080 host_makefile_frag
="config/mh-darwin"
4083 host_makefile_frag
="config/mh-ppc-aix"
4086 host_makefile_frag
="config/mh-ppc-aix"
4091 if test "${build}" != "${host}" ; then
4092 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4093 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4094 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4095 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4096 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
4097 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4098 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4099 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4100 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4101 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4102 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4103 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4104 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4106 AR_FOR_BUILD
="\$(AR)"
4107 AS_FOR_BUILD
="\$(AS)"
4108 CC_FOR_BUILD
="\$(CC)"
4109 CXX_FOR_BUILD
="\$(CXX)"
4110 GCJ_FOR_BUILD
="\$(GCJ)"
4111 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4112 GOC_FOR_BUILD
="\$(GOC)"
4113 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4114 LD_FOR_BUILD
="\$(LD)"
4115 NM_FOR_BUILD
="\$(NM)"
4116 RANLIB_FOR_BUILD
="\$(RANLIB)"
4117 WINDRES_FOR_BUILD
="\$(WINDRES)"
4118 WINDMC_FOR_BUILD
="\$(WINDMC)"
4122 ac_cpp
='$CPP $CPPFLAGS'
4123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4126 if test -n "$ac_tool_prefix"; then
4127 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4128 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if ${ac_cv_prog_CC+:} false
; then :
4132 $as_echo_n "(cached) " >&6
4134 if test -n "$CC"; then
4135 ac_cv_prog_CC
="$CC" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 if test -n "$CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4157 $as_echo "$CC" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4165 if test -z "$ac_cv_prog_CC"; then
4167 # Extract the first word of "gcc", so it can be a program name with args.
4168 set dummy gcc
; ac_word
=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4172 $as_echo_n "(cached) " >&6
4174 if test -n "$ac_ct_CC"; then
4175 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_exec_ext
in '' $ac_executable_extensions; do
4183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_ac_ct_CC
="gcc"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4195 if test -n "$ac_ct_CC"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4197 $as_echo "$ac_ct_CC" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4203 if test "x$ac_ct_CC" = x
; then
4206 case $cross_compiling:$ac_tool_warned in
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4210 ac_tool_warned
=yes ;;
4218 if test -z "$CC"; then
4219 if test -n "$ac_tool_prefix"; then
4220 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4221 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CC+:} false
; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$CC"; then
4228 ac_cv_prog_CC
="$CC" # Let the user override the test.
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_exec_ext
in '' $ac_executable_extensions; do
4236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 if test -n "$CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250 $as_echo "$CC" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4259 if test -z "$CC"; then
4260 # Extract the first word of "cc", so it can be a program name with args.
4261 set dummy cc
; ac_word
=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_CC+:} false
; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -n "$CC"; then
4268 ac_cv_prog_CC
="$CC" # Let the user override the test.
4271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir
=.
4276 for ac_exec_ext
in '' $ac_executable_extensions; do
4277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4278 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4279 ac_prog_rejected
=yes
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 if test $ac_prog_rejected = yes; then
4291 # We found a bogon in the path, so make sure we never use it.
4292 set dummy
$ac_cv_prog_CC
4294 if test $# != 0; then
4295 # We chose a different compiler from the bogus one.
4296 # However, it has the same basename, so the bogon will be chosen
4297 # first if we set CC to just the basename; use the full file name.
4299 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4305 if test -n "$CC"; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4307 $as_echo "$CC" >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310 $as_echo "no" >&6; }
4315 if test -z "$CC"; then
4316 if test -n "$ac_tool_prefix"; then
4317 for ac_prog
in cl.exe
4319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4320 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322 $as_echo_n "checking for $ac_word... " >&6; }
4323 if ${ac_cv_prog_CC+:} false
; then :
4324 $as_echo_n "(cached) " >&6
4326 if test -n "$CC"; then
4327 ac_cv_prog_CC
="$CC" # Let the user override the test.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 if test -n "$CC"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4349 $as_echo "$CC" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4356 test -n "$CC" && break
4359 if test -z "$CC"; then
4361 for ac_prog
in cl.exe
4363 # Extract the first word of "$ac_prog", so it can be a program name with args.
4364 set dummy
$ac_prog; ac_word
=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4368 $as_echo_n "(cached) " >&6
4370 if test -n "$ac_ct_CC"; then
4371 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_ac_ct_CC
="$ac_prog"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4391 if test -n "$ac_ct_CC"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4393 $as_echo "$ac_ct_CC" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4400 test -n "$ac_ct_CC" && break
4403 if test "x$ac_ct_CC" = x
; then
4406 case $cross_compiling:$ac_tool_warned in
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4410 ac_tool_warned
=yes ;;
4419 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4421 as_fn_error $?
"no acceptable C compiler found in \$PATH
4422 See \`config.log' for more details" "$LINENO" 5; }
4424 # Provide some information about the compiler.
4425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4428 for ac_option
in --version -v -V -qversion; do
4429 { { ac_try
="$ac_compiler $ac_option >&5"
4431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4435 $as_echo "$ac_try_echo"; } >&5
4436 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4438 if test -s conftest.err; then
4440 ... rest of stderr output deleted ...
4441 10q' conftest.err >conftest.er1
4442 cat conftest.er1 >&5
4444 rm -f conftest.er1 conftest.err
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4460 ac_clean_files_save=$ac_clean_files
4461 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4462 # Try to create an executable without -o first, disregard a.out.
4463 # It will help us diagnose broken compilers, and finding out an intuition
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4466 $as_echo_n "checking whether the C compiler works... " >&6; }
4467 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4469 # The possible output files:
4470 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4473 for ac_file in $ac_files
4476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4477 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4482 if { { ac_try="$ac_link_default"
4484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4485 *) ac_try_echo
=$ac_try;;
4487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_link_default") 2>&5
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }; then :
4493 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4494 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4495 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4496 # so that the user can short-circuit this test for compilers unknown to
4498 for ac_file
in $ac_files ''
4500 test -f "$ac_file" ||
continue
4502 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4505 # We found the default executable, but exeext='' is most
4509 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4511 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4513 # We set ac_cv_exeext here because the later test for it is not
4514 # safe: cross compilers may not add the suffix if given an `-o'
4515 # argument, so we may need to know it at that point already.
4516 # Even if this section looks crufty: it has the advantage of
4523 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4528 if test -z "$ac_file"; then :
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530 $as_echo "no" >&6; }
4531 $as_echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error
77 "C compiler cannot create executables
4537 See \`config.log' for more details" "$LINENO" 5; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4540 $as_echo "yes" >&6; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4543 $as_echo_n "checking for C compiler default output file name... " >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4545 $as_echo "$ac_file" >&6; }
4546 ac_exeext
=$ac_cv_exeext
4548 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4549 ac_clean_files
=$ac_clean_files_save
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4551 $as_echo_n "checking for suffix of executables... " >&6; }
4552 if { { ac_try
="$ac_link"
4554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4558 $as_echo "$ac_try_echo"; } >&5
4559 (eval "$ac_link") 2>&5
4561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4562 test $ac_status = 0; }; then :
4563 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4564 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4565 # work properly (i.e., refer to `conftest.exe'), while it won't with
4567 for ac_file
in conftest.exe conftest conftest.
*; do
4568 test -f "$ac_file" ||
continue
4570 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4571 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4579 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4580 See \`config.log' for more details" "$LINENO" 5; }
4582 rm -f conftest conftest
$ac_cv_exeext
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4584 $as_echo "$ac_cv_exeext" >&6; }
4586 rm -f conftest.
$ac_ext
4587 EXEEXT
=$ac_cv_exeext
4589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4595 FILE *f = fopen ("conftest.out", "w");
4596 return ferror (f) || fclose (f) != 0;
4602 ac_clean_files
="$ac_clean_files conftest.out"
4603 # Check that the compiler produces executables we can run. If not, either
4604 # the compiler is broken, or we cross compile.
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4606 $as_echo_n "checking whether we are cross compiling... " >&6; }
4607 if test "$cross_compiling" != yes; then
4608 { { ac_try
="$ac_link"
4610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4611 *) ac_try_echo=$ac_try;;
4613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_link") 2>&5
4617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618 test $ac_status = 0; }
4619 if { ac_try='./conftest$ac_cv_exeext'
4620 { { case "(($ac_try" in
4621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4622 *) ac_try_echo
=$ac_try;;
4624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4625 $as_echo "$ac_try_echo"; } >&5
4626 (eval "$ac_try") 2>&5
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; }; }; then
4632 if test "$cross_compiling" = maybe
; then
4635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4637 as_fn_error $?
"cannot run C compiled programs.
4638 If you meant to cross compile, use \`--host'.
4639 See \`config.log' for more details" "$LINENO" 5; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4644 $as_echo "$cross_compiling" >&6; }
4646 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4647 ac_clean_files
=$ac_clean_files_save
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4649 $as_echo_n "checking for suffix of object files... " >&6; }
4650 if ${ac_cv_objext+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4664 rm -f conftest.o conftest.obj
4665 if { { ac_try
="$ac_compile"
4667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4671 $as_echo "$ac_try_echo"; } >&5
4672 (eval "$ac_compile") 2>&5
4674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4675 test $ac_status = 0; }; then :
4676 for ac_file in conftest.o conftest.obj conftest.*; do
4677 test -f "$ac_file" || continue;
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4680 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4691 See \
`config.log' for more details" "$LINENO" 5; }
4693 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4696 $as_echo "$ac_cv_objext" >&6; }
4697 OBJEXT=$ac_cv_objext
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4700 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4701 if ${ac_cv_c_compiler_gnu+:} false; then :
4702 $as_echo_n "(cached) " >&6
4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4718 if ac_fn_c_try_compile "$LINENO"; then :
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4728 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4729 if test $ac_compiler_gnu = yes; then
4734 ac_test_CFLAGS=${CFLAGS+set}
4735 ac_save_CFLAGS=$CFLAGS
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4737 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4738 if ${ac_cv_prog_cc_g+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 ac_save_c_werror_flag=$ac_c_werror_flag
4742 ac_c_werror_flag=yes
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4756 if ac_fn_c_try_compile "$LINENO"; then :
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_c_try_compile "$LINENO"; then :
4774 ac_c_werror_flag=$ac_save_c_werror_flag
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4787 if ac_fn_c_try_compile "$LINENO"; then :
4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 ac_c_werror_flag=$ac_save_c_werror_flag
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4798 $as_echo "$ac_cv_prog_cc_g" >&6; }
4799 if test "$ac_test_CFLAGS" = set; then
4800 CFLAGS=$ac_save_CFLAGS
4801 elif test $ac_cv_prog_cc_g = yes; then
4802 if test "$GCC" = yes; then
4808 if test "$GCC" = yes; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4815 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4816 if ${ac_cv_prog_cc_c89+:} false; then :
4817 $as_echo_n "(cached) " >&6
4819 ac_cv_prog_cc_c89=no
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4826 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4827 struct buf { int x; };
4828 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4829 static char *e (p, i)
4835 static char *f (char * (*g) (char **, int), char **p, ...)
4840 s = g (p, va_arg (v,int));
4845 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4846 function prototypes and stuff, but not '\xHH' hex character constants.
4847 These don't provoke an error unfortunately, instead are silently treated
4848 as 'x'. The following induces an error, until -std is added to get
4849 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4850 array size at least. It's necessary to write '\x00'==0 to get something
4851 that's true only with -std. */
4852 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4854 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4855 inside strings and character constants. */
4857 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4859 int test (int i, double x);
4860 struct s1 {int (*f) (int a);};
4861 struct s2 {int (*f) (double a);};
4862 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4874 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4876 CC="$ac_save_CC $ac_arg"
4877 if ac_fn_c_try_compile "$LINENO"; then :
4878 ac_cv_prog_cc_c89=$ac_arg
4880 rm -f core conftest.err conftest.$ac_objext
4881 test "x$ac_cv_prog_cc_c89" != "xno" && break
4883 rm -f conftest.$ac_ext
4888 case "x$ac_cv_prog_cc_c89" in
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4891 $as_echo "none needed" >&6; } ;;
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4894 $as_echo "unsupported" >&6; } ;;
4896 CC="$CC $ac_cv_prog_cc_c89"
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4898 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4900 if test "x$ac_cv_prog_cc_c89" != xno; then :
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4911 ac_cpp='$CXXCPP $CPPFLAGS'
4912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4915 if test -z "$CXX"; then
4916 if test -n "$CCC"; then
4919 if test -n "$ac_tool_prefix"; then
4920 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_CXX+:} false; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -n "$CXX"; then
4930 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 if test -n "$CXX"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4952 $as_echo "$CXX" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4959 test -n "$CXX" && break
4962 if test -z "$CXX"; then
4964 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4966 # Extract the first word of "$ac_prog", so it can be a program name with args.
4967 set dummy $ac_prog; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$ac_ct_CXX"; then
4974 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_ac_ct_CXX="$ac_prog"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4994 if test -n "$ac_ct_CXX"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4996 $as_echo "$ac_ct_CXX" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 test -n "$ac_ct_CXX" && break
5006 if test "x$ac_ct_CXX" = x; then
5009 case $cross_compiling:$ac_tool_warned in
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5013 ac_tool_warned=yes ;;
5021 # Provide some information about the compiler.
5022 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5025 for ac_option in --version -v -V -qversion; do
5026 { { ac_try="$ac_compiler $ac_option >&5"
5028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5029 *) ac_try_echo
=$ac_try;;
5031 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5032 $as_echo "$ac_try_echo"; } >&5
5033 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5035 if test -s conftest.err
; then
5037 ... rest of stderr output deleted ...
5038 10q' conftest.err
>conftest.er1
5039 cat conftest.er1
>&5
5041 rm -f conftest.er1 conftest.err
5042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5043 test $ac_status = 0; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5047 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5048 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5049 $as_echo_n "(cached) " >&6
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5065 if ac_fn_cxx_try_compile
"$LINENO"; then :
5070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5071 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5075 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5076 if test $ac_compiler_gnu = yes; then
5081 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5082 ac_save_CXXFLAGS
=$CXXFLAGS
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5084 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5085 if ${ac_cv_prog_cxx_g+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5089 ac_cxx_werror_flag
=yes
5092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5103 if ac_fn_cxx_try_compile
"$LINENO"; then :
5104 ac_cv_prog_cxx_g
=yes
5107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5118 if ac_fn_cxx_try_compile
"$LINENO"; then :
5121 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5134 if ac_fn_cxx_try_compile
"$LINENO"; then :
5135 ac_cv_prog_cxx_g
=yes
5137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5142 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5145 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5146 if test "$ac_test_CXXFLAGS" = set; then
5147 CXXFLAGS
=$ac_save_CXXFLAGS
5148 elif test $ac_cv_prog_cxx_g = yes; then
5149 if test "$GXX" = yes; then
5155 if test "$GXX" = yes; then
5162 ac_cpp
='$CPP $CPPFLAGS'
5163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5168 # We must set the default linker to the linker used by gcc for the correct
5169 # operation of libtool. If LD is not defined and we are using gcc, try to
5170 # set the LD default to the ld used by gcc.
5171 if test -z "$LD"; then
5172 if test "$GCC" = yes; then
5175 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5177 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5179 case $gcc_prog_ld in
5180 # Accept absolute paths.
5181 [\\/]* |
[A-Za-z
]:[\\/]*)
5182 LD
="$gcc_prog_ld" ;;
5187 # Check whether -static-libstdc++ -static-libgcc is supported.
5189 if test "$GCC" = yes; then
5190 saved_LDFLAGS
="$LDFLAGS"
5192 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5194 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5196 ac_cpp
='$CXXCPP $CPPFLAGS'
5197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5205 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5206 #error -static-libstdc++ not implemented
5210 if ac_fn_cxx_try_link
"$LINENO"; then :
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5212 $as_echo "yes" >&6; }; have_static_libs
=yes
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5217 rm -f core conftest.err conftest.
$ac_objext \
5218 conftest
$ac_exeext conftest.
$ac_ext
5220 ac_cpp
='$CPP $CPPFLAGS'
5221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5226 LDFLAGS
="$saved_LDFLAGS"
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5234 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_GNATBIND+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$GNATBIND"; then
5241 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 GNATBIND
=$ac_cv_prog_GNATBIND
5261 if test -n "$GNATBIND"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5263 $as_echo "$GNATBIND" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5271 if test -z "$ac_cv_prog_GNATBIND"; then
5272 ac_ct_GNATBIND
=$GNATBIND
5273 # Extract the first word of "gnatbind", so it can be a program name with args.
5274 set dummy gnatbind
; ac_word
=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$ac_ct_GNATBIND"; then
5281 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir
=.
5288 for ac_exec_ext
in '' $ac_executable_extensions; do
5289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5301 if test -n "$ac_ct_GNATBIND"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5303 $as_echo "$ac_ct_GNATBIND" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5309 if test "x$ac_ct_GNATBIND" = x
; then
5312 case $cross_compiling:$ac_tool_warned in
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned
=yes ;;
5318 GNATBIND
=$ac_ct_GNATBIND
5321 GNATBIND
="$ac_cv_prog_GNATBIND"
5324 if test -n "$ac_tool_prefix"; then
5325 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5326 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5330 $as_echo_n "(cached) " >&6
5332 if test -n "$GNATMAKE"; then
5333 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352 GNATMAKE
=$ac_cv_prog_GNATMAKE
5353 if test -n "$GNATMAKE"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5355 $as_echo "$GNATMAKE" >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5363 if test -z "$ac_cv_prog_GNATMAKE"; then
5364 ac_ct_GNATMAKE
=$GNATMAKE
5365 # Extract the first word of "gnatmake", so it can be a program name with args.
5366 set dummy gnatmake
; ac_word
=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5370 $as_echo_n "(cached) " >&6
5372 if test -n "$ac_ct_GNATMAKE"; then
5373 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5393 if test -n "$ac_ct_GNATMAKE"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5395 $as_echo "$ac_ct_GNATMAKE" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5401 if test "x$ac_ct_GNATMAKE" = x
; then
5404 case $cross_compiling:$ac_tool_warned in
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408 ac_tool_warned
=yes ;;
5410 GNATMAKE
=$ac_ct_GNATMAKE
5413 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5417 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5418 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5419 $as_echo_n "(cached) " >&6
5421 cat >conftest.adb
<<EOF
5422 procedure conftest is begin null; end conftest;
5424 acx_cv_cc_gcc_supports_ada
=no
5425 # There is a bug in old released versions of GCC which causes the
5426 # driver to exit successfully when the appropriate language module
5427 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5428 # Therefore we must check for the error message as well as an
5429 # unsuccessful exit.
5430 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5431 # given a .adb file, but produce no object file. So we must check
5432 # if an object file was really produced to guard against this.
5433 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5434 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5435 acx_cv_cc_gcc_supports_ada
=yes
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5440 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5442 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5449 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5450 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5451 $as_echo_n "(cached) " >&6
5455 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5456 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5457 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5460 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5463 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5464 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5467 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5474 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5475 do_compare
="$gcc_cv_prog_cmp_skip"
5479 # Check whether --enable-bootstrap was given.
5480 if test "${enable_bootstrap+set}" = set; then :
5481 enableval
=$enable_bootstrap;
5483 enable_bootstrap
=default
5487 # Issue errors and warnings for invalid/strange bootstrap combinations.
5488 if test -r $srcdir/gcc
/configure
; then
5494 case "$have_compiler:$host:$target:$enable_bootstrap" in
5497 # Default behavior. Enable bootstrap if we have a compiler
5498 # and we are in a native configuration.
5499 yes:$build:$build:default
)
5500 enable_bootstrap
=yes ;;
5503 enable_bootstrap
=no
;;
5505 # We have a compiler and we are in a native configuration, bootstrap is ok
5506 yes:$build:$build:yes)
5509 # Other configurations, but we have a compiler. Assume the user knows
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5513 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5516 # No compiler: if they passed --enable-bootstrap explicitly, fail
5518 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5520 # Fail if wrong command line
5522 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5526 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5527 # C++98 compiler can still start the bootstrap.
5528 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5529 CXX
="$CXX -std=gnu++98"
5532 # Used for setting $lt_cv_objdir
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5534 $as_echo_n "checking for objdir... " >&6; }
5535 if ${lt_cv_objdir+:} false
; then :
5536 $as_echo_n "(cached) " >&6
5538 rm -f .libs
2>/dev
/null
5539 mkdir .libs
2>/dev
/null
5540 if test -d .libs
; then
5543 # MS-DOS does not allow filenames that begin with a dot.
5546 rmdir .libs
2>/dev
/null
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5549 $as_echo "$lt_cv_objdir" >&6; }
5550 objdir
=$lt_cv_objdir
5556 cat >>confdefs.h
<<_ACEOF
5557 #define LT_OBJDIR "$lt_cv_objdir/"
5562 # Check for GMP, MPFR and MPC
5563 gmplibs
="-lmpc -lmpfr -lgmp"
5567 # Specify a location for mpc
5568 # check for this first so it ends up on the link line before mpfr.
5570 # Check whether --with-mpc was given.
5571 if test "${with_mpc+set}" = set; then :
5576 # Check whether --with-mpc-include was given.
5577 if test "${with_mpc_include+set}" = set; then :
5578 withval
=$with_mpc_include;
5582 # Check whether --with-mpc-lib was given.
5583 if test "${with_mpc_lib+set}" = set; then :
5584 withval
=$with_mpc_lib;
5588 if test "x$with_mpc" != x
; then
5589 gmplibs
="-L$with_mpc/lib $gmplibs"
5590 gmpinc
="-I$with_mpc/include $gmpinc"
5592 if test "x$with_mpc_include" != x
; then
5593 gmpinc
="-I$with_mpc_include $gmpinc"
5595 if test "x$with_mpc_lib" != x
; then
5596 gmplibs
="-L$with_mpc_lib $gmplibs"
5598 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5599 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5600 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5601 # Do not test the mpc version. Assume that it is sufficient, since
5602 # it is in the source tree, and the library has not been built yet
5603 # but it would be included on the link line in the version check below
5604 # hence making the test fail.
5608 # Specify a location for mpfr
5609 # check for this first so it ends up on the link line before gmp.
5611 # Check whether --with-mpfr-dir was given.
5612 if test "${with_mpfr_dir+set}" = set; then :
5613 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5614 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5619 # Check whether --with-mpfr was given.
5620 if test "${with_mpfr+set}" = set; then :
5625 # Check whether --with-mpfr-include was given.
5626 if test "${with_mpfr_include+set}" = set; then :
5627 withval
=$with_mpfr_include;
5631 # Check whether --with-mpfr-lib was given.
5632 if test "${with_mpfr_lib+set}" = set; then :
5633 withval
=$with_mpfr_lib;
5637 if test "x$with_mpfr" != x
; then
5638 gmplibs
="-L$with_mpfr/lib $gmplibs"
5639 gmpinc
="-I$with_mpfr/include $gmpinc"
5641 if test "x$with_mpfr_include" != x
; then
5642 gmpinc
="-I$with_mpfr_include $gmpinc"
5644 if test "x$with_mpfr_lib" != x
; then
5645 gmplibs
="-L$with_mpfr_lib $gmplibs"
5647 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5648 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5649 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5650 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5651 # Do not test the mpfr version. Assume that it is sufficient, since
5652 # it is in the source tree, and the library has not been built yet
5653 # but it would be included on the link line in the version check below
5654 # hence making the test fail.
5658 # Specify a location for gmp
5660 # Check whether --with-gmp-dir was given.
5661 if test "${with_gmp_dir+set}" = set; then :
5662 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5663 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5668 # Check whether --with-gmp was given.
5669 if test "${with_gmp+set}" = set; then :
5674 # Check whether --with-gmp-include was given.
5675 if test "${with_gmp_include+set}" = set; then :
5676 withval
=$with_gmp_include;
5680 # Check whether --with-gmp-lib was given.
5681 if test "${with_gmp_lib+set}" = set; then :
5682 withval
=$with_gmp_lib;
5687 if test "x$with_gmp" != x
; then
5688 gmplibs
="-L$with_gmp/lib $gmplibs"
5689 gmpinc
="-I$with_gmp/include $gmpinc"
5691 if test "x$with_gmp_include" != x
; then
5692 gmpinc
="-I$with_gmp_include $gmpinc"
5694 if test "x$with_gmp_lib" != x
; then
5695 gmplibs
="-L$with_gmp_lib $gmplibs"
5697 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5698 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5699 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5700 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5701 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5702 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5703 # Do not test the gmp version. Assume that it is sufficient, since
5704 # it is in the source tree, and the library has not been built yet
5705 # but it would be included on the link line in the version check below
5706 # hence making the test fail.
5710 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5712 saved_CFLAGS
="$CFLAGS"
5713 CFLAGS
="$CFLAGS $gmpinc"
5714 # Check for the recommended and required versions of GMP.
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5716 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5725 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5726 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5727 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5735 if ac_fn_c_try_compile
"$LINENO"; then :
5736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5743 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5744 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5745 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5753 if ac_fn_c_try_compile
"$LINENO"; then :
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5755 $as_echo "yes" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5758 $as_echo "buggy but acceptable" >&6; }
5760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }; have_gmp
=no
5765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5767 # If we have GMP, check the MPFR version.
5768 if test x
"$have_gmp" = xyes
; then
5769 # Check for the recommended and required versions of MPFR.
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5771 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5780 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5788 if ac_fn_c_try_compile
"$LINENO"; then :
5789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5797 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5805 if ac_fn_c_try_compile
"$LINENO"; then :
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5807 $as_echo "yes" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5810 $as_echo "buggy but acceptable" >&6; }
5812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5815 $as_echo "no" >&6; }; have_gmp
=no
5817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5820 # Check for the MPC header version.
5821 if test x
"$have_gmp" = xyes
; then
5822 # Check for the recommended and required versions of MPC.
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5824 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5832 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5840 if ac_fn_c_try_compile
"$LINENO"; then :
5841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5848 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5856 if ac_fn_c_try_compile
"$LINENO"; then :
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5858 $as_echo "yes" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5861 $as_echo "buggy but acceptable" >&6; }
5863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }; have_gmp
=no
5868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 # Now check the MPFR library.
5872 if test x
"$have_gmp" = xyes
; then
5874 LIBS
="$LIBS $gmplibs"
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5876 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5878 /* end confdefs.h. */
5890 mpfr_atan2 (n, n, x, GMP_RNDN);
5891 mpfr_erfc (n, x, GMP_RNDN);
5892 mpfr_subnormalize (x, t, GMP_RNDN);
5896 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5897 mpc_cosh (c, c, MPC_RNDNN);
5898 mpc_pow (c, c, c, MPC_RNDNN);
5899 mpc_acosh (c, c, MPC_RNDNN);
5906 if ac_fn_c_try_link
"$LINENO"; then :
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5908 $as_echo "yes" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }; have_gmp
=no
5913 rm -f core conftest.err conftest.
$ac_objext \
5914 conftest
$ac_exeext conftest.
$ac_ext
5918 CFLAGS
="$saved_CFLAGS"
5920 # The library versions listed in the error message below should match
5921 # the HARD-minimums enforced above.
5922 if test x
$have_gmp != xyes
; then
5923 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5924 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5925 their locations. Source code for these libraries can be found at
5926 their respective hosting sites as well as at
5927 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5928 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5929 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5930 make sure that you have installed both the libraries and the header
5931 files. They may be located in separate packages." "$LINENO" 5
5935 # Flags needed for both GMP, MPFR and/or MPC.
5943 # Libraries to use for stage1 or when not bootstrapping.
5945 # Check whether --with-stage1-libs was given.
5946 if test "${with_stage1_libs+set}" = set; then :
5947 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5950 stage1_libs
=$withval
5958 # Linker flags to use for stage1 or when not bootstrapping.
5960 # Check whether --with-stage1-ldflags was given.
5961 if test "${with_stage1_ldflags+set}" = set; then :
5962 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5965 stage1_ldflags
=$withval
5969 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5970 # if supported. But if the user explicitly specified the libraries to use,
5971 # trust that they are doing what they want.
5972 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5973 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5979 # Libraries to use for stage2 and later builds.
5981 # Check whether --with-boot-libs was given.
5982 if test "${with_boot_libs+set}" = set; then :
5983 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5986 poststage1_libs
=$withval
5994 # Linker flags to use for stage2 and later builds.
5996 # Check whether --with-boot-ldflags was given.
5997 if test "${with_boot_ldflags+set}" = set; then :
5998 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6001 poststage1_ldflags
=$withval
6005 # In stages 2 and 3, default to linking libstdc++ and libgcc
6006 # statically. But if the user explicitly specified the libraries to
6007 # use, trust that they are doing what they want.
6008 if test "$poststage1_libs" = ""; then
6009 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6015 # GCC GRAPHITE dependency isl.
6016 # Basic setup is inlined here, actual checks are in config/isl.m4
6019 # Check whether --with-isl was given.
6020 if test "${with_isl+set}" = set; then :
6025 # Treat --without-isl as a request to disable
6026 # GRAPHITE support and skip all following checks.
6027 if test "x$with_isl" != "xno"; then
6031 # Check whether --with-isl-include was given.
6032 if test "${with_isl_include+set}" = set; then :
6033 withval
=$with_isl_include;
6037 # Check whether --with-isl-lib was given.
6038 if test "${with_isl_lib+set}" = set; then :
6039 withval
=$with_isl_lib;
6043 # Check whether --enable-isl-version-check was given.
6044 if test "${enable_isl_version_check+set}" = set; then :
6045 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6047 ENABLE_ISL_CHECK
=yes
6051 # Initialize isllibs and islinc.
6060 isllibs
="-L$with_isl/lib"
6061 islinc
="-I$with_isl/include"
6064 if test "x${with_isl_include}" != x
; then
6065 islinc
="-I$with_isl_include"
6067 if test "x${with_isl_lib}" != x
; then
6068 isllibs
="-L$with_isl_lib"
6070 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6071 && test -d ${srcdir}/isl
; then
6072 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6073 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6076 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6079 isllibs
="${isllibs} -lisl"
6083 if test "${ENABLE_ISL_CHECK}" = yes ; then
6084 _isl_saved_CFLAGS
=$CFLAGS
6085 _isl_saved_LDFLAGS
=$LDFLAGS
6086 _isl_saved_LIBS
=$LIBS
6088 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6089 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6090 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
6093 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
6094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6096 #include <isl/ctx.h>
6100 isl_ctx_get_max_operations (isl_ctx_alloc ());
6105 if ac_fn_c_try_link
"$LINENO"; then :
6110 rm -f core conftest.err conftest.
$ac_objext \
6111 conftest
$ac_exeext conftest.
$ac_ext
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6113 $as_echo "$gcc_cv_isl" >&6; }
6115 if test "${gcc_cv_isl}" = no
; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&5
6117 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
6121 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
6122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 #include <isl/schedule.h>
6128 isl_options_set_schedule_serialize_sccs (NULL, 0);
6133 if ac_fn_c_try_link
"$LINENO"; then :
6134 ac_has_isl_options_set_schedule_serialize_sccs
=yes
6136 ac_has_isl_options_set_schedule_serialize_sccs
=no
6138 rm -f core conftest.err conftest.
$ac_objext \
6139 conftest
$ac_exeext conftest.
$ac_ext
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
6141 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
6143 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
6148 CFLAGS
=$_isl_saved_CFLAGS
6149 LDFLAGS
=$_isl_saved_LDFLAGS
6150 LIBS
=$_isl_saved_LIBS
6158 if test "x${with_isl}" = xno
; then
6159 graphite_requested
=no
6160 elif test "x${with_isl}" != x \
6161 ||
test "x${with_isl_include}" != x \
6162 ||
test "x${with_isl_lib}" != x
; then
6163 graphite_requested
=yes
6165 graphite_requested
=no
6170 if test "${gcc_cv_isl}" = no
; then
6175 if test "${graphite_requested}" = yes \
6176 && test "x${isllibs}" = x \
6177 && test "x${islinc}" = x
; then
6179 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6185 # If the isl check failed, disable builds of in-tree variant of isl
6186 if test "x$with_isl" = xno ||
6187 test "x$gcc_cv_isl" = xno
; then
6188 noconfigdirs
="$noconfigdirs isl"
6195 # Check for LTO support.
6196 # Check whether --enable-lto was given.
6197 if test "${enable_lto+set}" = set; then :
6198 enableval
=$enable_lto; enable_lto
=$enableval
6200 enable_lto
=yes; default_enable_lto
=yes
6209 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6210 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6211 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
6220 if test $target_elf = yes; then :
6221 # ELF platforms build the lto-plugin always.
6222 build_lto_plugin
=yes
6225 if test x
"$default_enable_lto" = x
"yes" ; then
6227 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6228 # On other non-ELF platforms, LTO has yet to be validated.
6232 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6233 # It would also be nice to check the binutils support, but we don't
6234 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6235 # warn during gcc/ subconfigure; unless you're bootstrapping with
6236 # -flto it won't be needed until after installation anyway.
6238 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6239 *) if test x
"$enable_lto" = x
"yes"; then
6240 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6245 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6246 # Build it unless LTO was explicitly disabled.
6248 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6255 # Check whether --enable-linker-plugin-configure-flags was given.
6256 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6257 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6259 extra_linker_plugin_configure_flags
=
6263 # Check whether --enable-linker-plugin-flags was given.
6264 if test "${enable_linker_plugin_flags+set}" = set; then :
6265 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6267 extra_linker_plugin_flags
=
6273 # By default, C and C++ are the only stage 1 languages.
6274 stage1_languages
=,c
,
6276 # Target libraries that we bootstrap.
6277 bootstrap_target_libs
=,target-libgcc
,
6279 # Figure out what language subdirectories are present.
6280 # Look if the user specified --enable-languages="..."; if not, use
6281 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6283 # NB: embedded tabs in this IF block -- do not untabify
6284 if test -d ${srcdir}/gcc
; then
6285 if test x
"${enable_languages+set}" != xset
; then
6286 if test x
"${LANGUAGES+set}" = xset
; then
6287 enable_languages
="${LANGUAGES}"
6288 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6290 enable_languages
=all
6293 if test x
"${enable_languages}" = x ||
6294 test x
"${enable_languages}" = xyes
;
6296 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6300 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6302 # 'f95' is the old name for the 'fortran' language. We issue a warning
6303 # and make the substitution.
6304 case ,${enable_languages}, in
6306 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6307 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6311 # If bootstrapping, C++ must be enabled.
6312 case ",$enable_languages,:$enable_bootstrap" in
6315 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6316 enable_languages
="${enable_languages},c++"
6318 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6323 # First scan to see if an enabled language requires some other language.
6324 # We assume that a given config-lang.in will list all the language
6325 # front ends it requires, even if some are required indirectly.
6326 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6327 case ${lang_frag} in
6329 # The odd quoting in the next line works around
6330 # an apparent bug in bash 1.12 on linux.
6331 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6333 # From the config-lang.in, get $language, $lang_requires, and
6334 # $lang_requires_boot_languages.
6337 lang_requires_boot_languages
=
6339 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6340 case ,${enable_languages}, in
6344 echo " \`$other' language required by \`$language'; enabling" 1>&2
6345 enable_languages
="${enable_languages},${other}"
6349 for other
in ${lang_requires_boot_languages} ; do
6350 if test "$other" != "c"; then
6351 case ,${enable_stage1_languages}, in
6355 case ,${enable_languages}, in
6357 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6358 enable_stage1_languages
="$enable_stage1_languages,${other}"
6369 new_enable_languages
=,c
,
6371 # If LTO is enabled, add the LTO front end.
6372 if test "$enable_lto" = "yes" ; then
6373 case ,${enable_languages}, in
6375 *) enable_languages
="${enable_languages},lto" ;;
6377 if test "${build_lto_plugin}" = "yes" ; then
6378 configdirs
="$configdirs lto-plugin"
6382 # If we're building an offloading compiler, add the LTO front end.
6383 if test x
"$enable_as_accelerator_for" != x
; then
6384 case ,${enable_languages}, in
6386 *) enable_languages
="${enable_languages},lto" ;;
6390 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6391 potential_languages
=,c
,
6393 enabled_target_libs
=
6394 disabled_target_libs
=
6396 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6397 case ${lang_frag} in
6399 # The odd quoting in the next line works around
6400 # an apparent bug in bash 1.12 on linux.
6401 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6403 # From the config-lang.in, get $language, $target_libs,
6404 # $lang_dirs, $boot_language, and $build_by_default
6410 build_by_default
=yes
6412 if test x
${language} = x
; then
6413 echo "${lang_frag} doesn't set \$language." 1>&2
6417 if test "$language" = "c++"; then
6422 case ,${enable_languages}, in
6424 # Language was explicitly selected; include it
6425 # unless it is C, which is enabled by default.
6426 if test "$language" != "c"; then
6431 # 'all' was selected, select it if it is a default language
6432 if test "$language" != "c"; then
6433 add_this_lang
=${build_by_default}
6438 # Disable languages that need other directories if these aren't available.
6439 for i
in $subdir_requires; do
6440 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6441 case ,${enable_languages}, in
6443 # Specifically requested language; tell them.
6444 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6448 add_this_lang
=unsupported
6453 # Disable Ada if no preexisting GNAT is available.
6454 case ,${enable_languages},:${language}:${have_gnat} in
6455 *,${language},*:ada
:no
)
6456 # Specifically requested language; tell them.
6457 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6461 add_this_lang
=unsupported
6465 # Disable a language that is unsupported by the target.
6466 case " $unsupported_languages " in
6468 add_this_lang
=unsupported
6472 case $add_this_lang in
6474 # Remove language-dependent dirs.
6475 disabled_target_libs
="$disabled_target_libs $target_libs"
6476 noconfigdirs
="$noconfigdirs $lang_dirs"
6479 # Remove language-dependent dirs; still show language as supported.
6480 disabled_target_libs
="$disabled_target_libs $target_libs"
6481 noconfigdirs
="$noconfigdirs $lang_dirs"
6482 potential_languages
="${potential_languages}${language},"
6485 new_enable_languages
="${new_enable_languages}${language},"
6486 potential_languages
="${potential_languages}${language},"
6487 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6488 enabled_target_libs
="$enabled_target_libs $target_libs"
6489 case "${boot_language}:,$enable_stage1_languages," in
6490 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6491 # Add to (comma-separated) list of stage 1 languages.
6492 case ",$stage1_languages," in
6493 *,$language,* |
,yes, |
,all
,) ;;
6494 *) stage1_languages
="${stage1_languages}${language}," ;;
6496 # We need to bootstrap any supporting libraries.
6497 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6506 # Add target libraries which are only needed for disabled languages
6508 if test -n "$disabled_target_libs"; then
6509 for dir
in $disabled_target_libs; do
6510 case " $enabled_target_libs " in
6512 *) noconfigdirs
="$noconfigdirs $dir" ;;
6517 # Check whether --enable-stage1-languages was given.
6518 if test "${enable_stage1_languages+set}" = set; then :
6519 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6521 # Set it to something that will have no effect in the loop below
6522 enable_stage1_languages
=c
;;
6524 enable_stage1_languages
=`echo $new_enable_languages | \
6525 sed -e "s/^,//" -e "s/,$//" ` ;;
6527 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6528 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6531 # Add "good" languages from enable_stage1_languages to stage1_languages,
6532 # while "bad" languages go in missing_languages. Leave no duplicates.
6533 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6534 case $potential_languages in
6536 case $stage1_languages in
6538 *) stage1_languages
="$stage1_languages$i," ;;
6541 case $missing_languages in
6543 *) missing_languages
="$missing_languages$i," ;;
6550 # Remove leading/trailing commas that were added for simplicity
6551 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6552 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6553 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6554 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6556 if test "x$missing_languages" != x
; then
6558 The following requested languages could not be built: ${missing_languages}
6559 Supported languages are: ${potential_languages}" "$LINENO" 5
6561 if test "x$new_enable_languages" != "x$enable_languages"; then
6562 echo The following languages will be built
: ${new_enable_languages}
6563 enable_languages
="$new_enable_languages"
6567 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6570 # Handle --disable-<component> generically.
6571 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6572 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6573 varname
=`echo $dirname | sed -e s/+/_/g`
6574 if eval test x\
${enable_${varname}} "=" xno
; then
6575 noconfigdirs
="$noconfigdirs $dir"
6579 # Check for Boehm's garbage collector
6580 # Check whether --enable-objc-gc was given.
6581 if test "${enable_objc_gc+set}" = set; then :
6582 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6583 *,objc
,*:*:yes:*target-boehm-gc
*)
6584 as_fn_error $?
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6590 # Make sure we only build Boehm's garbage collector if required.
6591 case ,${enable_languages},:${enable_objc_gc} in
6593 # Keep target-boehm-gc if requested for Objective-C.
6596 # Otherwise remove target-boehm-gc depending on target-libjava.
6597 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6598 noconfigdirs
="$noconfigdirs target-boehm-gc"
6603 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6604 case ,${enable_languages}, in
6606 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6607 case "${noconfigdirs}" in
6608 *target-libstdc
++-v3*)
6609 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6615 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6619 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6620 # $build_configdirs and $target_configdirs.
6621 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6624 for dir
in .
$skipdirs $noconfigdirs ; do
6625 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6626 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6627 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6628 if test -r $srcdir/$dirname/configure
; then
6629 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6632 notsupp
="$notsupp $dir"
6636 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6637 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6638 if test -r $srcdir/$dirname/configure
; then
6639 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6642 notsupp
="$notsupp $dir"
6646 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6647 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6648 if test -r $srcdir/$dirname/configure
; then
6649 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6652 notsupp
="$notsupp $dir"
6658 # Quietly strip out all directories which aren't configurable in this tree.
6659 # This relies on all configurable subdirectories being autoconfiscated, which
6661 build_configdirs_all
="$build_configdirs"
6663 for i
in ${build_configdirs_all} ; do
6664 j
=`echo $i | sed -e s/build-//g`
6665 if test -f ${srcdir}/$j/configure
; then
6666 build_configdirs
="${build_configdirs} $i"
6670 configdirs_all
="$configdirs"
6672 for i
in ${configdirs_all} ; do
6673 if test -f ${srcdir}/$i/configure
; then
6674 configdirs
="${configdirs} $i"
6678 target_configdirs_all
="$target_configdirs"
6680 for i
in ${target_configdirs_all} ; do
6681 j
=`echo $i | sed -e s/target-//g`
6682 if test -f ${srcdir}/$j/configure
; then
6683 target_configdirs
="${target_configdirs} $i"
6687 # Exclude target-zlib if target-libjava isn't built.
6688 case ${target_configdirs} in
6692 target_configdirs
="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
6696 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6697 # so we have to add it after the preceding checks.
6698 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6700 case " $configdirs " in
6702 # If we can build libiberty, we can also build libiberty-linker-plugin.
6703 configdirs
="$configdirs libiberty-linker-plugin"
6704 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6705 --with-libiberty=../libiberty-linker-plugin";;
6707 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6711 # Sometimes we have special requirements for the host libiberty.
6712 extra_host_libiberty_configure_flags
=
6713 extra_host_zlib_configure_flags
=
6714 case " $configdirs " in
6715 *" lto-plugin "* |
*" libcc1 "*)
6716 # When these are to be built as shared libraries, the same applies to
6718 extra_host_libiberty_configure_flags
=--enable-shared
6721 # When bfd is to be built as a shared library, the same applies to
6723 if test "$enable_shared" = "yes"; then
6724 extra_host_zlib_configure_flags
=--enable-host-shared
6731 # Produce a warning message for the subdirs we can't configure.
6732 # This isn't especially interesting in the Cygnus tree, but in the individual
6733 # FSF releases, it's important to let people know when their machine isn't
6734 # supported by the one or two programs in a package.
6736 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6737 # If $appdirs is non-empty, at least one of those directories must still
6738 # be configured, or we error out. (E.g., if the gas release supports a
6739 # specified target in some subdirs but not the gas subdir, we shouldn't
6740 # pretend that all is well.)
6741 if test -n "$appdirs" ; then
6742 for dir
in $appdirs ; do
6743 if test -r $dir/Makefile.
in ; then
6744 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6748 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6754 if test -n "$appdirs" ; then
6755 echo "*** This configuration is not supported by this package." 1>&2
6759 # Okay, some application will build, or we don't care to check. Still
6760 # notify of subdirs not getting built.
6761 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6762 echo " ${notsupp}" 1>&2
6763 echo " (Any other directories should still work fine.)" 1>&2
6771 # To find our prefix, in gcc_cv_tool_prefix.
6773 # The user is always right.
6774 if test "${PATH_SEPARATOR+set}" != set; then
6775 echo "#! /bin/sh" >conf$$.sh
6776 echo "exit 0" >>conf$$.sh
6778 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6788 if test "x$exec_prefix" = xNONE
; then
6789 if test "x$prefix" = xNONE
; then
6790 gcc_cv_tool_prefix
=$ac_default_prefix
6792 gcc_cv_tool_prefix
=$prefix
6795 gcc_cv_tool_prefix
=$exec_prefix
6798 # If there is no compiler in the tree, use the PATH only. In any
6799 # case, if there is no compiler in the tree nobody should use
6800 # AS_FOR_TARGET and LD_FOR_TARGET.
6801 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6802 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6803 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6804 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6805 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6806 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6807 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6808 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6813 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6814 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6822 # Check whether --with-build-sysroot was given.
6823 if test "${with_build_sysroot+set}" = set; then :
6824 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6825 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6828 SYSROOT_CFLAGS_FOR_TARGET
=
6834 # Check whether --with-debug-prefix-map was given.
6835 if test "${with_debug_prefix_map+set}" = set; then :
6836 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6837 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6838 for debug_map
in $withval; do
6839 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6843 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6848 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6849 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6850 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6851 # We want to ensure that TARGET libraries (which we know are built with
6852 # gcc) are built with "-O2 -g", so include those options when setting
6853 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6854 if test "x$CFLAGS_FOR_TARGET" = x
; then
6855 if test "x${is_cross_compiler}" = xyes
; then
6856 CFLAGS_FOR_TARGET
="-g -O2"
6858 CFLAGS_FOR_TARGET
=$CFLAGS
6861 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6864 *" -g "* |
*" -g3 "*) ;;
6865 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6871 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6872 if test "x${is_cross_compiler}" = xyes
; then
6873 CXXFLAGS_FOR_TARGET
="-g -O2"
6875 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6876 case " $CXXFLAGS " in
6878 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6880 case " $CXXFLAGS " in
6881 *" -g "* |
*" -g3 "*) ;;
6882 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6890 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6891 # the named directory are copied to $(tooldir)/sys-include.
6892 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6893 if test x
${is_cross_compiler} = xno
; then
6894 echo 1>&2 '***' --with-headers is only supported when cross compiling
6897 if test x
"${with_headers}" != xyes
; then
6898 x
=${gcc_cv_tool_prefix}
6899 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6903 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6904 # the name directories are copied to $(tooldir)/lib. Multiple directories
6906 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6907 if test x
${is_cross_compiler} = xno
; then
6908 echo 1>&2 '***' --with-libs is only supported when cross compiling
6911 if test x
"${with_libs}" != xyes
; then
6912 # Copy the libraries in reverse order, so that files in the first named
6913 # library override files in subsequent libraries.
6914 x
=${gcc_cv_tool_prefix}
6915 for l
in ${with_libs}; do
6916 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6921 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6923 # This is done by determining whether or not the appropriate directory
6924 # is available, and by checking whether or not specific configurations
6925 # have requested that this magic not happen.
6927 # The command line options always override the explicit settings in
6928 # configure.ac, and the settings in configure.ac override this magic.
6930 # If the default for a toolchain is to use GNU as and ld, and you don't
6931 # want to do that, then you should use the --without-gnu-as and
6932 # --without-gnu-ld options for the configure script. Similarly, if
6933 # the default is to use the included zlib and you don't want to do that,
6934 # you should use the --with-system-zlib option for the configure script.
6936 if test x
${use_gnu_as} = x
&&
6937 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6939 extra_host_args
="$extra_host_args --with-gnu-as"
6942 if test x
${use_gnu_ld} = x
&&
6943 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6945 extra_host_args
="$extra_host_args --with-gnu-ld"
6948 if test x
${use_included_zlib} = x
&&
6949 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6952 with_system_zlib
=yes
6953 extra_host_args
="$extra_host_args --with-system-zlib"
6956 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6957 # can detect this case.
6959 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6961 extra_host_args
="$extra_host_args --with-newlib"
6964 # Handle ${copy_dirs}
6965 set fnord
${copy_dirs}
6967 while test $# != 0 ; do
6968 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6971 echo Copying
$1 to
$2
6973 # Use the install script to create the directory and all required
6974 # parent directories.
6975 if test -d $2 ; then
6979 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6982 # Copy the directory, assuming we have tar.
6983 # FIXME: Should we use B in the second tar? Not all systems support it.
6984 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6986 # It is the responsibility of the user to correctly adjust all
6987 # symlinks. If somebody can figure out how to handle them correctly
6988 # here, feel free to add the code.
6995 # Determine a target-dependent exec_prefix that the installed
6996 # gcc will search in. Keep this list sorted by triplet, with
6997 # the *-*-osname triplets last.
7000 i
[34567]86-pc-msdosdjgpp*)
7001 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7006 md_exec_prefix
=/usr
/ccs
/bin
7010 extra_arflags_for_target
=
7011 extra_nmflags_for_target
=
7012 extra_ranlibflags_for_target
=
7013 target_makefile_frag
=/dev
/null
7016 target_makefile_frag
="config/mt-spu"
7018 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7019 target_makefile_frag
="config/mt-sde"
7021 mipsisa
*-*-elfoabi*)
7022 target_makefile_frag
="config/mt-mips-elfoabi"
7024 mips
*-*-*linux
* | mips
*-*-gnu*)
7025 target_makefile_frag
="config/mt-mips-gnu"
7028 target_makefile_frag
="config/mt-nios2-elf"
7030 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7031 target_makefile_frag
="config/mt-gnu"
7033 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7034 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7035 # commands to handle both 32-bit and 64-bit objects. These flags are
7036 # harmless if we're using GNU nm or ar.
7037 extra_arflags_for_target
=" -X32_64"
7038 extra_nmflags_for_target
=" -B -X32_64"
7042 alphaieee_frag
=/dev
/null
7045 # This just makes sure to use the -mieee option to build target libs.
7046 # This should probably be set individually by each library.
7047 alphaieee_frag
="config/mt-alphaieee"
7051 # If --enable-target-optspace always use -Os instead of -O2 to build
7052 # the target libraries, similarly if it is not specified, use -Os
7053 # on selected platforms.
7054 ospace_frag
=/dev
/null
7055 case "${enable_target_optspace}:${target}" in
7057 ospace_frag
="config/mt-ospace"
7060 ospace_frag
="config/mt-d30v"
7062 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7063 ospace_frag
="config/mt-ospace"
7068 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7072 # Some systems (e.g., one of the i386-aix systems the gas testers are
7073 # using) don't handle "\$" correctly, so don't use it here.
7075 # Check whether --with-tooldir was given.
7076 if test "${with_tooldir+set}" = set; then :
7077 withval
=$with_tooldir; case x
"$withval" in #(
7081 as_fn_error $?
"argument to --with-tooldir must be an absolute path" "$LINENO" 5 ;;
7085 with_tooldir
='${exec_prefix}'/${target_noncanonical}
7088 tooldir
=${with_tooldir}
7089 build_tooldir
=${tooldir}
7091 # Create a .gdbinit file which runs the one in srcdir
7092 # and tells GDB to look there for source files.
7094 if test -r ${srcdir}/.gdbinit
; then
7097 *) cat > .
/.gdbinit
<<EOF
7101 source ${srcdir}/.gdbinit
7107 # Make sure that the compiler is able to generate an executable. If it
7108 # can't, we are probably in trouble. We don't care whether we can run the
7109 # executable--we might be using a cross compiler--we only care whether it
7110 # can be created. At this point the main configure script has set CC.
7112 echo "int main () { return 0; }" > conftest.c
7113 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7114 if test $?
= 0 ; then
7115 if test -s conftest ||
test -s conftest.exe
; then
7121 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7122 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7129 # Decide which environment variable is used to find dynamic libraries.
7131 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7132 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7133 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7134 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7137 # On systems where the dynamic library environment variable is PATH,
7138 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7139 # built executables to PATH.
7140 if test "$RPATH_ENVVAR" = PATH
; then
7141 GCC_SHLIB_SUBDIR
=/shlib
7146 # Adjust the toplevel makefile according to whether bootstrap was selected.
7147 case $enable_bootstrap in
7149 bootstrap_suffix
=bootstrap
7150 BUILD_CONFIG
=bootstrap-debug
7153 bootstrap_suffix
=no-bootstrap
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7159 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7162 # Check whether --with-build-config was given.
7163 if test "${with_build_config+set}" = set; then :
7164 withval
=$with_build_config; case $with_build_config in
7165 yes) with_build_config
= ;;
7166 no
) with_build_config
= BUILD_CONFIG
= ;;
7171 if test "x${with_build_config}" != x
; then
7172 BUILD_CONFIG
=$with_build_config
7174 case $BUILD_CONFIG in
7176 if echo "int f (void) { return 0; }" > conftest.c
&&
7177 ${CC} -c conftest.c
&&
7178 mv conftest.o conftest.o.g0
&&
7179 ${CC} -c -g conftest.c
&&
7180 mv conftest.o conftest.o.g
&&
7181 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7186 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7191 $as_echo "$BUILD_CONFIG" >&6; }
7194 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7196 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7197 # Check whether --enable-vtable-verify was given.
7198 if test "${enable_vtable_verify+set}" = set; then :
7199 enableval
=$enable_vtable_verify; case "$enableval" in
7200 yes) enable_vtable_verify
=yes ;;
7201 no
) enable_vtable_verify
=no
;;
7202 *) enable_vtable_verify
=no
;;
7205 enable_vtable_verify
=no
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7209 $as_echo "$enable_vtable_verify" >&6; }
7211 # Record target_configdirs and the configure arguments for target and
7212 # build configuration in Makefile.
7213 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7214 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7215 bootstrap_fixincludes
=no
7217 # If we are building libgomp, bootstrap it.
7218 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7219 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7222 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7223 # or bootstrap-ubsan, bootstrap it.
7224 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7225 case "$BUILD_CONFIG" in
7226 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7227 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7228 bootstrap_fixincludes
=yes
7233 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7234 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7235 test "$enable_vtable_verify" != no
; then
7236 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7239 # If we are building libmpx, bootstrap it.
7240 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7241 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7244 # Determine whether gdb needs tk/tcl or not.
7245 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7246 # and in that case we want gdb to be built without tk. Ugh!
7247 # In fact I believe gdb is the *only* package directly dependent on tk,
7248 # so we should be able to put the 'maybe's in unconditionally and
7249 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7250 # 100% sure that that's safe though.
7252 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7253 case "$enable_gdbtk" in
7257 GDB_TK
="${gdb_tk}" ;;
7259 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7260 # distro. Eventually someone will fix this and move Insight, nee
7261 # gdbtk to a separate directory.
7262 if test -d ${srcdir}/gdb
/gdbtk
; then
7269 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7270 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7272 # Strip out unwanted targets.
7274 # While at that, we remove Makefiles if we were started for recursive
7275 # configuration, so that the top-level Makefile reconfigures them,
7276 # like we used to do when configure itself was recursive.
7278 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7279 # but now we're fixing up the Makefile ourselves with the additional
7280 # commands passed to AC_CONFIG_FILES. Use separate variables
7281 # extrasub-{build,host,target} not because there is any reason to split
7282 # the substitutions up that way, but only to remain below the limit of
7283 # 99 commands in a script, for HP-UX sed.
7285 # Do not nest @if/@endif or @unless/@endunless pairs, because
7286 # configure will not warn you at all.
7288 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7289 yes:yes:*\ gold\
*:*,c
++,*) ;;
7290 yes:yes:*\ gold\
*:*)
7291 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7296 for module
in ${build_configdirs} ; do
7297 if test -z "${no_recursion}" \
7298 && test -f ${build_subdir}/${module}/Makefile
; then
7299 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7300 rm -f ${build_subdir}/${module}/Makefile
7302 extrasub_build
="$extrasub_build
7303 /^@if build-$module\$/d
7304 /^@endif build-$module\$/d
7305 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7306 /^@if build-$module-$bootstrap_suffix\$/d
7307 /^@endif build-$module-$bootstrap_suffix\$/d
7308 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7311 for module
in ${configdirs} ; do
7312 if test -z "${no_recursion}"; then
7313 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7314 if test -f ${file}; then
7315 echo 1>&2 "*** removing ${file} to force reconfigure"
7320 case ${module},${bootstrap_fixincludes} in
7321 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7322 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7324 extrasub_host
="$extrasub_host
7326 /^@endif $module\$/d
7327 /^@unless $module\$/,/^@endunless $module\$/d
7328 /^@if $module-$host_bootstrap_suffix\$/d
7329 /^@endif $module-$host_bootstrap_suffix\$/d
7330 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7333 for module
in ${target_configdirs} ; do
7334 if test -z "${no_recursion}" \
7335 && test -f ${target_subdir}/${module}/Makefile
; then
7336 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7337 rm -f ${target_subdir}/${module}/Makefile
7340 # We only bootstrap target libraries listed in bootstrap_target_libs.
7341 case $bootstrap_target_libs in
7342 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7343 *) target_bootstrap_suffix
=no-bootstrap
;;
7346 extrasub_target
="$extrasub_target
7347 /^@if target-$module\$/d
7348 /^@endif target-$module\$/d
7349 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7350 /^@if target-$module-$target_bootstrap_suffix\$/d
7351 /^@endif target-$module-$target_bootstrap_suffix\$/d
7352 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7355 # Do the final fixup along with target modules.
7356 extrasub_target
="$extrasub_target
7361 # Create the serialization dependencies. This uses a temporary file.
7363 # Check whether --enable-serial-configure was given.
7364 if test "${enable_serial_configure+set}" = set; then :
7365 enableval
=$enable_serial_configure;
7369 case ${enable_serial_configure} in
7371 enable_serial_build_configure
=yes
7372 enable_serial_host_configure
=yes
7373 enable_serial_target_configure
=yes
7377 # These force 'configure's to be done one at a time, to avoid problems
7378 # with contention over a shared config.cache.
7380 echo '# serdep.tmp' > serdep.tmp
7382 test "x${enable_serial_build_configure}" = xyes
&&
7383 for item
in ${build_configdirs} ; do
7386 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7391 test "x${enable_serial_host_configure}" = xyes
&&
7392 for item
in ${configdirs} ; do
7395 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7400 test "x${enable_serial_target_configure}" = xyes
&&
7401 for item
in ${target_configdirs} ; do
7404 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7408 serialization_dependencies
=serdep.tmp
7411 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7412 # target, nonopt, and variable assignments. These are the ones we
7413 # might not want to pass down to subconfigures. The exception being
7414 # --cache-file=/dev/null, which is used to turn off the use of cache
7415 # files altogether, and which should be passed on to subconfigures.
7416 # Also strip program-prefix, program-suffix, and program-transform-name,
7417 # so that we can pass down a consistent program-transform-name.
7422 eval "set -- $ac_configure_args"
7425 if test X
"$skip_next" = X
"yes"; then
7429 if test X
"$keep_next" = X
"yes"; then
7432 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7434 baseargs
="$baseargs '$ac_arg'"
7435 tbaseargs
="$tbaseargs '$ac_arg'"
7440 # Handle separated arguments. Based on the logic generated by
7443 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7444 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7445 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7446 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7460 --with-* |
--without-*)
7461 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7465 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7468 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7477 mpc | mpfr | gmp | isl
)
7478 # If we're processing --with-$lib, --with-$lib-include or
7479 # --with-$lib-lib, for one of the libs above, and target is
7480 # different from host, don't pass the current argument to any
7481 # target library's configure.
7482 if test x
$is_cross_compiler = xyes
; then
7491 --cache-file=/dev
/null | \
7492 -cache-file=/dev
/null
)
7493 # Handled here to avoid the test to skip args below.
7494 baseargs
="$baseargs '$ac_arg'"
7495 tbaseargs
="$tbaseargs '$ac_arg'"
7496 # Assert: $separate_arg should always be no.
7497 keep_next
=$separate_arg
7513 -program-prefix* | \
7514 -program-suffix* | \
7515 -program-transform-name* )
7516 skip_next
=$separate_arg
7520 # An option. Add it.
7523 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7525 baseargs
="$baseargs '$ac_arg'"
7526 if test X
"$skip_targ" = Xno
; then
7527 tbaseargs
="$tbaseargs '$ac_arg'"
7529 keep_next
=$separate_arg
7532 # Either a variable assignment, or a nonopt (triplet). Don't
7533 # pass it down; let the Makefile handle this.
7538 # Remove the initial space we just introduced and, as these will be
7539 # expanded by make, quote '$'.
7540 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7542 # Add in --program-transform-name, after --program-prefix and
7543 # --program-suffix have been applied to it. Autoconf has already
7544 # doubled dollar signs and backslashes in program_transform_name; we want
7545 # the backslashes un-doubled, and then the entire thing wrapped in single
7546 # quotes, because this will be expanded first by make and then by the shell.
7547 # Also, because we want to override the logic in subdir configure scripts to
7548 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7549 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7550 ${program_transform_name}
7552 gcc_transform_name
=`cat conftestsed.out`
7553 rm -f conftestsed.out
7554 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7555 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7556 if test "$silent" = yes; then
7557 baseargs
="$baseargs --silent"
7558 tbaseargs
="$tbaseargs --silent"
7560 baseargs
="$baseargs --disable-option-checking"
7561 tbaseargs
="$tbaseargs --disable-option-checking"
7563 # Record and document user additions to sub configure arguments.
7568 # For the build-side libraries, we just need to pretend we're native,
7569 # and not use the same cache file. Multilibs are neither needed nor
7570 # desired. We can't even use the same cache file for all build-side
7571 # libraries, as they're compiled differently; some with C, some with
7572 # C++ or with different feature-enabling options.
7573 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7575 # For host modules, accept cache file option, or specification as blank.
7576 case "${cache_file}" in
7578 cache_file_option
="" ;;
7579 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7580 cache_file_option
="--cache-file=${cache_file}" ;;
7582 cache_file_option
="--cache-file=../${cache_file}" ;;
7585 # Host dirs don't like to share a cache file either, horribly enough.
7586 # This seems to be due to autoconf 2.5x stupidity.
7587 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7589 target_configargs
="$target_configargs ${tbaseargs}"
7591 # Passing a --with-cross-host argument lets the target libraries know
7592 # whether they are being built with a cross-compiler or being built
7593 # native. However, it would be better to use other mechanisms to make the
7594 # sorts of decisions they want to make on this basis. Please consider
7595 # this option to be deprecated. FIXME.
7596 if test x
${is_cross_compiler} = xyes
; then
7597 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7600 # Special user-friendly check for native x86_64-linux build, if
7601 # multilib is not explicitly enabled.
7602 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7603 x86_64-
*linux
*:yes:$build:$build:)
7604 # Make sure we have a development environment that handles 32-bit
7606 echo "int main () { return 0; }" > conftest.c
7607 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7608 if test $?
= 0 ; then
7609 if test -s conftest ||
test -s conftest.exe
; then
7614 if test x
${dev64} != xyes
; then
7615 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
7620 # Default to --enable-multilib.
7621 if test x
${enable_multilib} = x
; then
7622 target_configargs
="--enable-multilib ${target_configargs}"
7625 # Pass --with-newlib if appropriate. Note that target_configdirs has
7626 # changed from the earlier setting of with_newlib.
7627 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7628 target_configargs
="--with-newlib ${target_configargs}"
7631 # Different target subdirs use different values of certain variables
7632 # (notably CXX). Worse, multilibs use *lots* of different values.
7633 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7634 # it doesn't automatically accept command-line overrides of them.
7635 # This means it's not safe for target subdirs to share a cache file,
7636 # which is disgusting, but there you have it. Hopefully this can be
7637 # fixed in future. It's still worthwhile to use a cache file for each
7638 # directory. I think.
7640 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7641 # We need to pass --target, as newer autoconf's requires consistency
7642 # for target_alias and gcc doesn't manage it consistently.
7643 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7646 case " $target_configdirs " in
7648 case " $target_configargs " in
7649 *" --with-newlib "*)
7652 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7656 # If we're not building GCC, don't discard standard headers.
7657 if test -d ${srcdir}/gcc
; then
7658 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7660 if test "${build}" != "${host}"; then
7661 # On Canadian crosses, CC_FOR_TARGET will have already been set
7662 # by `configure', so we won't have an opportunity to add -Bgcc/
7663 # to it. This is right: we don't want to search that directory
7664 # for binaries, but we want the header files in there, so add
7666 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7668 # Someone might think of using the pre-installed headers on
7669 # Canadian crosses, in case the installed compiler is not fully
7670 # compatible with the compiler being built. In this case, it
7671 # would be better to flag an error than risking having
7672 # incompatible object files being constructed. We can't
7673 # guarantee that an error will be flagged, but let's hope the
7674 # compiler will do it, when presented with incompatible header
7679 case "${target}-${is_cross_compiler}" in
7680 i
[3456789]86-*-linux*-no)
7681 # Here host == target, so we don't need to build gcc,
7682 # so we don't want to discard standard headers.
7683 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7686 # If we're building newlib, use its generic headers last, but search
7687 # for any libc-related directories first (so make it the last -B
7689 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7691 # If we're building libgloss, find the startup file, simulator library
7692 # and linker script.
7693 case " $target_configdirs " in
7695 # Look for startup file, simulator library and maybe linker script.
7696 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7697 # Look for libnosys.a in case the target needs it.
7698 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7699 # Most targets have the linker script in the source directory.
7700 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7711 x86_64-
*mingw
* |
*-w64-mingw*)
7712 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7713 # however, use a symlink named 'mingw' in ${prefix} .
7714 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7717 # MinGW can't be handled as Cygwin above since it does not use newlib.
7718 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'
7722 # Allow the user to override the flags for
7723 # our build compiler if desired.
7724 if test x
"${build}" = x
"${host}" ; then
7725 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7726 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7727 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7730 # On Canadian crosses, we'll be searching the right directories for
7731 # the previously-installed cross compiler, so don't bother to add
7732 # flags for directories within the install tree of the compiler
7733 # being built; programs in there won't even run.
7734 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7735 # Search for pre-installed headers if nothing else fits.
7736 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7739 if test "x
${use_gnu_ld}" = x &&
7740 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7741 # Arrange for us to find uninstalled linker scripts.
7742 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7745 # Search for other target-specific linker scripts and such.
7748 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7752 # Makefile fragments.
7753 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7755 eval fragval=\$$frag
7756 if test $fragval != /dev/null; then
7757 eval $frag=${srcdir}/$fragval
7765 # Miscellanea: directories, flags, etc.
7774 # Build module lists & subconfigure args.
7778 # Host module lists & subconfigure args.
7783 # Target module lists & subconfigure args.
7805 # Generate default definitions for YACC, M4, LEX and other programs that run
7806 # on the build machine. These are used if the Makefile can't locate these
7807 # programs in objdir.
7808 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7810 for ac_prog in 'bison -y' byacc yacc
7812 # Extract the first word of "$ac_prog", so it can be a program name with args.
7813 set dummy $ac_prog; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7815 $as_echo_n "checking
for $ac_word...
" >&6; }
7816 if ${ac_cv_prog_YACC+:} false; then :
7817 $as_echo_n "(cached
) " >&6
7819 if test -n "$YACC"; then
7820 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_YACC="$ac_prog"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7839 YACC=$ac_cv_prog_YACC
7840 if test -n "$YACC"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7842 $as_echo "$YACC" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7845 $as_echo "no
" >&6; }
7849 test -n "$YACC" && break
7851 test -n "$YACC" || YACC="$MISSING bison
-y"
7853 case " $build_configdirs " in
7854 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7857 for ac_prog in bison
7859 # Extract the first word of "$ac_prog", so it can be a program name with args.
7860 set dummy $ac_prog; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7862 $as_echo_n "checking
for $ac_word...
" >&6; }
7863 if ${ac_cv_prog_BISON+:} false; then :
7864 $as_echo_n "(cached
) " >&6
7866 if test -n "$BISON"; then
7867 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_BISON="$ac_prog"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 BISON=$ac_cv_prog_BISON
7887 if test -n "$BISON"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7889 $as_echo "$BISON" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7892 $as_echo "no
" >&6; }
7896 test -n "$BISON" && break
7898 test -n "$BISON" || BISON="$MISSING bison
"
7900 case " $build_configdirs " in
7901 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7904 for ac_prog in gm4 gnum4 m4
7906 # Extract the first word of "$ac_prog", so it can be a program name with args.
7907 set dummy $ac_prog; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7909 $as_echo_n "checking
for $ac_word...
" >&6; }
7910 if ${ac_cv_prog_M4+:} false; then :
7911 $as_echo_n "(cached
) " >&6
7913 if test -n "$M4"; then
7914 ac_cv_prog_M4="$M4" # Let the user override the test.
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_prog_M4="$ac_prog"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7934 if test -n "$M4"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7936 $as_echo "$M4" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7939 $as_echo "no
" >&6; }
7943 test -n "$M4" && break
7945 test -n "$M4" || M4="$MISSING m4"
7947 case " $build_configdirs " in
7948 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7951 for ac_prog in flex lex
7953 # Extract the first word of "$ac_prog", so it can be a program name with args.
7954 set dummy $ac_prog; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7956 $as_echo_n "checking
for $ac_word...
" >&6; }
7957 if ${ac_cv_prog_LEX+:} false; then :
7958 $as_echo_n "(cached
) " >&6
7960 if test -n "$LEX"; then
7961 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_LEX="$ac_prog"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 if test -n "$LEX"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7983 $as_echo "$LEX" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7986 $as_echo "no
" >&6; }
7990 test -n "$LEX" && break
7992 test -n "$LEX" || LEX="$MISSING flex
"
7994 case " $build_configdirs " in
7995 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7996 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8001 # Extract the first word of "$ac_prog", so it can be a program name with args.
8002 set dummy $ac_prog; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8004 $as_echo_n "checking
for $ac_word...
" >&6; }
8005 if ${ac_cv_prog_FLEX+:} false; then :
8006 $as_echo_n "(cached
) " >&6
8008 if test -n "$FLEX"; then
8009 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_FLEX="$ac_prog"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8028 FLEX=$ac_cv_prog_FLEX
8029 if test -n "$FLEX"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8031 $as_echo "$FLEX" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8034 $as_echo "no
" >&6; }
8038 test -n "$FLEX" && break
8040 test -n "$FLEX" || FLEX="$MISSING flex
"
8042 case " $build_configdirs " in
8043 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8046 for ac_prog in makeinfo
8048 # Extract the first word of "$ac_prog", so it can be a program name with args.
8049 set dummy $ac_prog; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8051 $as_echo_n "checking
for $ac_word...
" >&6; }
8052 if ${ac_cv_prog_MAKEINFO+:} false; then :
8053 $as_echo_n "(cached
) " >&6
8055 if test -n "$MAKEINFO"; then
8056 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8065 ac_cv_prog_MAKEINFO="$ac_prog"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8075 MAKEINFO=$ac_cv_prog_MAKEINFO
8076 if test -n "$MAKEINFO"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8078 $as_echo "$MAKEINFO" >&6; }
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8081 $as_echo "no
" >&6; }
8085 test -n "$MAKEINFO" && break
8087 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8089 case " $build_configdirs " in
8090 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8093 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8094 # higher, else we use the "missing
" dummy.
8095 if ${MAKEINFO} --version \
8096 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8099 MAKEINFO="$MISSING makeinfo
"
8105 # FIXME: expect and dejagnu may become build tools?
8107 for ac_prog in expect
8109 # Extract the first word of "$ac_prog", so it can be a program name with args.
8110 set dummy $ac_prog; ac_word=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8112 $as_echo_n "checking
for $ac_word...
" >&6; }
8113 if ${ac_cv_prog_EXPECT+:} false; then :
8114 $as_echo_n "(cached
) " >&6
8116 if test -n "$EXPECT"; then
8117 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8126 ac_cv_prog_EXPECT="$ac_prog"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8136 EXPECT=$ac_cv_prog_EXPECT
8137 if test -n "$EXPECT"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8139 $as_echo "$EXPECT" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8142 $as_echo "no
" >&6; }
8146 test -n "$EXPECT" && break
8148 test -n "$EXPECT" || EXPECT="expect
"
8150 case " $configdirs " in
8152 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8156 for ac_prog in runtest
8158 # Extract the first word of "$ac_prog", so it can be a program name with args.
8159 set dummy $ac_prog; ac_word=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8161 $as_echo_n "checking
for $ac_word...
" >&6; }
8162 if ${ac_cv_prog_RUNTEST+:} false; then :
8163 $as_echo_n "(cached
) " >&6
8165 if test -n "$RUNTEST"; then
8166 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 test -z "$as_dir" && as_dir=.
8173 for ac_exec_ext in '' $ac_executable_extensions; do
8174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8175 ac_cv_prog_RUNTEST="$ac_prog"
8176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8185 RUNTEST=$ac_cv_prog_RUNTEST
8186 if test -n "$RUNTEST"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8188 $as_echo "$RUNTEST" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8191 $as_echo "no
" >&6; }
8195 test -n "$RUNTEST" && break
8197 test -n "$RUNTEST" || RUNTEST="runtest
"
8199 case " $configdirs " in
8201 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8208 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8209 ncn_target_tool_prefix=
8210 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8214 if test -n "$AR"; then
8216 elif test -n "$ac_cv_prog_AR"; then
8220 if test -n "$ac_cv_prog_AR"; then
8221 for ncn_progname in ar; do
8222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8223 set dummy ${ncn_progname}; ac_word=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8225 $as_echo_n "checking
for $ac_word...
" >&6; }
8226 if ${ac_cv_prog_AR+:} false; then :
8227 $as_echo_n "(cached
) " >&6
8229 if test -n "$AR"; then
8230 ac_cv_prog_AR="$AR" # Let the user override the test.
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8239 ac_cv_prog_AR="${ncn_progname}"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8250 if test -n "$AR"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8252 $as_echo "$AR" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8255 $as_echo "no
" >&6; }
8262 for ncn_progname in ar; do
8263 if test -n "$ncn_tool_prefix"; then
8264 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8265 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8304 set dummy ${ncn_progname}; ac_word=$2
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8306 $as_echo_n "checking
for $ac_word...
" >&6; }
8307 if ${ac_cv_prog_AR+:} false; then :
8308 $as_echo_n "(cached
) " >&6
8310 if test -n "$AR"; then
8311 ac_cv_prog_AR="$AR" # Let the user override the test.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8320 ac_cv_prog_AR="${ncn_progname}"
8321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8331 if test -n "$AR"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8333 $as_echo "$AR" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8336 $as_echo "no
" >&6; }
8341 test -n "$ac_cv_prog_AR" && break
8344 if test -z "$ac_cv_prog_AR" ; then
8346 if test $build = $host ; then
8349 AR="${ncn_tool_prefix}$2"
8355 if test -n "$AS"; then
8357 elif test -n "$ac_cv_prog_AS"; then
8361 if test -n "$ac_cv_prog_AS"; then
8362 for ncn_progname in as; do
8363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8364 set dummy ${ncn_progname}; ac_word=$2
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8366 $as_echo_n "checking
for $ac_word...
" >&6; }
8367 if ${ac_cv_prog_AS+:} false; then :
8368 $as_echo_n "(cached
) " >&6
8370 if test -n "$AS"; then
8371 ac_cv_prog_AS="$AS" # Let the user override the test.
8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 test -z "$as_dir" && as_dir=.
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_prog_AS="${ncn_progname}"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8391 if test -n "$AS"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8393 $as_echo "$AS" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8396 $as_echo "no
" >&6; }
8403 for ncn_progname in as; do
8404 if test -n "$ncn_tool_prefix"; then
8405 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8406 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8445 set dummy ${ncn_progname}; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8447 $as_echo_n "checking
for $ac_word...
" >&6; }
8448 if ${ac_cv_prog_AS+:} false; then :
8449 $as_echo_n "(cached
) " >&6
8451 if test -n "$AS"; then
8452 ac_cv_prog_AS="$AS" # Let the user override the test.
8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 test -z "$as_dir" && as_dir=.
8459 for ac_exec_ext in '' $ac_executable_extensions; do
8460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8461 ac_cv_prog_AS="${ncn_progname}"
8462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8472 if test -n "$AS"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8474 $as_echo "$AS" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8482 test -n "$ac_cv_prog_AS" && break
8485 if test -z "$ac_cv_prog_AS" ; then
8487 if test $build = $host ; then
8490 AS="${ncn_tool_prefix}$2"
8496 if test -n "$DLLTOOL"; then
8497 ac_cv_prog_DLLTOOL=$DLLTOOL
8498 elif test -n "$ac_cv_prog_DLLTOOL"; then
8499 DLLTOOL=$ac_cv_prog_DLLTOOL
8502 if test -n "$ac_cv_prog_DLLTOOL"; then
8503 for ncn_progname in dlltool; do
8504 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8505 set dummy ${ncn_progname}; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8507 $as_echo_n "checking
for $ac_word...
" >&6; }
8508 if ${ac_cv_prog_DLLTOOL+:} false; then :
8509 $as_echo_n "(cached
) " >&6
8511 if test -n "$DLLTOOL"; then
8512 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8521 ac_cv_prog_DLLTOOL="${ncn_progname}"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8531 DLLTOOL=$ac_cv_prog_DLLTOOL
8532 if test -n "$DLLTOOL"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8534 $as_echo "$DLLTOOL" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8537 $as_echo "no
" >&6; }
8544 for ncn_progname in dlltool; do
8545 if test -n "$ncn_tool_prefix"; then
8546 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8547 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8586 set dummy ${ncn_progname}; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8588 $as_echo_n "checking
for $ac_word...
" >&6; }
8589 if ${ac_cv_prog_DLLTOOL+:} false; then :
8590 $as_echo_n "(cached
) " >&6
8592 if test -n "$DLLTOOL"; then
8593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8602 ac_cv_prog_DLLTOOL="${ncn_progname}"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8612 DLLTOOL=$ac_cv_prog_DLLTOOL
8613 if test -n "$DLLTOOL"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8615 $as_echo "$DLLTOOL" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8618 $as_echo "no
" >&6; }
8623 test -n "$ac_cv_prog_DLLTOOL" && break
8626 if test -z "$ac_cv_prog_DLLTOOL" ; then
8628 if test $build = $host ; then
8631 DLLTOOL="${ncn_tool_prefix}$2"
8637 if test -n "$LD"; then
8639 elif test -n "$ac_cv_prog_LD"; then
8643 if test -n "$ac_cv_prog_LD"; then
8644 for ncn_progname in ld; do
8645 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8646 set dummy ${ncn_progname}; ac_word=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8648 $as_echo_n "checking
for $ac_word...
" >&6; }
8649 if ${ac_cv_prog_LD+:} false; then :
8650 $as_echo_n "(cached
) " >&6
8652 if test -n "$LD"; then
8653 ac_cv_prog_LD="$LD" # Let the user override the test.
8655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659 test -z "$as_dir" && as_dir=.
8660 for ac_exec_ext in '' $ac_executable_extensions; do
8661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8662 ac_cv_prog_LD="${ncn_progname}"
8663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8673 if test -n "$LD"; then
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8675 $as_echo "$LD" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8678 $as_echo "no
" >&6; }
8685 for ncn_progname in ld; do
8686 if test -n "$ncn_tool_prefix"; then
8687 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8688 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8727 set dummy ${ncn_progname}; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8729 $as_echo_n "checking
for $ac_word...
" >&6; }
8730 if ${ac_cv_prog_LD+:} false; then :
8731 $as_echo_n "(cached
) " >&6
8733 if test -n "$LD"; then
8734 ac_cv_prog_LD="$LD" # Let the user override the test.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8743 ac_cv_prog_LD="${ncn_progname}"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8754 if test -n "$LD"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8756 $as_echo "$LD" >&6; }
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8759 $as_echo "no
" >&6; }
8764 test -n "$ac_cv_prog_LD" && break
8767 if test -z "$ac_cv_prog_LD" ; then
8769 if test $build = $host ; then
8772 LD="${ncn_tool_prefix}$2"
8778 if test -n "$LIPO"; then
8779 ac_cv_prog_LIPO=$LIPO
8780 elif test -n "$ac_cv_prog_LIPO"; then
8781 LIPO=$ac_cv_prog_LIPO
8784 if test -n "$ac_cv_prog_LIPO"; then
8785 for ncn_progname in lipo; do
8786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8787 set dummy ${ncn_progname}; ac_word=$2
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8789 $as_echo_n "checking
for $ac_word...
" >&6; }
8790 if ${ac_cv_prog_LIPO+:} false; then :
8791 $as_echo_n "(cached
) " >&6
8793 if test -n "$LIPO"; then
8794 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir=.
8801 for ac_exec_ext in '' $ac_executable_extensions; do
8802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8803 ac_cv_prog_LIPO="${ncn_progname}"
8804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8813 LIPO=$ac_cv_prog_LIPO
8814 if test -n "$LIPO"; then
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8816 $as_echo "$LIPO" >&6; }
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8819 $as_echo "no
" >&6; }
8826 for ncn_progname in lipo; do
8827 if test -n "$ncn_tool_prefix"; then
8828 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8829 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8867 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8868 set dummy ${ncn_progname}; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8870 $as_echo_n "checking
for $ac_word...
" >&6; }
8871 if ${ac_cv_prog_LIPO+:} false; then :
8872 $as_echo_n "(cached
) " >&6
8874 if test -n "$LIPO"; then
8875 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_LIPO="${ncn_progname}"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8894 LIPO=$ac_cv_prog_LIPO
8895 if test -n "$LIPO"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8897 $as_echo "$LIPO" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8900 $as_echo "no
" >&6; }
8905 test -n "$ac_cv_prog_LIPO" && break
8908 if test -z "$ac_cv_prog_LIPO" ; then
8910 if test $build = $host ; then
8913 LIPO="${ncn_tool_prefix}$2"
8919 if test -n "$NM"; then
8921 elif test -n "$ac_cv_prog_NM"; then
8925 if test -n "$ac_cv_prog_NM"; then
8926 for ncn_progname in nm; do
8927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8928 set dummy ${ncn_progname}; ac_word=$2
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8930 $as_echo_n "checking
for $ac_word...
" >&6; }
8931 if ${ac_cv_prog_NM+:} false; then :
8932 $as_echo_n "(cached
) " >&6
8934 if test -n "$NM"; then
8935 ac_cv_prog_NM="$NM" # Let the user override the test.
8937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir=.
8942 for ac_exec_ext in '' $ac_executable_extensions; do
8943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8944 ac_cv_prog_NM="${ncn_progname}"
8945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8955 if test -n "$NM"; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8957 $as_echo "$NM" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8960 $as_echo "no
" >&6; }
8967 for ncn_progname in nm; do
8968 if test -n "$ncn_tool_prefix"; then
8969 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8970 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9009 set dummy ${ncn_progname}; ac_word=$2
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9011 $as_echo_n "checking
for $ac_word...
" >&6; }
9012 if ${ac_cv_prog_NM+:} false; then :
9013 $as_echo_n "(cached
) " >&6
9015 if test -n "$NM"; then
9016 ac_cv_prog_NM="$NM" # Let the user override the test.
9018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 test -z "$as_dir" && as_dir=.
9023 for ac_exec_ext in '' $ac_executable_extensions; do
9024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9025 ac_cv_prog_NM="${ncn_progname}"
9026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9036 if test -n "$NM"; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9038 $as_echo "$NM" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9041 $as_echo "no
" >&6; }
9046 test -n "$ac_cv_prog_NM" && break
9049 if test -z "$ac_cv_prog_NM" ; then
9051 if test $build = $host ; then
9054 NM="${ncn_tool_prefix}$2"
9060 if test -n "$RANLIB"; then
9061 ac_cv_prog_RANLIB=$RANLIB
9062 elif test -n "$ac_cv_prog_RANLIB"; then
9063 RANLIB=$ac_cv_prog_RANLIB
9066 if test -n "$ac_cv_prog_RANLIB"; then
9067 for ncn_progname in ranlib; do
9068 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9069 set dummy ${ncn_progname}; ac_word=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9071 $as_echo_n "checking
for $ac_word...
" >&6; }
9072 if ${ac_cv_prog_RANLIB+:} false; then :
9073 $as_echo_n "(cached
) " >&6
9075 if test -n "$RANLIB"; then
9076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9082 test -z "$as_dir" && as_dir=.
9083 for ac_exec_ext in '' $ac_executable_extensions; do
9084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9085 ac_cv_prog_RANLIB="${ncn_progname}"
9086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9095 RANLIB=$ac_cv_prog_RANLIB
9096 if test -n "$RANLIB"; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9098 $as_echo "$RANLIB" >&6; }
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9101 $as_echo "no
" >&6; }
9108 for ncn_progname in ranlib; do
9109 if test -n "$ncn_tool_prefix"; then
9110 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9111 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9150 set dummy ${ncn_progname}; ac_word=$2
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9152 $as_echo_n "checking
for $ac_word...
" >&6; }
9153 if ${ac_cv_prog_RANLIB+:} false; then :
9154 $as_echo_n "(cached
) " >&6
9156 if test -n "$RANLIB"; then
9157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir=.
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9166 ac_cv_prog_RANLIB="${ncn_progname}"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9176 RANLIB=$ac_cv_prog_RANLIB
9177 if test -n "$RANLIB"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9179 $as_echo "$RANLIB" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9182 $as_echo "no
" >&6; }
9187 test -n "$ac_cv_prog_RANLIB" && break
9190 if test -z "$ac_cv_prog_RANLIB" ; then
9196 if test -n "$STRIP"; then
9197 ac_cv_prog_STRIP=$STRIP
9198 elif test -n "$ac_cv_prog_STRIP"; then
9199 STRIP=$ac_cv_prog_STRIP
9202 if test -n "$ac_cv_prog_STRIP"; then
9203 for ncn_progname in strip; do
9204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9205 set dummy ${ncn_progname}; ac_word=$2
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9207 $as_echo_n "checking
for $ac_word...
" >&6; }
9208 if ${ac_cv_prog_STRIP+:} false; then :
9209 $as_echo_n "(cached
) " >&6
9211 if test -n "$STRIP"; then
9212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218 test -z "$as_dir" && as_dir=.
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9221 ac_cv_prog_STRIP="${ncn_progname}"
9222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9231 STRIP=$ac_cv_prog_STRIP
9232 if test -n "$STRIP"; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9234 $as_echo "$STRIP" >&6; }
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9237 $as_echo "no
" >&6; }
9244 for ncn_progname in strip; do
9245 if test -n "$ncn_tool_prefix"; then
9246 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9247 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9286 set dummy ${ncn_progname}; ac_word=$2
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9288 $as_echo_n "checking
for $ac_word...
" >&6; }
9289 if ${ac_cv_prog_STRIP+:} false; then :
9290 $as_echo_n "(cached
) " >&6
9292 if test -n "$STRIP"; then
9293 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9299 test -z "$as_dir" && as_dir=.
9300 for ac_exec_ext in '' $ac_executable_extensions; do
9301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9302 ac_cv_prog_STRIP="${ncn_progname}"
9303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9312 STRIP=$ac_cv_prog_STRIP
9313 if test -n "$STRIP"; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9315 $as_echo "$STRIP" >&6; }
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9318 $as_echo "no
" >&6; }
9323 test -n "$ac_cv_prog_STRIP" && break
9326 if test -z "$ac_cv_prog_STRIP" ; then
9332 if test -n "$WINDRES"; then
9333 ac_cv_prog_WINDRES=$WINDRES
9334 elif test -n "$ac_cv_prog_WINDRES"; then
9335 WINDRES=$ac_cv_prog_WINDRES
9338 if test -n "$ac_cv_prog_WINDRES"; then
9339 for ncn_progname in windres; do
9340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9341 set dummy ${ncn_progname}; ac_word=$2
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9343 $as_echo_n "checking
for $ac_word...
" >&6; }
9344 if ${ac_cv_prog_WINDRES+:} false; then :
9345 $as_echo_n "(cached
) " >&6
9347 if test -n "$WINDRES"; then
9348 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9354 test -z "$as_dir" && as_dir=.
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_WINDRES="${ncn_progname}"
9358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9367 WINDRES=$ac_cv_prog_WINDRES
9368 if test -n "$WINDRES"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9370 $as_echo "$WINDRES" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9373 $as_echo "no
" >&6; }
9380 for ncn_progname in windres; do
9381 if test -n "$ncn_tool_prefix"; then
9382 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9383 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9422 set dummy ${ncn_progname}; ac_word=$2
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9424 $as_echo_n "checking
for $ac_word...
" >&6; }
9425 if ${ac_cv_prog_WINDRES+:} false; then :
9426 $as_echo_n "(cached
) " >&6
9428 if test -n "$WINDRES"; then
9429 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir=.
9436 for ac_exec_ext in '' $ac_executable_extensions; do
9437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9438 ac_cv_prog_WINDRES="${ncn_progname}"
9439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9448 WINDRES=$ac_cv_prog_WINDRES
9449 if test -n "$WINDRES"; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9451 $as_echo "$WINDRES" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9454 $as_echo "no
" >&6; }
9459 test -n "$ac_cv_prog_WINDRES" && break
9462 if test -z "$ac_cv_prog_WINDRES" ; then
9464 if test $build = $host ; then
9467 WINDRES="${ncn_tool_prefix}$2"
9473 if test -n "$WINDMC"; then
9474 ac_cv_prog_WINDMC=$WINDMC
9475 elif test -n "$ac_cv_prog_WINDMC"; then
9476 WINDMC=$ac_cv_prog_WINDMC
9479 if test -n "$ac_cv_prog_WINDMC"; then
9480 for ncn_progname in windmc; do
9481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9482 set dummy ${ncn_progname}; ac_word=$2
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9484 $as_echo_n "checking
for $ac_word...
" >&6; }
9485 if ${ac_cv_prog_WINDMC+:} false; then :
9486 $as_echo_n "(cached
) " >&6
9488 if test -n "$WINDMC"; then
9489 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9495 test -z "$as_dir" && as_dir=.
9496 for ac_exec_ext in '' $ac_executable_extensions; do
9497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9498 ac_cv_prog_WINDMC="${ncn_progname}"
9499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9508 WINDMC=$ac_cv_prog_WINDMC
9509 if test -n "$WINDMC"; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9511 $as_echo "$WINDMC" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9514 $as_echo "no
" >&6; }
9521 for ncn_progname in windmc; do
9522 if test -n "$ncn_tool_prefix"; then
9523 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9524 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9563 set dummy ${ncn_progname}; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9565 $as_echo_n "checking
for $ac_word...
" >&6; }
9566 if ${ac_cv_prog_WINDMC+:} false; then :
9567 $as_echo_n "(cached
) " >&6
9569 if test -n "$WINDMC"; then
9570 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9579 ac_cv_prog_WINDMC="${ncn_progname}"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9589 WINDMC=$ac_cv_prog_WINDMC
9590 if test -n "$WINDMC"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9592 $as_echo "$WINDMC" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9595 $as_echo "no
" >&6; }
9600 test -n "$ac_cv_prog_WINDMC" && break
9603 if test -z "$ac_cv_prog_WINDMC" ; then
9605 if test $build = $host ; then
9608 WINDMC="${ncn_tool_prefix}$2"
9614 if test -n "$OBJCOPY"; then
9615 ac_cv_prog_OBJCOPY=$OBJCOPY
9616 elif test -n "$ac_cv_prog_OBJCOPY"; then
9617 OBJCOPY=$ac_cv_prog_OBJCOPY
9620 if test -n "$ac_cv_prog_OBJCOPY"; then
9621 for ncn_progname in objcopy; do
9622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9623 set dummy ${ncn_progname}; ac_word=$2
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9625 $as_echo_n "checking
for $ac_word...
" >&6; }
9626 if ${ac_cv_prog_OBJCOPY+:} false; then :
9627 $as_echo_n "(cached
) " >&6
9629 if test -n "$OBJCOPY"; then
9630 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir=.
9637 for ac_exec_ext in '' $ac_executable_extensions; do
9638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9639 ac_cv_prog_OBJCOPY="${ncn_progname}"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9649 OBJCOPY=$ac_cv_prog_OBJCOPY
9650 if test -n "$OBJCOPY"; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9652 $as_echo "$OBJCOPY" >&6; }
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9655 $as_echo "no
" >&6; }
9662 for ncn_progname in objcopy; do
9663 if test -n "$ncn_tool_prefix"; then
9664 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9665 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9704 set dummy ${ncn_progname}; ac_word=$2
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9706 $as_echo_n "checking
for $ac_word...
" >&6; }
9707 if ${ac_cv_prog_OBJCOPY+:} false; then :
9708 $as_echo_n "(cached
) " >&6
9710 if test -n "$OBJCOPY"; then
9711 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir=.
9718 for ac_exec_ext in '' $ac_executable_extensions; do
9719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9720 ac_cv_prog_OBJCOPY="${ncn_progname}"
9721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9730 OBJCOPY=$ac_cv_prog_OBJCOPY
9731 if test -n "$OBJCOPY"; then
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9733 $as_echo "$OBJCOPY" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9736 $as_echo "no
" >&6; }
9741 test -n "$ac_cv_prog_OBJCOPY" && break
9744 if test -z "$ac_cv_prog_OBJCOPY" ; then
9746 if test $build = $host ; then
9749 OBJCOPY="${ncn_tool_prefix}$2"
9755 if test -n "$OBJDUMP"; then
9756 ac_cv_prog_OBJDUMP=$OBJDUMP
9757 elif test -n "$ac_cv_prog_OBJDUMP"; then
9758 OBJDUMP=$ac_cv_prog_OBJDUMP
9761 if test -n "$ac_cv_prog_OBJDUMP"; then
9762 for ncn_progname in objdump; do
9763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9764 set dummy ${ncn_progname}; ac_word=$2
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9766 $as_echo_n "checking
for $ac_word...
" >&6; }
9767 if ${ac_cv_prog_OBJDUMP+:} false; then :
9768 $as_echo_n "(cached
) " >&6
9770 if test -n "$OBJDUMP"; then
9771 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 test -z "$as_dir" && as_dir=.
9778 for ac_exec_ext in '' $ac_executable_extensions; do
9779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9780 ac_cv_prog_OBJDUMP="${ncn_progname}"
9781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9790 OBJDUMP=$ac_cv_prog_OBJDUMP
9791 if test -n "$OBJDUMP"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9793 $as_echo "$OBJDUMP" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9796 $as_echo "no
" >&6; }
9803 for ncn_progname in objdump; do
9804 if test -n "$ncn_tool_prefix"; then
9805 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9806 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9845 set dummy ${ncn_progname}; ac_word=$2
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9847 $as_echo_n "checking
for $ac_word...
" >&6; }
9848 if ${ac_cv_prog_OBJDUMP+:} false; then :
9849 $as_echo_n "(cached
) " >&6
9851 if test -n "$OBJDUMP"; then
9852 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9858 test -z "$as_dir" && as_dir=.
9859 for ac_exec_ext in '' $ac_executable_extensions; do
9860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9861 ac_cv_prog_OBJDUMP="${ncn_progname}"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9871 OBJDUMP=$ac_cv_prog_OBJDUMP
9872 if test -n "$OBJDUMP"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9874 $as_echo "$OBJDUMP" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9877 $as_echo "no
" >&6; }
9882 test -n "$ac_cv_prog_OBJDUMP" && break
9885 if test -z "$ac_cv_prog_OBJDUMP" ; then
9887 if test $build = $host ; then
9890 OBJDUMP="${ncn_tool_prefix}$2"
9896 if test -n "$READELF"; then
9897 ac_cv_prog_READELF=$READELF
9898 elif test -n "$ac_cv_prog_READELF"; then
9899 READELF=$ac_cv_prog_READELF
9902 if test -n "$ac_cv_prog_READELF"; then
9903 for ncn_progname in readelf; do
9904 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9905 set dummy ${ncn_progname}; ac_word=$2
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9907 $as_echo_n "checking
for $ac_word...
" >&6; }
9908 if ${ac_cv_prog_READELF+:} false; then :
9909 $as_echo_n "(cached
) " >&6
9911 if test -n "$READELF"; then
9912 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_READELF="${ncn_progname}"
9922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9931 READELF=$ac_cv_prog_READELF
9932 if test -n "$READELF"; then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9934 $as_echo "$READELF" >&6; }
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9937 $as_echo "no
" >&6; }
9944 for ncn_progname in readelf; do
9945 if test -n "$ncn_tool_prefix"; then
9946 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9947 set dummy ${ncn_tool_prefix}${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_tool_prefix}${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 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9986 set dummy ${ncn_progname}; ac_word=$2
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9988 $as_echo_n "checking
for $ac_word...
" >&6; }
9989 if ${ac_cv_prog_READELF+:} false; then :
9990 $as_echo_n "(cached
) " >&6
9992 if test -n "$READELF"; then
9993 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_prog_READELF="${ncn_progname}"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10012 READELF=$ac_cv_prog_READELF
10013 if test -n "$READELF"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10015 $as_echo "$READELF" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10018 $as_echo "no
" >&6; }
10023 test -n "$ac_cv_prog_READELF" && break
10026 if test -z "$ac_cv_prog_READELF" ; then
10028 if test $build = $host ; then
10031 READELF="${ncn_tool_prefix}$2"
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
10041 $as_echo_n "checking
for -plugin option...
" >&6; }
10043 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
10045 for plugin in $plugin_names; do
10046 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
10047 if test x$plugin_so = x$plugin; then
10048 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
10050 if test x$plugin_so != x$plugin; then
10051 plugin_option="--plugin $plugin_so"
10055 if test -n "$ac_tool_prefix"; then
10056 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10057 set dummy ${ac_tool_prefix}ar; ac_word=$2
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10059 $as_echo_n "checking
for $ac_word...
" >&6; }
10060 if ${ac_cv_prog_AR+:} false; then :
10061 $as_echo_n "(cached
) " >&6
10063 if test -n "$AR"; then
10064 ac_cv_prog_AR="$AR" # Let the user override the test.
10066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10067 for as_dir in $PATH
10070 test -z "$as_dir" && as_dir=.
10071 for ac_exec_ext in '' $ac_executable_extensions; do
10072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10073 ac_cv_prog_AR="${ac_tool_prefix}ar"
10074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10084 if test -n "$AR"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10086 $as_echo "$AR" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10089 $as_echo "no
" >&6; }
10094 if test -z "$ac_cv_prog_AR"; then
10096 # Extract the first word of "ar", so it can be a program name with args.
10097 set dummy ar; ac_word=$2
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10099 $as_echo_n "checking
for $ac_word...
" >&6; }
10100 if ${ac_cv_prog_ac_ct_AR+:} false; then :
10101 $as_echo_n "(cached
) " >&6
10103 if test -n "$ac_ct_AR"; then
10104 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10107 for as_dir in $PATH
10110 test -z "$as_dir" && as_dir=.
10111 for ac_exec_ext in '' $ac_executable_extensions; do
10112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10113 ac_cv_prog_ac_ct_AR="ar"
10114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10124 if test -n "$ac_ct_AR"; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
10126 $as_echo "$ac_ct_AR" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10129 $as_echo "no
" >&6; }
10132 if test "x
$ac_ct_AR" = x; then
10135 case $cross_compiling:$ac_tool_warned in
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10138 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10139 ac_tool_warned=yes ;;
10144 AR="$ac_cv_prog_AR"
10147 if test "${AR}" = "" ; then
10148 as_fn_error $? "Required archive tool
'ar' not found on PATH.
" "$LINENO" 5
10151 ${AR} $plugin_option rc conftest.a conftest.c
10152 if test "$?
" != 0; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
10154 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
10158 if test -n "$plugin_option"; then
10159 PLUGIN_OPTION="$plugin_option"
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
10161 $as_echo "$plugin_option" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10164 $as_echo "no
" >&6; }
10168 RANLIB_PLUGIN_OPTION=
10169 if test -n "$PLUGIN_OPTION"; then
10170 if $AR --help 2>&1 | grep -q "\
--plugin"; then
10171 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
10173 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
10174 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
10182 # Check whether --with-build-time-tools was given.
10183 if test "${with_build_time_tools+set}" = set; then :
10184 withval=$with_build_time_tools; case x"$withval" in
10187 with_build_time_tools=
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10189 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10193 with_build_time_tools=
10199 if test -n "$CC_FOR_TARGET"; then
10200 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10201 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10202 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10205 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10206 for ncn_progname in cc gcc; do
10207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10208 set dummy ${ncn_progname}; ac_word=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10210 $as_echo_n "checking
for $ac_word...
" >&6; }
10211 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10212 $as_echo_n "(cached
) " >&6
10214 if test -n "$CC_FOR_TARGET"; then
10215 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10218 for as_dir in $PATH
10221 test -z "$as_dir" && as_dir=.
10222 for ac_exec_ext in '' $ac_executable_extensions; do
10223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10224 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10234 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10235 if test -n "$CC_FOR_TARGET"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10237 $as_echo "$CC_FOR_TARGET" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10240 $as_echo "no
" >&6; }
10247 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10248 for ncn_progname in cc gcc; do
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10250 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10251 if test -x $with_build_time_tools/${ncn_progname}; then
10252 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10254 $as_echo "yes" >&6; }
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10258 $as_echo "no
" >&6; }
10263 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10264 for ncn_progname in cc gcc; do
10265 if test -n "$ncn_target_tool_prefix"; then
10266 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10267 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10269 $as_echo_n "checking
for $ac_word...
" >&6; }
10270 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10271 $as_echo_n "(cached
) " >&6
10273 if test -n "$CC_FOR_TARGET"; then
10274 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10277 for as_dir in $PATH
10280 test -z "$as_dir" && as_dir=.
10281 for ac_exec_ext in '' $ac_executable_extensions; do
10282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10283 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10293 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10294 if test -n "$CC_FOR_TARGET"; then
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10296 $as_echo "$CC_FOR_TARGET" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10299 $as_echo "no
" >&6; }
10304 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10306 set dummy ${ncn_progname}; ac_word=$2
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10308 $as_echo_n "checking
for $ac_word...
" >&6; }
10309 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10310 $as_echo_n "(cached
) " >&6
10312 if test -n "$CC_FOR_TARGET"; then
10313 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10316 for as_dir in $PATH
10319 test -z "$as_dir" && as_dir=.
10320 for ac_exec_ext in '' $ac_executable_extensions; do
10321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10322 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10332 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10333 if test -n "$CC_FOR_TARGET"; then
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10335 $as_echo "$CC_FOR_TARGET" >&6; }
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10338 $as_echo "no
" >&6; }
10343 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10347 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10349 if test $build = $target ; then
10352 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10355 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10360 if test -n "$CXX_FOR_TARGET"; then
10361 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10362 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10363 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10366 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10367 for ncn_progname in c++ g++ cxx gxx; do
10368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10369 set dummy ${ncn_progname}; ac_word=$2
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10371 $as_echo_n "checking
for $ac_word...
" >&6; }
10372 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10373 $as_echo_n "(cached
) " >&6
10375 if test -n "$CXX_FOR_TARGET"; then
10376 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10379 for as_dir in $PATH
10382 test -z "$as_dir" && as_dir=.
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10395 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10396 if test -n "$CXX_FOR_TARGET"; then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10398 $as_echo "$CXX_FOR_TARGET" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10401 $as_echo "no
" >&6; }
10408 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10409 for ncn_progname in c++ g++ cxx gxx; do
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10411 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10412 if test -x $with_build_time_tools/${ncn_progname}; then
10413 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10415 $as_echo "yes" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10419 $as_echo "no
" >&6; }
10424 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10425 for ncn_progname in c++ g++ cxx gxx; do
10426 if test -n "$ncn_target_tool_prefix"; then
10427 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10428 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10430 $as_echo_n "checking
for $ac_word...
" >&6; }
10431 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10432 $as_echo_n "(cached
) " >&6
10434 if test -n "$CXX_FOR_TARGET"; then
10435 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10444 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10454 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10455 if test -n "$CXX_FOR_TARGET"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10457 $as_echo "$CXX_FOR_TARGET" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10460 $as_echo "no
" >&6; }
10465 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10467 set dummy ${ncn_progname}; ac_word=$2
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10469 $as_echo_n "checking
for $ac_word...
" >&6; }
10470 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10471 $as_echo_n "(cached
) " >&6
10473 if test -n "$CXX_FOR_TARGET"; then
10474 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10480 test -z "$as_dir" && as_dir=.
10481 for ac_exec_ext in '' $ac_executable_extensions; do
10482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10483 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10493 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10494 if test -n "$CXX_FOR_TARGET"; then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10496 $as_echo "$CXX_FOR_TARGET" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10499 $as_echo "no
" >&6; }
10504 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10508 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10509 set dummy c++ g++ cxx gxx
10510 if test $build = $target ; then
10511 CXX_FOR_TARGET="$2"
10513 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10516 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10521 if test -n "$GCC_FOR_TARGET"; then
10522 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10523 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10524 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10527 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10528 for ncn_progname in gcc; do
10529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10530 set dummy ${ncn_progname}; ac_word=$2
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10532 $as_echo_n "checking
for $ac_word...
" >&6; }
10533 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10534 $as_echo_n "(cached
) " >&6
10536 if test -n "$GCC_FOR_TARGET"; then
10537 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10540 for as_dir in $PATH
10543 test -z "$as_dir" && as_dir=.
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10546 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10556 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10557 if test -n "$GCC_FOR_TARGET"; then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10559 $as_echo "$GCC_FOR_TARGET" >&6; }
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10562 $as_echo "no
" >&6; }
10569 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10570 for ncn_progname in gcc; do
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10572 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10573 if test -x $with_build_time_tools/${ncn_progname}; then
10574 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10576 $as_echo "yes" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10580 $as_echo "no
" >&6; }
10585 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10586 for ncn_progname in gcc; do
10587 if test -n "$ncn_target_tool_prefix"; then
10588 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10589 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10591 $as_echo_n "checking
for $ac_word...
" >&6; }
10592 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10593 $as_echo_n "(cached
) " >&6
10595 if test -n "$GCC_FOR_TARGET"; then
10596 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10599 for as_dir in $PATH
10602 test -z "$as_dir" && as_dir=.
10603 for ac_exec_ext in '' $ac_executable_extensions; do
10604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10605 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10615 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10616 if test -n "$GCC_FOR_TARGET"; then
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10618 $as_echo "$GCC_FOR_TARGET" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10621 $as_echo "no
" >&6; }
10626 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10628 set dummy ${ncn_progname}; ac_word=$2
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10630 $as_echo_n "checking
for $ac_word...
" >&6; }
10631 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10632 $as_echo_n "(cached
) " >&6
10634 if test -n "$GCC_FOR_TARGET"; then
10635 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10638 for as_dir in $PATH
10641 test -z "$as_dir" && as_dir=.
10642 for ac_exec_ext in '' $ac_executable_extensions; do
10643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10644 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10654 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10655 if test -n "$GCC_FOR_TARGET"; then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10657 $as_echo "$GCC_FOR_TARGET" >&6; }
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10660 $as_echo "no
" >&6; }
10665 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10669 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10670 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10672 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10677 if test -n "$GCJ_FOR_TARGET"; then
10678 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10679 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10680 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10683 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10684 for ncn_progname in gcj; do
10685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10686 set dummy ${ncn_progname}; ac_word=$2
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10688 $as_echo_n "checking
for $ac_word...
" >&6; }
10689 if ${ac_cv_prog_GCJ_FOR_TARGET+:} false; then :
10690 $as_echo_n "(cached
) " >&6
10692 if test -n "$GCJ_FOR_TARGET"; then
10693 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10696 for as_dir in $PATH
10699 test -z "$as_dir" && as_dir=.
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10702 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10712 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10713 if test -n "$GCJ_FOR_TARGET"; then
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10715 $as_echo "$GCJ_FOR_TARGET" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10718 $as_echo "no
" >&6; }
10725 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10726 for ncn_progname in gcj; do
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10728 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10729 if test -x $with_build_time_tools/${ncn_progname}; then
10730 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10732 $as_echo "yes" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10736 $as_echo "no
" >&6; }
10741 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10742 for ncn_progname in gcj; do
10743 if test -n "$ncn_target_tool_prefix"; then
10744 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10745 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10747 $as_echo_n "checking
for $ac_word...
" >&6; }
10748 if ${ac_cv_prog_GCJ_FOR_TARGET+:} false; then :
10749 $as_echo_n "(cached
) " >&6
10751 if test -n "$GCJ_FOR_TARGET"; then
10752 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
10758 test -z "$as_dir" && as_dir=.
10759 for ac_exec_ext in '' $ac_executable_extensions; do
10760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10771 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10772 if test -n "$GCJ_FOR_TARGET"; then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10774 $as_echo "$GCJ_FOR_TARGET" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10777 $as_echo "no
" >&6; }
10782 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10783 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10784 set dummy ${ncn_progname}; ac_word=$2
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10786 $as_echo_n "checking
for $ac_word...
" >&6; }
10787 if ${ac_cv_prog_GCJ_FOR_TARGET+:} false; then :
10788 $as_echo_n "(cached
) " >&6
10790 if test -n "$GCJ_FOR_TARGET"; then
10791 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10794 for as_dir in $PATH
10797 test -z "$as_dir" && as_dir=.
10798 for ac_exec_ext in '' $ac_executable_extensions; do
10799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10800 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10801 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10810 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10811 if test -n "$GCJ_FOR_TARGET"; then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10813 $as_echo "$GCJ_FOR_TARGET" >&6; }
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10816 $as_echo "no
" >&6; }
10821 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10825 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10827 if test $build = $target ; then
10828 GCJ_FOR_TARGET="$2"
10830 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10833 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10838 if test -n "$GFORTRAN_FOR_TARGET"; then
10839 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10840 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10841 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10844 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10845 for ncn_progname in gfortran; do
10846 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10847 set dummy ${ncn_progname}; ac_word=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10849 $as_echo_n "checking
for $ac_word...
" >&6; }
10850 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10851 $as_echo_n "(cached
) " >&6
10853 if test -n "$GFORTRAN_FOR_TARGET"; then
10854 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10857 for as_dir in $PATH
10860 test -z "$as_dir" && as_dir=.
10861 for ac_exec_ext in '' $ac_executable_extensions; do
10862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10863 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10873 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10874 if test -n "$GFORTRAN_FOR_TARGET"; then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10876 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10879 $as_echo "no
" >&6; }
10886 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10887 for ncn_progname in gfortran; do
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10889 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10890 if test -x $with_build_time_tools/${ncn_progname}; then
10891 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10893 $as_echo "yes" >&6; }
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10897 $as_echo "no
" >&6; }
10902 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10903 for ncn_progname in gfortran; do
10904 if test -n "$ncn_target_tool_prefix"; then
10905 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10906 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10908 $as_echo_n "checking
for $ac_word...
" >&6; }
10909 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10910 $as_echo_n "(cached
) " >&6
10912 if test -n "$GFORTRAN_FOR_TARGET"; then
10913 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 for as_dir in $PATH
10919 test -z "$as_dir" && as_dir=.
10920 for ac_exec_ext in '' $ac_executable_extensions; do
10921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10922 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10932 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10933 if test -n "$GFORTRAN_FOR_TARGET"; then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10935 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10938 $as_echo "no
" >&6; }
10943 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10944 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10945 set dummy ${ncn_progname}; ac_word=$2
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10947 $as_echo_n "checking
for $ac_word...
" >&6; }
10948 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10949 $as_echo_n "(cached
) " >&6
10951 if test -n "$GFORTRAN_FOR_TARGET"; then
10952 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10955 for as_dir in $PATH
10958 test -z "$as_dir" && as_dir=.
10959 for ac_exec_ext in '' $ac_executable_extensions; do
10960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10961 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10971 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10972 if test -n "$GFORTRAN_FOR_TARGET"; then
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10974 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10977 $as_echo "no
" >&6; }
10982 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10986 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10988 if test $build = $target ; then
10989 GFORTRAN_FOR_TARGET="$2"
10991 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10994 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10999 if test -n "$GOC_FOR_TARGET"; then
11000 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
11001 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11002 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11005 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11006 for ncn_progname in gccgo; do
11007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11008 set dummy ${ncn_progname}; ac_word=$2
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11010 $as_echo_n "checking
for $ac_word...
" >&6; }
11011 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11012 $as_echo_n "(cached
) " >&6
11014 if test -n "$GOC_FOR_TARGET"; then
11015 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11018 for as_dir in $PATH
11021 test -z "$as_dir" && as_dir=.
11022 for ac_exec_ext in '' $ac_executable_extensions; do
11023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11024 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11034 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11035 if test -n "$GOC_FOR_TARGET"; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11037 $as_echo "$GOC_FOR_TARGET" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11040 $as_echo "no
" >&6; }
11047 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11048 for ncn_progname in gccgo; do
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11050 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11051 if test -x $with_build_time_tools/${ncn_progname}; then
11052 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11054 $as_echo "yes" >&6; }
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11058 $as_echo "no
" >&6; }
11063 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
11064 for ncn_progname in gccgo; do
11065 if test -n "$ncn_target_tool_prefix"; then
11066 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11067 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11069 $as_echo_n "checking
for $ac_word...
" >&6; }
11070 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11071 $as_echo_n "(cached
) " >&6
11073 if test -n "$GOC_FOR_TARGET"; then
11074 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11077 for as_dir in $PATH
11080 test -z "$as_dir" && as_dir=.
11081 for ac_exec_ext in '' $ac_executable_extensions; do
11082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11083 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11093 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11094 if test -n "$GOC_FOR_TARGET"; then
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11096 $as_echo "$GOC_FOR_TARGET" >&6; }
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11099 $as_echo "no
" >&6; }
11104 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11105 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11106 set dummy ${ncn_progname}; ac_word=$2
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11108 $as_echo_n "checking
for $ac_word...
" >&6; }
11109 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11110 $as_echo_n "(cached
) " >&6
11112 if test -n "$GOC_FOR_TARGET"; then
11113 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11116 for as_dir in $PATH
11119 test -z "$as_dir" && as_dir=.
11120 for ac_exec_ext in '' $ac_executable_extensions; do
11121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11122 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11132 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11133 if test -n "$GOC_FOR_TARGET"; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11135 $as_echo "$GOC_FOR_TARGET" >&6; }
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11138 $as_echo "no
" >&6; }
11143 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11147 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11149 if test $build = $target ; then
11150 GOC_FOR_TARGET="$2"
11152 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11155 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11160 cat > conftest.c << \EOF
11165 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11166 have_gcc_for_target=yes
11168 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11169 have_gcc_for_target=no
11176 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11177 if test -n "$with_build_time_tools"; then
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11179 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11180 if test -x $with_build_time_tools/ar; then
11181 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11182 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11184 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11187 $as_echo "no
" >&6; }
11189 elif test $build != $host && test $have_gcc_for_target = yes; then
11190 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11191 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11192 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11195 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11196 # Extract the first word of "ar", so it can be a program name with args.
11197 set dummy ar; ac_word=$2
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11199 $as_echo_n "checking
for $ac_word...
" >&6; }
11200 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11201 $as_echo_n "(cached
) " >&6
11203 case $AR_FOR_TARGET in
11205 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11209 for as_dir in $gcc_cv_tool_dirs
11212 test -z "$as_dir" && as_dir=.
11213 for ac_exec_ext in '' $ac_executable_extensions; do
11214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11215 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11226 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11227 if test -n "$AR_FOR_TARGET"; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11229 $as_echo "$AR_FOR_TARGET" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11232 $as_echo "no
" >&6; }
11237 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11240 if test -n "$AR_FOR_TARGET"; then
11241 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11242 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11243 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11246 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11247 for ncn_progname in ar; do
11248 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11249 set dummy ${ncn_progname}; ac_word=$2
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11251 $as_echo_n "checking
for $ac_word...
" >&6; }
11252 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11253 $as_echo_n "(cached
) " >&6
11255 if test -n "$AR_FOR_TARGET"; then
11256 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259 for as_dir in $PATH
11262 test -z "$as_dir" && as_dir=.
11263 for ac_exec_ext in '' $ac_executable_extensions; do
11264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11275 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11276 if test -n "$AR_FOR_TARGET"; then
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11278 $as_echo "$AR_FOR_TARGET" >&6; }
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11281 $as_echo "no
" >&6; }
11288 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11289 for ncn_progname in ar; do
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11291 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11292 if test -x $with_build_time_tools/${ncn_progname}; then
11293 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11295 $as_echo "yes" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11299 $as_echo "no
" >&6; }
11304 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11305 for ncn_progname in ar; do
11306 if test -n "$ncn_target_tool_prefix"; then
11307 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11308 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11310 $as_echo_n "checking
for $ac_word...
" >&6; }
11311 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11312 $as_echo_n "(cached
) " >&6
11314 if test -n "$AR_FOR_TARGET"; then
11315 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11318 for as_dir in $PATH
11321 test -z "$as_dir" && as_dir=.
11322 for ac_exec_ext in '' $ac_executable_extensions; do
11323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11324 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11334 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11335 if test -n "$AR_FOR_TARGET"; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11337 $as_echo "$AR_FOR_TARGET" >&6; }
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11340 $as_echo "no
" >&6; }
11345 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11347 set dummy ${ncn_progname}; ac_word=$2
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11349 $as_echo_n "checking
for $ac_word...
" >&6; }
11350 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11351 $as_echo_n "(cached
) " >&6
11353 if test -n "$AR_FOR_TARGET"; then
11354 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357 for as_dir in $PATH
11360 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do
11362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11363 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11373 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11374 if test -n "$AR_FOR_TARGET"; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11376 $as_echo "$AR_FOR_TARGET" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11379 $as_echo "no
" >&6; }
11384 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11388 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11390 if test $build = $target ; then
11393 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11396 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11400 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11406 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11407 if test -n "$with_build_time_tools"; then
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11409 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11410 if test -x $with_build_time_tools/as; then
11411 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11412 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11414 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11417 $as_echo "no
" >&6; }
11419 elif test $build != $host && test $have_gcc_for_target = yes; then
11420 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11421 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11422 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11425 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11426 # Extract the first word of "as
", so it can be a program name with args.
11427 set dummy as; ac_word=$2
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11429 $as_echo_n "checking
for $ac_word...
" >&6; }
11430 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11431 $as_echo_n "(cached
) " >&6
11433 case $AS_FOR_TARGET in
11435 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439 for as_dir in $gcc_cv_tool_dirs
11442 test -z "$as_dir" && as_dir=.
11443 for ac_exec_ext in '' $ac_executable_extensions; do
11444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11456 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11457 if test -n "$AS_FOR_TARGET"; then
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11459 $as_echo "$AS_FOR_TARGET" >&6; }
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11462 $as_echo "no
" >&6; }
11467 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11470 if test -n "$AS_FOR_TARGET"; then
11471 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11472 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11473 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11476 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11477 for ncn_progname in as; do
11478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11479 set dummy ${ncn_progname}; ac_word=$2
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11481 $as_echo_n "checking
for $ac_word...
" >&6; }
11482 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11483 $as_echo_n "(cached
) " >&6
11485 if test -n "$AS_FOR_TARGET"; then
11486 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11489 for as_dir in $PATH
11492 test -z "$as_dir" && as_dir=.
11493 for ac_exec_ext in '' $ac_executable_extensions; do
11494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11495 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11505 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11506 if test -n "$AS_FOR_TARGET"; then
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11508 $as_echo "$AS_FOR_TARGET" >&6; }
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11511 $as_echo "no
" >&6; }
11518 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11519 for ncn_progname in as; do
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11521 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11522 if test -x $with_build_time_tools/${ncn_progname}; then
11523 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11525 $as_echo "yes" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11529 $as_echo "no
" >&6; }
11534 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11535 for ncn_progname in as; do
11536 if test -n "$ncn_target_tool_prefix"; then
11537 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11538 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11540 $as_echo_n "checking
for $ac_word...
" >&6; }
11541 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11542 $as_echo_n "(cached
) " >&6
11544 if test -n "$AS_FOR_TARGET"; then
11545 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $PATH
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11554 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11564 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11565 if test -n "$AS_FOR_TARGET"; then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11567 $as_echo "$AS_FOR_TARGET" >&6; }
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11570 $as_echo "no
" >&6; }
11575 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11577 set dummy ${ncn_progname}; ac_word=$2
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11579 $as_echo_n "checking
for $ac_word...
" >&6; }
11580 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11581 $as_echo_n "(cached
) " >&6
11583 if test -n "$AS_FOR_TARGET"; then
11584 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11587 for as_dir in $PATH
11590 test -z "$as_dir" && as_dir=.
11591 for ac_exec_ext in '' $ac_executable_extensions; do
11592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11593 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11603 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11604 if test -n "$AS_FOR_TARGET"; then
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11606 $as_echo "$AS_FOR_TARGET" >&6; }
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11609 $as_echo "no
" >&6; }
11614 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11618 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11620 if test $build = $target ; then
11623 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11626 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11630 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11636 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11637 if test -n "$with_build_time_tools"; then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11639 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11640 if test -x $with_build_time_tools/dlltool; then
11641 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11642 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11644 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11647 $as_echo "no
" >&6; }
11649 elif test $build != $host && test $have_gcc_for_target = yes; then
11650 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11651 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11652 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11655 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11656 # Extract the first word of "dlltool
", so it can be a program name with args.
11657 set dummy dlltool; ac_word=$2
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11659 $as_echo_n "checking
for $ac_word...
" >&6; }
11660 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11661 $as_echo_n "(cached
) " >&6
11663 case $DLLTOOL_FOR_TARGET in
11665 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11669 for as_dir in $gcc_cv_tool_dirs
11672 test -z "$as_dir" && as_dir=.
11673 for ac_exec_ext in '' $ac_executable_extensions; do
11674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11675 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11686 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11687 if test -n "$DLLTOOL_FOR_TARGET"; then
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11689 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11692 $as_echo "no
" >&6; }
11697 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11700 if test -n "$DLLTOOL_FOR_TARGET"; then
11701 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11702 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11703 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11706 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11707 for ncn_progname in dlltool; do
11708 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11709 set dummy ${ncn_progname}; ac_word=$2
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11711 $as_echo_n "checking
for $ac_word...
" >&6; }
11712 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11713 $as_echo_n "(cached
) " >&6
11715 if test -n "$DLLTOOL_FOR_TARGET"; then
11716 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11719 for as_dir in $PATH
11722 test -z "$as_dir" && as_dir=.
11723 for ac_exec_ext in '' $ac_executable_extensions; do
11724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11725 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11735 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11736 if test -n "$DLLTOOL_FOR_TARGET"; then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11738 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11741 $as_echo "no
" >&6; }
11748 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11749 for ncn_progname in dlltool; do
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11751 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11752 if test -x $with_build_time_tools/${ncn_progname}; then
11753 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11755 $as_echo "yes" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11759 $as_echo "no
" >&6; }
11764 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11765 for ncn_progname in dlltool; do
11766 if test -n "$ncn_target_tool_prefix"; then
11767 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11768 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11770 $as_echo_n "checking
for $ac_word...
" >&6; }
11771 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11772 $as_echo_n "(cached
) " >&6
11774 if test -n "$DLLTOOL_FOR_TARGET"; then
11775 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $PATH
11781 test -z "$as_dir" && as_dir=.
11782 for ac_exec_ext in '' $ac_executable_extensions; do
11783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11794 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11795 if test -n "$DLLTOOL_FOR_TARGET"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11797 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11800 $as_echo "no
" >&6; }
11805 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11807 set dummy ${ncn_progname}; ac_word=$2
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11809 $as_echo_n "checking
for $ac_word...
" >&6; }
11810 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11811 $as_echo_n "(cached
) " >&6
11813 if test -n "$DLLTOOL_FOR_TARGET"; then
11814 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11817 for as_dir in $PATH
11820 test -z "$as_dir" && as_dir=.
11821 for ac_exec_ext in '' $ac_executable_extensions; do
11822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11823 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11833 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11834 if test -n "$DLLTOOL_FOR_TARGET"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11836 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11839 $as_echo "no
" >&6; }
11844 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11848 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11850 if test $build = $target ; then
11851 DLLTOOL_FOR_TARGET="$2"
11853 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11856 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11860 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11866 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11867 if test -n "$with_build_time_tools"; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11869 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11870 if test -x $with_build_time_tools/ld; then
11871 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11872 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11874 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11877 $as_echo "no
" >&6; }
11879 elif test $build != $host && test $have_gcc_for_target = yes; then
11880 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11881 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11882 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11885 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11886 # Extract the first word of "ld
", so it can be a program name with args.
11887 set dummy ld; ac_word=$2
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11889 $as_echo_n "checking
for $ac_word...
" >&6; }
11890 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11891 $as_echo_n "(cached
) " >&6
11893 case $LD_FOR_TARGET in
11895 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $gcc_cv_tool_dirs
11902 test -z "$as_dir" && as_dir=.
11903 for ac_exec_ext in '' $ac_executable_extensions; do
11904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11905 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11916 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11917 if test -n "$LD_FOR_TARGET"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11919 $as_echo "$LD_FOR_TARGET" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11922 $as_echo "no
" >&6; }
11927 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11930 if test -n "$LD_FOR_TARGET"; then
11931 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11932 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11933 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11936 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11937 for ncn_progname in ld; do
11938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11939 set dummy ${ncn_progname}; ac_word=$2
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11941 $as_echo_n "checking
for $ac_word...
" >&6; }
11942 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11943 $as_echo_n "(cached
) " >&6
11945 if test -n "$LD_FOR_TARGET"; then
11946 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11949 for as_dir in $PATH
11952 test -z "$as_dir" && as_dir=.
11953 for ac_exec_ext in '' $ac_executable_extensions; do
11954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11955 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11965 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11966 if test -n "$LD_FOR_TARGET"; then
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11968 $as_echo "$LD_FOR_TARGET" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11971 $as_echo "no
" >&6; }
11978 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11979 for ncn_progname in ld; do
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11981 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11982 if test -x $with_build_time_tools/${ncn_progname}; then
11983 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11985 $as_echo "yes" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11989 $as_echo "no
" >&6; }
11994 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11995 for ncn_progname in ld; do
11996 if test -n "$ncn_target_tool_prefix"; then
11997 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11998 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12000 $as_echo_n "checking
for $ac_word...
" >&6; }
12001 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12002 $as_echo_n "(cached
) " >&6
12004 if test -n "$LD_FOR_TARGET"; then
12005 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008 for as_dir in $PATH
12011 test -z "$as_dir" && as_dir=.
12012 for ac_exec_ext in '' $ac_executable_extensions; do
12013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12014 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12024 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12025 if test -n "$LD_FOR_TARGET"; then
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12027 $as_echo "$LD_FOR_TARGET" >&6; }
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12030 $as_echo "no
" >&6; }
12035 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12036 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12037 set dummy ${ncn_progname}; ac_word=$2
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12039 $as_echo_n "checking
for $ac_word...
" >&6; }
12040 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12041 $as_echo_n "(cached
) " >&6
12043 if test -n "$LD_FOR_TARGET"; then
12044 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12047 for as_dir in $PATH
12050 test -z "$as_dir" && as_dir=.
12051 for ac_exec_ext in '' $ac_executable_extensions; do
12052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12053 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12063 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12064 if test -n "$LD_FOR_TARGET"; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12066 $as_echo "$LD_FOR_TARGET" >&6; }
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12069 $as_echo "no
" >&6; }
12074 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12078 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12080 if test $build = $target ; then
12083 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12086 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12090 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12096 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12097 if test -n "$with_build_time_tools"; then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12099 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12100 if test -x $with_build_time_tools/lipo; then
12101 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12102 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12104 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12107 $as_echo "no
" >&6; }
12109 elif test $build != $host && test $have_gcc_for_target = yes; then
12110 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12111 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12112 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12115 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12116 # Extract the first word of "lipo
", so it can be a program name with args.
12117 set dummy lipo; ac_word=$2
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12119 $as_echo_n "checking
for $ac_word...
" >&6; }
12120 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12121 $as_echo_n "(cached
) " >&6
12123 case $LIPO_FOR_TARGET in
12125 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $gcc_cv_tool_dirs
12132 test -z "$as_dir" && as_dir=.
12133 for ac_exec_ext in '' $ac_executable_extensions; do
12134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12135 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12146 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12147 if test -n "$LIPO_FOR_TARGET"; then
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12149 $as_echo "$LIPO_FOR_TARGET" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12152 $as_echo "no
" >&6; }
12157 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12160 if test -n "$LIPO_FOR_TARGET"; then
12161 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12162 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12163 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12166 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12167 for ncn_progname in lipo; do
12168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12169 set dummy ${ncn_progname}; ac_word=$2
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12171 $as_echo_n "checking
for $ac_word...
" >&6; }
12172 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12173 $as_echo_n "(cached
) " >&6
12175 if test -n "$LIPO_FOR_TARGET"; then
12176 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12179 for as_dir in $PATH
12182 test -z "$as_dir" && as_dir=.
12183 for ac_exec_ext in '' $ac_executable_extensions; do
12184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12185 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12195 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12196 if test -n "$LIPO_FOR_TARGET"; then
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12198 $as_echo "$LIPO_FOR_TARGET" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12201 $as_echo "no
" >&6; }
12208 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12209 for ncn_progname in lipo; do
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12211 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12212 if test -x $with_build_time_tools/${ncn_progname}; then
12213 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12215 $as_echo "yes" >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12219 $as_echo "no
" >&6; }
12224 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12225 for ncn_progname in lipo; do
12226 if test -n "$ncn_target_tool_prefix"; then
12227 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12228 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12230 $as_echo_n "checking
for $ac_word...
" >&6; }
12231 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12232 $as_echo_n "(cached
) " >&6
12234 if test -n "$LIPO_FOR_TARGET"; then
12235 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $PATH
12241 test -z "$as_dir" && as_dir=.
12242 for ac_exec_ext in '' $ac_executable_extensions; do
12243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12244 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12254 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12255 if test -n "$LIPO_FOR_TARGET"; then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12257 $as_echo "$LIPO_FOR_TARGET" >&6; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12260 $as_echo "no
" >&6; }
12265 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12267 set dummy ${ncn_progname}; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12269 $as_echo_n "checking
for $ac_word...
" >&6; }
12270 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12271 $as_echo_n "(cached
) " >&6
12273 if test -n "$LIPO_FOR_TARGET"; then
12274 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12280 test -z "$as_dir" && as_dir=.
12281 for ac_exec_ext in '' $ac_executable_extensions; do
12282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12293 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12294 if test -n "$LIPO_FOR_TARGET"; then
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12296 $as_echo "$LIPO_FOR_TARGET" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12299 $as_echo "no
" >&6; }
12304 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12308 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12310 if test $build = $target ; then
12311 LIPO_FOR_TARGET="$2"
12313 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12316 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12320 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12326 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12327 if test -n "$with_build_time_tools"; then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12329 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12330 if test -x $with_build_time_tools/nm; then
12331 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12332 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12334 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12337 $as_echo "no
" >&6; }
12339 elif test $build != $host && test $have_gcc_for_target = yes; then
12340 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12341 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12342 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12345 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12346 # Extract the first word of "nm
", so it can be a program name with args.
12347 set dummy nm; ac_word=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12349 $as_echo_n "checking
for $ac_word...
" >&6; }
12350 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12351 $as_echo_n "(cached
) " >&6
12353 case $NM_FOR_TARGET in
12355 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12359 for as_dir in $gcc_cv_tool_dirs
12362 test -z "$as_dir" && as_dir=.
12363 for ac_exec_ext in '' $ac_executable_extensions; do
12364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12376 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12377 if test -n "$NM_FOR_TARGET"; then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12379 $as_echo "$NM_FOR_TARGET" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12382 $as_echo "no
" >&6; }
12387 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12390 if test -n "$NM_FOR_TARGET"; then
12391 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12392 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12393 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12396 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12397 for ncn_progname in nm; do
12398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12399 set dummy ${ncn_progname}; ac_word=$2
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12401 $as_echo_n "checking
for $ac_word...
" >&6; }
12402 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12403 $as_echo_n "(cached
) " >&6
12405 if test -n "$NM_FOR_TARGET"; then
12406 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12409 for as_dir in $PATH
12412 test -z "$as_dir" && as_dir=.
12413 for ac_exec_ext in '' $ac_executable_extensions; do
12414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12415 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12425 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12426 if test -n "$NM_FOR_TARGET"; then
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12428 $as_echo "$NM_FOR_TARGET" >&6; }
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12431 $as_echo "no
" >&6; }
12438 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12439 for ncn_progname in nm; do
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12441 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12442 if test -x $with_build_time_tools/${ncn_progname}; then
12443 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12445 $as_echo "yes" >&6; }
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12449 $as_echo "no
" >&6; }
12454 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12455 for ncn_progname in nm; do
12456 if test -n "$ncn_target_tool_prefix"; then
12457 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12458 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12460 $as_echo_n "checking
for $ac_word...
" >&6; }
12461 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12462 $as_echo_n "(cached
) " >&6
12464 if test -n "$NM_FOR_TARGET"; then
12465 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12468 for as_dir in $PATH
12471 test -z "$as_dir" && as_dir=.
12472 for ac_exec_ext in '' $ac_executable_extensions; do
12473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12474 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12484 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12485 if test -n "$NM_FOR_TARGET"; then
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12487 $as_echo "$NM_FOR_TARGET" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12490 $as_echo "no
" >&6; }
12495 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12496 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12497 set dummy ${ncn_progname}; ac_word=$2
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12499 $as_echo_n "checking
for $ac_word...
" >&6; }
12500 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12501 $as_echo_n "(cached
) " >&6
12503 if test -n "$NM_FOR_TARGET"; then
12504 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12507 for as_dir in $PATH
12510 test -z "$as_dir" && as_dir=.
12511 for ac_exec_ext in '' $ac_executable_extensions; do
12512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12513 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12523 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12524 if test -n "$NM_FOR_TARGET"; then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12526 $as_echo "$NM_FOR_TARGET" >&6; }
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12529 $as_echo "no
" >&6; }
12534 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12538 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12540 if test $build = $target ; then
12543 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12546 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12550 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12556 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12557 if test -n "$with_build_time_tools"; then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12559 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12560 if test -x $with_build_time_tools/objcopy; then
12561 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12562 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12564 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12567 $as_echo "no
" >&6; }
12569 elif test $build != $host && test $have_gcc_for_target = yes; then
12570 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12571 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12572 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12575 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12576 # Extract the first word of "objcopy
", so it can be a program name with args.
12577 set dummy objcopy; ac_word=$2
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12579 $as_echo_n "checking
for $ac_word...
" >&6; }
12580 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12581 $as_echo_n "(cached
) " >&6
12583 case $OBJCOPY_FOR_TARGET in
12585 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12589 for as_dir in $gcc_cv_tool_dirs
12592 test -z "$as_dir" && as_dir=.
12593 for ac_exec_ext in '' $ac_executable_extensions; do
12594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12595 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12606 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12607 if test -n "$OBJCOPY_FOR_TARGET"; then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12609 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12612 $as_echo "no
" >&6; }
12617 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12620 if test -n "$OBJCOPY_FOR_TARGET"; then
12621 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12622 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12623 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12626 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12627 for ncn_progname in objcopy; do
12628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12629 set dummy ${ncn_progname}; ac_word=$2
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12631 $as_echo_n "checking
for $ac_word...
" >&6; }
12632 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12633 $as_echo_n "(cached
) " >&6
12635 if test -n "$OBJCOPY_FOR_TARGET"; then
12636 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639 for as_dir in $PATH
12642 test -z "$as_dir" && as_dir=.
12643 for ac_exec_ext in '' $ac_executable_extensions; do
12644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12645 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12655 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12656 if test -n "$OBJCOPY_FOR_TARGET"; then
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12658 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12661 $as_echo "no
" >&6; }
12668 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12669 for ncn_progname in objcopy; do
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12671 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12672 if test -x $with_build_time_tools/${ncn_progname}; then
12673 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12675 $as_echo "yes" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12679 $as_echo "no
" >&6; }
12684 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12685 for ncn_progname in objcopy; do
12686 if test -n "$ncn_target_tool_prefix"; then
12687 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12688 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12690 $as_echo_n "checking
for $ac_word...
" >&6; }
12691 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12692 $as_echo_n "(cached
) " >&6
12694 if test -n "$OBJCOPY_FOR_TARGET"; then
12695 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12698 for as_dir in $PATH
12701 test -z "$as_dir" && as_dir=.
12702 for ac_exec_ext in '' $ac_executable_extensions; do
12703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12704 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12714 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12715 if test -n "$OBJCOPY_FOR_TARGET"; then
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12717 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12720 $as_echo "no
" >&6; }
12725 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12727 set dummy ${ncn_progname}; ac_word=$2
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12729 $as_echo_n "checking
for $ac_word...
" >&6; }
12730 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12731 $as_echo_n "(cached
) " >&6
12733 if test -n "$OBJCOPY_FOR_TARGET"; then
12734 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12737 for as_dir in $PATH
12740 test -z "$as_dir" && as_dir=.
12741 for ac_exec_ext in '' $ac_executable_extensions; do
12742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12753 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12754 if test -n "$OBJCOPY_FOR_TARGET"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12756 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12759 $as_echo "no
" >&6; }
12764 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12768 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12770 if test $build = $target ; then
12771 OBJCOPY_FOR_TARGET="$2"
12773 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12776 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12780 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12786 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12787 if test -n "$with_build_time_tools"; then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12789 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12790 if test -x $with_build_time_tools/objdump; then
12791 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12792 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12794 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12797 $as_echo "no
" >&6; }
12799 elif test $build != $host && test $have_gcc_for_target = yes; then
12800 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12801 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12802 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12805 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12806 # Extract the first word of "objdump
", so it can be a program name with args.
12807 set dummy objdump; ac_word=$2
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12809 $as_echo_n "checking
for $ac_word...
" >&6; }
12810 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12811 $as_echo_n "(cached
) " >&6
12813 case $OBJDUMP_FOR_TARGET in
12815 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12819 for as_dir in $gcc_cv_tool_dirs
12822 test -z "$as_dir" && as_dir=.
12823 for ac_exec_ext in '' $ac_executable_extensions; do
12824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12825 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12836 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12837 if test -n "$OBJDUMP_FOR_TARGET"; then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12839 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12842 $as_echo "no
" >&6; }
12847 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12850 if test -n "$OBJDUMP_FOR_TARGET"; then
12851 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12852 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12853 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12856 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12857 for ncn_progname in objdump; do
12858 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12859 set dummy ${ncn_progname}; ac_word=$2
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12861 $as_echo_n "checking
for $ac_word...
" >&6; }
12862 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12863 $as_echo_n "(cached
) " >&6
12865 if test -n "$OBJDUMP_FOR_TARGET"; then
12866 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12869 for as_dir in $PATH
12872 test -z "$as_dir" && as_dir=.
12873 for ac_exec_ext in '' $ac_executable_extensions; do
12874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12875 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12885 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12886 if test -n "$OBJDUMP_FOR_TARGET"; then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12888 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12891 $as_echo "no
" >&6; }
12898 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12899 for ncn_progname in objdump; do
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12901 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12902 if test -x $with_build_time_tools/${ncn_progname}; then
12903 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12905 $as_echo "yes" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12909 $as_echo "no
" >&6; }
12914 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12915 for ncn_progname in objdump; do
12916 if test -n "$ncn_target_tool_prefix"; then
12917 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12918 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12920 $as_echo_n "checking
for $ac_word...
" >&6; }
12921 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12922 $as_echo_n "(cached
) " >&6
12924 if test -n "$OBJDUMP_FOR_TARGET"; then
12925 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12928 for as_dir in $PATH
12931 test -z "$as_dir" && as_dir=.
12932 for ac_exec_ext in '' $ac_executable_extensions; do
12933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12934 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12944 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12945 if test -n "$OBJDUMP_FOR_TARGET"; then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12947 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12950 $as_echo "no
" >&6; }
12955 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12957 set dummy ${ncn_progname}; ac_word=$2
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12959 $as_echo_n "checking
for $ac_word...
" >&6; }
12960 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12961 $as_echo_n "(cached
) " >&6
12963 if test -n "$OBJDUMP_FOR_TARGET"; then
12964 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12967 for as_dir in $PATH
12970 test -z "$as_dir" && as_dir=.
12971 for ac_exec_ext in '' $ac_executable_extensions; do
12972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12973 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12983 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12984 if test -n "$OBJDUMP_FOR_TARGET"; then
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12986 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12989 $as_echo "no
" >&6; }
12994 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12998 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
13000 if test $build = $target ; then
13001 OBJDUMP_FOR_TARGET="$2"
13003 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13006 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
13010 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13016 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13017 if test -n "$with_build_time_tools"; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13019 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13020 if test -x $with_build_time_tools/ranlib; then
13021 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13022 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13024 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13027 $as_echo "no
" >&6; }
13029 elif test $build != $host && test $have_gcc_for_target = yes; then
13030 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13031 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13032 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13035 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13036 # Extract the first word of "ranlib
", so it can be a program name with args.
13037 set dummy ranlib; ac_word=$2
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13039 $as_echo_n "checking
for $ac_word...
" >&6; }
13040 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13041 $as_echo_n "(cached
) " >&6
13043 case $RANLIB_FOR_TARGET in
13045 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13049 for as_dir in $gcc_cv_tool_dirs
13052 test -z "$as_dir" && as_dir=.
13053 for ac_exec_ext in '' $ac_executable_extensions; do
13054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13055 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13066 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13067 if test -n "$RANLIB_FOR_TARGET"; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13069 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13072 $as_echo "no
" >&6; }
13077 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13080 if test -n "$RANLIB_FOR_TARGET"; then
13081 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13082 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13083 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13086 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13087 for ncn_progname in ranlib; do
13088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13089 set dummy ${ncn_progname}; ac_word=$2
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13091 $as_echo_n "checking
for $ac_word...
" >&6; }
13092 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13093 $as_echo_n "(cached
) " >&6
13095 if test -n "$RANLIB_FOR_TARGET"; then
13096 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13099 for as_dir in $PATH
13102 test -z "$as_dir" && as_dir=.
13103 for ac_exec_ext in '' $ac_executable_extensions; do
13104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13105 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13115 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13116 if test -n "$RANLIB_FOR_TARGET"; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13118 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13121 $as_echo "no
" >&6; }
13128 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13129 for ncn_progname in ranlib; do
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13131 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13132 if test -x $with_build_time_tools/${ncn_progname}; then
13133 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13135 $as_echo "yes" >&6; }
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13139 $as_echo "no
" >&6; }
13144 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13145 for ncn_progname in ranlib; do
13146 if test -n "$ncn_target_tool_prefix"; then
13147 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13148 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13150 $as_echo_n "checking
for $ac_word...
" >&6; }
13151 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13152 $as_echo_n "(cached
) " >&6
13154 if test -n "$RANLIB_FOR_TARGET"; then
13155 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13158 for as_dir in $PATH
13161 test -z "$as_dir" && as_dir=.
13162 for ac_exec_ext in '' $ac_executable_extensions; do
13163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13164 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13174 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13175 if test -n "$RANLIB_FOR_TARGET"; then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13177 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13180 $as_echo "no
" >&6; }
13185 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13186 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13187 set dummy ${ncn_progname}; ac_word=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13189 $as_echo_n "checking
for $ac_word...
" >&6; }
13190 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13191 $as_echo_n "(cached
) " >&6
13193 if test -n "$RANLIB_FOR_TARGET"; then
13194 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13197 for as_dir in $PATH
13200 test -z "$as_dir" && as_dir=.
13201 for ac_exec_ext in '' $ac_executable_extensions; do
13202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13203 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13213 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13214 if test -n "$RANLIB_FOR_TARGET"; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13216 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13219 $as_echo "no
" >&6; }
13224 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13228 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13230 if test $build = $target ; then
13231 RANLIB_FOR_TARGET="$2"
13233 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13236 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13240 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13246 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13247 if test -n "$with_build_time_tools"; then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13249 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13250 if test -x $with_build_time_tools/readelf; then
13251 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13252 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13254 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13257 $as_echo "no
" >&6; }
13259 elif test $build != $host && test $have_gcc_for_target = yes; then
13260 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13261 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13262 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13265 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13266 # Extract the first word of "readelf
", so it can be a program name with args.
13267 set dummy readelf; ac_word=$2
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13269 $as_echo_n "checking
for $ac_word...
" >&6; }
13270 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13271 $as_echo_n "(cached
) " >&6
13273 case $READELF_FOR_TARGET in
13275 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13279 for as_dir in $gcc_cv_tool_dirs
13282 test -z "$as_dir" && as_dir=.
13283 for ac_exec_ext in '' $ac_executable_extensions; do
13284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13285 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13296 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13297 if test -n "$READELF_FOR_TARGET"; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13299 $as_echo "$READELF_FOR_TARGET" >&6; }
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13302 $as_echo "no
" >&6; }
13307 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13310 if test -n "$READELF_FOR_TARGET"; then
13311 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13312 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13313 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13316 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13317 for ncn_progname in readelf; do
13318 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13319 set dummy ${ncn_progname}; ac_word=$2
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13321 $as_echo_n "checking
for $ac_word...
" >&6; }
13322 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13323 $as_echo_n "(cached
) " >&6
13325 if test -n "$READELF_FOR_TARGET"; then
13326 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13329 for as_dir in $PATH
13332 test -z "$as_dir" && as_dir=.
13333 for ac_exec_ext in '' $ac_executable_extensions; do
13334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13335 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13345 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13346 if test -n "$READELF_FOR_TARGET"; then
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13348 $as_echo "$READELF_FOR_TARGET" >&6; }
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13351 $as_echo "no
" >&6; }
13358 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13359 for ncn_progname in readelf; do
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13361 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13362 if test -x $with_build_time_tools/${ncn_progname}; then
13363 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13365 $as_echo "yes" >&6; }
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13369 $as_echo "no
" >&6; }
13374 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13375 for ncn_progname in readelf; do
13376 if test -n "$ncn_target_tool_prefix"; then
13377 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13378 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13380 $as_echo_n "checking
for $ac_word...
" >&6; }
13381 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13382 $as_echo_n "(cached
) " >&6
13384 if test -n "$READELF_FOR_TARGET"; then
13385 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13388 for as_dir in $PATH
13391 test -z "$as_dir" && as_dir=.
13392 for ac_exec_ext in '' $ac_executable_extensions; do
13393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13394 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13404 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13405 if test -n "$READELF_FOR_TARGET"; then
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13407 $as_echo "$READELF_FOR_TARGET" >&6; }
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13410 $as_echo "no
" >&6; }
13415 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13417 set dummy ${ncn_progname}; ac_word=$2
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13419 $as_echo_n "checking
for $ac_word...
" >&6; }
13420 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13421 $as_echo_n "(cached
) " >&6
13423 if test -n "$READELF_FOR_TARGET"; then
13424 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13427 for as_dir in $PATH
13430 test -z "$as_dir" && as_dir=.
13431 for ac_exec_ext in '' $ac_executable_extensions; do
13432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13433 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13443 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13444 if test -n "$READELF_FOR_TARGET"; then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13446 $as_echo "$READELF_FOR_TARGET" >&6; }
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13449 $as_echo "no
" >&6; }
13454 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13458 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13460 if test $build = $target ; then
13461 READELF_FOR_TARGET="$2"
13463 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13466 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13470 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13476 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13477 if test -n "$with_build_time_tools"; then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13479 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13480 if test -x $with_build_time_tools/strip; then
13481 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13482 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13484 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13487 $as_echo "no
" >&6; }
13489 elif test $build != $host && test $have_gcc_for_target = yes; then
13490 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13491 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13492 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13495 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13496 # Extract the first word of "strip
", so it can be a program name with args.
13497 set dummy strip; ac_word=$2
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13499 $as_echo_n "checking
for $ac_word...
" >&6; }
13500 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13501 $as_echo_n "(cached
) " >&6
13503 case $STRIP_FOR_TARGET in
13505 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13509 for as_dir in $gcc_cv_tool_dirs
13512 test -z "$as_dir" && as_dir=.
13513 for ac_exec_ext in '' $ac_executable_extensions; do
13514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13515 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13526 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13527 if test -n "$STRIP_FOR_TARGET"; then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13529 $as_echo "$STRIP_FOR_TARGET" >&6; }
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13532 $as_echo "no
" >&6; }
13537 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13540 if test -n "$STRIP_FOR_TARGET"; then
13541 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13542 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13543 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13546 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13547 for ncn_progname in strip; do
13548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13549 set dummy ${ncn_progname}; ac_word=$2
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13551 $as_echo_n "checking
for $ac_word...
" >&6; }
13552 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13553 $as_echo_n "(cached
) " >&6
13555 if test -n "$STRIP_FOR_TARGET"; then
13556 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13559 for as_dir in $PATH
13562 test -z "$as_dir" && as_dir=.
13563 for ac_exec_ext in '' $ac_executable_extensions; do
13564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13565 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13575 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13576 if test -n "$STRIP_FOR_TARGET"; then
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13578 $as_echo "$STRIP_FOR_TARGET" >&6; }
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13581 $as_echo "no
" >&6; }
13588 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13589 for ncn_progname in strip; do
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13591 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13592 if test -x $with_build_time_tools/${ncn_progname}; then
13593 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13595 $as_echo "yes" >&6; }
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13599 $as_echo "no
" >&6; }
13604 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13605 for ncn_progname in strip; do
13606 if test -n "$ncn_target_tool_prefix"; then
13607 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13608 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13610 $as_echo_n "checking
for $ac_word...
" >&6; }
13611 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13612 $as_echo_n "(cached
) " >&6
13614 if test -n "$STRIP_FOR_TARGET"; then
13615 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13618 for as_dir in $PATH
13621 test -z "$as_dir" && as_dir=.
13622 for ac_exec_ext in '' $ac_executable_extensions; do
13623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13624 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13634 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13635 if test -n "$STRIP_FOR_TARGET"; then
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13637 $as_echo "$STRIP_FOR_TARGET" >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13640 $as_echo "no
" >&6; }
13645 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13646 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13647 set dummy ${ncn_progname}; ac_word=$2
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13649 $as_echo_n "checking
for $ac_word...
" >&6; }
13650 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13651 $as_echo_n "(cached
) " >&6
13653 if test -n "$STRIP_FOR_TARGET"; then
13654 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13657 for as_dir in $PATH
13660 test -z "$as_dir" && as_dir=.
13661 for ac_exec_ext in '' $ac_executable_extensions; do
13662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13663 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13673 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13674 if test -n "$STRIP_FOR_TARGET"; then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13676 $as_echo "$STRIP_FOR_TARGET" >&6; }
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13679 $as_echo "no
" >&6; }
13684 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13688 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13690 if test $build = $target ; then
13691 STRIP_FOR_TARGET="$2"
13693 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13696 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13700 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13706 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13707 if test -n "$with_build_time_tools"; then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13709 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13710 if test -x $with_build_time_tools/windres; then
13711 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13712 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13714 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13717 $as_echo "no
" >&6; }
13719 elif test $build != $host && test $have_gcc_for_target = yes; then
13720 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13721 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13722 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13725 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13726 # Extract the first word of "windres
", so it can be a program name with args.
13727 set dummy windres; ac_word=$2
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13729 $as_echo_n "checking
for $ac_word...
" >&6; }
13730 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13731 $as_echo_n "(cached
) " >&6
13733 case $WINDRES_FOR_TARGET in
13735 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13739 for as_dir in $gcc_cv_tool_dirs
13742 test -z "$as_dir" && as_dir=.
13743 for ac_exec_ext in '' $ac_executable_extensions; do
13744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13745 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13756 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13757 if test -n "$WINDRES_FOR_TARGET"; then
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13759 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13762 $as_echo "no
" >&6; }
13767 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13770 if test -n "$WINDRES_FOR_TARGET"; then
13771 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13772 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13773 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13776 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13777 for ncn_progname in windres; do
13778 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13779 set dummy ${ncn_progname}; ac_word=$2
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13781 $as_echo_n "checking
for $ac_word...
" >&6; }
13782 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13783 $as_echo_n "(cached
) " >&6
13785 if test -n "$WINDRES_FOR_TARGET"; then
13786 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13789 for as_dir in $PATH
13792 test -z "$as_dir" && as_dir=.
13793 for ac_exec_ext in '' $ac_executable_extensions; do
13794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13795 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13805 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13806 if test -n "$WINDRES_FOR_TARGET"; then
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13808 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13811 $as_echo "no
" >&6; }
13818 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13819 for ncn_progname in windres; do
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13821 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13822 if test -x $with_build_time_tools/${ncn_progname}; then
13823 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13825 $as_echo "yes" >&6; }
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13829 $as_echo "no
" >&6; }
13834 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13835 for ncn_progname in windres; do
13836 if test -n "$ncn_target_tool_prefix"; then
13837 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13838 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13840 $as_echo_n "checking
for $ac_word...
" >&6; }
13841 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13842 $as_echo_n "(cached
) " >&6
13844 if test -n "$WINDRES_FOR_TARGET"; then
13845 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13848 for as_dir in $PATH
13851 test -z "$as_dir" && as_dir=.
13852 for ac_exec_ext in '' $ac_executable_extensions; do
13853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13854 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13864 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13865 if test -n "$WINDRES_FOR_TARGET"; then
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13867 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13870 $as_echo "no
" >&6; }
13875 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13877 set dummy ${ncn_progname}; ac_word=$2
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13879 $as_echo_n "checking
for $ac_word...
" >&6; }
13880 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13881 $as_echo_n "(cached
) " >&6
13883 if test -n "$WINDRES_FOR_TARGET"; then
13884 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13887 for as_dir in $PATH
13890 test -z "$as_dir" && as_dir=.
13891 for ac_exec_ext in '' $ac_executable_extensions; do
13892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13893 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13903 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13904 if test -n "$WINDRES_FOR_TARGET"; then
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13906 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13909 $as_echo "no
" >&6; }
13914 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13918 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13920 if test $build = $target ; then
13921 WINDRES_FOR_TARGET="$2"
13923 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13926 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13930 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13936 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13937 if test -n "$with_build_time_tools"; then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13939 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13940 if test -x $with_build_time_tools/windmc; then
13941 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13942 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13944 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13947 $as_echo "no
" >&6; }
13949 elif test $build != $host && test $have_gcc_for_target = yes; then
13950 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13951 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13952 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13955 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13956 # Extract the first word of "windmc
", so it can be a program name with args.
13957 set dummy windmc; ac_word=$2
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13959 $as_echo_n "checking
for $ac_word...
" >&6; }
13960 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13961 $as_echo_n "(cached
) " >&6
13963 case $WINDMC_FOR_TARGET in
13965 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13969 for as_dir in $gcc_cv_tool_dirs
13972 test -z "$as_dir" && as_dir=.
13973 for ac_exec_ext in '' $ac_executable_extensions; do
13974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13975 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13986 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13987 if test -n "$WINDMC_FOR_TARGET"; then
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13989 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13992 $as_echo "no
" >&6; }
13997 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14000 if test -n "$WINDMC_FOR_TARGET"; then
14001 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14002 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14003 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14006 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14007 for ncn_progname in windmc; do
14008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14009 set dummy ${ncn_progname}; ac_word=$2
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14011 $as_echo_n "checking
for $ac_word...
" >&6; }
14012 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14013 $as_echo_n "(cached
) " >&6
14015 if test -n "$WINDMC_FOR_TARGET"; then
14016 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14019 for as_dir in $PATH
14022 test -z "$as_dir" && as_dir=.
14023 for ac_exec_ext in '' $ac_executable_extensions; do
14024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14025 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14035 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14036 if test -n "$WINDMC_FOR_TARGET"; then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14038 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14041 $as_echo "no
" >&6; }
14048 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14049 for ncn_progname in windmc; do
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14051 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14052 if test -x $with_build_time_tools/${ncn_progname}; then
14053 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14055 $as_echo "yes" >&6; }
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14059 $as_echo "no
" >&6; }
14064 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14065 for ncn_progname in windmc; do
14066 if test -n "$ncn_target_tool_prefix"; then
14067 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14068 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14070 $as_echo_n "checking
for $ac_word...
" >&6; }
14071 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14072 $as_echo_n "(cached
) " >&6
14074 if test -n "$WINDMC_FOR_TARGET"; then
14075 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14078 for as_dir in $PATH
14081 test -z "$as_dir" && as_dir=.
14082 for ac_exec_ext in '' $ac_executable_extensions; do
14083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14084 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14094 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14095 if test -n "$WINDMC_FOR_TARGET"; then
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14097 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14100 $as_echo "no
" >&6; }
14105 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14107 set dummy ${ncn_progname}; ac_word=$2
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14109 $as_echo_n "checking
for $ac_word...
" >&6; }
14110 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14111 $as_echo_n "(cached
) " >&6
14113 if test -n "$WINDMC_FOR_TARGET"; then
14114 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14117 for as_dir in $PATH
14120 test -z "$as_dir" && as_dir=.
14121 for ac_exec_ext in '' $ac_executable_extensions; do
14122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14123 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14133 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14134 if test -n "$WINDMC_FOR_TARGET"; then
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14136 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14139 $as_echo "no
" >&6; }
14144 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14148 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14150 if test $build = $target ; then
14151 WINDMC_FOR_TARGET="$2"
14153 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14156 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14160 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14164 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14167 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14168 if test "x
${build}" != "x
${host}" ; then
14169 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14170 # We already found the complete path
14171 ac_dir=`dirname $AR_FOR_TARGET`
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14173 $as_echo "pre-installed
in $ac_dir" >&6; }
14175 # Canadian cross, just use what we found
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14177 $as_echo "pre-installed
" >&6; }
14181 case " ${configdirs} " in
14186 if test $ok = yes; then
14187 # An in-tree tool is available and we can use it
14188 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14190 $as_echo "just compiled
" >&6; }
14191 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14192 # We already found the complete path
14193 ac_dir=`dirname $AR_FOR_TARGET`
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14195 $as_echo "pre-installed
in $ac_dir" >&6; }
14196 elif test "x
$target" = "x
$host"; then
14197 # We can use an host tool
14198 AR_FOR_TARGET='$(AR)'
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14200 $as_echo "host tool
" >&6; }
14202 # We need a cross tool
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14204 $as_echo "pre-installed
" >&6; }
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14209 $as_echo_n "checking where to
find the target as...
" >&6; }
14210 if test "x
${build}" != "x
${host}" ; then
14211 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14212 # We already found the complete path
14213 ac_dir=`dirname $AS_FOR_TARGET`
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14215 $as_echo "pre-installed
in $ac_dir" >&6; }
14217 # Canadian cross, just use what we found
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14219 $as_echo "pre-installed
" >&6; }
14223 case " ${configdirs} " in
14228 if test $ok = yes; then
14229 # An in-tree tool is available and we can use it
14230 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14232 $as_echo "just compiled
" >&6; }
14233 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14234 # We already found the complete path
14235 ac_dir=`dirname $AS_FOR_TARGET`
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14237 $as_echo "pre-installed
in $ac_dir" >&6; }
14238 elif test "x
$target" = "x
$host"; then
14239 # We can use an host tool
14240 AS_FOR_TARGET='$(AS)'
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14242 $as_echo "host tool
" >&6; }
14244 # We need a cross tool
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14246 $as_echo "pre-installed
" >&6; }
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14251 $as_echo_n "checking where to
find the target cc...
" >&6; }
14252 if test "x
${build}" != "x
${host}" ; then
14253 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14254 # We already found the complete path
14255 ac_dir=`dirname $CC_FOR_TARGET`
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14257 $as_echo "pre-installed
in $ac_dir" >&6; }
14259 # Canadian cross, just use what we found
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14261 $as_echo "pre-installed
" >&6; }
14265 case " ${configdirs} " in
14270 if test $ok = yes; then
14271 # An in-tree tool is available and we can use it
14272 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14274 $as_echo "just compiled
" >&6; }
14275 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14276 # We already found the complete path
14277 ac_dir=`dirname $CC_FOR_TARGET`
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14279 $as_echo "pre-installed
in $ac_dir" >&6; }
14280 elif test "x
$target" = "x
$host"; then
14281 # We can use an host tool
14282 CC_FOR_TARGET='$(CC)'
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14284 $as_echo "host tool
" >&6; }
14286 # We need a cross tool
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14288 $as_echo "pre-installed
" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14293 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14294 if test "x
${build}" != "x
${host}" ; then
14295 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14296 # We already found the complete path
14297 ac_dir=`dirname $CXX_FOR_TARGET`
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14299 $as_echo "pre-installed
in $ac_dir" >&6; }
14301 # Canadian cross, just use what we found
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14303 $as_echo "pre-installed
" >&6; }
14307 case " ${configdirs} " in
14311 case ,${enable_languages}, in
14315 if test $ok = yes; then
14316 # An in-tree tool is available and we can use it
14317 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'
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14319 $as_echo "just compiled
" >&6; }
14320 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14321 # We already found the complete path
14322 ac_dir=`dirname $CXX_FOR_TARGET`
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14324 $as_echo "pre-installed
in $ac_dir" >&6; }
14325 elif test "x
$target" = "x
$host"; then
14326 # We can use an host tool
14327 CXX_FOR_TARGET='$(CXX)'
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14329 $as_echo "host tool
" >&6; }
14331 # We need a cross tool
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14333 $as_echo "pre-installed
" >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14338 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14339 if test "x
${build}" != "x
${host}" ; then
14340 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14341 # We already found the complete path
14342 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14344 $as_echo "pre-installed
in $ac_dir" >&6; }
14346 # Canadian cross, just use what we found
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14348 $as_echo "pre-installed
" >&6; }
14352 case " ${configdirs} " in
14356 case ,${enable_languages}, in
14360 if test $ok = yes; then
14361 # An in-tree tool is available and we can use it
14362 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'
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14364 $as_echo "just compiled
" >&6; }
14365 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14366 # We already found the complete path
14367 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14369 $as_echo "pre-installed
in $ac_dir" >&6; }
14370 elif test "x
$target" = "x
$host"; then
14371 # We can use an host tool
14372 RAW_CXX_FOR_TARGET='$(CXX)'
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14374 $as_echo "host tool
" >&6; }
14376 # We need a cross tool
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14378 $as_echo "pre-installed
" >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14383 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14384 if test "x
${build}" != "x
${host}" ; then
14385 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14386 # We already found the complete path
14387 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14389 $as_echo "pre-installed
in $ac_dir" >&6; }
14391 # Canadian cross, just use what we found
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14393 $as_echo "pre-installed
" >&6; }
14397 case " ${configdirs} " in
14402 if test $ok = yes; then
14403 # An in-tree tool is available and we can use it
14404 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14406 $as_echo "just compiled
" >&6; }
14407 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14408 # We already found the complete path
14409 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14411 $as_echo "pre-installed
in $ac_dir" >&6; }
14412 elif test "x
$target" = "x
$host"; then
14413 # We can use an host tool
14414 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14416 $as_echo "host tool
" >&6; }
14418 # We need a cross tool
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14420 $as_echo "pre-installed
" >&6; }
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14425 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14426 if test "x
${build}" != "x
${host}" ; then
14427 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14428 # We already found the complete path
14429 ac_dir=`dirname $GCC_FOR_TARGET`
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14431 $as_echo "pre-installed
in $ac_dir" >&6; }
14433 # Canadian cross, just use what we found
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14435 $as_echo "pre-installed
" >&6; }
14439 case " ${configdirs} " in
14444 if test $ok = yes; then
14445 # An in-tree tool is available and we can use it
14446 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14448 $as_echo "just compiled
" >&6; }
14449 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14450 # We already found the complete path
14451 ac_dir=`dirname $GCC_FOR_TARGET`
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14453 $as_echo "pre-installed
in $ac_dir" >&6; }
14454 elif test "x
$target" = "x
$host"; then
14455 # We can use an host tool
14456 GCC_FOR_TARGET='$()'
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14458 $as_echo "host tool
" >&6; }
14460 # We need a cross tool
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14462 $as_echo "pre-installed
" >&6; }
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14467 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14468 if test "x
${build}" != "x
${host}" ; then
14469 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14470 # We already found the complete path
14471 ac_dir=`dirname $GCJ_FOR_TARGET`
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14473 $as_echo "pre-installed
in $ac_dir" >&6; }
14475 # Canadian cross, just use what we found
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14477 $as_echo "pre-installed
" >&6; }
14481 case " ${configdirs} " in
14485 case ,${enable_languages}, in
14489 if test $ok = yes; then
14490 # An in-tree tool is available and we can use it
14491 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14493 $as_echo "just compiled
" >&6; }
14494 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14495 # We already found the complete path
14496 ac_dir=`dirname $GCJ_FOR_TARGET`
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14498 $as_echo "pre-installed
in $ac_dir" >&6; }
14499 elif test "x
$target" = "x
$host"; then
14500 # We can use an host tool
14501 GCJ_FOR_TARGET='$(GCJ)'
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14503 $as_echo "host tool
" >&6; }
14505 # We need a cross tool
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14507 $as_echo "pre-installed
" >&6; }
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14512 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14513 if test "x
${build}" != "x
${host}" ; then
14514 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14515 # We already found the complete path
14516 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14518 $as_echo "pre-installed
in $ac_dir" >&6; }
14520 # Canadian cross, just use what we found
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14522 $as_echo "pre-installed
" >&6; }
14526 case " ${configdirs} " in
14530 case ,${enable_languages}, in
14534 if test $ok = yes; then
14535 # An in-tree tool is available and we can use it
14536 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14538 $as_echo "just compiled
" >&6; }
14539 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14540 # We already found the complete path
14541 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14543 $as_echo "pre-installed
in $ac_dir" >&6; }
14544 elif test "x
$target" = "x
$host"; then
14545 # We can use an host tool
14546 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14548 $as_echo "host tool
" >&6; }
14550 # We need a cross tool
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14552 $as_echo "pre-installed
" >&6; }
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14557 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14558 if test "x
${build}" != "x
${host}" ; then
14559 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14560 # We already found the complete path
14561 ac_dir=`dirname $GOC_FOR_TARGET`
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14563 $as_echo "pre-installed
in $ac_dir" >&6; }
14565 # Canadian cross, just use what we found
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14567 $as_echo "pre-installed
" >&6; }
14571 case " ${configdirs} " in
14575 case ,${enable_languages}, in
14579 if test $ok = yes; then
14580 # An in-tree tool is available and we can use it
14581 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14583 $as_echo "just compiled
" >&6; }
14584 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14585 # We already found the complete path
14586 ac_dir=`dirname $GOC_FOR_TARGET`
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14588 $as_echo "pre-installed
in $ac_dir" >&6; }
14589 elif test "x
$target" = "x
$host"; then
14590 # We can use an host tool
14591 GOC_FOR_TARGET='$(GOC)'
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14593 $as_echo "host tool
" >&6; }
14595 # We need a cross tool
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14597 $as_echo "pre-installed
" >&6; }
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14602 $as_echo_n "checking where to
find the target ld...
" >&6; }
14603 if test "x
${build}" != "x
${host}" ; then
14604 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14605 # We already found the complete path
14606 ac_dir=`dirname $LD_FOR_TARGET`
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14608 $as_echo "pre-installed
in $ac_dir" >&6; }
14610 # Canadian cross, just use what we found
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14612 $as_echo "pre-installed
" >&6; }
14616 case " ${configdirs} " in
14621 if test $ok = yes; then
14622 # An in-tree tool is available and we can use it
14623 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14625 $as_echo "just compiled
" >&6; }
14626 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14627 # We already found the complete path
14628 ac_dir=`dirname $LD_FOR_TARGET`
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14630 $as_echo "pre-installed
in $ac_dir" >&6; }
14631 elif test "x
$target" = "x
$host"; then
14632 # We can use an host tool
14633 LD_FOR_TARGET='$(LD)'
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14635 $as_echo "host tool
" >&6; }
14637 # We need a cross tool
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14639 $as_echo "pre-installed
" >&6; }
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14644 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14645 if test "x
${build}" != "x
${host}" ; then
14646 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14647 # We already found the complete path
14648 ac_dir=`dirname $LIPO_FOR_TARGET`
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14650 $as_echo "pre-installed
in $ac_dir" >&6; }
14652 # Canadian cross, just use what we found
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14654 $as_echo "pre-installed
" >&6; }
14657 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14658 # We already found the complete path
14659 ac_dir=`dirname $LIPO_FOR_TARGET`
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14661 $as_echo "pre-installed
in $ac_dir" >&6; }
14662 elif test "x
$target" = "x
$host"; then
14663 # We can use an host tool
14664 LIPO_FOR_TARGET='$(LIPO)'
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14666 $as_echo "host tool
" >&6; }
14668 # We need a cross tool
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14670 $as_echo "pre-installed
" >&6; }
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14675 $as_echo_n "checking where to
find the target nm...
" >&6; }
14676 if test "x
${build}" != "x
${host}" ; then
14677 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14678 # We already found the complete path
14679 ac_dir=`dirname $NM_FOR_TARGET`
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14681 $as_echo "pre-installed
in $ac_dir" >&6; }
14683 # Canadian cross, just use what we found
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14685 $as_echo "pre-installed
" >&6; }
14689 case " ${configdirs} " in
14694 if test $ok = yes; then
14695 # An in-tree tool is available and we can use it
14696 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14698 $as_echo "just compiled
" >&6; }
14699 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14700 # We already found the complete path
14701 ac_dir=`dirname $NM_FOR_TARGET`
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14703 $as_echo "pre-installed
in $ac_dir" >&6; }
14704 elif test "x
$target" = "x
$host"; then
14705 # We can use an host tool
14706 NM_FOR_TARGET='$(NM)'
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14708 $as_echo "host tool
" >&6; }
14710 # We need a cross tool
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14712 $as_echo "pre-installed
" >&6; }
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14717 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14718 if test "x
${build}" != "x
${host}" ; then
14719 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14720 # We already found the complete path
14721 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14723 $as_echo "pre-installed
in $ac_dir" >&6; }
14725 # Canadian cross, just use what we found
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14727 $as_echo "pre-installed
" >&6; }
14731 case " ${configdirs} " in
14736 if test $ok = yes; then
14737 # An in-tree tool is available and we can use it
14738 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14740 $as_echo "just compiled
" >&6; }
14741 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14742 # We already found the complete path
14743 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14745 $as_echo "pre-installed
in $ac_dir" >&6; }
14746 elif test "x
$target" = "x
$host"; then
14747 # We can use an host tool
14748 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14750 $as_echo "host tool
" >&6; }
14752 # We need a cross tool
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14754 $as_echo "pre-installed
" >&6; }
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14759 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14760 if test "x
${build}" != "x
${host}" ; then
14761 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14762 # We already found the complete path
14763 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14765 $as_echo "pre-installed
in $ac_dir" >&6; }
14767 # Canadian cross, just use what we found
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14769 $as_echo "pre-installed
" >&6; }
14773 case " ${configdirs} " in
14778 if test $ok = yes; then
14779 # An in-tree tool is available and we can use it
14780 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14782 $as_echo "just compiled
" >&6; }
14783 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14784 # We already found the complete path
14785 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14787 $as_echo "pre-installed
in $ac_dir" >&6; }
14788 elif test "x
$target" = "x
$host"; then
14789 # We can use an host tool
14790 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14792 $as_echo "host tool
" >&6; }
14794 # We need a cross tool
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14796 $as_echo "pre-installed
" >&6; }
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14801 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14802 if test "x
${build}" != "x
${host}" ; then
14803 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14804 # We already found the complete path
14805 ac_dir=`dirname $RANLIB_FOR_TARGET`
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14807 $as_echo "pre-installed
in $ac_dir" >&6; }
14809 # Canadian cross, just use what we found
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14811 $as_echo "pre-installed
" >&6; }
14815 case " ${configdirs} " in
14820 if test $ok = yes; then
14821 # An in-tree tool is available and we can use it
14822 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14824 $as_echo "just compiled
" >&6; }
14825 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14826 # We already found the complete path
14827 ac_dir=`dirname $RANLIB_FOR_TARGET`
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14829 $as_echo "pre-installed
in $ac_dir" >&6; }
14830 elif test "x
$target" = "x
$host"; then
14831 # We can use an host tool
14832 RANLIB_FOR_TARGET='$(RANLIB)'
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14834 $as_echo "host tool
" >&6; }
14836 # We need a cross tool
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14838 $as_echo "pre-installed
" >&6; }
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14843 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14844 if test "x
${build}" != "x
${host}" ; then
14845 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14846 # We already found the complete path
14847 ac_dir=`dirname $READELF_FOR_TARGET`
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14849 $as_echo "pre-installed
in $ac_dir" >&6; }
14851 # Canadian cross, just use what we found
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14853 $as_echo "pre-installed
" >&6; }
14857 case " ${configdirs} " in
14862 if test $ok = yes; then
14863 # An in-tree tool is available and we can use it
14864 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14866 $as_echo "just compiled
" >&6; }
14867 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14868 # We already found the complete path
14869 ac_dir=`dirname $READELF_FOR_TARGET`
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14871 $as_echo "pre-installed
in $ac_dir" >&6; }
14872 elif test "x
$target" = "x
$host"; then
14873 # We can use an host tool
14874 READELF_FOR_TARGET='$(READELF)'
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14876 $as_echo "host tool
" >&6; }
14878 # We need a cross tool
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14880 $as_echo "pre-installed
" >&6; }
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14885 $as_echo_n "checking where to
find the target strip...
" >&6; }
14886 if test "x
${build}" != "x
${host}" ; then
14887 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14888 # We already found the complete path
14889 ac_dir=`dirname $STRIP_FOR_TARGET`
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14891 $as_echo "pre-installed
in $ac_dir" >&6; }
14893 # Canadian cross, just use what we found
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14895 $as_echo "pre-installed
" >&6; }
14899 case " ${configdirs} " in
14904 if test $ok = yes; then
14905 # An in-tree tool is available and we can use it
14906 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14908 $as_echo "just compiled
" >&6; }
14909 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14910 # We already found the complete path
14911 ac_dir=`dirname $STRIP_FOR_TARGET`
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14913 $as_echo "pre-installed
in $ac_dir" >&6; }
14914 elif test "x
$target" = "x
$host"; then
14915 # We can use an host tool
14916 STRIP_FOR_TARGET='$(STRIP)'
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14918 $as_echo "host tool
" >&6; }
14920 # We need a cross tool
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14922 $as_echo "pre-installed
" >&6; }
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14927 $as_echo_n "checking where to
find the target windres...
" >&6; }
14928 if test "x
${build}" != "x
${host}" ; then
14929 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14930 # We already found the complete path
14931 ac_dir=`dirname $WINDRES_FOR_TARGET`
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14933 $as_echo "pre-installed
in $ac_dir" >&6; }
14935 # Canadian cross, just use what we found
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14937 $as_echo "pre-installed
" >&6; }
14941 case " ${configdirs} " in
14946 if test $ok = yes; then
14947 # An in-tree tool is available and we can use it
14948 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14950 $as_echo "just compiled
" >&6; }
14951 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14952 # We already found the complete path
14953 ac_dir=`dirname $WINDRES_FOR_TARGET`
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14955 $as_echo "pre-installed
in $ac_dir" >&6; }
14956 elif test "x
$target" = "x
$host"; then
14957 # We can use an host tool
14958 WINDRES_FOR_TARGET='$(WINDRES)'
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14960 $as_echo "host tool
" >&6; }
14962 # We need a cross tool
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14964 $as_echo "pre-installed
" >&6; }
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14969 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14970 if test "x
${build}" != "x
${host}" ; then
14971 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14972 # We already found the complete path
14973 ac_dir=`dirname $WINDMC_FOR_TARGET`
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14975 $as_echo "pre-installed
in $ac_dir" >&6; }
14977 # Canadian cross, just use what we found
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14979 $as_echo "pre-installed
" >&6; }
14983 case " ${configdirs} " in
14988 if test $ok = yes; then
14989 # An in-tree tool is available and we can use it
14990 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14992 $as_echo "just compiled
" >&6; }
14993 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14994 # We already found the complete path
14995 ac_dir=`dirname $WINDMC_FOR_TARGET`
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14997 $as_echo "pre-installed
in $ac_dir" >&6; }
14998 elif test "x
$target" = "x
$host"; then
14999 # We can use an host tool
15000 WINDMC_FOR_TARGET='$(WINDMC)'
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15002 $as_echo "host tool
" >&6; }
15004 # We need a cross tool
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15006 $as_echo "pre-installed
" >&6; }
15014 # Certain tools may need extra flags.
15015 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15016 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15017 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15019 # When building target libraries, except in a Canadian cross, we use
15020 # the same toolchain as the compiler we just built.
15021 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15022 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15023 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15024 if test $host = $build; then
15025 case " $configdirs " in
15027 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15028 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15029 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15039 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15040 # Check whether --enable-maintainer-mode was given.
15041 if test "${enable_maintainer_mode+set}" = set; then :
15042 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15044 USE_MAINTAINER_MODE=no
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15048 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15051 if test "$USE_MAINTAINER_MODE" = yes; then
15052 MAINTAINER_MODE_TRUE=
15053 MAINTAINER_MODE_FALSE='#'
15055 MAINTAINER_MODE_TRUE='#'
15056 MAINTAINER_MODE_FALSE=
15058 MAINT=$MAINTAINER_MODE_TRUE
15060 # ---------------------
15061 # GCC bootstrap support
15062 # ---------------------
15064 # Stage specific cflags for build.
15069 yes) stage1_cflags="-g -Wa,-J" ;;
15070 *) stage1_cflags="-g -J" ;;
15076 # Enable --enable-checking in stage1 of the compiler.
15077 # Check whether --enable-stage1-checking was given.
15078 if test "${enable_stage1_checking+set}" = set; then :
15079 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15081 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15082 # For --disable-checking or implicit --enable-checking=release, avoid
15083 # setting --enable-checking=gc in the default stage1 checking for LTO
15084 # bootstraps. See PR62077.
15085 case $BUILD_CONFIG in
15087 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15089 stage1_checking=--enable-checking=yes,types;;
15091 if test "x
$enable_checking" = x && \
15092 test -d ${srcdir}/gcc && \
15093 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15094 stage1_checking=--enable-checking=yes,types,extra
15097 stage1_checking=--enable-checking=$enable_checking,types
15103 # Enable -Werror in bootstrap stage2 and later.
15104 # Check whether --enable-werror was given.
15105 if test "${enable_werror+set}" = set; then :
15106 enableval=$enable_werror;
15108 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15115 case ${enable_werror} in
15116 yes) stage2_werror_flag="--enable-werror-always" ;;
15117 *) stage2_werror_flag="" ;;
15121 # Enable --enable-host-shared.
15122 # Check whether --enable-host-shared was given.
15123 if test "${enable_host_shared+set}" = set; then :
15124 enableval=$enable_host_shared; host_shared=$enableval
15131 # PR jit/64780: Require the user to explicitly specify
15132 # --enable-host-shared if the jit is enabled, hinting
15133 # that they might want to do a separate configure/build of
15134 # the jit, to avoid users from slowing down the rest of the
15135 # compiler by enabling the jit.
15136 if test ${host_shared} = "no
" ; then
15137 case "${enable_languages}" in
15140 Enabling language
\"jit
\" requires
--enable-host-shared.
15142 --enable-host-shared typically slows the rest of the compiler down by
15143 a few
%, so you must explicitly
enable it.
15145 If you want to build both the jit and the regular compiler
, it is often
15146 best to
do this via two separate configure
/builds
, in separate
15147 directories
, to avoid imposing the performance cost of
15148 --enable-host-shared on the regular compiler.
" "$LINENO" 5
15155 # Specify what files to not compare during bootstrap.
15157 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15159 hppa*64*-*-hpux*) ;;
15160 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
15161 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15165 ac_config_files="$ac_config_files Makefile
"
15167 cat >confcache <<\_ACEOF
15168 # This file is a shell script that caches the results of configure
15169 # tests run on this system so they can be shared between configure
15170 # scripts and configure runs, see configure's option --config-cache.
15171 # It is not useful on other systems. If it contains results you don't
15172 # want to keep, you may remove or edit it.
15174 # config.status only pays attention to the cache file if you give it
15175 # the --recheck option to rerun configure.
15177 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15178 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15179 # following values.
15183 # The following way of writing the cache mishandles newlines in values,
15184 # but we know of no workaround that is simple, portable, and efficient.
15185 # So, we kill variables containing newlines.
15186 # Ultrix sh set writes to stderr and can't be redirected directly,
15187 # and sets the high bit in the cache file unless we assign to the vars.
15189 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15190 eval ac_val=\$$ac_var
15194 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15195 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15198 _ | IFS | as_nl) ;; #(
15199 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15200 *) { eval $ac_var=; unset $ac_var;} ;;
15206 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15207 *${as_nl}ac_space=\ *)
15208 # `set' does not quote correctly, so add quotes: double-quote
15209 # substitution turns \\\\ into \\, and sed turns \\ into \.
15212 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15215 # `set' quotes correctly as required by POSIX, so do not add quotes.
15216 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15227 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15229 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15230 if test -w "$cache_file"; then
15231 if test "x
$cache_file" != "x
/dev
/null
"; then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15233 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15234 if test ! -f "$cache_file" || test -h "$cache_file"; then
15235 cat confcache >"$cache_file"
15237 case $cache_file in #(
15239 mv -f confcache "$cache_file"$$ &&
15240 mv -f "$cache_file"$$ "$cache_file" ;; #(
15242 mv -f confcache "$cache_file" ;;
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15248 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15253 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15254 # Let make expand exec_prefix.
15255 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15257 # Transform confdefs.h into DEFS.
15258 # Protect against shell expansion while executing Makefile rules.
15259 # Protect against Makefile macro expansion.
15261 # If the first sed substitution is executed (which looks for macros that
15262 # take arguments), then branch to the quote section. Otherwise,
15263 # look for a macro that doesn't take arguments.
15273 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15275 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15279 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15292 DEFS=`sed -n "$ac_script" confdefs.h`
15298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15299 # 1. Remove the extension, and $U if already installed.
15300 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15301 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15302 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15303 # will be set to the directory where LIBOBJS objects are built.
15304 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15305 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15307 LIBOBJS=$ac_libobjs
15309 LTLIBOBJS=$ac_ltlibobjs
15313 : "${CONFIG_STATUS=./config.status}"
15315 ac_clean_files_save=$ac_clean_files
15316 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15318 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15320 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15322 # Generated by $as_me.
15323 # Run this file to recreate the current configuration.
15324 # Compiler output produced by configure, useful for debugging
15325 # configure, is in config.log if it exists.
15328 ac_cs_recheck=false
15331 SHELL=\${CONFIG_SHELL-$SHELL}
15334 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15335 ## -------------------- ##
15336 ## M4sh Initialization. ##
15337 ## -------------------- ##
15339 # Be more Bourne compatible
15340 DUALCASE=1; export DUALCASE # for MKS sh
15341 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15344 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15345 # is contrary to our usage. Disable this feature.
15346 alias -g '${1+"$@"}'='"$@"'
15347 setopt NO_GLOB_SUBST
15349 case `(set -o) 2>/dev/null` in #(
15361 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15362 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15363 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15364 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15365 # Prefer a ksh shell builtin over an external printf program on Solaris,
15366 # but without wasting forks for bash or zsh.
15367 if test -z "$BASH_VERSION$ZSH_VERSION" \
15368 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15369 as_echo
='print -r --'
15370 as_echo_n
='print -rn --'
15371 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15372 as_echo
='printf %s\n'
15373 as_echo_n
='printf %s'
15375 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15376 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15377 as_echo_n
='/usr/ucb/echo -n'
15379 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15380 as_echo_n_body
='eval
15384 expr "X$arg" : "X\\(.*\\)$as_nl";
15385 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15387 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15389 export as_echo_n_body
15390 as_echo_n
='sh -c $as_echo_n_body as_echo'
15392 export as_echo_body
15393 as_echo
='sh -c $as_echo_body as_echo'
15396 # The user is always right.
15397 if test "${PATH_SEPARATOR+set}" != set; then
15399 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15400 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15407 # We need space, tab and new line, in precisely that order. Quoting is
15408 # there to prevent editors from complaining about space-tab.
15409 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15410 # splitting by setting IFS to empty value.)
15413 # Find who we are. Look in the path if we contain no directory separator.
15416 *[\\/]* ) as_myself
=$0 ;;
15417 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15418 for as_dir
in $PATH
15421 test -z "$as_dir" && as_dir
=.
15422 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15428 # We did not find ourselves, most probably we were run as `sh COMMAND'
15429 # in which case we are not to be found in the path.
15430 if test "x$as_myself" = x
; then
15433 if test ! -f "$as_myself"; then
15434 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15438 # Unset variables that we do not need and which cause bugs (e.g. in
15439 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15440 # suppresses any "Segmentation fault" message there. '((' could
15441 # trigger a bug in pdksh 5.2.14.
15442 for as_var
in BASH_ENV ENV MAIL MAILPATH
15443 do eval test x\
${$as_var+set} = xset \
15444 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15457 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15460 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15461 # ----------------------------------------
15462 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15463 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15464 # script with STATUS, using 1 if that was 0.
15467 as_status
=$1; test $as_status -eq 0 && as_status
=1
15469 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15470 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15472 $as_echo "$as_me: error: $2" >&2
15473 as_fn_exit
$as_status
15477 # as_fn_set_status STATUS
15478 # -----------------------
15479 # Set $? to STATUS, without forking.
15480 as_fn_set_status
()
15483 } # as_fn_set_status
15485 # as_fn_exit STATUS
15486 # -----------------
15487 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15491 as_fn_set_status
$1
15497 # Portably unset VAR.
15500 { eval $1=; unset $1;}
15502 as_unset
=as_fn_unset
15503 # as_fn_append VAR VALUE
15504 # ----------------------
15505 # Append the text in VALUE to the end of the definition contained in VAR. Take
15506 # advantage of any shell optimizations that allow amortized linear growth over
15507 # repeated appends, instead of the typical quadratic growth present in naive
15509 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15510 eval 'as_fn_append ()
15521 # as_fn_arith ARG...
15522 # ------------------
15523 # Perform arithmetic evaluation on the ARGs, and store the result in the
15524 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15525 # must be portable across $(()) and expr.
15526 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15527 eval 'as_fn_arith ()
15534 as_val
=`expr "$@" || test $? -eq 1`
15539 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15540 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15546 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15547 as_basename
=basename
15552 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15558 as_me
=`$as_basename -- "$0" ||
15559 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15560 X"$0" : 'X\(//\)$' \| \
15561 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15563 sed '/^.*\/\([^/][^/]*\)\/*$/{
15577 # Avoid depending upon Character Ranges.
15578 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15579 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15580 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15581 as_cr_digits
='0123456789'
15582 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15584 ECHO_C
= ECHO_N
= ECHO_T
=
15585 case `echo -n x` in #(((((
15587 case `echo 'xy\c'` in
15588 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15590 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15597 rm -f conf$$ conf$$.exe conf$$.
file
15598 if test -d conf$$.dir
; then
15599 rm -f conf$$.dir
/conf$$.
file
15602 mkdir conf$$.dir
2>/dev
/null
15604 if (echo >conf$$.
file) 2>/dev
/null
; then
15605 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15607 # ... but there are two gotchas:
15608 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15609 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15610 # In both cases, we have to default to `cp -pR'.
15611 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15613 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15621 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15622 rmdir conf$$.dir
2>/dev
/null
15627 # Create "$as_dir" as a directory, including parents if necessary.
15632 -*) as_dir
=.
/$as_dir;;
15634 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15638 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15639 *) as_qdir
=$as_dir;;
15641 as_dirs
="'$as_qdir' $as_dirs"
15642 as_dir
=`$as_dirname -- "$as_dir" ||
15643 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15644 X"$as_dir" : 'X\(//\)[^/]' \| \
15645 X"$as_dir" : 'X\(//\)$' \| \
15646 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15647 $as_echo X"$as_dir" |
15648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15652 /^X\(\/\/\)[^/].*/{
15665 test -d "$as_dir" && break
15667 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15668 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15672 if mkdir
-p .
2>/dev
/null
; then
15673 as_mkdir_p
='mkdir -p "$as_dir"'
15675 test -d .
/-p && rmdir .
/-p
15680 # as_fn_executable_p FILE
15681 # -----------------------
15682 # Test if FILE is an executable regular file.
15683 as_fn_executable_p
()
15685 test -f "$1" && test -x "$1"
15686 } # as_fn_executable_p
15687 as_test_x
='test -x'
15688 as_executable_p
=as_fn_executable_p
15690 # Sed expression to map a string onto a valid CPP name.
15691 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15693 # Sed expression to map a string onto a valid variable name.
15694 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15698 ## ----------------------------------- ##
15699 ## Main body of $CONFIG_STATUS script. ##
15700 ## ----------------------------------- ##
15702 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15705 # Save the log message, to keep $0 and so on meaningful, and to
15706 # report actual input values of CONFIG_FILES etc. instead of their
15707 # values after options handling.
15709 This file was extended by $as_me, which was
15710 generated by GNU Autoconf 2.69. Invocation command line was
15712 CONFIG_FILES = $CONFIG_FILES
15713 CONFIG_HEADERS = $CONFIG_HEADERS
15714 CONFIG_LINKS = $CONFIG_LINKS
15715 CONFIG_COMMANDS = $CONFIG_COMMANDS
15718 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15723 case $ac_config_files in *"
15724 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15730 # Files that config.status was made for.
15731 config_files="$ac_config_files"
15735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15737 \`$as_me' instantiates files and other configuration actions
15738 from templates according to the current configuration. Unless the files
15739 and actions are specified as TAGs, all are instantiated by default.
15741 Usage: $0 [OPTION]... [TAG]...
15743 -h, --help print this help, then exit
15744 -V, --version print version number and configuration settings, then exit
15745 --config print configuration, then exit
15746 -q, --quiet, --silent
15747 do not print progress messages
15748 -d, --debug don't remove temporary files
15749 --recheck update $as_me by reconfiguring in the same conditions
15750 --file=FILE[:TEMPLATE]
15751 instantiate the configuration file FILE
15753 Configuration files:
15756 Report bugs to the package provider."
15759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15760 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15763 configured by $0, generated by GNU Autoconf 2.69,
15764 with options \\"\$ac_cs_config\\"
15766 Copyright (C) 2012 Free Software Foundation, Inc.
15767 This config.status script is free software; the Free Software Foundation
15768 gives unlimited permission to copy, distribute and modify it."
15774 test -n "\$AWK" || AWK=awk
15777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15778 # The default lists apply if the user does not specify any file.
15784 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15785 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15789 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15801 # Handling of the options.
15802 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15804 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15805 $as_echo "$ac_cs_version"; exit ;;
15806 --config |
--confi |
--conf |
--con |
--co |
--c )
15807 $as_echo "$ac_cs_config"; exit ;;
15808 --debug |
--debu |
--deb |
--de |
--d |
-d )
15810 --file |
--fil |
--fi |
--f )
15813 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15814 '') as_fn_error $?
"missing file argument" ;;
15816 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15817 ac_need_defaults
=false
;;
15818 --he |
--h |
--help |
--hel |
-h )
15819 $as_echo "$ac_cs_usage"; exit ;;
15820 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15821 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15824 # This is an error.
15825 -*) as_fn_error $?
"unrecognized option: \`$1'
15826 Try \`$0 --help' for more information." ;;
15828 *) as_fn_append ac_config_targets
" $1"
15829 ac_need_defaults
=false
;;
15835 ac_configure_extra_args
=
15837 if $ac_cs_silent; then
15839 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844 if \$ac_cs_recheck; then
15845 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15847 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15848 CONFIG_SHELL='$SHELL'
15849 export CONFIG_SHELL
15854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15858 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15859 ## Running $as_me. ##
15865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15869 extrasub_build="$extrasub_build"
15870 extrasub_host="$extrasub_host"
15871 extrasub_target="$extrasub_target"
15875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15877 # Handling of arguments.
15878 for ac_config_target
in $ac_config_targets
15880 case $ac_config_target in
15881 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15883 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15888 # If the user did not use the arguments to specify the items to instantiate,
15889 # then the envvar interface is used. Set only those that are not.
15890 # We use the long form for the default assignment because of an extremely
15891 # bizarre bug on SunOS 4.1.3.
15892 if $ac_need_defaults; then
15893 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15896 # Have a temporary directory for convenience. Make it in the build tree
15897 # simply because there is no reason against having it here, and in addition,
15898 # creating and moving files from /tmp can sometimes cause problems.
15899 # Hook for its removal unless debugging.
15900 # Note that there is a small window in which the directory will not be cleaned:
15901 # after its creation but before its name has been assigned to `$tmp'.
15905 trap 'exit_status=$?
15906 : "${ac_tmp:=$tmp}"
15907 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15909 trap 'as_fn_exit 1' 1 2 13 15
15911 # Create a (secure) tmp directory for tmp files.
15914 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15918 tmp
=.
/conf$$
-$RANDOM
15919 (umask 077 && mkdir
"$tmp")
15920 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15923 # Set up the scripts for CONFIG_FILES section.
15924 # No need to generate them if there are no CONFIG_FILES.
15925 # This happens for instance with `./config.status config.h'.
15926 if test -n "$CONFIG_FILES"; then
15928 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15929 ac_cs_awk_getline
=:
15930 ac_cs_awk_pipe_init
=
15931 ac_cs_awk_read_file
='
15932 while ((getline aline < (F[key])) > 0)
15935 ac_cs_awk_pipe_fini
=
15937 ac_cs_awk_getline
=false
15938 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15939 ac_cs_awk_read_file
='
15941 print "cat " F[key] " &&"
15942 '$ac_cs_awk_pipe_init
15943 # The final `:' finishes the AND list.
15944 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15946 ac_cr
=`echo X | tr X '\015'`
15947 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15948 # But we know of no other shell where ac_cr would be empty at this
15949 # point, so we can use a bashism as a fallback.
15950 if test "x$ac_cr" = x
; then
15951 eval ac_cr
=\$
\'\\r
\'
15953 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15954 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15957 ac_cs_awk_cr
=$ac_cr
15960 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15963 # Create commands to substitute file output variables.
15965 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15966 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15967 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15970 } >conf$
$files.sh
&&
15971 . .
/conf$
$files.sh ||
15972 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15973 rm -f conf$
$files.sh
15976 echo "cat >conf$$subs.awk <<_ACEOF" &&
15977 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15979 } >conf$$subs.sh ||
15980 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15981 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15983 for ac_last_try in false false false false false :; do
15984 . ./conf$$subs.sh ||
15985 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15987 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15988 if test $ac_delim_n = $ac_delim_num; then
15990 elif $ac_last_try; then
15991 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15993 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15996 rm -f conf$$subs.sh
15998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15999 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16003 s/^/S["/; s
/!.
*/"]=/
16013 s/\(.\{148\}\)..*/\1/
16015 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16020 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16027 s/\(.\{148\}\)..*/\1/
16029 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16033 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16038 ' <conf$$subs.awk | sed '
16043 ' >>$CONFIG_STATUS || ac_write_fail=1
16044 rm -f conf$$subs.awk
16045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16048 for (key in S) S_is_set[key] = 1
16050 \$ac_cs_awk_pipe_init
16054 nfields = split(line, field, "@
")
16056 len = length(field[1])
16057 for (i = 2; i < nfields; i++) {
16059 keylen = length(key)
16060 if (S_is_set[key]) {
16062 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16063 len += length(value) + length(field[++i])
16068 if (nfields == 3 && !substed) {
16070 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16071 \$ac_cs_awk_read_file
16077 \$ac_cs_awk_pipe_fini
16080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16081 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16082 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16085 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16086 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16089 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16090 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16091 # trailing colons and then remove the whole line if VPATH becomes empty
16092 # (actually we leave an empty line to preserve line numbers).
16093 if test "x
$srcdir" = x.; then
16094 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16113 fi # test -n "$CONFIG_FILES"
16116 eval set X " :F
$CONFIG_FILES "
16121 :[FHLC]) ac_mode=$ac_tag; continue;;
16123 case $ac_mode$ac_tag in
16125 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16126 :[FH]-) ac_tag=-:-;;
16127 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16144 -) ac_f="$ac_tmp/stdin";;
16145 *) # Look for the file first in the build tree, then in the source tree
16146 # (if the path is not absolute). The absolute path cannot be DOS-style,
16147 # because $ac_f cannot contain `:'.
16151 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16153 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16155 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16156 as_fn_append ac_file_inputs " '$ac_f'"
16159 # Let's still pretend it is `configure' which instantiates (i.e., don't
16160 # use $as_me), people would be surprised to read:
16161 # /* config.h. Generated by config.status. */
16162 configure_input='Generated from '`
16163 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16165 if test x"$ac_file" != x-; then
16166 configure_input="$ac_file.
$configure_input"
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16168 $as_echo "$as_me: creating
$ac_file" >&6;}
16170 # Neutralize special characters interpreted by sed in replacement strings.
16171 case $configure_input in #(
16172 *\&* | *\|* | *\\* )
16173 ac_sed_conf_input=`$as_echo "$configure_input" |
16174 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16175 *) ac_sed_conf_input=$configure_input;;
16179 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16180 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16185 ac_dir=`$as_dirname -- "$ac_file" ||
16186 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16187 X"$ac_file" : 'X\(//\)[^/]' \| \
16188 X"$ac_file" : 'X\(//\)$' \| \
16189 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16190 $as_echo X"$ac_file" |
16191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16195 /^X\(\/\/\)[^/].*/{
16208 as_dir="$ac_dir"; as_fn_mkdir_p
16212 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16214 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16215 # A "..
" for each directory in $ac_dir_suffix.
16216 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16217 case $ac_top_builddir_sub in
16218 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16219 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16222 ac_abs_top_builddir=$ac_pwd
16223 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16224 # for backward compatibility:
16225 ac_top_builddir=$ac_top_build_prefix
16228 .) # We are building in place.
16230 ac_top_srcdir=$ac_top_builddir_sub
16231 ac_abs_top_srcdir=$ac_pwd ;;
16232 [\\/]* | ?:[\\/]* ) # Absolute name.
16233 ac_srcdir=$srcdir$ac_dir_suffix;
16234 ac_top_srcdir=$srcdir
16235 ac_abs_top_srcdir=$srcdir ;;
16236 *) # Relative name.
16237 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16238 ac_top_srcdir=$ac_top_build_prefix$srcdir
16239 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16241 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16251 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16252 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16257 # If the template does not know about datarootdir, expand it.
16258 # FIXME: This hack should be removed a few years after 2.60.
16259 ac_datarootdir_hack=; ac_datarootdir_seen=
16270 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16271 *datarootdir*) ac_datarootdir_seen=yes;;
16272 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16274 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16277 ac_datarootdir_hack='
16278 s&@datadir@&$datadir&g
16279 s&@docdir@&$docdir&g
16280 s&@infodir@&$infodir&g
16281 s&@localedir@&$localedir&g
16282 s&@mandir@&$mandir&g
16283 s&\\\${datarootdir}&$datarootdir&g' ;;
16287 # Neutralize VPATH when `$srcdir' = `.'.
16288 # Shell code in configure.ac might set extrasub.
16289 # FIXME: do we really want to maintain this feature?
16290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16291 ac_sed_extra="$ac_vpsub
16294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16296 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16297 s|@configure_input@|
$ac_sed_conf_input|
;t t
16298 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16299 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16300 s
&@srcdir@
&$ac_srcdir&;t t
16301 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16302 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16303 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16304 s
&@builddir@
&$ac_builddir&;t t
16305 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16306 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16307 s
&@INSTALL@
&$ac_INSTALL&;t t
16308 $ac_datarootdir_hack
16310 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16311 if $ac_cs_awk_getline; then
16312 $AWK -f "$ac_tmp/subs.
awk"
16314 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16316 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16318 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16319 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16320 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16321 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16323 which seems to be undefined. Please make sure it is defined" >&5
16324 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16325 which seems to be undefined. Please make sure it is defined" >&2;}
16327 rm -f "$ac_tmp/stdin"
16329 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16330 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16332 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16340 case $ac_file$ac_mode in
16341 "Makefile":F) sed "$extrasub_build" Makefile |
16342 sed "$extrasub_host" |
16343 sed "$extrasub_target" > mf$$
16344 mv -f mf$$ Makefile ;;
16352 ac_clean_files=$ac_clean_files_save
16354 test $ac_write_fail = 0 ||
16355 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16358 # configure is writing to config.log, and then calls config.status.
16359 # config.status does its own redirection, appending to config.log.
16360 # Unfortunately, on DOS this fails, as config.log is still kept open
16361 # by configure, so config.status won't be able to
write to it
; its
16362 # output is simply discarded. So we exec the FD to /dev/null,
16363 # effectively closing config.log, so it can be properly (re)opened and
16364 # appended to by config.status. When coming back to configure, we
16365 # need to make the FD available again.
16366 if test "$no_create" != yes; then
16368 ac_config_status_args
=
16369 test "$silent" = yes &&
16370 ac_config_status_args
="$ac_config_status_args --quiet"
16372 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16374 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16375 # would make configure fail if this is the last instruction.
16376 $ac_cs_success || as_fn_exit
1
16378 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16380 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}