2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
674 DEBUG_PREFIX_CFLAGS_FOR_TARGET
675 SYSROOT_CFLAGS_FOR_TARGET
677 extra_host_zlib_configure_flags
678 extra_host_libiberty_configure_flags
681 extra_linker_plugin_flags
682 extra_linker_plugin_configure_flags
689 extra_isl_gmp_configure_flags
690 extra_mpc_mpfr_configure_flags
691 extra_mpc_gmp_configure_flags
692 extra_mpfr_configure_flags
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
811 with_static_standard_libraries
818 enable_isl_version_check
820 enable_linker_plugin_configure_flags
821 enable_linker_plugin_flags
823 enable_stage1_languages
826 with_target_bdw_gc_include
827 with_target_bdw_gc_lib
828 with_gcc_major_version_only
830 with_debug_prefix_map
833 enable_serial_configure
834 with_build_time_tools
835 enable_maintainer_mode
836 enable_stage1_checking
839 ac_precious_vars
='build_alias
886 # Initialize some variables set by options.
888 ac_init_version
=false
889 ac_unrecognized_opts
=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name
=s
,x
,x
,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir
='${exec_prefix}/bin'
915 sbindir
='${exec_prefix}/sbin'
916 libexecdir
='${exec_prefix}/libexec'
917 datarootdir
='${prefix}/share'
918 datadir
='${datarootdir}'
919 sysconfdir
='${prefix}/etc'
920 sharedstatedir
='${prefix}/com'
921 localstatedir
='${prefix}/var'
922 includedir
='${prefix}/include'
923 oldincludedir
='/usr/include'
924 docdir
='${datarootdir}/doc/${PACKAGE}'
925 infodir
='${datarootdir}/info'
930 libdir
='${exec_prefix}/lib'
931 localedir
='${datarootdir}/locale'
932 mandir
='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\
$ac_option
946 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
959 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
962 -build |
--build |
--buil |
--bui |
--bu)
963 ac_prev
=build_alias
;;
964 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
965 build_alias
=$ac_optarg ;;
967 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
968 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
969 ac_prev
=cache_file
;;
970 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
971 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
972 cache_file
=$ac_optarg ;;
975 cache_file
=config.cache
;;
977 -datadir |
--datadir |
--datadi |
--datad)
979 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
980 datadir
=$ac_optarg ;;
982 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
983 |
--dataroo |
--dataro |
--datar)
984 ac_prev
=datarootdir
;;
985 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
986 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
987 datarootdir
=$ac_optarg ;;
989 -disable-* |
--disable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error $?
"invalid feature name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_
$ac_useropt"
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval enable_
$ac_useropt=\
$ac_optarg ;;
1031 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1032 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1033 |
--exec |
--exe |
--ex)
1034 ac_prev
=exec_prefix
;;
1035 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1036 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1037 |
--exec=* |
--exe=* |
--ex=*)
1038 exec_prefix
=$ac_optarg ;;
1040 -gas |
--gas |
--ga |
--g)
1041 # Obsolete; use --with-gas.
1044 -help |
--help |
--hel |
--he |
-h)
1045 ac_init_help
=long
;;
1046 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1047 ac_init_help
=recursive
;;
1048 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1049 ac_init_help
=short
;;
1051 -host |
--host |
--hos |
--ho)
1052 ac_prev
=host_alias
;;
1053 -host=* |
--host=* |
--hos=* |
--ho=*)
1054 host_alias
=$ac_optarg ;;
1056 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1058 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1060 htmldir
=$ac_optarg ;;
1062 -includedir |
--includedir |
--includedi |
--included |
--include \
1063 |
--includ |
--inclu |
--incl |
--inc)
1064 ac_prev
=includedir
;;
1065 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1066 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1067 includedir
=$ac_optarg ;;
1069 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1071 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1072 infodir
=$ac_optarg ;;
1074 -libdir |
--libdir |
--libdi |
--libd)
1076 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1077 libdir
=$ac_optarg ;;
1079 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1080 |
--libexe |
--libex |
--libe)
1081 ac_prev
=libexecdir
;;
1082 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1083 |
--libexe=* |
--libex=* |
--libe=*)
1084 libexecdir
=$ac_optarg ;;
1086 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1087 ac_prev
=localedir
;;
1088 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1089 localedir
=$ac_optarg ;;
1091 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1092 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1093 ac_prev
=localstatedir
;;
1094 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1095 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1096 localstatedir
=$ac_optarg ;;
1098 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1100 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1101 mandir
=$ac_optarg ;;
1103 -nfp |
--nfp |
--nf)
1104 # Obsolete; use --without-fp.
1107 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1108 |
--no-cr |
--no-c |
-n)
1111 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1112 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1115 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1116 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1117 |
--oldin |
--oldi |
--old |
--ol |
--o)
1118 ac_prev
=oldincludedir
;;
1119 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1120 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1121 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1122 oldincludedir
=$ac_optarg ;;
1124 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1126 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1127 prefix
=$ac_optarg ;;
1129 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1130 |
--program-pre |
--program-pr |
--program-p)
1131 ac_prev
=program_prefix
;;
1132 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1133 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1134 program_prefix
=$ac_optarg ;;
1136 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1137 |
--program-suf |
--program-su |
--program-s)
1138 ac_prev
=program_suffix
;;
1139 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1140 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1141 program_suffix
=$ac_optarg ;;
1143 -program-transform-name |
--program-transform-name \
1144 |
--program-transform-nam |
--program-transform-na \
1145 |
--program-transform-n |
--program-transform- \
1146 |
--program-transform |
--program-transfor \
1147 |
--program-transfo |
--program-transf \
1148 |
--program-trans |
--program-tran \
1149 |
--progr-tra |
--program-tr |
--program-t)
1150 ac_prev
=program_transform_name
;;
1151 -program-transform-name=* |
--program-transform-name=* \
1152 |
--program-transform-nam=* |
--program-transform-na=* \
1153 |
--program-transform-n=* |
--program-transform-=* \
1154 |
--program-transform=* |
--program-transfor=* \
1155 |
--program-transfo=* |
--program-transf=* \
1156 |
--program-trans=* |
--program-tran=* \
1157 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1158 program_transform_name
=$ac_optarg ;;
1160 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1162 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1163 pdfdir
=$ac_optarg ;;
1165 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1167 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1171 |
-silent |
--silent |
--silen |
--sile |
--sil)
1174 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1176 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1178 sbindir
=$ac_optarg ;;
1180 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1181 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1182 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1184 ac_prev
=sharedstatedir
;;
1185 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1186 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1187 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1189 sharedstatedir
=$ac_optarg ;;
1191 -site |
--site |
--sit)
1193 -site=* |
--site=* |
--sit=*)
1196 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1198 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1199 srcdir
=$ac_optarg ;;
1201 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1202 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1203 ac_prev
=sysconfdir
;;
1204 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1205 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1206 sysconfdir
=$ac_optarg ;;
1208 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1209 ac_prev
=target_alias
;;
1210 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1211 target_alias
=$ac_optarg ;;
1213 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1216 -version |
--version |
--versio |
--versi |
--vers |
-V)
1217 ac_init_version
=: ;;
1220 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1223 as_fn_error $?
"invalid package name: $ac_useropt"
1224 ac_useropt_orig
=$ac_useropt
1225 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep
=', ';;
1233 eval with_
$ac_useropt=\
$ac_optarg ;;
1235 -without-* |
--without-*)
1236 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1239 as_fn_error $?
"invalid package name: $ac_useropt"
1240 ac_useropt_orig
=$ac_useropt
1241 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep
=', ';;
1249 eval with_
$ac_useropt=no
;;
1252 # Obsolete; use --with-x.
1255 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1256 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1257 ac_prev
=x_includes
;;
1258 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1259 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1260 x_includes
=$ac_optarg ;;
1262 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1263 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1264 ac_prev
=x_libraries
;;
1265 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1266 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1267 x_libraries
=$ac_optarg ;;
1269 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information"
1274 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1278 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1280 eval $ac_envvar=\
$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1294 if test -n "$ac_prev"; then
1295 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error $?
"missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1302 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1307 # Check all directory arguments for consistency.
1308 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val
=\$
$ac_var
1314 # Remove trailing slashes.
1317 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\
$ac_val;;
1320 # Be sure to have absolute directory names.
1322 [\\/$
]* | ?
:[\\/]* ) continue;;
1323 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1325 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1333 target
=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x
; then
1337 if test "x$build_alias" = x
; then
1338 cross_compiling
=maybe
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1347 test "$silent" = yes && exec 6>/dev
/null
1350 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di
=`ls -di .` &&
1352 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error $?
"working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error $?
"pwd does not report name of working directory"
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted
=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir
=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted
=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1394 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1396 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 as_fn_error $?
"path to source, $srcdir, contains spaces"
1415 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1417 for ac_var
in $ac_precious_vars; do
1418 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1420 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1425 # Report the --help message.
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1431 \`configure' configures this package to adapt to many kinds of systems.
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1438 Defaults for the options are specified in brackets.
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking ...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1494 --build=BUILD configure
for building on BUILD
[guessed
]
1495 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1496 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1500 if test -n "$ac_init_help"; then
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --enable-as-accelerator-for=ARG
1509 build as offload target compiler. Specify offload
1511 --enable-offload-targets=LIST
1512 enable offloading to devices from comma-separated
1513 LIST of TARGET
[=DIR
]. Use optional path to
find
1514 offload target compiler during the build
1515 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1516 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1517 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1518 Enable compressed debug sections
for gas
, gold or ld
1520 --disable-libquadmath do not build libquadmath directory
1521 --disable-libquadmath-support
1522 disable libquadmath support
for Fortran
1523 --enable-libada build libada directory
1524 --enable-libssp build libssp directory
1525 --disable-libstdcxx do not build libstdc
++-v3 directory
1526 --enable-liboffloadmic=ARG
1527 build liboffloadmic
[ARG
={no
,host,target
}]
1528 --enable-bootstrap enable bootstrapping
[yes if native build
]
1529 --enable-pgo-build[=lto
]
1530 enable the PGO build
1531 --disable-isl-version-check
1532 disable check
for isl version
1533 --enable-lto enable link
time optimization support
1534 --enable-linker-plugin-configure-flags=FLAGS
1535 additional flags
for configuring linker plugins
1537 --enable-linker-plugin-flags=FLAGS
1538 additional flags
for configuring and building linker
1540 --enable-host-shared build
host code as shared libraries
1541 --enable-stage1-languages[=all
]
1542 choose additional languages to build during stage1.
1543 Mostly useful
for compiler development
1544 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1546 --enable-vtable-verify Enable vtable verification feature
1547 --enable-serial-[{host,target,build}-]configure
1548 force sequential configuration of sub-packages for
1549 the host, target or build machine, or all
1551 --enable-maintainer-mode
1552 enable make rules and dependencies not useful (and
1553 sometimes confusing) to the casual installer
1554 --enable-stage1-checking[=all]
1555 choose additional checking for stage1 of the
1557 --enable-werror enable -Werror in bootstrap stage2 and later
1560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1562 --with-build-libsubdir=DIR Directory where to find libraries for build system
1563 --with-system-zlib use installed libz
1564 --with-mpc=PATH specify prefix directory for installed MPC package.
1565 Equivalent to --with-mpc-include=PATH/include plus
1566 --with-mpc-lib=PATH/lib
1567 --with-mpc-include=PATH specify directory for installed MPC include files
1568 --with-mpc-lib=PATH specify directory for the installed MPC library
1569 --with-mpfr-dir=PATH this option has been REMOVED
1570 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1571 Equivalent to --with-mpfr-include=PATH/include plus
1572 --with-mpfr-lib=PATH/lib
1573 --with-mpfr-include=PATH
1574 specify directory for installed MPFR include files
1575 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1576 --with-gmp-dir=PATH this option has been REMOVED
1577 --with-gmp=PATH specify prefix directory for the installed GMP
1578 package. Equivalent to
1579 --with-gmp-include=PATH/include plus
1580 --with-gmp-lib=PATH/lib
1581 --with-gmp-include=PATH specify directory for installed GMP include files
1582 --with-gmp-lib=PATH specify directory for the installed GMP library
1583 --with-stage1-libs=LIBS libraries for stage1
1584 --with-static-standard-libraries
1585 use -static-libstdc++ and -static-libgcc
1587 --with-stage1-ldflags=FLAGS
1588 linker flags for stage1
1589 --with-boot-libs=LIBS libraries for stage2 and later
1590 --with-boot-ldflags=FLAGS
1591 linker flags for stage2 and later
1592 --with-isl=PATH Specify prefix directory for the installed isl
1593 package. Equivalent to
1594 --with-isl-include=PATH/include plus
1595 --with-isl-lib=PATH/lib
1596 --with-isl-include=PATH Specify directory for installed isl include files
1597 --with-isl-lib=PATH Specify the directory for the installed isl library
1598 --with-target-bdw-gc=PATHLIST
1599 specify prefix directory for installed bdw-gc
1600 package. Equivalent to
1601 --with-target-bdw-gc-include=PATH/include plus
1602 --with-target-bdw-gc-lib=PATH/lib
1603 --with-target-bdw-gc-include=PATHLIST
1604 specify directories for installed bdw-gc include
1606 --with-target-bdw-gc-lib=PATHLIST
1607 specify directories for installed bdw-gc library
1608 --with-gcc-major-version-only
1609 use only GCC major number in filesystem paths
1610 --with-build-sysroot=SYSROOT
1611 use sysroot as the system root during the build
1612 --with-debug-prefix-map='A
=B C
=D ...
'
1613 map A to B, C to D ... in debug information
1614 --with-build-config='NAME NAME2...
'
1615 use config/NAME.mk build configuration
1616 --with-build-time-tools=PATH
1617 use given path to find target tools during the build
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1630 additional configure arguments for build directories
1632 additional configure arguments for host directories
1634 additional configure arguments for target directories
1637 DLLTOOL DLLTOOL for the host
1639 LIPO LIPO for the host
1641 RANLIB RANLIB for the host
1642 STRIP STRIP for the host
1643 WINDRES WINDRES for the host
1644 WINDMC WINDMC for the host
1645 OBJCOPY OBJCOPY for the host
1646 OBJDUMP OBJDUMP for the host
1647 READELF READELF for the host
1655 GFORTRAN for the target
1663 DLLTOOL for the target
1671 OBJCOPY for the target
1673 OBJDUMP for the target
1675 RANLIB for the target
1677 READELF for the target
1679 STRIP for the target
1681 WINDRES for the target
1683 WINDMC for the target
1685 Use these variables to override the choices made by `configure' or to
help
1686 it to
find libraries and programs with nonstandard names
/locations.
1688 Report bugs to the package provider.
1693 if test "$ac_init_help" = "recursive"; then
1694 # If there are subdirs, report their specific --help.
1695 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1696 test -d "$ac_dir" ||
1697 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1702 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1704 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1705 # A ".." for each directory in $ac_dir_suffix.
1706 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1707 case $ac_top_builddir_sub in
1708 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1709 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1712 ac_abs_top_builddir
=$ac_pwd
1713 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1714 # for backward compatibility:
1715 ac_top_builddir
=$ac_top_build_prefix
1718 .
) # We are building in place.
1720 ac_top_srcdir
=$ac_top_builddir_sub
1721 ac_abs_top_srcdir
=$ac_pwd ;;
1722 [\\/]* | ?
:[\\/]* ) # Absolute name.
1723 ac_srcdir
=$srcdir$ac_dir_suffix;
1724 ac_top_srcdir
=$srcdir
1725 ac_abs_top_srcdir
=$srcdir ;;
1727 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1728 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1729 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1731 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1733 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1734 # Check for guested configure.
1735 if test -f "$ac_srcdir/configure.gnu"; then
1737 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1738 elif test -f "$ac_srcdir/configure"; then
1740 $SHELL "$ac_srcdir/configure" --help=recursive
1742 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1744 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1748 test -n "$ac_init_help" && exit $ac_status
1749 if $ac_init_version; then
1752 generated by GNU Autoconf
2.69
1754 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1755 This configure
script is free software
; the Free Software Foundation
1756 gives unlimited permission to copy
, distribute and modify it.
1761 ## ------------------------ ##
1762 ## Autoconf initialization. ##
1763 ## ------------------------ ##
1765 # ac_fn_c_try_compile LINENO
1766 # --------------------------
1767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_c_try_compile
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 rm -f conftest.
$ac_objext
1772 if { { ac_try
="$ac_compile"
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_compile") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && {
1788 test -z "$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1790 } && test -s conftest.$ac_objext; then :
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status $ac_retval
1801 } # ac_fn_c_try_compile
1803 # ac_fn_cxx_try_compile LINENO
1804 # ----------------------------
1805 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_cxx_try_compile ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext
1810 if { { ac_try="$ac_compile"
1812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1813 *) ac_try_echo
=$ac_try;;
1815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_compile") 2>conftest.err
1819 if test -s conftest.err
; then
1820 grep -v '^ *+' conftest.err
>conftest.er1
1821 cat conftest.er1
>&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_cxx_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest.
$ac_objext; then :
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.
$ac_ext >&5
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status
$ac_retval
1839 } # ac_fn_cxx_try_compile
1841 # ac_fn_cxx_try_link LINENO
1842 # -------------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded.
1844 ac_fn_cxx_try_link
()
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 rm -f conftest.
$ac_objext conftest
$ac_exeext
1848 if { { ac_try
="$ac_link"
1850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>conftest.err
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_cxx_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest$ac_exeext && {
1867 test "$cross_compiling" = yes ||
1868 test -x conftest$ac_exeext
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1877 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1878 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1879 # interfere with the next link command; also delete a directory that is
1880 # left behind by Apple's compiler. We do this before executing the actions.
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1885 } # ac_fn_cxx_try_link
1887 # ac_fn_c_try_link LINENO
1888 # -----------------------
1889 # Try to link conftest.$ac_ext, and return whether this succeeded.
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 rm -f conftest.$ac_objext conftest$ac_exeext
1894 if { { ac_try="$ac_link"
1896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1897 *) ac_try_echo
=$ac_try;;
1899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_link") 2>conftest.err
1903 if test -s conftest.err
; then
1904 grep -v '^ *+' conftest.err
>conftest.er1
1905 cat conftest.er1
>&5
1906 mv -f conftest.er1 conftest.err
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } && {
1910 test -z "$ac_c_werror_flag" ||
1911 test ! -s conftest.err
1912 } && test -s conftest
$ac_exeext && {
1913 test "$cross_compiling" = yes ||
1914 test -x conftest
$ac_exeext
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.
$ac_ext >&5
1923 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1924 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1925 # interfere with the next link command; also delete a directory that is
1926 # left behind by Apple's compiler. We do this before executing the actions.
1927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 as_fn_set_status
$ac_retval
1931 } # ac_fn_c_try_link
1932 cat >config.log
<<_ACEOF
1933 This file contains any messages produced by compilers while
1934 running configure, to aid debugging if configure makes a mistake.
1936 It was created by $as_me, which was
1937 generated by GNU Autoconf 2.69. Invocation command line was
1949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir
=.
1973 $as_echo "PATH: $as_dir"
1989 # Keep a trace of the command line.
1990 # Strip out --no-create and --no-recursion so they do not pile up.
1991 # Strip out --silent because we don't want to record it for future runs.
1992 # Also quote any args containing shell meta-characters.
1993 # Make two passes to allow for proper duplicate-argument suppression.
1997 ac_must_keep_next
=false
2003 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2005 |
-silent |
--silent |
--silen |
--sile |
--sil)
2008 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2011 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2013 as_fn_append ac_configure_args1
" '$ac_arg'"
2014 if test $ac_must_keep_next = true
; then
2015 ac_must_keep_next
=false
# Got value, back to normal.
2018 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2019 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2020 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2021 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2022 case "$ac_configure_args0 " in
2023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2026 -* ) ac_must_keep_next
=true
;;
2029 as_fn_append ac_configure_args
" '$ac_arg'"
2034 { ac_configure_args0
=; unset ac_configure_args0
;}
2035 { ac_configure_args1
=; unset ac_configure_args1
;}
2037 # When interrupted or exit'd, cleanup temporary files, and complete
2038 # config.log. We remove comments because anyway the quotes in there
2039 # would cause problems or look ugly.
2040 # WARNING: Use '\'' to represent an apostrophe within the trap.
2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2042 trap 'exit_status=$?
2043 # Save into config.log some information that might help in debugging.
2047 $as_echo "## ---------------- ##
2048 ## Cache variables. ##
2049 ## ---------------- ##"
2051 # The following way of writing the cache mishandles newlines in values,
2053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2054 eval ac_val=\$$ac_var
2058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2062 _ | IFS | as_nl) ;; #(
2063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2064 *) { eval $ac_var=; unset $ac_var;} ;;
2069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2070 *${as_nl}ac_space=\ *)
2072 "s/'\''/'\''\\\\'\'''\''/g;
2073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2083 $as_echo "## ----------------- ##
2084 ## Output variables. ##
2085 ## ----------------- ##"
2087 for ac_var in $ac_subst_vars
2089 eval ac_val=\$$ac_var
2091 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093 $as_echo "$ac_var='\''$ac_val'\''"
2097 if test -n "$ac_subst_files"; then
2098 $as_echo "## ------------------- ##
2099 ## File substitutions. ##
2100 ## ------------------- ##"
2102 for ac_var
in $ac_subst_files
2104 eval ac_val
=\$
$ac_var
2106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108 $as_echo "$ac_var='\''$ac_val'\''"
2113 if test -s confdefs.h; then
2114 $as_echo "## ----------- ##
2121 test "$ac_signal" != 0 &&
2122 $as_echo "$as_me: caught signal $ac_signal"
2123 $as_echo "$as_me: exit $exit_status"
2125 rm -f core *.core core.conftest.* &&
2126 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2129 for ac_signal
in 1 2 13 15; do
2130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2135 rm -f -r conftest
* confdefs.h
2137 $as_echo "/* confdefs.h */" > confdefs.h
2139 # Predefined preprocessor variables.
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE_NAME "$PACKAGE_NAME"
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_STRING "$PACKAGE_STRING"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_URL "$PACKAGE_URL"
2166 # Let the site file select an alternate cache file if it wants to.
2167 # Prefer an explicitly selected file to automatically selected ones.
2170 if test -n "$CONFIG_SITE"; then
2171 # We do not want a PATH search for config.site.
2172 case $CONFIG_SITE in #((
2173 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2174 */*) ac_site_file1
=$CONFIG_SITE;;
2175 *) ac_site_file1
=.
/$CONFIG_SITE;;
2177 elif test "x$prefix" != xNONE
; then
2178 ac_site_file1
=$prefix/share
/config.site
2179 ac_site_file2
=$prefix/etc
/config.site
2181 ac_site_file1
=$ac_default_prefix/share
/config.site
2182 ac_site_file2
=$ac_default_prefix/etc
/config.site
2184 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2186 test "x$ac_site_file" = xNONE
&& continue
2187 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2189 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2190 sed 's/^/| /' "$ac_site_file" >&5
2192 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194 as_fn_error $?
"failed to load site script $ac_site_file
2195 See \`config.log' for more details" "$LINENO" 5; }
2199 if test -r "$cache_file"; then
2200 # Some versions of bash will fail to source /dev/null (special files
2201 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2202 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2204 $as_echo "$as_me: loading cache $cache_file" >&6;}
2206 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2207 *) .
"./$cache_file";;
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2212 $as_echo "$as_me: creating cache $cache_file" >&6;}
2216 # Check that the precious variables saved in the cache have kept the same
2218 ac_cache_corrupted
=false
2219 for ac_var
in $ac_precious_vars; do
2220 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2221 eval ac_new_set
=\
$ac_env_${ac_var}_set
2222 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2223 eval ac_new_val
=\
$ac_env_${ac_var}_value
2224 case $ac_old_set,$ac_new_set in
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228 ac_cache_corrupted
=: ;;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2232 ac_cache_corrupted
=: ;;
2235 if test "x$ac_old_val" != "x$ac_new_val"; then
2236 # differences in whitespace do not lead to failure.
2237 ac_old_val_w
=`echo x $ac_old_val`
2238 ac_new_val_w
=`echo x $ac_new_val`
2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2242 ac_cache_corrupted
=:
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246 eval $ac_var=\
$ac_old_val
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2254 # Pass precious variables to config.status.
2255 if test "$ac_new_set" = set; then
2257 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 *) ac_arg
=$ac_var=$ac_new_val ;;
2260 case " $ac_configure_args " in
2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2262 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2266 if $ac_cache_corrupted; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2278 ac_cpp
='$CPP $CPPFLAGS'
2279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2291 # if PWD already has a value, it is probably wrong.
2292 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2294 # Export original configure arguments for use by sub-configures.
2295 # Quote arguments with shell meta charatcers.
2296 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2297 set -- "$progname" "$@"
2301 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2302 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2303 # if the argument is of the form -foo=baz, quote the baz part only
2304 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2307 # Add the quoted argument to the list.
2308 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2310 if test "$silent" = yes; then
2311 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2313 # Remove the initial space we just introduced and, as these will be
2314 # expanded by make, quote '$'.
2315 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2318 # Find the build, host, and target systems.
2320 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2321 if test -f "$ac_dir/install-sh"; then
2323 ac_install_sh
="$ac_aux_dir/install-sh -c"
2325 elif test -f "$ac_dir/install.sh"; then
2327 ac_install_sh
="$ac_aux_dir/install.sh -c"
2329 elif test -f "$ac_dir/shtool"; then
2331 ac_install_sh
="$ac_aux_dir/shtool install -c"
2335 if test -z "$ac_aux_dir"; then
2336 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2344 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2345 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2348 # Make sure we can run config.sub.
2349 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2350 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2353 $as_echo_n "checking build system type... " >&6; }
2354 if ${ac_cv_build+:} false
; then :
2355 $as_echo_n "(cached) " >&6
2357 ac_build_alias
=$build_alias
2358 test "x$ac_build_alias" = x
&&
2359 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2360 test "x$ac_build_alias" = x
&&
2361 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2362 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2363 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2367 $as_echo "$ac_cv_build" >&6; }
2368 case $ac_cv_build in
2370 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2373 ac_save_IFS
=$IFS; IFS
='-'
2379 # Remember, the first character of IFS is used to create $*,
2380 # except with old shells:
2383 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2386 case ${build_alias} in
2387 "") build_noncanonical
=${build} ;;
2388 *) build_noncanonical
=${build_alias} ;;
2393 case ${host_alias} in
2394 "") host_noncanonical
=${build_noncanonical} ;;
2395 *) host_noncanonical
=${host_alias} ;;
2400 case ${target_alias} in
2401 "") target_noncanonical
=${host_noncanonical} ;;
2402 *) target_noncanonical
=${target_alias} ;;
2408 test "$host_noncanonical" = "$target_noncanonical" &&
2409 test "$program_prefix$program_suffix$program_transform_name" = \
2411 program_transform_name
=s
,y
,y
,
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2414 $as_echo_n "checking host system type... " >&6; }
2415 if ${ac_cv_host+:} false
; then :
2416 $as_echo_n "(cached) " >&6
2418 if test "x$host_alias" = x
; then
2419 ac_cv_host
=$ac_cv_build
2421 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2422 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2427 $as_echo "$ac_cv_host" >&6; }
2430 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2433 ac_save_IFS
=$IFS; IFS
='-'
2439 # Remember, the first character of IFS is used to create $*,
2440 # except with old shells:
2443 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2447 $as_echo_n "checking target system type... " >&6; }
2448 if ${ac_cv_target+:} false
; then :
2449 $as_echo_n "(cached) " >&6
2451 if test "x$target_alias" = x
; then
2452 ac_cv_target
=$ac_cv_host
2454 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2455 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2460 $as_echo "$ac_cv_target" >&6; }
2461 case $ac_cv_target in
2463 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2465 target
=$ac_cv_target
2466 ac_save_IFS
=$IFS; IFS
='-'
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2476 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2479 # The aliases save the names the user supplied, while $host etc.
2480 # will get canonicalized.
2481 test -n "$target_alias" &&
2482 test "$program_prefix$program_suffix$program_transform_name" = \
2484 program_prefix
=${target_alias}-
2486 test "$program_prefix" != NONE
&&
2487 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2488 # Use a double $ so make ignores it.
2489 test "$program_suffix" != NONE
&&
2490 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2491 # Double any \ or $.
2492 # By default was `s,x,x', remove it if useless.
2493 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2494 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2498 # Get 'install' or 'install-sh' and its variants.
2499 # Find a good install program. We prefer a C program (faster),
2500 # so one script is as good as another. But avoid the broken or
2501 # incompatible versions:
2502 # SysV /etc/install, /usr/sbin/install
2503 # SunOS /usr/etc/install
2504 # IRIX /sbin/install
2506 # AmigaOS /C/install, which installs bootblocks on floppy discs
2507 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2508 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2509 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2510 # OS/2's system install, which has a completely different semantic
2511 # ./install, which can be erroneously created by make from ./install.sh.
2512 # Reject install programs that cannot install multiple files.
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2514 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2515 if test -z "$INSTALL"; then
2516 if ${ac_cv_path_install+:} false
; then :
2517 $as_echo_n "(cached) " >&6
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 # Account for people who put trailing slashes in PATH elements.
2525 case $as_dir/ in #((
2526 .
/ | .
// |
/[cC
]/* | \
2527 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2528 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2531 # OSF1 and SCO ODT 3.0 have their own names for install.
2532 # Don't use installbsd from OSF since it installs stuff as root
2534 for ac_prog
in ginstall scoinst
install; do
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2537 if test $ac_prog = install &&
2538 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2539 # AIX install. It has an incompatible calling convention.
2541 elif test $ac_prog = install &&
2542 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2543 # program-specific install script used by HP pwplus--don't use.
2546 rm -rf conftest.one conftest.two conftest.dir
2547 echo one
> conftest.one
2548 echo two
> conftest.two
2550 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2551 test -s conftest.one
&& test -s conftest.two
&&
2552 test -s conftest.dir
/conftest.one
&&
2553 test -s conftest.dir
/conftest.two
2555 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2568 rm -rf conftest.one conftest.two conftest.dir
2571 if test "${ac_cv_path_install+set}" = set; then
2572 INSTALL
=$ac_cv_path_install
2574 # As a last resort, use the slow shell script. Don't cache a
2575 # value for INSTALL within a source directory, because that will
2576 # break other packages using the cache if that directory is
2577 # removed, or if the value is a relative name.
2578 INSTALL
=$ac_install_sh
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2582 $as_echo "$INSTALL" >&6; }
2584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2585 # It thinks the first close brace ends the variable substitution.
2586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2590 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2593 $as_echo_n "checking whether ln works... " >&6; }
2594 if ${acx_cv_prog_LN+:} false
; then :
2595 $as_echo_n "(cached) " >&6
2597 rm -f conftestdata_t
2598 echo >conftestdata_f
2599 if ln conftestdata_f conftestdata_t
2>/dev
/null
2605 rm -f conftestdata_f conftestdata_t
2608 if test $acx_cv_prog_LN = no
; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2611 $as_echo "no, using $LN" >&6; }
2613 LN
="$acx_cv_prog_LN"
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2619 $as_echo_n "checking whether ln -s works... " >&6; }
2621 if test "$LN_S" = "ln -s"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2623 $as_echo "yes" >&6; }
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2626 $as_echo "no, using $LN_S" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2630 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2631 if ${ac_cv_path_SED+:} false
; then :
2632 $as_echo_n "(cached) " >&6
2634 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2635 for ac_i
in 1 2 3 4 5 6 7; do
2636 ac_script
="$ac_script$as_nl$ac_script"
2638 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2639 { ac_script
=; unset ac_script
;}
2640 if test -z "$SED"; then
2641 ac_path_SED_found
=false
2642 # Loop through the user's path and test for each of PROGNAME-LIST
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_prog
in sed gsed
; do
2649 for ac_exec_ext
in '' $ac_executable_extensions; do
2650 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2651 as_fn_executable_p
"$ac_path_SED" ||
continue
2652 # Check for GNU ac_path_SED and select it if it is found.
2653 # Check for GNU $ac_path_SED
2654 case `"$ac_path_SED" --version 2>&1` in
2656 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2659 $as_echo_n 0123456789 >"conftest.in"
2662 cat "conftest.in" "conftest.in" >"conftest.tmp"
2663 mv "conftest.tmp" "conftest.in"
2664 cp "conftest.in" "conftest.nl"
2665 $as_echo '' >> "conftest.nl"
2666 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2667 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2668 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2669 if test $ac_count -gt ${ac_path_SED_max-0}; then
2670 # Best one so far, save it but keep looking for a better one
2671 ac_cv_path_SED
="$ac_path_SED"
2672 ac_path_SED_max
=$ac_count
2674 # 10*(2^10) chars as input seems more than enough
2675 test $ac_count -gt 10 && break
2677 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2680 $ac_path_SED_found && break 3
2685 if test -z "$ac_cv_path_SED"; then
2686 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2694 $as_echo "$ac_cv_path_SED" >&6; }
2695 SED
="$ac_cv_path_SED"
2698 for ac_prog
in gawk mawk nawk
awk
2700 # Extract the first word of "$ac_prog", so it can be a program name with args.
2701 set dummy
$ac_prog; ac_word
=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_AWK+:} false
; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$AWK"; then
2708 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_AWK
="$ac_prog"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$AWK"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2730 $as_echo "$AWK" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2737 test -n "$AWK" && break
2741 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2743 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2745 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2746 INSTALL
="${srcpwd}/install-sh -c"
2749 # Set srcdir to "." if that's what it is.
2750 # This is important for multilib support.
2752 if test "${pwd}" = "${srcpwd}" ; then
2760 ### To add a new directory to the tree, first choose whether it is a target
2761 ### or a host dependent tool. Then put it into the appropriate list
2762 ### (library or tools, host or target), doing a dependency sort.
2764 # Subdirs will be configured in the order listed in build_configdirs,
2765 # configdirs, or target_configdirs; see the serialization section below.
2767 # Dependency sorting is only needed when *configuration* must be done in
2768 # a particular order. In all cases a dependency should be specified in
2769 # the Makefile, whether or not it's implicitly specified here.
2771 # Double entries in build_configdirs, configdirs, or target_configdirs may
2772 # cause circular dependencies and break everything horribly.
2774 # these library is used by various programs built for the build
2777 build_libs
="build-libiberty build-libcpp"
2779 # these tools are built for the build environment
2780 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2782 # these libraries are used by various programs built for the host environment
2784 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2786 # these tools are built for the host environment
2787 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2788 # know that we are building the simulator.
2789 # binutils, gas and ld appear in that order because it makes sense to run
2790 # "make check" in that particular order.
2791 # If --enable-gold is used, "gold" may replace "ld".
2792 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2794 # these libraries are built for the target environment, and are built after
2795 # the host libraries and the host tools (which may be a cross compiler)
2796 # Note that libiberty is not a target library.
2797 target_libraries
="target-libgcc \
2798 target-libbacktrace \
2802 target-liboffloadmic \
2803 target-libhsail-rt \
2806 target-libstdc++-v3 \
2807 target-libsanitizer \
2810 target-libquadmath \
2811 target-libgfortran \
2817 # these tools are built using the target libraries, and are intended to
2818 # run only in the target environment
2820 # note: any program that *uses* libraries that are in the "target_libraries"
2821 # list belongs in this list.
2823 target_tools
="target-rda"
2825 ################################################################################
2827 ## All tools belong in one of the four categories, and are assigned above
2828 ## We assign ${configdirs} this way to remove all embedded newlines. This
2829 ## is important because configure will choke if they ever get through.
2830 ## ${configdirs} is directories we build using the host tools.
2831 ## ${target_configdirs} is directories we build using the target tools.
2832 configdirs
=`echo ${host_libs} ${host_tools}`
2833 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2834 build_configdirs
=`echo ${build_libs} ${build_tools}`
2838 ################################################################################
2840 srcname
="gnu development package"
2842 # This gets set non-empty for some net releases of packages.
2845 # Define is_cross_compiler to save on calls to 'test'.
2847 if test x
"${host}" = x
"${target}" ; then
2848 is_cross_compiler
=no
2850 is_cross_compiler
=yes
2853 # Find the build and target subdir names.
2855 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2856 # have matching libraries, they should use host libraries: Makefile.tpl
2857 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2858 # However, they still use the build modules, because the corresponding
2859 # host modules (e.g. bison) are only built for the host when bootstrap
2861 # - build_subdir is where we find build modules, and never changes.
2862 # - build_libsubdir is where we find build libraries, and can be overridden.
2864 # Prefix 'build-' so this never conflicts with target_subdir.
2865 build_subdir
="build-${build_noncanonical}"
2867 # Check whether --with-build-libsubdir was given.
2868 if test "${with_build_libsubdir+set}" = set; then :
2869 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2871 build_libsubdir
="$build_subdir"
2874 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2875 if ( test $srcdir = .
&& test -d gcc
) \
2876 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2877 host_subdir
="host-${host_noncanonical}"
2882 target_subdir
=${target_noncanonical}
2884 # Be sure to cover against remnants of an in-tree build.
2885 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2886 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2887 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2890 # Skipdirs are removed silently.
2892 # Noconfigdirs are removed loudly.
2896 # Make sure we don't let GNU ld be added if we didn't want it.
2897 if test x
$with_gnu_ld = xno
; then
2899 noconfigdirs
="$noconfigdirs ld gold"
2903 # Make sure we don't let GNU as be added if we didn't want it.
2904 if test x
$with_gnu_as = xno
; then
2906 noconfigdirs
="$noconfigdirs gas"
2911 # Check whether --with-system-zlib was given.
2912 if test "${with_system_zlib+set}" = set; then :
2913 withval
=$with_system_zlib;
2916 # Make sure we don't let ZLIB be added if we didn't want it.
2917 if test x
$with_system_zlib = xyes
; then
2918 use_included_zlib
=no
2919 noconfigdirs
="$noconfigdirs zlib"
2922 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2924 if test x
$with_system_readline = xyes
; then
2925 noconfigdirs
="$noconfigdirs readline"
2928 # some tools are so dependent upon X11 that if we're not building with X,
2929 # it's not even worth trying to configure, much less build, that tool.
2932 yes |
"") ;; # the default value for this tree is that X11 is available
2934 skipdirs
="${skipdirs} tk itcl libgui"
2935 # We won't be able to build gdbtk without X.
2938 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2941 # Some are only suitable for cross toolchains.
2942 # Remove these if host=target.
2943 cross_only
="target-libgloss target-newlib target-opcodes"
2945 case $is_cross_compiler in
2946 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2949 # If both --with-headers and --with-libs are specified, default to
2951 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2952 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2953 if test x
"${with_newlib}" = x
; then
2958 # Recognize --with-newlib/--without-newlib.
2959 case ${with_newlib} in
2960 no
) skipdirs
="${skipdirs} target-newlib" ;;
2961 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2964 # Check whether --enable-as-accelerator-for was given.
2965 if test "${enable_as_accelerator_for+set}" = set; then :
2966 enableval
=$enable_as_accelerator_for;
2970 # Check whether --enable-offload-targets was given.
2971 if test "${enable_offload_targets+set}" = set; then :
2972 enableval
=$enable_offload_targets;
2973 if test x
"$enable_offload_targets" = x
; then
2974 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2978 enable_offload_targets
=
2982 # Handle --enable-gold, --enable-ld.
2983 # --disable-gold [--enable-ld]
2984 # Build only ld. Default option.
2985 # --enable-gold [--enable-ld]
2986 # Build both gold and ld. Install gold as "ld.gold", install ld
2987 # as "ld.bfd" and "ld".
2988 # --enable-gold=default [--enable-ld]
2989 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2990 # install ld as "ld.bfd".
2991 # --enable-gold[=default] --disable-ld
2992 # Build only gold, which is then installed as both "ld.gold" and "ld".
2993 # --enable-gold --enable-ld=default
2994 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2996 # In other words, ld is default
2997 # --enable-gold=default --enable-ld=default
3001 # Check whether --enable-gold was given.
3002 if test "${enable_gold+set}" = set; then :
3003 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3008 case "${ENABLE_GOLD}" in
3010 # Check for ELF target.
3013 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3014 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3015 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3016 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3018 *-*-linux*aout
* |
*-*-linux*oldld
*)
3026 if test "$is_elf" = "yes"; then
3027 # Check for target supported by gold.
3029 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3030 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3031 configdirs
="$configdirs gold"
3032 if test x
${ENABLE_GOLD} = xdefault
; then
3043 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3047 # Check whether --enable-ld was given.
3048 if test "${enable_ld+set}" = set; then :
3049 enableval
=$enable_ld; ENABLE_LD
=$enableval
3055 case "${ENABLE_LD}" in
3057 if test x
${default_ld} != x
; then
3058 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3064 if test x
${ENABLE_GOLD} != xyes
; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3066 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3068 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3071 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3076 # Decide the default method for compressing debug sections.
3077 # Provide a configure time option to override our default.
3078 # Check whether --enable-compressed_debug_sections was given.
3079 if test "${enable_compressed_debug_sections+set}" = set; then :
3080 enableval
=$enable_compressed_debug_sections;
3081 if test x
"$enable_compressed_debug_sections" = xyes
; then
3082 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3086 enable_compressed_debug_sections
=
3090 # Configure extra directories which are host specific
3094 configdirs
="$configdirs libtermcap" ;;
3097 # A target can indicate whether a language isn't supported for some reason.
3098 # Only spaces may be used in this macro; not newlines or tabs.
3099 unsupported_languages
=
3101 # Remove more programs from consideration, based on the host or
3102 # target this usually means that a port of the program doesn't
3106 i
[3456789]86-*-msdosdjgpp*)
3107 noconfigdirs
="$noconfigdirs tcl tk itcl"
3112 # Check whether --enable-libquadmath was given.
3113 if test "${enable_libquadmath+set}" = set; then :
3114 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3116 ENABLE_LIBQUADMATH
=yes
3119 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3120 noconfigdirs
="$noconfigdirs target-libquadmath"
3124 # Check whether --enable-libquadmath-support was given.
3125 if test "${enable_libquadmath_support+set}" = set; then :
3126 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3128 ENABLE_LIBQUADMATH_SUPPORT
=yes
3131 enable_libquadmath_support
=
3132 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3133 enable_libquadmath_support
=no
3137 # Check whether --enable-libada was given.
3138 if test "${enable_libada+set}" = set; then :
3139 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3144 if test "${ENABLE_LIBADA}" != "yes" ; then
3145 noconfigdirs
="$noconfigdirs gnattools"
3148 # Check whether --enable-libssp was given.
3149 if test "${enable_libssp+set}" = set; then :
3150 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3156 # Check whether --enable-libstdcxx was given.
3157 if test "${enable_libstdcxx+set}" = set; then :
3158 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3160 ENABLE_LIBSTDCXX
=default
3163 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3164 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3167 # If this is accelerator compiler and its target is intelmic we enable
3168 # target liboffloadmic by default. If this is compiler with offloading
3169 # for intelmic we enable host liboffloadmic by default. Otherwise
3170 # liboffloadmic is disabled by default.
3171 # Check whether --enable-liboffloadmic was given.
3172 if test "${enable_liboffloadmic+set}" = set; then :
3173 enableval
=$enable_liboffloadmic; case "$enableval" in
3175 enable_liboffloadmic
=$enableval ;;
3177 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3180 if test x
"$enable_as_accelerator_for" != x
; then
3182 *-intelmic-* |
*-intelmicemul-*)
3183 enable_liboffloadmic
=target
3184 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3187 enable_liboffloadmic
=no
3191 case "${enable_offload_targets}" in
3192 *-intelmic-* |
*-intelmicemul-*)
3193 enable_liboffloadmic
=host
3194 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3197 enable_liboffloadmic
=no
3205 # Enable libgomp by default on hosted POSIX systems, and a few others.
3206 if test x
$enable_libgomp = x
; then
3208 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3210 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3212 *-*-solaris2* |
*-*-hpux11*)
3214 *-*-darwin* |
*-*-aix*)
3219 noconfigdirs
="$noconfigdirs target-libgomp"
3224 # Disable libatomic on unsupported systems.
3225 if test -d ${srcdir}/libatomic
; then
3226 if test x
$enable_libatomic = x
; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3228 $as_echo_n "checking for libatomic support... " >&6; }
3229 if (srcdir
=${srcdir}/libatomic
; \
3230 .
${srcdir}/configure.tgt
; \
3231 test -n "$UNSUPPORTED")
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 noconfigdirs
="$noconfigdirs target-libatomic"
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3243 # Disable liboffloadmic on unsupported systems.
3244 if test -d ${srcdir}/liboffloadmic
; then
3245 if test x
$enable_liboffloadmic != xno
; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3247 $as_echo_n "checking for liboffloadmic support... " >&6; }
3248 if (srcdir
=${srcdir}/liboffloadmic
; \
3249 .
${srcdir}/configure.tgt
; \
3250 test -n "$UNSUPPORTED")
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3262 # Disable libitm on unsupported systems.
3263 if test -d ${srcdir}/libitm
; then
3264 if test x
$enable_libitm = x
; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3266 $as_echo_n "checking for libitm support... " >&6; }
3267 if (srcdir
=${srcdir}/libitm
; \
3268 .
${srcdir}/configure.tgt
; \
3269 test -n "$UNSUPPORTED")
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 noconfigdirs
="$noconfigdirs target-libitm"
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3276 $as_echo "yes" >&6; }
3281 # Disable libsanitizer on unsupported systems.
3282 if test -d ${srcdir}/libsanitizer
; then
3283 if test x
$enable_libsanitizer = x
; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3285 $as_echo_n "checking for libsanitizer support... " >&6; }
3286 if (srcdir
=${srcdir}/libsanitizer
; \
3287 .
${srcdir}/configure.tgt
; \
3288 test -n "$UNSUPPORTED")
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 noconfigdirs
="$noconfigdirs target-libsanitizer"
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3300 # Disable libvtv on unsupported systems.
3301 if test -d ${srcdir}/libvtv
; then
3302 if test x
$enable_libvtv = x
; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3304 $as_echo_n "checking for libvtv support... " >&6; }
3305 if (srcdir
=${srcdir}/libvtv
; \
3306 .
${srcdir}/configure.tgt
; \
3307 test "$VTV_SUPPORTED" != "yes")
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3311 noconfigdirs
="$noconfigdirs target-libvtv"
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3320 # Disable libhsail-rt on unsupported systems.
3321 if test -d ${srcdir}/libhsail-rt
; then
3322 if test x
$enable_libhsail_rt = x
; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3324 $as_echo_n "checking for libhsail-rt support... " >&6; }
3325 if (srcdir
=${srcdir}/libhsail-rt
; \
3326 .
${srcdir}/configure.tgt
; \
3327 test -n "$UNSUPPORTED")
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 unsupported_languages
="$unsupported_languages brig"
3332 # This implicitly disables also target-libhsail-rt as it won't
3333 # get added to the build without BRIG FE.
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3336 $as_echo "yes" >&6; }
3342 # Disable libquadmath for some systems.
3345 noconfigdirs
="$noconfigdirs target-libquadmath"
3347 # libquadmath is unused on AIX and libquadmath build process use of
3348 # LD_LIBRARY_PATH can break AIX bootstrap.
3349 powerpc-
*-aix* | rs6000-
*-aix*)
3350 noconfigdirs
="$noconfigdirs target-libquadmath"
3354 # Disable libssp for some systems.
3357 # No hosted I/O support.
3358 noconfigdirs
="$noconfigdirs target-libssp"
3360 powerpc-
*-aix* | rs6000-
*-aix*)
3361 noconfigdirs
="$noconfigdirs target-libssp"
3364 # libssp uses a misaligned load to trigger a fault, but the RL78
3365 # doesn't fault for those - instead, it gives a build-time error
3366 # for explicit misaligned loads.
3367 noconfigdirs
="$noconfigdirs target-libssp"
3370 # No hosted I/O support.
3371 noconfigdirs
="$noconfigdirs target-libssp"
3375 # Disable libstdc++-v3 for some systems.
3376 # Allow user to override this if they pass --enable-libstdc++-v3
3377 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3380 # VxWorks uses the Dinkumware C++ library.
3381 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3384 # the C++ libraries don't build on top of CE's C libraries
3385 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3388 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3391 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3396 # Disable Fortran for some systems.
3399 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3400 unsupported_languages
="$unsupported_languages fortran"
3404 # Disable libffi for some systems.
3408 i
[3456789]86-*-darwin*)
3410 x86_64-
*-darwin[912]*)
3413 noconfigdirs
="$noconfigdirs target-libffi"
3416 noconfigdirs
="$noconfigdirs target-libffi"
3419 noconfigdirs
="$noconfigdirs target-libffi"
3422 noconfigdirs
="$noconfigdirs target-libffi"
3425 noconfigdirs
="$noconfigdirs target-libffi"
3428 noconfigdirs
="$noconfigdirs target-libffi"
3431 noconfigdirs
="$noconfigdirs target-libffi"
3433 aarch64
*-*-freebsd*)
3434 noconfigdirs
="$noconfigdirs target-libffi"
3437 noconfigdirs
="$noconfigdirs target-libffi"
3440 noconfigdirs
="$noconfigdirs target-libffi"
3443 noconfigdirs
="$noconfigdirs target-libffi"
3446 noconfigdirs
="$noconfigdirs target-libffi"
3448 cris-
*-* | crisv32-
*-*)
3452 *) # See PR46792 regarding target-libffi.
3453 noconfigdirs
="$noconfigdirs target-libffi";;
3457 noconfigdirs
="$noconfigdirs target-libffi"
3462 noconfigdirs
="$noconfigdirs target-libffi"
3465 noconfigdirs
="$noconfigdirs target-libffi"
3467 i
[3456789]86-w64-mingw*)
3468 noconfigdirs
="$noconfigdirs target-libffi"
3470 i
[3456789]86-*-mingw*)
3471 noconfigdirs
="$noconfigdirs target-libffi"
3474 noconfigdirs
="$noconfigdirs target-libffi"
3477 noconfigdirs
="$noconfigdirs target-libffi"
3484 noconfigdirs
="$noconfigdirs target-libffi"
3487 noconfigdirs
="$noconfigdirs target-libffi"
3491 # Disable the go frontend on systems where it is known to not work. Please keep
3492 # this in sync with contrib/config-list.mk.
3494 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3495 unsupported_languages
="$unsupported_languages go"
3499 # Only allow gdbserver on some systems.
3500 if test -d ${srcdir}/gdbserver
; then
3501 if test x
$enable_gdbserver = x
; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3503 $as_echo_n "checking for gdbserver support... " >&6; }
3504 if (srcdir
=${srcdir}/gdbserver
; \
3505 .
${srcdir}/configure.srv
; \
3506 test -n "$UNSUPPORTED")
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3510 noconfigdirs
="$noconfigdirs gdbserver"
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513 $as_echo "yes" >&6; }
3518 # Disable libgo for some systems where it is known to not work.
3519 # For testing, you can easily override this with --enable-libgo.
3520 if test x
$enable_libgo = x
; then
3524 noconfigdirs
="$noconfigdirs target-libgo"
3526 *-*-cygwin* |
*-*-mingw*)
3527 noconfigdirs
="$noconfigdirs target-libgo"
3532 # Default libgloss CPU subdirectory.
3533 libgloss_dir
="$target_cpu"
3536 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3540 libgloss_dir
=aarch64
3545 cris-
*-* | crisv32-
*-*)
3554 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3555 libgloss_dir
=m68hc11
3557 m68
*-*-* | fido-
*-*)
3571 # Disable newlib and libgloss for various target OSes.
3574 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3576 i
[3456789]86-*-linux*)
3577 # This section makes it possible to build newlib natively on linux.
3578 # If we are using a cross compiler then don't configure newlib.
3579 if test x
${is_cross_compiler} != xno
; then
3580 noconfigdirs
="$noconfigdirs target-newlib"
3582 noconfigdirs
="$noconfigdirs target-libgloss"
3583 # If we are not using a cross compiler, do configure newlib.
3584 # Note however, that newlib will only be configured in this situation
3585 # if the --with-newlib option has been given, because otherwise
3586 # 'target-newlib' will appear in skipdirs.
3588 i
[3456789]86-*-rdos*)
3589 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3601 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3604 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3619 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3622 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3625 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3628 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3631 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3642 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3643 noconfigdirs
="$noconfigdirs sim target-rda"
3646 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3647 noconfigdirs
="$noconfigdirs sim target-rda"
3650 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3651 noconfigdirs
="$noconfigdirs sim target-rda"
3653 i
[3456789]86-*-darwin*)
3654 noconfigdirs
="$noconfigdirs ld gprof"
3655 noconfigdirs
="$noconfigdirs sim target-rda"
3657 x86_64-
*-darwin[912]*)
3658 noconfigdirs
="$noconfigdirs ld gas gprof"
3659 noconfigdirs
="$noconfigdirs sim target-rda"
3662 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3663 noconfigdirs
="$noconfigdirs sim target-rda"
3668 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3669 && test -f /usr
/local
/include
/gmp.h
; then
3674 # Remove unsupported stuff on all kaOS configurations.
3675 noconfigdirs
="$noconfigdirs target-libgloss"
3682 noconfigdirs
="$noconfigdirs target-libgloss"
3685 noconfigdirs
="$noconfigdirs target-libgloss"
3687 # The tpf target doesn't support gdb yet.
3689 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3692 noconfigdirs
="$noconfigdirs target-rda"
3697 # ld works, but does not support shared libraries.
3698 # gas doesn't generate exception information.
3699 noconfigdirs
="$noconfigdirs gas ld"
3702 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3705 # newlib is not 64 bit ready
3706 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3708 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3709 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3712 noconfigdirs
="$noconfigdirs sim"
3715 noconfigdirs
="$noconfigdirs target-libgloss"
3718 noconfigdirs
="$noconfigdirs ld target-libgloss"
3721 if test x
${with_avrlibc} != xno
; then
3722 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3725 c4x-
*-* | tic4x-
*-*)
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3729 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3732 noconfigdirs
="$noconfigdirs target-libgloss"
3735 noconfigdirs
="$noconfigdirs gdb"
3738 noconfigdirs
="$noconfigdirs gdb"
3741 noconfigdirs
="$noconfigdirs target-rda gprof"
3744 noconfigdirs
="$noconfigdirs"
3747 noconfigdirs
="$noconfigdirs target-libgloss"
3750 noconfigdirs
="$noconfigdirs target-libgloss"
3752 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3755 noconfigdirs
="$noconfigdirs gdb"
3758 noconfigdirs
="$noconfigdirs gdb ld"
3766 hppa
*-*-openbsd* | \
3772 noconfigdirs
="$noconfigdirs ld"
3775 noconfigdirs
="$noconfigdirs gdb"
3778 # No gdb support yet.
3779 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3782 # No ld support yet.
3783 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3786 # No ld support yet.
3787 noconfigdirs
="$noconfigdirs libgui itcl ld"
3789 i
[3456789]86-w64-mingw*)
3791 i
[3456789]86-*-mingw*)
3792 target_configdirs
="$target_configdirs target-winsup"
3795 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3796 noconfigdirs
="$noconfigdirs target-libgloss"
3797 # always build newlib if winsup directory is present.
3798 if test -d "$srcdir/winsup/cygwin"; then
3799 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3800 elif test -d "$srcdir/newlib"; then
3801 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3805 noconfigdirs
="$noconfigdirs target-libgloss"
3807 i
[3456789]86-*-sco3.2v5
*)
3808 # The linker does not yet know about weak symbols in COFF,
3809 # and is not configured to handle mixed ELF and COFF.
3810 noconfigdirs
="$noconfigdirs ld target-libgloss"
3812 i
[3456789]86-*-sco*)
3813 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3815 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3816 noconfigdirs
="$noconfigdirs target-libgloss"
3818 i
[3456789]86-*-sysv4*)
3819 noconfigdirs
="$noconfigdirs target-libgloss"
3821 i
[3456789]86-*-beos*)
3822 noconfigdirs
="$noconfigdirs gdb"
3824 i
[3456789]86-*-rdos*)
3825 noconfigdirs
="$noconfigdirs gdb"
3828 noconfigdirs
="$noconfigdirs gdb"
3831 noconfigdirs
="$noconfigdirs sim"
3834 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3835 noconfigdirs
="$noconfigdirs $target_libraries"
3838 noconfigdirs
="$noconfigdirs gdb gprof"
3841 # copied from rs6000-*-* entry
3842 noconfigdirs
="$noconfigdirs gprof"
3844 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3845 target_configdirs
="$target_configdirs target-winsup"
3846 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3847 # always build newlib.
3848 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3850 # This is temporary until we can link against shared libraries
3851 powerpcle-
*-solaris*)
3852 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3855 noconfigdirs
="$noconfigdirs gdb"
3858 noconfigdirs
="$noconfigdirs gprof"
3861 noconfigdirs
="$noconfigdirs gprof"
3864 noconfigdirs
="$noconfigdirs gprof"
3867 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3870 noconfigdirs
="$noconfigdirs gprof"
3872 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3873 if test x
$with_newlib = xyes
; then
3874 noconfigdirs
="$noconfigdirs gprof"
3878 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3881 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3884 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3888 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3889 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3890 noconfigdirs
="$noconfigdirs ld gas gprof"
3893 noconfigdirs
="$noconfigdirs gprof"
3896 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3903 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3907 if test x
${is_cross_compiler} = xno
; then
3912 noconfigdirs
="$noconfigdirs sim"
3914 tilepro
*-*-* | tilegx
*-*-*)
3915 noconfigdirs
="$noconfigdirs sim"
3918 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3921 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3924 noconfigdirs
="$noconfigdirs ld"
3928 # If we aren't building newlib, then don't build libgloss, since libgloss
3929 # depends upon some newlib header files.
3930 case "${noconfigdirs}" in
3931 *target-libgloss
*) ;;
3932 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3935 # Work in distributions that contain no compiler tools, like Autoconf.
3936 host_makefile_frag
=/dev
/null
3937 if test -d ${srcdir}/config
; then
3939 i
[3456789]86-*-msdosdjgpp*)
3940 host_makefile_frag
="config/mh-djgpp"
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3945 $as_echo_n "checking to see if cat works as expected... " >&6; }
3946 echo a
>cygwin-cat-check
3947 if test `cat cygwin-cat-check` = a
; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3950 $as_echo "yes" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 as_fn_error $?
"The cat command does not ignore carriage return characters.
3956 Please either mount the build directory in binary mode or run the following
3957 commands before running any configure script:
3963 host_makefile_frag
="config/mh-cygwin"
3966 host_makefile_frag
="config/mh-mingw"
3969 host_makefile_frag
="config/mh-alpha-linux"
3972 host_makefile_frag
="config/mh-pa-hpux10"
3975 host_makefile_frag
="config/mh-pa"
3978 host_makefile_frag
="config/mh-pa"
3981 host_makefile_frag
="config/mh-darwin"
3984 host_makefile_frag
="config/mh-ppc-aix"
3987 host_makefile_frag
="config/mh-ppc-aix"
3992 if test "${build}" != "${host}" ; then
3993 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3994 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3995 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3996 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3997 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3998 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3999 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4000 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4001 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4002 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4003 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4004 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4006 AR_FOR_BUILD
="\$(AR)"
4007 AS_FOR_BUILD
="\$(AS)"
4008 CC_FOR_BUILD
="\$(CC)"
4009 CXX_FOR_BUILD
="\$(CXX)"
4010 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4011 GOC_FOR_BUILD
="\$(GOC)"
4012 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4013 LD_FOR_BUILD
="\$(LD)"
4014 NM_FOR_BUILD
="\$(NM)"
4015 RANLIB_FOR_BUILD
="\$(RANLIB)"
4016 WINDRES_FOR_BUILD
="\$(WINDRES)"
4017 WINDMC_FOR_BUILD
="\$(WINDMC)"
4021 ac_cpp
='$CPP $CPPFLAGS'
4022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4025 if test -n "$ac_tool_prefix"; then
4026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4027 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_CC+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$CC"; then
4034 ac_cv_prog_CC
="$CC" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4043 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 if test -n "$CC"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4056 $as_echo "$CC" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4064 if test -z "$ac_cv_prog_CC"; then
4066 # Extract the first word of "gcc", so it can be a program name with args.
4067 set dummy gcc
; ac_word
=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$ac_ct_CC"; then
4074 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir
=.
4081 for ac_exec_ext
in '' $ac_executable_extensions; do
4082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4083 ac_cv_prog_ac_ct_CC
="gcc"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4094 if test -n "$ac_ct_CC"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4096 $as_echo "$ac_ct_CC" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4102 if test "x$ac_ct_CC" = x
; then
4105 case $cross_compiling:$ac_tool_warned in
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4109 ac_tool_warned
=yes ;;
4117 if test -z "$CC"; then
4118 if test -n "$ac_tool_prefix"; then
4119 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4120 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4122 $as_echo_n "checking for $ac_word... " >&6; }
4123 if ${ac_cv_prog_CC+:} false
; then :
4124 $as_echo_n "(cached) " >&6
4126 if test -n "$CC"; then
4127 ac_cv_prog_CC
="$CC" # Let the user override the test.
4129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir
=.
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 if test -n "$CC"; then
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4149 $as_echo "$CC" >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 $as_echo "no" >&6; }
4158 if test -z "$CC"; then
4159 # Extract the first word of "cc", so it can be a program name with args.
4160 set dummy cc
; ac_word
=$2
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4162 $as_echo_n "checking for $ac_word... " >&6; }
4163 if ${ac_cv_prog_CC+:} false
; then :
4164 $as_echo_n "(cached) " >&6
4166 if test -n "$CC"; then
4167 ac_cv_prog_CC
="$CC" # Let the user override the test.
4170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir
=.
4175 for ac_exec_ext
in '' $ac_executable_extensions; do
4176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4178 ac_prog_rejected
=yes
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 if test $ac_prog_rejected = yes; then
4190 # We found a bogon in the path, so make sure we never use it.
4191 set dummy
$ac_cv_prog_CC
4193 if test $# != 0; then
4194 # We chose a different compiler from the bogus one.
4195 # However, it has the same basename, so the bogon will be chosen
4196 # first if we set CC to just the basename; use the full file name.
4198 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4204 if test -n "$CC"; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4206 $as_echo "$CC" >&6; }
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4209 $as_echo "no" >&6; }
4214 if test -z "$CC"; then
4215 if test -n "$ac_tool_prefix"; then
4216 for ac_prog
in cl.exe
4218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4219 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_CC+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$CC"; then
4226 ac_cv_prog_CC
="$CC" # Let the user override the test.
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 if test -n "$CC"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4248 $as_echo "$CC" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$CC" && break
4258 if test -z "$CC"; then
4260 for ac_prog
in cl.exe
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy
$ac_prog; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$ac_ct_CC"; then
4270 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_ac_ct_CC
="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4290 if test -n "$ac_ct_CC"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4292 $as_echo "$ac_ct_CC" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$ac_ct_CC" && break
4302 if test "x$ac_ct_CC" = x
; then
4305 case $cross_compiling:$ac_tool_warned in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4309 ac_tool_warned
=yes ;;
4318 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $?
"no acceptable C compiler found in \$PATH
4321 See \`config.log' for more details" "$LINENO" 5; }
4323 # Provide some information about the compiler.
4324 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4327 for ac_option
in --version -v -V -qversion; do
4328 { { ac_try
="$ac_compiler $ac_option >&5"
4330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4331 *) ac_try_echo=$ac_try;;
4333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334 $as_echo "$ac_try_echo"; } >&5
4335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4337 if test -s conftest.err; then
4339 ... rest of stderr output deleted ...
4340 10q' conftest.err >conftest.er1
4341 cat conftest.er1 >&5
4343 rm -f conftest.er1 conftest.err
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 ac_clean_files_save=$ac_clean_files
4360 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4361 # Try to create an executable without -o first, disregard a.out.
4362 # It will help us diagnose broken compilers, and finding out an intuition
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4365 $as_echo_n "checking whether the C compiler works... " >&6; }
4366 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4368 # The possible output files:
4369 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4372 for ac_file in $ac_files
4375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4376 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4381 if { { ac_try="$ac_link_default"
4383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4384 *) ac_try_echo
=$ac_try;;
4386 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387 $as_echo "$ac_try_echo"; } >&5
4388 (eval "$ac_link_default") 2>&5
4390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391 test $ac_status = 0; }; then :
4392 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4393 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4394 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4395 # so that the user can short-circuit this test for compilers unknown to
4397 for ac_file
in $ac_files ''
4399 test -f "$ac_file" ||
continue
4401 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4404 # We found the default executable, but exeext='' is most
4408 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4410 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4412 # We set ac_cv_exeext here because the later test for it is not
4413 # safe: cross compilers may not add the suffix if given an `-o'
4414 # argument, so we may need to know it at that point already.
4415 # Even if this section looks crufty: it has the advantage of
4422 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4427 if test -z "$ac_file"; then :
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 $as_echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.
$ac_ext >&5
4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4435 as_fn_error
77 "C compiler cannot create executables
4436 See \`config.log' for more details" "$LINENO" 5; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4439 $as_echo "yes" >&6; }
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4442 $as_echo_n "checking for C compiler default output file name... " >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4444 $as_echo "$ac_file" >&6; }
4445 ac_exeext
=$ac_cv_exeext
4447 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4448 ac_clean_files
=$ac_clean_files_save
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4450 $as_echo_n "checking for suffix of executables... " >&6; }
4451 if { { ac_try
="$ac_link"
4453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_link") 2>&5
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }; then :
4462 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4463 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4464 # work properly (i.e., refer to `conftest.exe'), while it won't with
4466 for ac_file
in conftest.exe conftest conftest.
*; do
4467 test -f "$ac_file" ||
continue
4469 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4470 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4478 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4479 See \`config.log' for more details" "$LINENO" 5; }
4481 rm -f conftest conftest
$ac_cv_exeext
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4483 $as_echo "$ac_cv_exeext" >&6; }
4485 rm -f conftest.
$ac_ext
4486 EXEEXT
=$ac_cv_exeext
4488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4494 FILE *f = fopen ("conftest.out", "w");
4495 return ferror (f) || fclose (f) != 0;
4501 ac_clean_files
="$ac_clean_files conftest.out"
4502 # Check that the compiler produces executables we can run. If not, either
4503 # the compiler is broken, or we cross compile.
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4505 $as_echo_n "checking whether we are cross compiling... " >&6; }
4506 if test "$cross_compiling" != yes; then
4507 { { ac_try
="$ac_link"
4509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4513 $as_echo "$ac_try_echo"; } >&5
4514 (eval "$ac_link") 2>&5
4516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517 test $ac_status = 0; }
4518 if { ac_try='./conftest$ac_cv_exeext'
4519 { { case "(($ac_try" in
4520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4521 *) ac_try_echo
=$ac_try;;
4523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4524 $as_echo "$ac_try_echo"; } >&5
4525 (eval "$ac_try") 2>&5
4527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4528 test $ac_status = 0; }; }; then
4531 if test "$cross_compiling" = maybe
; then
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error $?
"cannot run C compiled programs.
4537 If you meant to cross compile, use \`--host'.
4538 See \`config.log' for more details" "$LINENO" 5; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4543 $as_echo "$cross_compiling" >&6; }
4545 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4546 ac_clean_files
=$ac_clean_files_save
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4548 $as_echo_n "checking for suffix of object files... " >&6; }
4549 if ${ac_cv_objext+:} false
; then :
4550 $as_echo_n "(cached) " >&6
4552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4563 rm -f conftest.o conftest.obj
4564 if { { ac_try
="$ac_compile"
4566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4570 $as_echo "$ac_try_echo"; } >&5
4571 (eval "$ac_compile") 2>&5
4573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4574 test $ac_status = 0; }; then :
4575 for ac_file in conftest.o conftest.obj conftest.*; do
4576 test -f "$ac_file" || continue;
4578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4579 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4584 $as_echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4589 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4590 See \
`config.log' for more details" "$LINENO" 5; }
4592 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4595 $as_echo "$ac_cv_objext" >&6; }
4596 OBJEXT=$ac_cv_objext
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4599 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4600 if ${ac_cv_c_compiler_gnu+:} false; then :
4601 $as_echo_n "(cached) " >&6
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4617 if ac_fn_c_try_compile "$LINENO"; then :
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4627 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4628 if test $ac_compiler_gnu = yes; then
4633 ac_test_CFLAGS=${CFLAGS+set}
4634 ac_save_CFLAGS=$CFLAGS
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4636 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4637 if ${ac_cv_prog_cc_g+:} false; then :
4638 $as_echo_n "(cached) " >&6
4640 ac_save_c_werror_flag=$ac_c_werror_flag
4641 ac_c_werror_flag=yes
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4655 if ac_fn_c_try_compile "$LINENO"; then :
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4670 if ac_fn_c_try_compile "$LINENO"; then :
4673 ac_c_werror_flag=$ac_save_c_werror_flag
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4686 if ac_fn_c_try_compile "$LINENO"; then :
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 ac_c_werror_flag=$ac_save_c_werror_flag
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4697 $as_echo "$ac_cv_prog_cc_g" >&6; }
4698 if test "$ac_test_CFLAGS" = set; then
4699 CFLAGS=$ac_save_CFLAGS
4700 elif test $ac_cv_prog_cc_g = yes; then
4701 if test "$GCC" = yes; then
4707 if test "$GCC" = yes; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4714 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4715 if ${ac_cv_prog_cc_c89+:} false; then :
4716 $as_echo_n "(cached) " >&6
4718 ac_cv_prog_cc_c89=no
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4725 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4726 struct buf { int x; };
4727 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4728 static char *e (p, i)
4734 static char *f (char * (*g) (char **, int), char **p, ...)
4739 s = g (p, va_arg (v,int));
4744 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4745 function prototypes and stuff, but not '\xHH' hex character constants.
4746 These don't provoke an error unfortunately, instead are silently treated
4747 as 'x'. The following induces an error, until -std is added to get
4748 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4749 array size at least. It's necessary to write '\x00'==0 to get something
4750 that's true only with -std. */
4751 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4753 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4754 inside strings and character constants. */
4756 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4758 int test (int i, double x);
4759 struct s1 {int (*f) (int a);};
4760 struct s2 {int (*f) (double a);};
4761 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4767 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4772 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4773 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4775 CC="$ac_save_CC $ac_arg"
4776 if ac_fn_c_try_compile "$LINENO"; then :
4777 ac_cv_prog_cc_c89=$ac_arg
4779 rm -f core conftest.err conftest.$ac_objext
4780 test "x$ac_cv_prog_cc_c89" != "xno" && break
4782 rm -f conftest.$ac_ext
4787 case "x$ac_cv_prog_cc_c89" in
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4790 $as_echo "none needed" >&6; } ;;
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4793 $as_echo "unsupported" >&6; } ;;
4795 CC="$CC $ac_cv_prog_cc_c89"
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4797 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4799 if test "x$ac_cv_prog_cc_c89" != xno; then :
4804 ac_cpp='$CPP $CPPFLAGS'
4805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4810 ac_cpp='$CXXCPP $CPPFLAGS'
4811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4814 if test -z "$CXX"; then
4815 if test -n "$CCC"; then
4818 if test -n "$ac_tool_prefix"; then
4819 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4822 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if ${ac_cv_prog_CXX+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -n "$CXX"; then
4829 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir=.
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 if test -n "$CXX"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4851 $as_echo "$CXX" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4858 test -n "$CXX" && break
4861 if test -z "$CXX"; then
4863 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy $ac_prog; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$ac_ct_CXX"; then
4873 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_prog"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4893 if test -n "$ac_ct_CXX"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4895 $as_echo "$ac_ct_CXX" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 test -n "$ac_ct_CXX" && break
4905 if test "x$ac_ct_CXX" = x; then
4908 case $cross_compiling:$ac_tool_warned in
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4920 # Provide some information about the compiler.
4921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4924 for ac_option in --version -v -V -qversion; do
4925 { { ac_try="$ac_compiler $ac_option >&5"
4927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4928 *) ac_try_echo
=$ac_try;;
4930 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4931 $as_echo "$ac_try_echo"; } >&5
4932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4934 if test -s conftest.err
; then
4936 ... rest of stderr output deleted ...
4937 10q' conftest.err
>conftest.er1
4938 cat conftest.er1
>&5
4940 rm -f conftest.er1 conftest.err
4941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942 test $ac_status = 0; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4946 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4947 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4948 $as_echo_n "(cached) " >&6
4950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4964 if ac_fn_cxx_try_compile
"$LINENO"; then :
4969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4970 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4974 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4975 if test $ac_compiler_gnu = yes; then
4980 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4981 ac_save_CXXFLAGS
=$CXXFLAGS
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4983 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4984 if ${ac_cv_prog_cxx_g+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4988 ac_cxx_werror_flag
=yes
4991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
5002 if ac_fn_cxx_try_compile
"$LINENO"; then :
5003 ac_cv_prog_cxx_g
=yes
5006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5017 if ac_fn_cxx_try_compile
"$LINENO"; then :
5020 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5033 if ac_fn_cxx_try_compile
"$LINENO"; then :
5034 ac_cv_prog_cxx_g
=yes
5036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5041 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5044 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5045 if test "$ac_test_CXXFLAGS" = set; then
5046 CXXFLAGS
=$ac_save_CXXFLAGS
5047 elif test $ac_cv_prog_cxx_g = yes; then
5048 if test "$GXX" = yes; then
5054 if test "$GXX" = yes; then
5061 ac_cpp
='$CPP $CPPFLAGS'
5062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5067 # We must set the default linker to the linker used by gcc for the correct
5068 # operation of libtool. If LD is not defined and we are using gcc, try to
5069 # set the LD default to the ld used by gcc.
5070 if test -z "$LD"; then
5071 if test "$GCC" = yes; then
5074 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5076 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5078 case $gcc_prog_ld in
5079 # Accept absolute paths.
5080 [\\/]* |
[A-Za-z
]:[\\/]*)
5081 LD
="$gcc_prog_ld" ;;
5086 # Check whether -static-libstdc++ -static-libgcc is supported.
5088 if test "$GCC" = yes; then
5089 saved_LDFLAGS
="$LDFLAGS"
5091 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5093 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5095 ac_cpp
='$CXXCPP $CPPFLAGS'
5096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5102 /* end confdefs.h. */
5104 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5105 #error -static-libstdc++ not implemented
5109 if ac_fn_cxx_try_link
"$LINENO"; then :
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5111 $as_echo "yes" >&6; }; have_static_libs
=yes
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5116 rm -f core conftest.err conftest.
$ac_objext \
5117 conftest
$ac_exeext conftest.
$ac_ext
5119 ac_cpp
='$CPP $CPPFLAGS'
5120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5125 LDFLAGS
="$saved_LDFLAGS"
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5133 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_GNATBIND+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$GNATBIND"; then
5140 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 GNATBIND
=$ac_cv_prog_GNATBIND
5160 if test -n "$GNATBIND"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5162 $as_echo "$GNATBIND" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_GNATBIND"; then
5171 ac_ct_GNATBIND
=$GNATBIND
5172 # Extract the first word of "gnatbind", so it can be a program name with args.
5173 set dummy gnatbind
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ac_ct_GNATBIND"; then
5180 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5200 if test -n "$ac_ct_GNATBIND"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5202 $as_echo "$ac_ct_GNATBIND" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_GNATBIND" = x
; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned
=yes ;;
5217 GNATBIND
=$ac_ct_GNATBIND
5220 GNATBIND
="$ac_cv_prog_GNATBIND"
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5225 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$GNATMAKE"; then
5232 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 GNATMAKE
=$ac_cv_prog_GNATMAKE
5252 if test -n "$GNATMAKE"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5254 $as_echo "$GNATMAKE" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test -z "$ac_cv_prog_GNATMAKE"; then
5263 ac_ct_GNATMAKE
=$GNATMAKE
5264 # Extract the first word of "gnatmake", so it can be a program name with args.
5265 set dummy gnatmake
; ac_word
=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5269 $as_echo_n "(cached) " >&6
5271 if test -n "$ac_ct_GNATMAKE"; then
5272 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir
=.
5279 for ac_exec_ext
in '' $ac_executable_extensions; do
5280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5292 if test -n "$ac_ct_GNATMAKE"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5294 $as_echo "$ac_ct_GNATMAKE" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5300 if test "x$ac_ct_GNATMAKE" = x
; then
5303 case $cross_compiling:$ac_tool_warned in
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned
=yes ;;
5309 GNATMAKE
=$ac_ct_GNATMAKE
5312 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5316 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5317 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5318 $as_echo_n "(cached) " >&6
5320 cat >conftest.adb
<<EOF
5321 procedure conftest is begin null; end conftest;
5323 acx_cv_cc_gcc_supports_ada
=no
5324 # There is a bug in old released versions of GCC which causes the
5325 # driver to exit successfully when the appropriate language module
5326 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5327 # Therefore we must check for the error message as well as an
5328 # unsuccessful exit.
5329 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5330 # given a .adb file, but produce no object file. So we must check
5331 # if an object file was really produced to guard against this.
5332 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5333 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5334 acx_cv_cc_gcc_supports_ada
=yes
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5339 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5341 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5348 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5349 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5350 $as_echo_n "(cached) " >&6
5354 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5355 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5356 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5359 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5362 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5363 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5366 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5373 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5374 do_compare
="$gcc_cv_prog_cmp_skip"
5378 # Check whether --enable-bootstrap was given.
5379 if test "${enable_bootstrap+set}" = set; then :
5380 enableval
=$enable_bootstrap;
5382 enable_bootstrap
=default
5386 # Issue errors and warnings for invalid/strange bootstrap combinations.
5387 if test -r $srcdir/gcc
/configure
; then
5393 case "$have_compiler:$host:$target:$enable_bootstrap" in
5396 # Default behavior. Enable bootstrap if we have a compiler
5397 # and we are in a native configuration.
5398 yes:$build:$build:default
)
5399 enable_bootstrap
=yes ;;
5402 enable_bootstrap
=no
;;
5404 # We have a compiler and we are in a native configuration, bootstrap is ok
5405 yes:$build:$build:yes)
5408 # Other configurations, but we have a compiler. Assume the user knows
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5412 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5415 # No compiler: if they passed --enable-bootstrap explicitly, fail
5417 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5419 # Fail if wrong command line
5421 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5425 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5426 # C++98 compiler can still start the bootstrap.
5427 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5428 CXX
="$CXX -std=gnu++98"
5431 # Check whether --enable-pgo-build was given.
5432 if test "${enable_pgo_build+set}" = set; then :
5433 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
5439 # Issue errors and warnings for invalid/strange PGO build combinations.
5440 case "$have_compiler:$host:$target:$enable_pgo_build" in
5443 # Allow the PGO build only if we aren't building a compiler and
5444 # we are in a native configuration.
5445 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
5447 # Disallow the PGO bootstrap if we are building a compiler.
5448 yes:*:*:yes |
yes:*:*:lto
)
5449 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
5452 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
5456 if test "$enable_pgo_build" != "no"; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
5458 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
5459 old_CFLAGS
="$CFLAGS"
5460 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
5461 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
5463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5464 /* end confdefs.h. */
5467 if ac_fn_c_try_compile
"$LINENO"; then :
5470 PGO_BUILD_GEN_CFLAGS
=
5472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5473 CFLAGS
="$old_CFLAGS"
5474 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5476 $as_echo "yes" >&6; }
5477 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5481 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
5484 if test "$enable_pgo_build" = "lto"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
5486 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
5487 old_CFLAGS
="$CFLAGS"
5488 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
5489 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
5490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5494 if ac_fn_c_try_compile
"$LINENO"; then :
5497 PGO_BUILD_LTO_CFLAGS
=
5499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 CFLAGS
="$old_CFLAGS"
5501 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5503 $as_echo "yes" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
5508 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
5516 # Used for setting $lt_cv_objdir
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5518 $as_echo_n "checking for objdir... " >&6; }
5519 if ${lt_cv_objdir+:} false
; then :
5520 $as_echo_n "(cached) " >&6
5522 rm -f .libs
2>/dev
/null
5523 mkdir .libs
2>/dev
/null
5524 if test -d .libs
; then
5527 # MS-DOS does not allow filenames that begin with a dot.
5530 rmdir .libs
2>/dev
/null
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5533 $as_echo "$lt_cv_objdir" >&6; }
5534 objdir
=$lt_cv_objdir
5540 cat >>confdefs.h
<<_ACEOF
5541 #define LT_OBJDIR "$lt_cv_objdir/"
5546 # Check for GMP, MPFR and MPC
5547 gmplibs
="-lmpc -lmpfr -lgmp"
5551 # Specify a location for mpc
5552 # check for this first so it ends up on the link line before mpfr.
5554 # Check whether --with-mpc was given.
5555 if test "${with_mpc+set}" = set; then :
5560 # Check whether --with-mpc-include was given.
5561 if test "${with_mpc_include+set}" = set; then :
5562 withval
=$with_mpc_include;
5566 # Check whether --with-mpc-lib was given.
5567 if test "${with_mpc_lib+set}" = set; then :
5568 withval
=$with_mpc_lib;
5572 if test "x$with_mpc" != x
; then
5573 gmplibs
="-L$with_mpc/lib $gmplibs"
5574 gmpinc
="-I$with_mpc/include $gmpinc"
5576 if test "x$with_mpc_include" != x
; then
5577 gmpinc
="-I$with_mpc_include $gmpinc"
5579 if test "x$with_mpc_lib" != x
; then
5580 gmplibs
="-L$with_mpc_lib $gmplibs"
5582 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5583 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5584 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5585 # Do not test the mpc version. Assume that it is sufficient, since
5586 # it is in the source tree, and the library has not been built yet
5587 # but it would be included on the link line in the version check below
5588 # hence making the test fail.
5592 # Specify a location for mpfr
5593 # check for this first so it ends up on the link line before gmp.
5595 # Check whether --with-mpfr-dir was given.
5596 if test "${with_mpfr_dir+set}" = set; then :
5597 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5598 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5603 # Check whether --with-mpfr was given.
5604 if test "${with_mpfr+set}" = set; then :
5609 # Check whether --with-mpfr-include was given.
5610 if test "${with_mpfr_include+set}" = set; then :
5611 withval
=$with_mpfr_include;
5615 # Check whether --with-mpfr-lib was given.
5616 if test "${with_mpfr_lib+set}" = set; then :
5617 withval
=$with_mpfr_lib;
5621 if test "x$with_mpfr" != x
; then
5622 gmplibs
="-L$with_mpfr/lib $gmplibs"
5623 gmpinc
="-I$with_mpfr/include $gmpinc"
5625 if test "x$with_mpfr_include" != x
; then
5626 gmpinc
="-I$with_mpfr_include $gmpinc"
5628 if test "x$with_mpfr_lib" != x
; then
5629 gmplibs
="-L$with_mpfr_lib $gmplibs"
5631 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5632 # MPFR v3.1.0 moved the sources into a src sub-directory.
5633 if ! test -d ${srcdir}/mpfr
/src
; then
5634 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5636 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5637 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5638 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5639 # Do not test the mpfr version. Assume that it is sufficient, since
5640 # it is in the source tree, and the library has not been built yet
5641 # but it would be included on the link line in the version check below
5642 # hence making the test fail.
5646 # Specify a location for gmp
5648 # Check whether --with-gmp-dir was given.
5649 if test "${with_gmp_dir+set}" = set; then :
5650 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5651 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5656 # Check whether --with-gmp was given.
5657 if test "${with_gmp+set}" = set; then :
5662 # Check whether --with-gmp-include was given.
5663 if test "${with_gmp_include+set}" = set; then :
5664 withval
=$with_gmp_include;
5668 # Check whether --with-gmp-lib was given.
5669 if test "${with_gmp_lib+set}" = set; then :
5670 withval
=$with_gmp_lib;
5675 if test "x$with_gmp" != x
; then
5676 gmplibs
="-L$with_gmp/lib $gmplibs"
5677 gmpinc
="-I$with_gmp/include $gmpinc"
5679 if test "x$with_gmp_include" != x
; then
5680 gmpinc
="-I$with_gmp_include $gmpinc"
5682 if test "x$with_gmp_lib" != x
; then
5683 gmplibs
="-L$with_gmp_lib $gmplibs"
5685 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5686 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5687 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5688 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5689 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5690 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5691 # Do not test the gmp version. Assume that it is sufficient, since
5692 # it is in the source tree, and the library has not been built yet
5693 # but it would be included on the link line in the version check below
5694 # hence making the test fail.
5698 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5700 saved_CFLAGS
="$CFLAGS"
5701 CFLAGS
="$CFLAGS $gmpinc"
5702 # Check for the recommended and required versions of GMP.
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5704 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5712 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5713 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5714 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5722 if ac_fn_c_try_compile
"$LINENO"; then :
5723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5730 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5731 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5732 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5740 if ac_fn_c_try_compile
"$LINENO"; then :
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5742 $as_echo "yes" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5745 $as_echo "buggy but acceptable" >&6; }
5747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }; have_gmp
=no
5752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5754 # If we have GMP, check the MPFR version.
5755 if test x
"$have_gmp" = xyes
; then
5756 # Check for the recommended and required versions of MPFR.
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5758 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5767 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5775 if ac_fn_c_try_compile
"$LINENO"; then :
5776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5784 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5792 if ac_fn_c_try_compile
"$LINENO"; then :
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5794 $as_echo "yes" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5797 $as_echo "buggy but acceptable" >&6; }
5799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }; have_gmp
=no
5804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5807 # Check for the MPC header version.
5808 if test x
"$have_gmp" = xyes
; then
5809 # Check for the recommended and required versions of MPC.
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5811 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5819 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5827 if ac_fn_c_try_compile
"$LINENO"; then :
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5835 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5843 if ac_fn_c_try_compile
"$LINENO"; then :
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5845 $as_echo "yes" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5848 $as_echo "buggy but acceptable" >&6; }
5850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }; have_gmp
=no
5855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5858 # Now check the MPFR library.
5859 if test x
"$have_gmp" = xyes
; then
5861 LIBS
="$LIBS $gmplibs"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5863 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5877 mpfr_atan2 (n, n, x, GMP_RNDN);
5878 mpfr_erfc (n, x, GMP_RNDN);
5879 mpfr_subnormalize (x, t, GMP_RNDN);
5883 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5884 mpc_cosh (c, c, MPC_RNDNN);
5885 mpc_pow (c, c, c, MPC_RNDNN);
5886 mpc_acosh (c, c, MPC_RNDNN);
5893 if ac_fn_c_try_link
"$LINENO"; then :
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5895 $as_echo "yes" >&6; }
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }; have_gmp
=no
5900 rm -f core conftest.err conftest.
$ac_objext \
5901 conftest
$ac_exeext conftest.
$ac_ext
5905 CFLAGS
="$saved_CFLAGS"
5907 # The library versions listed in the error message below should match
5908 # the HARD-minimums enforced above.
5909 if test x
$have_gmp != xyes
; then
5910 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5911 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5912 their locations. Source code for these libraries can be found at
5913 their respective hosting sites as well as at
5914 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5915 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5916 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5917 make sure that you have installed both the libraries and the header
5918 files. They may be located in separate packages." "$LINENO" 5
5922 # Flags needed for both GMP, MPFR and/or MPC.
5930 # Libraries to use for stage1 or when not bootstrapping.
5932 # Check whether --with-stage1-libs was given.
5933 if test "${with_stage1_libs+set}" = set; then :
5934 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5937 stage1_libs
=$withval
5945 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5946 # default is yes if gcc is being built; no otherwise. The reason for
5947 # this default is that gdb is sometimes linked against GNU Source
5948 # Highlight, which is a shared library that uses C++ exceptions. In
5949 # this case, -static-libstdc++ will cause crashes.
5951 # Check whether --with-static-standard-libraries was given.
5952 if test "${with_static_standard_libraries+set}" = set; then :
5953 withval
=$with_static_standard_libraries;
5955 with_static_standard_libraries
=auto
5958 if test "$with_static_standard_libraries" = auto
; then
5959 with_static_standard_libraries
=$have_compiler
5962 # Linker flags to use for stage1 or when not bootstrapping.
5964 # Check whether --with-stage1-ldflags was given.
5965 if test "${with_stage1_ldflags+set}" = set; then :
5966 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5969 stage1_ldflags
=$withval
5973 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5974 # if supported. But if the user explicitly specified the libraries to use,
5975 # trust that they are doing what they want.
5976 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5977 -a "$have_static_libs" = yes; then
5978 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5984 # Libraries to use for stage2 and later builds.
5986 # Check whether --with-boot-libs was given.
5987 if test "${with_boot_libs+set}" = set; then :
5988 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5991 poststage1_libs
=$withval
5999 # Linker flags to use for stage2 and later builds.
6001 # Check whether --with-boot-ldflags was given.
6002 if test "${with_boot_ldflags+set}" = set; then :
6003 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6006 poststage1_ldflags
=$withval
6010 # In stages 2 and 3, default to linking libstdc++ and libgcc
6011 # statically. But if the user explicitly specified the libraries to
6012 # use, trust that they are doing what they want.
6013 if test "$poststage1_libs" = ""; then
6014 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6020 # GCC GRAPHITE dependency isl.
6021 # Basic setup is inlined here, actual checks are in config/isl.m4
6024 # Check whether --with-isl was given.
6025 if test "${with_isl+set}" = set; then :
6030 # Treat --without-isl as a request to disable
6031 # GRAPHITE support and skip all following checks.
6032 if test "x$with_isl" != "xno"; then
6036 # Check whether --with-isl-include was given.
6037 if test "${with_isl_include+set}" = set; then :
6038 withval
=$with_isl_include;
6042 # Check whether --with-isl-lib was given.
6043 if test "${with_isl_lib+set}" = set; then :
6044 withval
=$with_isl_lib;
6048 # Check whether --enable-isl-version-check was given.
6049 if test "${enable_isl_version_check+set}" = set; then :
6050 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6052 ENABLE_ISL_CHECK
=yes
6056 # Initialize isllibs and islinc.
6065 isllibs
="-L$with_isl/lib"
6066 islinc
="-I$with_isl/include"
6069 if test "x${with_isl_include}" != x
; then
6070 islinc
="-I$with_isl_include"
6072 if test "x${with_isl_lib}" != x
; then
6073 isllibs
="-L$with_isl_lib"
6075 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6076 && test -d ${srcdir}/isl
; then
6077 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6078 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6081 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6084 isllibs
="${isllibs} -lisl"
6088 if test "${ENABLE_ISL_CHECK}" = yes ; then
6089 _isl_saved_CFLAGS
=$CFLAGS
6090 _isl_saved_LDFLAGS
=$LDFLAGS
6091 _isl_saved_LIBS
=$LIBS
6093 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6094 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6095 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6098 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6100 /* end confdefs.h. */
6101 #include <isl/schedule.h>
6105 isl_options_set_schedule_serialize_sccs (NULL, 0);
6110 if ac_fn_c_try_link
"$LINENO"; then :
6115 rm -f core conftest.err conftest.
$ac_objext \
6116 conftest
$ac_exeext conftest.
$ac_ext
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6118 $as_echo "$gcc_cv_isl" >&6; }
6120 if test "${gcc_cv_isl}" = no
; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6122 $as_echo "required isl version is 0.15 or later" >&6; }
6125 CFLAGS
=$_isl_saved_CFLAGS
6126 LDFLAGS
=$_isl_saved_LDFLAGS
6127 LIBS
=$_isl_saved_LIBS
6135 if test "x${with_isl}" = xno
; then
6136 graphite_requested
=no
6137 elif test "x${with_isl}" != x \
6138 ||
test "x${with_isl_include}" != x \
6139 ||
test "x${with_isl_lib}" != x
; then
6140 graphite_requested
=yes
6142 graphite_requested
=no
6147 if test "${gcc_cv_isl}" = no
; then
6152 if test "${graphite_requested}" = yes \
6153 && test "x${isllibs}" = x \
6154 && test "x${islinc}" = x
; then
6156 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6162 # If the isl check failed, disable builds of in-tree variant of isl
6163 if test "x$with_isl" = xno ||
6164 test "x$gcc_cv_isl" = xno
; then
6165 noconfigdirs
="$noconfigdirs isl"
6172 # Check for LTO support.
6173 # Check whether --enable-lto was given.
6174 if test "${enable_lto+set}" = set; then :
6175 enableval
=$enable_lto; enable_lto
=$enableval
6177 enable_lto
=yes; default_enable_lto
=yes
6186 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6187 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6188 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6197 if test $target_elf = yes; then :
6198 # ELF platforms build the lto-plugin always.
6199 build_lto_plugin
=yes
6202 if test x
"$default_enable_lto" = x
"yes" ; then
6204 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6205 # On other non-ELF platforms, LTO has yet to be validated.
6209 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6210 # It would also be nice to check the binutils support, but we don't
6211 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6212 # warn during gcc/ subconfigure; unless you're bootstrapping with
6213 # -flto it won't be needed until after installation anyway.
6215 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6216 *) if test x
"$enable_lto" = x
"yes"; then
6217 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6222 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6223 # Build it unless LTO was explicitly disabled.
6225 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6232 # Check whether --enable-linker-plugin-configure-flags was given.
6233 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6234 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6236 extra_linker_plugin_configure_flags
=
6240 # Check whether --enable-linker-plugin-flags was given.
6241 if test "${enable_linker_plugin_flags+set}" = set; then :
6242 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6244 extra_linker_plugin_flags
=
6249 # Enable --enable-host-shared.
6250 # Checked early to determine whether jit is an 'all' language
6251 # Check whether --enable-host-shared was given.
6252 if test "${enable_host_shared+set}" = set; then :
6253 enableval
=$enable_host_shared; host_shared
=$enableval
6260 # By default, C and C++ are the only stage 1 languages.
6261 stage1_languages
=,c
,
6263 # Target libraries that we bootstrap.
6264 bootstrap_target_libs
=,target-libgcc
,
6266 # Figure out what language subdirectories are present.
6267 # Look if the user specified --enable-languages="..."; if not, use
6268 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6270 # NB: embedded tabs in this IF block -- do not untabify
6271 if test -d ${srcdir}/gcc
; then
6272 if test x
"${enable_languages+set}" != xset
; then
6273 if test x
"${LANGUAGES+set}" = xset
; then
6274 enable_languages
="${LANGUAGES}"
6275 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6277 enable_languages
=default
6280 if test x
"${enable_languages}" = x ||
6281 test x
"${enable_languages}" = xyes
;
6283 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6287 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6289 # 'f95' is the old name for the 'fortran' language. We issue a warning
6290 # and make the substitution.
6291 case ,${enable_languages}, in
6293 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6294 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6298 # If bootstrapping, C++ must be enabled.
6299 case ",$enable_languages,:$enable_bootstrap" in
6302 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6303 enable_languages
="${enable_languages},c++"
6305 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6310 # First scan to see if an enabled language requires some other language.
6311 # We assume that a given config-lang.in will list all the language
6312 # front ends it requires, even if some are required indirectly.
6313 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6314 case ${lang_frag} in
6316 # The odd quoting in the next line works around
6317 # an apparent bug in bash 1.12 on linux.
6318 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6320 # From the config-lang.in, get $language, $lang_requires, and
6321 # $lang_requires_boot_languages.
6324 lang_requires_boot_languages
=
6325 # set srcdir during sourcing lang_frag to the gcc dir.
6326 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6327 # polutes this shell
6328 saved_srcdir
=${srcdir}
6329 srcdir
=${srcdir}/gcc .
${lang_frag}
6330 srcdir
=${saved_srcdir}
6331 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6332 case ,${enable_languages}, in
6337 echo " \`$other' language required by \`$language'; enabling" 1>&2
6338 enable_languages
="${enable_languages},${other}"
6342 for other
in ${lang_requires_boot_languages} ; do
6343 if test "$other" != "c"; then
6344 case ,${enable_stage1_languages}, in
6349 case ,${enable_languages}, in
6351 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6352 enable_stage1_languages
="$enable_stage1_languages,${other}"
6363 new_enable_languages
=,c
,
6365 # If LTO is enabled, add the LTO front end.
6366 if test "$enable_lto" = "yes" ; then
6367 case ,${enable_languages}, in
6369 *) enable_languages
="${enable_languages},lto" ;;
6371 if test "${build_lto_plugin}" = "yes" ; then
6372 configdirs
="$configdirs lto-plugin"
6376 # If we're building an offloading compiler, add the LTO front end.
6377 if test x
"$enable_as_accelerator_for" != x
; then
6378 case ,${enable_languages}, in
6380 *) enable_languages
="${enable_languages},lto" ;;
6384 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6385 potential_languages
=,c
,
6387 enabled_target_libs
=
6388 disabled_target_libs
=
6390 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6391 case ${lang_frag} in
6393 # The odd quoting in the next line works around
6394 # an apparent bug in bash 1.12 on linux.
6395 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6397 # From the config-lang.in, get $language, $target_libs,
6398 # $lang_dirs, $boot_language, and $build_by_default
6404 build_by_default
=yes
6405 # set srcdir during sourcing. See above about save & restore
6406 saved_srcdir
=${srcdir}
6407 srcdir
=${srcdir}/gcc .
${lang_frag}
6408 srcdir
=${saved_srcdir}
6409 if test x
${language} = x
; then
6410 echo "${lang_frag} doesn't set \$language." 1>&2
6414 if test "$language" = "c++"; then
6419 # C is always enabled, so no need to add it again
6420 if test "$language" != "c"; then
6421 case ,${enable_languages}, in
6423 # Language was explicitly selected; include it
6427 # All languages are enabled
6431 # 'default' was selected, select it if it is a default language
6432 add_this_lang
=${build_by_default}
6437 # Disable languages that need other directories if these aren't available.
6438 for i
in $subdir_requires; do
6439 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6440 case ${add_this_lang} in
6442 # Specifically requested language; tell them.
6443 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6447 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6448 add_this_lang
=unsupported
6452 add_this_lang
=unsupported
6457 # Disable Ada if no preexisting GNAT is available.
6458 case ${add_this_lang}:${language}:${have_gnat} in
6460 # Specifically requested language; tell them.
6461 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6465 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6466 add_this_lang
=unsupported
6470 add_this_lang
=unsupported
6474 # Disable jit if -enable-host-shared not specified
6475 case ${add_this_lang}:${language}:${host_shared} in
6477 # PR jit/64780: explicitly specify --enable-host-shared
6479 Enabling language \"jit\" requires --enable-host-shared.
6481 --enable-host-shared typically slows the rest of the compiler down by
6482 a few %, so you must explicitly enable it.
6484 If you want to build both the jit and the regular compiler, it is often
6485 best to do this via two separate configure/builds, in separate
6486 directories, to avoid imposing the performance cost of
6487 --enable-host-shared on the regular compiler." "$LINENO" 5
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6491 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6492 add_this_lang
=unsupported
6496 add_this_lang
=unsupported
6500 # Disable a language that is unsupported by the target.
6501 case "${add_this_lang}: $unsupported_languages " in
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6506 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6507 add_this_lang
=unsupported
6511 case $add_this_lang in
6513 # Remove language-dependent dirs.
6514 disabled_target_libs
="$disabled_target_libs $target_libs"
6515 noconfigdirs
="$noconfigdirs $lang_dirs"
6518 # Remove language-dependent dirs; still show language as supported.
6519 disabled_target_libs
="$disabled_target_libs $target_libs"
6520 noconfigdirs
="$noconfigdirs $lang_dirs"
6521 potential_languages
="${potential_languages}${language},"
6524 new_enable_languages
="${new_enable_languages}${language},"
6525 potential_languages
="${potential_languages}${language},"
6526 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6527 enabled_target_libs
="$enabled_target_libs $target_libs"
6528 case "${boot_language}:,$enable_stage1_languages," in
6529 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6530 # Add to (comma-separated) list of stage 1 languages.
6531 case ",$stage1_languages," in
6532 *,$language,* |
,yes, |
,all
,) ;;
6533 *) stage1_languages
="${stage1_languages}${language}," ;;
6535 # We need to bootstrap any supporting libraries.
6536 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6545 # Add target libraries which are only needed for disabled languages
6547 if test -n "$disabled_target_libs"; then
6548 for dir
in $disabled_target_libs; do
6549 case " $enabled_target_libs " in
6551 *) noconfigdirs
="$noconfigdirs $dir" ;;
6556 # Check whether --enable-stage1-languages was given.
6557 if test "${enable_stage1_languages+set}" = set; then :
6558 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6560 # Set it to something that will have no effect in the loop below
6561 enable_stage1_languages
=c
;;
6563 enable_stage1_languages
=`echo $new_enable_languages | \
6564 sed -e "s/^,//" -e "s/,$//" ` ;;
6566 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6567 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6570 # Add "good" languages from enable_stage1_languages to stage1_languages,
6571 # while "bad" languages go in missing_languages. Leave no duplicates.
6572 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6573 case $potential_languages in
6575 case $stage1_languages in
6577 *) stage1_languages
="$stage1_languages$i," ;;
6580 case $missing_languages in
6582 *) missing_languages
="$missing_languages$i," ;;
6589 # Remove leading/trailing commas that were added for simplicity
6590 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6591 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6592 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6593 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6595 if test "x$missing_languages" != x
; then
6597 The following requested languages could not be built: ${missing_languages}
6598 Supported languages are: ${potential_languages}" "$LINENO" 5
6600 if test "x$new_enable_languages" != "x$enable_languages"; then
6601 echo The following languages will be built
: ${new_enable_languages}
6602 enable_languages
="$new_enable_languages"
6606 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6609 # Handle --disable-<component> generically.
6610 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6611 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6612 varname
=`echo $dirname | sed -e s/+/_/g`
6613 if eval test x\
${enable_${varname}} "=" xno
; then
6614 noconfigdirs
="$noconfigdirs $dir"
6618 # Check for Boehm's garbage collector
6619 # Check whether --enable-objc-gc was given.
6620 if test "${enable_objc_gc+set}" = set; then :
6621 enableval
=$enable_objc_gc;
6625 # Check whether --with-target-bdw-gc was given.
6626 if test "${with_target_bdw_gc+set}" = set; then :
6627 withval
=$with_target_bdw_gc;
6631 # Check whether --with-target-bdw-gc-include was given.
6632 if test "${with_target_bdw_gc_include+set}" = set; then :
6633 withval
=$with_target_bdw_gc_include;
6637 # Check whether --with-target-bdw-gc-lib was given.
6638 if test "${with_target_bdw_gc_lib+set}" = set; then :
6639 withval
=$with_target_bdw_gc_lib;
6643 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6645 $as_echo_n "checking for bdw garbage collector... " >&6; }
6646 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6648 $as_echo "using bdw-gc in default locations" >&6; }
6650 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6651 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6652 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6653 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6656 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6661 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6662 case ,${enable_languages}, in
6664 # Disable libitm, libsanitizer if we're not building libstdc++
6665 case "${noconfigdirs}" in
6666 *target-libstdc
++-v3*)
6667 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6673 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6677 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6678 # $build_configdirs and $target_configdirs.
6679 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6682 for dir
in .
$skipdirs $noconfigdirs ; do
6683 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6684 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6685 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6686 if test -r $srcdir/$dirname/configure
; then
6687 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6690 notsupp
="$notsupp $dir"
6694 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6695 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6696 if test -r $srcdir/$dirname/configure
; then
6697 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6700 notsupp
="$notsupp $dir"
6704 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6705 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6706 if test -r $srcdir/$dirname/configure
; then
6707 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6710 notsupp
="$notsupp $dir"
6716 # Quietly strip out all directories which aren't configurable in this tree.
6717 # This relies on all configurable subdirectories being autoconfiscated, which
6719 build_configdirs_all
="$build_configdirs"
6721 for i
in ${build_configdirs_all} ; do
6722 j
=`echo $i | sed -e s/build-//g`
6723 if test -f ${srcdir}/$j/configure
; then
6724 build_configdirs
="${build_configdirs} $i"
6728 configdirs_all
="$configdirs"
6730 for i
in ${configdirs_all} ; do
6731 if test -f ${srcdir}/$i/configure
; then
6732 configdirs
="${configdirs} $i"
6736 target_configdirs_all
="$target_configdirs"
6738 for i
in ${target_configdirs_all} ; do
6739 j
=`echo $i | sed -e s/target-//g`
6740 if test -f ${srcdir}/$j/configure
; then
6741 target_configdirs
="${target_configdirs} $i"
6745 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6746 # so we have to add it after the preceding checks.
6747 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6749 case " $configdirs " in
6751 # If we can build libiberty, we can also build libiberty-linker-plugin.
6752 configdirs
="$configdirs libiberty-linker-plugin"
6753 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6754 --with-libiberty=../libiberty-linker-plugin";;
6756 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6760 # Sometimes we have special requirements for the host libiberty.
6761 extra_host_libiberty_configure_flags
=
6762 extra_host_zlib_configure_flags
=
6763 case " $configdirs " in
6764 *" lto-plugin "* |
*" libcc1 "*)
6765 # When these are to be built as shared libraries, the same applies to
6767 extra_host_libiberty_configure_flags
=--enable-shared
6770 # When bfd is to be built as a shared library, the same applies to
6772 if test "$enable_shared" = "yes"; then
6773 extra_host_zlib_configure_flags
=--enable-host-shared
6780 # Produce a warning message for the subdirs we can't configure.
6781 # This isn't especially interesting in the Cygnus tree, but in the individual
6782 # FSF releases, it's important to let people know when their machine isn't
6783 # supported by the one or two programs in a package.
6785 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6786 # If $appdirs is non-empty, at least one of those directories must still
6787 # be configured, or we error out. (E.g., if the gas release supports a
6788 # specified target in some subdirs but not the gas subdir, we shouldn't
6789 # pretend that all is well.)
6790 if test -n "$appdirs" ; then
6791 for dir
in $appdirs ; do
6792 if test -r $dir/Makefile.
in ; then
6793 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6797 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6803 if test -n "$appdirs" ; then
6804 echo "*** This configuration is not supported by this package." 1>&2
6808 # Okay, some application will build, or we don't care to check. Still
6809 # notify of subdirs not getting built.
6810 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6811 echo " ${notsupp}" 1>&2
6812 echo " (Any other directories should still work fine.)" 1>&2
6820 # To find our prefix, in gcc_cv_tool_prefix.
6822 # The user is always right.
6823 if test "${PATH_SEPARATOR+set}" != set; then
6824 echo "#! /bin/sh" >conf$$.sh
6825 echo "exit 0" >>conf$$.sh
6827 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6836 get_gcc_base_ver
="cat"
6838 # Check whether --with-gcc-major-version-only was given.
6839 if test "${with_gcc_major_version_only+set}" = set; then :
6840 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6841 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6851 if test "x$exec_prefix" = xNONE
; then
6852 if test "x$prefix" = xNONE
; then
6853 gcc_cv_tool_prefix
=$ac_default_prefix
6855 gcc_cv_tool_prefix
=$prefix
6858 gcc_cv_tool_prefix
=$exec_prefix
6861 # If there is no compiler in the tree, use the PATH only. In any
6862 # case, if there is no compiler in the tree nobody should use
6863 # AS_FOR_TARGET and LD_FOR_TARGET.
6864 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6865 if test x
$with_gcc_major_version_only = xyes
; then
6866 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6868 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6870 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6871 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6872 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6873 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6874 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6875 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6880 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6881 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6889 # Check whether --with-build-sysroot was given.
6890 if test "${with_build_sysroot+set}" = set; then :
6891 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6892 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6895 SYSROOT_CFLAGS_FOR_TARGET
=
6901 # Check whether --with-debug-prefix-map was given.
6902 if test "${with_debug_prefix_map+set}" = set; then :
6903 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6904 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6905 for debug_map
in $withval; do
6906 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6910 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6915 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6916 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6917 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6918 # We want to ensure that TARGET libraries (which we know are built with
6919 # gcc) are built with "-O2 -g", so include those options when setting
6920 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6921 if test "x$CFLAGS_FOR_TARGET" = x
; then
6922 if test "x${is_cross_compiler}" = xyes
; then
6923 CFLAGS_FOR_TARGET
="-g -O2"
6925 CFLAGS_FOR_TARGET
=$CFLAGS
6928 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6931 *" -g "* |
*" -g3 "*) ;;
6932 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6938 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6939 if test "x${is_cross_compiler}" = xyes
; then
6940 CXXFLAGS_FOR_TARGET
="-g -O2"
6942 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6943 case " $CXXFLAGS " in
6945 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6947 case " $CXXFLAGS " in
6948 *" -g "* |
*" -g3 "*) ;;
6949 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6957 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6958 # the named directory are copied to $(tooldir)/sys-include.
6959 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6960 if test x
${is_cross_compiler} = xno
; then
6961 echo 1>&2 '***' --with-headers is only supported when cross compiling
6964 if test x
"${with_headers}" != xyes
; then
6965 x
=${gcc_cv_tool_prefix}
6966 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6970 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6971 # the name directories are copied to $(tooldir)/lib. Multiple directories
6973 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6974 if test x
${is_cross_compiler} = xno
; then
6975 echo 1>&2 '***' --with-libs is only supported when cross compiling
6978 if test x
"${with_libs}" != xyes
; then
6979 # Copy the libraries in reverse order, so that files in the first named
6980 # library override files in subsequent libraries.
6981 x
=${gcc_cv_tool_prefix}
6982 for l
in ${with_libs}; do
6983 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6988 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6990 # This is done by determining whether or not the appropriate directory
6991 # is available, and by checking whether or not specific configurations
6992 # have requested that this magic not happen.
6994 # The command line options always override the explicit settings in
6995 # configure.ac, and the settings in configure.ac override this magic.
6997 # If the default for a toolchain is to use GNU as and ld, and you don't
6998 # want to do that, then you should use the --without-gnu-as and
6999 # --without-gnu-ld options for the configure script. Similarly, if
7000 # the default is to use the included zlib and you don't want to do that,
7001 # you should use the --with-system-zlib option for the configure script.
7003 if test x
${use_gnu_as} = x
&&
7004 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
7006 extra_host_args
="$extra_host_args --with-gnu-as"
7009 if test x
${use_gnu_ld} = x
&&
7010 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7012 extra_host_args
="$extra_host_args --with-gnu-ld"
7015 if test x
${use_included_zlib} = x
&&
7016 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7019 with_system_zlib
=yes
7020 extra_host_args
="$extra_host_args --with-system-zlib"
7023 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7024 # can detect this case.
7026 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7028 extra_host_args
="$extra_host_args --with-newlib"
7031 # Handle ${copy_dirs}
7032 set fnord
${copy_dirs}
7034 while test $# != 0 ; do
7035 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7038 echo Copying
$1 to
$2
7040 # Use the install script to create the directory and all required
7041 # parent directories.
7042 if test -d $2 ; then
7046 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7049 # Copy the directory, assuming we have tar.
7050 # FIXME: Should we use B in the second tar? Not all systems support it.
7051 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7053 # It is the responsibility of the user to correctly adjust all
7054 # symlinks. If somebody can figure out how to handle them correctly
7055 # here, feel free to add the code.
7062 # Determine a target-dependent exec_prefix that the installed
7063 # gcc will search in. Keep this list sorted by triplet, with
7064 # the *-*-osname triplets last.
7067 i
[34567]86-pc-msdosdjgpp*)
7068 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7073 md_exec_prefix
=/usr
/ccs
/bin
7077 extra_arflags_for_target
=
7078 extra_nmflags_for_target
=
7079 extra_ranlibflags_for_target
=
7080 target_makefile_frag
=/dev
/null
7083 target_makefile_frag
="config/mt-spu"
7085 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7086 target_makefile_frag
="config/mt-sde"
7088 mipsisa
*-*-elfoabi*)
7089 target_makefile_frag
="config/mt-mips-elfoabi"
7091 mips
*-*-*linux
* | mips
*-*-gnu*)
7092 target_makefile_frag
="config/mt-mips-gnu"
7095 target_makefile_frag
="config/mt-nios2-elf"
7098 target_makefile_frag
="config/mt-android"
7100 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7101 target_makefile_frag
="config/mt-gnu"
7103 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7104 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7105 # commands to handle both 32-bit and 64-bit objects. These flags are
7106 # harmless if we're using GNU nm or ar.
7107 extra_arflags_for_target
=" -X32_64"
7108 extra_nmflags_for_target
=" -B -X32_64"
7112 alphaieee_frag
=/dev
/null
7115 # This just makes sure to use the -mieee option to build target libs.
7116 # This should probably be set individually by each library.
7117 alphaieee_frag
="config/mt-alphaieee"
7121 # If --enable-target-optspace always use -Os instead of -O2 to build
7122 # the target libraries, similarly if it is not specified, use -Os
7123 # on selected platforms.
7124 ospace_frag
=/dev
/null
7125 case "${enable_target_optspace}:${target}" in
7127 ospace_frag
="config/mt-ospace"
7130 ospace_frag
="config/mt-d30v"
7132 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7133 ospace_frag
="config/mt-ospace"
7138 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7142 # Some systems (e.g., one of the i386-aix systems the gas testers are
7143 # using) don't handle "\$" correctly, so don't use it here.
7144 tooldir
='${exec_prefix}'/${target_noncanonical}
7145 build_tooldir
=${tooldir}
7147 # Create a .gdbinit file which runs the one in srcdir
7148 # and tells GDB to look there for source files.
7150 if test -r ${srcdir}/.gdbinit
; then
7153 *) cat > .
/.gdbinit
<<EOF
7157 source ${srcdir}/.gdbinit
7163 # Make sure that the compiler is able to generate an executable. If it
7164 # can't, we are probably in trouble. We don't care whether we can run the
7165 # executable--we might be using a cross compiler--we only care whether it
7166 # can be created. At this point the main configure script has set CC.
7168 echo "int main () { return 0; }" > conftest.c
7169 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7170 if test $?
= 0 ; then
7171 if test -s conftest ||
test -s conftest.exe
; then
7177 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7178 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7185 # Decide which environment variable is used to find dynamic libraries.
7187 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7188 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7189 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7190 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7193 # On systems where the dynamic library environment variable is PATH,
7194 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7195 # built executables to PATH.
7196 if test "$RPATH_ENVVAR" = PATH
; then
7197 GCC_SHLIB_SUBDIR
=/shlib
7202 # Adjust the toplevel makefile according to whether bootstrap was selected.
7203 case $enable_bootstrap in
7205 bootstrap_suffix
=bootstrap
7206 BUILD_CONFIG
=bootstrap-debug
7209 bootstrap_suffix
=no-bootstrap
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7215 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7218 # Check whether --with-build-config was given.
7219 if test "${with_build_config+set}" = set; then :
7220 withval
=$with_build_config; case $with_build_config in
7221 yes) with_build_config
= ;;
7222 no
) with_build_config
= BUILD_CONFIG
= ;;
7227 if test "x${with_build_config}" != x
; then
7228 BUILD_CONFIG
=$with_build_config
7230 case $BUILD_CONFIG in
7232 if echo "int f (void) { return 0; }" > conftest.c
&&
7233 ${CC} -c conftest.c
&&
7234 mv conftest.o conftest.o.g0
&&
7235 ${CC} -c -g conftest.c
&&
7236 mv conftest.o conftest.o.g
&&
7237 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7242 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7247 $as_echo "$BUILD_CONFIG" >&6; }
7250 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7252 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7253 # Check whether --enable-vtable-verify was given.
7254 if test "${enable_vtable_verify+set}" = set; then :
7255 enableval
=$enable_vtable_verify; case "$enableval" in
7256 yes) enable_vtable_verify
=yes ;;
7257 no
) enable_vtable_verify
=no
;;
7258 *) enable_vtable_verify
=no
;;
7261 enable_vtable_verify
=no
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7265 $as_echo "$enable_vtable_verify" >&6; }
7267 # Record target_configdirs and the configure arguments for target and
7268 # build configuration in Makefile.
7269 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7270 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7271 bootstrap_fixincludes
=no
7273 # If we are building libgomp, bootstrap it.
7274 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7275 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7278 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7279 # or bootstrap-ubsan, bootstrap it.
7280 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7281 case "$BUILD_CONFIG" in
7282 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7283 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7284 bootstrap_fixincludes
=yes
7289 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7290 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7291 test "$enable_vtable_verify" != no
; then
7292 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7295 # Determine whether gdb needs tk/tcl or not.
7296 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7297 # and in that case we want gdb to be built without tk. Ugh!
7298 # In fact I believe gdb is the *only* package directly dependent on tk,
7299 # so we should be able to put the 'maybe's in unconditionally and
7300 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7301 # 100% sure that that's safe though.
7303 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7304 case "$enable_gdbtk" in
7308 GDB_TK
="${gdb_tk}" ;;
7310 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7311 # distro. Eventually someone will fix this and move Insight, nee
7312 # gdbtk to a separate directory.
7313 if test -d ${srcdir}/gdb
/gdbtk
; then
7320 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7321 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7323 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
7324 # else does, only include them if one of these is built. The Makefile
7325 # provides the ordering, so it's enough here to add to the list.
7326 case " ${configdirs} " in
7328 configdirs
="${configdirs} gnulib gdbsupport"
7331 configdirs
="${configdirs} gnulib gdbsupport"
7335 # Strip out unwanted targets.
7337 # While at that, we remove Makefiles if we were started for recursive
7338 # configuration, so that the top-level Makefile reconfigures them,
7339 # like we used to do when configure itself was recursive.
7341 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7342 # but now we're fixing up the Makefile ourselves with the additional
7343 # commands passed to AC_CONFIG_FILES. Use separate variables
7344 # extrasub-{build,host,target} not because there is any reason to split
7345 # the substitutions up that way, but only to remain below the limit of
7346 # 99 commands in a script, for HP-UX sed.
7348 # Do not nest @if/@endif or @unless/@endunless pairs, because
7349 # configure will not warn you at all.
7351 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7352 yes:yes:*\ gold\
*:*,c
++,*) ;;
7353 yes:yes:*\ gold\
*:*)
7354 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7359 for module
in ${build_configdirs} ; do
7360 if test -z "${no_recursion}" \
7361 && test -f ${build_subdir}/${module}/Makefile
; then
7362 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7363 rm -f ${build_subdir}/${module}/Makefile
7365 extrasub_build
="$extrasub_build
7366 /^@if build-$module\$/d
7367 /^@endif build-$module\$/d
7368 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7369 /^@if build-$module-$bootstrap_suffix\$/d
7370 /^@endif build-$module-$bootstrap_suffix\$/d
7371 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7374 for module
in ${configdirs} ; do
7375 if test -z "${no_recursion}"; then
7376 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7377 if test -f ${file}; then
7378 echo 1>&2 "*** removing ${file} to force reconfigure"
7383 case ${module},${bootstrap_fixincludes} in
7384 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7385 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7387 extrasub_host
="$extrasub_host
7389 /^@endif $module\$/d
7390 /^@unless $module\$/,/^@endunless $module\$/d
7391 /^@if $module-$host_bootstrap_suffix\$/d
7392 /^@endif $module-$host_bootstrap_suffix\$/d
7393 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7396 for module
in ${target_configdirs} ; do
7397 if test -z "${no_recursion}" \
7398 && test -f ${target_subdir}/${module}/Makefile
; then
7399 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7400 rm -f ${target_subdir}/${module}/Makefile
7403 # We only bootstrap target libraries listed in bootstrap_target_libs.
7404 case $bootstrap_target_libs in
7405 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7406 *) target_bootstrap_suffix
=no-bootstrap
;;
7409 extrasub_target
="$extrasub_target
7410 /^@if target-$module\$/d
7411 /^@endif target-$module\$/d
7412 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7413 /^@if target-$module-$target_bootstrap_suffix\$/d
7414 /^@endif target-$module-$target_bootstrap_suffix\$/d
7415 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7418 # Do the final fixup along with target modules.
7419 extrasub_target
="$extrasub_target
7424 if test "$enable_pgo_build" != "no"; then
7425 extrasub_build
="$extrasub_build
7427 /^@endif pgo-build\$/d"
7430 # Create the serialization dependencies. This uses a temporary file.
7432 # Check whether --enable-serial-configure was given.
7433 if test "${enable_serial_configure+set}" = set; then :
7434 enableval
=$enable_serial_configure;
7438 case ${enable_serial_configure} in
7440 enable_serial_build_configure
=yes
7441 enable_serial_host_configure
=yes
7442 enable_serial_target_configure
=yes
7446 # These force 'configure's to be done one at a time, to avoid problems
7447 # with contention over a shared config.cache.
7449 echo '# serdep.tmp' > serdep.tmp
7451 test "x${enable_serial_build_configure}" = xyes
&&
7452 for item
in ${build_configdirs} ; do
7455 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7460 test "x${enable_serial_host_configure}" = xyes
&&
7461 for item
in ${configdirs} ; do
7464 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7469 test "x${enable_serial_target_configure}" = xyes
&&
7470 for item
in ${target_configdirs} ; do
7473 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7477 serialization_dependencies
=serdep.tmp
7480 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7481 # target, nonopt, and variable assignments. These are the ones we
7482 # might not want to pass down to subconfigures. The exception being
7483 # --cache-file=/dev/null, which is used to turn off the use of cache
7484 # files altogether, and which should be passed on to subconfigures.
7485 # Also strip program-prefix, program-suffix, and program-transform-name,
7486 # so that we can pass down a consistent program-transform-name.
7491 eval "set -- $ac_configure_args"
7494 if test X
"$skip_next" = X
"yes"; then
7498 if test X
"$keep_next" = X
"yes"; then
7501 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7503 baseargs
="$baseargs '$ac_arg'"
7504 tbaseargs
="$tbaseargs '$ac_arg'"
7509 # Handle separated arguments. Based on the logic generated by
7512 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7513 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7514 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7515 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7529 --with-* |
--without-*)
7530 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7534 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7537 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7546 mpc | mpfr | gmp | isl
)
7547 # If we're processing --with-$lib, --with-$lib-include or
7548 # --with-$lib-lib, for one of the libs above, and target is
7549 # different from host, don't pass the current argument to any
7550 # target library's configure.
7551 if test x
$is_cross_compiler = xyes
; then
7560 --cache-file=/dev
/null | \
7561 -cache-file=/dev
/null
)
7562 # Handled here to avoid the test to skip args below.
7563 baseargs
="$baseargs '$ac_arg'"
7564 tbaseargs
="$tbaseargs '$ac_arg'"
7565 # Assert: $separate_arg should always be no.
7566 keep_next
=$separate_arg
7582 -program-prefix* | \
7583 -program-suffix* | \
7584 -program-transform-name* )
7585 skip_next
=$separate_arg
7589 # An option. Add it.
7592 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7594 baseargs
="$baseargs '$ac_arg'"
7595 if test X
"$skip_targ" = Xno
; then
7596 tbaseargs
="$tbaseargs '$ac_arg'"
7598 keep_next
=$separate_arg
7601 # Either a variable assignment, or a nonopt (triplet). Don't
7602 # pass it down; let the Makefile handle this.
7607 # Remove the initial space we just introduced and, as these will be
7608 # expanded by make, quote '$'.
7609 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7611 # Add in --program-transform-name, after --program-prefix and
7612 # --program-suffix have been applied to it. Autoconf has already
7613 # doubled dollar signs and backslashes in program_transform_name; we want
7614 # the backslashes un-doubled, and then the entire thing wrapped in single
7615 # quotes, because this will be expanded first by make and then by the shell.
7616 # Also, because we want to override the logic in subdir configure scripts to
7617 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7618 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7619 ${program_transform_name}
7621 gcc_transform_name
=`cat conftestsed.out`
7622 rm -f conftestsed.out
7623 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7624 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7625 if test "$silent" = yes; then
7626 baseargs
="$baseargs --silent"
7627 tbaseargs
="$tbaseargs --silent"
7629 baseargs
="$baseargs --disable-option-checking"
7630 tbaseargs
="$tbaseargs --disable-option-checking"
7632 # Record and document user additions to sub configure arguments.
7637 # For the build-side libraries, we just need to pretend we're native,
7638 # and not use the same cache file. Multilibs are neither needed nor
7639 # desired. We can't even use the same cache file for all build-side
7640 # libraries, as they're compiled differently; some with C, some with
7641 # C++ or with different feature-enabling options.
7642 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7644 # For host modules, accept cache file option, or specification as blank.
7645 case "${cache_file}" in
7647 cache_file_option
="" ;;
7648 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7649 cache_file_option
="--cache-file=${cache_file}" ;;
7651 cache_file_option
="--cache-file=../${cache_file}" ;;
7654 # Host dirs don't like to share a cache file either, horribly enough.
7655 # This seems to be due to autoconf 2.5x stupidity.
7656 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7658 target_configargs
="$target_configargs ${tbaseargs}"
7660 # Passing a --with-cross-host argument lets the target libraries know
7661 # whether they are being built with a cross-compiler or being built
7662 # native. However, it would be better to use other mechanisms to make the
7663 # sorts of decisions they want to make on this basis. Please consider
7664 # this option to be deprecated. FIXME.
7665 if test x
${is_cross_compiler} = xyes
; then
7666 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7669 # Special user-friendly check for native x86_64-linux build, if
7670 # multilib is not explicitly enabled.
7671 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7672 x86_64-
*linux
*:yes:$build:$build:)
7673 # Make sure we have a development environment that handles 32-bit
7675 echo "int main () { return 0; }" > conftest.c
7676 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7677 if test $?
= 0 ; then
7678 if test -s conftest ||
test -s conftest.exe
; then
7683 if test x
${dev64} != xyes
; then
7684 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
7689 # Default to --enable-multilib.
7690 if test x
${enable_multilib} = x
; then
7691 target_configargs
="--enable-multilib ${target_configargs}"
7694 # Pass --with-newlib if appropriate. Note that target_configdirs has
7695 # changed from the earlier setting of with_newlib.
7696 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7697 target_configargs
="--with-newlib ${target_configargs}"
7700 # Different target subdirs use different values of certain variables
7701 # (notably CXX). Worse, multilibs use *lots* of different values.
7702 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7703 # it doesn't automatically accept command-line overrides of them.
7704 # This means it's not safe for target subdirs to share a cache file,
7705 # which is disgusting, but there you have it. Hopefully this can be
7706 # fixed in future. It's still worthwhile to use a cache file for each
7707 # directory. I think.
7709 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7710 # We need to pass --target, as newer autoconf's requires consistency
7711 # for target_alias and gcc doesn't manage it consistently.
7712 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7715 case " $target_configdirs " in
7717 case " $target_configargs " in
7718 *" --with-newlib "*)
7721 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7725 # If we're not building GCC, don't discard standard headers.
7726 if test -d ${srcdir}/gcc
; then
7727 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7729 if test "${build}" != "${host}"; then
7730 # On Canadian crosses, CC_FOR_TARGET will have already been set
7731 # by `configure', so we won't have an opportunity to add -Bgcc/
7732 # to it. This is right: we don't want to search that directory
7733 # for binaries, but we want the header files in there, so add
7735 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7737 # Someone might think of using the pre-installed headers on
7738 # Canadian crosses, in case the installed compiler is not fully
7739 # compatible with the compiler being built. In this case, it
7740 # would be better to flag an error than risking having
7741 # incompatible object files being constructed. We can't
7742 # guarantee that an error will be flagged, but let's hope the
7743 # compiler will do it, when presented with incompatible header
7748 case "${target}-${is_cross_compiler}" in
7749 i
[3456789]86-*-linux*-no)
7750 # Here host == target, so we don't need to build gcc,
7751 # so we don't want to discard standard headers.
7752 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7755 # If we're building newlib, use its generic headers last, but search
7756 # for any libc-related directories first (so make it the last -B
7758 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7760 # If we're building libgloss, find the startup file, simulator library
7761 # and linker script.
7762 case " $target_configdirs " in
7764 # Look for startup file, simulator library and maybe linker script.
7765 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7766 # Look for libnosys.a in case the target needs it.
7767 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7768 # Most targets have the linker script in the source directory.
7769 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7780 x86_64-
*mingw
* |
*-w64-mingw*)
7781 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7782 # however, use a symlink named 'mingw' in ${prefix} .
7783 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7786 # MinGW can't be handled as Cygwin above since it does not use newlib.
7787 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'
7791 # Allow the user to override the flags for
7792 # our build compiler if desired.
7793 if test x
"${build}" = x
"${host}" ; then
7794 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7795 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7796 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7799 # On Canadian crosses, we'll be searching the right directories for
7800 # the previously-installed cross compiler, so don't bother to add
7801 # flags for directories within the install tree of the compiler
7802 # being built; programs in there won't even run.
7803 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7804 # Search for pre-installed headers if nothing else fits.
7805 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7808 if test "x
${use_gnu_ld}" = x &&
7809 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7810 # Arrange for us to find uninstalled linker scripts.
7811 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7814 # Search for other target-specific linker scripts and such.
7817 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7821 # Makefile fragments.
7822 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7824 eval fragval=\$$frag
7825 if test $fragval != /dev/null; then
7826 eval $frag=${srcdir}/$fragval
7834 # Miscellanea: directories, flags, etc.
7843 # Build module lists & subconfigure args.
7847 # Host module lists & subconfigure args.
7852 # Target module lists & subconfigure args.
7873 # Generate default definitions for YACC, M4, LEX and other programs that run
7874 # on the build machine. These are used if the Makefile can't locate these
7875 # programs in objdir.
7876 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7878 for ac_prog in 'bison -y' byacc yacc
7880 # Extract the first word of "$ac_prog", so it can be a program name with args.
7881 set dummy $ac_prog; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7883 $as_echo_n "checking
for $ac_word...
" >&6; }
7884 if ${ac_cv_prog_YACC+:} false; then :
7885 $as_echo_n "(cached
) " >&6
7887 if test -n "$YACC"; then
7888 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_YACC="$ac_prog"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7907 YACC=$ac_cv_prog_YACC
7908 if test -n "$YACC"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7910 $as_echo "$YACC" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7913 $as_echo "no
" >&6; }
7917 test -n "$YACC" && break
7919 test -n "$YACC" || YACC="$MISSING bison
-y"
7921 case " $build_configdirs " in
7922 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7925 for ac_prog in bison
7927 # Extract the first word of "$ac_prog", so it can be a program name with args.
7928 set dummy $ac_prog; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7930 $as_echo_n "checking
for $ac_word...
" >&6; }
7931 if ${ac_cv_prog_BISON+:} false; then :
7932 $as_echo_n "(cached
) " >&6
7934 if test -n "$BISON"; then
7935 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 ac_cv_prog_BISON="$ac_prog"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7954 BISON=$ac_cv_prog_BISON
7955 if test -n "$BISON"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7957 $as_echo "$BISON" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7960 $as_echo "no
" >&6; }
7964 test -n "$BISON" && break
7966 test -n "$BISON" || BISON="$MISSING bison
"
7968 case " $build_configdirs " in
7969 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7972 for ac_prog in gm4 gnum4 m4
7974 # Extract the first word of "$ac_prog", so it can be a program name with args.
7975 set dummy $ac_prog; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7977 $as_echo_n "checking
for $ac_word...
" >&6; }
7978 if ${ac_cv_prog_M4+:} false; then :
7979 $as_echo_n "(cached
) " >&6
7981 if test -n "$M4"; then
7982 ac_cv_prog_M4="$M4" # Let the user override the test.
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_M4="$ac_prog"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 if test -n "$M4"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
8004 $as_echo "$M4" >&6; }
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8007 $as_echo "no
" >&6; }
8011 test -n "$M4" && break
8013 test -n "$M4" || M4="$MISSING m4"
8015 case " $build_configdirs " in
8016 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8019 for ac_prog in flex lex
8021 # Extract the first word of "$ac_prog", so it can be a program name with args.
8022 set dummy $ac_prog; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8024 $as_echo_n "checking
for $ac_word...
" >&6; }
8025 if ${ac_cv_prog_LEX+:} false; then :
8026 $as_echo_n "(cached
) " >&6
8028 if test -n "$LEX"; then
8029 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_LEX="$ac_prog"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8049 if test -n "$LEX"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8051 $as_echo "$LEX" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8054 $as_echo "no
" >&6; }
8058 test -n "$LEX" && break
8060 test -n "$LEX" || LEX="$MISSING flex
"
8062 case " $build_configdirs " in
8063 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8064 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8069 # Extract the first word of "$ac_prog", so it can be a program name with args.
8070 set dummy $ac_prog; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8072 $as_echo_n "checking
for $ac_word...
" >&6; }
8073 if ${ac_cv_prog_FLEX+:} false; then :
8074 $as_echo_n "(cached
) " >&6
8076 if test -n "$FLEX"; then
8077 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_FLEX="$ac_prog"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8096 FLEX=$ac_cv_prog_FLEX
8097 if test -n "$FLEX"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8099 $as_echo "$FLEX" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8102 $as_echo "no
" >&6; }
8106 test -n "$FLEX" && break
8108 test -n "$FLEX" || FLEX="$MISSING flex
"
8110 case " $build_configdirs " in
8111 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8114 for ac_prog in makeinfo
8116 # Extract the first word of "$ac_prog", so it can be a program name with args.
8117 set dummy $ac_prog; ac_word=$2
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8119 $as_echo_n "checking
for $ac_word...
" >&6; }
8120 if ${ac_cv_prog_MAKEINFO+:} false; then :
8121 $as_echo_n "(cached
) " >&6
8123 if test -n "$MAKEINFO"; then
8124 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 test -z "$as_dir" && as_dir=.
8131 for ac_exec_ext in '' $ac_executable_extensions; do
8132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8133 ac_cv_prog_MAKEINFO="$ac_prog"
8134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8143 MAKEINFO=$ac_cv_prog_MAKEINFO
8144 if test -n "$MAKEINFO"; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8146 $as_echo "$MAKEINFO" >&6; }
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8149 $as_echo "no
" >&6; }
8153 test -n "$MAKEINFO" && break
8155 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8157 case " $build_configdirs " in
8158 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8161 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8162 # higher, else we use the "missing
" dummy.
8163 if ${MAKEINFO} --version \
8164 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8167 MAKEINFO="$MISSING makeinfo
"
8173 # FIXME: expect and dejagnu may become build tools?
8175 for ac_prog in expect
8177 # Extract the first word of "$ac_prog", so it can be a program name with args.
8178 set dummy $ac_prog; ac_word=$2
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8180 $as_echo_n "checking
for $ac_word...
" >&6; }
8181 if ${ac_cv_prog_EXPECT+:} false; then :
8182 $as_echo_n "(cached
) " >&6
8184 if test -n "$EXPECT"; then
8185 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8191 test -z "$as_dir" && as_dir=.
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_EXPECT="$ac_prog"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8204 EXPECT=$ac_cv_prog_EXPECT
8205 if test -n "$EXPECT"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8207 $as_echo "$EXPECT" >&6; }
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8210 $as_echo "no
" >&6; }
8214 test -n "$EXPECT" && break
8216 test -n "$EXPECT" || EXPECT="expect
"
8218 case " $configdirs " in
8220 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8224 for ac_prog in runtest
8226 # Extract the first word of "$ac_prog", so it can be a program name with args.
8227 set dummy $ac_prog; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8229 $as_echo_n "checking
for $ac_word...
" >&6; }
8230 if ${ac_cv_prog_RUNTEST+:} false; then :
8231 $as_echo_n "(cached
) " >&6
8233 if test -n "$RUNTEST"; then
8234 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_RUNTEST="$ac_prog"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8253 RUNTEST=$ac_cv_prog_RUNTEST
8254 if test -n "$RUNTEST"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8256 $as_echo "$RUNTEST" >&6; }
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8259 $as_echo "no
" >&6; }
8263 test -n "$RUNTEST" && break
8265 test -n "$RUNTEST" || RUNTEST="runtest
"
8267 case " $configdirs " in
8269 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8276 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8277 ncn_target_tool_prefix=
8278 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8282 if test -n "$AR"; then
8284 elif test -n "$ac_cv_prog_AR"; then
8288 if test -n "$ac_cv_prog_AR"; then
8289 for ncn_progname in ar; do
8290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8291 set dummy ${ncn_progname}; ac_word=$2
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8293 $as_echo_n "checking
for $ac_word...
" >&6; }
8294 if ${ac_cv_prog_AR+:} false; then :
8295 $as_echo_n "(cached
) " >&6
8297 if test -n "$AR"; then
8298 ac_cv_prog_AR="$AR" # Let the user override the test.
8300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304 test -z "$as_dir" && as_dir=.
8305 for ac_exec_ext in '' $ac_executable_extensions; do
8306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8307 ac_cv_prog_AR="${ncn_progname}"
8308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8318 if test -n "$AR"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8320 $as_echo "$AR" >&6; }
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8323 $as_echo "no
" >&6; }
8330 for ncn_progname in ar; do
8331 if test -n "$ncn_tool_prefix"; then
8332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8333 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8335 $as_echo_n "checking
for $ac_word...
" >&6; }
8336 if ${ac_cv_prog_AR+:} false; then :
8337 $as_echo_n "(cached
) " >&6
8339 if test -n "$AR"; then
8340 ac_cv_prog_AR="$AR" # Let the user override the test.
8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8346 test -z "$as_dir" && as_dir=.
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8349 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8360 if test -n "$AR"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8362 $as_echo "$AR" >&6; }
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8365 $as_echo "no
" >&6; }
8370 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8372 set dummy ${ncn_progname}; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8374 $as_echo_n "checking
for $ac_word...
" >&6; }
8375 if ${ac_cv_prog_AR+:} false; then :
8376 $as_echo_n "(cached
) " >&6
8378 if test -n "$AR"; then
8379 ac_cv_prog_AR="$AR" # Let the user override the test.
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8388 ac_cv_prog_AR="${ncn_progname}"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8399 if test -n "$AR"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8401 $as_echo "$AR" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8404 $as_echo "no
" >&6; }
8409 test -n "$ac_cv_prog_AR" && break
8412 if test -z "$ac_cv_prog_AR" ; then
8414 if test $build = $host ; then
8417 AR="${ncn_tool_prefix}$2"
8423 if test -n "$AS"; then
8425 elif test -n "$ac_cv_prog_AS"; then
8429 if test -n "$ac_cv_prog_AS"; then
8430 for ncn_progname in as; do
8431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8432 set dummy ${ncn_progname}; ac_word=$2
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8434 $as_echo_n "checking
for $ac_word...
" >&6; }
8435 if ${ac_cv_prog_AS+:} false; then :
8436 $as_echo_n "(cached
) " >&6
8438 if test -n "$AS"; then
8439 ac_cv_prog_AS="$AS" # Let the user override the test.
8441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 test -z "$as_dir" && as_dir=.
8446 for ac_exec_ext in '' $ac_executable_extensions; do
8447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8448 ac_cv_prog_AS="${ncn_progname}"
8449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8459 if test -n "$AS"; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8461 $as_echo "$AS" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8464 $as_echo "no
" >&6; }
8471 for ncn_progname in as; do
8472 if test -n "$ncn_tool_prefix"; then
8473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8474 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8476 $as_echo_n "checking
for $ac_word...
" >&6; }
8477 if ${ac_cv_prog_AS+:} false; then :
8478 $as_echo_n "(cached
) " >&6
8480 if test -n "$AS"; then
8481 ac_cv_prog_AS="$AS" # Let the user override the test.
8483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8487 test -z "$as_dir" && as_dir=.
8488 for ac_exec_ext in '' $ac_executable_extensions; do
8489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8490 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8501 if test -n "$AS"; then
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8503 $as_echo "$AS" >&6; }
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8506 $as_echo "no
" >&6; }
8511 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8513 set dummy ${ncn_progname}; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8515 $as_echo_n "checking
for $ac_word...
" >&6; }
8516 if ${ac_cv_prog_AS+:} false; then :
8517 $as_echo_n "(cached
) " >&6
8519 if test -n "$AS"; then
8520 ac_cv_prog_AS="$AS" # Let the user override the test.
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8529 ac_cv_prog_AS="${ncn_progname}"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8540 if test -n "$AS"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8542 $as_echo "$AS" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8545 $as_echo "no
" >&6; }
8550 test -n "$ac_cv_prog_AS" && break
8553 if test -z "$ac_cv_prog_AS" ; then
8555 if test $build = $host ; then
8558 AS="${ncn_tool_prefix}$2"
8564 if test -n "$DLLTOOL"; then
8565 ac_cv_prog_DLLTOOL=$DLLTOOL
8566 elif test -n "$ac_cv_prog_DLLTOOL"; then
8567 DLLTOOL=$ac_cv_prog_DLLTOOL
8570 if test -n "$ac_cv_prog_DLLTOOL"; then
8571 for ncn_progname in dlltool; do
8572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8573 set dummy ${ncn_progname}; ac_word=$2
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8575 $as_echo_n "checking
for $ac_word...
" >&6; }
8576 if ${ac_cv_prog_DLLTOOL+:} false; then :
8577 $as_echo_n "(cached
) " >&6
8579 if test -n "$DLLTOOL"; then
8580 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir=.
8587 for ac_exec_ext in '' $ac_executable_extensions; do
8588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8589 ac_cv_prog_DLLTOOL="${ncn_progname}"
8590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8599 DLLTOOL=$ac_cv_prog_DLLTOOL
8600 if test -n "$DLLTOOL"; then
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8602 $as_echo "$DLLTOOL" >&6; }
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8605 $as_echo "no
" >&6; }
8612 for ncn_progname in dlltool; do
8613 if test -n "$ncn_tool_prefix"; then
8614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8615 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8617 $as_echo_n "checking
for $ac_word...
" >&6; }
8618 if ${ac_cv_prog_DLLTOOL+:} false; then :
8619 $as_echo_n "(cached
) " >&6
8621 if test -n "$DLLTOOL"; then
8622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8628 test -z "$as_dir" && as_dir=.
8629 for ac_exec_ext in '' $ac_executable_extensions; do
8630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8631 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8641 DLLTOOL=$ac_cv_prog_DLLTOOL
8642 if test -n "$DLLTOOL"; then
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8644 $as_echo "$DLLTOOL" >&6; }
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8647 $as_echo "no
" >&6; }
8652 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8654 set dummy ${ncn_progname}; ac_word=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8656 $as_echo_n "checking
for $ac_word...
" >&6; }
8657 if ${ac_cv_prog_DLLTOOL+:} false; then :
8658 $as_echo_n "(cached
) " >&6
8660 if test -n "$DLLTOOL"; then
8661 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir=.
8668 for ac_exec_ext in '' $ac_executable_extensions; do
8669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8670 ac_cv_prog_DLLTOOL="${ncn_progname}"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8680 DLLTOOL=$ac_cv_prog_DLLTOOL
8681 if test -n "$DLLTOOL"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8683 $as_echo "$DLLTOOL" >&6; }
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8686 $as_echo "no
" >&6; }
8691 test -n "$ac_cv_prog_DLLTOOL" && break
8694 if test -z "$ac_cv_prog_DLLTOOL" ; then
8696 if test $build = $host ; then
8699 DLLTOOL="${ncn_tool_prefix}$2"
8705 if test -n "$LD"; then
8707 elif test -n "$ac_cv_prog_LD"; then
8711 if test -n "$ac_cv_prog_LD"; then
8712 for ncn_progname in ld; do
8713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8714 set dummy ${ncn_progname}; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8716 $as_echo_n "checking
for $ac_word...
" >&6; }
8717 if ${ac_cv_prog_LD+:} false; then :
8718 $as_echo_n "(cached
) " >&6
8720 if test -n "$LD"; then
8721 ac_cv_prog_LD="$LD" # Let the user override the test.
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 test -z "$as_dir" && as_dir=.
8728 for ac_exec_ext in '' $ac_executable_extensions; do
8729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8730 ac_cv_prog_LD="${ncn_progname}"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8741 if test -n "$LD"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8743 $as_echo "$LD" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8746 $as_echo "no
" >&6; }
8753 for ncn_progname in ld; do
8754 if test -n "$ncn_tool_prefix"; then
8755 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8756 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8758 $as_echo_n "checking
for $ac_word...
" >&6; }
8759 if ${ac_cv_prog_LD+:} false; then :
8760 $as_echo_n "(cached
) " >&6
8762 if test -n "$LD"; then
8763 ac_cv_prog_LD="$LD" # Let the user override the test.
8765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8769 test -z "$as_dir" && as_dir=.
8770 for ac_exec_ext in '' $ac_executable_extensions; do
8771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8772 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8783 if test -n "$LD"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8785 $as_echo "$LD" >&6; }
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8788 $as_echo "no
" >&6; }
8793 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8795 set dummy ${ncn_progname}; ac_word=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8797 $as_echo_n "checking
for $ac_word...
" >&6; }
8798 if ${ac_cv_prog_LD+:} false; then :
8799 $as_echo_n "(cached
) " >&6
8801 if test -n "$LD"; then
8802 ac_cv_prog_LD="$LD" # Let the user override the test.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8811 ac_cv_prog_LD="${ncn_progname}"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8822 if test -n "$LD"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8824 $as_echo "$LD" >&6; }
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8827 $as_echo "no
" >&6; }
8832 test -n "$ac_cv_prog_LD" && break
8835 if test -z "$ac_cv_prog_LD" ; then
8837 if test $build = $host ; then
8840 LD="${ncn_tool_prefix}$2"
8846 if test -n "$LIPO"; then
8847 ac_cv_prog_LIPO=$LIPO
8848 elif test -n "$ac_cv_prog_LIPO"; then
8849 LIPO=$ac_cv_prog_LIPO
8852 if test -n "$ac_cv_prog_LIPO"; then
8853 for ncn_progname in lipo; do
8854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8855 set dummy ${ncn_progname}; ac_word=$2
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8857 $as_echo_n "checking
for $ac_word...
" >&6; }
8858 if ${ac_cv_prog_LIPO+:} false; then :
8859 $as_echo_n "(cached
) " >&6
8861 if test -n "$LIPO"; then
8862 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8868 test -z "$as_dir" && as_dir=.
8869 for ac_exec_ext in '' $ac_executable_extensions; do
8870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8871 ac_cv_prog_LIPO="${ncn_progname}"
8872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8881 LIPO=$ac_cv_prog_LIPO
8882 if test -n "$LIPO"; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8884 $as_echo "$LIPO" >&6; }
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8887 $as_echo "no
" >&6; }
8894 for ncn_progname in lipo; do
8895 if test -n "$ncn_tool_prefix"; then
8896 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8897 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8899 $as_echo_n "checking
for $ac_word...
" >&6; }
8900 if ${ac_cv_prog_LIPO+:} false; then :
8901 $as_echo_n "(cached
) " >&6
8903 if test -n "$LIPO"; then
8904 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 test -z "$as_dir" && as_dir=.
8911 for ac_exec_ext in '' $ac_executable_extensions; do
8912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8913 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8923 LIPO=$ac_cv_prog_LIPO
8924 if test -n "$LIPO"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8926 $as_echo "$LIPO" >&6; }
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8929 $as_echo "no
" >&6; }
8934 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8936 set dummy ${ncn_progname}; ac_word=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8938 $as_echo_n "checking
for $ac_word...
" >&6; }
8939 if ${ac_cv_prog_LIPO+:} false; then :
8940 $as_echo_n "(cached
) " >&6
8942 if test -n "$LIPO"; then
8943 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 test -z "$as_dir" && as_dir=.
8950 for ac_exec_ext in '' $ac_executable_extensions; do
8951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8952 ac_cv_prog_LIPO="${ncn_progname}"
8953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8962 LIPO=$ac_cv_prog_LIPO
8963 if test -n "$LIPO"; then
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8965 $as_echo "$LIPO" >&6; }
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8968 $as_echo "no
" >&6; }
8973 test -n "$ac_cv_prog_LIPO" && break
8976 if test -z "$ac_cv_prog_LIPO" ; then
8978 if test $build = $host ; then
8981 LIPO="${ncn_tool_prefix}$2"
8987 if test -n "$NM"; then
8989 elif test -n "$ac_cv_prog_NM"; then
8993 if test -n "$ac_cv_prog_NM"; then
8994 for ncn_progname in nm; do
8995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8996 set dummy ${ncn_progname}; ac_word=$2
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8998 $as_echo_n "checking
for $ac_word...
" >&6; }
8999 if ${ac_cv_prog_NM+:} false; then :
9000 $as_echo_n "(cached
) " >&6
9002 if test -n "$NM"; then
9003 ac_cv_prog_NM="$NM" # Let the user override the test.
9005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9009 test -z "$as_dir" && as_dir=.
9010 for ac_exec_ext in '' $ac_executable_extensions; do
9011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9012 ac_cv_prog_NM="${ncn_progname}"
9013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9023 if test -n "$NM"; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9025 $as_echo "$NM" >&6; }
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9028 $as_echo "no
" >&6; }
9035 for ncn_progname in nm; do
9036 if test -n "$ncn_tool_prefix"; then
9037 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9038 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9040 $as_echo_n "checking
for $ac_word...
" >&6; }
9041 if ${ac_cv_prog_NM+:} false; then :
9042 $as_echo_n "(cached
) " >&6
9044 if test -n "$NM"; then
9045 ac_cv_prog_NM="$NM" # Let the user override the test.
9047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir=.
9052 for ac_exec_ext in '' $ac_executable_extensions; do
9053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9054 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9065 if test -n "$NM"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9067 $as_echo "$NM" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9070 $as_echo "no
" >&6; }
9075 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9077 set dummy ${ncn_progname}; ac_word=$2
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9079 $as_echo_n "checking
for $ac_word...
" >&6; }
9080 if ${ac_cv_prog_NM+:} false; then :
9081 $as_echo_n "(cached
) " >&6
9083 if test -n "$NM"; then
9084 ac_cv_prog_NM="$NM" # Let the user override the test.
9086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9090 test -z "$as_dir" && as_dir=.
9091 for ac_exec_ext in '' $ac_executable_extensions; do
9092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9093 ac_cv_prog_NM="${ncn_progname}"
9094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9104 if test -n "$NM"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9106 $as_echo "$NM" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9109 $as_echo "no
" >&6; }
9114 test -n "$ac_cv_prog_NM" && break
9117 if test -z "$ac_cv_prog_NM" ; then
9119 if test $build = $host ; then
9122 NM="${ncn_tool_prefix}$2"
9128 if test -n "$RANLIB"; then
9129 ac_cv_prog_RANLIB=$RANLIB
9130 elif test -n "$ac_cv_prog_RANLIB"; then
9131 RANLIB=$ac_cv_prog_RANLIB
9134 if test -n "$ac_cv_prog_RANLIB"; then
9135 for ncn_progname in ranlib; do
9136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9137 set dummy ${ncn_progname}; ac_word=$2
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9139 $as_echo_n "checking
for $ac_word...
" >&6; }
9140 if ${ac_cv_prog_RANLIB+:} false; then :
9141 $as_echo_n "(cached
) " >&6
9143 if test -n "$RANLIB"; then
9144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9150 test -z "$as_dir" && as_dir=.
9151 for ac_exec_ext in '' $ac_executable_extensions; do
9152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9153 ac_cv_prog_RANLIB="${ncn_progname}"
9154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9163 RANLIB=$ac_cv_prog_RANLIB
9164 if test -n "$RANLIB"; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9166 $as_echo "$RANLIB" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9169 $as_echo "no
" >&6; }
9176 for ncn_progname in ranlib; do
9177 if test -n "$ncn_tool_prefix"; then
9178 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9179 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9181 $as_echo_n "checking
for $ac_word...
" >&6; }
9182 if ${ac_cv_prog_RANLIB+:} false; then :
9183 $as_echo_n "(cached
) " >&6
9185 if test -n "$RANLIB"; then
9186 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192 test -z "$as_dir" && as_dir=.
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9195 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9205 RANLIB=$ac_cv_prog_RANLIB
9206 if test -n "$RANLIB"; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9208 $as_echo "$RANLIB" >&6; }
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9211 $as_echo "no
" >&6; }
9216 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9218 set dummy ${ncn_progname}; ac_word=$2
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9220 $as_echo_n "checking
for $ac_word...
" >&6; }
9221 if ${ac_cv_prog_RANLIB+:} false; then :
9222 $as_echo_n "(cached
) " >&6
9224 if test -n "$RANLIB"; then
9225 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 test -z "$as_dir" && as_dir=.
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9234 ac_cv_prog_RANLIB="${ncn_progname}"
9235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9244 RANLIB=$ac_cv_prog_RANLIB
9245 if test -n "$RANLIB"; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9247 $as_echo "$RANLIB" >&6; }
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9250 $as_echo "no
" >&6; }
9255 test -n "$ac_cv_prog_RANLIB" && break
9258 if test -z "$ac_cv_prog_RANLIB" ; then
9264 if test -n "$STRIP"; then
9265 ac_cv_prog_STRIP=$STRIP
9266 elif test -n "$ac_cv_prog_STRIP"; then
9267 STRIP=$ac_cv_prog_STRIP
9270 if test -n "$ac_cv_prog_STRIP"; then
9271 for ncn_progname in strip; do
9272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9273 set dummy ${ncn_progname}; ac_word=$2
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9275 $as_echo_n "checking
for $ac_word...
" >&6; }
9276 if ${ac_cv_prog_STRIP+:} false; then :
9277 $as_echo_n "(cached
) " >&6
9279 if test -n "$STRIP"; then
9280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9286 test -z "$as_dir" && as_dir=.
9287 for ac_exec_ext in '' $ac_executable_extensions; do
9288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9289 ac_cv_prog_STRIP="${ncn_progname}"
9290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9299 STRIP=$ac_cv_prog_STRIP
9300 if test -n "$STRIP"; then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9302 $as_echo "$STRIP" >&6; }
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9305 $as_echo "no
" >&6; }
9312 for ncn_progname in strip; do
9313 if test -n "$ncn_tool_prefix"; then
9314 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9315 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9317 $as_echo_n "checking
for $ac_word...
" >&6; }
9318 if ${ac_cv_prog_STRIP+:} false; then :
9319 $as_echo_n "(cached
) " >&6
9321 if test -n "$STRIP"; then
9322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir=.
9329 for ac_exec_ext in '' $ac_executable_extensions; do
9330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9331 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9341 STRIP=$ac_cv_prog_STRIP
9342 if test -n "$STRIP"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9344 $as_echo "$STRIP" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9347 $as_echo "no
" >&6; }
9352 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9354 set dummy ${ncn_progname}; ac_word=$2
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9356 $as_echo_n "checking
for $ac_word...
" >&6; }
9357 if ${ac_cv_prog_STRIP+:} false; then :
9358 $as_echo_n "(cached
) " >&6
9360 if test -n "$STRIP"; then
9361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9367 test -z "$as_dir" && as_dir=.
9368 for ac_exec_ext in '' $ac_executable_extensions; do
9369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9370 ac_cv_prog_STRIP="${ncn_progname}"
9371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9380 STRIP=$ac_cv_prog_STRIP
9381 if test -n "$STRIP"; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9383 $as_echo "$STRIP" >&6; }
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9386 $as_echo "no
" >&6; }
9391 test -n "$ac_cv_prog_STRIP" && break
9394 if test -z "$ac_cv_prog_STRIP" ; then
9400 if test -n "$WINDRES"; then
9401 ac_cv_prog_WINDRES=$WINDRES
9402 elif test -n "$ac_cv_prog_WINDRES"; then
9403 WINDRES=$ac_cv_prog_WINDRES
9406 if test -n "$ac_cv_prog_WINDRES"; then
9407 for ncn_progname in windres; do
9408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9409 set dummy ${ncn_progname}; ac_word=$2
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9411 $as_echo_n "checking
for $ac_word...
" >&6; }
9412 if ${ac_cv_prog_WINDRES+:} false; then :
9413 $as_echo_n "(cached
) " >&6
9415 if test -n "$WINDRES"; then
9416 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9422 test -z "$as_dir" && as_dir=.
9423 for ac_exec_ext in '' $ac_executable_extensions; do
9424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9425 ac_cv_prog_WINDRES="${ncn_progname}"
9426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9435 WINDRES=$ac_cv_prog_WINDRES
9436 if test -n "$WINDRES"; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9438 $as_echo "$WINDRES" >&6; }
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9441 $as_echo "no
" >&6; }
9448 for ncn_progname in windres; do
9449 if test -n "$ncn_tool_prefix"; then
9450 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9451 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9453 $as_echo_n "checking
for $ac_word...
" >&6; }
9454 if ${ac_cv_prog_WINDRES+:} false; then :
9455 $as_echo_n "(cached
) " >&6
9457 if test -n "$WINDRES"; then
9458 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9464 test -z "$as_dir" && as_dir=.
9465 for ac_exec_ext in '' $ac_executable_extensions; do
9466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9467 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9477 WINDRES=$ac_cv_prog_WINDRES
9478 if test -n "$WINDRES"; then
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9480 $as_echo "$WINDRES" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9483 $as_echo "no
" >&6; }
9488 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9490 set dummy ${ncn_progname}; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9492 $as_echo_n "checking
for $ac_word...
" >&6; }
9493 if ${ac_cv_prog_WINDRES+:} false; then :
9494 $as_echo_n "(cached
) " >&6
9496 if test -n "$WINDRES"; then
9497 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_prog_WINDRES="${ncn_progname}"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9516 WINDRES=$ac_cv_prog_WINDRES
9517 if test -n "$WINDRES"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9519 $as_echo "$WINDRES" >&6; }
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9522 $as_echo "no
" >&6; }
9527 test -n "$ac_cv_prog_WINDRES" && break
9530 if test -z "$ac_cv_prog_WINDRES" ; then
9532 if test $build = $host ; then
9535 WINDRES="${ncn_tool_prefix}$2"
9541 if test -n "$WINDMC"; then
9542 ac_cv_prog_WINDMC=$WINDMC
9543 elif test -n "$ac_cv_prog_WINDMC"; then
9544 WINDMC=$ac_cv_prog_WINDMC
9547 if test -n "$ac_cv_prog_WINDMC"; then
9548 for ncn_progname in windmc; do
9549 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9550 set dummy ${ncn_progname}; ac_word=$2
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9552 $as_echo_n "checking
for $ac_word...
" >&6; }
9553 if ${ac_cv_prog_WINDMC+:} false; then :
9554 $as_echo_n "(cached
) " >&6
9556 if test -n "$WINDMC"; then
9557 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9563 test -z "$as_dir" && as_dir=.
9564 for ac_exec_ext in '' $ac_executable_extensions; do
9565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9566 ac_cv_prog_WINDMC="${ncn_progname}"
9567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9576 WINDMC=$ac_cv_prog_WINDMC
9577 if test -n "$WINDMC"; then
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9579 $as_echo "$WINDMC" >&6; }
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9582 $as_echo "no
" >&6; }
9589 for ncn_progname in windmc; do
9590 if test -n "$ncn_tool_prefix"; then
9591 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9592 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9594 $as_echo_n "checking
for $ac_word...
" >&6; }
9595 if ${ac_cv_prog_WINDMC+:} false; then :
9596 $as_echo_n "(cached
) " >&6
9598 if test -n "$WINDMC"; then
9599 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9608 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9618 WINDMC=$ac_cv_prog_WINDMC
9619 if test -n "$WINDMC"; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9621 $as_echo "$WINDMC" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9624 $as_echo "no
" >&6; }
9629 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9631 set dummy ${ncn_progname}; ac_word=$2
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9633 $as_echo_n "checking
for $ac_word...
" >&6; }
9634 if ${ac_cv_prog_WINDMC+:} false; then :
9635 $as_echo_n "(cached
) " >&6
9637 if test -n "$WINDMC"; then
9638 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir=.
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_WINDMC="${ncn_progname}"
9648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9657 WINDMC=$ac_cv_prog_WINDMC
9658 if test -n "$WINDMC"; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9660 $as_echo "$WINDMC" >&6; }
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9663 $as_echo "no
" >&6; }
9668 test -n "$ac_cv_prog_WINDMC" && break
9671 if test -z "$ac_cv_prog_WINDMC" ; then
9673 if test $build = $host ; then
9676 WINDMC="${ncn_tool_prefix}$2"
9682 if test -n "$OBJCOPY"; then
9683 ac_cv_prog_OBJCOPY=$OBJCOPY
9684 elif test -n "$ac_cv_prog_OBJCOPY"; then
9685 OBJCOPY=$ac_cv_prog_OBJCOPY
9688 if test -n "$ac_cv_prog_OBJCOPY"; then
9689 for ncn_progname in objcopy; do
9690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9691 set dummy ${ncn_progname}; ac_word=$2
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9693 $as_echo_n "checking
for $ac_word...
" >&6; }
9694 if ${ac_cv_prog_OBJCOPY+:} false; then :
9695 $as_echo_n "(cached
) " >&6
9697 if test -n "$OBJCOPY"; then
9698 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9704 test -z "$as_dir" && as_dir=.
9705 for ac_exec_ext in '' $ac_executable_extensions; do
9706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9707 ac_cv_prog_OBJCOPY="${ncn_progname}"
9708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9717 OBJCOPY=$ac_cv_prog_OBJCOPY
9718 if test -n "$OBJCOPY"; then
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9720 $as_echo "$OBJCOPY" >&6; }
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9723 $as_echo "no
" >&6; }
9730 for ncn_progname in objcopy; do
9731 if test -n "$ncn_tool_prefix"; then
9732 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9733 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9735 $as_echo_n "checking
for $ac_word...
" >&6; }
9736 if ${ac_cv_prog_OBJCOPY+:} false; then :
9737 $as_echo_n "(cached
) " >&6
9739 if test -n "$OBJCOPY"; then
9740 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9746 test -z "$as_dir" && as_dir=.
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9759 OBJCOPY=$ac_cv_prog_OBJCOPY
9760 if test -n "$OBJCOPY"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9762 $as_echo "$OBJCOPY" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9765 $as_echo "no
" >&6; }
9770 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9772 set dummy ${ncn_progname}; ac_word=$2
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9774 $as_echo_n "checking
for $ac_word...
" >&6; }
9775 if ${ac_cv_prog_OBJCOPY+:} false; then :
9776 $as_echo_n "(cached
) " >&6
9778 if test -n "$OBJCOPY"; then
9779 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785 test -z "$as_dir" && as_dir=.
9786 for ac_exec_ext in '' $ac_executable_extensions; do
9787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9788 ac_cv_prog_OBJCOPY="${ncn_progname}"
9789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9798 OBJCOPY=$ac_cv_prog_OBJCOPY
9799 if test -n "$OBJCOPY"; then
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9801 $as_echo "$OBJCOPY" >&6; }
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9804 $as_echo "no
" >&6; }
9809 test -n "$ac_cv_prog_OBJCOPY" && break
9812 if test -z "$ac_cv_prog_OBJCOPY" ; then
9814 if test $build = $host ; then
9817 OBJCOPY="${ncn_tool_prefix}$2"
9823 if test -n "$OBJDUMP"; then
9824 ac_cv_prog_OBJDUMP=$OBJDUMP
9825 elif test -n "$ac_cv_prog_OBJDUMP"; then
9826 OBJDUMP=$ac_cv_prog_OBJDUMP
9829 if test -n "$ac_cv_prog_OBJDUMP"; then
9830 for ncn_progname in objdump; do
9831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9832 set dummy ${ncn_progname}; ac_word=$2
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9834 $as_echo_n "checking
for $ac_word...
" >&6; }
9835 if ${ac_cv_prog_OBJDUMP+:} false; then :
9836 $as_echo_n "(cached
) " >&6
9838 if test -n "$OBJDUMP"; then
9839 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9845 test -z "$as_dir" && as_dir=.
9846 for ac_exec_ext in '' $ac_executable_extensions; do
9847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9848 ac_cv_prog_OBJDUMP="${ncn_progname}"
9849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9858 OBJDUMP=$ac_cv_prog_OBJDUMP
9859 if test -n "$OBJDUMP"; then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9861 $as_echo "$OBJDUMP" >&6; }
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9864 $as_echo "no
" >&6; }
9871 for ncn_progname in objdump; do
9872 if test -n "$ncn_tool_prefix"; then
9873 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9874 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9876 $as_echo_n "checking
for $ac_word...
" >&6; }
9877 if ${ac_cv_prog_OBJDUMP+:} false; then :
9878 $as_echo_n "(cached
) " >&6
9880 if test -n "$OBJDUMP"; then
9881 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9887 test -z "$as_dir" && as_dir=.
9888 for ac_exec_ext in '' $ac_executable_extensions; do
9889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9900 OBJDUMP=$ac_cv_prog_OBJDUMP
9901 if test -n "$OBJDUMP"; then
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9903 $as_echo "$OBJDUMP" >&6; }
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9906 $as_echo "no
" >&6; }
9911 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9913 set dummy ${ncn_progname}; ac_word=$2
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9915 $as_echo_n "checking
for $ac_word...
" >&6; }
9916 if ${ac_cv_prog_OBJDUMP+:} false; then :
9917 $as_echo_n "(cached
) " >&6
9919 if test -n "$OBJDUMP"; then
9920 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9926 test -z "$as_dir" && as_dir=.
9927 for ac_exec_ext in '' $ac_executable_extensions; do
9928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9929 ac_cv_prog_OBJDUMP="${ncn_progname}"
9930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9939 OBJDUMP=$ac_cv_prog_OBJDUMP
9940 if test -n "$OBJDUMP"; then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9942 $as_echo "$OBJDUMP" >&6; }
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9945 $as_echo "no
" >&6; }
9950 test -n "$ac_cv_prog_OBJDUMP" && break
9953 if test -z "$ac_cv_prog_OBJDUMP" ; then
9955 if test $build = $host ; then
9958 OBJDUMP="${ncn_tool_prefix}$2"
9964 if test -n "$READELF"; then
9965 ac_cv_prog_READELF=$READELF
9966 elif test -n "$ac_cv_prog_READELF"; then
9967 READELF=$ac_cv_prog_READELF
9970 if test -n "$ac_cv_prog_READELF"; then
9971 for ncn_progname in readelf; do
9972 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9973 set dummy ${ncn_progname}; ac_word=$2
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9975 $as_echo_n "checking
for $ac_word...
" >&6; }
9976 if ${ac_cv_prog_READELF+:} false; then :
9977 $as_echo_n "(cached
) " >&6
9979 if test -n "$READELF"; then
9980 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_READELF="${ncn_progname}"
9990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9999 READELF=$ac_cv_prog_READELF
10000 if test -n "$READELF"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10002 $as_echo "$READELF" >&6; }
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10005 $as_echo "no
" >&6; }
10012 for ncn_progname in readelf; do
10013 if test -n "$ncn_tool_prefix"; then
10014 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10015 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10017 $as_echo_n "checking
for $ac_word...
" >&6; }
10018 if ${ac_cv_prog_READELF+:} false; then :
10019 $as_echo_n "(cached
) " >&6
10021 if test -n "$READELF"; then
10022 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10028 test -z "$as_dir" && as_dir=.
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10041 READELF=$ac_cv_prog_READELF
10042 if test -n "$READELF"; then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10044 $as_echo "$READELF" >&6; }
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10047 $as_echo "no
" >&6; }
10052 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10054 set dummy ${ncn_progname}; ac_word=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10056 $as_echo_n "checking
for $ac_word...
" >&6; }
10057 if ${ac_cv_prog_READELF+:} false; then :
10058 $as_echo_n "(cached
) " >&6
10060 if test -n "$READELF"; then
10061 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10064 for as_dir in $PATH
10067 test -z "$as_dir" && as_dir=.
10068 for ac_exec_ext in '' $ac_executable_extensions; do
10069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10070 ac_cv_prog_READELF="${ncn_progname}"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10080 READELF=$ac_cv_prog_READELF
10081 if test -n "$READELF"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10083 $as_echo "$READELF" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10086 $as_echo "no
" >&6; }
10091 test -n "$ac_cv_prog_READELF" && break
10094 if test -z "$ac_cv_prog_READELF" ; then
10096 if test $build = $host ; then
10099 READELF="${ncn_tool_prefix}$2"
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
10109 $as_echo_n "checking
for -plugin option...
" >&6; }
10111 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
10113 for plugin in $plugin_names; do
10114 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
10115 if test x$plugin_so = x$plugin; then
10116 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
10118 if test x$plugin_so != x$plugin; then
10119 plugin_option="--plugin $plugin_so"
10123 if test -n "$ac_tool_prefix"; then
10124 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10125 set dummy ${ac_tool_prefix}ar; ac_word=$2
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10127 $as_echo_n "checking
for $ac_word...
" >&6; }
10128 if ${ac_cv_prog_AR+:} false; then :
10129 $as_echo_n "(cached
) " >&6
10131 if test -n "$AR"; then
10132 ac_cv_prog_AR="$AR" # Let the user override the test.
10134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10135 for as_dir in $PATH
10138 test -z "$as_dir" && as_dir=.
10139 for ac_exec_ext in '' $ac_executable_extensions; do
10140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10141 ac_cv_prog_AR="${ac_tool_prefix}ar"
10142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10152 if test -n "$AR"; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10154 $as_echo "$AR" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10157 $as_echo "no
" >&6; }
10162 if test -z "$ac_cv_prog_AR"; then
10164 # Extract the first word of "ar", so it can be a program name with args.
10165 set dummy ar; ac_word=$2
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10167 $as_echo_n "checking
for $ac_word...
" >&6; }
10168 if ${ac_cv_prog_ac_ct_AR+:} false; then :
10169 $as_echo_n "(cached
) " >&6
10171 if test -n "$ac_ct_AR"; then
10172 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10175 for as_dir in $PATH
10178 test -z "$as_dir" && as_dir=.
10179 for ac_exec_ext in '' $ac_executable_extensions; do
10180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10181 ac_cv_prog_ac_ct_AR="ar"
10182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10191 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10192 if test -n "$ac_ct_AR"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
10194 $as_echo "$ac_ct_AR" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10197 $as_echo "no
" >&6; }
10200 if test "x
$ac_ct_AR" = x; then
10203 case $cross_compiling:$ac_tool_warned in
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10206 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10207 ac_tool_warned=yes ;;
10212 AR="$ac_cv_prog_AR"
10215 if test "${AR}" = "" ; then
10216 as_fn_error $? "Required archive tool
'ar' not found on PATH.
" "$LINENO" 5
10219 ${AR} $plugin_option rc conftest.a conftest.c
10220 if test "$?
" != 0; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
10222 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
10226 if test -n "$plugin_option"; then
10227 PLUGIN_OPTION="$plugin_option"
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
10229 $as_echo "$plugin_option" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10232 $as_echo "no
" >&6; }
10236 RANLIB_PLUGIN_OPTION=
10237 if test -n "$PLUGIN_OPTION"; then
10238 if $AR --help 2>&1 | grep -q "\
--plugin"; then
10239 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
10241 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
10242 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
10245 if test "$enable_pgo_build" != "no
"; then
10246 as_fn_error $? "AR with
--plugin and rc is required
for LTO build
" "$LINENO" 5
10254 # Check whether --with-build-time-tools was given.
10255 if test "${with_build_time_tools+set}" = set; then :
10256 withval=$with_build_time_tools; case x"$withval" in
10259 with_build_time_tools=
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10261 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10265 with_build_time_tools=
10271 if test -n "$CC_FOR_TARGET"; then
10272 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10273 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10274 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10277 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10278 for ncn_progname in cc gcc; do
10279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10280 set dummy ${ncn_progname}; ac_word=$2
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10282 $as_echo_n "checking
for $ac_word...
" >&6; }
10283 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10284 $as_echo_n "(cached
) " >&6
10286 if test -n "$CC_FOR_TARGET"; then
10287 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10290 for as_dir in $PATH
10293 test -z "$as_dir" && as_dir=.
10294 for ac_exec_ext in '' $ac_executable_extensions; do
10295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10296 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10306 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10307 if test -n "$CC_FOR_TARGET"; then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10309 $as_echo "$CC_FOR_TARGET" >&6; }
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10312 $as_echo "no
" >&6; }
10319 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10320 for ncn_progname in cc gcc; do
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10322 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10323 if test -x $with_build_time_tools/${ncn_progname}; then
10324 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10326 $as_echo "yes" >&6; }
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10330 $as_echo "no
" >&6; }
10335 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10336 for ncn_progname in cc gcc; do
10337 if test -n "$ncn_target_tool_prefix"; then
10338 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10339 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10341 $as_echo_n "checking
for $ac_word...
" >&6; }
10342 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10343 $as_echo_n "(cached
) " >&6
10345 if test -n "$CC_FOR_TARGET"; then
10346 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10349 for as_dir in $PATH
10352 test -z "$as_dir" && as_dir=.
10353 for ac_exec_ext in '' $ac_executable_extensions; do
10354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10355 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10365 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10366 if test -n "$CC_FOR_TARGET"; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10368 $as_echo "$CC_FOR_TARGET" >&6; }
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10371 $as_echo "no
" >&6; }
10376 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10377 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10378 set dummy ${ncn_progname}; ac_word=$2
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10380 $as_echo_n "checking
for $ac_word...
" >&6; }
10381 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10382 $as_echo_n "(cached
) " >&6
10384 if test -n "$CC_FOR_TARGET"; then
10385 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10388 for as_dir in $PATH
10391 test -z "$as_dir" && as_dir=.
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10394 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10404 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10405 if test -n "$CC_FOR_TARGET"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10407 $as_echo "$CC_FOR_TARGET" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10410 $as_echo "no
" >&6; }
10415 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10419 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10421 if test $build = $target ; then
10424 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10427 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10432 if test -n "$CXX_FOR_TARGET"; then
10433 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10434 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10435 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10438 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10439 for ncn_progname in c++ g++ cxx gxx; do
10440 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10441 set dummy ${ncn_progname}; ac_word=$2
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10443 $as_echo_n "checking
for $ac_word...
" >&6; }
10444 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10445 $as_echo_n "(cached
) " >&6
10447 if test -n "$CXX_FOR_TARGET"; then
10448 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10451 for as_dir in $PATH
10454 test -z "$as_dir" && as_dir=.
10455 for ac_exec_ext in '' $ac_executable_extensions; do
10456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10457 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10467 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10468 if test -n "$CXX_FOR_TARGET"; then
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10470 $as_echo "$CXX_FOR_TARGET" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10473 $as_echo "no
" >&6; }
10480 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10481 for ncn_progname in c++ g++ cxx gxx; do
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10483 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10484 if test -x $with_build_time_tools/${ncn_progname}; then
10485 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10487 $as_echo "yes" >&6; }
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10491 $as_echo "no
" >&6; }
10496 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10497 for ncn_progname in c++ g++ cxx gxx; do
10498 if test -n "$ncn_target_tool_prefix"; then
10499 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10500 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10502 $as_echo_n "checking
for $ac_word...
" >&6; }
10503 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10504 $as_echo_n "(cached
) " >&6
10506 if test -n "$CXX_FOR_TARGET"; then
10507 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10510 for as_dir in $PATH
10513 test -z "$as_dir" && as_dir=.
10514 for ac_exec_ext in '' $ac_executable_extensions; do
10515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10516 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10526 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10527 if test -n "$CXX_FOR_TARGET"; then
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10529 $as_echo "$CXX_FOR_TARGET" >&6; }
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10532 $as_echo "no
" >&6; }
10537 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10539 set dummy ${ncn_progname}; ac_word=$2
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10541 $as_echo_n "checking
for $ac_word...
" >&6; }
10542 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10543 $as_echo_n "(cached
) " >&6
10545 if test -n "$CXX_FOR_TARGET"; then
10546 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10549 for as_dir in $PATH
10552 test -z "$as_dir" && as_dir=.
10553 for ac_exec_ext in '' $ac_executable_extensions; do
10554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10555 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10565 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10566 if test -n "$CXX_FOR_TARGET"; then
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10568 $as_echo "$CXX_FOR_TARGET" >&6; }
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10571 $as_echo "no
" >&6; }
10576 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10580 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10581 set dummy c++ g++ cxx gxx
10582 if test $build = $target ; then
10583 CXX_FOR_TARGET="$2"
10585 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10588 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10593 if test -n "$GCC_FOR_TARGET"; then
10594 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10595 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10596 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10599 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10600 for ncn_progname in gcc; do
10601 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10602 set dummy ${ncn_progname}; ac_word=$2
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10604 $as_echo_n "checking
for $ac_word...
" >&6; }
10605 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10606 $as_echo_n "(cached
) " >&6
10608 if test -n "$GCC_FOR_TARGET"; then
10609 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10612 for as_dir in $PATH
10615 test -z "$as_dir" && as_dir=.
10616 for ac_exec_ext in '' $ac_executable_extensions; do
10617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10618 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10628 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10629 if test -n "$GCC_FOR_TARGET"; then
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10631 $as_echo "$GCC_FOR_TARGET" >&6; }
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10634 $as_echo "no
" >&6; }
10641 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10642 for ncn_progname in gcc; do
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10644 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10645 if test -x $with_build_time_tools/${ncn_progname}; then
10646 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10648 $as_echo "yes" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10652 $as_echo "no
" >&6; }
10657 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10658 for ncn_progname in gcc; do
10659 if test -n "$ncn_target_tool_prefix"; then
10660 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10661 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10663 $as_echo_n "checking
for $ac_word...
" >&6; }
10664 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10665 $as_echo_n "(cached
) " >&6
10667 if test -n "$GCC_FOR_TARGET"; then
10668 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10671 for as_dir in $PATH
10674 test -z "$as_dir" && as_dir=.
10675 for ac_exec_ext in '' $ac_executable_extensions; do
10676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10687 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10688 if test -n "$GCC_FOR_TARGET"; then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10690 $as_echo "$GCC_FOR_TARGET" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10693 $as_echo "no
" >&6; }
10698 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10699 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10700 set dummy ${ncn_progname}; ac_word=$2
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10702 $as_echo_n "checking
for $ac_word...
" >&6; }
10703 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10704 $as_echo_n "(cached
) " >&6
10706 if test -n "$GCC_FOR_TARGET"; then
10707 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10710 for as_dir in $PATH
10713 test -z "$as_dir" && as_dir=.
10714 for ac_exec_ext in '' $ac_executable_extensions; do
10715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10716 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10717 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10726 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10727 if test -n "$GCC_FOR_TARGET"; then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10729 $as_echo "$GCC_FOR_TARGET" >&6; }
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10732 $as_echo "no
" >&6; }
10737 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10741 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10742 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10744 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10749 if test -n "$GFORTRAN_FOR_TARGET"; then
10750 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10751 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10752 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10755 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10756 for ncn_progname in gfortran; do
10757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10758 set dummy ${ncn_progname}; ac_word=$2
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10760 $as_echo_n "checking
for $ac_word...
" >&6; }
10761 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10762 $as_echo_n "(cached
) " >&6
10764 if test -n "$GFORTRAN_FOR_TARGET"; then
10765 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10768 for as_dir in $PATH
10771 test -z "$as_dir" && as_dir=.
10772 for ac_exec_ext in '' $ac_executable_extensions; do
10773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10774 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10784 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10785 if test -n "$GFORTRAN_FOR_TARGET"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10787 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10790 $as_echo "no
" >&6; }
10797 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10798 for ncn_progname in gfortran; do
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10800 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10801 if test -x $with_build_time_tools/${ncn_progname}; then
10802 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10804 $as_echo "yes" >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10808 $as_echo "no
" >&6; }
10813 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10814 for ncn_progname in gfortran; do
10815 if test -n "$ncn_target_tool_prefix"; then
10816 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10817 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10819 $as_echo_n "checking
for $ac_word...
" >&6; }
10820 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10821 $as_echo_n "(cached
) " >&6
10823 if test -n "$GFORTRAN_FOR_TARGET"; then
10824 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $PATH
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10833 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10843 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10844 if test -n "$GFORTRAN_FOR_TARGET"; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10846 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10849 $as_echo "no
" >&6; }
10854 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10856 set dummy ${ncn_progname}; ac_word=$2
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10858 $as_echo_n "checking
for $ac_word...
" >&6; }
10859 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10860 $as_echo_n "(cached
) " >&6
10862 if test -n "$GFORTRAN_FOR_TARGET"; then
10863 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10866 for as_dir in $PATH
10869 test -z "$as_dir" && as_dir=.
10870 for ac_exec_ext in '' $ac_executable_extensions; do
10871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10872 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10882 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10883 if test -n "$GFORTRAN_FOR_TARGET"; then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10885 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10888 $as_echo "no
" >&6; }
10893 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10897 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10899 if test $build = $target ; then
10900 GFORTRAN_FOR_TARGET="$2"
10902 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10905 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10910 if test -n "$GOC_FOR_TARGET"; then
10911 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10912 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10913 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10916 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10917 for ncn_progname in gccgo; do
10918 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10919 set dummy ${ncn_progname}; ac_word=$2
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10921 $as_echo_n "checking
for $ac_word...
" >&6; }
10922 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10923 $as_echo_n "(cached
) " >&6
10925 if test -n "$GOC_FOR_TARGET"; then
10926 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10929 for as_dir in $PATH
10932 test -z "$as_dir" && as_dir=.
10933 for ac_exec_ext in '' $ac_executable_extensions; do
10934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10935 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10945 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10946 if test -n "$GOC_FOR_TARGET"; then
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10948 $as_echo "$GOC_FOR_TARGET" >&6; }
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10951 $as_echo "no
" >&6; }
10958 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10959 for ncn_progname in gccgo; do
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10961 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10962 if test -x $with_build_time_tools/${ncn_progname}; then
10963 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10965 $as_echo "yes" >&6; }
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10969 $as_echo "no
" >&6; }
10974 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10975 for ncn_progname in gccgo; do
10976 if test -n "$ncn_target_tool_prefix"; then
10977 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10978 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10980 $as_echo_n "checking
for $ac_word...
" >&6; }
10981 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10982 $as_echo_n "(cached
) " >&6
10984 if test -n "$GOC_FOR_TARGET"; then
10985 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10988 for as_dir in $PATH
10991 test -z "$as_dir" && as_dir=.
10992 for ac_exec_ext in '' $ac_executable_extensions; do
10993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10994 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11004 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11005 if test -n "$GOC_FOR_TARGET"; then
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11007 $as_echo "$GOC_FOR_TARGET" >&6; }
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11010 $as_echo "no
" >&6; }
11015 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11017 set dummy ${ncn_progname}; ac_word=$2
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11019 $as_echo_n "checking
for $ac_word...
" >&6; }
11020 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11021 $as_echo_n "(cached
) " >&6
11023 if test -n "$GOC_FOR_TARGET"; then
11024 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11027 for as_dir in $PATH
11030 test -z "$as_dir" && as_dir=.
11031 for ac_exec_ext in '' $ac_executable_extensions; do
11032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11033 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11043 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11044 if test -n "$GOC_FOR_TARGET"; then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11046 $as_echo "$GOC_FOR_TARGET" >&6; }
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11049 $as_echo "no
" >&6; }
11054 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11058 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11060 if test $build = $target ; then
11061 GOC_FOR_TARGET="$2"
11063 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11066 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11071 cat > conftest.c << \EOF
11076 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11077 have_gcc_for_target=yes
11079 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11080 have_gcc_for_target=no
11087 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11088 if test -n "$with_build_time_tools"; then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11090 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11091 if test -x $with_build_time_tools/ar; then
11092 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11093 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11095 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11098 $as_echo "no
" >&6; }
11100 elif test $build != $host && test $have_gcc_for_target = yes; then
11101 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11102 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11103 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11106 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11107 # Extract the first word of "ar", so it can be a program name with args.
11108 set dummy ar; ac_word=$2
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11110 $as_echo_n "checking
for $ac_word...
" >&6; }
11111 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11112 $as_echo_n "(cached
) " >&6
11114 case $AR_FOR_TARGET in
11116 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11120 for as_dir in $gcc_cv_tool_dirs
11123 test -z "$as_dir" && as_dir=.
11124 for ac_exec_ext in '' $ac_executable_extensions; do
11125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11126 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11137 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11138 if test -n "$AR_FOR_TARGET"; then
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11140 $as_echo "$AR_FOR_TARGET" >&6; }
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11143 $as_echo "no
" >&6; }
11148 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11151 if test -n "$AR_FOR_TARGET"; then
11152 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11153 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11154 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11157 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11158 for ncn_progname in ar; do
11159 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11160 set dummy ${ncn_progname}; ac_word=$2
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11162 $as_echo_n "checking
for $ac_word...
" >&6; }
11163 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11164 $as_echo_n "(cached
) " >&6
11166 if test -n "$AR_FOR_TARGET"; then
11167 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11170 for as_dir in $PATH
11173 test -z "$as_dir" && as_dir=.
11174 for ac_exec_ext in '' $ac_executable_extensions; do
11175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11176 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11186 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11187 if test -n "$AR_FOR_TARGET"; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11189 $as_echo "$AR_FOR_TARGET" >&6; }
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11192 $as_echo "no
" >&6; }
11199 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11200 for ncn_progname in ar; do
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11202 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11203 if test -x $with_build_time_tools/${ncn_progname}; then
11204 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11206 $as_echo "yes" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11210 $as_echo "no
" >&6; }
11215 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11216 for ncn_progname in ar; do
11217 if test -n "$ncn_target_tool_prefix"; then
11218 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11219 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11221 $as_echo_n "checking
for $ac_word...
" >&6; }
11222 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11223 $as_echo_n "(cached
) " >&6
11225 if test -n "$AR_FOR_TARGET"; then
11226 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11229 for as_dir in $PATH
11232 test -z "$as_dir" && as_dir=.
11233 for ac_exec_ext in '' $ac_executable_extensions; do
11234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11235 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11245 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11246 if test -n "$AR_FOR_TARGET"; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11248 $as_echo "$AR_FOR_TARGET" >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11251 $as_echo "no
" >&6; }
11256 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11257 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11258 set dummy ${ncn_progname}; ac_word=$2
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11260 $as_echo_n "checking
for $ac_word...
" >&6; }
11261 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11262 $as_echo_n "(cached
) " >&6
11264 if test -n "$AR_FOR_TARGET"; then
11265 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11271 test -z "$as_dir" && as_dir=.
11272 for ac_exec_ext in '' $ac_executable_extensions; do
11273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11274 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11284 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11285 if test -n "$AR_FOR_TARGET"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11287 $as_echo "$AR_FOR_TARGET" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11290 $as_echo "no
" >&6; }
11295 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11299 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11301 if test $build = $target ; then
11304 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11307 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11311 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11317 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11318 if test -n "$with_build_time_tools"; then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11320 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11321 if test -x $with_build_time_tools/as; then
11322 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11323 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11325 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11328 $as_echo "no
" >&6; }
11330 elif test $build != $host && test $have_gcc_for_target = yes; then
11331 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11332 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11333 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11336 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11337 # Extract the first word of "as
", so it can be a program name with args.
11338 set dummy as; ac_word=$2
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11340 $as_echo_n "checking
for $ac_word...
" >&6; }
11341 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11342 $as_echo_n "(cached
) " >&6
11344 case $AS_FOR_TARGET in
11346 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11350 for as_dir in $gcc_cv_tool_dirs
11353 test -z "$as_dir" && as_dir=.
11354 for ac_exec_ext in '' $ac_executable_extensions; do
11355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11356 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11367 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11368 if test -n "$AS_FOR_TARGET"; then
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11370 $as_echo "$AS_FOR_TARGET" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11373 $as_echo "no
" >&6; }
11378 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11381 if test -n "$AS_FOR_TARGET"; then
11382 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11383 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11384 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11387 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11388 for ncn_progname in as; do
11389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11390 set dummy ${ncn_progname}; ac_word=$2
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11392 $as_echo_n "checking
for $ac_word...
" >&6; }
11393 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11394 $as_echo_n "(cached
) " >&6
11396 if test -n "$AS_FOR_TARGET"; then
11397 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11400 for as_dir in $PATH
11403 test -z "$as_dir" && as_dir=.
11404 for ac_exec_ext in '' $ac_executable_extensions; do
11405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11406 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11416 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11417 if test -n "$AS_FOR_TARGET"; then
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11419 $as_echo "$AS_FOR_TARGET" >&6; }
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11422 $as_echo "no
" >&6; }
11429 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11430 for ncn_progname in as; do
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11432 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11433 if test -x $with_build_time_tools/${ncn_progname}; then
11434 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11436 $as_echo "yes" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11440 $as_echo "no
" >&6; }
11445 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11446 for ncn_progname in as; do
11447 if test -n "$ncn_target_tool_prefix"; then
11448 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11449 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11451 $as_echo_n "checking
for $ac_word...
" >&6; }
11452 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11453 $as_echo_n "(cached
) " >&6
11455 if test -n "$AS_FOR_TARGET"; then
11456 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11459 for as_dir in $PATH
11462 test -z "$as_dir" && as_dir=.
11463 for ac_exec_ext in '' $ac_executable_extensions; do
11464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11465 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11475 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11476 if test -n "$AS_FOR_TARGET"; then
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11478 $as_echo "$AS_FOR_TARGET" >&6; }
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11481 $as_echo "no
" >&6; }
11486 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11487 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11488 set dummy ${ncn_progname}; ac_word=$2
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11490 $as_echo_n "checking
for $ac_word...
" >&6; }
11491 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11492 $as_echo_n "(cached
) " >&6
11494 if test -n "$AS_FOR_TARGET"; then
11495 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11498 for as_dir in $PATH
11501 test -z "$as_dir" && as_dir=.
11502 for ac_exec_ext in '' $ac_executable_extensions; do
11503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11504 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11514 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11515 if test -n "$AS_FOR_TARGET"; then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11517 $as_echo "$AS_FOR_TARGET" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11520 $as_echo "no
" >&6; }
11525 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11529 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11531 if test $build = $target ; then
11534 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11537 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11541 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11547 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11548 if test -n "$with_build_time_tools"; then
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11550 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11551 if test -x $with_build_time_tools/dlltool; then
11552 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11553 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11555 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11558 $as_echo "no
" >&6; }
11560 elif test $build != $host && test $have_gcc_for_target = yes; then
11561 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11562 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11563 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11566 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11567 # Extract the first word of "dlltool
", so it can be a program name with args.
11568 set dummy dlltool; ac_word=$2
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11570 $as_echo_n "checking
for $ac_word...
" >&6; }
11571 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11572 $as_echo_n "(cached
) " >&6
11574 case $DLLTOOL_FOR_TARGET in
11576 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11580 for as_dir in $gcc_cv_tool_dirs
11583 test -z "$as_dir" && as_dir=.
11584 for ac_exec_ext in '' $ac_executable_extensions; do
11585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11597 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11598 if test -n "$DLLTOOL_FOR_TARGET"; then
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11600 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11603 $as_echo "no
" >&6; }
11608 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11611 if test -n "$DLLTOOL_FOR_TARGET"; then
11612 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11613 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11614 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11617 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11618 for ncn_progname in dlltool; do
11619 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11620 set dummy ${ncn_progname}; ac_word=$2
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11622 $as_echo_n "checking
for $ac_word...
" >&6; }
11623 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11624 $as_echo_n "(cached
) " >&6
11626 if test -n "$DLLTOOL_FOR_TARGET"; then
11627 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11630 for as_dir in $PATH
11633 test -z "$as_dir" && as_dir=.
11634 for ac_exec_ext in '' $ac_executable_extensions; do
11635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11636 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11646 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11647 if test -n "$DLLTOOL_FOR_TARGET"; then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11649 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11652 $as_echo "no
" >&6; }
11659 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11660 for ncn_progname in dlltool; do
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11662 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11663 if test -x $with_build_time_tools/${ncn_progname}; then
11664 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11666 $as_echo "yes" >&6; }
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11670 $as_echo "no
" >&6; }
11675 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11676 for ncn_progname in dlltool; do
11677 if test -n "$ncn_target_tool_prefix"; then
11678 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11679 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11681 $as_echo_n "checking
for $ac_word...
" >&6; }
11682 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11683 $as_echo_n "(cached
) " >&6
11685 if test -n "$DLLTOOL_FOR_TARGET"; then
11686 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11689 for as_dir in $PATH
11692 test -z "$as_dir" && as_dir=.
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11705 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11706 if test -n "$DLLTOOL_FOR_TARGET"; then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11708 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11711 $as_echo "no
" >&6; }
11716 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11717 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11718 set dummy ${ncn_progname}; ac_word=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11720 $as_echo_n "checking
for $ac_word...
" >&6; }
11721 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11722 $as_echo_n "(cached
) " >&6
11724 if test -n "$DLLTOOL_FOR_TARGET"; then
11725 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11728 for as_dir in $PATH
11731 test -z "$as_dir" && as_dir=.
11732 for ac_exec_ext in '' $ac_executable_extensions; do
11733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11734 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11744 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11745 if test -n "$DLLTOOL_FOR_TARGET"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11747 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11750 $as_echo "no
" >&6; }
11755 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11759 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11761 if test $build = $target ; then
11762 DLLTOOL_FOR_TARGET="$2"
11764 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11767 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11771 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11777 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11778 if test -n "$with_build_time_tools"; then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11780 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11781 if test -x $with_build_time_tools/ld; then
11782 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11783 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11785 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11788 $as_echo "no
" >&6; }
11790 elif test $build != $host && test $have_gcc_for_target = yes; then
11791 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11792 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11793 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11796 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11797 # Extract the first word of "ld
", so it can be a program name with args.
11798 set dummy ld; ac_word=$2
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11800 $as_echo_n "checking
for $ac_word...
" >&6; }
11801 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11802 $as_echo_n "(cached
) " >&6
11804 case $LD_FOR_TARGET in
11806 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $gcc_cv_tool_dirs
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11816 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11827 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11828 if test -n "$LD_FOR_TARGET"; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11830 $as_echo "$LD_FOR_TARGET" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11833 $as_echo "no
" >&6; }
11838 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11841 if test -n "$LD_FOR_TARGET"; then
11842 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11843 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11844 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11847 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11848 for ncn_progname in ld; do
11849 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11850 set dummy ${ncn_progname}; ac_word=$2
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11852 $as_echo_n "checking
for $ac_word...
" >&6; }
11853 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11854 $as_echo_n "(cached
) " >&6
11856 if test -n "$LD_FOR_TARGET"; then
11857 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11860 for as_dir in $PATH
11863 test -z "$as_dir" && as_dir=.
11864 for ac_exec_ext in '' $ac_executable_extensions; do
11865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11866 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11876 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11877 if test -n "$LD_FOR_TARGET"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11879 $as_echo "$LD_FOR_TARGET" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11882 $as_echo "no
" >&6; }
11889 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11890 for ncn_progname in ld; do
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11892 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11893 if test -x $with_build_time_tools/${ncn_progname}; then
11894 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11896 $as_echo "yes" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11900 $as_echo "no
" >&6; }
11905 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11906 for ncn_progname in ld; do
11907 if test -n "$ncn_target_tool_prefix"; then
11908 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11909 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11911 $as_echo_n "checking
for $ac_word...
" >&6; }
11912 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11913 $as_echo_n "(cached
) " >&6
11915 if test -n "$LD_FOR_TARGET"; then
11916 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11919 for as_dir in $PATH
11922 test -z "$as_dir" && as_dir=.
11923 for ac_exec_ext in '' $ac_executable_extensions; do
11924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11925 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11935 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11936 if test -n "$LD_FOR_TARGET"; then
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11938 $as_echo "$LD_FOR_TARGET" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11941 $as_echo "no
" >&6; }
11946 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11948 set dummy ${ncn_progname}; ac_word=$2
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11950 $as_echo_n "checking
for $ac_word...
" >&6; }
11951 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11952 $as_echo_n "(cached
) " >&6
11954 if test -n "$LD_FOR_TARGET"; then
11955 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11958 for as_dir in $PATH
11961 test -z "$as_dir" && as_dir=.
11962 for ac_exec_ext in '' $ac_executable_extensions; do
11963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11964 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11974 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11975 if test -n "$LD_FOR_TARGET"; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11977 $as_echo "$LD_FOR_TARGET" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11980 $as_echo "no
" >&6; }
11985 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11989 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11991 if test $build = $target ; then
11994 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11997 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12001 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12007 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12008 if test -n "$with_build_time_tools"; then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12010 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12011 if test -x $with_build_time_tools/lipo; then
12012 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12013 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12015 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12018 $as_echo "no
" >&6; }
12020 elif test $build != $host && test $have_gcc_for_target = yes; then
12021 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12022 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12023 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12026 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12027 # Extract the first word of "lipo
", so it can be a program name with args.
12028 set dummy lipo; ac_word=$2
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12030 $as_echo_n "checking
for $ac_word...
" >&6; }
12031 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12032 $as_echo_n "(cached
) " >&6
12034 case $LIPO_FOR_TARGET in
12036 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12040 for as_dir in $gcc_cv_tool_dirs
12043 test -z "$as_dir" && as_dir=.
12044 for ac_exec_ext in '' $ac_executable_extensions; do
12045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12046 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12057 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12058 if test -n "$LIPO_FOR_TARGET"; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12060 $as_echo "$LIPO_FOR_TARGET" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12063 $as_echo "no
" >&6; }
12068 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12071 if test -n "$LIPO_FOR_TARGET"; then
12072 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12073 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12074 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12077 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12078 for ncn_progname in lipo; do
12079 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12080 set dummy ${ncn_progname}; ac_word=$2
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12082 $as_echo_n "checking
for $ac_word...
" >&6; }
12083 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12084 $as_echo_n "(cached
) " >&6
12086 if test -n "$LIPO_FOR_TARGET"; then
12087 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12090 for as_dir in $PATH
12093 test -z "$as_dir" && as_dir=.
12094 for ac_exec_ext in '' $ac_executable_extensions; do
12095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12096 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12106 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12107 if test -n "$LIPO_FOR_TARGET"; then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12109 $as_echo "$LIPO_FOR_TARGET" >&6; }
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12112 $as_echo "no
" >&6; }
12119 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12120 for ncn_progname in lipo; do
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12122 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12123 if test -x $with_build_time_tools/${ncn_progname}; then
12124 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12126 $as_echo "yes" >&6; }
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12130 $as_echo "no
" >&6; }
12135 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12136 for ncn_progname in lipo; do
12137 if test -n "$ncn_target_tool_prefix"; then
12138 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12139 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12141 $as_echo_n "checking
for $ac_word...
" >&6; }
12142 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12143 $as_echo_n "(cached
) " >&6
12145 if test -n "$LIPO_FOR_TARGET"; then
12146 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12149 for as_dir in $PATH
12152 test -z "$as_dir" && as_dir=.
12153 for ac_exec_ext in '' $ac_executable_extensions; do
12154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12155 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12165 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12166 if test -n "$LIPO_FOR_TARGET"; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12168 $as_echo "$LIPO_FOR_TARGET" >&6; }
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12171 $as_echo "no
" >&6; }
12176 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12177 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12178 set dummy ${ncn_progname}; ac_word=$2
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12180 $as_echo_n "checking
for $ac_word...
" >&6; }
12181 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12182 $as_echo_n "(cached
) " >&6
12184 if test -n "$LIPO_FOR_TARGET"; then
12185 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12191 test -z "$as_dir" && as_dir=.
12192 for ac_exec_ext in '' $ac_executable_extensions; do
12193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12204 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12205 if test -n "$LIPO_FOR_TARGET"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12207 $as_echo "$LIPO_FOR_TARGET" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12210 $as_echo "no
" >&6; }
12215 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12219 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12221 if test $build = $target ; then
12222 LIPO_FOR_TARGET="$2"
12224 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12227 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12231 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12237 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12238 if test -n "$with_build_time_tools"; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12240 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12241 if test -x $with_build_time_tools/nm; then
12242 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12243 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12245 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12248 $as_echo "no
" >&6; }
12250 elif test $build != $host && test $have_gcc_for_target = yes; then
12251 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12252 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12253 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12256 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12257 # Extract the first word of "nm
", so it can be a program name with args.
12258 set dummy nm; ac_word=$2
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12260 $as_echo_n "checking
for $ac_word...
" >&6; }
12261 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12262 $as_echo_n "(cached
) " >&6
12264 case $NM_FOR_TARGET in
12266 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12270 for as_dir in $gcc_cv_tool_dirs
12273 test -z "$as_dir" && as_dir=.
12274 for ac_exec_ext in '' $ac_executable_extensions; do
12275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12276 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12287 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12288 if test -n "$NM_FOR_TARGET"; then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12290 $as_echo "$NM_FOR_TARGET" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12293 $as_echo "no
" >&6; }
12298 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12301 if test -n "$NM_FOR_TARGET"; then
12302 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12303 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12304 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12307 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12308 for ncn_progname in nm; do
12309 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12310 set dummy ${ncn_progname}; ac_word=$2
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12312 $as_echo_n "checking
for $ac_word...
" >&6; }
12313 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12314 $as_echo_n "(cached
) " >&6
12316 if test -n "$NM_FOR_TARGET"; then
12317 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12320 for as_dir in $PATH
12323 test -z "$as_dir" && as_dir=.
12324 for ac_exec_ext in '' $ac_executable_extensions; do
12325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12326 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12336 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12337 if test -n "$NM_FOR_TARGET"; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12339 $as_echo "$NM_FOR_TARGET" >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12342 $as_echo "no
" >&6; }
12349 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12350 for ncn_progname in nm; do
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12352 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12353 if test -x $with_build_time_tools/${ncn_progname}; then
12354 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12356 $as_echo "yes" >&6; }
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12360 $as_echo "no
" >&6; }
12365 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12366 for ncn_progname in nm; do
12367 if test -n "$ncn_target_tool_prefix"; then
12368 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12369 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12371 $as_echo_n "checking
for $ac_word...
" >&6; }
12372 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12373 $as_echo_n "(cached
) " >&6
12375 if test -n "$NM_FOR_TARGET"; then
12376 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12379 for as_dir in $PATH
12382 test -z "$as_dir" && as_dir=.
12383 for ac_exec_ext in '' $ac_executable_extensions; do
12384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12385 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12395 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12396 if test -n "$NM_FOR_TARGET"; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12398 $as_echo "$NM_FOR_TARGET" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12401 $as_echo "no
" >&6; }
12406 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12408 set dummy ${ncn_progname}; ac_word=$2
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12410 $as_echo_n "checking
for $ac_word...
" >&6; }
12411 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12412 $as_echo_n "(cached
) " >&6
12414 if test -n "$NM_FOR_TARGET"; then
12415 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12421 test -z "$as_dir" && as_dir=.
12422 for ac_exec_ext in '' $ac_executable_extensions; do
12423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12434 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12435 if test -n "$NM_FOR_TARGET"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12437 $as_echo "$NM_FOR_TARGET" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12440 $as_echo "no
" >&6; }
12445 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12449 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12451 if test $build = $target ; then
12454 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12457 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12461 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12467 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12468 if test -n "$with_build_time_tools"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12470 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12471 if test -x $with_build_time_tools/objcopy; then
12472 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12473 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12475 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12478 $as_echo "no
" >&6; }
12480 elif test $build != $host && test $have_gcc_for_target = yes; then
12481 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12482 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12483 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12486 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12487 # Extract the first word of "objcopy
", so it can be a program name with args.
12488 set dummy objcopy; ac_word=$2
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12490 $as_echo_n "checking
for $ac_word...
" >&6; }
12491 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12492 $as_echo_n "(cached
) " >&6
12494 case $OBJCOPY_FOR_TARGET in
12496 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12500 for as_dir in $gcc_cv_tool_dirs
12503 test -z "$as_dir" && as_dir=.
12504 for ac_exec_ext in '' $ac_executable_extensions; do
12505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12506 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12517 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12518 if test -n "$OBJCOPY_FOR_TARGET"; then
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12520 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12523 $as_echo "no
" >&6; }
12528 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12531 if test -n "$OBJCOPY_FOR_TARGET"; then
12532 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12533 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12534 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12537 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12538 for ncn_progname in objcopy; do
12539 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12540 set dummy ${ncn_progname}; ac_word=$2
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12542 $as_echo_n "checking
for $ac_word...
" >&6; }
12543 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12544 $as_echo_n "(cached
) " >&6
12546 if test -n "$OBJCOPY_FOR_TARGET"; then
12547 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12550 for as_dir in $PATH
12553 test -z "$as_dir" && as_dir=.
12554 for ac_exec_ext in '' $ac_executable_extensions; do
12555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12556 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12566 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12567 if test -n "$OBJCOPY_FOR_TARGET"; then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12569 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12572 $as_echo "no
" >&6; }
12579 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12580 for ncn_progname in objcopy; do
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12582 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12583 if test -x $with_build_time_tools/${ncn_progname}; then
12584 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12586 $as_echo "yes" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12590 $as_echo "no
" >&6; }
12595 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12596 for ncn_progname in objcopy; do
12597 if test -n "$ncn_target_tool_prefix"; then
12598 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12599 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12601 $as_echo_n "checking
for $ac_word...
" >&6; }
12602 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12603 $as_echo_n "(cached
) " >&6
12605 if test -n "$OBJCOPY_FOR_TARGET"; then
12606 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12609 for as_dir in $PATH
12612 test -z "$as_dir" && as_dir=.
12613 for ac_exec_ext in '' $ac_executable_extensions; do
12614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12615 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12625 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12626 if test -n "$OBJCOPY_FOR_TARGET"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12628 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12631 $as_echo "no
" >&6; }
12636 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12637 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12638 set dummy ${ncn_progname}; ac_word=$2
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12640 $as_echo_n "checking
for $ac_word...
" >&6; }
12641 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12642 $as_echo_n "(cached
) " >&6
12644 if test -n "$OBJCOPY_FOR_TARGET"; then
12645 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12648 for as_dir in $PATH
12651 test -z "$as_dir" && as_dir=.
12652 for ac_exec_ext in '' $ac_executable_extensions; do
12653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12654 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12664 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12665 if test -n "$OBJCOPY_FOR_TARGET"; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12667 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12670 $as_echo "no
" >&6; }
12675 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12679 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12681 if test $build = $target ; then
12682 OBJCOPY_FOR_TARGET="$2"
12684 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12687 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12691 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12697 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12698 if test -n "$with_build_time_tools"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12700 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12701 if test -x $with_build_time_tools/objdump; then
12702 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12703 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12705 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12708 $as_echo "no
" >&6; }
12710 elif test $build != $host && test $have_gcc_for_target = yes; then
12711 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12712 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12713 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12716 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12717 # Extract the first word of "objdump
", so it can be a program name with args.
12718 set dummy objdump; ac_word=$2
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12720 $as_echo_n "checking
for $ac_word...
" >&6; }
12721 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12722 $as_echo_n "(cached
) " >&6
12724 case $OBJDUMP_FOR_TARGET in
12726 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12730 for as_dir in $gcc_cv_tool_dirs
12733 test -z "$as_dir" && as_dir=.
12734 for ac_exec_ext in '' $ac_executable_extensions; do
12735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12736 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12747 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12748 if test -n "$OBJDUMP_FOR_TARGET"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12750 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12753 $as_echo "no
" >&6; }
12758 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12761 if test -n "$OBJDUMP_FOR_TARGET"; then
12762 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12763 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12764 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12767 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12768 for ncn_progname in objdump; do
12769 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12770 set dummy ${ncn_progname}; ac_word=$2
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12772 $as_echo_n "checking
for $ac_word...
" >&6; }
12773 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12774 $as_echo_n "(cached
) " >&6
12776 if test -n "$OBJDUMP_FOR_TARGET"; then
12777 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12780 for as_dir in $PATH
12783 test -z "$as_dir" && as_dir=.
12784 for ac_exec_ext in '' $ac_executable_extensions; do
12785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12786 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12796 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12797 if test -n "$OBJDUMP_FOR_TARGET"; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12799 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12802 $as_echo "no
" >&6; }
12809 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12810 for ncn_progname in objdump; do
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12812 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12813 if test -x $with_build_time_tools/${ncn_progname}; then
12814 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12816 $as_echo "yes" >&6; }
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12820 $as_echo "no
" >&6; }
12825 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12826 for ncn_progname in objdump; do
12827 if test -n "$ncn_target_tool_prefix"; then
12828 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12829 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12831 $as_echo_n "checking
for $ac_word...
" >&6; }
12832 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12833 $as_echo_n "(cached
) " >&6
12835 if test -n "$OBJDUMP_FOR_TARGET"; then
12836 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12839 for as_dir in $PATH
12842 test -z "$as_dir" && as_dir=.
12843 for ac_exec_ext in '' $ac_executable_extensions; do
12844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12845 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12855 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12856 if test -n "$OBJDUMP_FOR_TARGET"; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12858 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12861 $as_echo "no
" >&6; }
12866 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12867 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12868 set dummy ${ncn_progname}; ac_word=$2
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12870 $as_echo_n "checking
for $ac_word...
" >&6; }
12871 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12872 $as_echo_n "(cached
) " >&6
12874 if test -n "$OBJDUMP_FOR_TARGET"; then
12875 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878 for as_dir in $PATH
12881 test -z "$as_dir" && as_dir=.
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12884 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12894 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12895 if test -n "$OBJDUMP_FOR_TARGET"; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12897 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12900 $as_echo "no
" >&6; }
12905 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12909 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12911 if test $build = $target ; then
12912 OBJDUMP_FOR_TARGET="$2"
12914 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12917 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12921 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12927 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12928 if test -n "$with_build_time_tools"; then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12930 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12931 if test -x $with_build_time_tools/ranlib; then
12932 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12933 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12935 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12938 $as_echo "no
" >&6; }
12940 elif test $build != $host && test $have_gcc_for_target = yes; then
12941 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12942 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12943 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12946 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12947 # Extract the first word of "ranlib
", so it can be a program name with args.
12948 set dummy ranlib; ac_word=$2
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12950 $as_echo_n "checking
for $ac_word...
" >&6; }
12951 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
12952 $as_echo_n "(cached
) " >&6
12954 case $RANLIB_FOR_TARGET in
12956 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $gcc_cv_tool_dirs
12963 test -z "$as_dir" && as_dir=.
12964 for ac_exec_ext in '' $ac_executable_extensions; do
12965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12966 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12977 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12978 if test -n "$RANLIB_FOR_TARGET"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12980 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12983 $as_echo "no
" >&6; }
12988 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12991 if test -n "$RANLIB_FOR_TARGET"; then
12992 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12993 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12994 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12997 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12998 for ncn_progname in ranlib; do
12999 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13000 set dummy ${ncn_progname}; ac_word=$2
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13002 $as_echo_n "checking
for $ac_word...
" >&6; }
13003 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13004 $as_echo_n "(cached
) " >&6
13006 if test -n "$RANLIB_FOR_TARGET"; then
13007 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13010 for as_dir in $PATH
13013 test -z "$as_dir" && as_dir=.
13014 for ac_exec_ext in '' $ac_executable_extensions; do
13015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13016 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13026 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13027 if test -n "$RANLIB_FOR_TARGET"; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13029 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13032 $as_echo "no
" >&6; }
13039 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13040 for ncn_progname in ranlib; do
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13042 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13043 if test -x $with_build_time_tools/${ncn_progname}; then
13044 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13046 $as_echo "yes" >&6; }
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13050 $as_echo "no
" >&6; }
13055 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13056 for ncn_progname in ranlib; do
13057 if test -n "$ncn_target_tool_prefix"; then
13058 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13059 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13061 $as_echo_n "checking
for $ac_word...
" >&6; }
13062 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13063 $as_echo_n "(cached
) " >&6
13065 if test -n "$RANLIB_FOR_TARGET"; then
13066 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13069 for as_dir in $PATH
13072 test -z "$as_dir" && as_dir=.
13073 for ac_exec_ext in '' $ac_executable_extensions; do
13074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13075 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13085 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13086 if test -n "$RANLIB_FOR_TARGET"; then
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13088 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13091 $as_echo "no
" >&6; }
13096 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13097 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13098 set dummy ${ncn_progname}; ac_word=$2
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13100 $as_echo_n "checking
for $ac_word...
" >&6; }
13101 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13102 $as_echo_n "(cached
) " >&6
13104 if test -n "$RANLIB_FOR_TARGET"; then
13105 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13108 for as_dir in $PATH
13111 test -z "$as_dir" && as_dir=.
13112 for ac_exec_ext in '' $ac_executable_extensions; do
13113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13114 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13124 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13125 if test -n "$RANLIB_FOR_TARGET"; then
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13127 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13130 $as_echo "no
" >&6; }
13135 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13139 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13141 if test $build = $target ; then
13142 RANLIB_FOR_TARGET="$2"
13144 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13147 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13151 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13157 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13158 if test -n "$with_build_time_tools"; then
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13160 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13161 if test -x $with_build_time_tools/readelf; then
13162 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13163 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13165 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13168 $as_echo "no
" >&6; }
13170 elif test $build != $host && test $have_gcc_for_target = yes; then
13171 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13172 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13173 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13176 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13177 # Extract the first word of "readelf
", so it can be a program name with args.
13178 set dummy readelf; ac_word=$2
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13180 $as_echo_n "checking
for $ac_word...
" >&6; }
13181 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13182 $as_echo_n "(cached
) " >&6
13184 case $READELF_FOR_TARGET in
13186 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13190 for as_dir in $gcc_cv_tool_dirs
13193 test -z "$as_dir" && as_dir=.
13194 for ac_exec_ext in '' $ac_executable_extensions; do
13195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13196 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13207 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13208 if test -n "$READELF_FOR_TARGET"; then
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13210 $as_echo "$READELF_FOR_TARGET" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13213 $as_echo "no
" >&6; }
13218 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13221 if test -n "$READELF_FOR_TARGET"; then
13222 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13223 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13224 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13227 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13228 for ncn_progname in readelf; do
13229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13230 set dummy ${ncn_progname}; ac_word=$2
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13232 $as_echo_n "checking
for $ac_word...
" >&6; }
13233 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13234 $as_echo_n "(cached
) " >&6
13236 if test -n "$READELF_FOR_TARGET"; then
13237 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13243 test -z "$as_dir" && as_dir=.
13244 for ac_exec_ext in '' $ac_executable_extensions; do
13245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13246 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13256 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13257 if test -n "$READELF_FOR_TARGET"; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13259 $as_echo "$READELF_FOR_TARGET" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13262 $as_echo "no
" >&6; }
13269 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13270 for ncn_progname in readelf; do
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13272 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13273 if test -x $with_build_time_tools/${ncn_progname}; then
13274 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13276 $as_echo "yes" >&6; }
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13280 $as_echo "no
" >&6; }
13285 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13286 for ncn_progname in readelf; do
13287 if test -n "$ncn_target_tool_prefix"; then
13288 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13289 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13291 $as_echo_n "checking
for $ac_word...
" >&6; }
13292 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13293 $as_echo_n "(cached
) " >&6
13295 if test -n "$READELF_FOR_TARGET"; then
13296 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13299 for as_dir in $PATH
13302 test -z "$as_dir" && as_dir=.
13303 for ac_exec_ext in '' $ac_executable_extensions; do
13304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13305 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13315 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13316 if test -n "$READELF_FOR_TARGET"; then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13318 $as_echo "$READELF_FOR_TARGET" >&6; }
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13321 $as_echo "no
" >&6; }
13326 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13327 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13328 set dummy ${ncn_progname}; ac_word=$2
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13330 $as_echo_n "checking
for $ac_word...
" >&6; }
13331 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13332 $as_echo_n "(cached
) " >&6
13334 if test -n "$READELF_FOR_TARGET"; then
13335 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13338 for as_dir in $PATH
13341 test -z "$as_dir" && as_dir=.
13342 for ac_exec_ext in '' $ac_executable_extensions; do
13343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13344 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13354 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13355 if test -n "$READELF_FOR_TARGET"; then
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13357 $as_echo "$READELF_FOR_TARGET" >&6; }
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13360 $as_echo "no
" >&6; }
13365 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13369 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13371 if test $build = $target ; then
13372 READELF_FOR_TARGET="$2"
13374 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13377 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13381 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13387 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13388 if test -n "$with_build_time_tools"; then
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13390 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13391 if test -x $with_build_time_tools/strip; then
13392 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13393 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13395 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13398 $as_echo "no
" >&6; }
13400 elif test $build != $host && test $have_gcc_for_target = yes; then
13401 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13402 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13403 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13406 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13407 # Extract the first word of "strip
", so it can be a program name with args.
13408 set dummy strip; ac_word=$2
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13410 $as_echo_n "checking
for $ac_word...
" >&6; }
13411 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13412 $as_echo_n "(cached
) " >&6
13414 case $STRIP_FOR_TARGET in
13416 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13420 for as_dir in $gcc_cv_tool_dirs
13423 test -z "$as_dir" && as_dir=.
13424 for ac_exec_ext in '' $ac_executable_extensions; do
13425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13426 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13437 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13438 if test -n "$STRIP_FOR_TARGET"; then
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13440 $as_echo "$STRIP_FOR_TARGET" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13443 $as_echo "no
" >&6; }
13448 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13451 if test -n "$STRIP_FOR_TARGET"; then
13452 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13453 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13454 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13457 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13458 for ncn_progname in strip; do
13459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13460 set dummy ${ncn_progname}; ac_word=$2
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13462 $as_echo_n "checking
for $ac_word...
" >&6; }
13463 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13464 $as_echo_n "(cached
) " >&6
13466 if test -n "$STRIP_FOR_TARGET"; then
13467 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13470 for as_dir in $PATH
13473 test -z "$as_dir" && as_dir=.
13474 for ac_exec_ext in '' $ac_executable_extensions; do
13475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13476 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13486 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13487 if test -n "$STRIP_FOR_TARGET"; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13489 $as_echo "$STRIP_FOR_TARGET" >&6; }
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13492 $as_echo "no
" >&6; }
13499 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13500 for ncn_progname in strip; do
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13502 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13503 if test -x $with_build_time_tools/${ncn_progname}; then
13504 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13506 $as_echo "yes" >&6; }
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13510 $as_echo "no
" >&6; }
13515 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13516 for ncn_progname in strip; do
13517 if test -n "$ncn_target_tool_prefix"; then
13518 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13519 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13521 $as_echo_n "checking
for $ac_word...
" >&6; }
13522 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13523 $as_echo_n "(cached
) " >&6
13525 if test -n "$STRIP_FOR_TARGET"; then
13526 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13529 for as_dir in $PATH
13532 test -z "$as_dir" && as_dir=.
13533 for ac_exec_ext in '' $ac_executable_extensions; do
13534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13535 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13545 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13546 if test -n "$STRIP_FOR_TARGET"; then
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13548 $as_echo "$STRIP_FOR_TARGET" >&6; }
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13551 $as_echo "no
" >&6; }
13556 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13558 set dummy ${ncn_progname}; ac_word=$2
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13560 $as_echo_n "checking
for $ac_word...
" >&6; }
13561 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13562 $as_echo_n "(cached
) " >&6
13564 if test -n "$STRIP_FOR_TARGET"; then
13565 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13568 for as_dir in $PATH
13571 test -z "$as_dir" && as_dir=.
13572 for ac_exec_ext in '' $ac_executable_extensions; do
13573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13574 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13584 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13585 if test -n "$STRIP_FOR_TARGET"; then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13587 $as_echo "$STRIP_FOR_TARGET" >&6; }
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13590 $as_echo "no
" >&6; }
13595 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13599 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13601 if test $build = $target ; then
13602 STRIP_FOR_TARGET="$2"
13604 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13607 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13611 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13617 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13618 if test -n "$with_build_time_tools"; then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13620 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13621 if test -x $with_build_time_tools/windres; then
13622 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13623 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13625 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13628 $as_echo "no
" >&6; }
13630 elif test $build != $host && test $have_gcc_for_target = yes; then
13631 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13632 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13633 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13636 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13637 # Extract the first word of "windres
", so it can be a program name with args.
13638 set dummy windres; ac_word=$2
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13640 $as_echo_n "checking
for $ac_word...
" >&6; }
13641 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13642 $as_echo_n "(cached
) " >&6
13644 case $WINDRES_FOR_TARGET in
13646 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13650 for as_dir in $gcc_cv_tool_dirs
13653 test -z "$as_dir" && as_dir=.
13654 for ac_exec_ext in '' $ac_executable_extensions; do
13655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13656 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13667 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13668 if test -n "$WINDRES_FOR_TARGET"; then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13670 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13673 $as_echo "no
" >&6; }
13678 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13681 if test -n "$WINDRES_FOR_TARGET"; then
13682 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13683 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13684 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13687 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13688 for ncn_progname in windres; do
13689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13690 set dummy ${ncn_progname}; ac_word=$2
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13692 $as_echo_n "checking
for $ac_word...
" >&6; }
13693 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13694 $as_echo_n "(cached
) " >&6
13696 if test -n "$WINDRES_FOR_TARGET"; then
13697 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13700 for as_dir in $PATH
13703 test -z "$as_dir" && as_dir=.
13704 for ac_exec_ext in '' $ac_executable_extensions; do
13705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13706 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13716 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13717 if test -n "$WINDRES_FOR_TARGET"; then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13719 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13722 $as_echo "no
" >&6; }
13729 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13730 for ncn_progname in windres; do
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13732 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13733 if test -x $with_build_time_tools/${ncn_progname}; then
13734 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13736 $as_echo "yes" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13740 $as_echo "no
" >&6; }
13745 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13746 for ncn_progname in windres; do
13747 if test -n "$ncn_target_tool_prefix"; then
13748 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13749 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13751 $as_echo_n "checking
for $ac_word...
" >&6; }
13752 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13753 $as_echo_n "(cached
) " >&6
13755 if test -n "$WINDRES_FOR_TARGET"; then
13756 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13759 for as_dir in $PATH
13762 test -z "$as_dir" && as_dir=.
13763 for ac_exec_ext in '' $ac_executable_extensions; do
13764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13765 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13775 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13776 if test -n "$WINDRES_FOR_TARGET"; then
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13778 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13781 $as_echo "no
" >&6; }
13786 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13787 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13788 set dummy ${ncn_progname}; ac_word=$2
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13790 $as_echo_n "checking
for $ac_word...
" >&6; }
13791 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13792 $as_echo_n "(cached
) " >&6
13794 if test -n "$WINDRES_FOR_TARGET"; then
13795 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13798 for as_dir in $PATH
13801 test -z "$as_dir" && as_dir=.
13802 for ac_exec_ext in '' $ac_executable_extensions; do
13803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13804 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13814 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13815 if test -n "$WINDRES_FOR_TARGET"; then
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13817 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13820 $as_echo "no
" >&6; }
13825 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13829 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13831 if test $build = $target ; then
13832 WINDRES_FOR_TARGET="$2"
13834 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13837 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13841 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13847 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13848 if test -n "$with_build_time_tools"; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13850 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13851 if test -x $with_build_time_tools/windmc; then
13852 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13853 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13855 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13858 $as_echo "no
" >&6; }
13860 elif test $build != $host && test $have_gcc_for_target = yes; then
13861 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13862 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13863 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13866 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13867 # Extract the first word of "windmc
", so it can be a program name with args.
13868 set dummy windmc; ac_word=$2
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13870 $as_echo_n "checking
for $ac_word...
" >&6; }
13871 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13872 $as_echo_n "(cached
) " >&6
13874 case $WINDMC_FOR_TARGET in
13876 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13880 for as_dir in $gcc_cv_tool_dirs
13883 test -z "$as_dir" && as_dir=.
13884 for ac_exec_ext in '' $ac_executable_extensions; do
13885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13886 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13897 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13898 if test -n "$WINDMC_FOR_TARGET"; then
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13900 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13903 $as_echo "no
" >&6; }
13908 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13911 if test -n "$WINDMC_FOR_TARGET"; then
13912 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13913 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13914 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13917 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13918 for ncn_progname in windmc; do
13919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13920 set dummy ${ncn_progname}; ac_word=$2
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13922 $as_echo_n "checking
for $ac_word...
" >&6; }
13923 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13924 $as_echo_n "(cached
) " >&6
13926 if test -n "$WINDMC_FOR_TARGET"; then
13927 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13930 for as_dir in $PATH
13933 test -z "$as_dir" && as_dir=.
13934 for ac_exec_ext in '' $ac_executable_extensions; do
13935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13936 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13946 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13947 if test -n "$WINDMC_FOR_TARGET"; then
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13949 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13952 $as_echo "no
" >&6; }
13959 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13960 for ncn_progname in windmc; do
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13962 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13963 if test -x $with_build_time_tools/${ncn_progname}; then
13964 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13966 $as_echo "yes" >&6; }
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13970 $as_echo "no
" >&6; }
13975 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13976 for ncn_progname in windmc; do
13977 if test -n "$ncn_target_tool_prefix"; then
13978 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13979 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13981 $as_echo_n "checking
for $ac_word...
" >&6; }
13982 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13983 $as_echo_n "(cached
) " >&6
13985 if test -n "$WINDMC_FOR_TARGET"; then
13986 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13989 for as_dir in $PATH
13992 test -z "$as_dir" && as_dir=.
13993 for ac_exec_ext in '' $ac_executable_extensions; do
13994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14005 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14006 if test -n "$WINDMC_FOR_TARGET"; then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14008 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14011 $as_echo "no
" >&6; }
14016 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14017 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14018 set dummy ${ncn_progname}; ac_word=$2
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14020 $as_echo_n "checking
for $ac_word...
" >&6; }
14021 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14022 $as_echo_n "(cached
) " >&6
14024 if test -n "$WINDMC_FOR_TARGET"; then
14025 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028 for as_dir in $PATH
14031 test -z "$as_dir" && as_dir=.
14032 for ac_exec_ext in '' $ac_executable_extensions; do
14033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14034 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14044 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14045 if test -n "$WINDMC_FOR_TARGET"; then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14047 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14050 $as_echo "no
" >&6; }
14055 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14059 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14061 if test $build = $target ; then
14062 WINDMC_FOR_TARGET="$2"
14064 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14067 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14071 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14075 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14078 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14079 if test "x
${build}" != "x
${host}" ; then
14080 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14081 # We already found the complete path
14082 ac_dir=`dirname $AR_FOR_TARGET`
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14084 $as_echo "pre-installed
in $ac_dir" >&6; }
14086 # Canadian cross, just use what we found
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14088 $as_echo "pre-installed
" >&6; }
14092 case " ${configdirs} " in
14097 if test $ok = yes; then
14098 # An in-tree tool is available and we can use it
14099 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14101 $as_echo "just compiled
" >&6; }
14102 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14103 # We already found the complete path
14104 ac_dir=`dirname $AR_FOR_TARGET`
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14106 $as_echo "pre-installed
in $ac_dir" >&6; }
14107 elif test "x
$target" = "x
$host"; then
14108 # We can use an host tool
14109 AR_FOR_TARGET='$(AR)'
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14111 $as_echo "host tool
" >&6; }
14113 # We need a cross tool
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14115 $as_echo "pre-installed
" >&6; }
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14120 $as_echo_n "checking where to
find the target as...
" >&6; }
14121 if test "x
${build}" != "x
${host}" ; then
14122 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14123 # We already found the complete path
14124 ac_dir=`dirname $AS_FOR_TARGET`
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14126 $as_echo "pre-installed
in $ac_dir" >&6; }
14128 # Canadian cross, just use what we found
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14130 $as_echo "pre-installed
" >&6; }
14134 case " ${configdirs} " in
14139 if test $ok = yes; then
14140 # An in-tree tool is available and we can use it
14141 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14143 $as_echo "just compiled
" >&6; }
14144 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14145 # We already found the complete path
14146 ac_dir=`dirname $AS_FOR_TARGET`
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14148 $as_echo "pre-installed
in $ac_dir" >&6; }
14149 elif test "x
$target" = "x
$host"; then
14150 # We can use an host tool
14151 AS_FOR_TARGET='$(AS)'
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14153 $as_echo "host tool
" >&6; }
14155 # We need a cross tool
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14157 $as_echo "pre-installed
" >&6; }
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14162 $as_echo_n "checking where to
find the target cc...
" >&6; }
14163 if test "x
${build}" != "x
${host}" ; then
14164 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14165 # We already found the complete path
14166 ac_dir=`dirname $CC_FOR_TARGET`
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14168 $as_echo "pre-installed
in $ac_dir" >&6; }
14170 # Canadian cross, just use what we found
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14172 $as_echo "pre-installed
" >&6; }
14176 case " ${configdirs} " in
14181 if test $ok = yes; then
14182 # An in-tree tool is available and we can use it
14183 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14185 $as_echo "just compiled
" >&6; }
14186 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14187 # We already found the complete path
14188 ac_dir=`dirname $CC_FOR_TARGET`
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14190 $as_echo "pre-installed
in $ac_dir" >&6; }
14191 elif test "x
$target" = "x
$host"; then
14192 # We can use an host tool
14193 CC_FOR_TARGET='$(CC)'
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14195 $as_echo "host tool
" >&6; }
14197 # We need a cross tool
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14199 $as_echo "pre-installed
" >&6; }
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14204 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14205 if test "x
${build}" != "x
${host}" ; then
14206 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14207 # We already found the complete path
14208 ac_dir=`dirname $CXX_FOR_TARGET`
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14210 $as_echo "pre-installed
in $ac_dir" >&6; }
14212 # Canadian cross, just use what we found
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14214 $as_echo "pre-installed
" >&6; }
14218 case " ${configdirs} " in
14222 case ,${enable_languages}, in
14226 if test $ok = yes; then
14227 # An in-tree tool is available and we can use it
14228 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'
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14230 $as_echo "just compiled
" >&6; }
14231 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14232 # We already found the complete path
14233 ac_dir=`dirname $CXX_FOR_TARGET`
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14235 $as_echo "pre-installed
in $ac_dir" >&6; }
14236 elif test "x
$target" = "x
$host"; then
14237 # We can use an host tool
14238 CXX_FOR_TARGET='$(CXX)'
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14240 $as_echo "host tool
" >&6; }
14242 # We need a cross tool
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14244 $as_echo "pre-installed
" >&6; }
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14249 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14250 if test "x
${build}" != "x
${host}" ; then
14251 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14252 # We already found the complete path
14253 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14255 $as_echo "pre-installed
in $ac_dir" >&6; }
14257 # Canadian cross, just use what we found
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14259 $as_echo "pre-installed
" >&6; }
14263 case " ${configdirs} " in
14267 case ,${enable_languages}, in
14271 if test $ok = yes; then
14272 # An in-tree tool is available and we can use it
14273 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'
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14275 $as_echo "just compiled
" >&6; }
14276 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14277 # We already found the complete path
14278 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14280 $as_echo "pre-installed
in $ac_dir" >&6; }
14281 elif test "x
$target" = "x
$host"; then
14282 # We can use an host tool
14283 RAW_CXX_FOR_TARGET='$(CXX)'
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14285 $as_echo "host tool
" >&6; }
14287 # We need a cross tool
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14289 $as_echo "pre-installed
" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14294 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14295 if test "x
${build}" != "x
${host}" ; then
14296 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14297 # We already found the complete path
14298 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14300 $as_echo "pre-installed
in $ac_dir" >&6; }
14302 # Canadian cross, just use what we found
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14304 $as_echo "pre-installed
" >&6; }
14308 case " ${configdirs} " in
14313 if test $ok = yes; then
14314 # An in-tree tool is available and we can use it
14315 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14317 $as_echo "just compiled
" >&6; }
14318 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14319 # We already found the complete path
14320 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14322 $as_echo "pre-installed
in $ac_dir" >&6; }
14323 elif test "x
$target" = "x
$host"; then
14324 # We can use an host tool
14325 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14327 $as_echo "host tool
" >&6; }
14329 # We need a cross tool
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14331 $as_echo "pre-installed
" >&6; }
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14336 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14337 if test "x
${build}" != "x
${host}" ; then
14338 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14339 # We already found the complete path
14340 ac_dir=`dirname $GCC_FOR_TARGET`
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14342 $as_echo "pre-installed
in $ac_dir" >&6; }
14344 # Canadian cross, just use what we found
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14346 $as_echo "pre-installed
" >&6; }
14350 case " ${configdirs} " in
14355 if test $ok = yes; then
14356 # An in-tree tool is available and we can use it
14357 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14359 $as_echo "just compiled
" >&6; }
14360 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14361 # We already found the complete path
14362 ac_dir=`dirname $GCC_FOR_TARGET`
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14364 $as_echo "pre-installed
in $ac_dir" >&6; }
14365 elif test "x
$target" = "x
$host"; then
14366 # We can use an host tool
14367 GCC_FOR_TARGET='$()'
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14369 $as_echo "host tool
" >&6; }
14371 # We need a cross tool
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14373 $as_echo "pre-installed
" >&6; }
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14378 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14379 if test "x
${build}" != "x
${host}" ; then
14380 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14381 # We already found the complete path
14382 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14384 $as_echo "pre-installed
in $ac_dir" >&6; }
14386 # Canadian cross, just use what we found
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14388 $as_echo "pre-installed
" >&6; }
14392 case " ${configdirs} " in
14396 case ,${enable_languages}, in
14400 if test $ok = yes; then
14401 # An in-tree tool is available and we can use it
14402 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14404 $as_echo "just compiled
" >&6; }
14405 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14406 # We already found the complete path
14407 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14409 $as_echo "pre-installed
in $ac_dir" >&6; }
14410 elif test "x
$target" = "x
$host"; then
14411 # We can use an host tool
14412 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14414 $as_echo "host tool
" >&6; }
14416 # We need a cross tool
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14418 $as_echo "pre-installed
" >&6; }
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14423 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14424 if test "x
${build}" != "x
${host}" ; then
14425 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14426 # We already found the complete path
14427 ac_dir=`dirname $GOC_FOR_TARGET`
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14429 $as_echo "pre-installed
in $ac_dir" >&6; }
14431 # Canadian cross, just use what we found
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14433 $as_echo "pre-installed
" >&6; }
14437 case " ${configdirs} " in
14441 case ,${enable_languages}, in
14445 if test $ok = yes; then
14446 # An in-tree tool is available and we can use it
14447 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14449 $as_echo "just compiled
" >&6; }
14450 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14451 # We already found the complete path
14452 ac_dir=`dirname $GOC_FOR_TARGET`
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14454 $as_echo "pre-installed
in $ac_dir" >&6; }
14455 elif test "x
$target" = "x
$host"; then
14456 # We can use an host tool
14457 GOC_FOR_TARGET='$(GOC)'
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14459 $as_echo "host tool
" >&6; }
14461 # We need a cross tool
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14463 $as_echo "pre-installed
" >&6; }
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14468 $as_echo_n "checking where to
find the target ld...
" >&6; }
14469 if test "x
${build}" != "x
${host}" ; then
14470 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14471 # We already found the complete path
14472 ac_dir=`dirname $LD_FOR_TARGET`
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14474 $as_echo "pre-installed
in $ac_dir" >&6; }
14476 # Canadian cross, just use what we found
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14478 $as_echo "pre-installed
" >&6; }
14482 case " ${configdirs} " in
14487 if test $ok = yes; then
14488 # An in-tree tool is available and we can use it
14489 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14491 $as_echo "just compiled
" >&6; }
14492 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14493 # We already found the complete path
14494 ac_dir=`dirname $LD_FOR_TARGET`
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14496 $as_echo "pre-installed
in $ac_dir" >&6; }
14497 elif test "x
$target" = "x
$host"; then
14498 # We can use an host tool
14499 LD_FOR_TARGET='$(LD)'
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14501 $as_echo "host tool
" >&6; }
14503 # We need a cross tool
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14505 $as_echo "pre-installed
" >&6; }
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14510 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14511 if test "x
${build}" != "x
${host}" ; then
14512 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14513 # We already found the complete path
14514 ac_dir=`dirname $LIPO_FOR_TARGET`
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14516 $as_echo "pre-installed
in $ac_dir" >&6; }
14518 # Canadian cross, just use what we found
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14520 $as_echo "pre-installed
" >&6; }
14523 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14524 # We already found the complete path
14525 ac_dir=`dirname $LIPO_FOR_TARGET`
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14527 $as_echo "pre-installed
in $ac_dir" >&6; }
14528 elif test "x
$target" = "x
$host"; then
14529 # We can use an host tool
14530 LIPO_FOR_TARGET='$(LIPO)'
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14532 $as_echo "host tool
" >&6; }
14534 # We need a cross tool
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14536 $as_echo "pre-installed
" >&6; }
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14541 $as_echo_n "checking where to
find the target nm...
" >&6; }
14542 if test "x
${build}" != "x
${host}" ; then
14543 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14544 # We already found the complete path
14545 ac_dir=`dirname $NM_FOR_TARGET`
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14547 $as_echo "pre-installed
in $ac_dir" >&6; }
14549 # Canadian cross, just use what we found
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14551 $as_echo "pre-installed
" >&6; }
14555 case " ${configdirs} " in
14560 if test $ok = yes; then
14561 # An in-tree tool is available and we can use it
14562 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14564 $as_echo "just compiled
" >&6; }
14565 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14566 # We already found the complete path
14567 ac_dir=`dirname $NM_FOR_TARGET`
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14569 $as_echo "pre-installed
in $ac_dir" >&6; }
14570 elif test "x
$target" = "x
$host"; then
14571 # We can use an host tool
14572 NM_FOR_TARGET='$(NM)'
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14574 $as_echo "host tool
" >&6; }
14576 # We need a cross tool
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14578 $as_echo "pre-installed
" >&6; }
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14583 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14584 if test "x
${build}" != "x
${host}" ; then
14585 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14586 # We already found the complete path
14587 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14589 $as_echo "pre-installed
in $ac_dir" >&6; }
14591 # Canadian cross, just use what we found
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14593 $as_echo "pre-installed
" >&6; }
14597 case " ${configdirs} " in
14602 if test $ok = yes; then
14603 # An in-tree tool is available and we can use it
14604 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14606 $as_echo "just compiled
" >&6; }
14607 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14608 # We already found the complete path
14609 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14611 $as_echo "pre-installed
in $ac_dir" >&6; }
14612 elif test "x
$target" = "x
$host"; then
14613 # We can use an host tool
14614 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14616 $as_echo "host tool
" >&6; }
14618 # We need a cross tool
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14620 $as_echo "pre-installed
" >&6; }
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14625 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14626 if test "x
${build}" != "x
${host}" ; then
14627 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14628 # We already found the complete path
14629 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14631 $as_echo "pre-installed
in $ac_dir" >&6; }
14633 # Canadian cross, just use what we found
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14635 $as_echo "pre-installed
" >&6; }
14639 case " ${configdirs} " in
14644 if test $ok = yes; then
14645 # An in-tree tool is available and we can use it
14646 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14648 $as_echo "just compiled
" >&6; }
14649 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14650 # We already found the complete path
14651 ac_dir=`dirname $OBJDUMP_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; }
14654 elif test "x
$target" = "x
$host"; then
14655 # We can use an host tool
14656 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14658 $as_echo "host tool
" >&6; }
14660 # We need a cross tool
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14662 $as_echo "pre-installed
" >&6; }
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14667 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14668 if test "x
${build}" != "x
${host}" ; then
14669 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14670 # We already found the complete path
14671 ac_dir=`dirname $RANLIB_FOR_TARGET`
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14673 $as_echo "pre-installed
in $ac_dir" >&6; }
14675 # Canadian cross, just use what we found
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14677 $as_echo "pre-installed
" >&6; }
14681 case " ${configdirs} " in
14686 if test $ok = yes; then
14687 # An in-tree tool is available and we can use it
14688 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14690 $as_echo "just compiled
" >&6; }
14691 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14692 # We already found the complete path
14693 ac_dir=`dirname $RANLIB_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; }
14696 elif test "x
$target" = "x
$host"; then
14697 # We can use an host tool
14698 RANLIB_FOR_TARGET='$(RANLIB)'
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14700 $as_echo "host tool
" >&6; }
14702 # We need a cross tool
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14704 $as_echo "pre-installed
" >&6; }
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14709 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14710 if test "x
${build}" != "x
${host}" ; then
14711 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14712 # We already found the complete path
14713 ac_dir=`dirname $READELF_FOR_TARGET`
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14715 $as_echo "pre-installed
in $ac_dir" >&6; }
14717 # Canadian cross, just use what we found
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14719 $as_echo "pre-installed
" >&6; }
14723 case " ${configdirs} " in
14728 if test $ok = yes; then
14729 # An in-tree tool is available and we can use it
14730 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14732 $as_echo "just compiled
" >&6; }
14733 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14734 # We already found the complete path
14735 ac_dir=`dirname $READELF_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; }
14738 elif test "x
$target" = "x
$host"; then
14739 # We can use an host tool
14740 READELF_FOR_TARGET='$(READELF)'
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14742 $as_echo "host tool
" >&6; }
14744 # We need a cross tool
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14746 $as_echo "pre-installed
" >&6; }
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14751 $as_echo_n "checking where to
find the target strip...
" >&6; }
14752 if test "x
${build}" != "x
${host}" ; then
14753 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14754 # We already found the complete path
14755 ac_dir=`dirname $STRIP_FOR_TARGET`
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14757 $as_echo "pre-installed
in $ac_dir" >&6; }
14759 # Canadian cross, just use what we found
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14761 $as_echo "pre-installed
" >&6; }
14765 case " ${configdirs} " in
14770 if test $ok = yes; then
14771 # An in-tree tool is available and we can use it
14772 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14774 $as_echo "just compiled
" >&6; }
14775 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14776 # We already found the complete path
14777 ac_dir=`dirname $STRIP_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; }
14780 elif test "x
$target" = "x
$host"; then
14781 # We can use an host tool
14782 STRIP_FOR_TARGET='$(STRIP)'
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14784 $as_echo "host tool
" >&6; }
14786 # We need a cross tool
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14788 $as_echo "pre-installed
" >&6; }
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14793 $as_echo_n "checking where to
find the target windres...
" >&6; }
14794 if test "x
${build}" != "x
${host}" ; then
14795 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14796 # We already found the complete path
14797 ac_dir=`dirname $WINDRES_FOR_TARGET`
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14799 $as_echo "pre-installed
in $ac_dir" >&6; }
14801 # Canadian cross, just use what we found
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14803 $as_echo "pre-installed
" >&6; }
14807 case " ${configdirs} " in
14812 if test $ok = yes; then
14813 # An in-tree tool is available and we can use it
14814 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14816 $as_echo "just compiled
" >&6; }
14817 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14818 # We already found the complete path
14819 ac_dir=`dirname $WINDRES_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; }
14822 elif test "x
$target" = "x
$host"; then
14823 # We can use an host tool
14824 WINDRES_FOR_TARGET='$(WINDRES)'
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14826 $as_echo "host tool
" >&6; }
14828 # We need a cross tool
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14830 $as_echo "pre-installed
" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14835 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14836 if test "x
${build}" != "x
${host}" ; then
14837 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14838 # We already found the complete path
14839 ac_dir=`dirname $WINDMC_FOR_TARGET`
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14841 $as_echo "pre-installed
in $ac_dir" >&6; }
14843 # Canadian cross, just use what we found
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14845 $as_echo "pre-installed
" >&6; }
14849 case " ${configdirs} " in
14854 if test $ok = yes; then
14855 # An in-tree tool is available and we can use it
14856 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14858 $as_echo "just compiled
" >&6; }
14859 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14860 # We already found the complete path
14861 ac_dir=`dirname $WINDMC_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; }
14864 elif test "x
$target" = "x
$host"; then
14865 # We can use an host tool
14866 WINDMC_FOR_TARGET='$(WINDMC)'
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14868 $as_echo "host tool
" >&6; }
14870 # We need a cross tool
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14872 $as_echo "pre-installed
" >&6; }
14880 # Certain tools may need extra flags.
14881 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14882 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14883 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14885 # When building target libraries, except in a Canadian cross, we use
14886 # the same toolchain as the compiler we just built.
14887 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14888 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14889 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14890 if test $host = $build; then
14891 case " $configdirs " in
14893 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14894 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14895 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14905 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14906 # Check whether --enable-maintainer-mode was given.
14907 if test "${enable_maintainer_mode+set}" = set; then :
14908 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14910 USE_MAINTAINER_MODE=no
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14914 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14917 if test "$USE_MAINTAINER_MODE" = yes; then
14918 MAINTAINER_MODE_TRUE=
14919 MAINTAINER_MODE_FALSE='#'
14921 MAINTAINER_MODE_TRUE='#'
14922 MAINTAINER_MODE_FALSE=
14924 MAINT=$MAINTAINER_MODE_TRUE
14926 # ---------------------
14927 # GCC bootstrap support
14928 # ---------------------
14930 # Stage specific cflags for build.
14935 yes) stage1_cflags="-g -Wa,-J" ;;
14936 *) stage1_cflags="-g -J" ;;
14942 # Enable --enable-checking in stage1 of the compiler.
14943 # Check whether --enable-stage1-checking was given.
14944 if test "${enable_stage1_checking+set}" = set; then :
14945 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14947 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14948 # For --disable-checking or implicit --enable-checking=release, avoid
14949 # setting --enable-checking=gc in the default stage1 checking for LTO
14950 # bootstraps. See PR62077.
14951 case $BUILD_CONFIG in
14953 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14955 stage1_checking=--enable-checking=yes,types;;
14957 if test "x
$enable_checking" = x && \
14958 test -d ${srcdir}/gcc && \
14959 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14960 stage1_checking=--enable-checking=yes,types,extra
14963 stage1_checking=--enable-checking=$enable_checking,types
14969 # Enable -Werror in bootstrap stage2 and later.
14970 # Check whether --enable-werror was given.
14971 if test "${enable_werror+set}" = set; then :
14972 enableval=$enable_werror;
14973 case ${enable_werror} in
14974 yes) stage2_werror_flag="--enable-werror-always" ;;
14975 *) stage2_werror_flag="" ;;
14980 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14981 case $BUILD_CONFIG in
14983 stage2_werror_flag="--enable-werror-always" ;;
14985 stage2_werror_flag="--enable-werror-always" ;;
14994 # Specify what files to not compare during bootstrap.
14996 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14998 hppa*64*-*-hpux*) ;;
14999 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15000 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15004 ac_config_files="$ac_config_files Makefile
"
15006 cat >confcache <<\_ACEOF
15007 # This file is a shell script that caches the results of configure
15008 # tests run on this system so they can be shared between configure
15009 # scripts and configure runs, see configure's option --config-cache.
15010 # It is not useful on other systems. If it contains results you don't
15011 # want to keep, you may remove or edit it.
15013 # config.status only pays attention to the cache file if you give it
15014 # the --recheck option to rerun configure.
15016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15018 # following values.
15022 # The following way of writing the cache mishandles newlines in values,
15023 # but we know of no workaround that is simple, portable, and efficient.
15024 # So, we kill variables containing newlines.
15025 # Ultrix sh set writes to stderr and can't be redirected directly,
15026 # and sets the high bit in the cache file unless we assign to the vars.
15028 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15029 eval ac_val=\$$ac_var
15033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15034 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15037 _ | IFS | as_nl) ;; #(
15038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15039 *) { eval $ac_var=; unset $ac_var;} ;;
15045 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15046 *${as_nl}ac_space=\ *)
15047 # `set' does not quote correctly, so add quotes: double-quote
15048 # substitution turns \\\\ into \\, and sed turns \\ into \.
15051 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15054 # `set' quotes correctly as required by POSIX, so do not add quotes.
15055 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15066 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15068 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15069 if test -w "$cache_file"; then
15070 if test "x
$cache_file" != "x
/dev
/null
"; then
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15072 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15073 if test ! -f "$cache_file" || test -h "$cache_file"; then
15074 cat confcache >"$cache_file"
15076 case $cache_file in #(
15078 mv -f confcache "$cache_file"$$ &&
15079 mv -f "$cache_file"$$ "$cache_file" ;; #(
15081 mv -f confcache "$cache_file" ;;
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15087 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15092 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15093 # Let make expand exec_prefix.
15094 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15096 # Transform confdefs.h into DEFS.
15097 # Protect against shell expansion while executing Makefile rules.
15098 # Protect against Makefile macro expansion.
15100 # If the first sed substitution is executed (which looks for macros that
15101 # take arguments), then branch to the quote section. Otherwise,
15102 # look for a macro that doesn't take arguments.
15112 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15114 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15118 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15131 DEFS=`sed -n "$ac_script" confdefs.h`
15137 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15138 # 1. Remove the extension, and $U if already installed.
15139 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15140 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15141 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15142 # will be set to the directory where LIBOBJS objects are built.
15143 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15144 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15146 LIBOBJS=$ac_libobjs
15148 LTLIBOBJS=$ac_ltlibobjs
15152 : "${CONFIG_STATUS=./config.status}"
15154 ac_clean_files_save=$ac_clean_files
15155 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15157 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15159 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15161 # Generated by $as_me.
15162 # Run this file to recreate the current configuration.
15163 # Compiler output produced by configure, useful for debugging
15164 # configure, is in config.log if it exists.
15167 ac_cs_recheck=false
15170 SHELL=\${CONFIG_SHELL-$SHELL}
15173 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15174 ## -------------------- ##
15175 ## M4sh Initialization. ##
15176 ## -------------------- ##
15178 # Be more Bourne compatible
15179 DUALCASE=1; export DUALCASE # for MKS sh
15180 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15183 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15184 # is contrary to our usage. Disable this feature.
15185 alias -g '${1+"$@"}'='"$@"'
15186 setopt NO_GLOB_SUBST
15188 case `(set -o) 2>/dev/null` in #(
15200 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15201 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15202 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15203 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15204 # Prefer a ksh shell builtin over an external printf program on Solaris,
15205 # but without wasting forks for bash or zsh.
15206 if test -z "$BASH_VERSION$ZSH_VERSION" \
15207 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15208 as_echo
='print -r --'
15209 as_echo_n
='print -rn --'
15210 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15211 as_echo
='printf %s\n'
15212 as_echo_n
='printf %s'
15214 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15215 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15216 as_echo_n
='/usr/ucb/echo -n'
15218 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15219 as_echo_n_body
='eval
15223 expr "X$arg" : "X\\(.*\\)$as_nl";
15224 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15226 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15228 export as_echo_n_body
15229 as_echo_n
='sh -c $as_echo_n_body as_echo'
15231 export as_echo_body
15232 as_echo
='sh -c $as_echo_body as_echo'
15235 # The user is always right.
15236 if test "${PATH_SEPARATOR+set}" != set; then
15238 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15239 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15246 # We need space, tab and new line, in precisely that order. Quoting is
15247 # there to prevent editors from complaining about space-tab.
15248 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15249 # splitting by setting IFS to empty value.)
15252 # Find who we are. Look in the path if we contain no directory separator.
15255 *[\\/]* ) as_myself
=$0 ;;
15256 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15257 for as_dir
in $PATH
15260 test -z "$as_dir" && as_dir
=.
15261 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15267 # We did not find ourselves, most probably we were run as `sh COMMAND'
15268 # in which case we are not to be found in the path.
15269 if test "x$as_myself" = x
; then
15272 if test ! -f "$as_myself"; then
15273 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15277 # Unset variables that we do not need and which cause bugs (e.g. in
15278 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15279 # suppresses any "Segmentation fault" message there. '((' could
15280 # trigger a bug in pdksh 5.2.14.
15281 for as_var
in BASH_ENV ENV MAIL MAILPATH
15282 do eval test x\
${$as_var+set} = xset \
15283 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15296 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15299 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15300 # ----------------------------------------
15301 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15302 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15303 # script with STATUS, using 1 if that was 0.
15306 as_status
=$1; test $as_status -eq 0 && as_status
=1
15308 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15309 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15311 $as_echo "$as_me: error: $2" >&2
15312 as_fn_exit
$as_status
15316 # as_fn_set_status STATUS
15317 # -----------------------
15318 # Set $? to STATUS, without forking.
15319 as_fn_set_status
()
15322 } # as_fn_set_status
15324 # as_fn_exit STATUS
15325 # -----------------
15326 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15330 as_fn_set_status
$1
15336 # Portably unset VAR.
15339 { eval $1=; unset $1;}
15341 as_unset
=as_fn_unset
15342 # as_fn_append VAR VALUE
15343 # ----------------------
15344 # Append the text in VALUE to the end of the definition contained in VAR. Take
15345 # advantage of any shell optimizations that allow amortized linear growth over
15346 # repeated appends, instead of the typical quadratic growth present in naive
15348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15349 eval 'as_fn_append ()
15360 # as_fn_arith ARG...
15361 # ------------------
15362 # Perform arithmetic evaluation on the ARGs, and store the result in the
15363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15364 # must be portable across $(()) and expr.
15365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15366 eval 'as_fn_arith ()
15373 as_val
=`expr "$@" || test $? -eq 1`
15378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15386 as_basename
=basename
15391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15397 as_me
=`$as_basename -- "$0" ||
15398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15399 X"$0" : 'X\(//\)$' \| \
15400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15402 sed '/^.*\/\([^/][^/]*\)\/*$/{
15416 # Avoid depending upon Character Ranges.
15417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15420 as_cr_digits
='0123456789'
15421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15423 ECHO_C
= ECHO_N
= ECHO_T
=
15424 case `echo -n x` in #(((((
15426 case `echo 'xy\c'` in
15427 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15429 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15436 rm -f conf$$ conf$$.exe conf$$.
file
15437 if test -d conf$$.dir
; then
15438 rm -f conf$$.dir
/conf$$.
file
15441 mkdir conf$$.dir
2>/dev
/null
15443 if (echo >conf$$.
file) 2>/dev
/null
; then
15444 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15446 # ... but there are two gotchas:
15447 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15448 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15449 # In both cases, we have to default to `cp -pR'.
15450 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15452 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15460 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15461 rmdir conf$$.dir
2>/dev
/null
15466 # Create "$as_dir" as a directory, including parents if necessary.
15471 -*) as_dir
=.
/$as_dir;;
15473 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15477 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15478 *) as_qdir
=$as_dir;;
15480 as_dirs
="'$as_qdir' $as_dirs"
15481 as_dir
=`$as_dirname -- "$as_dir" ||
15482 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15483 X"$as_dir" : 'X\(//\)[^/]' \| \
15484 X"$as_dir" : 'X\(//\)$' \| \
15485 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15486 $as_echo X"$as_dir" |
15487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15491 /^X\(\/\/\)[^/].*/{
15504 test -d "$as_dir" && break
15506 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15507 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15511 if mkdir
-p .
2>/dev
/null
; then
15512 as_mkdir_p
='mkdir -p "$as_dir"'
15514 test -d .
/-p && rmdir .
/-p
15519 # as_fn_executable_p FILE
15520 # -----------------------
15521 # Test if FILE is an executable regular file.
15522 as_fn_executable_p
()
15524 test -f "$1" && test -x "$1"
15525 } # as_fn_executable_p
15526 as_test_x
='test -x'
15527 as_executable_p
=as_fn_executable_p
15529 # Sed expression to map a string onto a valid CPP name.
15530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15532 # Sed expression to map a string onto a valid variable name.
15533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15537 ## ----------------------------------- ##
15538 ## Main body of $CONFIG_STATUS script. ##
15539 ## ----------------------------------- ##
15541 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15544 # Save the log message, to keep $0 and so on meaningful, and to
15545 # report actual input values of CONFIG_FILES etc. instead of their
15546 # values after options handling.
15548 This file was extended by $as_me, which was
15549 generated by GNU Autoconf 2.69. Invocation command line was
15551 CONFIG_FILES = $CONFIG_FILES
15552 CONFIG_HEADERS = $CONFIG_HEADERS
15553 CONFIG_LINKS = $CONFIG_LINKS
15554 CONFIG_COMMANDS = $CONFIG_COMMANDS
15557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15562 case $ac_config_files in *"
15563 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15569 # Files that config.status was made for.
15570 config_files="$ac_config_files"
15574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15576 \`$as_me' instantiates files and other configuration actions
15577 from templates according to the current configuration. Unless the files
15578 and actions are specified as TAGs, all are instantiated by default.
15580 Usage: $0 [OPTION]... [TAG]...
15582 -h, --help print this help, then exit
15583 -V, --version print version number and configuration settings, then exit
15584 --config print configuration, then exit
15585 -q, --quiet, --silent
15586 do not print progress messages
15587 -d, --debug don't remove temporary files
15588 --recheck update $as_me by reconfiguring in the same conditions
15589 --file=FILE[:TEMPLATE]
15590 instantiate the configuration file FILE
15592 Configuration files:
15595 Report bugs to the package provider."
15598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15599 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15602 configured by $0, generated by GNU Autoconf 2.69,
15603 with options \\"\$ac_cs_config\\"
15605 Copyright (C) 2012 Free Software Foundation, Inc.
15606 This config.status script is free software; the Free Software Foundation
15607 gives unlimited permission to copy, distribute and modify it."
15613 test -n "\$AWK" || AWK=awk
15616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15617 # The default lists apply if the user does not specify any file.
15623 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15624 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15628 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15640 # Handling of the options.
15641 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15643 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15644 $as_echo "$ac_cs_version"; exit ;;
15645 --config |
--confi |
--conf |
--con |
--co |
--c )
15646 $as_echo "$ac_cs_config"; exit ;;
15647 --debug |
--debu |
--deb |
--de |
--d |
-d )
15649 --file |
--fil |
--fi |
--f )
15652 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15653 '') as_fn_error $?
"missing file argument" ;;
15655 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15656 ac_need_defaults
=false
;;
15657 --he |
--h |
--help |
--hel |
-h )
15658 $as_echo "$ac_cs_usage"; exit ;;
15659 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15660 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15663 # This is an error.
15664 -*) as_fn_error $?
"unrecognized option: \`$1'
15665 Try \`$0 --help' for more information." ;;
15667 *) as_fn_append ac_config_targets
" $1"
15668 ac_need_defaults
=false
;;
15674 ac_configure_extra_args
=
15676 if $ac_cs_silent; then
15678 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15683 if \$ac_cs_recheck; then
15684 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15686 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15687 CONFIG_SHELL='$SHELL'
15688 export CONFIG_SHELL
15693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15697 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15698 ## Running $as_me. ##
15704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15708 extrasub_build="$extrasub_build"
15709 extrasub_host="$extrasub_host"
15710 extrasub_target="$extrasub_target"
15714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15716 # Handling of arguments.
15717 for ac_config_target
in $ac_config_targets
15719 case $ac_config_target in
15720 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15722 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15727 # If the user did not use the arguments to specify the items to instantiate,
15728 # then the envvar interface is used. Set only those that are not.
15729 # We use the long form for the default assignment because of an extremely
15730 # bizarre bug on SunOS 4.1.3.
15731 if $ac_need_defaults; then
15732 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15735 # Have a temporary directory for convenience. Make it in the build tree
15736 # simply because there is no reason against having it here, and in addition,
15737 # creating and moving files from /tmp can sometimes cause problems.
15738 # Hook for its removal unless debugging.
15739 # Note that there is a small window in which the directory will not be cleaned:
15740 # after its creation but before its name has been assigned to `$tmp'.
15744 trap 'exit_status=$?
15745 : "${ac_tmp:=$tmp}"
15746 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15748 trap 'as_fn_exit 1' 1 2 13 15
15750 # Create a (secure) tmp directory for tmp files.
15753 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15757 tmp
=.
/conf$$
-$RANDOM
15758 (umask 077 && mkdir
"$tmp")
15759 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15762 # Set up the scripts for CONFIG_FILES section.
15763 # No need to generate them if there are no CONFIG_FILES.
15764 # This happens for instance with `./config.status config.h'.
15765 if test -n "$CONFIG_FILES"; then
15767 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15768 ac_cs_awk_getline
=:
15769 ac_cs_awk_pipe_init
=
15770 ac_cs_awk_read_file
='
15771 while ((getline aline < (F[key])) > 0)
15774 ac_cs_awk_pipe_fini
=
15776 ac_cs_awk_getline
=false
15777 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15778 ac_cs_awk_read_file
='
15780 print "cat " F[key] " &&"
15781 '$ac_cs_awk_pipe_init
15782 # The final `:' finishes the AND list.
15783 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15785 ac_cr
=`echo X | tr X '\015'`
15786 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15787 # But we know of no other shell where ac_cr would be empty at this
15788 # point, so we can use a bashism as a fallback.
15789 if test "x$ac_cr" = x
; then
15790 eval ac_cr
=\$
\'\\r
\'
15792 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15793 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15796 ac_cs_awk_cr
=$ac_cr
15799 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15802 # Create commands to substitute file output variables.
15804 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15805 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15806 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15809 } >conf$
$files.sh
&&
15810 . .
/conf$
$files.sh ||
15811 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15812 rm -f conf$
$files.sh
15815 echo "cat >conf$$subs.awk <<_ACEOF" &&
15816 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15818 } >conf$$subs.sh ||
15819 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15820 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15822 for ac_last_try in false false false false false :; do
15823 . ./conf$$subs.sh ||
15824 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15826 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15827 if test $ac_delim_n = $ac_delim_num; then
15829 elif $ac_last_try; then
15830 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15832 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15835 rm -f conf$$subs.sh
15837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15838 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15842 s/^/S["/; s
/!.
*/"]=/
15852 s/\(.\{148\}\)..*/\1/
15854 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15859 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15866 s/\(.\{148\}\)..*/\1/
15868 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15872 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15877 ' <conf$$subs.awk | sed '
15882 ' >>$CONFIG_STATUS || ac_write_fail=1
15883 rm -f conf$$subs.awk
15884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15886 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15887 for (key in S) S_is_set[key] = 1
15889 \$ac_cs_awk_pipe_init
15893 nfields = split(line, field, "@
")
15895 len = length(field[1])
15896 for (i = 2; i < nfields; i++) {
15898 keylen = length(key)
15899 if (S_is_set[key]) {
15901 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15902 len += length(value) + length(field[++i])
15907 if (nfields == 3 && !substed) {
15909 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15910 \$ac_cs_awk_read_file
15916 \$ac_cs_awk_pipe_fini
15919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15920 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15921 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15924 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15925 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15928 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15929 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15930 # trailing colons and then remove the whole line if VPATH becomes empty
15931 # (actually we leave an empty line to preserve line numbers).
15932 if test "x
$srcdir" = x.; then
15933 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15952 fi # test -n "$CONFIG_FILES"
15955 eval set X " :F
$CONFIG_FILES "
15960 :[FHLC]) ac_mode=$ac_tag; continue;;
15962 case $ac_mode$ac_tag in
15964 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15965 :[FH]-) ac_tag=-:-;;
15966 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15983 -) ac_f="$ac_tmp/stdin";;
15984 *) # Look for the file first in the build tree, then in the source tree
15985 # (if the path is not absolute). The absolute path cannot be DOS-style,
15986 # because $ac_f cannot contain `:'.
15990 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15992 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15994 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15995 as_fn_append ac_file_inputs " '$ac_f'"
15998 # Let's still pretend it is `configure' which instantiates (i.e., don't
15999 # use $as_me), people would be surprised to read:
16000 # /* config.h. Generated by config.status. */
16001 configure_input='Generated from '`
16002 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16004 if test x"$ac_file" != x-; then
16005 configure_input="$ac_file.
$configure_input"
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16007 $as_echo "$as_me: creating
$ac_file" >&6;}
16009 # Neutralize special characters interpreted by sed in replacement strings.
16010 case $configure_input in #(
16011 *\&* | *\|* | *\\* )
16012 ac_sed_conf_input=`$as_echo "$configure_input" |
16013 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16014 *) ac_sed_conf_input=$configure_input;;
16018 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16019 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16024 ac_dir=`$as_dirname -- "$ac_file" ||
16025 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16026 X"$ac_file" : 'X\(//\)[^/]' \| \
16027 X"$ac_file" : 'X\(//\)$' \| \
16028 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16029 $as_echo X"$ac_file" |
16030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16034 /^X\(\/\/\)[^/].*/{
16047 as_dir="$ac_dir"; as_fn_mkdir_p
16051 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16053 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16054 # A "..
" for each directory in $ac_dir_suffix.
16055 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16056 case $ac_top_builddir_sub in
16057 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16058 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16061 ac_abs_top_builddir=$ac_pwd
16062 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16063 # for backward compatibility:
16064 ac_top_builddir=$ac_top_build_prefix
16067 .) # We are building in place.
16069 ac_top_srcdir=$ac_top_builddir_sub
16070 ac_abs_top_srcdir=$ac_pwd ;;
16071 [\\/]* | ?:[\\/]* ) # Absolute name.
16072 ac_srcdir=$srcdir$ac_dir_suffix;
16073 ac_top_srcdir=$srcdir
16074 ac_abs_top_srcdir=$srcdir ;;
16075 *) # Relative name.
16076 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16077 ac_top_srcdir=$ac_top_build_prefix$srcdir
16078 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16080 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16090 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16091 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16096 # If the template does not know about datarootdir, expand it.
16097 # FIXME: This hack should be removed a few years after 2.60.
16098 ac_datarootdir_hack=; ac_datarootdir_seen=
16109 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16110 *datarootdir*) ac_datarootdir_seen=yes;;
16111 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16113 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16116 ac_datarootdir_hack='
16117 s&@datadir@&$datadir&g
16118 s&@docdir@&$docdir&g
16119 s&@infodir@&$infodir&g
16120 s&@localedir@&$localedir&g
16121 s&@mandir@&$mandir&g
16122 s&\\\${datarootdir}&$datarootdir&g' ;;
16126 # Neutralize VPATH when `$srcdir' = `.'.
16127 # Shell code in configure.ac might set extrasub.
16128 # FIXME: do we really want to maintain this feature?
16129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16130 ac_sed_extra="$ac_vpsub
16133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16135 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16136 s|@configure_input@|
$ac_sed_conf_input|
;t t
16137 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16138 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16139 s
&@srcdir@
&$ac_srcdir&;t t
16140 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16141 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16142 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16143 s
&@builddir@
&$ac_builddir&;t t
16144 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16145 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16146 s
&@INSTALL@
&$ac_INSTALL&;t t
16147 $ac_datarootdir_hack
16149 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16150 if $ac_cs_awk_getline; then
16151 $AWK -f "$ac_tmp/subs.
awk"
16153 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16155 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16157 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16158 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16160 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16162 which seems to be undefined. Please make sure it is defined" >&5
16163 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16164 which seems to be undefined. Please make sure it is defined" >&2;}
16166 rm -f "$ac_tmp/stdin"
16168 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16169 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16179 case $ac_file$ac_mode in
16180 "Makefile":F) sed "$extrasub_build" Makefile |
16181 sed "$extrasub_host" |
16182 sed "$extrasub_target" > mf$$
16183 mv -f mf$$ Makefile ;;
16191 ac_clean_files=$ac_clean_files_save
16193 test $ac_write_fail = 0 ||
16194 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16197 # configure is writing to config.log, and then calls config.status.
16198 # config.status does its own redirection, appending to config.log.
16199 # Unfortunately, on DOS this fails, as config.log is still kept open
16200 # by configure, so config.status won't be able to
write to it
; its
16201 # output is simply discarded. So we exec the FD to /dev/null,
16202 # effectively closing config.log, so it can be properly (re)opened and
16203 # appended to by config.status. When coming back to configure, we
16204 # need to make the FD available again.
16205 if test "$no_create" != yes; then
16207 ac_config_status_args
=
16208 test "$silent" = yes &&
16209 ac_config_status_args
="$ac_config_status_args --quiet"
16211 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16213 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16214 # would make configure fail if this is the last instruction.
16215 $ac_cs_success || as_fn_exit
1
16217 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16219 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}