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
766 program_transform_name
777 ac_subst_files
='serialization_dependencies
783 enable_option_checking
786 enable_as_accelerator_for
787 enable_offload_targets
790 enable_compressed_debug_sections
792 enable_libquadmath_support
797 enable_static_libjava
817 enable_isl_version_check
819 enable_linker_plugin_configure_flags
820 enable_linker_plugin_flags
821 enable_stage1_languages
824 with_debug_prefix_map
827 enable_serial_configure
828 with_build_time_tools
829 enable_maintainer_mode
830 enable_stage1_checking
834 ac_precious_vars
='build_alias
882 # Initialize some variables set by options.
884 ac_init_version
=false
885 ac_unrecognized_opts
=
887 # The variables have the same names as the options, with
888 # dashes changed to underlines.
896 program_transform_name
=s
,x
,x
,
904 # Installation directory options.
905 # These are left unexpanded so users can "make install exec_prefix=/foo"
906 # and all the variables that are supposed to be based on exec_prefix
907 # by default will actually change.
908 # Use braces instead of parens because sh, perl, etc. also accept them.
909 # (The list follows the same order as the GNU Coding Standards.)
910 bindir
='${exec_prefix}/bin'
911 sbindir
='${exec_prefix}/sbin'
912 libexecdir
='${exec_prefix}/libexec'
913 datarootdir
='${prefix}/share'
914 datadir
='${datarootdir}'
915 sysconfdir
='${prefix}/etc'
916 sharedstatedir
='${prefix}/com'
917 localstatedir
='${prefix}/var'
918 includedir
='${prefix}/include'
919 oldincludedir
='/usr/include'
920 docdir
='${datarootdir}/doc/${PACKAGE}'
921 infodir
='${datarootdir}/info'
926 libdir
='${exec_prefix}/lib'
927 localedir
='${datarootdir}/locale'
928 mandir
='${datarootdir}/man'
934 # If the previous option needs an argument, assign it.
935 if test -n "$ac_prev"; then
936 eval $ac_prev=\
$ac_option
942 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
953 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
955 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
958 -build |
--build |
--buil |
--bui |
--bu)
959 ac_prev
=build_alias
;;
960 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
961 build_alias
=$ac_optarg ;;
963 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
964 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
965 ac_prev
=cache_file
;;
966 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
967 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
968 cache_file
=$ac_optarg ;;
971 cache_file
=config.cache
;;
973 -datadir |
--datadir |
--datadi |
--datad)
975 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
976 datadir
=$ac_optarg ;;
978 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
979 |
--dataroo |
--dataro |
--datar)
980 ac_prev
=datarootdir
;;
981 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
982 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
983 datarootdir
=$ac_optarg ;;
985 -disable-* |
--disable-*)
986 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
989 as_fn_error $?
"invalid feature name: $ac_useropt"
990 ac_useropt_orig
=$ac_useropt
991 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
997 ac_unrecognized_sep
=', ';;
999 eval enable_
$ac_useropt=no
;;
1001 -docdir |
--docdir |
--docdi |
--doc |
--do)
1003 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1004 docdir
=$ac_optarg ;;
1006 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1008 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1009 dvidir
=$ac_optarg ;;
1011 -enable-* |
--enable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error $?
"invalid feature name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_
$ac_useropt"
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval enable_
$ac_useropt=\
$ac_optarg ;;
1027 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1028 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1029 |
--exec |
--exe |
--ex)
1030 ac_prev
=exec_prefix
;;
1031 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1032 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1033 |
--exec=* |
--exe=* |
--ex=*)
1034 exec_prefix
=$ac_optarg ;;
1036 -gas |
--gas |
--ga |
--g)
1037 # Obsolete; use --with-gas.
1040 -help |
--help |
--hel |
--he |
-h)
1041 ac_init_help
=long
;;
1042 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1043 ac_init_help
=recursive
;;
1044 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1045 ac_init_help
=short
;;
1047 -host |
--host |
--hos |
--ho)
1048 ac_prev
=host_alias
;;
1049 -host=* |
--host=* |
--hos=* |
--ho=*)
1050 host_alias
=$ac_optarg ;;
1052 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1054 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1056 htmldir
=$ac_optarg ;;
1058 -includedir |
--includedir |
--includedi |
--included |
--include \
1059 |
--includ |
--inclu |
--incl |
--inc)
1060 ac_prev
=includedir
;;
1061 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1062 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1063 includedir
=$ac_optarg ;;
1065 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1067 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1068 infodir
=$ac_optarg ;;
1070 -libdir |
--libdir |
--libdi |
--libd)
1072 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1073 libdir
=$ac_optarg ;;
1075 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1076 |
--libexe |
--libex |
--libe)
1077 ac_prev
=libexecdir
;;
1078 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1079 |
--libexe=* |
--libex=* |
--libe=*)
1080 libexecdir
=$ac_optarg ;;
1082 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1083 ac_prev
=localedir
;;
1084 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1085 localedir
=$ac_optarg ;;
1087 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1088 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1089 ac_prev
=localstatedir
;;
1090 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1091 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1092 localstatedir
=$ac_optarg ;;
1094 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1096 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1097 mandir
=$ac_optarg ;;
1099 -nfp |
--nfp |
--nf)
1100 # Obsolete; use --without-fp.
1103 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1104 |
--no-cr |
--no-c |
-n)
1107 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1108 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1111 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1112 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1113 |
--oldin |
--oldi |
--old |
--ol |
--o)
1114 ac_prev
=oldincludedir
;;
1115 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1116 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1117 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1118 oldincludedir
=$ac_optarg ;;
1120 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1122 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1123 prefix
=$ac_optarg ;;
1125 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1126 |
--program-pre |
--program-pr |
--program-p)
1127 ac_prev
=program_prefix
;;
1128 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1129 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1130 program_prefix
=$ac_optarg ;;
1132 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1133 |
--program-suf |
--program-su |
--program-s)
1134 ac_prev
=program_suffix
;;
1135 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1136 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1137 program_suffix
=$ac_optarg ;;
1139 -program-transform-name |
--program-transform-name \
1140 |
--program-transform-nam |
--program-transform-na \
1141 |
--program-transform-n |
--program-transform- \
1142 |
--program-transform |
--program-transfor \
1143 |
--program-transfo |
--program-transf \
1144 |
--program-trans |
--program-tran \
1145 |
--progr-tra |
--program-tr |
--program-t)
1146 ac_prev
=program_transform_name
;;
1147 -program-transform-name=* |
--program-transform-name=* \
1148 |
--program-transform-nam=* |
--program-transform-na=* \
1149 |
--program-transform-n=* |
--program-transform-=* \
1150 |
--program-transform=* |
--program-transfor=* \
1151 |
--program-transfo=* |
--program-transf=* \
1152 |
--program-trans=* |
--program-tran=* \
1153 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1154 program_transform_name
=$ac_optarg ;;
1156 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1158 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1159 pdfdir
=$ac_optarg ;;
1161 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1163 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1166 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1167 |
-silent |
--silent |
--silen |
--sile |
--sil)
1170 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1172 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1174 sbindir
=$ac_optarg ;;
1176 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1177 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1178 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1180 ac_prev
=sharedstatedir
;;
1181 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1182 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1183 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1185 sharedstatedir
=$ac_optarg ;;
1187 -site |
--site |
--sit)
1189 -site=* |
--site=* |
--sit=*)
1192 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1194 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1195 srcdir
=$ac_optarg ;;
1197 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1198 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1199 ac_prev
=sysconfdir
;;
1200 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1201 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1202 sysconfdir
=$ac_optarg ;;
1204 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1205 ac_prev
=target_alias
;;
1206 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1207 target_alias
=$ac_optarg ;;
1209 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1212 -version |
--version |
--versio |
--versi |
--vers |
-V)
1213 ac_init_version
=: ;;
1216 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1219 as_fn_error $?
"invalid package name: $ac_useropt"
1220 ac_useropt_orig
=$ac_useropt
1221 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1227 ac_unrecognized_sep
=', ';;
1229 eval with_
$ac_useropt=\
$ac_optarg ;;
1231 -without-* |
--without-*)
1232 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1235 as_fn_error $?
"invalid package name: $ac_useropt"
1236 ac_useropt_orig
=$ac_useropt
1237 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1242 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1243 ac_unrecognized_sep
=', ';;
1245 eval with_
$ac_useropt=no
;;
1248 # Obsolete; use --with-x.
1251 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1252 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1253 ac_prev
=x_includes
;;
1254 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1255 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1256 x_includes
=$ac_optarg ;;
1258 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1259 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1260 ac_prev
=x_libraries
;;
1261 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1262 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1263 x_libraries
=$ac_optarg ;;
1265 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1266 Try \`$0 --help' for more information"
1270 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 case $ac_envvar in #(
1273 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1274 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1276 eval $ac_envvar=\
$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1290 if test -n "$ac_prev"; then
1291 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1292 as_fn_error $?
"missing argument to $ac_option"
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1298 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 # Check all directory arguments for consistency.
1304 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val
=\$
$ac_var
1310 # Remove trailing slashes.
1313 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\
$ac_val;;
1316 # Be sure to have absolute directory names.
1318 [\\/$
]* | ?
:[\\/]* ) continue;;
1319 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1321 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1329 target
=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x
; then
1333 if test "x$build_alias" = x
; then
1334 cross_compiling
=maybe
1335 elif test "x$build_alias" != "x$host_alias"; then
1341 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1343 test "$silent" = yes && exec 6>/dev
/null
1346 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1347 ac_ls_di
=`ls -di .` &&
1348 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1349 as_fn_error $?
"working directory cannot be determined"
1350 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351 as_fn_error $?
"pwd does not report name of working directory"
1354 # Find the source files, if location was not specified.
1355 if test -z "$srcdir"; then
1356 ac_srcdir_defaulted
=yes
1357 # Try the directory containing this script, then the parent directory.
1358 ac_confdir
=`$as_dirname -- "$as_myself" ||
1359 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360 X"$as_myself" : 'X\(//\)[^/]' \| \
1361 X"$as_myself" : 'X\(//\)$' \| \
1362 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1363 $as_echo X"$as_myself" |
1364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 if test ! -r "$srcdir/$ac_unique_file"; then
1386 ac_srcdir_defaulted
=no
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1390 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1392 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1394 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1396 # When building in place, set srcdir=.
1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 # Remove unnecessary trailing slashes from srcdir.
1401 # Double slashes in file names in object file debugging info
1402 # mess up M-x gdb in Emacs.
1404 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1408 as_fn_error $?
"path to source, $srcdir, contains spaces"
1411 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures this package to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1490 --build=BUILD configure
for building on BUILD
[guessed
]
1491 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1492 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1496 if test -n "$ac_init_help"; then
1501 --disable-option-checking ignore unrecognized
--enable/--with options
1502 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1503 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1504 --enable-as-accelerator-for=ARG
1505 build as offload target compiler. Specify offload
1507 --enable-offload-targets=LIST
1508 enable offloading to devices from comma-separated
1509 LIST of TARGET
[=DIR
]. Use optional path to
find
1510 offload target compiler during the build
1511 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1512 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1513 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1514 Enable compressed debug sections
for gas
, gold or ld
1516 --disable-libquadmath do not build libquadmath directory
1517 --disable-libquadmath-support
1518 disable libquadmath support
for Fortran
1519 --enable-libada build libada directory
1520 --enable-libssp build libssp directory
1521 --disable-libstdcxx do not build libstdc
++-v3 directory
1522 --enable-liboffloadmic=ARG
1523 build liboffloadmic
[ARG
={no
,host,target
}]
1524 --enable-static-libjava[=ARG
]
1525 build static libjava
[default
=no
]
1526 --enable-bootstrap enable bootstrapping
[yes if native build
]
1527 --disable-isl-version-check
1528 disable check
for isl version
1529 --enable-lto enable link
time optimization support
1530 --enable-linker-plugin-configure-flags=FLAGS
1531 additional flags
for configuring linker plugins
1533 --enable-linker-plugin-flags=FLAGS
1534 additional flags
for configuring and building linker
1536 --enable-stage1-languages[=all
]
1537 choose additional languages to build during stage1.
1538 Mostly useful
for compiler development
1539 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1541 --enable-vtable-verify Enable vtable verification feature
1542 --enable-serial-[{host,target,build}-]configure
1543 force sequential configuration of sub-packages for
1544 the host, target or build machine, or all
1546 --enable-maintainer-mode
1547 enable make rules and dependencies not useful (and
1548 sometimes confusing) to the casual installer
1549 --enable-stage1-checking[=all]
1550 choose additional checking for stage1 of the
1552 --enable-werror enable -Werror in bootstrap stage2 and later
1553 --enable-host-shared build host code as shared libraries
1556 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1557 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1558 --with-build-libsubdir=DIR Directory where to find libraries for build system
1559 --with-system-zlib use installed libz
1560 --with-mpc=PATH specify prefix directory for installed MPC package.
1561 Equivalent to --with-mpc-include=PATH/include plus
1562 --with-mpc-lib=PATH/lib
1563 --with-mpc-include=PATH specify directory for installed MPC include files
1564 --with-mpc-lib=PATH specify directory for the installed MPC library
1565 --with-mpfr-dir=PATH this option has been REMOVED
1566 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1567 Equivalent to --with-mpfr-include=PATH/include plus
1568 --with-mpfr-lib=PATH/lib
1569 --with-mpfr-include=PATH
1570 specify directory for installed MPFR include files
1571 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1572 --with-gmp-dir=PATH this option has been REMOVED
1573 --with-gmp=PATH specify prefix directory for the installed GMP
1574 package. Equivalent to
1575 --with-gmp-include=PATH/include plus
1576 --with-gmp-lib=PATH/lib
1577 --with-gmp-include=PATH specify directory for installed GMP include files
1578 --with-gmp-lib=PATH specify directory for the installed GMP library
1579 --with-stage1-libs=LIBS libraries for stage1
1580 --with-stage1-ldflags=FLAGS
1581 linker flags for stage1
1582 --with-boot-libs=LIBS libraries for stage2 and later
1583 --with-boot-ldflags=FLAGS
1584 linker flags for stage2 and later
1585 --with-isl=PATH Specify prefix directory for the installed isl
1586 package. Equivalent to
1587 --with-isl-include=PATH/include plus
1588 --with-isl-lib=PATH/lib
1589 --with-isl-include=PATH Specify directory for installed isl include files
1590 --with-isl-lib=PATH Specify the directory for the installed isl library
1591 --with-build-sysroot=SYSROOT
1592 use sysroot as the system root during the build
1593 --with-debug-prefix-map='A
=B C
=D ...
'
1594 map A to B, C to D ... in debug information
1595 --with-build-config='NAME NAME2...
'
1596 use config/NAME.mk build configuration
1597 --with-build-time-tools=PATH
1598 use given path to find target tools during the build
1600 Some influential environment variables:
1601 CC C compiler command
1602 CFLAGS C compiler flags
1603 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1604 nonstandard directory <lib dir>
1605 LIBS libraries to pass to the linker, e.g. -l<library>
1606 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1607 you have headers in a nonstandard directory <include dir>
1608 CXX C++ compiler command
1609 CXXFLAGS C++ compiler flags
1611 additional configure arguments for build directories
1613 additional configure arguments for host directories
1615 additional configure arguments for target directories
1618 DLLTOOL DLLTOOL for the host
1620 LIPO LIPO for the host
1622 RANLIB RANLIB for the host
1623 STRIP STRIP for the host
1624 WINDRES WINDRES for the host
1625 WINDMC WINDMC for the host
1626 OBJCOPY OBJCOPY for the host
1627 OBJDUMP OBJDUMP for the host
1628 READELF READELF for the host
1638 GFORTRAN for the target
1646 DLLTOOL for the target
1654 OBJCOPY for the target
1656 OBJDUMP for the target
1658 RANLIB for the target
1660 READELF for the target
1662 STRIP for the target
1664 WINDRES for the target
1666 WINDMC for the target
1668 Use these variables to override the choices made by `configure' or to
help
1669 it to
find libraries and programs with nonstandard names
/locations.
1671 Report bugs to the package provider.
1676 if test "$ac_init_help" = "recursive"; then
1677 # If there are subdirs, report their specific --help.
1678 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1679 test -d "$ac_dir" ||
1680 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1685 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1687 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1688 # A ".." for each directory in $ac_dir_suffix.
1689 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1690 case $ac_top_builddir_sub in
1691 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1692 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1695 ac_abs_top_builddir
=$ac_pwd
1696 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1697 # for backward compatibility:
1698 ac_top_builddir
=$ac_top_build_prefix
1701 .
) # We are building in place.
1703 ac_top_srcdir
=$ac_top_builddir_sub
1704 ac_abs_top_srcdir
=$ac_pwd ;;
1705 [\\/]* | ?
:[\\/]* ) # Absolute name.
1706 ac_srcdir
=$srcdir$ac_dir_suffix;
1707 ac_top_srcdir
=$srcdir
1708 ac_abs_top_srcdir
=$srcdir ;;
1710 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1711 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1712 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1714 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1716 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1717 # Check for guested configure.
1718 if test -f "$ac_srcdir/configure.gnu"; then
1720 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1721 elif test -f "$ac_srcdir/configure"; then
1723 $SHELL "$ac_srcdir/configure" --help=recursive
1725 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1727 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1731 test -n "$ac_init_help" && exit $ac_status
1732 if $ac_init_version; then
1735 generated by GNU Autoconf
2.69
1737 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1738 This configure
script is free software
; the Free Software Foundation
1739 gives unlimited permission to copy
, distribute and modify it.
1744 ## ------------------------ ##
1745 ## Autoconf initialization. ##
1746 ## ------------------------ ##
1748 # ac_fn_c_try_compile LINENO
1749 # --------------------------
1750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1751 ac_fn_c_try_compile
()
1753 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1754 rm -f conftest.
$ac_objext
1755 if { { ac_try
="$ac_compile"
1757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_compile") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest.$ac_objext; then :
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 as_fn_set_status $ac_retval
1784 } # ac_fn_c_try_compile
1786 # ac_fn_cxx_try_compile LINENO
1787 # ----------------------------
1788 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_cxx_try_compile ()
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext
1793 if { { ac_try="$ac_compile"
1795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1796 *) ac_try_echo
=$ac_try;;
1798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_compile") 2>conftest.err
1802 if test -s conftest.err
; then
1803 grep -v '^ *+' conftest.err
>conftest.er1
1804 cat conftest.er1
>&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_cxx_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest.
$ac_objext; then :
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.
$ac_ext >&5
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status
$ac_retval
1822 } # ac_fn_cxx_try_compile
1824 # ac_fn_cxx_try_link LINENO
1825 # -------------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 ac_fn_cxx_try_link
()
1829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1830 rm -f conftest.
$ac_objext conftest
$ac_exeext
1831 if { { ac_try
="$ac_link"
1833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_cxx_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 test -x conftest$ac_exeext
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_cxx_try_link
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876 rm -f conftest.$ac_objext conftest$ac_exeext
1877 if { { ac_try="$ac_link"
1879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1880 *) ac_try_echo
=$ac_try;;
1882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err
; then
1887 grep -v '^ *+' conftest.err
>conftest.er1
1888 cat conftest.er1
>&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest
$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 test -x conftest
$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.
$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status
$ac_retval
1914 } # ac_fn_c_try_link
1915 cat >config.log
<<_ACEOF
1916 This file contains any messages produced by compilers while
1917 running configure, to aid debugging if configure makes a mistake.
1919 It was created by $as_me, which was
1920 generated by GNU Autoconf 2.69. Invocation command line was
1932 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1933 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1934 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1935 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1936 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1938 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1939 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1941 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1942 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1943 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1944 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1945 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1946 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1947 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir
=.
1956 $as_echo "PATH: $as_dir"
1972 # Keep a trace of the command line.
1973 # Strip out --no-create and --no-recursion so they do not pile up.
1974 # Strip out --silent because we don't want to record it for future runs.
1975 # Also quote any args containing shell meta-characters.
1976 # Make two passes to allow for proper duplicate-argument suppression.
1980 ac_must_keep_next
=false
1986 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1987 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1988 |
-silent |
--silent |
--silen |
--sile |
--sil)
1991 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1994 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1996 as_fn_append ac_configure_args1
" '$ac_arg'"
1997 if test $ac_must_keep_next = true
; then
1998 ac_must_keep_next
=false
# Got value, back to normal.
2001 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2002 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2003 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2004 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2005 case "$ac_configure_args0 " in
2006 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2009 -* ) ac_must_keep_next
=true
;;
2012 as_fn_append ac_configure_args
" '$ac_arg'"
2017 { ac_configure_args0
=; unset ac_configure_args0
;}
2018 { ac_configure_args1
=; unset ac_configure_args1
;}
2020 # When interrupted or exit'd, cleanup temporary files, and complete
2021 # config.log. We remove comments because anyway the quotes in there
2022 # would cause problems or look ugly.
2023 # WARNING: Use '\'' to represent an apostrophe within the trap.
2024 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2025 trap 'exit_status=$?
2026 # Save into config.log some information that might help in debugging.
2030 $as_echo "## ---------------- ##
2031 ## Cache variables. ##
2032 ## ---------------- ##"
2034 # The following way of writing the cache mishandles newlines in values,
2036 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2037 eval ac_val=\$$ac_var
2041 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2042 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2045 _ | IFS | as_nl) ;; #(
2046 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2047 *) { eval $ac_var=; unset $ac_var;} ;;
2052 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2053 *${as_nl}ac_space=\ *)
2055 "s/'\''/'\''\\\\'\'''\''/g;
2056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2059 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2066 $as_echo "## ----------------- ##
2067 ## Output variables. ##
2068 ## ----------------- ##"
2070 for ac_var in $ac_subst_vars
2072 eval ac_val=\$$ac_var
2074 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2076 $as_echo "$ac_var='\''$ac_val'\''"
2080 if test -n "$ac_subst_files"; then
2081 $as_echo "## ------------------- ##
2082 ## File substitutions. ##
2083 ## ------------------- ##"
2085 for ac_var
in $ac_subst_files
2087 eval ac_val
=\$
$ac_var
2089 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -s confdefs.h; then
2097 $as_echo "## ----------- ##
2104 test "$ac_signal" != 0 &&
2105 $as_echo "$as_me: caught signal $ac_signal"
2106 $as_echo "$as_me: exit $exit_status"
2108 rm -f core *.core core.conftest.* &&
2109 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2112 for ac_signal
in 1 2 13 15; do
2113 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2118 rm -f -r conftest
* confdefs.h
2120 $as_echo "/* confdefs.h */" > confdefs.h
2122 # Predefined preprocessor variables.
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE_NAME "$PACKAGE_NAME"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2132 cat >>confdefs.h
<<_ACEOF
2133 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2136 cat >>confdefs.h
<<_ACEOF
2137 #define PACKAGE_STRING "$PACKAGE_STRING"
2140 cat >>confdefs.h
<<_ACEOF
2141 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2144 cat >>confdefs.h
<<_ACEOF
2145 #define PACKAGE_URL "$PACKAGE_URL"
2149 # Let the site file select an alternate cache file if it wants to.
2150 # Prefer an explicitly selected file to automatically selected ones.
2153 if test -n "$CONFIG_SITE"; then
2154 # We do not want a PATH search for config.site.
2155 case $CONFIG_SITE in #((
2156 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2157 */*) ac_site_file1
=$CONFIG_SITE;;
2158 *) ac_site_file1
=.
/$CONFIG_SITE;;
2160 elif test "x$prefix" != xNONE
; then
2161 ac_site_file1
=$prefix/share
/config.site
2162 ac_site_file2
=$prefix/etc
/config.site
2164 ac_site_file1
=$ac_default_prefix/share
/config.site
2165 ac_site_file2
=$ac_default_prefix/etc
/config.site
2167 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2169 test "x$ac_site_file" = xNONE
&& continue
2170 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2172 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2173 sed 's/^/| /' "$ac_site_file" >&5
2175 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2177 as_fn_error $?
"failed to load site script $ac_site_file
2178 See \`config.log' for more details" "$LINENO" 5; }
2182 if test -r "$cache_file"; then
2183 # Some versions of bash will fail to source /dev/null (special files
2184 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2185 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2187 $as_echo "$as_me: loading cache $cache_file" >&6;}
2189 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2190 *) .
"./$cache_file";;
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2195 $as_echo "$as_me: creating cache $cache_file" >&6;}
2199 # Check that the precious variables saved in the cache have kept the same
2201 ac_cache_corrupted
=false
2202 for ac_var
in $ac_precious_vars; do
2203 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2204 eval ac_new_set
=\
$ac_env_${ac_var}_set
2205 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2206 eval ac_new_val
=\
$ac_env_${ac_var}_value
2207 case $ac_old_set,$ac_new_set in
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2210 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2211 ac_cache_corrupted
=: ;;
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2214 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2215 ac_cache_corrupted
=: ;;
2218 if test "x$ac_old_val" != "x$ac_new_val"; then
2219 # differences in whitespace do not lead to failure.
2220 ac_old_val_w
=`echo x $ac_old_val`
2221 ac_new_val_w
=`echo x $ac_new_val`
2222 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2224 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2225 ac_cache_corrupted
=:
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2228 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2229 eval $ac_var=\
$ac_old_val
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2232 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2234 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2237 # Pass precious variables to config.status.
2238 if test "$ac_new_set" = set; then
2240 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2241 *) ac_arg
=$ac_var=$ac_new_val ;;
2243 case " $ac_configure_args " in
2244 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2245 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2249 if $ac_cache_corrupted; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2253 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2254 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2256 ## -------------------- ##
2257 ## Main body of script. ##
2258 ## -------------------- ##
2261 ac_cpp
='$CPP $CPPFLAGS'
2262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2274 # if PWD already has a value, it is probably wrong.
2275 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2277 # Export original configure arguments for use by sub-configures.
2278 # Quote arguments with shell meta charatcers.
2279 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2280 set -- "$progname" "$@"
2284 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2285 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2286 # if the argument is of the form -foo=baz, quote the baz part only
2287 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2290 # Add the quoted argument to the list.
2291 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2293 if test "$silent" = yes; then
2294 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2296 # Remove the initial space we just introduced and, as these will be
2297 # expanded by make, quote '$'.
2298 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2301 # Find the build, host, and target systems.
2303 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2304 if test -f "$ac_dir/install-sh"; then
2306 ac_install_sh
="$ac_aux_dir/install-sh -c"
2308 elif test -f "$ac_dir/install.sh"; then
2310 ac_install_sh
="$ac_aux_dir/install.sh -c"
2312 elif test -f "$ac_dir/shtool"; then
2314 ac_install_sh
="$ac_aux_dir/shtool install -c"
2318 if test -z "$ac_aux_dir"; then
2319 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2322 # These three variables are undocumented and unsupported,
2323 # and are intended to be withdrawn in a future Autoconf release.
2324 # They can cause serious problems if a builder's source tree is in a directory
2325 # whose full name contains unusual characters.
2326 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2327 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2328 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2331 # Make sure we can run config.sub.
2332 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2333 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2336 $as_echo_n "checking build system type... " >&6; }
2337 if ${ac_cv_build+:} false
; then :
2338 $as_echo_n "(cached) " >&6
2340 ac_build_alias
=$build_alias
2341 test "x$ac_build_alias" = x
&&
2342 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2343 test "x$ac_build_alias" = x
&&
2344 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2345 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2346 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2350 $as_echo "$ac_cv_build" >&6; }
2351 case $ac_cv_build in
2353 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2356 ac_save_IFS
=$IFS; IFS
='-'
2362 # Remember, the first character of IFS is used to create $*,
2363 # except with old shells:
2366 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2369 case ${build_alias} in
2370 "") build_noncanonical
=${build} ;;
2371 *) build_noncanonical
=${build_alias} ;;
2376 case ${host_alias} in
2377 "") host_noncanonical
=${build_noncanonical} ;;
2378 *) host_noncanonical
=${host_alias} ;;
2383 case ${target_alias} in
2384 "") target_noncanonical
=${host_noncanonical} ;;
2385 *) target_noncanonical
=${target_alias} ;;
2391 test "$host_noncanonical" = "$target_noncanonical" &&
2392 test "$program_prefix$program_suffix$program_transform_name" = \
2394 program_transform_name
=s
,y
,y
,
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2397 $as_echo_n "checking host system type... " >&6; }
2398 if ${ac_cv_host+:} false
; then :
2399 $as_echo_n "(cached) " >&6
2401 if test "x$host_alias" = x
; then
2402 ac_cv_host
=$ac_cv_build
2404 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2405 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2410 $as_echo "$ac_cv_host" >&6; }
2413 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2416 ac_save_IFS
=$IFS; IFS
='-'
2422 # Remember, the first character of IFS is used to create $*,
2423 # except with old shells:
2426 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2430 $as_echo_n "checking target system type... " >&6; }
2431 if ${ac_cv_target+:} false
; then :
2432 $as_echo_n "(cached) " >&6
2434 if test "x$target_alias" = x
; then
2435 ac_cv_target
=$ac_cv_host
2437 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2438 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2443 $as_echo "$ac_cv_target" >&6; }
2444 case $ac_cv_target in
2446 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2448 target
=$ac_cv_target
2449 ac_save_IFS
=$IFS; IFS
='-'
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2459 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2462 # The aliases save the names the user supplied, while $host etc.
2463 # will get canonicalized.
2464 test -n "$target_alias" &&
2465 test "$program_prefix$program_suffix$program_transform_name" = \
2467 program_prefix
=${target_alias}-
2469 test "$program_prefix" != NONE
&&
2470 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2471 # Use a double $ so make ignores it.
2472 test "$program_suffix" != NONE
&&
2473 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2474 # Double any \ or $.
2475 # By default was `s,x,x', remove it if useless.
2476 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2477 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2481 # Get 'install' or 'install-sh' and its variants.
2482 # Find a good install program. We prefer a C program (faster),
2483 # so one script is as good as another. But avoid the broken or
2484 # incompatible versions:
2485 # SysV /etc/install, /usr/sbin/install
2486 # SunOS /usr/etc/install
2487 # IRIX /sbin/install
2489 # AmigaOS /C/install, which installs bootblocks on floppy discs
2490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2493 # OS/2's system install, which has a completely different semantic
2494 # ./install, which can be erroneously created by make from ./install.sh.
2495 # Reject install programs that cannot install multiple files.
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2497 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2498 if test -z "$INSTALL"; then
2499 if ${ac_cv_path_install+:} false
; then :
2500 $as_echo_n "(cached) " >&6
2502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir
=.
2507 # Account for people who put trailing slashes in PATH elements.
2508 case $as_dir/ in #((
2509 .
/ | .
// |
/[cC
]/* | \
2510 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2511 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2514 # OSF1 and SCO ODT 3.0 have their own names for install.
2515 # Don't use installbsd from OSF since it installs stuff as root
2517 for ac_prog
in ginstall scoinst
install; do
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2520 if test $ac_prog = install &&
2521 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2522 # AIX install. It has an incompatible calling convention.
2524 elif test $ac_prog = install &&
2525 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2526 # program-specific install script used by HP pwplus--don't use.
2529 rm -rf conftest.one conftest.two conftest.dir
2530 echo one
> conftest.one
2531 echo two
> conftest.two
2533 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2534 test -s conftest.one
&& test -s conftest.two
&&
2535 test -s conftest.dir
/conftest.one
&&
2536 test -s conftest.dir
/conftest.two
2538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2551 rm -rf conftest.one conftest.two conftest.dir
2554 if test "${ac_cv_path_install+set}" = set; then
2555 INSTALL
=$ac_cv_path_install
2557 # As a last resort, use the slow shell script. Don't cache a
2558 # value for INSTALL within a source directory, because that will
2559 # break other packages using the cache if that directory is
2560 # removed, or if the value is a relative name.
2561 INSTALL
=$ac_install_sh
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2565 $as_echo "$INSTALL" >&6; }
2567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2568 # It thinks the first close brace ends the variable substitution.
2569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2573 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2576 $as_echo_n "checking whether ln works... " >&6; }
2577 if ${acx_cv_prog_LN+:} false
; then :
2578 $as_echo_n "(cached) " >&6
2580 rm -f conftestdata_t
2581 echo >conftestdata_f
2582 if ln conftestdata_f conftestdata_t
2>/dev
/null
2588 rm -f conftestdata_f conftestdata_t
2591 if test $acx_cv_prog_LN = no
; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2594 $as_echo "no, using $LN" >&6; }
2596 LN
="$acx_cv_prog_LN"
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598 $as_echo "yes" >&6; }
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2602 $as_echo_n "checking whether ln -s works... " >&6; }
2604 if test "$LN_S" = "ln -s"; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2606 $as_echo "yes" >&6; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2609 $as_echo "no, using $LN_S" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2613 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2614 if ${ac_cv_path_SED+:} false
; then :
2615 $as_echo_n "(cached) " >&6
2617 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2618 for ac_i
in 1 2 3 4 5 6 7; do
2619 ac_script
="$ac_script$as_nl$ac_script"
2621 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2622 { ac_script
=; unset ac_script
;}
2623 if test -z "$SED"; then
2624 ac_path_SED_found
=false
2625 # Loop through the user's path and test for each of PROGNAME-LIST
2626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir
=.
2631 for ac_prog
in sed gsed
; do
2632 for ac_exec_ext
in '' $ac_executable_extensions; do
2633 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2634 as_fn_executable_p
"$ac_path_SED" ||
continue
2635 # Check for GNU ac_path_SED and select it if it is found.
2636 # Check for GNU $ac_path_SED
2637 case `"$ac_path_SED" --version 2>&1` in
2639 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2642 $as_echo_n 0123456789 >"conftest.in"
2645 cat "conftest.in" "conftest.in" >"conftest.tmp"
2646 mv "conftest.tmp" "conftest.in"
2647 cp "conftest.in" "conftest.nl"
2648 $as_echo '' >> "conftest.nl"
2649 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2650 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2651 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2652 if test $ac_count -gt ${ac_path_SED_max-0}; then
2653 # Best one so far, save it but keep looking for a better one
2654 ac_cv_path_SED
="$ac_path_SED"
2655 ac_path_SED_max
=$ac_count
2657 # 10*(2^10) chars as input seems more than enough
2658 test $ac_count -gt 10 && break
2660 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2663 $ac_path_SED_found && break 3
2668 if test -z "$ac_cv_path_SED"; then
2669 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2677 $as_echo "$ac_cv_path_SED" >&6; }
2678 SED
="$ac_cv_path_SED"
2681 for ac_prog
in gawk mawk nawk
awk
2683 # Extract the first word of "$ac_prog", so it can be a program name with args.
2684 set dummy
$ac_prog; ac_word
=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if ${ac_cv_prog_AWK+:} false
; then :
2688 $as_echo_n "(cached) " >&6
2690 if test -n "$AWK"; then
2691 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir
=.
2698 for ac_exec_ext
in '' $ac_executable_extensions; do
2699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2700 ac_cv_prog_AWK
="$ac_prog"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 if test -n "$AWK"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2713 $as_echo "$AWK" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2720 test -n "$AWK" && break
2724 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2726 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2728 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2729 INSTALL
="${srcpwd}/install-sh -c"
2732 # Set srcdir to "." if that's what it is.
2733 # This is important for multilib support.
2735 if test "${pwd}" = "${srcpwd}" ; then
2743 ### To add a new directory to the tree, first choose whether it is a target
2744 ### or a host dependent tool. Then put it into the appropriate list
2745 ### (library or tools, host or target), doing a dependency sort.
2747 # Subdirs will be configured in the order listed in build_configdirs,
2748 # configdirs, or target_configdirs; see the serialization section below.
2750 # Dependency sorting is only needed when *configuration* must be done in
2751 # a particular order. In all cases a dependency should be specified in
2752 # the Makefile, whether or not it's implicitly specified here.
2754 # Double entries in build_configdirs, configdirs, or target_configdirs may
2755 # cause circular dependencies and break everything horribly.
2757 # these library is used by various programs built for the build
2760 build_libs
="build-libiberty build-libcpp"
2762 # these tools are built for the build environment
2763 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2765 # these libraries are used by various programs built for the host environment
2767 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2769 # these tools are built for the host environment
2770 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2771 # know that we are building the simulator.
2772 # binutils, gas and ld appear in that order because it makes sense to run
2773 # "make check" in that particular order.
2774 # If --enable-gold is used, "gold" may replace "ld".
2775 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"
2777 # libgcj represents the runtime libraries only used by gcj.
2778 libgcj
="target-libffi \
2782 # these libraries are built for the target environment, and are built after
2783 # the host libraries and the host tools (which may be a cross compiler)
2784 # Note that libiberty is not a target library.
2785 target_libraries
="target-libgcc \
2786 target-libbacktrace \
2791 target-liboffloadmic \
2794 target-libstdc++-v3 \
2795 target-libsanitizer \
2799 target-libquadmath \
2800 target-libgfortran \
2807 # these tools are built using the target libraries, and are intended to
2808 # run only in the target environment
2810 # note: any program that *uses* libraries that are in the "target_libraries"
2811 # list belongs in this list.
2813 target_tools
="target-rda"
2815 ################################################################################
2817 ## All tools belong in one of the four categories, and are assigned above
2818 ## We assign ${configdirs} this way to remove all embedded newlines. This
2819 ## is important because configure will choke if they ever get through.
2820 ## ${configdirs} is directories we build using the host tools.
2821 ## ${target_configdirs} is directories we build using the target tools.
2822 configdirs
=`echo ${host_libs} ${host_tools}`
2823 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2824 build_configdirs
=`echo ${build_libs} ${build_tools}`
2828 ################################################################################
2830 srcname
="gnu development package"
2832 # This gets set non-empty for some net releases of packages.
2835 # Define is_cross_compiler to save on calls to 'test'.
2837 if test x
"${host}" = x
"${target}" ; then
2838 is_cross_compiler
=no
2840 is_cross_compiler
=yes
2843 # Find the build and target subdir names.
2845 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2846 # have matching libraries, they should use host libraries: Makefile.tpl
2847 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2848 # However, they still use the build modules, because the corresponding
2849 # host modules (e.g. bison) are only built for the host when bootstrap
2851 # - build_subdir is where we find build modules, and never changes.
2852 # - build_libsubdir is where we find build libraries, and can be overridden.
2854 # Prefix 'build-' so this never conflicts with target_subdir.
2855 build_subdir
="build-${build_noncanonical}"
2857 # Check whether --with-build-libsubdir was given.
2858 if test "${with_build_libsubdir+set}" = set; then :
2859 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2861 build_libsubdir
="$build_subdir"
2864 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2865 if ( test $srcdir = .
&& test -d gcc
) \
2866 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2867 host_subdir
="host-${host_noncanonical}"
2872 target_subdir
=${target_noncanonical}
2874 # Be sure to cover against remnants of an in-tree build.
2875 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2876 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2877 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2880 # Skipdirs are removed silently.
2882 # Noconfigdirs are removed loudly.
2886 # Make sure we don't let GNU ld be added if we didn't want it.
2887 if test x
$with_gnu_ld = xno
; then
2889 noconfigdirs
="$noconfigdirs ld gold"
2893 # Make sure we don't let GNU as be added if we didn't want it.
2894 if test x
$with_gnu_as = xno
; then
2896 noconfigdirs
="$noconfigdirs gas"
2901 # Check whether --with-system-zlib was given.
2902 if test "${with_system_zlib+set}" = set; then :
2903 withval
=$with_system_zlib;
2906 # Make sure we don't let ZLIB be added if we didn't want it.
2907 if test x
$with_system_zlib = xyes
; then
2908 use_included_zlib
=no
2909 noconfigdirs
="$noconfigdirs zlib"
2912 # some tools are so dependent upon X11 that if we're not building with X,
2913 # it's not even worth trying to configure, much less build, that tool.
2916 yes |
"") ;; # the default value for this tree is that X11 is available
2918 skipdirs
="${skipdirs} tk itcl libgui"
2919 # We won't be able to build gdbtk without X.
2922 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2925 # Some are only suitable for cross toolchains.
2926 # Remove these if host=target.
2927 cross_only
="target-libgloss target-newlib target-opcodes"
2929 case $is_cross_compiler in
2930 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2933 # If both --with-headers and --with-libs are specified, default to
2935 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2936 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2937 if test x
"${with_newlib}" = x
; then
2942 # Recognize --with-newlib/--without-newlib.
2943 case ${with_newlib} in
2944 no
) skipdirs
="${skipdirs} target-newlib" ;;
2945 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2948 # Check whether --enable-as-accelerator-for was given.
2949 if test "${enable_as_accelerator_for+set}" = set; then :
2950 enableval
=$enable_as_accelerator_for;
2954 # Check whether --enable-offload-targets was given.
2955 if test "${enable_offload_targets+set}" = set; then :
2956 enableval
=$enable_offload_targets;
2957 if test x
"$enable_offload_targets" = x
; then
2958 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2962 enable_offload_targets
=
2966 # Handle --enable-gold, --enable-ld.
2967 # --disable-gold [--enable-ld]
2968 # Build only ld. Default option.
2969 # --enable-gold [--enable-ld]
2970 # Build both gold and ld. Install gold as "ld.gold", install ld
2971 # as "ld.bfd" and "ld".
2972 # --enable-gold=default [--enable-ld]
2973 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2974 # install ld as "ld.bfd".
2975 # --enable-gold[=default] --disable-ld
2976 # Build only gold, which is then installed as both "ld.gold" and "ld".
2977 # --enable-gold --enable-ld=default
2978 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2980 # In other words, ld is default
2981 # --enable-gold=default --enable-ld=default
2985 # Check whether --enable-gold was given.
2986 if test "${enable_gold+set}" = set; then :
2987 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2992 case "${ENABLE_GOLD}" in
2994 # Check for ELF target.
2997 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2998 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2999 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3000 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl* |
*-*-haiku*)
3002 *-*-linux*aout
* |
*-*-linux*oldld
*)
3010 if test "$is_elf" = "yes"; then
3011 # Check for target supported by gold.
3013 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3014 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3015 configdirs
="$configdirs gold"
3016 if test x
${ENABLE_GOLD} = xdefault
; then
3027 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3031 # Check whether --enable-ld was given.
3032 if test "${enable_ld+set}" = set; then :
3033 enableval
=$enable_ld; ENABLE_LD
=$enableval
3039 case "${ENABLE_LD}" in
3041 if test x
${default_ld} != x
; then
3042 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3048 if test x
${ENABLE_GOLD} != xyes
; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3050 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3052 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3055 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3060 # Decide the default method for compressing debug sections.
3061 # Provide a configure time option to override our default.
3062 # Check whether --enable-compressed_debug_sections was given.
3063 if test "${enable_compressed_debug_sections+set}" = set; then :
3064 enableval
=$enable_compressed_debug_sections;
3065 if test x
"$enable_compressed_debug_sections" = xyes
; then
3066 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3070 enable_compressed_debug_sections
=
3074 # Configure extra directories which are host specific
3078 configdirs
="$configdirs libtermcap" ;;
3081 # A target can indicate whether a language isn't supported for some reason.
3082 # Only spaces may be used in this macro; not newlines or tabs.
3083 unsupported_languages
=
3085 # Remove more programs from consideration, based on the host or
3086 # target this usually means that a port of the program doesn't
3090 i
[3456789]86-*-msdosdjgpp*)
3091 noconfigdirs
="$noconfigdirs tcl tk itcl"
3096 # Check whether --enable-libquadmath was given.
3097 if test "${enable_libquadmath+set}" = set; then :
3098 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3100 ENABLE_LIBQUADMATH
=yes
3103 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3104 noconfigdirs
="$noconfigdirs target-libquadmath"
3108 # Check whether --enable-libquadmath-support was given.
3109 if test "${enable_libquadmath_support+set}" = set; then :
3110 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3112 ENABLE_LIBQUADMATH_SUPPORT
=yes
3115 enable_libquadmath_support
=
3116 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3117 enable_libquadmath_support
=no
3121 # Check whether --enable-libada was given.
3122 if test "${enable_libada+set}" = set; then :
3123 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3128 if test "${ENABLE_LIBADA}" != "yes" ; then
3129 noconfigdirs
="$noconfigdirs gnattools"
3132 # Check whether --enable-libssp was given.
3133 if test "${enable_libssp+set}" = set; then :
3134 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3140 # Check whether --enable-libstdcxx was given.
3141 if test "${enable_libstdcxx+set}" = set; then :
3142 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3144 ENABLE_LIBSTDCXX
=default
3147 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3148 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3151 # If this is accelerator compiler and its target is intelmic we enable
3152 # target liboffloadmic by default. If this is compiler with offloading
3153 # for intelmic we enable host liboffloadmic by default. Otherwise
3154 # liboffloadmic is disabled by default.
3155 # Check whether --enable-liboffloadmic was given.
3156 if test "${enable_liboffloadmic+set}" = set; then :
3157 enableval
=$enable_liboffloadmic; case "$enableval" in
3159 enable_liboffloadmic
=$enableval ;;
3161 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3164 if test x
"$enable_as_accelerator_for" != x
; then
3166 *-intelmic-* |
*-intelmicemul-*)
3167 enable_liboffloadmic
=target
3168 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3171 enable_liboffloadmic
=no
3175 case "${enable_offload_targets}" in
3176 *-intelmic-* |
*-intelmicemul-*)
3177 enable_liboffloadmic
=host
3178 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3181 enable_liboffloadmic
=no
3189 # Save it here so that, even in case of --enable-libgcj, if the Java
3190 # front-end isn't enabled, we still get libgcj disabled.
3191 libgcj_saved
=$libgcj
3192 case $enable_libgcj in
3194 # If we reset it here, it won't get added to noconfigdirs in the
3195 # target-specific build rules, so it will be forcibly enabled
3196 # (unless the Java language itself isn't enabled).
3200 # Make sure we get it printed in the list of not supported target libs.
3201 # Don't disable libffi, though, other languages use it.
3202 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3203 # Clear libgcj_saved so that even if java is enabled libffi won't be
3209 # Check whether --enable-static-libjava was given.
3210 if test "${enable_static_libjava+set}" = set; then :
3211 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3213 ENABLE_STATIC_LIBJAVA
=no
3216 enable_static_libjava
=
3217 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3218 enable_static_libjava
=yes
3221 if test x
$enable_static_libjava != xyes
; then
3222 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3226 # Enable libgomp by default on hosted POSIX systems, and a few others.
3227 if test x
$enable_libgomp = x
; then
3229 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3231 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3233 *-*-solaris2* |
*-*-hpux11*)
3235 *-*-darwin* |
*-*-aix*)
3240 noconfigdirs
="$noconfigdirs target-libgomp"
3245 # Disable libatomic on unsupported systems.
3246 if test -d ${srcdir}/libatomic
; then
3247 if test x
$enable_libatomic = x
; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3249 $as_echo_n "checking for libatomic support... " >&6; }
3250 if (srcdir
=${srcdir}/libatomic
; \
3251 .
${srcdir}/configure.tgt
; \
3252 test -n "$UNSUPPORTED")
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 noconfigdirs
="$noconfigdirs target-libatomic"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3264 # Disable libcilkrts on unsupported systems.
3265 if test -d ${srcdir}/libcilkrts
; then
3266 if test x
$enable_libcilkrts = x
; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3268 $as_echo_n "checking for libcilkrts support... " >&6; }
3269 if (srcdir
=${srcdir}/libcilkrts
; \
3270 .
${srcdir}/configure.tgt
; \
3271 test -n "$UNSUPPORTED")
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3275 noconfigdirs
="$noconfigdirs target-libcilkrts"
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3278 $as_echo "yes" >&6; }
3283 # Disable liboffloadmic on unsupported systems.
3284 if test -d ${srcdir}/liboffloadmic
; then
3285 if test x
$enable_liboffloadmic != xno
; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3287 $as_echo_n "checking for liboffloadmic support... " >&6; }
3288 if (srcdir
=${srcdir}/liboffloadmic
; \
3289 .
${srcdir}/configure.tgt
; \
3290 test -n "$UNSUPPORTED")
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3302 # Disable libitm on unsupported systems.
3303 if test -d ${srcdir}/libitm
; then
3304 if test x
$enable_libitm = x
; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3306 $as_echo_n "checking for libitm support... " >&6; }
3307 if (srcdir
=${srcdir}/libitm
; \
3308 .
${srcdir}/configure.tgt
; \
3309 test -n "$UNSUPPORTED")
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3313 noconfigdirs
="$noconfigdirs target-libitm"
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3321 # Disable libsanitizer on unsupported systems.
3322 if test -d ${srcdir}/libsanitizer
; then
3323 if test x
$enable_libsanitizer = x
; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3325 $as_echo_n "checking for libsanitizer support... " >&6; }
3326 if (srcdir
=${srcdir}/libsanitizer
; \
3327 .
${srcdir}/configure.tgt
; \
3328 test -n "$UNSUPPORTED")
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 noconfigdirs
="$noconfigdirs target-libsanitizer"
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3335 $as_echo "yes" >&6; }
3340 # Disable libvtv on unsupported systems.
3341 if test -d ${srcdir}/libvtv
; then
3342 if test x
$enable_libvtv = x
; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3344 $as_echo_n "checking for libvtv support... " >&6; }
3345 if (srcdir
=${srcdir}/libvtv
; \
3346 .
${srcdir}/configure.tgt
; \
3347 test "$VTV_SUPPORTED" != "yes")
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350 $as_echo "no" >&6; }
3351 noconfigdirs
="$noconfigdirs target-libvtv"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3354 $as_echo "yes" >&6; }
3360 # Enable libmpx on supported systems by request.
3361 if test -d ${srcdir}/libmpx
; then
3362 if test x
$enable_libmpx = x
; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3364 $as_echo_n "checking for libmpx support... " >&6; }
3365 if (srcdir
=${srcdir}/libmpx
; \
3366 .
${srcdir}/configure.tgt
; \
3367 test "$LIBMPX_SUPPORTED" != "yes")
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3371 noconfigdirs
="$noconfigdirs target-libmpx"
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3374 $as_echo "yes" >&6; }
3381 # Disable libquadmath for some systems.
3384 noconfigdirs
="$noconfigdirs target-libquadmath"
3386 # libquadmath is unused on AIX and libquadmath build process use of
3387 # LD_LIBRARY_PATH can break AIX bootstrap.
3388 powerpc-
*-aix* | rs6000-
*-aix*)
3389 noconfigdirs
="$noconfigdirs target-libquadmath"
3393 # Disable libssp for some systems.
3396 # No hosted I/O support.
3397 noconfigdirs
="$noconfigdirs target-libssp"
3399 powerpc-
*-aix* | rs6000-
*-aix*)
3400 noconfigdirs
="$noconfigdirs target-libssp"
3403 # libssp uses a misaligned load to trigger a fault, but the RL78
3404 # doesn't fault for those - instead, it gives a build-time error
3405 # for explicit misaligned loads.
3406 noconfigdirs
="$noconfigdirs target-libssp"
3409 # No hosted I/O support.
3410 noconfigdirs
="$noconfigdirs target-libssp"
3414 # Disable libstdc++-v3 for some systems.
3415 # Allow user to override this if they pass --enable-libstdc++-v3
3416 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3419 # VxWorks uses the Dinkumware C++ library.
3420 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3423 # the C++ libraries don't build on top of CE's C libraries
3424 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3427 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3430 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3435 # Disable Fortran for some systems.
3438 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3439 unsupported_languages
="$unsupported_languages fortran"
3443 # Disable Java if libffi is not supported.
3475 powerpc-
*-aix* | rs6000-
*-aix*)
3479 powerpc64-
*-freebsd*)
3483 s390-
*-* | s390x-
*-*)
3485 sh-
*-* | sh
[34]*-*-*)
3492 unsupported_languages
="$unsupported_languages java"
3496 # Disable Java, libgcj or related libraries for some systems.
3500 i
[3456789]86-*-darwin*)
3502 x86_64-
*-darwin[912]*)
3505 noconfigdirs
="$noconfigdirs ${libgcj}"
3508 noconfigdirs
="$noconfigdirs ${libgcj}"
3511 noconfigdirs
="$noconfigdirs ${libgcj}"
3514 noconfigdirs
="$noconfigdirs ${libgcj}"
3517 noconfigdirs
="$noconfigdirs ${libgcj}"
3520 noconfigdirs
="$noconfigdirs ${libgcj}"
3523 noconfigdirs
="$noconfigdirs ${libgcj}"
3526 noconfigdirs
="$noconfigdirs ${libgcj}"
3529 noconfigdirs
="$noconfigdirs ${libgcj}"
3532 noconfigdirs
="$noconfigdirs ${libgcj}"
3535 noconfigdirs
="$noconfigdirs ${libgcj}"
3538 noconfigdirs
="$noconfigdirs target-boehm-gc"
3540 cris-
*-* | crisv32-
*-*)
3541 unsupported_languages
="$unsupported_languages java"
3545 *) # See PR46792 regarding target-libffi.
3546 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3550 # In this case, it's because the hppa64-linux target is for
3551 # the kernel only at this point and has no libc, and thus no
3552 # headers, crt*.o, etc., all of which are needed by these.
3553 unsupported_languages
="$unsupported_languages java"
3556 noconfigdirs
="$noconfigdirs ${libgcj}"
3561 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3562 # build on HP-UX 10.20.
3563 noconfigdirs
="$noconfigdirs ${libgcj}"
3566 noconfigdirs
="$noconfigdirs ${libgcj}"
3568 i
[3456789]86-w64-mingw*)
3569 noconfigdirs
="$noconfigdirs ${libgcj}"
3571 i
[3456789]86-*-mingw*)
3572 noconfigdirs
="$noconfigdirs ${libgcj}"
3575 noconfigdirs
="$noconfigdirs ${libgcj}"
3578 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3581 # copied from rs6000-*-* entry
3582 noconfigdirs
="$noconfigdirs ${libgcj}"
3585 noconfigdirs
="$noconfigdirs ${libgcj}"
3588 noconfigdirs
="$noconfigdirs ${libgcj}"
3591 noconfigdirs
="$noconfigdirs ${libgcj}"
3595 # Disable the go frontend on systems where it is known to not work. Please keep
3596 # this in sync with contrib/config-list.mk.
3598 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3599 unsupported_languages
="$unsupported_languages go"
3603 # Disable libgo for some systems where it is known to not work.
3604 # For testing, you can easily override this with --enable-libgo.
3605 if test x
$enable_libgo = x
; then
3609 noconfigdirs
="$noconfigdirs target-libgo"
3611 *-*-cygwin* |
*-*-mingw*)
3612 noconfigdirs
="$noconfigdirs target-libgo"
3615 noconfigdirs
="$noconfigdirs target-libgo"
3620 # Default libgloss CPU subdirectory.
3621 libgloss_dir
="$target_cpu"
3624 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3628 libgloss_dir
=aarch64
3633 cris-
*-* | crisv32-
*-*)
3642 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3643 libgloss_dir
=m68hc11
3645 m68
*-*-* | fido-
*-*)
3659 # Disable newlib and libgloss for various target OSes.
3662 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3664 i
[3456789]86-*-linux*)
3665 # This section makes it possible to build newlib natively on linux.
3666 # If we are using a cross compiler then don't configure newlib.
3667 if test x
${is_cross_compiler} != xno
; then
3668 noconfigdirs
="$noconfigdirs target-newlib"
3670 noconfigdirs
="$noconfigdirs target-libgloss"
3671 # If we are not using a cross compiler, do configure newlib.
3672 # Note however, that newlib will only be configured in this situation
3673 # if the --with-newlib option has been given, because otherwise
3674 # 'target-newlib' will appear in skipdirs.
3676 i
[3456789]86-*-rdos*)
3677 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3679 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3680 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3695 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3698 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3701 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3704 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3707 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3710 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3713 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3716 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3722 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3730 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3731 noconfigdirs
="$noconfigdirs sim target-rda"
3734 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3735 noconfigdirs
="$noconfigdirs sim target-rda"
3738 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3739 noconfigdirs
="$noconfigdirs sim target-rda"
3741 i
[3456789]86-*-darwin*)
3742 noconfigdirs
="$noconfigdirs ld gprof"
3743 noconfigdirs
="$noconfigdirs sim target-rda"
3745 x86_64-
*-darwin[912]*)
3746 noconfigdirs
="$noconfigdirs ld gas gprof"
3747 noconfigdirs
="$noconfigdirs sim target-rda"
3750 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3751 noconfigdirs
="$noconfigdirs sim target-rda"
3756 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3757 && test -f /usr
/local
/include
/gmp.h
; then
3762 # Remove unsupported stuff on all kaOS configurations.
3763 noconfigdirs
="$noconfigdirs target-libgloss"
3770 noconfigdirs
="$noconfigdirs target-libgloss"
3773 noconfigdirs
="$noconfigdirs target-libgloss"
3774 # this is not caught below because this stanza matches earlier
3776 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3779 # The tpf target doesn't support gdb yet.
3781 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3784 noconfigdirs
="$noconfigdirs target-rda"
3789 # ld works, but does not support shared libraries.
3790 # gas doesn't generate exception information.
3791 noconfigdirs
="$noconfigdirs gas ld"
3794 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3797 # newlib is not 64 bit ready
3798 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3800 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3801 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3804 noconfigdirs
="$noconfigdirs target-libgloss"
3807 noconfigdirs
="$noconfigdirs ld target-libgloss"
3810 if test x
${with_avrlibc} != xno
; then
3811 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3814 c4x-
*-* | tic4x-
*-*)
3815 noconfigdirs
="$noconfigdirs target-libgloss"
3818 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3821 noconfigdirs
="$noconfigdirs target-libgloss"
3824 noconfigdirs
="$noconfigdirs gdb"
3827 noconfigdirs
="$noconfigdirs gdb"
3830 noconfigdirs
="$noconfigdirs target-rda gprof"
3833 noconfigdirs
="$noconfigdirs"
3836 noconfigdirs
="$noconfigdirs target-libgloss"
3839 noconfigdirs
="$noconfigdirs target-libgloss"
3841 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3844 noconfigdirs
="$noconfigdirs gdb"
3847 noconfigdirs
="$noconfigdirs gdb ld"
3855 hppa
*-*-openbsd* | \
3861 noconfigdirs
="$noconfigdirs ld"
3864 noconfigdirs
="$noconfigdirs gdb"
3867 # No gdb support yet.
3868 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3871 # No ld support yet.
3872 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3875 # No ld support yet.
3876 noconfigdirs
="$noconfigdirs libgui itcl ld"
3878 i
[3456789]86-w64-mingw*)
3880 i
[3456789]86-*-mingw*)
3881 target_configdirs
="$target_configdirs target-winsup"
3884 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3885 noconfigdirs
="$noconfigdirs target-libgloss"
3886 # always build newlib if winsup directory is present.
3887 if test -d "$srcdir/winsup/cygwin"; then
3888 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3889 elif test -d "$srcdir/newlib"; then
3890 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3894 noconfigdirs
="$noconfigdirs target-libgloss"
3896 i
[3456789]86-*-sco3.2v5
*)
3897 # The linker does not yet know about weak symbols in COFF,
3898 # and is not configured to handle mixed ELF and COFF.
3899 noconfigdirs
="$noconfigdirs ld target-libgloss"
3901 i
[3456789]86-*-sco*)
3902 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3904 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3905 noconfigdirs
="$noconfigdirs target-libgloss"
3907 i
[3456789]86-*-sysv4*)
3908 noconfigdirs
="$noconfigdirs target-libgloss"
3910 i
[3456789]86-*-beos*)
3911 noconfigdirs
="$noconfigdirs gdb"
3913 i
[3456789]86-*-rdos*)
3914 noconfigdirs
="$noconfigdirs gdb"
3917 noconfigdirs
="$noconfigdirs gdb"
3920 noconfigdirs
="$noconfigdirs sim"
3923 # copied from rs6000-*-* entry
3924 noconfigdirs
="$noconfigdirs gprof"
3926 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3927 target_configdirs
="$target_configdirs target-winsup"
3928 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3929 # always build newlib.
3930 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3932 # This is temporary until we can link against shared libraries
3933 powerpcle-
*-solaris*)
3934 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3937 noconfigdirs
="$noconfigdirs gdb"
3940 noconfigdirs
="$noconfigdirs gprof"
3943 noconfigdirs
="$noconfigdirs gprof"
3946 noconfigdirs
="$noconfigdirs gprof"
3949 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3952 noconfigdirs
="$noconfigdirs gprof"
3954 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3955 if test x
$with_newlib = xyes
; then
3956 noconfigdirs
="$noconfigdirs gprof"
3960 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3963 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3966 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3970 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3971 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3972 noconfigdirs
="$noconfigdirs ld gas gprof"
3975 noconfigdirs
="$noconfigdirs gprof"
3978 noconfigdirs
="$noconfigdirs gdb"
3981 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3984 noconfigdirs
="$noconfigdirs gdb"
3991 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3995 if test x
${is_cross_compiler} = xno
; then
4000 noconfigdirs
="$noconfigdirs sim"
4002 tilepro
*-*-* | tilegx
*-*-*)
4003 noconfigdirs
="$noconfigdirs sim"
4006 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4009 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4013 # If we aren't building newlib, then don't build libgloss, since libgloss
4014 # depends upon some newlib header files.
4015 case "${noconfigdirs}" in
4016 *target-libgloss
*) ;;
4017 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4020 # Work in distributions that contain no compiler tools, like Autoconf.
4021 host_makefile_frag
=/dev
/null
4022 if test -d ${srcdir}/config
; then
4024 i
[3456789]86-*-msdosdjgpp*)
4025 host_makefile_frag
="config/mh-djgpp"
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4030 $as_echo_n "checking to see if cat works as expected... " >&6; }
4031 echo a
>cygwin-cat-check
4032 if test `cat cygwin-cat-check` = a
; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4035 $as_echo "yes" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4040 as_fn_error $?
"The cat command does not ignore carriage return characters.
4041 Please either mount the build directory in binary mode or run the following
4042 commands before running any configure script:
4048 host_makefile_frag
="config/mh-cygwin"
4051 host_makefile_frag
="config/mh-mingw"
4054 host_makefile_frag
="config/mh-alpha-linux"
4057 host_makefile_frag
="config/mh-pa-hpux10"
4060 host_makefile_frag
="config/mh-pa"
4063 host_makefile_frag
="config/mh-pa"
4066 host_makefile_frag
="config/mh-darwin"
4069 host_makefile_frag
="config/mh-ppc-aix"
4072 host_makefile_frag
="config/mh-ppc-aix"
4077 if test "${build}" != "${host}" ; then
4078 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4079 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4080 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4081 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4082 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
4083 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4084 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4085 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4086 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4087 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4088 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4089 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4090 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4092 AR_FOR_BUILD
="\$(AR)"
4093 AS_FOR_BUILD
="\$(AS)"
4094 CC_FOR_BUILD
="\$(CC)"
4095 CXX_FOR_BUILD
="\$(CXX)"
4096 GCJ_FOR_BUILD
="\$(GCJ)"
4097 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4098 GOC_FOR_BUILD
="\$(GOC)"
4099 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4100 LD_FOR_BUILD
="\$(LD)"
4101 NM_FOR_BUILD
="\$(NM)"
4102 RANLIB_FOR_BUILD
="\$(RANLIB)"
4103 WINDRES_FOR_BUILD
="\$(WINDRES)"
4104 WINDMC_FOR_BUILD
="\$(WINDMC)"
4108 ac_cpp
='$CPP $CPPFLAGS'
4109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4112 if test -n "$ac_tool_prefix"; then
4113 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4114 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_prog_CC+:} false
; then :
4118 $as_echo_n "(cached) " >&6
4120 if test -n "$CC"; then
4121 ac_cv_prog_CC
="$CC" # Let the user override the test.
4123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir
=.
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4130 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 if test -n "$CC"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4143 $as_echo "$CC" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4151 if test -z "$ac_cv_prog_CC"; then
4153 # Extract the first word of "gcc", so it can be a program name with args.
4154 set dummy gcc
; ac_word
=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4158 $as_echo_n "(cached) " >&6
4160 if test -n "$ac_ct_CC"; then
4161 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4167 test -z "$as_dir" && as_dir
=.
4168 for ac_exec_ext
in '' $ac_executable_extensions; do
4169 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4170 ac_cv_prog_ac_ct_CC
="gcc"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4181 if test -n "$ac_ct_CC"; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4183 $as_echo "$ac_ct_CC" >&6; }
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186 $as_echo "no" >&6; }
4189 if test "x$ac_ct_CC" = x
; then
4192 case $cross_compiling:$ac_tool_warned in
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4196 ac_tool_warned
=yes ;;
4204 if test -z "$CC"; then
4205 if test -n "$ac_tool_prefix"; then
4206 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4207 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if ${ac_cv_prog_CC+:} false
; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$CC"; then
4214 ac_cv_prog_CC
="$CC" # Let the user override the test.
4216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir
=.
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4223 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test -n "$CC"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4236 $as_echo "$CC" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4245 if test -z "$CC"; then
4246 # Extract the first word of "cc", so it can be a program name with args.
4247 set dummy cc
; ac_word
=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_CC+:} false
; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$CC"; then
4254 ac_cv_prog_CC
="$CC" # Let the user override the test.
4257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4261 test -z "$as_dir" && as_dir
=.
4262 for ac_exec_ext
in '' $ac_executable_extensions; do
4263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4264 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4265 ac_prog_rejected
=yes
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 if test $ac_prog_rejected = yes; then
4277 # We found a bogon in the path, so make sure we never use it.
4278 set dummy
$ac_cv_prog_CC
4280 if test $# != 0; then
4281 # We chose a different compiler from the bogus one.
4282 # However, it has the same basename, so the bogon will be chosen
4283 # first if we set CC to just the basename; use the full file name.
4285 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4291 if test -n "$CC"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4293 $as_echo "$CC" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4301 if test -z "$CC"; then
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog
in cl.exe
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CC+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$CC"; then
4313 ac_cv_prog_CC
="$CC" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test -n "$CC"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4335 $as_echo "$CC" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$CC" && break
4345 if test -z "$CC"; then
4347 for ac_prog
in cl.exe
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy
$ac_prog; ac_word
=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_CC"; then
4357 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4366 ac_cv_prog_ac_ct_CC
="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4377 if test -n "$ac_ct_CC"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4379 $as_echo "$ac_ct_CC" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_CC" && break
4389 if test "x$ac_ct_CC" = x
; then
4392 case $cross_compiling:$ac_tool_warned in
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned
=yes ;;
4405 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4407 as_fn_error $?
"no acceptable C compiler found in \$PATH
4408 See \`config.log' for more details" "$LINENO" 5; }
4410 # Provide some information about the compiler.
4411 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4414 for ac_option
in --version -v -V -qversion; do
4415 { { ac_try
="$ac_compiler $ac_option >&5"
4417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4421 $as_echo "$ac_try_echo"; } >&5
4422 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4424 if test -s conftest.err; then
4426 ... rest of stderr output deleted ...
4427 10q' conftest.err >conftest.er1
4428 cat conftest.er1 >&5
4430 rm -f conftest.er1 conftest.err
4431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4432 test $ac_status = 0; }
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4446 ac_clean_files_save=$ac_clean_files
4447 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4448 # Try to create an executable without -o first, disregard a.out.
4449 # It will help us diagnose broken compilers, and finding out an intuition
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4452 $as_echo_n "checking whether the C compiler works... " >&6; }
4453 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4455 # The possible output files:
4456 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4459 for ac_file in $ac_files
4462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4463 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4468 if { { ac_try="$ac_link_default"
4470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4471 *) ac_try_echo
=$ac_try;;
4473 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_link_default") 2>&5
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; then :
4479 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4480 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4481 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4482 # so that the user can short-circuit this test for compilers unknown to
4484 for ac_file
in $ac_files ''
4486 test -f "$ac_file" ||
continue
4488 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4491 # We found the default executable, but exeext='' is most
4495 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4497 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4499 # We set ac_cv_exeext here because the later test for it is not
4500 # safe: cross compilers may not add the suffix if given an `-o'
4501 # argument, so we may need to know it at that point already.
4502 # Even if this section looks crufty: it has the advantage of
4509 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4514 if test -z "$ac_file"; then :
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4517 $as_echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.
$ac_ext >&5
4520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4522 as_fn_error
77 "C compiler cannot create executables
4523 See \`config.log' for more details" "$LINENO" 5; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4526 $as_echo "yes" >&6; }
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4529 $as_echo_n "checking for C compiler default output file name... " >&6; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4531 $as_echo "$ac_file" >&6; }
4532 ac_exeext
=$ac_cv_exeext
4534 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4535 ac_clean_files
=$ac_clean_files_save
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4537 $as_echo_n "checking for suffix of executables... " >&6; }
4538 if { { ac_try
="$ac_link"
4540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_link") 2>&5
4547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4548 test $ac_status = 0; }; then :
4549 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4550 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4551 # work properly (i.e., refer to `conftest.exe'), while it won't with
4553 for ac_file
in conftest.exe conftest conftest.
*; do
4554 test -f "$ac_file" ||
continue
4556 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4557 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4565 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4566 See \`config.log' for more details" "$LINENO" 5; }
4568 rm -f conftest conftest
$ac_cv_exeext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4570 $as_echo "$ac_cv_exeext" >&6; }
4572 rm -f conftest.
$ac_ext
4573 EXEEXT
=$ac_cv_exeext
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4581 FILE *f = fopen ("conftest.out", "w");
4582 return ferror (f) || fclose (f) != 0;
4588 ac_clean_files
="$ac_clean_files conftest.out"
4589 # Check that the compiler produces executables we can run. If not, either
4590 # the compiler is broken, or we cross compile.
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4592 $as_echo_n "checking whether we are cross compiling... " >&6; }
4593 if test "$cross_compiling" != yes; then
4594 { { ac_try
="$ac_link"
4596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600 $as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_link") 2>&5
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }
4605 if { ac_try='./conftest$ac_cv_exeext'
4606 { { case "(($ac_try" in
4607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4608 *) ac_try_echo
=$ac_try;;
4610 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4611 $as_echo "$ac_try_echo"; } >&5
4612 (eval "$ac_try") 2>&5
4614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4615 test $ac_status = 0; }; }; then
4618 if test "$cross_compiling" = maybe
; then
4621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4623 as_fn_error $?
"cannot run C compiled programs.
4624 If you meant to cross compile, use \`--host'.
4625 See \`config.log' for more details" "$LINENO" 5; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4630 $as_echo "$cross_compiling" >&6; }
4632 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4633 ac_clean_files
=$ac_clean_files_save
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4635 $as_echo_n "checking for suffix of object files... " >&6; }
4636 if ${ac_cv_objext+:} false
; then :
4637 $as_echo_n "(cached) " >&6
4639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4650 rm -f conftest.o conftest.obj
4651 if { { ac_try
="$ac_compile"
4653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4657 $as_echo "$ac_try_echo"; } >&5
4658 (eval "$ac_compile") 2>&5
4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661 test $ac_status = 0; }; then :
4662 for ac_file in conftest.o conftest.obj conftest.*; do
4663 test -f "$ac_file" || continue;
4665 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4666 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4671 $as_echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4676 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4677 See \
`config.log' for more details" "$LINENO" 5; }
4679 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4682 $as_echo "$ac_cv_objext" >&6; }
4683 OBJEXT=$ac_cv_objext
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4686 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4687 if ${ac_cv_c_compiler_gnu+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4704 if ac_fn_c_try_compile "$LINENO"; then :
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4714 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4715 if test $ac_compiler_gnu = yes; then
4720 ac_test_CFLAGS=${CFLAGS+set}
4721 ac_save_CFLAGS=$CFLAGS
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4723 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4724 if ${ac_cv_prog_cc_g+:} false; then :
4725 $as_echo_n "(cached) " >&6
4727 ac_save_c_werror_flag=$ac_c_werror_flag
4728 ac_c_werror_flag=yes
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4742 if ac_fn_c_try_compile "$LINENO"; then :
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4757 if ac_fn_c_try_compile "$LINENO"; then :
4760 ac_c_werror_flag=$ac_save_c_werror_flag
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4773 if ac_fn_c_try_compile "$LINENO"; then :
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781 ac_c_werror_flag=$ac_save_c_werror_flag
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4784 $as_echo "$ac_cv_prog_cc_g" >&6; }
4785 if test "$ac_test_CFLAGS" = set; then
4786 CFLAGS=$ac_save_CFLAGS
4787 elif test $ac_cv_prog_cc_g = yes; then
4788 if test "$GCC" = yes; then
4794 if test "$GCC" = yes; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4801 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4802 if ${ac_cv_prog_cc_c89+:} false; then :
4803 $as_echo_n "(cached) " >&6
4805 ac_cv_prog_cc_c89=no
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4812 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4813 struct buf { int x; };
4814 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4815 static char *e (p, i)
4821 static char *f (char * (*g) (char **, int), char **p, ...)
4826 s = g (p, va_arg (v,int));
4831 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4832 function prototypes and stuff, but not '\xHH' hex character constants.
4833 These don't provoke an error unfortunately, instead are silently treated
4834 as 'x'. The following induces an error, until -std is added to get
4835 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4836 array size at least. It's necessary to write '\x00'==0 to get something
4837 that's true only with -std. */
4838 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4840 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4841 inside strings and character constants. */
4843 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4845 int test (int i, double x);
4846 struct s1 {int (*f) (int a);};
4847 struct s2 {int (*f) (double a);};
4848 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4854 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4859 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4860 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4862 CC="$ac_save_CC $ac_arg"
4863 if ac_fn_c_try_compile "$LINENO"; then :
4864 ac_cv_prog_cc_c89=$ac_arg
4866 rm -f core conftest.err conftest.$ac_objext
4867 test "x$ac_cv_prog_cc_c89" != "xno" && break
4869 rm -f conftest.$ac_ext
4874 case "x$ac_cv_prog_cc_c89" in
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4877 $as_echo "none needed" >&6; } ;;
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4880 $as_echo "unsupported" >&6; } ;;
4882 CC="$CC $ac_cv_prog_cc_c89"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4884 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4886 if test "x$ac_cv_prog_cc_c89" != xno; then :
4891 ac_cpp='$CPP $CPPFLAGS'
4892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 ac_cpp='$CXXCPP $CPPFLAGS'
4898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4901 if test -z "$CXX"; then
4902 if test -n "$CCC"; then
4905 if test -n "$ac_tool_prefix"; then
4906 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if ${ac_cv_prog_CXX+:} false; then :
4913 $as_echo_n "(cached) " >&6
4915 if test -n "$CXX"; then
4916 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir=.
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4925 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 if test -n "$CXX"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4938 $as_echo "$CXX" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4945 test -n "$CXX" && break
4948 if test -z "$CXX"; then
4950 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4952 # Extract the first word of "$ac_prog", so it can be a program name with args.
4953 set dummy $ac_prog; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$ac_ct_CXX"; then
4960 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_CXX="$ac_prog"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4980 if test -n "$ac_ct_CXX"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4982 $as_echo "$ac_ct_CXX" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4989 test -n "$ac_ct_CXX" && break
4992 if test "x$ac_ct_CXX" = x; then
4995 case $cross_compiling:$ac_tool_warned in
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4999 ac_tool_warned=yes ;;
5007 # Provide some information about the compiler.
5008 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5011 for ac_option in --version -v -V -qversion; do
5012 { { ac_try="$ac_compiler $ac_option >&5"
5014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5015 *) ac_try_echo
=$ac_try;;
5017 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5018 $as_echo "$ac_try_echo"; } >&5
5019 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5021 if test -s conftest.err
; then
5023 ... rest of stderr output deleted ...
5024 10q' conftest.err
>conftest.er1
5025 cat conftest.er1
>&5
5027 rm -f conftest.er1 conftest.err
5028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5029 test $ac_status = 0; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5033 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5034 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5035 $as_echo_n "(cached) " >&6
5037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5051 if ac_fn_cxx_try_compile
"$LINENO"; then :
5056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5057 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5061 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5062 if test $ac_compiler_gnu = yes; then
5067 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5068 ac_save_CXXFLAGS
=$CXXFLAGS
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5070 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5071 if ${ac_cv_prog_cxx_g+:} false
; then :
5072 $as_echo_n "(cached) " >&6
5074 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5075 ac_cxx_werror_flag
=yes
5078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5089 if ac_fn_cxx_try_compile
"$LINENO"; then :
5090 ac_cv_prog_cxx_g
=yes
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5104 if ac_fn_cxx_try_compile
"$LINENO"; then :
5107 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5120 if ac_fn_cxx_try_compile
"$LINENO"; then :
5121 ac_cv_prog_cxx_g
=yes
5123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5128 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5131 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5132 if test "$ac_test_CXXFLAGS" = set; then
5133 CXXFLAGS
=$ac_save_CXXFLAGS
5134 elif test $ac_cv_prog_cxx_g = yes; then
5135 if test "$GXX" = yes; then
5141 if test "$GXX" = yes; then
5148 ac_cpp
='$CPP $CPPFLAGS'
5149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5154 # We must set the default linker to the linker used by gcc for the correct
5155 # operation of libtool. If LD is not defined and we are using gcc, try to
5156 # set the LD default to the ld used by gcc.
5157 if test -z "$LD"; then
5158 if test "$GCC" = yes; then
5161 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5163 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5165 case $gcc_prog_ld in
5166 # Accept absolute paths.
5167 [\\/]* |
[A-Za-z
]:[\\/]*)
5168 LD
="$gcc_prog_ld" ;;
5173 # Check whether -static-libstdc++ -static-libgcc is supported.
5175 if test "$GCC" = yes; then
5176 saved_LDFLAGS
="$LDFLAGS"
5178 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5180 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5182 ac_cpp
='$CXXCPP $CPPFLAGS'
5183 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5191 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5192 #error -static-libstdc++ not implemented
5196 if ac_fn_cxx_try_link
"$LINENO"; then :
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5198 $as_echo "yes" >&6; }; have_static_libs
=yes
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5203 rm -f core conftest.err conftest.
$ac_objext \
5204 conftest
$ac_exeext conftest.
$ac_ext
5206 ac_cpp
='$CPP $CPPFLAGS'
5207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5212 LDFLAGS
="$saved_LDFLAGS"
5218 if test -n "$ac_tool_prefix"; then
5219 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5220 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if ${ac_cv_prog_GNATBIND+:} false
; then :
5224 $as_echo_n "(cached) " >&6
5226 if test -n "$GNATBIND"; then
5227 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir
=.
5234 for ac_exec_ext
in '' $ac_executable_extensions; do
5235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5236 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 GNATBIND
=$ac_cv_prog_GNATBIND
5247 if test -n "$GNATBIND"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5249 $as_echo "$GNATBIND" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5257 if test -z "$ac_cv_prog_GNATBIND"; then
5258 ac_ct_GNATBIND
=$GNATBIND
5259 # Extract the first word of "gnatbind", so it can be a program name with args.
5260 set dummy gnatbind
; ac_word
=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5264 $as_echo_n "(cached) " >&6
5266 if test -n "$ac_ct_GNATBIND"; then
5267 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir
=.
5274 for ac_exec_ext
in '' $ac_executable_extensions; do
5275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5287 if test -n "$ac_ct_GNATBIND"; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5289 $as_echo "$ac_ct_GNATBIND" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5295 if test "x$ac_ct_GNATBIND" = x
; then
5298 case $cross_compiling:$ac_tool_warned in
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5302 ac_tool_warned
=yes ;;
5304 GNATBIND
=$ac_ct_GNATBIND
5307 GNATBIND
="$ac_cv_prog_GNATBIND"
5310 if test -n "$ac_tool_prefix"; then
5311 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5312 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 if test -n "$GNATMAKE"; then
5319 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5325 test -z "$as_dir" && as_dir
=.
5326 for ac_exec_ext
in '' $ac_executable_extensions; do
5327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 GNATMAKE
=$ac_cv_prog_GNATMAKE
5339 if test -n "$GNATMAKE"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5341 $as_echo "$GNATMAKE" >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5349 if test -z "$ac_cv_prog_GNATMAKE"; then
5350 ac_ct_GNATMAKE
=$GNATMAKE
5351 # Extract the first word of "gnatmake", so it can be a program name with args.
5352 set dummy gnatmake
; ac_word
=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5358 if test -n "$ac_ct_GNATMAKE"; then
5359 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5379 if test -n "$ac_ct_GNATMAKE"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5381 $as_echo "$ac_ct_GNATMAKE" >&6; }
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5387 if test "x$ac_ct_GNATMAKE" = x
; then
5390 case $cross_compiling:$ac_tool_warned in
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5394 ac_tool_warned
=yes ;;
5396 GNATMAKE
=$ac_ct_GNATMAKE
5399 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5403 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5404 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5407 cat >conftest.adb
<<EOF
5408 procedure conftest is begin null; end conftest;
5410 acx_cv_cc_gcc_supports_ada
=no
5411 # There is a bug in old released versions of GCC which causes the
5412 # driver to exit successfully when the appropriate language module
5413 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5414 # Therefore we must check for the error message as well as an
5415 # unsuccessful exit.
5416 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5417 # given a .adb file, but produce no object file. So we must check
5418 # if an object file was really produced to guard against this.
5419 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5420 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5421 acx_cv_cc_gcc_supports_ada
=yes
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5426 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5428 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5435 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5436 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5441 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5442 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5443 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5446 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5449 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5450 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5453 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5460 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5461 do_compare
="$gcc_cv_prog_cmp_skip"
5465 # Check whether --enable-bootstrap was given.
5466 if test "${enable_bootstrap+set}" = set; then :
5467 enableval
=$enable_bootstrap;
5469 enable_bootstrap
=default
5473 # Issue errors and warnings for invalid/strange bootstrap combinations.
5474 if test -r $srcdir/gcc
/configure
; then
5480 case "$have_compiler:$host:$target:$enable_bootstrap" in
5483 # Default behavior. Enable bootstrap if we have a compiler
5484 # and we are in a native configuration.
5485 yes:$build:$build:default
)
5486 enable_bootstrap
=yes ;;
5489 enable_bootstrap
=no
;;
5491 # We have a compiler and we are in a native configuration, bootstrap is ok
5492 yes:$build:$build:yes)
5495 # Other configurations, but we have a compiler. Assume the user knows
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5499 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5502 # No compiler: if they passed --enable-bootstrap explicitly, fail
5504 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5506 # Fail if wrong command line
5508 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5512 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5513 # C++98 compiler can still start the bootstrap.
5514 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5515 CXX
="$CXX -std=gnu++98"
5518 # Used for setting $lt_cv_objdir
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5520 $as_echo_n "checking for objdir... " >&6; }
5521 if ${lt_cv_objdir+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5524 rm -f .libs
2>/dev
/null
5525 mkdir .libs
2>/dev
/null
5526 if test -d .libs
; then
5529 # MS-DOS does not allow filenames that begin with a dot.
5532 rmdir .libs
2>/dev
/null
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5535 $as_echo "$lt_cv_objdir" >&6; }
5536 objdir
=$lt_cv_objdir
5542 cat >>confdefs.h
<<_ACEOF
5543 #define LT_OBJDIR "$lt_cv_objdir/"
5548 # Check for GMP, MPFR and MPC
5549 gmplibs
="-lmpc -lmpfr -lgmp"
5553 # Specify a location for mpc
5554 # check for this first so it ends up on the link line before mpfr.
5556 # Check whether --with-mpc was given.
5557 if test "${with_mpc+set}" = set; then :
5562 # Check whether --with-mpc-include was given.
5563 if test "${with_mpc_include+set}" = set; then :
5564 withval
=$with_mpc_include;
5568 # Check whether --with-mpc-lib was given.
5569 if test "${with_mpc_lib+set}" = set; then :
5570 withval
=$with_mpc_lib;
5574 if test "x$with_mpc" != x
; then
5575 gmplibs
="-L$with_mpc/lib $gmplibs"
5576 gmpinc
="-I$with_mpc/include $gmpinc"
5578 if test "x$with_mpc_include" != x
; then
5579 gmpinc
="-I$with_mpc_include $gmpinc"
5581 if test "x$with_mpc_lib" != x
; then
5582 gmplibs
="-L$with_mpc_lib $gmplibs"
5584 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5585 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5586 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5587 # Do not test the mpc version. Assume that it is sufficient, since
5588 # it is in the source tree, and the library has not been built yet
5589 # but it would be included on the link line in the version check below
5590 # hence making the test fail.
5594 # Specify a location for mpfr
5595 # check for this first so it ends up on the link line before gmp.
5597 # Check whether --with-mpfr-dir was given.
5598 if test "${with_mpfr_dir+set}" = set; then :
5599 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5600 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5605 # Check whether --with-mpfr was given.
5606 if test "${with_mpfr+set}" = set; then :
5611 # Check whether --with-mpfr-include was given.
5612 if test "${with_mpfr_include+set}" = set; then :
5613 withval
=$with_mpfr_include;
5617 # Check whether --with-mpfr-lib was given.
5618 if test "${with_mpfr_lib+set}" = set; then :
5619 withval
=$with_mpfr_lib;
5623 if test "x$with_mpfr" != x
; then
5624 gmplibs
="-L$with_mpfr/lib $gmplibs"
5625 gmpinc
="-I$with_mpfr/include $gmpinc"
5627 if test "x$with_mpfr_include" != x
; then
5628 gmpinc
="-I$with_mpfr_include $gmpinc"
5630 if test "x$with_mpfr_lib" != x
; then
5631 gmplibs
="-L$with_mpfr_lib $gmplibs"
5633 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5634 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5635 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5636 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5637 # Do not test the mpfr version. Assume that it is sufficient, since
5638 # it is in the source tree, and the library has not been built yet
5639 # but it would be included on the link line in the version check below
5640 # hence making the test fail.
5644 # Specify a location for gmp
5646 # Check whether --with-gmp-dir was given.
5647 if test "${with_gmp_dir+set}" = set; then :
5648 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5649 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5654 # Check whether --with-gmp was given.
5655 if test "${with_gmp+set}" = set; then :
5660 # Check whether --with-gmp-include was given.
5661 if test "${with_gmp_include+set}" = set; then :
5662 withval
=$with_gmp_include;
5666 # Check whether --with-gmp-lib was given.
5667 if test "${with_gmp_lib+set}" = set; then :
5668 withval
=$with_gmp_lib;
5673 if test "x$with_gmp" != x
; then
5674 gmplibs
="-L$with_gmp/lib $gmplibs"
5675 gmpinc
="-I$with_gmp/include $gmpinc"
5677 if test "x$with_gmp_include" != x
; then
5678 gmpinc
="-I$with_gmp_include $gmpinc"
5680 if test "x$with_gmp_lib" != x
; then
5681 gmplibs
="-L$with_gmp_lib $gmplibs"
5683 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5684 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5685 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5686 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5687 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5688 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5689 # Do not test the gmp version. Assume that it is sufficient, since
5690 # it is in the source tree, and the library has not been built yet
5691 # but it would be included on the link line in the version check below
5692 # hence making the test fail.
5696 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5698 saved_CFLAGS
="$CFLAGS"
5699 CFLAGS
="$CFLAGS $gmpinc"
5700 # Check for the recommended and required versions of GMP.
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5702 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5711 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5712 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5713 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5721 if ac_fn_c_try_compile
"$LINENO"; then :
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5729 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5730 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5731 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5739 if ac_fn_c_try_compile
"$LINENO"; then :
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 $as_echo "yes" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5744 $as_echo "buggy but acceptable" >&6; }
5746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }; have_gmp
=no
5751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5753 # If we have GMP, check the MPFR version.
5754 if test x
"$have_gmp" = xyes
; then
5755 # Check for the recommended and required versions of MPFR.
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5757 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5766 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5774 if ac_fn_c_try_compile
"$LINENO"; then :
5775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5776 /* end confdefs.h. */
5783 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5791 if ac_fn_c_try_compile
"$LINENO"; then :
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5793 $as_echo "yes" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5796 $as_echo "buggy but acceptable" >&6; }
5798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }; have_gmp
=no
5803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 # Check for the MPC header version.
5807 if test x
"$have_gmp" = xyes
; then
5808 # Check for the recommended and required versions of MPC.
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5810 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5818 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5826 if ac_fn_c_try_compile
"$LINENO"; then :
5827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5834 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5842 if ac_fn_c_try_compile
"$LINENO"; then :
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5844 $as_echo "yes" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5847 $as_echo "buggy but acceptable" >&6; }
5849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }; have_gmp
=no
5854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5857 # Now check the MPFR library.
5858 if test x
"$have_gmp" = xyes
; then
5860 LIBS
="$LIBS $gmplibs"
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5862 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5864 /* end confdefs.h. */
5876 mpfr_atan2 (n, n, x, GMP_RNDN);
5877 mpfr_erfc (n, x, GMP_RNDN);
5878 mpfr_subnormalize (x, t, GMP_RNDN);
5882 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5883 mpc_cosh (c, c, MPC_RNDNN);
5884 mpc_pow (c, c, c, MPC_RNDNN);
5885 mpc_acosh (c, c, MPC_RNDNN);
5892 if ac_fn_c_try_link
"$LINENO"; then :
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5894 $as_echo "yes" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }; have_gmp
=no
5899 rm -f core conftest.err conftest.
$ac_objext \
5900 conftest
$ac_exeext conftest.
$ac_ext
5904 CFLAGS
="$saved_CFLAGS"
5906 # The library versions listed in the error message below should match
5907 # the HARD-minimums enforced above.
5908 if test x
$have_gmp != xyes
; then
5909 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5910 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5911 their locations. Source code for these libraries can be found at
5912 their respective hosting sites as well as at
5913 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5914 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5915 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5916 make sure that you have installed both the libraries and the header
5917 files. They may be located in separate packages." "$LINENO" 5
5921 # Flags needed for both GMP, MPFR and/or MPC.
5929 # Libraries to use for stage1 or when not bootstrapping.
5931 # Check whether --with-stage1-libs was given.
5932 if test "${with_stage1_libs+set}" = set; then :
5933 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5936 stage1_libs
=$withval
5944 # Linker flags to use for stage1 or when not bootstrapping.
5946 # Check whether --with-stage1-ldflags was given.
5947 if test "${with_stage1_ldflags+set}" = set; then :
5948 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5951 stage1_ldflags
=$withval
5955 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5956 # if supported. But if the user explicitly specified the libraries to use,
5957 # trust that they are doing what they want.
5958 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5959 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5965 # Libraries to use for stage2 and later builds.
5967 # Check whether --with-boot-libs was given.
5968 if test "${with_boot_libs+set}" = set; then :
5969 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5972 poststage1_libs
=$withval
5980 # Linker flags to use for stage2 and later builds.
5982 # Check whether --with-boot-ldflags was given.
5983 if test "${with_boot_ldflags+set}" = set; then :
5984 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5987 poststage1_ldflags
=$withval
5991 # In stages 2 and 3, default to linking libstdc++ and libgcc
5992 # statically. But if the user explicitly specified the libraries to
5993 # use, trust that they are doing what they want.
5994 if test "$poststage1_libs" = ""; then
5995 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6001 # GCC GRAPHITE dependency isl.
6002 # Basic setup is inlined here, actual checks are in config/isl.m4
6005 # Check whether --with-isl was given.
6006 if test "${with_isl+set}" = set; then :
6011 # Treat --without-isl as a request to disable
6012 # GRAPHITE support and skip all following checks.
6013 if test "x$with_isl" != "xno"; then
6017 # Check whether --with-isl-include was given.
6018 if test "${with_isl_include+set}" = set; then :
6019 withval
=$with_isl_include;
6023 # Check whether --with-isl-lib was given.
6024 if test "${with_isl_lib+set}" = set; then :
6025 withval
=$with_isl_lib;
6029 # Check whether --enable-isl-version-check was given.
6030 if test "${enable_isl_version_check+set}" = set; then :
6031 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6033 ENABLE_ISL_CHECK
=yes
6037 # Initialize isllibs and islinc.
6046 isllibs
="-L$with_isl/lib"
6047 islinc
="-I$with_isl/include"
6050 if test "x${with_isl_include}" != x
; then
6051 islinc
="-I$with_isl_include"
6053 if test "x${with_isl_lib}" != x
; then
6054 isllibs
="-L$with_isl_lib"
6056 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6057 && test -d ${srcdir}/isl
; then
6058 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6059 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6062 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6065 isllibs
="${isllibs} -lisl"
6069 if test "${ENABLE_ISL_CHECK}" = yes ; then
6070 _isl_saved_CFLAGS
=$CFLAGS
6071 _isl_saved_LDFLAGS
=$LDFLAGS
6072 _isl_saved_LIBS
=$LIBS
6074 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6075 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6076 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
6079 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
6080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6082 #include <isl/ctx.h>
6086 isl_ctx_get_max_operations (isl_ctx_alloc ());
6091 if ac_fn_c_try_link
"$LINENO"; then :
6096 rm -f core conftest.err conftest.
$ac_objext \
6097 conftest
$ac_exeext conftest.
$ac_ext
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6099 $as_echo "$gcc_cv_isl" >&6; }
6101 if test "${gcc_cv_isl}" = no
; then
6102 { $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
6103 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
6107 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
6108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6110 #include <isl/schedule.h>
6114 isl_options_set_schedule_serialize_sccs (NULL, 0);
6119 if ac_fn_c_try_link
"$LINENO"; then :
6120 ac_has_isl_options_set_schedule_serialize_sccs
=yes
6122 ac_has_isl_options_set_schedule_serialize_sccs
=no
6124 rm -f core conftest.err conftest.
$ac_objext \
6125 conftest
$ac_exeext conftest.
$ac_ext
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
6127 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
6129 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
6134 CFLAGS
=$_isl_saved_CFLAGS
6135 LDFLAGS
=$_isl_saved_LDFLAGS
6136 LIBS
=$_isl_saved_LIBS
6144 if test "x${with_isl}" = xno
; then
6145 graphite_requested
=no
6146 elif test "x${with_isl}" != x \
6147 ||
test "x${with_isl_include}" != x \
6148 ||
test "x${with_isl_lib}" != x
; then
6149 graphite_requested
=yes
6151 graphite_requested
=no
6156 if test "${gcc_cv_isl}" = no
; then
6161 if test "${graphite_requested}" = yes \
6162 && test "x${isllibs}" = x \
6163 && test "x${islinc}" = x
; then
6165 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6171 # If the isl check failed, disable builds of in-tree variant of isl
6172 if test "x$with_isl" = xno ||
6173 test "x$gcc_cv_isl" = xno
; then
6174 noconfigdirs
="$noconfigdirs isl"
6181 # Check for LTO support.
6182 # Check whether --enable-lto was given.
6183 if test "${enable_lto+set}" = set; then :
6184 enableval
=$enable_lto; enable_lto
=$enableval
6186 enable_lto
=yes; default_enable_lto
=yes
6195 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6196 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6197 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
6206 if test $target_elf = yes; then :
6207 # ELF platforms build the lto-plugin always.
6208 build_lto_plugin
=yes
6211 if test x
"$default_enable_lto" = x
"yes" ; then
6213 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6214 # On other non-ELF platforms, LTO has yet to be validated.
6218 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6219 # It would also be nice to check the binutils support, but we don't
6220 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6221 # warn during gcc/ subconfigure; unless you're bootstrapping with
6222 # -flto it won't be needed until after installation anyway.
6224 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6225 *) if test x
"$enable_lto" = x
"yes"; then
6226 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6231 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6232 # Build it unless LTO was explicitly disabled.
6234 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6241 # Check whether --enable-linker-plugin-configure-flags was given.
6242 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6243 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6245 extra_linker_plugin_configure_flags
=
6249 # Check whether --enable-linker-plugin-flags was given.
6250 if test "${enable_linker_plugin_flags+set}" = set; then :
6251 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6253 extra_linker_plugin_flags
=
6259 # By default, C and C++ are the only stage 1 languages.
6260 stage1_languages
=,c
,
6262 # Target libraries that we bootstrap.
6263 bootstrap_target_libs
=,target-libgcc
,
6265 # Figure out what language subdirectories are present.
6266 # Look if the user specified --enable-languages="..."; if not, use
6267 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6269 # NB: embedded tabs in this IF block -- do not untabify
6270 if test -d ${srcdir}/gcc
; then
6271 if test x
"${enable_languages+set}" != xset
; then
6272 if test x
"${LANGUAGES+set}" = xset
; then
6273 enable_languages
="${LANGUAGES}"
6274 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6276 enable_languages
=all
6279 if test x
"${enable_languages}" = x ||
6280 test x
"${enable_languages}" = xyes
;
6282 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6286 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6288 # 'f95' is the old name for the 'fortran' language. We issue a warning
6289 # and make the substitution.
6290 case ,${enable_languages}, in
6292 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6293 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6297 # If bootstrapping, C++ must be enabled.
6298 case ",$enable_languages,:$enable_bootstrap" in
6301 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6302 enable_languages
="${enable_languages},c++"
6304 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6309 # First scan to see if an enabled language requires some other language.
6310 # We assume that a given config-lang.in will list all the language
6311 # front ends it requires, even if some are required indirectly.
6312 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6313 case ${lang_frag} in
6315 # The odd quoting in the next line works around
6316 # an apparent bug in bash 1.12 on linux.
6317 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6319 # From the config-lang.in, get $language, $lang_requires, and
6320 # $lang_requires_boot_languages.
6323 lang_requires_boot_languages
=
6325 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6326 case ,${enable_languages}, in
6330 echo " \`$other' language required by \`$language'; enabling" 1>&2
6331 enable_languages
="${enable_languages},${other}"
6335 for other
in ${lang_requires_boot_languages} ; do
6336 if test "$other" != "c"; then
6337 case ,${enable_stage1_languages}, in
6341 case ,${enable_languages}, in
6343 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6344 enable_stage1_languages
="$enable_stage1_languages,${other}"
6355 new_enable_languages
=,c
,
6357 # If LTO is enabled, add the LTO front end.
6358 if test "$enable_lto" = "yes" ; then
6359 case ,${enable_languages}, in
6361 *) enable_languages
="${enable_languages},lto" ;;
6363 if test "${build_lto_plugin}" = "yes" ; then
6364 configdirs
="$configdirs lto-plugin"
6368 # If we're building an offloading compiler, add the LTO front end.
6369 if test x
"$enable_as_accelerator_for" != x
; then
6370 case ,${enable_languages}, in
6372 *) enable_languages
="${enable_languages},lto" ;;
6376 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6377 potential_languages
=,c
,
6379 enabled_target_libs
=
6380 disabled_target_libs
=
6382 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6383 case ${lang_frag} in
6385 # The odd quoting in the next line works around
6386 # an apparent bug in bash 1.12 on linux.
6387 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6389 # From the config-lang.in, get $language, $target_libs,
6390 # $lang_dirs, $boot_language, and $build_by_default
6396 build_by_default
=yes
6398 if test x
${language} = x
; then
6399 echo "${lang_frag} doesn't set \$language." 1>&2
6403 if test "$language" = "c++"; then
6408 case ,${enable_languages}, in
6410 # Language was explicitly selected; include it
6411 # unless it is C, which is enabled by default.
6412 if test "$language" != "c"; then
6417 # 'all' was selected, select it if it is a default language
6418 if test "$language" != "c"; then
6419 add_this_lang
=${build_by_default}
6424 # Disable languages that need other directories if these aren't available.
6425 for i
in $subdir_requires; do
6426 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6427 case ,${enable_languages}, in
6429 # Specifically requested language; tell them.
6430 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6434 add_this_lang
=unsupported
6439 # Disable Ada if no preexisting GNAT is available.
6440 case ,${enable_languages},:${language}:${have_gnat} in
6441 *,${language},*:ada
:no
)
6442 # Specifically requested language; tell them.
6443 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6447 add_this_lang
=unsupported
6451 # Disable a language that is unsupported by the target.
6452 case " $unsupported_languages " in
6454 add_this_lang
=unsupported
6458 case $add_this_lang in
6460 # Remove language-dependent dirs.
6461 disabled_target_libs
="$disabled_target_libs $target_libs"
6462 noconfigdirs
="$noconfigdirs $lang_dirs"
6465 # Remove language-dependent dirs; still show language as supported.
6466 disabled_target_libs
="$disabled_target_libs $target_libs"
6467 noconfigdirs
="$noconfigdirs $lang_dirs"
6468 potential_languages
="${potential_languages}${language},"
6471 new_enable_languages
="${new_enable_languages}${language},"
6472 potential_languages
="${potential_languages}${language},"
6473 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6474 enabled_target_libs
="$enabled_target_libs $target_libs"
6475 case "${boot_language}:,$enable_stage1_languages," in
6476 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6477 # Add to (comma-separated) list of stage 1 languages.
6478 case ",$stage1_languages," in
6479 *,$language,* |
,yes, |
,all
,) ;;
6480 *) stage1_languages
="${stage1_languages}${language}," ;;
6482 # We need to bootstrap any supporting libraries.
6483 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6492 # Add target libraries which are only needed for disabled languages
6494 if test -n "$disabled_target_libs"; then
6495 for dir
in $disabled_target_libs; do
6496 case " $enabled_target_libs " in
6498 *) noconfigdirs
="$noconfigdirs $dir" ;;
6503 # Check whether --enable-stage1-languages was given.
6504 if test "${enable_stage1_languages+set}" = set; then :
6505 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6507 # Set it to something that will have no effect in the loop below
6508 enable_stage1_languages
=c
;;
6510 enable_stage1_languages
=`echo $new_enable_languages | \
6511 sed -e "s/^,//" -e "s/,$//" ` ;;
6513 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6514 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6517 # Add "good" languages from enable_stage1_languages to stage1_languages,
6518 # while "bad" languages go in missing_languages. Leave no duplicates.
6519 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6520 case $potential_languages in
6522 case $stage1_languages in
6524 *) stage1_languages
="$stage1_languages$i," ;;
6527 case $missing_languages in
6529 *) missing_languages
="$missing_languages$i," ;;
6536 # Remove leading/trailing commas that were added for simplicity
6537 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6538 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6539 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6540 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6542 if test "x$missing_languages" != x
; then
6544 The following requested languages could not be built: ${missing_languages}
6545 Supported languages are: ${potential_languages}" "$LINENO" 5
6547 if test "x$new_enable_languages" != "x$enable_languages"; then
6548 echo The following languages will be built
: ${new_enable_languages}
6549 enable_languages
="$new_enable_languages"
6553 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6556 # Handle --disable-<component> generically.
6557 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6558 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6559 varname
=`echo $dirname | sed -e s/+/_/g`
6560 if eval test x\
${enable_${varname}} "=" xno
; then
6561 noconfigdirs
="$noconfigdirs $dir"
6565 # Check for Boehm's garbage collector
6566 # Check whether --enable-objc-gc was given.
6567 if test "${enable_objc_gc+set}" = set; then :
6568 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6569 *,objc
,*:*:yes:*target-boehm-gc
*)
6570 as_fn_error $?
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6576 # Make sure we only build Boehm's garbage collector if required.
6577 case ,${enable_languages},:${enable_objc_gc} in
6579 # Keep target-boehm-gc if requested for Objective-C.
6582 # Otherwise remove target-boehm-gc depending on target-libjava.
6583 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6584 noconfigdirs
="$noconfigdirs target-boehm-gc"
6589 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6590 case ,${enable_languages}, in
6592 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6593 case "${noconfigdirs}" in
6594 *target-libstdc
++-v3*)
6595 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6601 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6605 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6606 # $build_configdirs and $target_configdirs.
6607 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6610 for dir
in .
$skipdirs $noconfigdirs ; do
6611 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6612 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6613 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6614 if test -r $srcdir/$dirname/configure
; then
6615 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6618 notsupp
="$notsupp $dir"
6622 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6623 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6624 if test -r $srcdir/$dirname/configure
; then
6625 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6628 notsupp
="$notsupp $dir"
6632 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6633 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6634 if test -r $srcdir/$dirname/configure
; then
6635 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6638 notsupp
="$notsupp $dir"
6644 # Quietly strip out all directories which aren't configurable in this tree.
6645 # This relies on all configurable subdirectories being autoconfiscated, which
6647 build_configdirs_all
="$build_configdirs"
6649 for i
in ${build_configdirs_all} ; do
6650 j
=`echo $i | sed -e s/build-//g`
6651 if test -f ${srcdir}/$j/configure
; then
6652 build_configdirs
="${build_configdirs} $i"
6656 configdirs_all
="$configdirs"
6658 for i
in ${configdirs_all} ; do
6659 if test -f ${srcdir}/$i/configure
; then
6660 configdirs
="${configdirs} $i"
6664 target_configdirs_all
="$target_configdirs"
6666 for i
in ${target_configdirs_all} ; do
6667 j
=`echo $i | sed -e s/target-//g`
6668 if test -f ${srcdir}/$j/configure
; then
6669 target_configdirs
="${target_configdirs} $i"
6673 # Exclude target-zlib if target-libjava isn't built.
6674 case ${target_configdirs} in
6678 target_configdirs
="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
6682 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6683 # so we have to add it after the preceding checks.
6684 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6686 case " $configdirs " in
6688 # If we can build libiberty, we can also build libiberty-linker-plugin.
6689 configdirs
="$configdirs libiberty-linker-plugin"
6690 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6691 --with-libiberty=../libiberty-linker-plugin";;
6693 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6697 # Sometimes we have special requirements for the host libiberty.
6698 extra_host_libiberty_configure_flags
=
6699 extra_host_zlib_configure_flags
=
6700 case " $configdirs " in
6701 *" lto-plugin "* |
*" libcc1 "*)
6702 # When these are to be built as shared libraries, the same applies to
6704 extra_host_libiberty_configure_flags
=--enable-shared
6707 # When bfd is to be built as a shared library, the same applies to
6709 if test "$enable_shared" = "yes"; then
6710 extra_host_zlib_configure_flags
=--enable-host-shared
6717 # Produce a warning message for the subdirs we can't configure.
6718 # This isn't especially interesting in the Cygnus tree, but in the individual
6719 # FSF releases, it's important to let people know when their machine isn't
6720 # supported by the one or two programs in a package.
6722 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6723 # If $appdirs is non-empty, at least one of those directories must still
6724 # be configured, or we error out. (E.g., if the gas release supports a
6725 # specified target in some subdirs but not the gas subdir, we shouldn't
6726 # pretend that all is well.)
6727 if test -n "$appdirs" ; then
6728 for dir
in $appdirs ; do
6729 if test -r $dir/Makefile.
in ; then
6730 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6734 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6740 if test -n "$appdirs" ; then
6741 echo "*** This configuration is not supported by this package." 1>&2
6745 # Okay, some application will build, or we don't care to check. Still
6746 # notify of subdirs not getting built.
6747 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6748 echo " ${notsupp}" 1>&2
6749 echo " (Any other directories should still work fine.)" 1>&2
6757 # To find our prefix, in gcc_cv_tool_prefix.
6759 # The user is always right.
6760 if test "${PATH_SEPARATOR+set}" != set; then
6761 echo "#! /bin/sh" >conf$$.sh
6762 echo "exit 0" >>conf$$.sh
6764 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6774 if test "x$exec_prefix" = xNONE
; then
6775 if test "x$prefix" = xNONE
; then
6776 gcc_cv_tool_prefix
=$ac_default_prefix
6778 gcc_cv_tool_prefix
=$prefix
6781 gcc_cv_tool_prefix
=$exec_prefix
6784 # If there is no compiler in the tree, use the PATH only. In any
6785 # case, if there is no compiler in the tree nobody should use
6786 # AS_FOR_TARGET and LD_FOR_TARGET.
6787 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6788 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6789 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6790 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6791 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6792 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6793 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6794 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6799 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6800 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6808 # Check whether --with-build-sysroot was given.
6809 if test "${with_build_sysroot+set}" = set; then :
6810 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6811 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6814 SYSROOT_CFLAGS_FOR_TARGET
=
6820 # Check whether --with-debug-prefix-map was given.
6821 if test "${with_debug_prefix_map+set}" = set; then :
6822 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6823 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6824 for debug_map
in $withval; do
6825 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6829 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6834 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6835 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6836 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6837 # We want to ensure that TARGET libraries (which we know are built with
6838 # gcc) are built with "-O2 -g", so include those options when setting
6839 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6840 if test "x$CFLAGS_FOR_TARGET" = x
; then
6841 if test "x${is_cross_compiler}" = xyes
; then
6842 CFLAGS_FOR_TARGET
="-g -O2"
6844 CFLAGS_FOR_TARGET
=$CFLAGS
6847 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6850 *" -g "* |
*" -g3 "*) ;;
6851 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6857 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6858 if test "x${is_cross_compiler}" = xyes
; then
6859 CXXFLAGS_FOR_TARGET
="-g -O2"
6861 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6862 case " $CXXFLAGS " in
6864 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6866 case " $CXXFLAGS " in
6867 *" -g "* |
*" -g3 "*) ;;
6868 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6876 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6877 # the named directory are copied to $(tooldir)/sys-include.
6878 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6879 if test x
${is_cross_compiler} = xno
; then
6880 echo 1>&2 '***' --with-headers is only supported when cross compiling
6883 if test x
"${with_headers}" != xyes
; then
6884 x
=${gcc_cv_tool_prefix}
6885 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6889 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6890 # the name directories are copied to $(tooldir)/lib. Multiple directories
6892 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6893 if test x
${is_cross_compiler} = xno
; then
6894 echo 1>&2 '***' --with-libs is only supported when cross compiling
6897 if test x
"${with_libs}" != xyes
; then
6898 # Copy the libraries in reverse order, so that files in the first named
6899 # library override files in subsequent libraries.
6900 x
=${gcc_cv_tool_prefix}
6901 for l
in ${with_libs}; do
6902 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6907 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6909 # This is done by determining whether or not the appropriate directory
6910 # is available, and by checking whether or not specific configurations
6911 # have requested that this magic not happen.
6913 # The command line options always override the explicit settings in
6914 # configure.ac, and the settings in configure.ac override this magic.
6916 # If the default for a toolchain is to use GNU as and ld, and you don't
6917 # want to do that, then you should use the --without-gnu-as and
6918 # --without-gnu-ld options for the configure script. Similarly, if
6919 # the default is to use the included zlib and you don't want to do that,
6920 # you should use the --with-system-zlib option for the configure script.
6922 if test x
${use_gnu_as} = x
&&
6923 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6925 extra_host_args
="$extra_host_args --with-gnu-as"
6928 if test x
${use_gnu_ld} = x
&&
6929 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6931 extra_host_args
="$extra_host_args --with-gnu-ld"
6934 if test x
${use_included_zlib} = x
&&
6935 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6938 with_system_zlib
=yes
6939 extra_host_args
="$extra_host_args --with-system-zlib"
6942 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6943 # can detect this case.
6945 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6947 extra_host_args
="$extra_host_args --with-newlib"
6950 # Handle ${copy_dirs}
6951 set fnord
${copy_dirs}
6953 while test $# != 0 ; do
6954 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6957 echo Copying
$1 to
$2
6959 # Use the install script to create the directory and all required
6960 # parent directories.
6961 if test -d $2 ; then
6965 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6968 # Copy the directory, assuming we have tar.
6969 # FIXME: Should we use B in the second tar? Not all systems support it.
6970 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6972 # It is the responsibility of the user to correctly adjust all
6973 # symlinks. If somebody can figure out how to handle them correctly
6974 # here, feel free to add the code.
6981 # Determine a target-dependent exec_prefix that the installed
6982 # gcc will search in. Keep this list sorted by triplet, with
6983 # the *-*-osname triplets last.
6986 i
[34567]86-pc-msdosdjgpp*)
6987 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6992 md_exec_prefix
=/usr
/ccs
/bin
6996 extra_arflags_for_target
=
6997 extra_nmflags_for_target
=
6998 extra_ranlibflags_for_target
=
6999 target_makefile_frag
=/dev
/null
7002 target_makefile_frag
="config/mt-spu"
7004 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7005 target_makefile_frag
="config/mt-sde"
7007 mipsisa
*-*-elfoabi*)
7008 target_makefile_frag
="config/mt-mips-elfoabi"
7010 mips
*-*-*linux
* | mips
*-*-gnu*)
7011 target_makefile_frag
="config/mt-mips-gnu"
7014 target_makefile_frag
="config/mt-nios2-elf"
7016 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7017 target_makefile_frag
="config/mt-gnu"
7019 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7020 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7021 # commands to handle both 32-bit and 64-bit objects. These flags are
7022 # harmless if we're using GNU nm or ar.
7023 extra_arflags_for_target
=" -X32_64"
7024 extra_nmflags_for_target
=" -B -X32_64"
7028 alphaieee_frag
=/dev
/null
7031 # This just makes sure to use the -mieee option to build target libs.
7032 # This should probably be set individually by each library.
7033 alphaieee_frag
="config/mt-alphaieee"
7037 # If --enable-target-optspace always use -Os instead of -O2 to build
7038 # the target libraries, similarly if it is not specified, use -Os
7039 # on selected platforms.
7040 ospace_frag
=/dev
/null
7041 case "${enable_target_optspace}:${target}" in
7043 ospace_frag
="config/mt-ospace"
7046 ospace_frag
="config/mt-d30v"
7048 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7049 ospace_frag
="config/mt-ospace"
7054 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7058 # Some systems (e.g., one of the i386-aix systems the gas testers are
7059 # using) don't handle "\$" correctly, so don't use it here.
7060 tooldir
='${exec_prefix}'/${target_noncanonical}
7061 build_tooldir
=${tooldir}
7063 # Create a .gdbinit file which runs the one in srcdir
7064 # and tells GDB to look there for source files.
7066 if test -r ${srcdir}/.gdbinit
; then
7069 *) cat > .
/.gdbinit
<<EOF
7073 source ${srcdir}/.gdbinit
7079 # Make sure that the compiler is able to generate an executable. If it
7080 # can't, we are probably in trouble. We don't care whether we can run the
7081 # executable--we might be using a cross compiler--we only care whether it
7082 # can be created. At this point the main configure script has set CC.
7084 echo "int main () { return 0; }" > conftest.c
7085 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7086 if test $?
= 0 ; then
7087 if test -s conftest ||
test -s conftest.exe
; then
7093 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7094 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7101 # Decide which environment variable is used to find dynamic libraries.
7103 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7104 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7105 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7106 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7109 # On systems where the dynamic library environment variable is PATH,
7110 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7111 # built executables to PATH.
7112 if test "$RPATH_ENVVAR" = PATH
; then
7113 GCC_SHLIB_SUBDIR
=/shlib
7118 # Adjust the toplevel makefile according to whether bootstrap was selected.
7119 case $enable_bootstrap in
7121 bootstrap_suffix
=bootstrap
7122 BUILD_CONFIG
=bootstrap-debug
7125 bootstrap_suffix
=no-bootstrap
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7131 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7134 # Check whether --with-build-config was given.
7135 if test "${with_build_config+set}" = set; then :
7136 withval
=$with_build_config; case $with_build_config in
7137 yes) with_build_config
= ;;
7138 no
) with_build_config
= BUILD_CONFIG
= ;;
7143 if test "x${with_build_config}" != x
; then
7144 BUILD_CONFIG
=$with_build_config
7146 case $BUILD_CONFIG in
7148 if echo "int f (void) { return 0; }" > conftest.c
&&
7149 ${CC} -c conftest.c
&&
7150 mv conftest.o conftest.o.g0
&&
7151 ${CC} -c -g conftest.c
&&
7152 mv conftest.o conftest.o.g
&&
7153 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7158 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7163 $as_echo "$BUILD_CONFIG" >&6; }
7166 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7168 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7169 # Check whether --enable-vtable-verify was given.
7170 if test "${enable_vtable_verify+set}" = set; then :
7171 enableval
=$enable_vtable_verify; case "$enableval" in
7172 yes) enable_vtable_verify
=yes ;;
7173 no
) enable_vtable_verify
=no
;;
7174 *) enable_vtable_verify
=no
;;
7177 enable_vtable_verify
=no
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7181 $as_echo "$enable_vtable_verify" >&6; }
7183 # Record target_configdirs and the configure arguments for target and
7184 # build configuration in Makefile.
7185 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7186 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7187 bootstrap_fixincludes
=no
7189 # If we are building libgomp, bootstrap it.
7190 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7191 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7194 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7195 # or bootstrap-ubsan, bootstrap it.
7196 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7197 case "$BUILD_CONFIG" in
7198 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7199 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7200 bootstrap_fixincludes
=yes
7205 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7206 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7207 test "$enable_vtable_verify" != no
; then
7208 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7211 # If we are building libmpx, bootstrap it.
7212 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7213 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7216 # Determine whether gdb needs tk/tcl or not.
7217 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7218 # and in that case we want gdb to be built without tk. Ugh!
7219 # In fact I believe gdb is the *only* package directly dependent on tk,
7220 # so we should be able to put the 'maybe's in unconditionally and
7221 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7222 # 100% sure that that's safe though.
7224 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7225 case "$enable_gdbtk" in
7229 GDB_TK
="${gdb_tk}" ;;
7231 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7232 # distro. Eventually someone will fix this and move Insight, nee
7233 # gdbtk to a separate directory.
7234 if test -d ${srcdir}/gdb
/gdbtk
; then
7241 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7242 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7244 # Strip out unwanted targets.
7246 # While at that, we remove Makefiles if we were started for recursive
7247 # configuration, so that the top-level Makefile reconfigures them,
7248 # like we used to do when configure itself was recursive.
7250 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7251 # but now we're fixing up the Makefile ourselves with the additional
7252 # commands passed to AC_CONFIG_FILES. Use separate variables
7253 # extrasub-{build,host,target} not because there is any reason to split
7254 # the substitutions up that way, but only to remain below the limit of
7255 # 99 commands in a script, for HP-UX sed.
7257 # Do not nest @if/@endif or @unless/@endunless pairs, because
7258 # configure will not warn you at all.
7260 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7261 yes:yes:*\ gold\
*:*,c
++,*) ;;
7262 yes:yes:*\ gold\
*:*)
7263 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7268 for module
in ${build_configdirs} ; do
7269 if test -z "${no_recursion}" \
7270 && test -f ${build_subdir}/${module}/Makefile
; then
7271 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7272 rm -f ${build_subdir}/${module}/Makefile
7274 extrasub_build
="$extrasub_build
7275 /^@if build-$module\$/d
7276 /^@endif build-$module\$/d
7277 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7278 /^@if build-$module-$bootstrap_suffix\$/d
7279 /^@endif build-$module-$bootstrap_suffix\$/d
7280 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7283 for module
in ${configdirs} ; do
7284 if test -z "${no_recursion}"; then
7285 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7286 if test -f ${file}; then
7287 echo 1>&2 "*** removing ${file} to force reconfigure"
7292 case ${module},${bootstrap_fixincludes} in
7293 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7294 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7296 extrasub_host
="$extrasub_host
7298 /^@endif $module\$/d
7299 /^@unless $module\$/,/^@endunless $module\$/d
7300 /^@if $module-$host_bootstrap_suffix\$/d
7301 /^@endif $module-$host_bootstrap_suffix\$/d
7302 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7305 for module
in ${target_configdirs} ; do
7306 if test -z "${no_recursion}" \
7307 && test -f ${target_subdir}/${module}/Makefile
; then
7308 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7309 rm -f ${target_subdir}/${module}/Makefile
7312 # We only bootstrap target libraries listed in bootstrap_target_libs.
7313 case $bootstrap_target_libs in
7314 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7315 *) target_bootstrap_suffix
=no-bootstrap
;;
7318 extrasub_target
="$extrasub_target
7319 /^@if target-$module\$/d
7320 /^@endif target-$module\$/d
7321 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7322 /^@if target-$module-$target_bootstrap_suffix\$/d
7323 /^@endif target-$module-$target_bootstrap_suffix\$/d
7324 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7327 # Do the final fixup along with target modules.
7328 extrasub_target
="$extrasub_target
7333 # Create the serialization dependencies. This uses a temporary file.
7335 # Check whether --enable-serial-configure was given.
7336 if test "${enable_serial_configure+set}" = set; then :
7337 enableval
=$enable_serial_configure;
7341 case ${enable_serial_configure} in
7343 enable_serial_build_configure
=yes
7344 enable_serial_host_configure
=yes
7345 enable_serial_target_configure
=yes
7349 # These force 'configure's to be done one at a time, to avoid problems
7350 # with contention over a shared config.cache.
7352 echo '# serdep.tmp' > serdep.tmp
7354 test "x${enable_serial_build_configure}" = xyes
&&
7355 for item
in ${build_configdirs} ; do
7358 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7363 test "x${enable_serial_host_configure}" = xyes
&&
7364 for item
in ${configdirs} ; do
7367 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7372 test "x${enable_serial_target_configure}" = xyes
&&
7373 for item
in ${target_configdirs} ; do
7376 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7380 serialization_dependencies
=serdep.tmp
7383 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7384 # target, nonopt, and variable assignments. These are the ones we
7385 # might not want to pass down to subconfigures. The exception being
7386 # --cache-file=/dev/null, which is used to turn off the use of cache
7387 # files altogether, and which should be passed on to subconfigures.
7388 # Also strip program-prefix, program-suffix, and program-transform-name,
7389 # so that we can pass down a consistent program-transform-name.
7394 eval "set -- $ac_configure_args"
7397 if test X
"$skip_next" = X
"yes"; then
7401 if test X
"$keep_next" = X
"yes"; then
7404 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7406 baseargs
="$baseargs '$ac_arg'"
7407 tbaseargs
="$tbaseargs '$ac_arg'"
7412 # Handle separated arguments. Based on the logic generated by
7415 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7416 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7417 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7418 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7432 --with-* |
--without-*)
7433 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7437 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7440 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7449 mpc | mpfr | gmp | isl
)
7450 # If we're processing --with-$lib, --with-$lib-include or
7451 # --with-$lib-lib, for one of the libs above, and target is
7452 # different from host, don't pass the current argument to any
7453 # target library's configure.
7454 if test x
$is_cross_compiler = xyes
; then
7463 --cache-file=/dev
/null | \
7464 -cache-file=/dev
/null
)
7465 # Handled here to avoid the test to skip args below.
7466 baseargs
="$baseargs '$ac_arg'"
7467 tbaseargs
="$tbaseargs '$ac_arg'"
7468 # Assert: $separate_arg should always be no.
7469 keep_next
=$separate_arg
7485 -program-prefix* | \
7486 -program-suffix* | \
7487 -program-transform-name* )
7488 skip_next
=$separate_arg
7492 # An option. Add it.
7495 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7497 baseargs
="$baseargs '$ac_arg'"
7498 if test X
"$skip_targ" = Xno
; then
7499 tbaseargs
="$tbaseargs '$ac_arg'"
7501 keep_next
=$separate_arg
7504 # Either a variable assignment, or a nonopt (triplet). Don't
7505 # pass it down; let the Makefile handle this.
7510 # Remove the initial space we just introduced and, as these will be
7511 # expanded by make, quote '$'.
7512 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7514 # Add in --program-transform-name, after --program-prefix and
7515 # --program-suffix have been applied to it. Autoconf has already
7516 # doubled dollar signs and backslashes in program_transform_name; we want
7517 # the backslashes un-doubled, and then the entire thing wrapped in single
7518 # quotes, because this will be expanded first by make and then by the shell.
7519 # Also, because we want to override the logic in subdir configure scripts to
7520 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7521 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7522 ${program_transform_name}
7524 gcc_transform_name
=`cat conftestsed.out`
7525 rm -f conftestsed.out
7526 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7527 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7528 if test "$silent" = yes; then
7529 baseargs
="$baseargs --silent"
7530 tbaseargs
="$tbaseargs --silent"
7532 baseargs
="$baseargs --disable-option-checking"
7533 tbaseargs
="$tbaseargs --disable-option-checking"
7535 # Record and document user additions to sub configure arguments.
7540 # For the build-side libraries, we just need to pretend we're native,
7541 # and not use the same cache file. Multilibs are neither needed nor
7542 # desired. We can't even use the same cache file for all build-side
7543 # libraries, as they're compiled differently; some with C, some with
7544 # C++ or with different feature-enabling options.
7545 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7547 # For host modules, accept cache file option, or specification as blank.
7548 case "${cache_file}" in
7550 cache_file_option
="" ;;
7551 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7552 cache_file_option
="--cache-file=${cache_file}" ;;
7554 cache_file_option
="--cache-file=../${cache_file}" ;;
7557 # Host dirs don't like to share a cache file either, horribly enough.
7558 # This seems to be due to autoconf 2.5x stupidity.
7559 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7561 target_configargs
="$target_configargs ${tbaseargs}"
7563 # Passing a --with-cross-host argument lets the target libraries know
7564 # whether they are being built with a cross-compiler or being built
7565 # native. However, it would be better to use other mechanisms to make the
7566 # sorts of decisions they want to make on this basis. Please consider
7567 # this option to be deprecated. FIXME.
7568 if test x
${is_cross_compiler} = xyes
; then
7569 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7572 # Special user-friendly check for native x86_64-linux build, if
7573 # multilib is not explicitly enabled.
7574 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7575 x86_64-
*linux
*:yes:$build:$build:)
7576 # Make sure we have a development environment that handles 32-bit
7578 echo "int main () { return 0; }" > conftest.c
7579 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7580 if test $?
= 0 ; then
7581 if test -s conftest ||
test -s conftest.exe
; then
7586 if test x
${dev64} != xyes
; then
7587 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
7592 # Default to --enable-multilib.
7593 if test x
${enable_multilib} = x
; then
7594 target_configargs
="--enable-multilib ${target_configargs}"
7597 # Pass --with-newlib if appropriate. Note that target_configdirs has
7598 # changed from the earlier setting of with_newlib.
7599 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7600 target_configargs
="--with-newlib ${target_configargs}"
7603 # Different target subdirs use different values of certain variables
7604 # (notably CXX). Worse, multilibs use *lots* of different values.
7605 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7606 # it doesn't automatically accept command-line overrides of them.
7607 # This means it's not safe for target subdirs to share a cache file,
7608 # which is disgusting, but there you have it. Hopefully this can be
7609 # fixed in future. It's still worthwhile to use a cache file for each
7610 # directory. I think.
7612 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7613 # We need to pass --target, as newer autoconf's requires consistency
7614 # for target_alias and gcc doesn't manage it consistently.
7615 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7618 case " $target_configdirs " in
7620 case " $target_configargs " in
7621 *" --with-newlib "*)
7624 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7628 # If we're not building GCC, don't discard standard headers.
7629 if test -d ${srcdir}/gcc
; then
7630 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7632 if test "${build}" != "${host}"; then
7633 # On Canadian crosses, CC_FOR_TARGET will have already been set
7634 # by `configure', so we won't have an opportunity to add -Bgcc/
7635 # to it. This is right: we don't want to search that directory
7636 # for binaries, but we want the header files in there, so add
7638 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7640 # Someone might think of using the pre-installed headers on
7641 # Canadian crosses, in case the installed compiler is not fully
7642 # compatible with the compiler being built. In this case, it
7643 # would be better to flag an error than risking having
7644 # incompatible object files being constructed. We can't
7645 # guarantee that an error will be flagged, but let's hope the
7646 # compiler will do it, when presented with incompatible header
7651 case "${target}-${is_cross_compiler}" in
7652 i
[3456789]86-*-linux*-no)
7653 # Here host == target, so we don't need to build gcc,
7654 # so we don't want to discard standard headers.
7655 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7658 # If we're building newlib, use its generic headers last, but search
7659 # for any libc-related directories first (so make it the last -B
7661 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7663 # If we're building libgloss, find the startup file, simulator library
7664 # and linker script.
7665 case " $target_configdirs " in
7667 # Look for startup file, simulator library and maybe linker script.
7668 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7669 # Look for libnosys.a in case the target needs it.
7670 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7671 # Most targets have the linker script in the source directory.
7672 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7683 x86_64-
*mingw
* |
*-w64-mingw*)
7684 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7685 # however, use a symlink named 'mingw' in ${prefix} .
7686 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7689 # MinGW can't be handled as Cygwin above since it does not use newlib.
7690 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'
7694 # Allow the user to override the flags for
7695 # our build compiler if desired.
7696 if test x
"${build}" = x
"${host}" ; then
7697 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7698 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7699 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7702 # On Canadian crosses, we'll be searching the right directories for
7703 # the previously-installed cross compiler, so don't bother to add
7704 # flags for directories within the install tree of the compiler
7705 # being built; programs in there won't even run.
7706 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7707 # Search for pre-installed headers if nothing else fits.
7708 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7711 if test "x
${use_gnu_ld}" = x &&
7712 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7713 # Arrange for us to find uninstalled linker scripts.
7714 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7717 # Search for other target-specific linker scripts and such.
7720 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7724 # Makefile fragments.
7725 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7727 eval fragval=\$$frag
7728 if test $fragval != /dev/null; then
7729 eval $frag=${srcdir}/$fragval
7737 # Miscellanea: directories, flags, etc.
7746 # Build module lists & subconfigure args.
7750 # Host module lists & subconfigure args.
7755 # Target module lists & subconfigure args.
7777 # Generate default definitions for YACC, M4, LEX and other programs that run
7778 # on the build machine. These are used if the Makefile can't locate these
7779 # programs in objdir.
7780 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7782 for ac_prog in 'bison -y' byacc yacc
7784 # Extract the first word of "$ac_prog", so it can be a program name with args.
7785 set dummy $ac_prog; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7787 $as_echo_n "checking
for $ac_word...
" >&6; }
7788 if ${ac_cv_prog_YACC+:} false; then :
7789 $as_echo_n "(cached
) " >&6
7791 if test -n "$YACC"; then
7792 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7801 ac_cv_prog_YACC="$ac_prog"
7802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7811 YACC=$ac_cv_prog_YACC
7812 if test -n "$YACC"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7814 $as_echo "$YACC" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7817 $as_echo "no
" >&6; }
7821 test -n "$YACC" && break
7823 test -n "$YACC" || YACC="$MISSING bison
-y"
7825 case " $build_configdirs " in
7826 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7829 for ac_prog in bison
7831 # Extract the first word of "$ac_prog", so it can be a program name with args.
7832 set dummy $ac_prog; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7834 $as_echo_n "checking
for $ac_word...
" >&6; }
7835 if ${ac_cv_prog_BISON+:} false; then :
7836 $as_echo_n "(cached
) " >&6
7838 if test -n "$BISON"; then
7839 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_BISON="$ac_prog"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7858 BISON=$ac_cv_prog_BISON
7859 if test -n "$BISON"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7861 $as_echo "$BISON" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7864 $as_echo "no
" >&6; }
7868 test -n "$BISON" && break
7870 test -n "$BISON" || BISON="$MISSING bison
"
7872 case " $build_configdirs " in
7873 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7876 for ac_prog in gm4 gnum4 m4
7878 # Extract the first word of "$ac_prog", so it can be a program name with args.
7879 set dummy $ac_prog; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7881 $as_echo_n "checking
for $ac_word...
" >&6; }
7882 if ${ac_cv_prog_M4+:} false; then :
7883 $as_echo_n "(cached
) " >&6
7885 if test -n "$M4"; then
7886 ac_cv_prog_M4="$M4" # Let the user override the test.
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_M4="$ac_prog"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7906 if test -n "$M4"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7908 $as_echo "$M4" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7911 $as_echo "no
" >&6; }
7915 test -n "$M4" && break
7917 test -n "$M4" || M4="$MISSING m4"
7919 case " $build_configdirs " in
7920 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7923 for ac_prog in flex lex
7925 # Extract the first word of "$ac_prog", so it can be a program name with args.
7926 set dummy $ac_prog; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7928 $as_echo_n "checking
for $ac_word...
" >&6; }
7929 if ${ac_cv_prog_LEX+:} false; then :
7930 $as_echo_n "(cached
) " >&6
7932 if test -n "$LEX"; then
7933 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_LEX="$ac_prog"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7953 if test -n "$LEX"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7955 $as_echo "$LEX" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7958 $as_echo "no
" >&6; }
7962 test -n "$LEX" && break
7964 test -n "$LEX" || LEX="$MISSING flex
"
7966 case " $build_configdirs " in
7967 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7968 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7973 # Extract the first word of "$ac_prog", so it can be a program name with args.
7974 set dummy $ac_prog; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if ${ac_cv_prog_FLEX+:} false; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$FLEX"; then
7981 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_FLEX="$ac_prog"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 FLEX=$ac_cv_prog_FLEX
8001 if test -n "$FLEX"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8003 $as_echo "$FLEX" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8010 test -n "$FLEX" && break
8012 test -n "$FLEX" || FLEX="$MISSING flex
"
8014 case " $build_configdirs " in
8015 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8018 for ac_prog in makeinfo
8020 # Extract the first word of "$ac_prog", so it can be a program name with args.
8021 set dummy $ac_prog; ac_word=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8023 $as_echo_n "checking
for $ac_word...
" >&6; }
8024 if ${ac_cv_prog_MAKEINFO+:} false; then :
8025 $as_echo_n "(cached
) " >&6
8027 if test -n "$MAKEINFO"; then
8028 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_MAKEINFO="$ac_prog"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8047 MAKEINFO=$ac_cv_prog_MAKEINFO
8048 if test -n "$MAKEINFO"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8050 $as_echo "$MAKEINFO" >&6; }
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8053 $as_echo "no
" >&6; }
8057 test -n "$MAKEINFO" && break
8059 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8061 case " $build_configdirs " in
8062 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8065 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8066 # higher, else we use the "missing
" dummy.
8067 if ${MAKEINFO} --version \
8068 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8071 MAKEINFO="$MISSING makeinfo
"
8077 # FIXME: expect and dejagnu may become build tools?
8079 for ac_prog in expect
8081 # Extract the first word of "$ac_prog", so it can be a program name with args.
8082 set dummy $ac_prog; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8084 $as_echo_n "checking
for $ac_word...
" >&6; }
8085 if ${ac_cv_prog_EXPECT+:} false; then :
8086 $as_echo_n "(cached
) " >&6
8088 if test -n "$EXPECT"; then
8089 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8098 ac_cv_prog_EXPECT="$ac_prog"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8108 EXPECT=$ac_cv_prog_EXPECT
8109 if test -n "$EXPECT"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8111 $as_echo "$EXPECT" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8114 $as_echo "no
" >&6; }
8118 test -n "$EXPECT" && break
8120 test -n "$EXPECT" || EXPECT="expect
"
8122 case " $configdirs " in
8124 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8128 for ac_prog in runtest
8130 # Extract the first word of "$ac_prog", so it can be a program name with args.
8131 set dummy $ac_prog; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8133 $as_echo_n "checking
for $ac_word...
" >&6; }
8134 if ${ac_cv_prog_RUNTEST+:} false; then :
8135 $as_echo_n "(cached
) " >&6
8137 if test -n "$RUNTEST"; then
8138 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_RUNTEST="$ac_prog"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 RUNTEST=$ac_cv_prog_RUNTEST
8158 if test -n "$RUNTEST"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8160 $as_echo "$RUNTEST" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8163 $as_echo "no
" >&6; }
8167 test -n "$RUNTEST" && break
8169 test -n "$RUNTEST" || RUNTEST="runtest
"
8171 case " $configdirs " in
8173 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8180 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8181 ncn_target_tool_prefix=
8182 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8186 if test -n "$AR"; then
8188 elif test -n "$ac_cv_prog_AR"; then
8192 if test -n "$ac_cv_prog_AR"; then
8193 for ncn_progname in ar; do
8194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8195 set dummy ${ncn_progname}; ac_word=$2
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8197 $as_echo_n "checking
for $ac_word...
" >&6; }
8198 if ${ac_cv_prog_AR+:} false; then :
8199 $as_echo_n "(cached
) " >&6
8201 if test -n "$AR"; then
8202 ac_cv_prog_AR="$AR" # Let the user override the test.
8204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208 test -z "$as_dir" && as_dir=.
8209 for ac_exec_ext in '' $ac_executable_extensions; do
8210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8211 ac_cv_prog_AR="${ncn_progname}"
8212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8222 if test -n "$AR"; then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8224 $as_echo "$AR" >&6; }
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8227 $as_echo "no
" >&6; }
8234 for ncn_progname in ar; do
8235 if test -n "$ncn_tool_prefix"; then
8236 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8237 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8239 $as_echo_n "checking
for $ac_word...
" >&6; }
8240 if ${ac_cv_prog_AR+:} false; then :
8241 $as_echo_n "(cached
) " >&6
8243 if test -n "$AR"; then
8244 ac_cv_prog_AR="$AR" # Let the user override the test.
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8264 if test -n "$AR"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8266 $as_echo "$AR" >&6; }
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8269 $as_echo "no
" >&6; }
8274 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8275 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8276 set dummy ${ncn_progname}; ac_word=$2
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8278 $as_echo_n "checking
for $ac_word...
" >&6; }
8279 if ${ac_cv_prog_AR+:} false; then :
8280 $as_echo_n "(cached
) " >&6
8282 if test -n "$AR"; then
8283 ac_cv_prog_AR="$AR" # Let the user override the test.
8285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8289 test -z "$as_dir" && as_dir=.
8290 for ac_exec_ext in '' $ac_executable_extensions; do
8291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8292 ac_cv_prog_AR="${ncn_progname}"
8293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8303 if test -n "$AR"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8305 $as_echo "$AR" >&6; }
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8308 $as_echo "no
" >&6; }
8313 test -n "$ac_cv_prog_AR" && break
8316 if test -z "$ac_cv_prog_AR" ; then
8318 if test $build = $host ; then
8321 AR="${ncn_tool_prefix}$2"
8327 if test -n "$AS"; then
8329 elif test -n "$ac_cv_prog_AS"; then
8333 if test -n "$ac_cv_prog_AS"; then
8334 for ncn_progname in as; do
8335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8336 set dummy ${ncn_progname}; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8338 $as_echo_n "checking
for $ac_word...
" >&6; }
8339 if ${ac_cv_prog_AS+:} false; then :
8340 $as_echo_n "(cached
) " >&6
8342 if test -n "$AS"; then
8343 ac_cv_prog_AS="$AS" # Let the user override the test.
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_AS="${ncn_progname}"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8363 if test -n "$AS"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8365 $as_echo "$AS" >&6; }
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8368 $as_echo "no
" >&6; }
8375 for ncn_progname in as; do
8376 if test -n "$ncn_tool_prefix"; then
8377 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8378 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8380 $as_echo_n "checking
for $ac_word...
" >&6; }
8381 if ${ac_cv_prog_AS+:} false; then :
8382 $as_echo_n "(cached
) " >&6
8384 if test -n "$AS"; then
8385 ac_cv_prog_AS="$AS" # Let the user override the test.
8387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8391 test -z "$as_dir" && as_dir=.
8392 for ac_exec_ext in '' $ac_executable_extensions; do
8393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8394 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8405 if test -n "$AS"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8407 $as_echo "$AS" >&6; }
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8410 $as_echo "no
" >&6; }
8415 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8417 set dummy ${ncn_progname}; ac_word=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8419 $as_echo_n "checking
for $ac_word...
" >&6; }
8420 if ${ac_cv_prog_AS+:} false; then :
8421 $as_echo_n "(cached
) " >&6
8423 if test -n "$AS"; then
8424 ac_cv_prog_AS="$AS" # Let the user override the test.
8426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir=.
8431 for ac_exec_ext in '' $ac_executable_extensions; do
8432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8433 ac_cv_prog_AS="${ncn_progname}"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8444 if test -n "$AS"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8446 $as_echo "$AS" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8449 $as_echo "no
" >&6; }
8454 test -n "$ac_cv_prog_AS" && break
8457 if test -z "$ac_cv_prog_AS" ; then
8459 if test $build = $host ; then
8462 AS="${ncn_tool_prefix}$2"
8468 if test -n "$DLLTOOL"; then
8469 ac_cv_prog_DLLTOOL=$DLLTOOL
8470 elif test -n "$ac_cv_prog_DLLTOOL"; then
8471 DLLTOOL=$ac_cv_prog_DLLTOOL
8474 if test -n "$ac_cv_prog_DLLTOOL"; then
8475 for ncn_progname in dlltool; do
8476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8477 set dummy ${ncn_progname}; ac_word=$2
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8479 $as_echo_n "checking
for $ac_word...
" >&6; }
8480 if ${ac_cv_prog_DLLTOOL+:} false; then :
8481 $as_echo_n "(cached
) " >&6
8483 if test -n "$DLLTOOL"; then
8484 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8490 test -z "$as_dir" && as_dir=.
8491 for ac_exec_ext in '' $ac_executable_extensions; do
8492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8493 ac_cv_prog_DLLTOOL="${ncn_progname}"
8494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8503 DLLTOOL=$ac_cv_prog_DLLTOOL
8504 if test -n "$DLLTOOL"; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8506 $as_echo "$DLLTOOL" >&6; }
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8509 $as_echo "no
" >&6; }
8516 for ncn_progname in dlltool; do
8517 if test -n "$ncn_tool_prefix"; then
8518 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8519 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8521 $as_echo_n "checking
for $ac_word...
" >&6; }
8522 if ${ac_cv_prog_DLLTOOL+:} false; then :
8523 $as_echo_n "(cached
) " >&6
8525 if test -n "$DLLTOOL"; then
8526 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8532 test -z "$as_dir" && as_dir=.
8533 for ac_exec_ext in '' $ac_executable_extensions; do
8534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8535 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8545 DLLTOOL=$ac_cv_prog_DLLTOOL
8546 if test -n "$DLLTOOL"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8548 $as_echo "$DLLTOOL" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8551 $as_echo "no
" >&6; }
8556 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8558 set dummy ${ncn_progname}; ac_word=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8560 $as_echo_n "checking
for $ac_word...
" >&6; }
8561 if ${ac_cv_prog_DLLTOOL+:} false; then :
8562 $as_echo_n "(cached
) " >&6
8564 if test -n "$DLLTOOL"; then
8565 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571 test -z "$as_dir" && as_dir=.
8572 for ac_exec_ext in '' $ac_executable_extensions; do
8573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8574 ac_cv_prog_DLLTOOL="${ncn_progname}"
8575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8584 DLLTOOL=$ac_cv_prog_DLLTOOL
8585 if test -n "$DLLTOOL"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8587 $as_echo "$DLLTOOL" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8590 $as_echo "no
" >&6; }
8595 test -n "$ac_cv_prog_DLLTOOL" && break
8598 if test -z "$ac_cv_prog_DLLTOOL" ; then
8600 if test $build = $host ; then
8603 DLLTOOL="${ncn_tool_prefix}$2"
8609 if test -n "$LD"; then
8611 elif test -n "$ac_cv_prog_LD"; then
8615 if test -n "$ac_cv_prog_LD"; then
8616 for ncn_progname in ld; do
8617 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8618 set dummy ${ncn_progname}; ac_word=$2
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8620 $as_echo_n "checking
for $ac_word...
" >&6; }
8621 if ${ac_cv_prog_LD+:} false; then :
8622 $as_echo_n "(cached
) " >&6
8624 if test -n "$LD"; then
8625 ac_cv_prog_LD="$LD" # Let the user override the test.
8627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8631 test -z "$as_dir" && as_dir=.
8632 for ac_exec_ext in '' $ac_executable_extensions; do
8633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8634 ac_cv_prog_LD="${ncn_progname}"
8635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8645 if test -n "$LD"; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8647 $as_echo "$LD" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8650 $as_echo "no
" >&6; }
8657 for ncn_progname in ld; do
8658 if test -n "$ncn_tool_prefix"; then
8659 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8660 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8662 $as_echo_n "checking
for $ac_word...
" >&6; }
8663 if ${ac_cv_prog_LD+:} false; then :
8664 $as_echo_n "(cached
) " >&6
8666 if test -n "$LD"; then
8667 ac_cv_prog_LD="$LD" # Let the user override the test.
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 test -z "$as_dir" && as_dir=.
8674 for ac_exec_ext in '' $ac_executable_extensions; do
8675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8676 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8687 if test -n "$LD"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8689 $as_echo "$LD" >&6; }
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8692 $as_echo "no
" >&6; }
8697 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8699 set dummy ${ncn_progname}; ac_word=$2
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8701 $as_echo_n "checking
for $ac_word...
" >&6; }
8702 if ${ac_cv_prog_LD+:} false; then :
8703 $as_echo_n "(cached
) " >&6
8705 if test -n "$LD"; then
8706 ac_cv_prog_LD="$LD" # Let the user override the test.
8708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712 test -z "$as_dir" && as_dir=.
8713 for ac_exec_ext in '' $ac_executable_extensions; do
8714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8715 ac_cv_prog_LD="${ncn_progname}"
8716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8726 if test -n "$LD"; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8728 $as_echo "$LD" >&6; }
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8731 $as_echo "no
" >&6; }
8736 test -n "$ac_cv_prog_LD" && break
8739 if test -z "$ac_cv_prog_LD" ; then
8741 if test $build = $host ; then
8744 LD="${ncn_tool_prefix}$2"
8750 if test -n "$LIPO"; then
8751 ac_cv_prog_LIPO=$LIPO
8752 elif test -n "$ac_cv_prog_LIPO"; then
8753 LIPO=$ac_cv_prog_LIPO
8756 if test -n "$ac_cv_prog_LIPO"; then
8757 for ncn_progname in lipo; do
8758 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8759 set dummy ${ncn_progname}; ac_word=$2
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8761 $as_echo_n "checking
for $ac_word...
" >&6; }
8762 if ${ac_cv_prog_LIPO+:} false; then :
8763 $as_echo_n "(cached
) " >&6
8765 if test -n "$LIPO"; then
8766 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772 test -z "$as_dir" && as_dir=.
8773 for ac_exec_ext in '' $ac_executable_extensions; do
8774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8775 ac_cv_prog_LIPO="${ncn_progname}"
8776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8785 LIPO=$ac_cv_prog_LIPO
8786 if test -n "$LIPO"; then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8788 $as_echo "$LIPO" >&6; }
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8791 $as_echo "no
" >&6; }
8798 for ncn_progname in lipo; do
8799 if test -n "$ncn_tool_prefix"; then
8800 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8801 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8803 $as_echo_n "checking
for $ac_word...
" >&6; }
8804 if ${ac_cv_prog_LIPO+:} false; then :
8805 $as_echo_n "(cached
) " >&6
8807 if test -n "$LIPO"; then
8808 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8814 test -z "$as_dir" && as_dir=.
8815 for ac_exec_ext in '' $ac_executable_extensions; do
8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8817 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8827 LIPO=$ac_cv_prog_LIPO
8828 if test -n "$LIPO"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8830 $as_echo "$LIPO" >&6; }
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8833 $as_echo "no
" >&6; }
8838 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8840 set dummy ${ncn_progname}; ac_word=$2
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8842 $as_echo_n "checking
for $ac_word...
" >&6; }
8843 if ${ac_cv_prog_LIPO+:} false; then :
8844 $as_echo_n "(cached
) " >&6
8846 if test -n "$LIPO"; then
8847 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8856 ac_cv_prog_LIPO="${ncn_progname}"
8857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8866 LIPO=$ac_cv_prog_LIPO
8867 if test -n "$LIPO"; then
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8869 $as_echo "$LIPO" >&6; }
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8872 $as_echo "no
" >&6; }
8877 test -n "$ac_cv_prog_LIPO" && break
8880 if test -z "$ac_cv_prog_LIPO" ; then
8882 if test $build = $host ; then
8885 LIPO="${ncn_tool_prefix}$2"
8891 if test -n "$NM"; then
8893 elif test -n "$ac_cv_prog_NM"; then
8897 if test -n "$ac_cv_prog_NM"; then
8898 for ncn_progname in nm; do
8899 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8900 set dummy ${ncn_progname}; ac_word=$2
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8902 $as_echo_n "checking
for $ac_word...
" >&6; }
8903 if ${ac_cv_prog_NM+:} false; then :
8904 $as_echo_n "(cached
) " >&6
8906 if test -n "$NM"; then
8907 ac_cv_prog_NM="$NM" # Let the user override the test.
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8916 ac_cv_prog_NM="${ncn_progname}"
8917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8927 if test -n "$NM"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8929 $as_echo "$NM" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8932 $as_echo "no
" >&6; }
8939 for ncn_progname in nm; do
8940 if test -n "$ncn_tool_prefix"; then
8941 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8942 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8944 $as_echo_n "checking
for $ac_word...
" >&6; }
8945 if ${ac_cv_prog_NM+:} false; then :
8946 $as_echo_n "(cached
) " >&6
8948 if test -n "$NM"; then
8949 ac_cv_prog_NM="$NM" # Let the user override the test.
8951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8955 test -z "$as_dir" && as_dir=.
8956 for ac_exec_ext in '' $ac_executable_extensions; do
8957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8958 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8969 if test -n "$NM"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8971 $as_echo "$NM" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8974 $as_echo "no
" >&6; }
8979 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8981 set dummy ${ncn_progname}; ac_word=$2
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8983 $as_echo_n "checking
for $ac_word...
" >&6; }
8984 if ${ac_cv_prog_NM+:} false; then :
8985 $as_echo_n "(cached
) " >&6
8987 if test -n "$NM"; then
8988 ac_cv_prog_NM="$NM" # Let the user override the test.
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8997 ac_cv_prog_NM="${ncn_progname}"
8998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9008 if test -n "$NM"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9010 $as_echo "$NM" >&6; }
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9013 $as_echo "no
" >&6; }
9018 test -n "$ac_cv_prog_NM" && break
9021 if test -z "$ac_cv_prog_NM" ; then
9023 if test $build = $host ; then
9026 NM="${ncn_tool_prefix}$2"
9032 if test -n "$RANLIB"; then
9033 ac_cv_prog_RANLIB=$RANLIB
9034 elif test -n "$ac_cv_prog_RANLIB"; then
9035 RANLIB=$ac_cv_prog_RANLIB
9038 if test -n "$ac_cv_prog_RANLIB"; then
9039 for ncn_progname in ranlib; do
9040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9041 set dummy ${ncn_progname}; ac_word=$2
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9043 $as_echo_n "checking
for $ac_word...
" >&6; }
9044 if ${ac_cv_prog_RANLIB+:} false; then :
9045 $as_echo_n "(cached
) " >&6
9047 if test -n "$RANLIB"; then
9048 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054 test -z "$as_dir" && as_dir=.
9055 for ac_exec_ext in '' $ac_executable_extensions; do
9056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9057 ac_cv_prog_RANLIB="${ncn_progname}"
9058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9067 RANLIB=$ac_cv_prog_RANLIB
9068 if test -n "$RANLIB"; then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9070 $as_echo "$RANLIB" >&6; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9073 $as_echo "no
" >&6; }
9080 for ncn_progname in ranlib; do
9081 if test -n "$ncn_tool_prefix"; then
9082 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9083 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9085 $as_echo_n "checking
for $ac_word...
" >&6; }
9086 if ${ac_cv_prog_RANLIB+:} false; then :
9087 $as_echo_n "(cached
) " >&6
9089 if test -n "$RANLIB"; then
9090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9096 test -z "$as_dir" && as_dir=.
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9099 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9109 RANLIB=$ac_cv_prog_RANLIB
9110 if test -n "$RANLIB"; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9112 $as_echo "$RANLIB" >&6; }
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9115 $as_echo "no
" >&6; }
9120 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9122 set dummy ${ncn_progname}; ac_word=$2
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9124 $as_echo_n "checking
for $ac_word...
" >&6; }
9125 if ${ac_cv_prog_RANLIB+:} false; then :
9126 $as_echo_n "(cached
) " >&6
9128 if test -n "$RANLIB"; then
9129 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9135 test -z "$as_dir" && as_dir=.
9136 for ac_exec_ext in '' $ac_executable_extensions; do
9137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9138 ac_cv_prog_RANLIB="${ncn_progname}"
9139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9148 RANLIB=$ac_cv_prog_RANLIB
9149 if test -n "$RANLIB"; then
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9151 $as_echo "$RANLIB" >&6; }
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9154 $as_echo "no
" >&6; }
9159 test -n "$ac_cv_prog_RANLIB" && break
9162 if test -z "$ac_cv_prog_RANLIB" ; then
9168 if test -n "$STRIP"; then
9169 ac_cv_prog_STRIP=$STRIP
9170 elif test -n "$ac_cv_prog_STRIP"; then
9171 STRIP=$ac_cv_prog_STRIP
9174 if test -n "$ac_cv_prog_STRIP"; then
9175 for ncn_progname in strip; do
9176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9177 set dummy ${ncn_progname}; ac_word=$2
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9179 $as_echo_n "checking
for $ac_word...
" >&6; }
9180 if ${ac_cv_prog_STRIP+:} false; then :
9181 $as_echo_n "(cached
) " >&6
9183 if test -n "$STRIP"; then
9184 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9190 test -z "$as_dir" && as_dir=.
9191 for ac_exec_ext in '' $ac_executable_extensions; do
9192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9193 ac_cv_prog_STRIP="${ncn_progname}"
9194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9203 STRIP=$ac_cv_prog_STRIP
9204 if test -n "$STRIP"; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9206 $as_echo "$STRIP" >&6; }
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9209 $as_echo "no
" >&6; }
9216 for ncn_progname in strip; do
9217 if test -n "$ncn_tool_prefix"; then
9218 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9219 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9221 $as_echo_n "checking
for $ac_word...
" >&6; }
9222 if ${ac_cv_prog_STRIP+:} false; then :
9223 $as_echo_n "(cached
) " >&6
9225 if test -n "$STRIP"; then
9226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 test -z "$as_dir" && as_dir=.
9233 for ac_exec_ext in '' $ac_executable_extensions; do
9234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9235 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9245 STRIP=$ac_cv_prog_STRIP
9246 if test -n "$STRIP"; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9248 $as_echo "$STRIP" >&6; }
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9251 $as_echo "no
" >&6; }
9256 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9257 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9258 set dummy ${ncn_progname}; ac_word=$2
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9260 $as_echo_n "checking
for $ac_word...
" >&6; }
9261 if ${ac_cv_prog_STRIP+:} false; then :
9262 $as_echo_n "(cached
) " >&6
9264 if test -n "$STRIP"; then
9265 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 test -z "$as_dir" && as_dir=.
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9274 ac_cv_prog_STRIP="${ncn_progname}"
9275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9284 STRIP=$ac_cv_prog_STRIP
9285 if test -n "$STRIP"; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9287 $as_echo "$STRIP" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9290 $as_echo "no
" >&6; }
9295 test -n "$ac_cv_prog_STRIP" && break
9298 if test -z "$ac_cv_prog_STRIP" ; then
9304 if test -n "$WINDRES"; then
9305 ac_cv_prog_WINDRES=$WINDRES
9306 elif test -n "$ac_cv_prog_WINDRES"; then
9307 WINDRES=$ac_cv_prog_WINDRES
9310 if test -n "$ac_cv_prog_WINDRES"; then
9311 for ncn_progname in windres; do
9312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9313 set dummy ${ncn_progname}; ac_word=$2
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9315 $as_echo_n "checking
for $ac_word...
" >&6; }
9316 if ${ac_cv_prog_WINDRES+:} false; then :
9317 $as_echo_n "(cached
) " >&6
9319 if test -n "$WINDRES"; then
9320 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9329 ac_cv_prog_WINDRES="${ncn_progname}"
9330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9339 WINDRES=$ac_cv_prog_WINDRES
9340 if test -n "$WINDRES"; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9342 $as_echo "$WINDRES" >&6; }
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9345 $as_echo "no
" >&6; }
9352 for ncn_progname in windres; do
9353 if test -n "$ncn_tool_prefix"; then
9354 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9355 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9357 $as_echo_n "checking
for $ac_word...
" >&6; }
9358 if ${ac_cv_prog_WINDRES+:} false; then :
9359 $as_echo_n "(cached
) " >&6
9361 if test -n "$WINDRES"; then
9362 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 test -z "$as_dir" && as_dir=.
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9371 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9381 WINDRES=$ac_cv_prog_WINDRES
9382 if test -n "$WINDRES"; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9384 $as_echo "$WINDRES" >&6; }
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9387 $as_echo "no
" >&6; }
9392 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9394 set dummy ${ncn_progname}; ac_word=$2
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9396 $as_echo_n "checking
for $ac_word...
" >&6; }
9397 if ${ac_cv_prog_WINDRES+:} false; then :
9398 $as_echo_n "(cached
) " >&6
9400 if test -n "$WINDRES"; then
9401 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9407 test -z "$as_dir" && as_dir=.
9408 for ac_exec_ext in '' $ac_executable_extensions; do
9409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9410 ac_cv_prog_WINDRES="${ncn_progname}"
9411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9420 WINDRES=$ac_cv_prog_WINDRES
9421 if test -n "$WINDRES"; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9423 $as_echo "$WINDRES" >&6; }
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9426 $as_echo "no
" >&6; }
9431 test -n "$ac_cv_prog_WINDRES" && break
9434 if test -z "$ac_cv_prog_WINDRES" ; then
9436 if test $build = $host ; then
9439 WINDRES="${ncn_tool_prefix}$2"
9445 if test -n "$WINDMC"; then
9446 ac_cv_prog_WINDMC=$WINDMC
9447 elif test -n "$ac_cv_prog_WINDMC"; then
9448 WINDMC=$ac_cv_prog_WINDMC
9451 if test -n "$ac_cv_prog_WINDMC"; then
9452 for ncn_progname in windmc; do
9453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9454 set dummy ${ncn_progname}; ac_word=$2
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9456 $as_echo_n "checking
for $ac_word...
" >&6; }
9457 if ${ac_cv_prog_WINDMC+:} false; then :
9458 $as_echo_n "(cached
) " >&6
9460 if test -n "$WINDMC"; then
9461 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9467 test -z "$as_dir" && as_dir=.
9468 for ac_exec_ext in '' $ac_executable_extensions; do
9469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9470 ac_cv_prog_WINDMC="${ncn_progname}"
9471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9480 WINDMC=$ac_cv_prog_WINDMC
9481 if test -n "$WINDMC"; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9483 $as_echo "$WINDMC" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9486 $as_echo "no
" >&6; }
9493 for ncn_progname in windmc; do
9494 if test -n "$ncn_tool_prefix"; then
9495 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9496 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9498 $as_echo_n "checking
for $ac_word...
" >&6; }
9499 if ${ac_cv_prog_WINDMC+:} false; then :
9500 $as_echo_n "(cached
) " >&6
9502 if test -n "$WINDMC"; then
9503 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 test -z "$as_dir" && as_dir=.
9510 for ac_exec_ext in '' $ac_executable_extensions; do
9511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9512 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9522 WINDMC=$ac_cv_prog_WINDMC
9523 if test -n "$WINDMC"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9525 $as_echo "$WINDMC" >&6; }
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9528 $as_echo "no
" >&6; }
9533 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9535 set dummy ${ncn_progname}; ac_word=$2
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9537 $as_echo_n "checking
for $ac_word...
" >&6; }
9538 if ${ac_cv_prog_WINDMC+:} false; then :
9539 $as_echo_n "(cached
) " >&6
9541 if test -n "$WINDMC"; then
9542 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548 test -z "$as_dir" && as_dir=.
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9551 ac_cv_prog_WINDMC="${ncn_progname}"
9552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9561 WINDMC=$ac_cv_prog_WINDMC
9562 if test -n "$WINDMC"; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9564 $as_echo "$WINDMC" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9567 $as_echo "no
" >&6; }
9572 test -n "$ac_cv_prog_WINDMC" && break
9575 if test -z "$ac_cv_prog_WINDMC" ; then
9577 if test $build = $host ; then
9580 WINDMC="${ncn_tool_prefix}$2"
9586 if test -n "$OBJCOPY"; then
9587 ac_cv_prog_OBJCOPY=$OBJCOPY
9588 elif test -n "$ac_cv_prog_OBJCOPY"; then
9589 OBJCOPY=$ac_cv_prog_OBJCOPY
9592 if test -n "$ac_cv_prog_OBJCOPY"; then
9593 for ncn_progname in objcopy; do
9594 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9595 set dummy ${ncn_progname}; ac_word=$2
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9597 $as_echo_n "checking
for $ac_word...
" >&6; }
9598 if ${ac_cv_prog_OBJCOPY+:} false; then :
9599 $as_echo_n "(cached
) " >&6
9601 if test -n "$OBJCOPY"; then
9602 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 test -z "$as_dir" && as_dir=.
9609 for ac_exec_ext in '' $ac_executable_extensions; do
9610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9611 ac_cv_prog_OBJCOPY="${ncn_progname}"
9612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9621 OBJCOPY=$ac_cv_prog_OBJCOPY
9622 if test -n "$OBJCOPY"; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9624 $as_echo "$OBJCOPY" >&6; }
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9627 $as_echo "no
" >&6; }
9634 for ncn_progname in objcopy; do
9635 if test -n "$ncn_tool_prefix"; then
9636 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9637 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9639 $as_echo_n "checking
for $ac_word...
" >&6; }
9640 if ${ac_cv_prog_OBJCOPY+:} false; then :
9641 $as_echo_n "(cached
) " >&6
9643 if test -n "$OBJCOPY"; then
9644 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9653 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9663 OBJCOPY=$ac_cv_prog_OBJCOPY
9664 if test -n "$OBJCOPY"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9666 $as_echo "$OBJCOPY" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9669 $as_echo "no
" >&6; }
9674 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9675 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9676 set dummy ${ncn_progname}; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9678 $as_echo_n "checking
for $ac_word...
" >&6; }
9679 if ${ac_cv_prog_OBJCOPY+:} false; then :
9680 $as_echo_n "(cached
) " >&6
9682 if test -n "$OBJCOPY"; then
9683 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_OBJCOPY="${ncn_progname}"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9702 OBJCOPY=$ac_cv_prog_OBJCOPY
9703 if test -n "$OBJCOPY"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9705 $as_echo "$OBJCOPY" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9708 $as_echo "no
" >&6; }
9713 test -n "$ac_cv_prog_OBJCOPY" && break
9716 if test -z "$ac_cv_prog_OBJCOPY" ; then
9718 if test $build = $host ; then
9721 OBJCOPY="${ncn_tool_prefix}$2"
9727 if test -n "$OBJDUMP"; then
9728 ac_cv_prog_OBJDUMP=$OBJDUMP
9729 elif test -n "$ac_cv_prog_OBJDUMP"; then
9730 OBJDUMP=$ac_cv_prog_OBJDUMP
9733 if test -n "$ac_cv_prog_OBJDUMP"; then
9734 for ncn_progname in objdump; do
9735 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9736 set dummy ${ncn_progname}; ac_word=$2
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9738 $as_echo_n "checking
for $ac_word...
" >&6; }
9739 if ${ac_cv_prog_OBJDUMP+:} false; then :
9740 $as_echo_n "(cached
) " >&6
9742 if test -n "$OBJDUMP"; then
9743 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9749 test -z "$as_dir" && as_dir=.
9750 for ac_exec_ext in '' $ac_executable_extensions; do
9751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9752 ac_cv_prog_OBJDUMP="${ncn_progname}"
9753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9762 OBJDUMP=$ac_cv_prog_OBJDUMP
9763 if test -n "$OBJDUMP"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9765 $as_echo "$OBJDUMP" >&6; }
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9768 $as_echo "no
" >&6; }
9775 for ncn_progname in objdump; do
9776 if test -n "$ncn_tool_prefix"; then
9777 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9778 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9780 $as_echo_n "checking
for $ac_word...
" >&6; }
9781 if ${ac_cv_prog_OBJDUMP+:} false; then :
9782 $as_echo_n "(cached
) " >&6
9784 if test -n "$OBJDUMP"; then
9785 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9791 test -z "$as_dir" && as_dir=.
9792 for ac_exec_ext in '' $ac_executable_extensions; do
9793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9794 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9804 OBJDUMP=$ac_cv_prog_OBJDUMP
9805 if test -n "$OBJDUMP"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9807 $as_echo "$OBJDUMP" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9810 $as_echo "no
" >&6; }
9815 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9817 set dummy ${ncn_progname}; ac_word=$2
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9819 $as_echo_n "checking
for $ac_word...
" >&6; }
9820 if ${ac_cv_prog_OBJDUMP+:} false; then :
9821 $as_echo_n "(cached
) " >&6
9823 if test -n "$OBJDUMP"; then
9824 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir=.
9831 for ac_exec_ext in '' $ac_executable_extensions; do
9832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9833 ac_cv_prog_OBJDUMP="${ncn_progname}"
9834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9843 OBJDUMP=$ac_cv_prog_OBJDUMP
9844 if test -n "$OBJDUMP"; then
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9846 $as_echo "$OBJDUMP" >&6; }
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9849 $as_echo "no
" >&6; }
9854 test -n "$ac_cv_prog_OBJDUMP" && break
9857 if test -z "$ac_cv_prog_OBJDUMP" ; then
9859 if test $build = $host ; then
9862 OBJDUMP="${ncn_tool_prefix}$2"
9868 if test -n "$READELF"; then
9869 ac_cv_prog_READELF=$READELF
9870 elif test -n "$ac_cv_prog_READELF"; then
9871 READELF=$ac_cv_prog_READELF
9874 if test -n "$ac_cv_prog_READELF"; then
9875 for ncn_progname in readelf; do
9876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9877 set dummy ${ncn_progname}; ac_word=$2
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9879 $as_echo_n "checking
for $ac_word...
" >&6; }
9880 if ${ac_cv_prog_READELF+:} false; then :
9881 $as_echo_n "(cached
) " >&6
9883 if test -n "$READELF"; then
9884 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir=.
9891 for ac_exec_ext in '' $ac_executable_extensions; do
9892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9893 ac_cv_prog_READELF="${ncn_progname}"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9903 READELF=$ac_cv_prog_READELF
9904 if test -n "$READELF"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9906 $as_echo "$READELF" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9909 $as_echo "no
" >&6; }
9916 for ncn_progname in readelf; do
9917 if test -n "$ncn_tool_prefix"; then
9918 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9919 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9921 $as_echo_n "checking
for $ac_word...
" >&6; }
9922 if ${ac_cv_prog_READELF+:} false; then :
9923 $as_echo_n "(cached
) " >&6
9925 if test -n "$READELF"; then
9926 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9932 test -z "$as_dir" && as_dir=.
9933 for ac_exec_ext in '' $ac_executable_extensions; do
9934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9935 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9945 READELF=$ac_cv_prog_READELF
9946 if test -n "$READELF"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9948 $as_echo "$READELF" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9951 $as_echo "no
" >&6; }
9956 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9957 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9958 set dummy ${ncn_progname}; ac_word=$2
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9960 $as_echo_n "checking
for $ac_word...
" >&6; }
9961 if ${ac_cv_prog_READELF+:} false; then :
9962 $as_echo_n "(cached
) " >&6
9964 if test -n "$READELF"; then
9965 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9971 test -z "$as_dir" && as_dir=.
9972 for ac_exec_ext in '' $ac_executable_extensions; do
9973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_prog_READELF="${ncn_progname}"
9975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9984 READELF=$ac_cv_prog_READELF
9985 if test -n "$READELF"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9987 $as_echo "$READELF" >&6; }
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9990 $as_echo "no
" >&6; }
9995 test -n "$ac_cv_prog_READELF" && break
9998 if test -z "$ac_cv_prog_READELF" ; then
10000 if test $build = $host ; then
10003 READELF="${ncn_tool_prefix}$2"
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
10013 $as_echo_n "checking
for -plugin option...
" >&6; }
10015 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
10017 for plugin in $plugin_names; do
10018 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
10019 if test x$plugin_so = x$plugin; then
10020 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
10022 if test x$plugin_so != x$plugin; then
10023 plugin_option="--plugin $plugin_so"
10027 if test -n "$ac_tool_prefix"; then
10028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10029 set dummy ${ac_tool_prefix}ar; ac_word=$2
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10031 $as_echo_n "checking
for $ac_word...
" >&6; }
10032 if ${ac_cv_prog_AR+:} false; then :
10033 $as_echo_n "(cached
) " >&6
10035 if test -n "$AR"; then
10036 ac_cv_prog_AR="$AR" # Let the user override the test.
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 ac_cv_prog_AR="${ac_tool_prefix}ar"
10046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10056 if test -n "$AR"; then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10058 $as_echo "$AR" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10061 $as_echo "no
" >&6; }
10066 if test -z "$ac_cv_prog_AR"; then
10068 # Extract the first word of "ar", so it can be a program name with args.
10069 set dummy ar; ac_word=$2
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10071 $as_echo_n "checking
for $ac_word...
" >&6; }
10072 if ${ac_cv_prog_ac_ct_AR+:} false; then :
10073 $as_echo_n "(cached
) " >&6
10075 if test -n "$ac_ct_AR"; then
10076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10079 for as_dir in $PATH
10082 test -z "$as_dir" && as_dir=.
10083 for ac_exec_ext in '' $ac_executable_extensions; do
10084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10085 ac_cv_prog_ac_ct_AR="ar"
10086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10096 if test -n "$ac_ct_AR"; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
10098 $as_echo "$ac_ct_AR" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10101 $as_echo "no
" >&6; }
10104 if test "x
$ac_ct_AR" = x; then
10107 case $cross_compiling:$ac_tool_warned in
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10110 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10111 ac_tool_warned=yes ;;
10116 AR="$ac_cv_prog_AR"
10119 if test "${AR}" = "" ; then
10120 as_fn_error $? "Required archive tool
'ar' not found on PATH.
" "$LINENO" 5
10123 ${AR} $plugin_option rc conftest.a conftest.c
10124 if test "$?
" != 0; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
10126 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
10130 if test -n "$plugin_option"; then
10131 PLUGIN_OPTION="$plugin_option"
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
10133 $as_echo "$plugin_option" >&6; }
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10136 $as_echo "no
" >&6; }
10140 RANLIB_PLUGIN_OPTION=
10141 if test -n "$PLUGIN_OPTION"; then
10142 if $AR --help 2>&1 | grep -q "\
--plugin"; then
10143 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
10145 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
10146 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
10154 # Check whether --with-build-time-tools was given.
10155 if test "${with_build_time_tools+set}" = set; then :
10156 withval=$with_build_time_tools; case x"$withval" in
10159 with_build_time_tools=
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10161 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10165 with_build_time_tools=
10171 if test -n "$CC_FOR_TARGET"; then
10172 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10173 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10174 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10177 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10178 for ncn_progname in cc gcc; do
10179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10180 set dummy ${ncn_progname}; ac_word=$2
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10182 $as_echo_n "checking
for $ac_word...
" >&6; }
10183 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10184 $as_echo_n "(cached
) " >&6
10186 if test -n "$CC_FOR_TARGET"; then
10187 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10190 for as_dir in $PATH
10193 test -z "$as_dir" && as_dir=.
10194 for ac_exec_ext in '' $ac_executable_extensions; do
10195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10196 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10206 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10207 if test -n "$CC_FOR_TARGET"; then
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10209 $as_echo "$CC_FOR_TARGET" >&6; }
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10212 $as_echo "no
" >&6; }
10219 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10220 for ncn_progname in cc gcc; do
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10222 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10223 if test -x $with_build_time_tools/${ncn_progname}; then
10224 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10226 $as_echo "yes" >&6; }
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10230 $as_echo "no
" >&6; }
10235 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10236 for ncn_progname in cc gcc; do
10237 if test -n "$ncn_target_tool_prefix"; then
10238 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10239 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10241 $as_echo_n "checking
for $ac_word...
" >&6; }
10242 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10243 $as_echo_n "(cached
) " >&6
10245 if test -n "$CC_FOR_TARGET"; then
10246 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10249 for as_dir in $PATH
10252 test -z "$as_dir" && as_dir=.
10253 for ac_exec_ext in '' $ac_executable_extensions; do
10254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10255 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10265 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10266 if test -n "$CC_FOR_TARGET"; then
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10268 $as_echo "$CC_FOR_TARGET" >&6; }
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10271 $as_echo "no
" >&6; }
10276 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10278 set dummy ${ncn_progname}; ac_word=$2
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10280 $as_echo_n "checking
for $ac_word...
" >&6; }
10281 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10282 $as_echo_n "(cached
) " >&6
10284 if test -n "$CC_FOR_TARGET"; then
10285 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10288 for as_dir in $PATH
10291 test -z "$as_dir" && as_dir=.
10292 for ac_exec_ext in '' $ac_executable_extensions; do
10293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10294 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10304 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10305 if test -n "$CC_FOR_TARGET"; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10307 $as_echo "$CC_FOR_TARGET" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10310 $as_echo "no
" >&6; }
10315 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10319 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10321 if test $build = $target ; then
10324 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10327 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10332 if test -n "$CXX_FOR_TARGET"; then
10333 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10334 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10335 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10338 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10339 for ncn_progname in c++ g++ cxx gxx; do
10340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10341 set dummy ${ncn_progname}; ac_word=$2
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10343 $as_echo_n "checking
for $ac_word...
" >&6; }
10344 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10345 $as_echo_n "(cached
) " >&6
10347 if test -n "$CXX_FOR_TARGET"; then
10348 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10351 for as_dir in $PATH
10354 test -z "$as_dir" && as_dir=.
10355 for ac_exec_ext in '' $ac_executable_extensions; do
10356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10357 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10367 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10368 if test -n "$CXX_FOR_TARGET"; then
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10370 $as_echo "$CXX_FOR_TARGET" >&6; }
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10373 $as_echo "no
" >&6; }
10380 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10381 for ncn_progname in c++ g++ cxx gxx; do
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10383 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10384 if test -x $with_build_time_tools/${ncn_progname}; then
10385 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10387 $as_echo "yes" >&6; }
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10391 $as_echo "no
" >&6; }
10396 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10397 for ncn_progname in c++ g++ cxx gxx; do
10398 if test -n "$ncn_target_tool_prefix"; then
10399 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10400 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10402 $as_echo_n "checking
for $ac_word...
" >&6; }
10403 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10404 $as_echo_n "(cached
) " >&6
10406 if test -n "$CXX_FOR_TARGET"; then
10407 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10426 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10427 if test -n "$CXX_FOR_TARGET"; then
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10429 $as_echo "$CXX_FOR_TARGET" >&6; }
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10432 $as_echo "no
" >&6; }
10437 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10438 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10439 set dummy ${ncn_progname}; ac_word=$2
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10441 $as_echo_n "checking
for $ac_word...
" >&6; }
10442 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10443 $as_echo_n "(cached
) " >&6
10445 if test -n "$CXX_FOR_TARGET"; then
10446 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10449 for as_dir in $PATH
10452 test -z "$as_dir" && as_dir=.
10453 for ac_exec_ext in '' $ac_executable_extensions; do
10454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10455 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10465 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10466 if test -n "$CXX_FOR_TARGET"; then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10468 $as_echo "$CXX_FOR_TARGET" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10471 $as_echo "no
" >&6; }
10476 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10480 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10481 set dummy c++ g++ cxx gxx
10482 if test $build = $target ; then
10483 CXX_FOR_TARGET="$2"
10485 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10488 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10493 if test -n "$GCC_FOR_TARGET"; then
10494 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10495 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10496 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10499 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10500 for ncn_progname in gcc; do
10501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10502 set dummy ${ncn_progname}; ac_word=$2
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10504 $as_echo_n "checking
for $ac_word...
" >&6; }
10505 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10506 $as_echo_n "(cached
) " >&6
10508 if test -n "$GCC_FOR_TARGET"; then
10509 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10512 for as_dir in $PATH
10515 test -z "$as_dir" && as_dir=.
10516 for ac_exec_ext in '' $ac_executable_extensions; do
10517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10518 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10528 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10529 if test -n "$GCC_FOR_TARGET"; then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10531 $as_echo "$GCC_FOR_TARGET" >&6; }
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10534 $as_echo "no
" >&6; }
10541 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10542 for ncn_progname in gcc; do
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10544 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10545 if test -x $with_build_time_tools/${ncn_progname}; then
10546 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10548 $as_echo "yes" >&6; }
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10552 $as_echo "no
" >&6; }
10557 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10558 for ncn_progname in gcc; do
10559 if test -n "$ncn_target_tool_prefix"; then
10560 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10561 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10563 $as_echo_n "checking
for $ac_word...
" >&6; }
10564 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10565 $as_echo_n "(cached
) " >&6
10567 if test -n "$GCC_FOR_TARGET"; then
10568 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10571 for as_dir in $PATH
10574 test -z "$as_dir" && as_dir=.
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10587 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10588 if test -n "$GCC_FOR_TARGET"; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10590 $as_echo "$GCC_FOR_TARGET" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10593 $as_echo "no
" >&6; }
10598 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10600 set dummy ${ncn_progname}; ac_word=$2
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10602 $as_echo_n "checking
for $ac_word...
" >&6; }
10603 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10604 $as_echo_n "(cached
) " >&6
10606 if test -n "$GCC_FOR_TARGET"; then
10607 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10610 for as_dir in $PATH
10613 test -z "$as_dir" && as_dir=.
10614 for ac_exec_ext in '' $ac_executable_extensions; do
10615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10616 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10626 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10627 if test -n "$GCC_FOR_TARGET"; then
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10629 $as_echo "$GCC_FOR_TARGET" >&6; }
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10632 $as_echo "no
" >&6; }
10637 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10641 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10642 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10644 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10649 if test -n "$GCJ_FOR_TARGET"; then
10650 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10651 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10652 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10655 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10656 for ncn_progname in gcj; do
10657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10658 set dummy ${ncn_progname}; ac_word=$2
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10660 $as_echo_n "checking
for $ac_word...
" >&6; }
10661 if ${ac_cv_prog_GCJ_FOR_TARGET+:} false; then :
10662 $as_echo_n "(cached
) " >&6
10664 if test -n "$GCJ_FOR_TARGET"; then
10665 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10668 for as_dir in $PATH
10671 test -z "$as_dir" && as_dir=.
10672 for ac_exec_ext in '' $ac_executable_extensions; do
10673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10674 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10684 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10685 if test -n "$GCJ_FOR_TARGET"; then
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10687 $as_echo "$GCJ_FOR_TARGET" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10690 $as_echo "no
" >&6; }
10697 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10698 for ncn_progname in gcj; do
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10700 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10701 if test -x $with_build_time_tools/${ncn_progname}; then
10702 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10704 $as_echo "yes" >&6; }
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10708 $as_echo "no
" >&6; }
10713 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10714 for ncn_progname in gcj; do
10715 if test -n "$ncn_target_tool_prefix"; then
10716 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10717 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10719 $as_echo_n "checking
for $ac_word...
" >&6; }
10720 if ${ac_cv_prog_GCJ_FOR_TARGET+:} false; then :
10721 $as_echo_n "(cached
) " >&6
10723 if test -n "$GCJ_FOR_TARGET"; then
10724 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10727 for as_dir in $PATH
10730 test -z "$as_dir" && as_dir=.
10731 for ac_exec_ext in '' $ac_executable_extensions; do
10732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10733 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10743 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10744 if test -n "$GCJ_FOR_TARGET"; then
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10746 $as_echo "$GCJ_FOR_TARGET" >&6; }
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10749 $as_echo "no
" >&6; }
10754 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10756 set dummy ${ncn_progname}; ac_word=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10758 $as_echo_n "checking
for $ac_word...
" >&6; }
10759 if ${ac_cv_prog_GCJ_FOR_TARGET+:} false; then :
10760 $as_echo_n "(cached
) " >&6
10762 if test -n "$GCJ_FOR_TARGET"; then
10763 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10766 for as_dir in $PATH
10769 test -z "$as_dir" && as_dir=.
10770 for ac_exec_ext in '' $ac_executable_extensions; do
10771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10772 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10782 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10783 if test -n "$GCJ_FOR_TARGET"; then
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10785 $as_echo "$GCJ_FOR_TARGET" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10788 $as_echo "no
" >&6; }
10793 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10797 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10799 if test $build = $target ; then
10800 GCJ_FOR_TARGET="$2"
10802 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10805 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10810 if test -n "$GFORTRAN_FOR_TARGET"; then
10811 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10812 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10813 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10816 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10817 for ncn_progname in gfortran; do
10818 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10819 set dummy ${ncn_progname}; ac_word=$2
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10821 $as_echo_n "checking
for $ac_word...
" >&6; }
10822 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10823 $as_echo_n "(cached
) " >&6
10825 if test -n "$GFORTRAN_FOR_TARGET"; then
10826 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829 for as_dir in $PATH
10832 test -z "$as_dir" && as_dir=.
10833 for ac_exec_ext in '' $ac_executable_extensions; do
10834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10835 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10845 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10846 if test -n "$GFORTRAN_FOR_TARGET"; then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10848 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10851 $as_echo "no
" >&6; }
10858 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10859 for ncn_progname in gfortran; do
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10861 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10862 if test -x $with_build_time_tools/${ncn_progname}; then
10863 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10865 $as_echo "yes" >&6; }
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10869 $as_echo "no
" >&6; }
10874 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10875 for ncn_progname in gfortran; do
10876 if test -n "$ncn_target_tool_prefix"; then
10877 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10878 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10880 $as_echo_n "checking
for $ac_word...
" >&6; }
10881 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10882 $as_echo_n "(cached
) " >&6
10884 if test -n "$GFORTRAN_FOR_TARGET"; then
10885 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10888 for as_dir in $PATH
10891 test -z "$as_dir" && as_dir=.
10892 for ac_exec_ext in '' $ac_executable_extensions; do
10893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10894 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10904 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10905 if test -n "$GFORTRAN_FOR_TARGET"; then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10907 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10910 $as_echo "no
" >&6; }
10915 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10917 set dummy ${ncn_progname}; ac_word=$2
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10919 $as_echo_n "checking
for $ac_word...
" >&6; }
10920 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10921 $as_echo_n "(cached
) " >&6
10923 if test -n "$GFORTRAN_FOR_TARGET"; then
10924 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10927 for as_dir in $PATH
10930 test -z "$as_dir" && as_dir=.
10931 for ac_exec_ext in '' $ac_executable_extensions; do
10932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10933 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10943 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10944 if test -n "$GFORTRAN_FOR_TARGET"; then
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10946 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10949 $as_echo "no
" >&6; }
10954 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10958 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10960 if test $build = $target ; then
10961 GFORTRAN_FOR_TARGET="$2"
10963 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10966 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10971 if test -n "$GOC_FOR_TARGET"; then
10972 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10973 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10974 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10977 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10978 for ncn_progname in gccgo; do
10979 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10980 set dummy ${ncn_progname}; ac_word=$2
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10982 $as_echo_n "checking
for $ac_word...
" >&6; }
10983 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10984 $as_echo_n "(cached
) " >&6
10986 if test -n "$GOC_FOR_TARGET"; then
10987 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10990 for as_dir in $PATH
10993 test -z "$as_dir" && as_dir=.
10994 for ac_exec_ext in '' $ac_executable_extensions; do
10995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10996 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11006 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11007 if test -n "$GOC_FOR_TARGET"; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11009 $as_echo "$GOC_FOR_TARGET" >&6; }
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11012 $as_echo "no
" >&6; }
11019 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11020 for ncn_progname in gccgo; do
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11022 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11023 if test -x $with_build_time_tools/${ncn_progname}; then
11024 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11026 $as_echo "yes" >&6; }
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11030 $as_echo "no
" >&6; }
11035 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
11036 for ncn_progname in gccgo; do
11037 if test -n "$ncn_target_tool_prefix"; then
11038 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11039 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11041 $as_echo_n "checking
for $ac_word...
" >&6; }
11042 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11043 $as_echo_n "(cached
) " >&6
11045 if test -n "$GOC_FOR_TARGET"; then
11046 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11049 for as_dir in $PATH
11052 test -z "$as_dir" && as_dir=.
11053 for ac_exec_ext in '' $ac_executable_extensions; do
11054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11055 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11065 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11066 if test -n "$GOC_FOR_TARGET"; then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11068 $as_echo "$GOC_FOR_TARGET" >&6; }
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11071 $as_echo "no
" >&6; }
11076 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11077 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11078 set dummy ${ncn_progname}; ac_word=$2
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11080 $as_echo_n "checking
for $ac_word...
" >&6; }
11081 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11082 $as_echo_n "(cached
) " >&6
11084 if test -n "$GOC_FOR_TARGET"; then
11085 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11088 for as_dir in $PATH
11091 test -z "$as_dir" && as_dir=.
11092 for ac_exec_ext in '' $ac_executable_extensions; do
11093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11094 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11104 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11105 if test -n "$GOC_FOR_TARGET"; then
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11107 $as_echo "$GOC_FOR_TARGET" >&6; }
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11110 $as_echo "no
" >&6; }
11115 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11119 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11121 if test $build = $target ; then
11122 GOC_FOR_TARGET="$2"
11124 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11127 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11132 cat > conftest.c << \EOF
11137 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11138 have_gcc_for_target=yes
11140 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11141 have_gcc_for_target=no
11148 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11149 if test -n "$with_build_time_tools"; then
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11151 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11152 if test -x $with_build_time_tools/ar; then
11153 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11154 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11156 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11159 $as_echo "no
" >&6; }
11161 elif test $build != $host && test $have_gcc_for_target = yes; then
11162 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11163 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11164 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11167 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11168 # Extract the first word of "ar", so it can be a program name with args.
11169 set dummy ar; ac_word=$2
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11171 $as_echo_n "checking
for $ac_word...
" >&6; }
11172 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11173 $as_echo_n "(cached
) " >&6
11175 case $AR_FOR_TARGET in
11177 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11181 for as_dir in $gcc_cv_tool_dirs
11184 test -z "$as_dir" && as_dir=.
11185 for ac_exec_ext in '' $ac_executable_extensions; do
11186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11187 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11198 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11199 if test -n "$AR_FOR_TARGET"; then
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11201 $as_echo "$AR_FOR_TARGET" >&6; }
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11204 $as_echo "no
" >&6; }
11209 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11212 if test -n "$AR_FOR_TARGET"; then
11213 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11214 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11215 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11218 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11219 for ncn_progname in ar; do
11220 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11221 set dummy ${ncn_progname}; ac_word=$2
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11223 $as_echo_n "checking
for $ac_word...
" >&6; }
11224 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11225 $as_echo_n "(cached
) " >&6
11227 if test -n "$AR_FOR_TARGET"; then
11228 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11231 for as_dir in $PATH
11234 test -z "$as_dir" && as_dir=.
11235 for ac_exec_ext in '' $ac_executable_extensions; do
11236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11237 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11247 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11248 if test -n "$AR_FOR_TARGET"; then
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11250 $as_echo "$AR_FOR_TARGET" >&6; }
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11253 $as_echo "no
" >&6; }
11260 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11261 for ncn_progname in ar; do
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11263 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11264 if test -x $with_build_time_tools/${ncn_progname}; then
11265 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11267 $as_echo "yes" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11271 $as_echo "no
" >&6; }
11276 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11277 for ncn_progname in ar; do
11278 if test -n "$ncn_target_tool_prefix"; then
11279 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11280 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11282 $as_echo_n "checking
for $ac_word...
" >&6; }
11283 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11284 $as_echo_n "(cached
) " >&6
11286 if test -n "$AR_FOR_TARGET"; then
11287 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11290 for as_dir in $PATH
11293 test -z "$as_dir" && as_dir=.
11294 for ac_exec_ext in '' $ac_executable_extensions; do
11295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11296 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11306 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11307 if test -n "$AR_FOR_TARGET"; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11309 $as_echo "$AR_FOR_TARGET" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11312 $as_echo "no
" >&6; }
11317 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11318 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11319 set dummy ${ncn_progname}; ac_word=$2
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11321 $as_echo_n "checking
for $ac_word...
" >&6; }
11322 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11323 $as_echo_n "(cached
) " >&6
11325 if test -n "$AR_FOR_TARGET"; then
11326 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11329 for as_dir in $PATH
11332 test -z "$as_dir" && as_dir=.
11333 for ac_exec_ext in '' $ac_executable_extensions; do
11334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11345 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11346 if test -n "$AR_FOR_TARGET"; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11348 $as_echo "$AR_FOR_TARGET" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11351 $as_echo "no
" >&6; }
11356 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11360 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11362 if test $build = $target ; then
11365 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11368 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11372 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11378 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11379 if test -n "$with_build_time_tools"; then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11381 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11382 if test -x $with_build_time_tools/as; then
11383 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11384 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11386 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11389 $as_echo "no
" >&6; }
11391 elif test $build != $host && test $have_gcc_for_target = yes; then
11392 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11393 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11394 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11397 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11398 # Extract the first word of "as
", so it can be a program name with args.
11399 set dummy as; ac_word=$2
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11401 $as_echo_n "checking
for $ac_word...
" >&6; }
11402 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11403 $as_echo_n "(cached
) " >&6
11405 case $AS_FOR_TARGET in
11407 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11411 for as_dir in $gcc_cv_tool_dirs
11414 test -z "$as_dir" && as_dir=.
11415 for ac_exec_ext in '' $ac_executable_extensions; do
11416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11417 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11428 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11429 if test -n "$AS_FOR_TARGET"; then
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11431 $as_echo "$AS_FOR_TARGET" >&6; }
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11434 $as_echo "no
" >&6; }
11439 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11442 if test -n "$AS_FOR_TARGET"; then
11443 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11444 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11445 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11448 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11449 for ncn_progname in as; do
11450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11451 set dummy ${ncn_progname}; ac_word=$2
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11453 $as_echo_n "checking
for $ac_word...
" >&6; }
11454 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11455 $as_echo_n "(cached
) " >&6
11457 if test -n "$AS_FOR_TARGET"; then
11458 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11461 for as_dir in $PATH
11464 test -z "$as_dir" && as_dir=.
11465 for ac_exec_ext in '' $ac_executable_extensions; do
11466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11467 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11477 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11478 if test -n "$AS_FOR_TARGET"; then
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11480 $as_echo "$AS_FOR_TARGET" >&6; }
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11483 $as_echo "no
" >&6; }
11490 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11491 for ncn_progname in as; do
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11493 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11494 if test -x $with_build_time_tools/${ncn_progname}; then
11495 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11497 $as_echo "yes" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11501 $as_echo "no
" >&6; }
11506 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11507 for ncn_progname in as; do
11508 if test -n "$ncn_target_tool_prefix"; then
11509 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11510 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11512 $as_echo_n "checking
for $ac_word...
" >&6; }
11513 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11514 $as_echo_n "(cached
) " >&6
11516 if test -n "$AS_FOR_TARGET"; then
11517 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11520 for as_dir in $PATH
11523 test -z "$as_dir" && as_dir=.
11524 for ac_exec_ext in '' $ac_executable_extensions; do
11525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11526 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11536 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11537 if test -n "$AS_FOR_TARGET"; then
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11539 $as_echo "$AS_FOR_TARGET" >&6; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11542 $as_echo "no
" >&6; }
11547 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11549 set dummy ${ncn_progname}; ac_word=$2
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11551 $as_echo_n "checking
for $ac_word...
" >&6; }
11552 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11553 $as_echo_n "(cached
) " >&6
11555 if test -n "$AS_FOR_TARGET"; then
11556 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11559 for as_dir in $PATH
11562 test -z "$as_dir" && as_dir=.
11563 for ac_exec_ext in '' $ac_executable_extensions; do
11564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11575 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11576 if test -n "$AS_FOR_TARGET"; then
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11578 $as_echo "$AS_FOR_TARGET" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11581 $as_echo "no
" >&6; }
11586 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11590 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11592 if test $build = $target ; then
11595 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11598 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11602 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11608 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11609 if test -n "$with_build_time_tools"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11611 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11612 if test -x $with_build_time_tools/dlltool; then
11613 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11614 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11616 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11619 $as_echo "no
" >&6; }
11621 elif test $build != $host && test $have_gcc_for_target = yes; then
11622 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11623 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11624 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11627 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11628 # Extract the first word of "dlltool
", so it can be a program name with args.
11629 set dummy dlltool; ac_word=$2
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11631 $as_echo_n "checking
for $ac_word...
" >&6; }
11632 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11633 $as_echo_n "(cached
) " >&6
11635 case $DLLTOOL_FOR_TARGET in
11637 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11641 for as_dir in $gcc_cv_tool_dirs
11644 test -z "$as_dir" && as_dir=.
11645 for ac_exec_ext in '' $ac_executable_extensions; do
11646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11658 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11659 if test -n "$DLLTOOL_FOR_TARGET"; then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11661 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11664 $as_echo "no
" >&6; }
11669 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11672 if test -n "$DLLTOOL_FOR_TARGET"; then
11673 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11674 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11675 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11678 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11679 for ncn_progname in dlltool; do
11680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11681 set dummy ${ncn_progname}; ac_word=$2
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11683 $as_echo_n "checking
for $ac_word...
" >&6; }
11684 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11685 $as_echo_n "(cached
) " >&6
11687 if test -n "$DLLTOOL_FOR_TARGET"; then
11688 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 for as_dir in $PATH
11694 test -z "$as_dir" && as_dir=.
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11697 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11707 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11708 if test -n "$DLLTOOL_FOR_TARGET"; then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11710 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11713 $as_echo "no
" >&6; }
11720 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11721 for ncn_progname in dlltool; do
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11723 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11724 if test -x $with_build_time_tools/${ncn_progname}; then
11725 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11727 $as_echo "yes" >&6; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11731 $as_echo "no
" >&6; }
11736 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11737 for ncn_progname in dlltool; do
11738 if test -n "$ncn_target_tool_prefix"; then
11739 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11740 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11742 $as_echo_n "checking
for $ac_word...
" >&6; }
11743 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11744 $as_echo_n "(cached
) " >&6
11746 if test -n "$DLLTOOL_FOR_TARGET"; then
11747 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11750 for as_dir in $PATH
11753 test -z "$as_dir" && as_dir=.
11754 for ac_exec_ext in '' $ac_executable_extensions; do
11755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11756 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11766 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11767 if test -n "$DLLTOOL_FOR_TARGET"; then
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11769 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11772 $as_echo "no
" >&6; }
11777 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11778 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11779 set dummy ${ncn_progname}; ac_word=$2
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11781 $as_echo_n "checking
for $ac_word...
" >&6; }
11782 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11783 $as_echo_n "(cached
) " >&6
11785 if test -n "$DLLTOOL_FOR_TARGET"; then
11786 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789 for as_dir in $PATH
11792 test -z "$as_dir" && as_dir=.
11793 for ac_exec_ext in '' $ac_executable_extensions; do
11794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11795 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11805 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11806 if test -n "$DLLTOOL_FOR_TARGET"; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11808 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11811 $as_echo "no
" >&6; }
11816 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11820 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11822 if test $build = $target ; then
11823 DLLTOOL_FOR_TARGET="$2"
11825 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11828 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11832 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11838 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11839 if test -n "$with_build_time_tools"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11841 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11842 if test -x $with_build_time_tools/ld; then
11843 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11844 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11846 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11849 $as_echo "no
" >&6; }
11851 elif test $build != $host && test $have_gcc_for_target = yes; then
11852 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11853 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11854 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11857 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11858 # Extract the first word of "ld
", so it can be a program name with args.
11859 set dummy ld; ac_word=$2
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11861 $as_echo_n "checking
for $ac_word...
" >&6; }
11862 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11863 $as_echo_n "(cached
) " >&6
11865 case $LD_FOR_TARGET in
11867 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11871 for as_dir in $gcc_cv_tool_dirs
11874 test -z "$as_dir" && as_dir=.
11875 for ac_exec_ext in '' $ac_executable_extensions; do
11876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11877 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11888 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11889 if test -n "$LD_FOR_TARGET"; then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11891 $as_echo "$LD_FOR_TARGET" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11894 $as_echo "no
" >&6; }
11899 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11902 if test -n "$LD_FOR_TARGET"; then
11903 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11904 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11905 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11908 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11909 for ncn_progname in ld; do
11910 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11911 set dummy ${ncn_progname}; ac_word=$2
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11913 $as_echo_n "checking
for $ac_word...
" >&6; }
11914 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11915 $as_echo_n "(cached
) " >&6
11917 if test -n "$LD_FOR_TARGET"; then
11918 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11921 for as_dir in $PATH
11924 test -z "$as_dir" && as_dir=.
11925 for ac_exec_ext in '' $ac_executable_extensions; do
11926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11927 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11937 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11938 if test -n "$LD_FOR_TARGET"; then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11940 $as_echo "$LD_FOR_TARGET" >&6; }
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11943 $as_echo "no
" >&6; }
11950 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11951 for ncn_progname in ld; do
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11953 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11954 if test -x $with_build_time_tools/${ncn_progname}; then
11955 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11957 $as_echo "yes" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11961 $as_echo "no
" >&6; }
11966 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11967 for ncn_progname in ld; do
11968 if test -n "$ncn_target_tool_prefix"; then
11969 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11970 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11972 $as_echo_n "checking
for $ac_word...
" >&6; }
11973 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11974 $as_echo_n "(cached
) " >&6
11976 if test -n "$LD_FOR_TARGET"; then
11977 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11980 for as_dir in $PATH
11983 test -z "$as_dir" && as_dir=.
11984 for ac_exec_ext in '' $ac_executable_extensions; do
11985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11986 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11996 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11997 if test -n "$LD_FOR_TARGET"; then
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11999 $as_echo "$LD_FOR_TARGET" >&6; }
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12002 $as_echo "no
" >&6; }
12007 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12009 set dummy ${ncn_progname}; ac_word=$2
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12011 $as_echo_n "checking
for $ac_word...
" >&6; }
12012 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12013 $as_echo_n "(cached
) " >&6
12015 if test -n "$LD_FOR_TARGET"; then
12016 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12019 for as_dir in $PATH
12022 test -z "$as_dir" && as_dir=.
12023 for ac_exec_ext in '' $ac_executable_extensions; do
12024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12025 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12035 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12036 if test -n "$LD_FOR_TARGET"; then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12038 $as_echo "$LD_FOR_TARGET" >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12041 $as_echo "no
" >&6; }
12046 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12050 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12052 if test $build = $target ; then
12055 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12058 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12062 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12068 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12069 if test -n "$with_build_time_tools"; then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12071 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12072 if test -x $with_build_time_tools/lipo; then
12073 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12074 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12076 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12079 $as_echo "no
" >&6; }
12081 elif test $build != $host && test $have_gcc_for_target = yes; then
12082 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12083 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12084 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12087 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12088 # Extract the first word of "lipo
", so it can be a program name with args.
12089 set dummy lipo; ac_word=$2
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12091 $as_echo_n "checking
for $ac_word...
" >&6; }
12092 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12093 $as_echo_n "(cached
) " >&6
12095 case $LIPO_FOR_TARGET in
12097 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12101 for as_dir in $gcc_cv_tool_dirs
12104 test -z "$as_dir" && as_dir=.
12105 for ac_exec_ext in '' $ac_executable_extensions; do
12106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12107 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12118 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12119 if test -n "$LIPO_FOR_TARGET"; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12121 $as_echo "$LIPO_FOR_TARGET" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12124 $as_echo "no
" >&6; }
12129 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12132 if test -n "$LIPO_FOR_TARGET"; then
12133 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12134 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12135 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12138 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12139 for ncn_progname in lipo; do
12140 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12141 set dummy ${ncn_progname}; ac_word=$2
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12143 $as_echo_n "checking
for $ac_word...
" >&6; }
12144 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12145 $as_echo_n "(cached
) " >&6
12147 if test -n "$LIPO_FOR_TARGET"; then
12148 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12151 for as_dir in $PATH
12154 test -z "$as_dir" && as_dir=.
12155 for ac_exec_ext in '' $ac_executable_extensions; do
12156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12157 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12167 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12168 if test -n "$LIPO_FOR_TARGET"; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12170 $as_echo "$LIPO_FOR_TARGET" >&6; }
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12173 $as_echo "no
" >&6; }
12180 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12181 for ncn_progname in lipo; do
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12183 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12184 if test -x $with_build_time_tools/${ncn_progname}; then
12185 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12187 $as_echo "yes" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12191 $as_echo "no
" >&6; }
12196 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12197 for ncn_progname in lipo; do
12198 if test -n "$ncn_target_tool_prefix"; then
12199 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12200 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12202 $as_echo_n "checking
for $ac_word...
" >&6; }
12203 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12204 $as_echo_n "(cached
) " >&6
12206 if test -n "$LIPO_FOR_TARGET"; then
12207 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12210 for as_dir in $PATH
12213 test -z "$as_dir" && as_dir=.
12214 for ac_exec_ext in '' $ac_executable_extensions; do
12215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12216 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12226 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12227 if test -n "$LIPO_FOR_TARGET"; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12229 $as_echo "$LIPO_FOR_TARGET" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12232 $as_echo "no
" >&6; }
12237 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12238 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12239 set dummy ${ncn_progname}; ac_word=$2
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12241 $as_echo_n "checking
for $ac_word...
" >&6; }
12242 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12243 $as_echo_n "(cached
) " >&6
12245 if test -n "$LIPO_FOR_TARGET"; then
12246 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249 for as_dir in $PATH
12252 test -z "$as_dir" && as_dir=.
12253 for ac_exec_ext in '' $ac_executable_extensions; do
12254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12255 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12265 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12266 if test -n "$LIPO_FOR_TARGET"; then
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12268 $as_echo "$LIPO_FOR_TARGET" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12271 $as_echo "no
" >&6; }
12276 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12280 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12282 if test $build = $target ; then
12283 LIPO_FOR_TARGET="$2"
12285 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12288 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12292 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12298 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12299 if test -n "$with_build_time_tools"; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12301 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12302 if test -x $with_build_time_tools/nm; then
12303 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12304 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12306 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12309 $as_echo "no
" >&6; }
12311 elif test $build != $host && test $have_gcc_for_target = yes; then
12312 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12313 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12314 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12317 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12318 # Extract the first word of "nm
", so it can be a program name with args.
12319 set dummy nm; ac_word=$2
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12321 $as_echo_n "checking
for $ac_word...
" >&6; }
12322 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12323 $as_echo_n "(cached
) " >&6
12325 case $NM_FOR_TARGET in
12327 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $gcc_cv_tool_dirs
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12337 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12348 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12349 if test -n "$NM_FOR_TARGET"; then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12351 $as_echo "$NM_FOR_TARGET" >&6; }
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12354 $as_echo "no
" >&6; }
12359 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12362 if test -n "$NM_FOR_TARGET"; then
12363 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12364 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12365 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12368 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12369 for ncn_progname in nm; do
12370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12371 set dummy ${ncn_progname}; ac_word=$2
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12373 $as_echo_n "checking
for $ac_word...
" >&6; }
12374 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12375 $as_echo_n "(cached
) " >&6
12377 if test -n "$NM_FOR_TARGET"; then
12378 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12381 for as_dir in $PATH
12384 test -z "$as_dir" && as_dir=.
12385 for ac_exec_ext in '' $ac_executable_extensions; do
12386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12387 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12397 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12398 if test -n "$NM_FOR_TARGET"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12400 $as_echo "$NM_FOR_TARGET" >&6; }
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12403 $as_echo "no
" >&6; }
12410 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12411 for ncn_progname in nm; do
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12413 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12414 if test -x $with_build_time_tools/${ncn_progname}; then
12415 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12417 $as_echo "yes" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12421 $as_echo "no
" >&6; }
12426 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12427 for ncn_progname in nm; do
12428 if test -n "$ncn_target_tool_prefix"; then
12429 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12430 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12432 $as_echo_n "checking
for $ac_word...
" >&6; }
12433 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12434 $as_echo_n "(cached
) " >&6
12436 if test -n "$NM_FOR_TARGET"; then
12437 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12440 for as_dir in $PATH
12443 test -z "$as_dir" && as_dir=.
12444 for ac_exec_ext in '' $ac_executable_extensions; do
12445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12446 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12447 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12456 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12457 if test -n "$NM_FOR_TARGET"; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12459 $as_echo "$NM_FOR_TARGET" >&6; }
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12462 $as_echo "no
" >&6; }
12467 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12468 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12469 set dummy ${ncn_progname}; ac_word=$2
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12471 $as_echo_n "checking
for $ac_word...
" >&6; }
12472 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12473 $as_echo_n "(cached
) " >&6
12475 if test -n "$NM_FOR_TARGET"; then
12476 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12479 for as_dir in $PATH
12482 test -z "$as_dir" && as_dir=.
12483 for ac_exec_ext in '' $ac_executable_extensions; do
12484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12485 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12495 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12496 if test -n "$NM_FOR_TARGET"; then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12498 $as_echo "$NM_FOR_TARGET" >&6; }
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12501 $as_echo "no
" >&6; }
12506 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12510 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12512 if test $build = $target ; then
12515 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12518 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12522 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12528 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12529 if test -n "$with_build_time_tools"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12531 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12532 if test -x $with_build_time_tools/objcopy; then
12533 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12534 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12536 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12539 $as_echo "no
" >&6; }
12541 elif test $build != $host && test $have_gcc_for_target = yes; then
12542 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12543 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12544 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12547 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12548 # Extract the first word of "objcopy
", so it can be a program name with args.
12549 set dummy objcopy; ac_word=$2
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12551 $as_echo_n "checking
for $ac_word...
" >&6; }
12552 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12553 $as_echo_n "(cached
) " >&6
12555 case $OBJCOPY_FOR_TARGET in
12557 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12561 for as_dir in $gcc_cv_tool_dirs
12564 test -z "$as_dir" && as_dir=.
12565 for ac_exec_ext in '' $ac_executable_extensions; do
12566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12567 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12578 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12579 if test -n "$OBJCOPY_FOR_TARGET"; then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12581 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12584 $as_echo "no
" >&6; }
12589 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12592 if test -n "$OBJCOPY_FOR_TARGET"; then
12593 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12594 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12595 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12598 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12599 for ncn_progname in objcopy; do
12600 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12601 set dummy ${ncn_progname}; ac_word=$2
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12603 $as_echo_n "checking
for $ac_word...
" >&6; }
12604 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12605 $as_echo_n "(cached
) " >&6
12607 if test -n "$OBJCOPY_FOR_TARGET"; then
12608 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12611 for as_dir in $PATH
12614 test -z "$as_dir" && as_dir=.
12615 for ac_exec_ext in '' $ac_executable_extensions; do
12616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12617 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12627 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12628 if test -n "$OBJCOPY_FOR_TARGET"; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12630 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12633 $as_echo "no
" >&6; }
12640 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12641 for ncn_progname in objcopy; do
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12643 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12644 if test -x $with_build_time_tools/${ncn_progname}; then
12645 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12647 $as_echo "yes" >&6; }
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12651 $as_echo "no
" >&6; }
12656 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12657 for ncn_progname in objcopy; do
12658 if test -n "$ncn_target_tool_prefix"; then
12659 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12660 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12662 $as_echo_n "checking
for $ac_word...
" >&6; }
12663 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12664 $as_echo_n "(cached
) " >&6
12666 if test -n "$OBJCOPY_FOR_TARGET"; then
12667 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12670 for as_dir in $PATH
12673 test -z "$as_dir" && as_dir=.
12674 for ac_exec_ext in '' $ac_executable_extensions; do
12675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12676 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12686 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12687 if test -n "$OBJCOPY_FOR_TARGET"; then
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12689 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12692 $as_echo "no
" >&6; }
12697 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12699 set dummy ${ncn_progname}; ac_word=$2
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12701 $as_echo_n "checking
for $ac_word...
" >&6; }
12702 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12703 $as_echo_n "(cached
) " >&6
12705 if test -n "$OBJCOPY_FOR_TARGET"; then
12706 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12709 for as_dir in $PATH
12712 test -z "$as_dir" && as_dir=.
12713 for ac_exec_ext in '' $ac_executable_extensions; do
12714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12715 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12725 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12726 if test -n "$OBJCOPY_FOR_TARGET"; then
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12728 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12731 $as_echo "no
" >&6; }
12736 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12740 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12742 if test $build = $target ; then
12743 OBJCOPY_FOR_TARGET="$2"
12745 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12748 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12752 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12758 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12759 if test -n "$with_build_time_tools"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12761 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12762 if test -x $with_build_time_tools/objdump; then
12763 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12764 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12766 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12769 $as_echo "no
" >&6; }
12771 elif test $build != $host && test $have_gcc_for_target = yes; then
12772 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12773 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12774 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12777 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12778 # Extract the first word of "objdump
", so it can be a program name with args.
12779 set dummy objdump; ac_word=$2
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12781 $as_echo_n "checking
for $ac_word...
" >&6; }
12782 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12783 $as_echo_n "(cached
) " >&6
12785 case $OBJDUMP_FOR_TARGET in
12787 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12791 for as_dir in $gcc_cv_tool_dirs
12794 test -z "$as_dir" && as_dir=.
12795 for ac_exec_ext in '' $ac_executable_extensions; do
12796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12797 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12808 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12809 if test -n "$OBJDUMP_FOR_TARGET"; then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12811 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12814 $as_echo "no
" >&6; }
12819 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12822 if test -n "$OBJDUMP_FOR_TARGET"; then
12823 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12824 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12825 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12828 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12829 for ncn_progname in objdump; do
12830 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12831 set dummy ${ncn_progname}; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12833 $as_echo_n "checking
for $ac_word...
" >&6; }
12834 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12835 $as_echo_n "(cached
) " >&6
12837 if test -n "$OBJDUMP_FOR_TARGET"; then
12838 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12841 for as_dir in $PATH
12844 test -z "$as_dir" && as_dir=.
12845 for ac_exec_ext in '' $ac_executable_extensions; do
12846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12847 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12857 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12858 if test -n "$OBJDUMP_FOR_TARGET"; then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12860 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12863 $as_echo "no
" >&6; }
12870 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12871 for ncn_progname in objdump; do
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12873 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12874 if test -x $with_build_time_tools/${ncn_progname}; then
12875 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12877 $as_echo "yes" >&6; }
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12881 $as_echo "no
" >&6; }
12886 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12887 for ncn_progname in objdump; do
12888 if test -n "$ncn_target_tool_prefix"; then
12889 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12890 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12892 $as_echo_n "checking
for $ac_word...
" >&6; }
12893 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12894 $as_echo_n "(cached
) " >&6
12896 if test -n "$OBJDUMP_FOR_TARGET"; then
12897 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12903 test -z "$as_dir" && as_dir=.
12904 for ac_exec_ext in '' $ac_executable_extensions; do
12905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12906 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12916 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12917 if test -n "$OBJDUMP_FOR_TARGET"; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12919 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12922 $as_echo "no
" >&6; }
12927 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12928 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12929 set dummy ${ncn_progname}; ac_word=$2
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12931 $as_echo_n "checking
for $ac_word...
" >&6; }
12932 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12933 $as_echo_n "(cached
) " >&6
12935 if test -n "$OBJDUMP_FOR_TARGET"; then
12936 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12939 for as_dir in $PATH
12942 test -z "$as_dir" && as_dir=.
12943 for ac_exec_ext in '' $ac_executable_extensions; do
12944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12945 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12955 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12956 if test -n "$OBJDUMP_FOR_TARGET"; then
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12958 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12961 $as_echo "no
" >&6; }
12966 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12970 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12972 if test $build = $target ; then
12973 OBJDUMP_FOR_TARGET="$2"
12975 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12978 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12982 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12988 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12989 if test -n "$with_build_time_tools"; then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12991 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12992 if test -x $with_build_time_tools/ranlib; then
12993 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12994 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12996 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12999 $as_echo "no
" >&6; }
13001 elif test $build != $host && test $have_gcc_for_target = yes; then
13002 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13003 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13004 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13007 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13008 # Extract the first word of "ranlib
", so it can be a program name with args.
13009 set dummy ranlib; ac_word=$2
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13011 $as_echo_n "checking
for $ac_word...
" >&6; }
13012 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13013 $as_echo_n "(cached
) " >&6
13015 case $RANLIB_FOR_TARGET in
13017 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13021 for as_dir in $gcc_cv_tool_dirs
13024 test -z "$as_dir" && as_dir=.
13025 for ac_exec_ext in '' $ac_executable_extensions; do
13026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13027 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13038 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13039 if test -n "$RANLIB_FOR_TARGET"; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13041 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13044 $as_echo "no
" >&6; }
13049 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13052 if test -n "$RANLIB_FOR_TARGET"; then
13053 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13054 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13055 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13058 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13059 for ncn_progname in ranlib; do
13060 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13061 set dummy ${ncn_progname}; ac_word=$2
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13063 $as_echo_n "checking
for $ac_word...
" >&6; }
13064 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13065 $as_echo_n "(cached
) " >&6
13067 if test -n "$RANLIB_FOR_TARGET"; then
13068 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13071 for as_dir in $PATH
13074 test -z "$as_dir" && as_dir=.
13075 for ac_exec_ext in '' $ac_executable_extensions; do
13076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13077 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13087 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13088 if test -n "$RANLIB_FOR_TARGET"; then
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13090 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13093 $as_echo "no
" >&6; }
13100 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13101 for ncn_progname in ranlib; do
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13103 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13104 if test -x $with_build_time_tools/${ncn_progname}; then
13105 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13107 $as_echo "yes" >&6; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13111 $as_echo "no
" >&6; }
13116 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13117 for ncn_progname in ranlib; do
13118 if test -n "$ncn_target_tool_prefix"; then
13119 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13120 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13122 $as_echo_n "checking
for $ac_word...
" >&6; }
13123 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13124 $as_echo_n "(cached
) " >&6
13126 if test -n "$RANLIB_FOR_TARGET"; then
13127 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13130 for as_dir in $PATH
13133 test -z "$as_dir" && as_dir=.
13134 for ac_exec_ext in '' $ac_executable_extensions; do
13135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13136 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13146 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13147 if test -n "$RANLIB_FOR_TARGET"; then
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13149 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13152 $as_echo "no
" >&6; }
13157 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13158 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13159 set dummy ${ncn_progname}; ac_word=$2
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13161 $as_echo_n "checking
for $ac_word...
" >&6; }
13162 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13163 $as_echo_n "(cached
) " >&6
13165 if test -n "$RANLIB_FOR_TARGET"; then
13166 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $PATH
13172 test -z "$as_dir" && as_dir=.
13173 for ac_exec_ext in '' $ac_executable_extensions; do
13174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13175 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13185 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13186 if test -n "$RANLIB_FOR_TARGET"; then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13188 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13191 $as_echo "no
" >&6; }
13196 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13200 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13202 if test $build = $target ; then
13203 RANLIB_FOR_TARGET="$2"
13205 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13208 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13212 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13218 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13219 if test -n "$with_build_time_tools"; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13221 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13222 if test -x $with_build_time_tools/readelf; then
13223 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13224 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13226 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13229 $as_echo "no
" >&6; }
13231 elif test $build != $host && test $have_gcc_for_target = yes; then
13232 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13233 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13234 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13237 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13238 # Extract the first word of "readelf
", so it can be a program name with args.
13239 set dummy readelf; ac_word=$2
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13241 $as_echo_n "checking
for $ac_word...
" >&6; }
13242 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13243 $as_echo_n "(cached
) " >&6
13245 case $READELF_FOR_TARGET in
13247 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251 for as_dir in $gcc_cv_tool_dirs
13254 test -z "$as_dir" && as_dir=.
13255 for ac_exec_ext in '' $ac_executable_extensions; do
13256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13257 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13268 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13269 if test -n "$READELF_FOR_TARGET"; then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13271 $as_echo "$READELF_FOR_TARGET" >&6; }
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13274 $as_echo "no
" >&6; }
13279 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13282 if test -n "$READELF_FOR_TARGET"; then
13283 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13284 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13285 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13288 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13289 for ncn_progname in readelf; do
13290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13291 set dummy ${ncn_progname}; ac_word=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13293 $as_echo_n "checking
for $ac_word...
" >&6; }
13294 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13295 $as_echo_n "(cached
) " >&6
13297 if test -n "$READELF_FOR_TARGET"; then
13298 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13307 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13317 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13318 if test -n "$READELF_FOR_TARGET"; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13320 $as_echo "$READELF_FOR_TARGET" >&6; }
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13323 $as_echo "no
" >&6; }
13330 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13331 for ncn_progname in readelf; do
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13333 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13334 if test -x $with_build_time_tools/${ncn_progname}; then
13335 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13337 $as_echo "yes" >&6; }
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13341 $as_echo "no
" >&6; }
13346 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13347 for ncn_progname in readelf; do
13348 if test -n "$ncn_target_tool_prefix"; then
13349 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13350 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13352 $as_echo_n "checking
for $ac_word...
" >&6; }
13353 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13354 $as_echo_n "(cached
) " >&6
13356 if test -n "$READELF_FOR_TARGET"; then
13357 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13360 for as_dir in $PATH
13363 test -z "$as_dir" && as_dir=.
13364 for ac_exec_ext in '' $ac_executable_extensions; do
13365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13366 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13376 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13377 if test -n "$READELF_FOR_TARGET"; then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13379 $as_echo "$READELF_FOR_TARGET" >&6; }
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13382 $as_echo "no
" >&6; }
13387 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13388 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13389 set dummy ${ncn_progname}; ac_word=$2
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13391 $as_echo_n "checking
for $ac_word...
" >&6; }
13392 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13393 $as_echo_n "(cached
) " >&6
13395 if test -n "$READELF_FOR_TARGET"; then
13396 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13399 for as_dir in $PATH
13402 test -z "$as_dir" && as_dir=.
13403 for ac_exec_ext in '' $ac_executable_extensions; do
13404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13405 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13415 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13416 if test -n "$READELF_FOR_TARGET"; then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13418 $as_echo "$READELF_FOR_TARGET" >&6; }
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13421 $as_echo "no
" >&6; }
13426 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13430 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13432 if test $build = $target ; then
13433 READELF_FOR_TARGET="$2"
13435 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13438 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13442 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13448 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13449 if test -n "$with_build_time_tools"; then
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13451 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13452 if test -x $with_build_time_tools/strip; then
13453 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13454 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13456 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13459 $as_echo "no
" >&6; }
13461 elif test $build != $host && test $have_gcc_for_target = yes; then
13462 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13463 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13464 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13467 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13468 # Extract the first word of "strip
", so it can be a program name with args.
13469 set dummy strip; ac_word=$2
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13471 $as_echo_n "checking
for $ac_word...
" >&6; }
13472 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13473 $as_echo_n "(cached
) " >&6
13475 case $STRIP_FOR_TARGET in
13477 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13481 for as_dir in $gcc_cv_tool_dirs
13484 test -z "$as_dir" && as_dir=.
13485 for ac_exec_ext in '' $ac_executable_extensions; do
13486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13487 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13498 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13499 if test -n "$STRIP_FOR_TARGET"; then
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13501 $as_echo "$STRIP_FOR_TARGET" >&6; }
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13504 $as_echo "no
" >&6; }
13509 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13512 if test -n "$STRIP_FOR_TARGET"; then
13513 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13514 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13515 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13518 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13519 for ncn_progname in strip; do
13520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13521 set dummy ${ncn_progname}; ac_word=$2
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13523 $as_echo_n "checking
for $ac_word...
" >&6; }
13524 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13525 $as_echo_n "(cached
) " >&6
13527 if test -n "$STRIP_FOR_TARGET"; then
13528 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13531 for as_dir in $PATH
13534 test -z "$as_dir" && as_dir=.
13535 for ac_exec_ext in '' $ac_executable_extensions; do
13536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13537 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13547 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13548 if test -n "$STRIP_FOR_TARGET"; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13550 $as_echo "$STRIP_FOR_TARGET" >&6; }
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13553 $as_echo "no
" >&6; }
13560 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13561 for ncn_progname in strip; do
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13563 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13564 if test -x $with_build_time_tools/${ncn_progname}; then
13565 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13567 $as_echo "yes" >&6; }
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13571 $as_echo "no
" >&6; }
13576 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13577 for ncn_progname in strip; do
13578 if test -n "$ncn_target_tool_prefix"; then
13579 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13580 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13582 $as_echo_n "checking
for $ac_word...
" >&6; }
13583 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13584 $as_echo_n "(cached
) " >&6
13586 if test -n "$STRIP_FOR_TARGET"; then
13587 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13590 for as_dir in $PATH
13593 test -z "$as_dir" && as_dir=.
13594 for ac_exec_ext in '' $ac_executable_extensions; do
13595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13606 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13607 if test -n "$STRIP_FOR_TARGET"; then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13609 $as_echo "$STRIP_FOR_TARGET" >&6; }
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13612 $as_echo "no
" >&6; }
13617 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13618 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13619 set dummy ${ncn_progname}; ac_word=$2
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13621 $as_echo_n "checking
for $ac_word...
" >&6; }
13622 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13623 $as_echo_n "(cached
) " >&6
13625 if test -n "$STRIP_FOR_TARGET"; then
13626 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13629 for as_dir in $PATH
13632 test -z "$as_dir" && as_dir=.
13633 for ac_exec_ext in '' $ac_executable_extensions; do
13634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13635 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13645 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13646 if test -n "$STRIP_FOR_TARGET"; then
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13648 $as_echo "$STRIP_FOR_TARGET" >&6; }
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13651 $as_echo "no
" >&6; }
13656 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13660 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13662 if test $build = $target ; then
13663 STRIP_FOR_TARGET="$2"
13665 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13668 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13672 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13678 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13679 if test -n "$with_build_time_tools"; then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13681 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13682 if test -x $with_build_time_tools/windres; then
13683 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13684 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13686 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13689 $as_echo "no
" >&6; }
13691 elif test $build != $host && test $have_gcc_for_target = yes; then
13692 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13693 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13694 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13697 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13698 # Extract the first word of "windres
", so it can be a program name with args.
13699 set dummy windres; ac_word=$2
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13701 $as_echo_n "checking
for $ac_word...
" >&6; }
13702 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13703 $as_echo_n "(cached
) " >&6
13705 case $WINDRES_FOR_TARGET in
13707 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13711 for as_dir in $gcc_cv_tool_dirs
13714 test -z "$as_dir" && as_dir=.
13715 for ac_exec_ext in '' $ac_executable_extensions; do
13716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13717 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13728 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13729 if test -n "$WINDRES_FOR_TARGET"; then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13731 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13734 $as_echo "no
" >&6; }
13739 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13742 if test -n "$WINDRES_FOR_TARGET"; then
13743 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13744 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13745 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13748 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13749 for ncn_progname in windres; do
13750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13751 set dummy ${ncn_progname}; ac_word=$2
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13753 $as_echo_n "checking
for $ac_word...
" >&6; }
13754 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13755 $as_echo_n "(cached
) " >&6
13757 if test -n "$WINDRES_FOR_TARGET"; then
13758 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13761 for as_dir in $PATH
13764 test -z "$as_dir" && as_dir=.
13765 for ac_exec_ext in '' $ac_executable_extensions; do
13766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13767 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13777 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13778 if test -n "$WINDRES_FOR_TARGET"; then
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13780 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13783 $as_echo "no
" >&6; }
13790 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13791 for ncn_progname in windres; do
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13793 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13794 if test -x $with_build_time_tools/${ncn_progname}; then
13795 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13797 $as_echo "yes" >&6; }
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13801 $as_echo "no
" >&6; }
13806 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13807 for ncn_progname in windres; do
13808 if test -n "$ncn_target_tool_prefix"; then
13809 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13810 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13812 $as_echo_n "checking
for $ac_word...
" >&6; }
13813 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13814 $as_echo_n "(cached
) " >&6
13816 if test -n "$WINDRES_FOR_TARGET"; then
13817 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13820 for as_dir in $PATH
13823 test -z "$as_dir" && as_dir=.
13824 for ac_exec_ext in '' $ac_executable_extensions; do
13825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13826 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13836 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13837 if test -n "$WINDRES_FOR_TARGET"; then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13839 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13842 $as_echo "no
" >&6; }
13847 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13848 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13849 set dummy ${ncn_progname}; ac_word=$2
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13851 $as_echo_n "checking
for $ac_word...
" >&6; }
13852 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13853 $as_echo_n "(cached
) " >&6
13855 if test -n "$WINDRES_FOR_TARGET"; then
13856 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13859 for as_dir in $PATH
13862 test -z "$as_dir" && as_dir=.
13863 for ac_exec_ext in '' $ac_executable_extensions; do
13864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13865 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13875 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13876 if test -n "$WINDRES_FOR_TARGET"; then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13878 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13881 $as_echo "no
" >&6; }
13886 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13890 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13892 if test $build = $target ; then
13893 WINDRES_FOR_TARGET="$2"
13895 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13898 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13902 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13908 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13909 if test -n "$with_build_time_tools"; then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13911 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13912 if test -x $with_build_time_tools/windmc; then
13913 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13914 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13916 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13919 $as_echo "no
" >&6; }
13921 elif test $build != $host && test $have_gcc_for_target = yes; then
13922 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13923 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13924 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13927 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13928 # Extract the first word of "windmc
", so it can be a program name with args.
13929 set dummy windmc; ac_word=$2
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13931 $as_echo_n "checking
for $ac_word...
" >&6; }
13932 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13933 $as_echo_n "(cached
) " >&6
13935 case $WINDMC_FOR_TARGET in
13937 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13941 for as_dir in $gcc_cv_tool_dirs
13944 test -z "$as_dir" && as_dir=.
13945 for ac_exec_ext in '' $ac_executable_extensions; do
13946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13947 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13958 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13959 if test -n "$WINDMC_FOR_TARGET"; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13961 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13964 $as_echo "no
" >&6; }
13969 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13972 if test -n "$WINDMC_FOR_TARGET"; then
13973 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13974 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13975 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13978 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13979 for ncn_progname in windmc; do
13980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13981 set dummy ${ncn_progname}; ac_word=$2
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13983 $as_echo_n "checking
for $ac_word...
" >&6; }
13984 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13985 $as_echo_n "(cached
) " >&6
13987 if test -n "$WINDMC_FOR_TARGET"; then
13988 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13991 for as_dir in $PATH
13994 test -z "$as_dir" && as_dir=.
13995 for ac_exec_ext in '' $ac_executable_extensions; do
13996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13997 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14007 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14008 if test -n "$WINDMC_FOR_TARGET"; then
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14010 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14013 $as_echo "no
" >&6; }
14020 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14021 for ncn_progname in windmc; do
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14023 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14024 if test -x $with_build_time_tools/${ncn_progname}; then
14025 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14027 $as_echo "yes" >&6; }
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14031 $as_echo "no
" >&6; }
14036 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14037 for ncn_progname in windmc; do
14038 if test -n "$ncn_target_tool_prefix"; then
14039 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14040 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14042 $as_echo_n "checking
for $ac_word...
" >&6; }
14043 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14044 $as_echo_n "(cached
) " >&6
14046 if test -n "$WINDMC_FOR_TARGET"; then
14047 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14050 for as_dir in $PATH
14053 test -z "$as_dir" && as_dir=.
14054 for ac_exec_ext in '' $ac_executable_extensions; do
14055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14056 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14066 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14067 if test -n "$WINDMC_FOR_TARGET"; then
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14069 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14072 $as_echo "no
" >&6; }
14077 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14078 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14079 set dummy ${ncn_progname}; ac_word=$2
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14081 $as_echo_n "checking
for $ac_word...
" >&6; }
14082 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14083 $as_echo_n "(cached
) " >&6
14085 if test -n "$WINDMC_FOR_TARGET"; then
14086 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14089 for as_dir in $PATH
14092 test -z "$as_dir" && as_dir=.
14093 for ac_exec_ext in '' $ac_executable_extensions; do
14094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14095 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14105 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14106 if test -n "$WINDMC_FOR_TARGET"; then
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14108 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14111 $as_echo "no
" >&6; }
14116 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14120 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14122 if test $build = $target ; then
14123 WINDMC_FOR_TARGET="$2"
14125 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14128 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14132 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14136 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14139 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14140 if test "x
${build}" != "x
${host}" ; then
14141 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14142 # We already found the complete path
14143 ac_dir=`dirname $AR_FOR_TARGET`
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14145 $as_echo "pre-installed
in $ac_dir" >&6; }
14147 # Canadian cross, just use what we found
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14149 $as_echo "pre-installed
" >&6; }
14153 case " ${configdirs} " in
14158 if test $ok = yes; then
14159 # An in-tree tool is available and we can use it
14160 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14162 $as_echo "just compiled
" >&6; }
14163 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14164 # We already found the complete path
14165 ac_dir=`dirname $AR_FOR_TARGET`
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14167 $as_echo "pre-installed
in $ac_dir" >&6; }
14168 elif test "x
$target" = "x
$host"; then
14169 # We can use an host tool
14170 AR_FOR_TARGET='$(AR)'
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14172 $as_echo "host tool
" >&6; }
14174 # We need a cross tool
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14176 $as_echo "pre-installed
" >&6; }
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14181 $as_echo_n "checking where to
find the target as...
" >&6; }
14182 if test "x
${build}" != "x
${host}" ; then
14183 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14184 # We already found the complete path
14185 ac_dir=`dirname $AS_FOR_TARGET`
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14187 $as_echo "pre-installed
in $ac_dir" >&6; }
14189 # Canadian cross, just use what we found
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14191 $as_echo "pre-installed
" >&6; }
14195 case " ${configdirs} " in
14200 if test $ok = yes; then
14201 # An in-tree tool is available and we can use it
14202 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14204 $as_echo "just compiled
" >&6; }
14205 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14206 # We already found the complete path
14207 ac_dir=`dirname $AS_FOR_TARGET`
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14209 $as_echo "pre-installed
in $ac_dir" >&6; }
14210 elif test "x
$target" = "x
$host"; then
14211 # We can use an host tool
14212 AS_FOR_TARGET='$(AS)'
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14214 $as_echo "host tool
" >&6; }
14216 # We need a cross tool
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14218 $as_echo "pre-installed
" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14223 $as_echo_n "checking where to
find the target cc...
" >&6; }
14224 if test "x
${build}" != "x
${host}" ; then
14225 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14226 # We already found the complete path
14227 ac_dir=`dirname $CC_FOR_TARGET`
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14229 $as_echo "pre-installed
in $ac_dir" >&6; }
14231 # Canadian cross, just use what we found
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14233 $as_echo "pre-installed
" >&6; }
14237 case " ${configdirs} " in
14242 if test $ok = yes; then
14243 # An in-tree tool is available and we can use it
14244 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14246 $as_echo "just compiled
" >&6; }
14247 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14248 # We already found the complete path
14249 ac_dir=`dirname $CC_FOR_TARGET`
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14251 $as_echo "pre-installed
in $ac_dir" >&6; }
14252 elif test "x
$target" = "x
$host"; then
14253 # We can use an host tool
14254 CC_FOR_TARGET='$(CC)'
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14256 $as_echo "host tool
" >&6; }
14258 # We need a cross tool
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14260 $as_echo "pre-installed
" >&6; }
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14265 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14266 if test "x
${build}" != "x
${host}" ; then
14267 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14268 # We already found the complete path
14269 ac_dir=`dirname $CXX_FOR_TARGET`
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14271 $as_echo "pre-installed
in $ac_dir" >&6; }
14273 # Canadian cross, just use what we found
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14275 $as_echo "pre-installed
" >&6; }
14279 case " ${configdirs} " in
14283 case ,${enable_languages}, in
14287 if test $ok = yes; then
14288 # An in-tree tool is available and we can use it
14289 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'
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14291 $as_echo "just compiled
" >&6; }
14292 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14293 # We already found the complete path
14294 ac_dir=`dirname $CXX_FOR_TARGET`
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14296 $as_echo "pre-installed
in $ac_dir" >&6; }
14297 elif test "x
$target" = "x
$host"; then
14298 # We can use an host tool
14299 CXX_FOR_TARGET='$(CXX)'
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14301 $as_echo "host tool
" >&6; }
14303 # We need a cross tool
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14305 $as_echo "pre-installed
" >&6; }
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14310 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14311 if test "x
${build}" != "x
${host}" ; then
14312 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14313 # We already found the complete path
14314 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14316 $as_echo "pre-installed
in $ac_dir" >&6; }
14318 # Canadian cross, just use what we found
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14320 $as_echo "pre-installed
" >&6; }
14324 case " ${configdirs} " in
14328 case ,${enable_languages}, in
14332 if test $ok = yes; then
14333 # An in-tree tool is available and we can use it
14334 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'
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14336 $as_echo "just compiled
" >&6; }
14337 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14338 # We already found the complete path
14339 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14341 $as_echo "pre-installed
in $ac_dir" >&6; }
14342 elif test "x
$target" = "x
$host"; then
14343 # We can use an host tool
14344 RAW_CXX_FOR_TARGET='$(CXX)'
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14346 $as_echo "host tool
" >&6; }
14348 # We need a cross tool
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14350 $as_echo "pre-installed
" >&6; }
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14355 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14356 if test "x
${build}" != "x
${host}" ; then
14357 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14358 # We already found the complete path
14359 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14361 $as_echo "pre-installed
in $ac_dir" >&6; }
14363 # Canadian cross, just use what we found
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14365 $as_echo "pre-installed
" >&6; }
14369 case " ${configdirs} " in
14374 if test $ok = yes; then
14375 # An in-tree tool is available and we can use it
14376 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14378 $as_echo "just compiled
" >&6; }
14379 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14380 # We already found the complete path
14381 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14383 $as_echo "pre-installed
in $ac_dir" >&6; }
14384 elif test "x
$target" = "x
$host"; then
14385 # We can use an host tool
14386 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14388 $as_echo "host tool
" >&6; }
14390 # We need a cross tool
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14392 $as_echo "pre-installed
" >&6; }
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14397 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14398 if test "x
${build}" != "x
${host}" ; then
14399 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14400 # We already found the complete path
14401 ac_dir=`dirname $GCC_FOR_TARGET`
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14403 $as_echo "pre-installed
in $ac_dir" >&6; }
14405 # Canadian cross, just use what we found
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14407 $as_echo "pre-installed
" >&6; }
14411 case " ${configdirs} " in
14416 if test $ok = yes; then
14417 # An in-tree tool is available and we can use it
14418 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14420 $as_echo "just compiled
" >&6; }
14421 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14422 # We already found the complete path
14423 ac_dir=`dirname $GCC_FOR_TARGET`
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14425 $as_echo "pre-installed
in $ac_dir" >&6; }
14426 elif test "x
$target" = "x
$host"; then
14427 # We can use an host tool
14428 GCC_FOR_TARGET='$()'
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14430 $as_echo "host tool
" >&6; }
14432 # We need a cross tool
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14434 $as_echo "pre-installed
" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14439 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14440 if test "x
${build}" != "x
${host}" ; then
14441 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14442 # We already found the complete path
14443 ac_dir=`dirname $GCJ_FOR_TARGET`
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14445 $as_echo "pre-installed
in $ac_dir" >&6; }
14447 # Canadian cross, just use what we found
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14449 $as_echo "pre-installed
" >&6; }
14453 case " ${configdirs} " in
14457 case ,${enable_languages}, in
14461 if test $ok = yes; then
14462 # An in-tree tool is available and we can use it
14463 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14465 $as_echo "just compiled
" >&6; }
14466 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14467 # We already found the complete path
14468 ac_dir=`dirname $GCJ_FOR_TARGET`
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14470 $as_echo "pre-installed
in $ac_dir" >&6; }
14471 elif test "x
$target" = "x
$host"; then
14472 # We can use an host tool
14473 GCJ_FOR_TARGET='$(GCJ)'
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14475 $as_echo "host tool
" >&6; }
14477 # We need a cross tool
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14479 $as_echo "pre-installed
" >&6; }
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14484 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14485 if test "x
${build}" != "x
${host}" ; then
14486 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14487 # We already found the complete path
14488 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14490 $as_echo "pre-installed
in $ac_dir" >&6; }
14492 # Canadian cross, just use what we found
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14494 $as_echo "pre-installed
" >&6; }
14498 case " ${configdirs} " in
14502 case ,${enable_languages}, in
14506 if test $ok = yes; then
14507 # An in-tree tool is available and we can use it
14508 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14510 $as_echo "just compiled
" >&6; }
14511 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14512 # We already found the complete path
14513 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14515 $as_echo "pre-installed
in $ac_dir" >&6; }
14516 elif test "x
$target" = "x
$host"; then
14517 # We can use an host tool
14518 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14520 $as_echo "host tool
" >&6; }
14522 # We need a cross tool
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14524 $as_echo "pre-installed
" >&6; }
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14529 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14530 if test "x
${build}" != "x
${host}" ; then
14531 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14532 # We already found the complete path
14533 ac_dir=`dirname $GOC_FOR_TARGET`
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14535 $as_echo "pre-installed
in $ac_dir" >&6; }
14537 # Canadian cross, just use what we found
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14539 $as_echo "pre-installed
" >&6; }
14543 case " ${configdirs} " in
14547 case ,${enable_languages}, in
14551 if test $ok = yes; then
14552 # An in-tree tool is available and we can use it
14553 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14555 $as_echo "just compiled
" >&6; }
14556 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14557 # We already found the complete path
14558 ac_dir=`dirname $GOC_FOR_TARGET`
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14560 $as_echo "pre-installed
in $ac_dir" >&6; }
14561 elif test "x
$target" = "x
$host"; then
14562 # We can use an host tool
14563 GOC_FOR_TARGET='$(GOC)'
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14565 $as_echo "host tool
" >&6; }
14567 # We need a cross tool
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14569 $as_echo "pre-installed
" >&6; }
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14574 $as_echo_n "checking where to
find the target ld...
" >&6; }
14575 if test "x
${build}" != "x
${host}" ; then
14576 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14577 # We already found the complete path
14578 ac_dir=`dirname $LD_FOR_TARGET`
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14580 $as_echo "pre-installed
in $ac_dir" >&6; }
14582 # Canadian cross, just use what we found
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14584 $as_echo "pre-installed
" >&6; }
14588 case " ${configdirs} " in
14593 if test $ok = yes; then
14594 # An in-tree tool is available and we can use it
14595 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14597 $as_echo "just compiled
" >&6; }
14598 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14599 # We already found the complete path
14600 ac_dir=`dirname $LD_FOR_TARGET`
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14602 $as_echo "pre-installed
in $ac_dir" >&6; }
14603 elif test "x
$target" = "x
$host"; then
14604 # We can use an host tool
14605 LD_FOR_TARGET='$(LD)'
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14607 $as_echo "host tool
" >&6; }
14609 # We need a cross tool
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14611 $as_echo "pre-installed
" >&6; }
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14616 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14617 if test "x
${build}" != "x
${host}" ; then
14618 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14619 # We already found the complete path
14620 ac_dir=`dirname $LIPO_FOR_TARGET`
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14622 $as_echo "pre-installed
in $ac_dir" >&6; }
14624 # Canadian cross, just use what we found
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14626 $as_echo "pre-installed
" >&6; }
14629 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14630 # We already found the complete path
14631 ac_dir=`dirname $LIPO_FOR_TARGET`
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14633 $as_echo "pre-installed
in $ac_dir" >&6; }
14634 elif test "x
$target" = "x
$host"; then
14635 # We can use an host tool
14636 LIPO_FOR_TARGET='$(LIPO)'
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14638 $as_echo "host tool
" >&6; }
14640 # We need a cross tool
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14642 $as_echo "pre-installed
" >&6; }
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14647 $as_echo_n "checking where to
find the target nm...
" >&6; }
14648 if test "x
${build}" != "x
${host}" ; then
14649 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14650 # We already found the complete path
14651 ac_dir=`dirname $NM_FOR_TARGET`
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14653 $as_echo "pre-installed
in $ac_dir" >&6; }
14655 # Canadian cross, just use what we found
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14657 $as_echo "pre-installed
" >&6; }
14661 case " ${configdirs} " in
14666 if test $ok = yes; then
14667 # An in-tree tool is available and we can use it
14668 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14670 $as_echo "just compiled
" >&6; }
14671 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14672 # We already found the complete path
14673 ac_dir=`dirname $NM_FOR_TARGET`
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14675 $as_echo "pre-installed
in $ac_dir" >&6; }
14676 elif test "x
$target" = "x
$host"; then
14677 # We can use an host tool
14678 NM_FOR_TARGET='$(NM)'
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14680 $as_echo "host tool
" >&6; }
14682 # We need a cross tool
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14684 $as_echo "pre-installed
" >&6; }
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14689 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14690 if test "x
${build}" != "x
${host}" ; then
14691 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14692 # We already found the complete path
14693 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14695 $as_echo "pre-installed
in $ac_dir" >&6; }
14697 # Canadian cross, just use what we found
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14699 $as_echo "pre-installed
" >&6; }
14703 case " ${configdirs} " in
14708 if test $ok = yes; then
14709 # An in-tree tool is available and we can use it
14710 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14712 $as_echo "just compiled
" >&6; }
14713 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14714 # We already found the complete path
14715 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14717 $as_echo "pre-installed
in $ac_dir" >&6; }
14718 elif test "x
$target" = "x
$host"; then
14719 # We can use an host tool
14720 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14722 $as_echo "host tool
" >&6; }
14724 # We need a cross tool
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14726 $as_echo "pre-installed
" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14731 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14732 if test "x
${build}" != "x
${host}" ; then
14733 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14734 # We already found the complete path
14735 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14737 $as_echo "pre-installed
in $ac_dir" >&6; }
14739 # Canadian cross, just use what we found
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14741 $as_echo "pre-installed
" >&6; }
14745 case " ${configdirs} " in
14750 if test $ok = yes; then
14751 # An in-tree tool is available and we can use it
14752 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14754 $as_echo "just compiled
" >&6; }
14755 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14756 # We already found the complete path
14757 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14759 $as_echo "pre-installed
in $ac_dir" >&6; }
14760 elif test "x
$target" = "x
$host"; then
14761 # We can use an host tool
14762 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14764 $as_echo "host tool
" >&6; }
14766 # We need a cross tool
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14768 $as_echo "pre-installed
" >&6; }
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14773 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14774 if test "x
${build}" != "x
${host}" ; then
14775 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14776 # We already found the complete path
14777 ac_dir=`dirname $RANLIB_FOR_TARGET`
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14779 $as_echo "pre-installed
in $ac_dir" >&6; }
14781 # Canadian cross, just use what we found
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14783 $as_echo "pre-installed
" >&6; }
14787 case " ${configdirs} " in
14792 if test $ok = yes; then
14793 # An in-tree tool is available and we can use it
14794 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14796 $as_echo "just compiled
" >&6; }
14797 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14798 # We already found the complete path
14799 ac_dir=`dirname $RANLIB_FOR_TARGET`
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14801 $as_echo "pre-installed
in $ac_dir" >&6; }
14802 elif test "x
$target" = "x
$host"; then
14803 # We can use an host tool
14804 RANLIB_FOR_TARGET='$(RANLIB)'
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14806 $as_echo "host tool
" >&6; }
14808 # We need a cross tool
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14810 $as_echo "pre-installed
" >&6; }
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14815 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14816 if test "x
${build}" != "x
${host}" ; then
14817 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14818 # We already found the complete path
14819 ac_dir=`dirname $READELF_FOR_TARGET`
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14821 $as_echo "pre-installed
in $ac_dir" >&6; }
14823 # Canadian cross, just use what we found
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14825 $as_echo "pre-installed
" >&6; }
14829 case " ${configdirs} " in
14834 if test $ok = yes; then
14835 # An in-tree tool is available and we can use it
14836 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14838 $as_echo "just compiled
" >&6; }
14839 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14840 # We already found the complete path
14841 ac_dir=`dirname $READELF_FOR_TARGET`
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14843 $as_echo "pre-installed
in $ac_dir" >&6; }
14844 elif test "x
$target" = "x
$host"; then
14845 # We can use an host tool
14846 READELF_FOR_TARGET='$(READELF)'
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14848 $as_echo "host tool
" >&6; }
14850 # We need a cross tool
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14852 $as_echo "pre-installed
" >&6; }
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14857 $as_echo_n "checking where to
find the target strip...
" >&6; }
14858 if test "x
${build}" != "x
${host}" ; then
14859 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14860 # We already found the complete path
14861 ac_dir=`dirname $STRIP_FOR_TARGET`
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14863 $as_echo "pre-installed
in $ac_dir" >&6; }
14865 # Canadian cross, just use what we found
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14867 $as_echo "pre-installed
" >&6; }
14871 case " ${configdirs} " in
14876 if test $ok = yes; then
14877 # An in-tree tool is available and we can use it
14878 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14880 $as_echo "just compiled
" >&6; }
14881 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14882 # We already found the complete path
14883 ac_dir=`dirname $STRIP_FOR_TARGET`
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14885 $as_echo "pre-installed
in $ac_dir" >&6; }
14886 elif test "x
$target" = "x
$host"; then
14887 # We can use an host tool
14888 STRIP_FOR_TARGET='$(STRIP)'
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14890 $as_echo "host tool
" >&6; }
14892 # We need a cross tool
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14894 $as_echo "pre-installed
" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14899 $as_echo_n "checking where to
find the target windres...
" >&6; }
14900 if test "x
${build}" != "x
${host}" ; then
14901 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14902 # We already found the complete path
14903 ac_dir=`dirname $WINDRES_FOR_TARGET`
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14905 $as_echo "pre-installed
in $ac_dir" >&6; }
14907 # Canadian cross, just use what we found
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14909 $as_echo "pre-installed
" >&6; }
14913 case " ${configdirs} " in
14918 if test $ok = yes; then
14919 # An in-tree tool is available and we can use it
14920 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14922 $as_echo "just compiled
" >&6; }
14923 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14924 # We already found the complete path
14925 ac_dir=`dirname $WINDRES_FOR_TARGET`
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14927 $as_echo "pre-installed
in $ac_dir" >&6; }
14928 elif test "x
$target" = "x
$host"; then
14929 # We can use an host tool
14930 WINDRES_FOR_TARGET='$(WINDRES)'
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14932 $as_echo "host tool
" >&6; }
14934 # We need a cross tool
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14936 $as_echo "pre-installed
" >&6; }
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14941 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14942 if test "x
${build}" != "x
${host}" ; then
14943 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14944 # We already found the complete path
14945 ac_dir=`dirname $WINDMC_FOR_TARGET`
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14947 $as_echo "pre-installed
in $ac_dir" >&6; }
14949 # Canadian cross, just use what we found
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14951 $as_echo "pre-installed
" >&6; }
14955 case " ${configdirs} " in
14960 if test $ok = yes; then
14961 # An in-tree tool is available and we can use it
14962 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14964 $as_echo "just compiled
" >&6; }
14965 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14966 # We already found the complete path
14967 ac_dir=`dirname $WINDMC_FOR_TARGET`
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14969 $as_echo "pre-installed
in $ac_dir" >&6; }
14970 elif test "x
$target" = "x
$host"; then
14971 # We can use an host tool
14972 WINDMC_FOR_TARGET='$(WINDMC)'
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14974 $as_echo "host tool
" >&6; }
14976 # We need a cross tool
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14978 $as_echo "pre-installed
" >&6; }
14986 # Certain tools may need extra flags.
14987 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14988 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14989 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14991 # When building target libraries, except in a Canadian cross, we use
14992 # the same toolchain as the compiler we just built.
14993 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14994 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14995 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14996 if test $host = $build; then
14997 case " $configdirs " in
14999 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15000 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15001 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15011 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15012 # Check whether --enable-maintainer-mode was given.
15013 if test "${enable_maintainer_mode+set}" = set; then :
15014 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15016 USE_MAINTAINER_MODE=no
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15020 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15023 if test "$USE_MAINTAINER_MODE" = yes; then
15024 MAINTAINER_MODE_TRUE=
15025 MAINTAINER_MODE_FALSE='#'
15027 MAINTAINER_MODE_TRUE='#'
15028 MAINTAINER_MODE_FALSE=
15030 MAINT=$MAINTAINER_MODE_TRUE
15032 # ---------------------
15033 # GCC bootstrap support
15034 # ---------------------
15036 # Stage specific cflags for build.
15041 yes) stage1_cflags="-g -Wa,-J" ;;
15042 *) stage1_cflags="-g -J" ;;
15048 # Enable --enable-checking in stage1 of the compiler.
15049 # Check whether --enable-stage1-checking was given.
15050 if test "${enable_stage1_checking+set}" = set; then :
15051 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15053 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15054 # For --disable-checking or implicit --enable-checking=release, avoid
15055 # setting --enable-checking=gc in the default stage1 checking for LTO
15056 # bootstraps. See PR62077.
15057 case $BUILD_CONFIG in
15059 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15061 stage1_checking=--enable-checking=yes,types;;
15063 if test "x
$enable_checking" = x && \
15064 test -d ${srcdir}/gcc && \
15065 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15066 stage1_checking=--enable-checking=yes,types,extra
15069 stage1_checking=--enable-checking=$enable_checking,types
15075 # Enable -Werror in bootstrap stage2 and later.
15076 # Check whether --enable-werror was given.
15077 if test "${enable_werror+set}" = set; then :
15078 enableval=$enable_werror;
15080 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15087 case ${enable_werror} in
15088 yes) stage2_werror_flag="--enable-werror-always" ;;
15089 *) stage2_werror_flag="" ;;
15093 # Enable --enable-host-shared.
15094 # Check whether --enable-host-shared was given.
15095 if test "${enable_host_shared+set}" = set; then :
15096 enableval=$enable_host_shared; host_shared=$enableval
15103 # PR jit/64780: Require the user to explicitly specify
15104 # --enable-host-shared if the jit is enabled, hinting
15105 # that they might want to do a separate configure/build of
15106 # the jit, to avoid users from slowing down the rest of the
15107 # compiler by enabling the jit.
15108 if test ${host_shared} = "no
" ; then
15109 case "${enable_languages}" in
15112 Enabling language
\"jit
\" requires
--enable-host-shared.
15114 --enable-host-shared typically slows the rest of the compiler down by
15115 a few
%, so you must explicitly
enable it.
15117 If you want to build both the jit and the regular compiler
, it is often
15118 best to
do this via two separate configure
/builds
, in separate
15119 directories
, to avoid imposing the performance cost of
15120 --enable-host-shared on the regular compiler.
" "$LINENO" 5
15127 # Specify what files to not compare during bootstrap.
15129 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15131 hppa*64*-*-hpux*) ;;
15132 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
15133 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15137 ac_config_files="$ac_config_files Makefile
"
15139 cat >confcache <<\_ACEOF
15140 # This file is a shell script that caches the results of configure
15141 # tests run on this system so they can be shared between configure
15142 # scripts and configure runs, see configure's option --config-cache.
15143 # It is not useful on other systems. If it contains results you don't
15144 # want to keep, you may remove or edit it.
15146 # config.status only pays attention to the cache file if you give it
15147 # the --recheck option to rerun configure.
15149 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15150 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15151 # following values.
15155 # The following way of writing the cache mishandles newlines in values,
15156 # but we know of no workaround that is simple, portable, and efficient.
15157 # So, we kill variables containing newlines.
15158 # Ultrix sh set writes to stderr and can't be redirected directly,
15159 # and sets the high bit in the cache file unless we assign to the vars.
15161 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15162 eval ac_val=\$$ac_var
15166 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15167 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15170 _ | IFS | as_nl) ;; #(
15171 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15172 *) { eval $ac_var=; unset $ac_var;} ;;
15178 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15179 *${as_nl}ac_space=\ *)
15180 # `set' does not quote correctly, so add quotes: double-quote
15181 # substitution turns \\\\ into \\, and sed turns \\ into \.
15184 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15187 # `set' quotes correctly as required by POSIX, so do not add quotes.
15188 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15197 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15199 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15201 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15202 if test -w "$cache_file"; then
15203 if test "x
$cache_file" != "x
/dev
/null
"; then
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15205 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15206 if test ! -f "$cache_file" || test -h "$cache_file"; then
15207 cat confcache >"$cache_file"
15209 case $cache_file in #(
15211 mv -f confcache "$cache_file"$$ &&
15212 mv -f "$cache_file"$$ "$cache_file" ;; #(
15214 mv -f confcache "$cache_file" ;;
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15220 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15225 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15226 # Let make expand exec_prefix.
15227 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15229 # Transform confdefs.h into DEFS.
15230 # Protect against shell expansion while executing Makefile rules.
15231 # Protect against Makefile macro expansion.
15233 # If the first sed substitution is executed (which looks for macros that
15234 # take arguments), then branch to the quote section. Otherwise,
15235 # look for a macro that doesn't take arguments.
15245 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15247 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15251 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15264 DEFS=`sed -n "$ac_script" confdefs.h`
15270 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15271 # 1. Remove the extension, and $U if already installed.
15272 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15273 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15274 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15275 # will be set to the directory where LIBOBJS objects are built.
15276 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15277 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15279 LIBOBJS=$ac_libobjs
15281 LTLIBOBJS=$ac_ltlibobjs
15285 : "${CONFIG_STATUS=./config.status}"
15287 ac_clean_files_save=$ac_clean_files
15288 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15290 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15292 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15294 # Generated by $as_me.
15295 # Run this file to recreate the current configuration.
15296 # Compiler output produced by configure, useful for debugging
15297 # configure, is in config.log if it exists.
15300 ac_cs_recheck=false
15303 SHELL=\${CONFIG_SHELL-$SHELL}
15306 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15307 ## -------------------- ##
15308 ## M4sh Initialization. ##
15309 ## -------------------- ##
15311 # Be more Bourne compatible
15312 DUALCASE=1; export DUALCASE # for MKS sh
15313 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15316 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15317 # is contrary to our usage. Disable this feature.
15318 alias -g '${1+"$@"}'='"$@"'
15319 setopt NO_GLOB_SUBST
15321 case `(set -o) 2>/dev/null` in #(
15333 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15334 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15335 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15336 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15337 # Prefer a ksh shell builtin over an external printf program on Solaris,
15338 # but without wasting forks for bash or zsh.
15339 if test -z "$BASH_VERSION$ZSH_VERSION" \
15340 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15341 as_echo
='print -r --'
15342 as_echo_n
='print -rn --'
15343 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15344 as_echo
='printf %s\n'
15345 as_echo_n
='printf %s'
15347 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15348 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15349 as_echo_n
='/usr/ucb/echo -n'
15351 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15352 as_echo_n_body
='eval
15356 expr "X$arg" : "X\\(.*\\)$as_nl";
15357 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15359 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15361 export as_echo_n_body
15362 as_echo_n
='sh -c $as_echo_n_body as_echo'
15364 export as_echo_body
15365 as_echo
='sh -c $as_echo_body as_echo'
15368 # The user is always right.
15369 if test "${PATH_SEPARATOR+set}" != set; then
15371 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15372 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15379 # We need space, tab and new line, in precisely that order. Quoting is
15380 # there to prevent editors from complaining about space-tab.
15381 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15382 # splitting by setting IFS to empty value.)
15385 # Find who we are. Look in the path if we contain no directory separator.
15388 *[\\/]* ) as_myself
=$0 ;;
15389 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15390 for as_dir
in $PATH
15393 test -z "$as_dir" && as_dir
=.
15394 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15400 # We did not find ourselves, most probably we were run as `sh COMMAND'
15401 # in which case we are not to be found in the path.
15402 if test "x$as_myself" = x
; then
15405 if test ! -f "$as_myself"; then
15406 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15410 # Unset variables that we do not need and which cause bugs (e.g. in
15411 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15412 # suppresses any "Segmentation fault" message there. '((' could
15413 # trigger a bug in pdksh 5.2.14.
15414 for as_var
in BASH_ENV ENV MAIL MAILPATH
15415 do eval test x\
${$as_var+set} = xset \
15416 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15429 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15432 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15433 # ----------------------------------------
15434 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15435 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15436 # script with STATUS, using 1 if that was 0.
15439 as_status
=$1; test $as_status -eq 0 && as_status
=1
15441 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15442 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15444 $as_echo "$as_me: error: $2" >&2
15445 as_fn_exit
$as_status
15449 # as_fn_set_status STATUS
15450 # -----------------------
15451 # Set $? to STATUS, without forking.
15452 as_fn_set_status
()
15455 } # as_fn_set_status
15457 # as_fn_exit STATUS
15458 # -----------------
15459 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15463 as_fn_set_status
$1
15469 # Portably unset VAR.
15472 { eval $1=; unset $1;}
15474 as_unset
=as_fn_unset
15475 # as_fn_append VAR VALUE
15476 # ----------------------
15477 # Append the text in VALUE to the end of the definition contained in VAR. Take
15478 # advantage of any shell optimizations that allow amortized linear growth over
15479 # repeated appends, instead of the typical quadratic growth present in naive
15481 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15482 eval 'as_fn_append ()
15493 # as_fn_arith ARG...
15494 # ------------------
15495 # Perform arithmetic evaluation on the ARGs, and store the result in the
15496 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15497 # must be portable across $(()) and expr.
15498 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15499 eval 'as_fn_arith ()
15506 as_val
=`expr "$@" || test $? -eq 1`
15511 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15512 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15518 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15519 as_basename
=basename
15524 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15530 as_me
=`$as_basename -- "$0" ||
15531 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15532 X"$0" : 'X\(//\)$' \| \
15533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15535 sed '/^.*\/\([^/][^/]*\)\/*$/{
15549 # Avoid depending upon Character Ranges.
15550 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15551 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15552 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15553 as_cr_digits
='0123456789'
15554 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15556 ECHO_C
= ECHO_N
= ECHO_T
=
15557 case `echo -n x` in #(((((
15559 case `echo 'xy\c'` in
15560 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15562 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15569 rm -f conf$$ conf$$.exe conf$$.
file
15570 if test -d conf$$.dir
; then
15571 rm -f conf$$.dir
/conf$$.
file
15574 mkdir conf$$.dir
2>/dev
/null
15576 if (echo >conf$$.
file) 2>/dev
/null
; then
15577 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15579 # ... but there are two gotchas:
15580 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15581 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15582 # In both cases, we have to default to `cp -pR'.
15583 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15585 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15593 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15594 rmdir conf$$.dir
2>/dev
/null
15599 # Create "$as_dir" as a directory, including parents if necessary.
15604 -*) as_dir
=.
/$as_dir;;
15606 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15610 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15611 *) as_qdir
=$as_dir;;
15613 as_dirs
="'$as_qdir' $as_dirs"
15614 as_dir
=`$as_dirname -- "$as_dir" ||
15615 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15616 X"$as_dir" : 'X\(//\)[^/]' \| \
15617 X"$as_dir" : 'X\(//\)$' \| \
15618 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15619 $as_echo X"$as_dir" |
15620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15624 /^X\(\/\/\)[^/].*/{
15637 test -d "$as_dir" && break
15639 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15640 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15644 if mkdir
-p .
2>/dev
/null
; then
15645 as_mkdir_p
='mkdir -p "$as_dir"'
15647 test -d .
/-p && rmdir .
/-p
15652 # as_fn_executable_p FILE
15653 # -----------------------
15654 # Test if FILE is an executable regular file.
15655 as_fn_executable_p
()
15657 test -f "$1" && test -x "$1"
15658 } # as_fn_executable_p
15659 as_test_x
='test -x'
15660 as_executable_p
=as_fn_executable_p
15662 # Sed expression to map a string onto a valid CPP name.
15663 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15665 # Sed expression to map a string onto a valid variable name.
15666 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15670 ## ----------------------------------- ##
15671 ## Main body of $CONFIG_STATUS script. ##
15672 ## ----------------------------------- ##
15674 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15677 # Save the log message, to keep $0 and so on meaningful, and to
15678 # report actual input values of CONFIG_FILES etc. instead of their
15679 # values after options handling.
15681 This file was extended by $as_me, which was
15682 generated by GNU Autoconf 2.69. Invocation command line was
15684 CONFIG_FILES = $CONFIG_FILES
15685 CONFIG_HEADERS = $CONFIG_HEADERS
15686 CONFIG_LINKS = $CONFIG_LINKS
15687 CONFIG_COMMANDS = $CONFIG_COMMANDS
15690 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15695 case $ac_config_files in *"
15696 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15702 # Files that config.status was made for.
15703 config_files="$ac_config_files"
15707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15709 \`$as_me' instantiates files and other configuration actions
15710 from templates according to the current configuration. Unless the files
15711 and actions are specified as TAGs, all are instantiated by default.
15713 Usage: $0 [OPTION]... [TAG]...
15715 -h, --help print this help, then exit
15716 -V, --version print version number and configuration settings, then exit
15717 --config print configuration, then exit
15718 -q, --quiet, --silent
15719 do not print progress messages
15720 -d, --debug don't remove temporary files
15721 --recheck update $as_me by reconfiguring in the same conditions
15722 --file=FILE[:TEMPLATE]
15723 instantiate the configuration file FILE
15725 Configuration files:
15728 Report bugs to the package provider."
15731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15732 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15735 configured by $0, generated by GNU Autoconf 2.69,
15736 with options \\"\$ac_cs_config\\"
15738 Copyright (C) 2012 Free Software Foundation, Inc.
15739 This config.status script is free software; the Free Software Foundation
15740 gives unlimited permission to copy, distribute and modify it."
15746 test -n "\$AWK" || AWK=awk
15749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15750 # The default lists apply if the user does not specify any file.
15756 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15757 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15761 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15773 # Handling of the options.
15774 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15776 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15777 $as_echo "$ac_cs_version"; exit ;;
15778 --config |
--confi |
--conf |
--con |
--co |
--c )
15779 $as_echo "$ac_cs_config"; exit ;;
15780 --debug |
--debu |
--deb |
--de |
--d |
-d )
15782 --file |
--fil |
--fi |
--f )
15785 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15786 '') as_fn_error $?
"missing file argument" ;;
15788 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15789 ac_need_defaults
=false
;;
15790 --he |
--h |
--help |
--hel |
-h )
15791 $as_echo "$ac_cs_usage"; exit ;;
15792 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15793 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15796 # This is an error.
15797 -*) as_fn_error $?
"unrecognized option: \`$1'
15798 Try \`$0 --help' for more information." ;;
15800 *) as_fn_append ac_config_targets
" $1"
15801 ac_need_defaults
=false
;;
15807 ac_configure_extra_args
=
15809 if $ac_cs_silent; then
15811 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15816 if \$ac_cs_recheck; then
15817 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15819 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15820 CONFIG_SHELL='$SHELL'
15821 export CONFIG_SHELL
15826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15830 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15831 ## Running $as_me. ##
15837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15841 extrasub_build="$extrasub_build"
15842 extrasub_host="$extrasub_host"
15843 extrasub_target="$extrasub_target"
15847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15849 # Handling of arguments.
15850 for ac_config_target
in $ac_config_targets
15852 case $ac_config_target in
15853 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15855 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15860 # If the user did not use the arguments to specify the items to instantiate,
15861 # then the envvar interface is used. Set only those that are not.
15862 # We use the long form for the default assignment because of an extremely
15863 # bizarre bug on SunOS 4.1.3.
15864 if $ac_need_defaults; then
15865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15868 # Have a temporary directory for convenience. Make it in the build tree
15869 # simply because there is no reason against having it here, and in addition,
15870 # creating and moving files from /tmp can sometimes cause problems.
15871 # Hook for its removal unless debugging.
15872 # Note that there is a small window in which the directory will not be cleaned:
15873 # after its creation but before its name has been assigned to `$tmp'.
15877 trap 'exit_status=$?
15878 : "${ac_tmp:=$tmp}"
15879 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15881 trap 'as_fn_exit 1' 1 2 13 15
15883 # Create a (secure) tmp directory for tmp files.
15886 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15890 tmp
=.
/conf$$
-$RANDOM
15891 (umask 077 && mkdir
"$tmp")
15892 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15895 # Set up the scripts for CONFIG_FILES section.
15896 # No need to generate them if there are no CONFIG_FILES.
15897 # This happens for instance with `./config.status config.h'.
15898 if test -n "$CONFIG_FILES"; then
15900 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15901 ac_cs_awk_getline
=:
15902 ac_cs_awk_pipe_init
=
15903 ac_cs_awk_read_file
='
15904 while ((getline aline < (F[key])) > 0)
15907 ac_cs_awk_pipe_fini
=
15909 ac_cs_awk_getline
=false
15910 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15911 ac_cs_awk_read_file
='
15913 print "cat " F[key] " &&"
15914 '$ac_cs_awk_pipe_init
15915 # The final `:' finishes the AND list.
15916 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15918 ac_cr
=`echo X | tr X '\015'`
15919 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15920 # But we know of no other shell where ac_cr would be empty at this
15921 # point, so we can use a bashism as a fallback.
15922 if test "x$ac_cr" = x
; then
15923 eval ac_cr
=\$
\'\\r
\'
15925 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15926 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15929 ac_cs_awk_cr
=$ac_cr
15932 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15935 # Create commands to substitute file output variables.
15937 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15938 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15939 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15942 } >conf$
$files.sh
&&
15943 . .
/conf$
$files.sh ||
15944 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15945 rm -f conf$
$files.sh
15948 echo "cat >conf$$subs.awk <<_ACEOF" &&
15949 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15951 } >conf$$subs.sh ||
15952 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15953 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15955 for ac_last_try in false false false false false :; do
15956 . ./conf$$subs.sh ||
15957 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15959 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15960 if test $ac_delim_n = $ac_delim_num; then
15962 elif $ac_last_try; then
15963 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15965 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15968 rm -f conf$$subs.sh
15970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15971 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15975 s/^/S["/; s
/!.
*/"]=/
15985 s/\(.\{148\}\)..*/\1/
15987 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15992 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15999 s/\(.\{148\}\)..*/\1/
16001 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16005 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16010 ' <conf$$subs.awk | sed '
16015 ' >>$CONFIG_STATUS || ac_write_fail=1
16016 rm -f conf$$subs.awk
16017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16019 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16020 for (key in S) S_is_set[key] = 1
16022 \$ac_cs_awk_pipe_init
16026 nfields = split(line, field, "@
")
16028 len = length(field[1])
16029 for (i = 2; i < nfields; i++) {
16031 keylen = length(key)
16032 if (S_is_set[key]) {
16034 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16035 len += length(value) + length(field[++i])
16040 if (nfields == 3 && !substed) {
16042 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16043 \$ac_cs_awk_read_file
16049 \$ac_cs_awk_pipe_fini
16052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16053 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16054 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16057 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16058 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16061 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16062 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16063 # trailing colons and then remove the whole line if VPATH becomes empty
16064 # (actually we leave an empty line to preserve line numbers).
16065 if test "x
$srcdir" = x.; then
16066 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16085 fi # test -n "$CONFIG_FILES"
16088 eval set X " :F
$CONFIG_FILES "
16093 :[FHLC]) ac_mode=$ac_tag; continue;;
16095 case $ac_mode$ac_tag in
16097 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16098 :[FH]-) ac_tag=-:-;;
16099 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16116 -) ac_f="$ac_tmp/stdin";;
16117 *) # Look for the file first in the build tree, then in the source tree
16118 # (if the path is not absolute). The absolute path cannot be DOS-style,
16119 # because $ac_f cannot contain `:'.
16123 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16125 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16127 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16128 as_fn_append ac_file_inputs " '$ac_f'"
16131 # Let's still pretend it is `configure' which instantiates (i.e., don't
16132 # use $as_me), people would be surprised to read:
16133 # /* config.h. Generated by config.status. */
16134 configure_input='Generated from '`
16135 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16137 if test x"$ac_file" != x-; then
16138 configure_input="$ac_file.
$configure_input"
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16140 $as_echo "$as_me: creating
$ac_file" >&6;}
16142 # Neutralize special characters interpreted by sed in replacement strings.
16143 case $configure_input in #(
16144 *\&* | *\|* | *\\* )
16145 ac_sed_conf_input=`$as_echo "$configure_input" |
16146 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16147 *) ac_sed_conf_input=$configure_input;;
16151 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16152 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16157 ac_dir=`$as_dirname -- "$ac_file" ||
16158 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16159 X"$ac_file" : 'X\(//\)[^/]' \| \
16160 X"$ac_file" : 'X\(//\)$' \| \
16161 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16162 $as_echo X"$ac_file" |
16163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16167 /^X\(\/\/\)[^/].*/{
16180 as_dir="$ac_dir"; as_fn_mkdir_p
16184 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16186 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16187 # A "..
" for each directory in $ac_dir_suffix.
16188 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16189 case $ac_top_builddir_sub in
16190 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16194 ac_abs_top_builddir=$ac_pwd
16195 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16196 # for backward compatibility:
16197 ac_top_builddir=$ac_top_build_prefix
16200 .) # We are building in place.
16202 ac_top_srcdir=$ac_top_builddir_sub
16203 ac_abs_top_srcdir=$ac_pwd ;;
16204 [\\/]* | ?:[\\/]* ) # Absolute name.
16205 ac_srcdir=$srcdir$ac_dir_suffix;
16206 ac_top_srcdir=$srcdir
16207 ac_abs_top_srcdir=$srcdir ;;
16208 *) # Relative name.
16209 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16210 ac_top_srcdir=$ac_top_build_prefix$srcdir
16211 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16213 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16223 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16224 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16229 # If the template does not know about datarootdir, expand it.
16230 # FIXME: This hack should be removed a few years after 2.60.
16231 ac_datarootdir_hack=; ac_datarootdir_seen=
16242 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16243 *datarootdir*) ac_datarootdir_seen=yes;;
16244 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16246 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16249 ac_datarootdir_hack='
16250 s&@datadir@&$datadir&g
16251 s&@docdir@&$docdir&g
16252 s&@infodir@&$infodir&g
16253 s&@localedir@&$localedir&g
16254 s&@mandir@&$mandir&g
16255 s&\\\${datarootdir}&$datarootdir&g' ;;
16259 # Neutralize VPATH when `$srcdir' = `.'.
16260 # Shell code in configure.ac might set extrasub.
16261 # FIXME: do we really want to maintain this feature?
16262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16263 ac_sed_extra="$ac_vpsub
16266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16268 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16269 s|@configure_input@|
$ac_sed_conf_input|
;t t
16270 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16271 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16272 s
&@srcdir@
&$ac_srcdir&;t t
16273 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16274 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16275 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16276 s
&@builddir@
&$ac_builddir&;t t
16277 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16278 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16279 s
&@INSTALL@
&$ac_INSTALL&;t t
16280 $ac_datarootdir_hack
16282 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16283 if $ac_cs_awk_getline; then
16284 $AWK -f "$ac_tmp/subs.
awk"
16286 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16288 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16290 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16291 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16292 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16293 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16295 which seems to be undefined. Please make sure it is defined" >&5
16296 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16297 which seems to be undefined. Please make sure it is defined" >&2;}
16299 rm -f "$ac_tmp/stdin"
16301 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16302 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16304 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16312 case $ac_file$ac_mode in
16313 "Makefile":F) sed "$extrasub_build" Makefile |
16314 sed "$extrasub_host" |
16315 sed "$extrasub_target" > mf$$
16316 mv -f mf$$ Makefile ;;
16324 ac_clean_files=$ac_clean_files_save
16326 test $ac_write_fail = 0 ||
16327 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16330 # configure is writing to config.log, and then calls config.status.
16331 # config.status does its own redirection, appending to config.log.
16332 # Unfortunately, on DOS this fails, as config.log is still kept open
16333 # by configure, so config.status won't be able to
write to it
; its
16334 # output is simply discarded. So we exec the FD to /dev/null,
16335 # effectively closing config.log, so it can be properly (re)opened and
16336 # appended to by config.status. When coming back to configure, we
16337 # need to make the FD available again.
16338 if test "$no_create" != yes; then
16340 ac_config_status_args
=
16341 test "$silent" = yes &&
16342 ac_config_status_args
="$ac_config_status_args --quiet"
16344 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16346 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16347 # would make configure fail if this is the last instruction.
16348 $ac_cs_success || as_fn_exit
1
16350 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16352 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}