2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
676 DEBUG_PREFIX_CFLAGS_FOR_TARGET
677 SYSROOT_CFLAGS_FOR_TARGET
679 extra_host_zlib_configure_flags
680 extra_host_libiberty_configure_flags
683 extra_linker_plugin_flags
684 extra_linker_plugin_configure_flags
691 extra_isl_gmp_configure_flags
692 extra_mpc_mpfr_configure_flags
693 extra_mpc_gmp_configure_flags
694 extra_mpfr_configure_flags
713 extra_liboffloadmic_configure_flags
740 TOPLEVEL_CONFIGURE_ARGUMENTS
768 program_transform_name
779 ac_subst_files
='serialization_dependencies
785 enable_option_checking
789 enable_as_accelerator_for
790 enable_offload_targets
794 enable_compressed_debug_sections
797 enable_libquadmath_support
816 with_static_standard_libraries
823 enable_isl_version_check
825 enable_linker_plugin_configure_flags
826 enable_linker_plugin_flags
828 enable_stage1_languages
831 with_target_bdw_gc_include
832 with_target_bdw_gc_lib
833 with_gcc_major_version_only
835 with_debug_prefix_map
838 enable_serial_configure
839 with_build_time_tools
840 enable_maintainer_mode
841 enable_stage1_checking
844 ac_precious_vars
='build_alias
891 # Initialize some variables set by options.
893 ac_init_version
=false
894 ac_unrecognized_opts
=
896 # The variables have the same names as the options, with
897 # dashes changed to underlines.
905 program_transform_name
=s
,x
,x
,
913 # Installation directory options.
914 # These are left unexpanded so users can "make install exec_prefix=/foo"
915 # and all the variables that are supposed to be based on exec_prefix
916 # by default will actually change.
917 # Use braces instead of parens because sh, perl, etc. also accept them.
918 # (The list follows the same order as the GNU Coding Standards.)
919 bindir
='${exec_prefix}/bin'
920 sbindir
='${exec_prefix}/sbin'
921 libexecdir
='${exec_prefix}/libexec'
922 datarootdir
='${prefix}/share'
923 datadir
='${datarootdir}'
924 sysconfdir
='${prefix}/etc'
925 sharedstatedir
='${prefix}/com'
926 localstatedir
='${prefix}/var'
927 includedir
='${prefix}/include'
928 oldincludedir
='/usr/include'
929 docdir
='${datarootdir}/doc/${PACKAGE}'
930 infodir
='${datarootdir}/info'
935 libdir
='${exec_prefix}/lib'
936 localedir
='${datarootdir}/locale'
937 mandir
='${datarootdir}/man'
943 # If the previous option needs an argument, assign it.
944 if test -n "$ac_prev"; then
945 eval $ac_prev=\
$ac_option
951 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
956 # Accept the important Cygnus configure options, so we can diagnose typos.
958 case $ac_dashdash$ac_option in
962 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
964 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
967 -build |
--build |
--buil |
--bui |
--bu)
968 ac_prev
=build_alias
;;
969 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
970 build_alias
=$ac_optarg ;;
972 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
973 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
974 ac_prev
=cache_file
;;
975 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
976 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
977 cache_file
=$ac_optarg ;;
980 cache_file
=config.cache
;;
982 -datadir |
--datadir |
--datadi |
--datad)
984 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
985 datadir
=$ac_optarg ;;
987 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
988 |
--dataroo |
--dataro |
--datar)
989 ac_prev
=datarootdir
;;
990 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
991 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
992 datarootdir
=$ac_optarg ;;
994 -disable-* |
--disable-*)
995 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
998 as_fn_error $?
"invalid feature name: $ac_useropt"
999 ac_useropt_orig
=$ac_useropt
1000 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_
$ac_useropt"
1005 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep
=', ';;
1008 eval enable_
$ac_useropt=no
;;
1010 -docdir |
--docdir |
--docdi |
--doc |
--do)
1012 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1013 docdir
=$ac_optarg ;;
1015 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1017 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1018 dvidir
=$ac_optarg ;;
1020 -enable-* |
--enable-*)
1021 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1024 as_fn_error $?
"invalid feature name: $ac_useropt"
1025 ac_useropt_orig
=$ac_useropt
1026 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_
$ac_useropt"
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep
=', ';;
1034 eval enable_
$ac_useropt=\
$ac_optarg ;;
1036 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1037 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1038 |
--exec |
--exe |
--ex)
1039 ac_prev
=exec_prefix
;;
1040 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1041 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1042 |
--exec=* |
--exe=* |
--ex=*)
1043 exec_prefix
=$ac_optarg ;;
1045 -gas |
--gas |
--ga |
--g)
1046 # Obsolete; use --with-gas.
1049 -help |
--help |
--hel |
--he |
-h)
1050 ac_init_help
=long
;;
1051 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1052 ac_init_help
=recursive
;;
1053 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1054 ac_init_help
=short
;;
1056 -host |
--host |
--hos |
--ho)
1057 ac_prev
=host_alias
;;
1058 -host=* |
--host=* |
--hos=* |
--ho=*)
1059 host_alias
=$ac_optarg ;;
1061 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1063 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1065 htmldir
=$ac_optarg ;;
1067 -includedir |
--includedir |
--includedi |
--included |
--include \
1068 |
--includ |
--inclu |
--incl |
--inc)
1069 ac_prev
=includedir
;;
1070 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1071 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1072 includedir
=$ac_optarg ;;
1074 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1076 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1077 infodir
=$ac_optarg ;;
1079 -libdir |
--libdir |
--libdi |
--libd)
1081 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1082 libdir
=$ac_optarg ;;
1084 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1085 |
--libexe |
--libex |
--libe)
1086 ac_prev
=libexecdir
;;
1087 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1088 |
--libexe=* |
--libex=* |
--libe=*)
1089 libexecdir
=$ac_optarg ;;
1091 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1092 ac_prev
=localedir
;;
1093 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1094 localedir
=$ac_optarg ;;
1096 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1097 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1098 ac_prev
=localstatedir
;;
1099 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1100 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1101 localstatedir
=$ac_optarg ;;
1103 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1105 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1106 mandir
=$ac_optarg ;;
1108 -nfp |
--nfp |
--nf)
1109 # Obsolete; use --without-fp.
1112 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1113 |
--no-cr |
--no-c |
-n)
1116 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1117 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1120 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1121 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1122 |
--oldin |
--oldi |
--old |
--ol |
--o)
1123 ac_prev
=oldincludedir
;;
1124 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1125 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1126 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1127 oldincludedir
=$ac_optarg ;;
1129 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1131 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1132 prefix
=$ac_optarg ;;
1134 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1135 |
--program-pre |
--program-pr |
--program-p)
1136 ac_prev
=program_prefix
;;
1137 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1138 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1139 program_prefix
=$ac_optarg ;;
1141 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1142 |
--program-suf |
--program-su |
--program-s)
1143 ac_prev
=program_suffix
;;
1144 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1145 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1146 program_suffix
=$ac_optarg ;;
1148 -program-transform-name |
--program-transform-name \
1149 |
--program-transform-nam |
--program-transform-na \
1150 |
--program-transform-n |
--program-transform- \
1151 |
--program-transform |
--program-transfor \
1152 |
--program-transfo |
--program-transf \
1153 |
--program-trans |
--program-tran \
1154 |
--progr-tra |
--program-tr |
--program-t)
1155 ac_prev
=program_transform_name
;;
1156 -program-transform-name=* |
--program-transform-name=* \
1157 |
--program-transform-nam=* |
--program-transform-na=* \
1158 |
--program-transform-n=* |
--program-transform-=* \
1159 |
--program-transform=* |
--program-transfor=* \
1160 |
--program-transfo=* |
--program-transf=* \
1161 |
--program-trans=* |
--program-tran=* \
1162 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1163 program_transform_name
=$ac_optarg ;;
1165 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1167 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1168 pdfdir
=$ac_optarg ;;
1170 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1172 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1175 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1176 |
-silent |
--silent |
--silen |
--sile |
--sil)
1179 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1181 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1183 sbindir
=$ac_optarg ;;
1185 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1186 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1187 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1189 ac_prev
=sharedstatedir
;;
1190 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1191 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1192 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1194 sharedstatedir
=$ac_optarg ;;
1196 -site |
--site |
--sit)
1198 -site=* |
--site=* |
--sit=*)
1201 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1203 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1204 srcdir
=$ac_optarg ;;
1206 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1207 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1208 ac_prev
=sysconfdir
;;
1209 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1210 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1211 sysconfdir
=$ac_optarg ;;
1213 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1214 ac_prev
=target_alias
;;
1215 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1216 target_alias
=$ac_optarg ;;
1218 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1221 -version |
--version |
--versio |
--versi |
--vers |
-V)
1222 ac_init_version
=: ;;
1225 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1228 as_fn_error $?
"invalid package name: $ac_useropt"
1229 ac_useropt_orig
=$ac_useropt
1230 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1235 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep
=', ';;
1238 eval with_
$ac_useropt=\
$ac_optarg ;;
1240 -without-* |
--without-*)
1241 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1244 as_fn_error $?
"invalid package name: $ac_useropt"
1245 ac_useropt_orig
=$ac_useropt
1246 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1251 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep
=', ';;
1254 eval with_
$ac_useropt=no
;;
1257 # Obsolete; use --with-x.
1260 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1261 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1262 ac_prev
=x_includes
;;
1263 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1264 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1265 x_includes
=$ac_optarg ;;
1267 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1268 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1269 ac_prev
=x_libraries
;;
1270 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1271 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1272 x_libraries
=$ac_optarg ;;
1274 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information"
1279 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 case $ac_envvar in #(
1282 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1283 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1285 eval $ac_envvar=\
$ac_optarg
1286 export $ac_envvar ;;
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1299 if test -n "$ac_prev"; then
1300 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1301 as_fn_error $?
"missing argument to $ac_option"
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1307 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1312 # Check all directory arguments for consistency.
1313 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1318 eval ac_val
=\$
$ac_var
1319 # Remove trailing slashes.
1322 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\
$ac_val;;
1325 # Be sure to have absolute directory names.
1327 [\\/$
]* | ?
:[\\/]* ) continue;;
1328 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1330 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1338 target
=$target_alias
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x
; then
1342 if test "x$build_alias" = x
; then
1343 cross_compiling
=maybe
1344 elif test "x$build_alias" != "x$host_alias"; then
1350 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1352 test "$silent" = yes && exec 6>/dev
/null
1355 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1356 ac_ls_di
=`ls -di .` &&
1357 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1358 as_fn_error $?
"working directory cannot be determined"
1359 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1360 as_fn_error $?
"pwd does not report name of working directory"
1363 # Find the source files, if location was not specified.
1364 if test -z "$srcdir"; then
1365 ac_srcdir_defaulted
=yes
1366 # Try the directory containing this script, then the parent directory.
1367 ac_confdir
=`$as_dirname -- "$as_myself" ||
1368 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1369 X"$as_myself" : 'X\(//\)[^/]' \| \
1370 X"$as_myself" : 'X\(//\)$' \| \
1371 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1372 $as_echo X"$as_myself" |
1373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 if test ! -r "$srcdir/$ac_unique_file"; then
1395 ac_srcdir_defaulted
=no
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1398 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1399 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1401 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1403 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1405 # When building in place, set srcdir=.
1406 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 # Remove unnecessary trailing slashes from srcdir.
1410 # Double slashes in file names in object file debugging info
1411 # mess up M-x gdb in Emacs.
1413 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1417 as_fn_error $?
"path to source, $srcdir, contains spaces"
1420 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1422 for ac_var
in $ac_precious_vars; do
1423 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1425 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1436 \`configure' configures this package to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking ...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1499 --build=BUILD configure
for building on BUILD
[guessed
]
1500 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1501 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1505 if test -n "$ac_init_help"; then
1510 --disable-option-checking ignore unrecognized
--enable/--with options
1511 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1512 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1513 --enable-as-accelerator-for=ARG
1514 build as offload target compiler. Specify offload
1516 --enable-offload-targets=LIST
1517 enable offloading to devices from comma-separated
1518 LIST of TARGET
[=DIR
]. Use optional path to
find
1519 offload target compiler during the build
1520 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1521 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1522 --enable-gprofng[=ARG
] build gprofng
[ARG
={yes,no
}]
1523 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1524 Enable compressed debug sections
for gas
, gold or ld
1526 --enable-year2038 enable support
for timestamps past the year
2038
1527 --disable-libquadmath do not build libquadmath directory
1528 --disable-libquadmath-support
1529 disable libquadmath support
for Fortran
1530 --enable-libada build libada directory
1531 --enable-libssp build libssp directory
1532 --disable-libstdcxx do not build libstdc
++-v3 directory
1533 --enable-liboffloadmic=ARG
1534 build liboffloadmic
[ARG
={no
,host,target
}]
1535 --enable-bootstrap enable bootstrapping
[yes if native build
]
1536 --enable-pgo-build[=lto
]
1537 enable the PGO build
1538 --disable-isl-version-check
1539 disable check
for isl version
1540 --enable-lto enable link
time optimization support
1541 --enable-linker-plugin-configure-flags=FLAGS
1542 additional flags
for configuring linker plugins
1544 --enable-linker-plugin-flags=FLAGS
1545 additional flags
for configuring and building linker
1547 --enable-host-shared build
host code as shared libraries
1548 --enable-stage1-languages[=all
]
1549 choose additional languages to build during stage1.
1550 Mostly useful
for compiler development
1551 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1553 --enable-vtable-verify Enable vtable verification feature
1554 --enable-serial-[{host,target,build}-]configure
1555 force sequential configuration of sub-packages for
1556 the host, target or build machine, or all
1558 --enable-maintainer-mode
1559 enable make rules and dependencies not useful (and
1560 sometimes confusing) to the casual installer
1561 --enable-stage1-checking[=all]
1562 choose additional checking for stage1 of the
1564 --enable-werror enable -Werror in bootstrap stage2 and later
1567 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1568 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1569 --with-build-libsubdir=DIR Directory where to find libraries for build system
1570 --with-system-zlib use installed libz
1571 --with-zstd Support zstd compressed debug sections
1573 --with-mpc=PATH specify prefix directory for installed MPC package.
1574 Equivalent to --with-mpc-include=PATH/include plus
1575 --with-mpc-lib=PATH/lib
1576 --with-mpc-include=PATH specify directory for installed MPC include files
1577 --with-mpc-lib=PATH specify directory for the installed MPC library
1578 --with-mpfr-dir=PATH this option has been REMOVED
1579 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1580 Equivalent to --with-mpfr-include=PATH/include plus
1581 --with-mpfr-lib=PATH/lib
1582 --with-mpfr-include=PATH
1583 specify directory for installed MPFR include files
1584 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1585 --with-gmp-dir=PATH this option has been REMOVED
1586 --with-gmp=PATH specify prefix directory for the installed GMP
1587 package. Equivalent to
1588 --with-gmp-include=PATH/include plus
1589 --with-gmp-lib=PATH/lib
1590 --with-gmp-include=PATH specify directory for installed GMP include files
1591 --with-gmp-lib=PATH specify directory for the installed GMP library
1592 --with-stage1-libs=LIBS libraries for stage1
1593 --with-static-standard-libraries
1594 use -static-libstdc++ and -static-libgcc
1596 --with-stage1-ldflags=FLAGS
1597 linker flags for stage1
1598 --with-boot-libs=LIBS libraries for stage2 and later
1599 --with-boot-ldflags=FLAGS
1600 linker flags for stage2 and later
1601 --with-isl=PATH Specify prefix directory for the installed isl
1602 package. Equivalent to
1603 --with-isl-include=PATH/include plus
1604 --with-isl-lib=PATH/lib
1605 --with-isl-include=PATH Specify directory for installed isl include files
1606 --with-isl-lib=PATH Specify the directory for the installed isl library
1607 --with-target-bdw-gc=PATHLIST
1608 specify prefix directory for installed bdw-gc
1609 package. Equivalent to
1610 --with-target-bdw-gc-include=PATH/include plus
1611 --with-target-bdw-gc-lib=PATH/lib
1612 --with-target-bdw-gc-include=PATHLIST
1613 specify directories for installed bdw-gc include
1615 --with-target-bdw-gc-lib=PATHLIST
1616 specify directories for installed bdw-gc library
1617 --with-gcc-major-version-only
1618 use only GCC major number in filesystem paths
1619 --with-build-sysroot=SYSROOT
1620 use sysroot as the system root during the build
1621 --with-debug-prefix-map='A
=B C
=D ...
'
1622 map A to B, C to D ... in debug information
1623 --with-build-config='NAME NAME2...
'
1624 use config/NAME.mk build configuration
1625 --with-build-time-tools=PATH
1626 use given path to find target tools during the build
1628 Some influential environment variables:
1629 CC C compiler command
1630 CFLAGS C compiler flags
1631 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1632 nonstandard directory <lib dir>
1633 LIBS libraries to pass to the linker, e.g. -l<library>
1634 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1635 you have headers in a nonstandard directory <include dir>
1636 CXX C++ compiler command
1637 CXXFLAGS C++ compiler flags
1639 additional configure arguments for build directories
1641 additional configure arguments for host directories
1643 additional configure arguments for target directories
1646 DLLTOOL DLLTOOL for the host
1648 LIPO LIPO for the host
1650 RANLIB RANLIB for the host
1651 STRIP STRIP for the host
1652 WINDRES WINDRES for the host
1653 WINDMC WINDMC for the host
1654 OBJCOPY OBJCOPY for the host
1655 OBJDUMP OBJDUMP for the host
1656 READELF READELF for the host
1664 GFORTRAN for the target
1672 DLLTOOL for the target
1680 OBJCOPY for the target
1682 OBJDUMP for the target
1684 RANLIB for the target
1686 READELF for the target
1688 STRIP for the target
1690 WINDRES for the target
1692 WINDMC for the target
1694 Use these variables to override the choices made by `configure' or to
help
1695 it to
find libraries and programs with nonstandard names
/locations.
1697 Report bugs to the package provider.
1702 if test "$ac_init_help" = "recursive"; then
1703 # If there are subdirs, report their specific --help.
1704 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1705 test -d "$ac_dir" ||
1706 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1711 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1713 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1714 # A ".." for each directory in $ac_dir_suffix.
1715 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1716 case $ac_top_builddir_sub in
1717 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1718 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1721 ac_abs_top_builddir
=$ac_pwd
1722 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1723 # for backward compatibility:
1724 ac_top_builddir
=$ac_top_build_prefix
1727 .
) # We are building in place.
1729 ac_top_srcdir
=$ac_top_builddir_sub
1730 ac_abs_top_srcdir
=$ac_pwd ;;
1731 [\\/]* | ?
:[\\/]* ) # Absolute name.
1732 ac_srcdir
=$srcdir$ac_dir_suffix;
1733 ac_top_srcdir
=$srcdir
1734 ac_abs_top_srcdir
=$srcdir ;;
1736 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1737 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1738 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1740 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1742 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1743 # Check for guested configure.
1744 if test -f "$ac_srcdir/configure.gnu"; then
1746 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1747 elif test -f "$ac_srcdir/configure"; then
1749 $SHELL "$ac_srcdir/configure" --help=recursive
1751 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1753 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1757 test -n "$ac_init_help" && exit $ac_status
1758 if $ac_init_version; then
1761 generated by GNU Autoconf
2.69
1763 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1764 This configure
script is free software
; the Free Software Foundation
1765 gives unlimited permission to copy
, distribute and modify it.
1770 ## ------------------------ ##
1771 ## Autoconf initialization. ##
1772 ## ------------------------ ##
1774 # ac_fn_c_try_compile LINENO
1775 # --------------------------
1776 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_compile
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 rm -f conftest.
$ac_objext
1781 if { { ac_try
="$ac_compile"
1783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_compile") 2>conftest.err
1790 if test -s conftest.err; then
1791 grep -v '^ *+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest.$ac_objext; then :
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status $ac_retval
1810 } # ac_fn_c_try_compile
1812 # ac_fn_cxx_try_compile LINENO
1813 # ----------------------------
1814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1815 ac_fn_cxx_try_compile ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 rm -f conftest.$ac_objext
1819 if { { ac_try="$ac_compile"
1821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1822 *) ac_try_echo
=$ac_try;;
1824 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_compile") 2>conftest.err
1828 if test -s conftest.err
; then
1829 grep -v '^ *+' conftest.err
>conftest.er1
1830 cat conftest.er1
>&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && {
1835 test -z "$ac_cxx_werror_flag" ||
1836 test ! -s conftest.err
1837 } && test -s conftest.
$ac_objext; then :
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.
$ac_ext >&5
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 as_fn_set_status
$ac_retval
1848 } # ac_fn_cxx_try_compile
1850 # ac_fn_cxx_try_link LINENO
1851 # -------------------------
1852 # Try to link conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_cxx_try_link
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 rm -f conftest.
$ac_objext conftest
$ac_exeext
1857 if { { ac_try
="$ac_link"
1859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_link") 2>conftest.err
1866 if test -s conftest.err; then
1867 grep -v '^ *+' conftest.err >conftest.er1
1868 cat conftest.er1 >&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && {
1873 test -z "$ac_cxx_werror_flag" ||
1874 test ! -s conftest.err
1875 } && test -s conftest$ac_exeext && {
1876 test "$cross_compiling" = yes ||
1877 test -x conftest$ac_exeext
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1886 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1887 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1888 # interfere with the next link command; also delete a directory that is
1889 # left behind by Apple's compiler. We do this before executing the actions.
1890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1894 } # ac_fn_cxx_try_link
1896 # ac_fn_c_try_link LINENO
1897 # -----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 rm -f conftest.$ac_objext conftest$ac_exeext
1903 if { { ac_try="$ac_link"
1905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1906 *) ac_try_echo
=$ac_try;;
1908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>conftest.err
1912 if test -s conftest.err
; then
1913 grep -v '^ *+' conftest.err
>conftest.er1
1914 cat conftest.er1
>&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && {
1919 test -z "$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1921 } && test -s conftest
$ac_exeext && {
1922 test "$cross_compiling" = yes ||
1923 test -x conftest
$ac_exeext
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.
$ac_ext >&5
1932 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1933 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1934 # interfere with the next link command; also delete a directory that is
1935 # left behind by Apple's compiler. We do this before executing the actions.
1936 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_c_try_link
1941 cat >config.log
<<_ACEOF
1942 This file contains any messages produced by compilers while
1943 running configure, to aid debugging if configure makes a mistake.
1945 It was created by $as_me, which was
1946 generated by GNU Autoconf 2.69. Invocation command line was
1958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 $as_echo "PATH: $as_dir"
1998 # Keep a trace of the command line.
1999 # Strip out --no-create and --no-recursion so they do not pile up.
2000 # Strip out --silent because we don't want to record it for future runs.
2001 # Also quote any args containing shell meta-characters.
2002 # Make two passes to allow for proper duplicate-argument suppression.
2006 ac_must_keep_next
=false
2012 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2014 |
-silent |
--silent |
--silen |
--sile |
--sil)
2017 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2022 as_fn_append ac_configure_args1
" '$ac_arg'"
2023 if test $ac_must_keep_next = true
; then
2024 ac_must_keep_next
=false
# Got value, back to normal.
2027 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2028 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2029 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2030 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2031 case "$ac_configure_args0 " in
2032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2035 -* ) ac_must_keep_next
=true
;;
2038 as_fn_append ac_configure_args
" '$ac_arg'"
2043 { ac_configure_args0
=; unset ac_configure_args0
;}
2044 { ac_configure_args1
=; unset ac_configure_args1
;}
2046 # When interrupted or exit'd, cleanup temporary files, and complete
2047 # config.log. We remove comments because anyway the quotes in there
2048 # would cause problems or look ugly.
2049 # WARNING: Use '\'' to represent an apostrophe within the trap.
2050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2051 trap 'exit_status=$?
2052 # Save into config.log some information that might help in debugging.
2056 $as_echo "## ---------------- ##
2057 ## Cache variables. ##
2058 ## ---------------- ##"
2060 # The following way of writing the cache mishandles newlines in values,
2062 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2063 eval ac_val=\$$ac_var
2067 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2068 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2071 _ | IFS | as_nl) ;; #(
2072 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2073 *) { eval $ac_var=; unset $ac_var;} ;;
2078 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2079 *${as_nl}ac_space=\ *)
2081 "s/'\''/'\''\\\\'\'''\''/g;
2082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092 $as_echo "## ----------------- ##
2093 ## Output variables. ##
2094 ## ----------------- ##"
2096 for ac_var in $ac_subst_vars
2098 eval ac_val=\$$ac_var
2100 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2106 if test -n "$ac_subst_files"; then
2107 $as_echo "## ------------------- ##
2108 ## File substitutions. ##
2109 ## ------------------- ##"
2111 for ac_var
in $ac_subst_files
2113 eval ac_val
=\$
$ac_var
2115 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117 $as_echo "$ac_var='\''$ac_val'\''"
2122 if test -s confdefs.h; then
2123 $as_echo "## ----------- ##
2130 test "$ac_signal" != 0 &&
2131 $as_echo "$as_me: caught signal $ac_signal"
2132 $as_echo "$as_me: exit $exit_status"
2134 rm -f core *.core core.conftest.* &&
2135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138 for ac_signal
in 1 2 13 15; do
2139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2144 rm -f -r conftest
* confdefs.h
2146 $as_echo "/* confdefs.h */" > confdefs.h
2148 # Predefined preprocessor variables.
2150 cat >>confdefs.h
<<_ACEOF
2151 #define PACKAGE_NAME "$PACKAGE_NAME"
2154 cat >>confdefs.h
<<_ACEOF
2155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158 cat >>confdefs.h
<<_ACEOF
2159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 cat >>confdefs.h
<<_ACEOF
2163 #define PACKAGE_STRING "$PACKAGE_STRING"
2166 cat >>confdefs.h
<<_ACEOF
2167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170 cat >>confdefs.h
<<_ACEOF
2171 #define PACKAGE_URL "$PACKAGE_URL"
2175 # Let the site file select an alternate cache file if it wants to.
2176 # Prefer an explicitly selected file to automatically selected ones.
2179 if test -n "$CONFIG_SITE"; then
2180 # We do not want a PATH search for config.site.
2181 case $CONFIG_SITE in #((
2182 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2183 */*) ac_site_file1
=$CONFIG_SITE;;
2184 *) ac_site_file1
=.
/$CONFIG_SITE;;
2186 elif test "x$prefix" != xNONE
; then
2187 ac_site_file1
=$prefix/share
/config.site
2188 ac_site_file2
=$prefix/etc
/config.site
2190 ac_site_file1
=$ac_default_prefix/share
/config.site
2191 ac_site_file2
=$ac_default_prefix/etc
/config.site
2193 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2195 test "x$ac_site_file" = xNONE
&& continue
2196 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2198 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2199 sed 's/^/| /' "$ac_site_file" >&5
2201 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2203 as_fn_error $?
"failed to load site script $ac_site_file
2204 See \`config.log' for more details" "$LINENO" 5; }
2208 if test -r "$cache_file"; then
2209 # Some versions of bash will fail to source /dev/null (special files
2210 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2211 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2213 $as_echo "$as_me: loading cache $cache_file" >&6;}
2215 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2216 *) .
"./$cache_file";;
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2221 $as_echo "$as_me: creating cache $cache_file" >&6;}
2225 # Check that the precious variables saved in the cache have kept the same
2227 ac_cache_corrupted
=false
2228 for ac_var
in $ac_precious_vars; do
2229 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2230 eval ac_new_set
=\
$ac_env_${ac_var}_set
2231 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2232 eval ac_new_val
=\
$ac_env_${ac_var}_value
2233 case $ac_old_set,$ac_new_set in
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2237 ac_cache_corrupted
=: ;;
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2240 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2241 ac_cache_corrupted
=: ;;
2244 if test "x$ac_old_val" != "x$ac_new_val"; then
2245 # differences in whitespace do not lead to failure.
2246 ac_old_val_w
=`echo x $ac_old_val`
2247 ac_new_val_w
=`echo x $ac_new_val`
2248 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2250 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2251 ac_cache_corrupted
=:
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2254 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2255 eval $ac_var=\
$ac_old_val
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2258 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2260 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2263 # Pass precious variables to config.status.
2264 if test "$ac_new_set" = set; then
2266 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2267 *) ac_arg
=$ac_var=$ac_new_val ;;
2269 case " $ac_configure_args " in
2270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2271 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2275 if $ac_cache_corrupted; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2279 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2280 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2282 ## -------------------- ##
2283 ## Main body of script. ##
2284 ## -------------------- ##
2287 ac_cpp
='$CPP $CPPFLAGS'
2288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2300 # if PWD already has a value, it is probably wrong.
2301 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2303 # Export original configure arguments for use by sub-configures.
2304 # Quote arguments with shell meta charatcers.
2305 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2306 set -- "$progname" "$@"
2310 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2311 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2312 # if the argument is of the form -foo=baz, quote the baz part only
2313 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2316 # Add the quoted argument to the list.
2317 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2319 if test "$silent" = yes; then
2320 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2322 # Remove the initial space we just introduced and, as these will be
2323 # expanded by make, quote '$'.
2324 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2327 # Find the build, host, and target systems.
2329 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2330 if test -f "$ac_dir/install-sh"; then
2332 ac_install_sh
="$ac_aux_dir/install-sh -c"
2334 elif test -f "$ac_dir/install.sh"; then
2336 ac_install_sh
="$ac_aux_dir/install.sh -c"
2338 elif test -f "$ac_dir/shtool"; then
2340 ac_install_sh
="$ac_aux_dir/shtool install -c"
2344 if test -z "$ac_aux_dir"; then
2345 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2348 # These three variables are undocumented and unsupported,
2349 # and are intended to be withdrawn in a future Autoconf release.
2350 # They can cause serious problems if a builder's source tree is in a directory
2351 # whose full name contains unusual characters.
2352 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2353 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2354 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2357 # Make sure we can run config.sub.
2358 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2359 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2362 $as_echo_n "checking build system type... " >&6; }
2363 if ${ac_cv_build+:} false
; then :
2364 $as_echo_n "(cached) " >&6
2366 ac_build_alias
=$build_alias
2367 test "x$ac_build_alias" = x
&&
2368 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2369 test "x$ac_build_alias" = x
&&
2370 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2371 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2372 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2376 $as_echo "$ac_cv_build" >&6; }
2377 case $ac_cv_build in
2379 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2382 ac_save_IFS
=$IFS; IFS
='-'
2388 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells:
2392 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2395 case ${build_alias} in
2396 "") build_noncanonical
=${build} ;;
2397 *) build_noncanonical
=${build_alias} ;;
2402 case ${host_alias} in
2403 "") host_noncanonical
=${build_noncanonical} ;;
2404 *) host_noncanonical
=${host_alias} ;;
2409 case ${target_alias} in
2410 "") target_noncanonical
=${host_noncanonical} ;;
2411 *) target_noncanonical
=${target_alias} ;;
2417 test "$host_noncanonical" = "$target_noncanonical" &&
2418 test "$program_prefix$program_suffix$program_transform_name" = \
2420 program_transform_name
=s
,y
,y
,
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2423 $as_echo_n "checking host system type... " >&6; }
2424 if ${ac_cv_host+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 if test "x$host_alias" = x
; then
2428 ac_cv_host
=$ac_cv_build
2430 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2431 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2436 $as_echo "$ac_cv_host" >&6; }
2439 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2442 ac_save_IFS
=$IFS; IFS
='-'
2448 # Remember, the first character of IFS is used to create $*,
2449 # except with old shells:
2452 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2456 $as_echo_n "checking target system type... " >&6; }
2457 if ${ac_cv_target+:} false
; then :
2458 $as_echo_n "(cached) " >&6
2460 if test "x$target_alias" = x
; then
2461 ac_cv_target
=$ac_cv_host
2463 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2464 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2469 $as_echo "$ac_cv_target" >&6; }
2470 case $ac_cv_target in
2472 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2474 target
=$ac_cv_target
2475 ac_save_IFS
=$IFS; IFS
='-'
2481 # Remember, the first character of IFS is used to create $*,
2482 # except with old shells:
2485 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2488 # The aliases save the names the user supplied, while $host etc.
2489 # will get canonicalized.
2490 test -n "$target_alias" &&
2491 test "$program_prefix$program_suffix$program_transform_name" = \
2493 program_prefix
=${target_alias}-
2495 test "$program_prefix" != NONE
&&
2496 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2497 # Use a double $ so make ignores it.
2498 test "$program_suffix" != NONE
&&
2499 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2500 # Double any \ or $.
2501 # By default was `s,x,x', remove it if useless.
2502 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2503 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2507 # Get 'install' or 'install-sh' and its variants.
2508 # Find a good install program. We prefer a C program (faster),
2509 # so one script is as good as another. But avoid the broken or
2510 # incompatible versions:
2511 # SysV /etc/install, /usr/sbin/install
2512 # SunOS /usr/etc/install
2513 # IRIX /sbin/install
2515 # AmigaOS /C/install, which installs bootblocks on floppy discs
2516 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2517 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2518 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2519 # OS/2's system install, which has a completely different semantic
2520 # ./install, which can be erroneously created by make from ./install.sh.
2521 # Reject install programs that cannot install multiple files.
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2523 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2524 if test -z "$INSTALL"; then
2525 if ${ac_cv_path_install+:} false
; then :
2526 $as_echo_n "(cached) " >&6
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 # Account for people who put trailing slashes in PATH elements.
2534 case $as_dir/ in #((
2535 .
/ | .
// |
/[cC
]/* | \
2536 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2537 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2540 # OSF1 and SCO ODT 3.0 have their own names for install.
2541 # Don't use installbsd from OSF since it installs stuff as root
2543 for ac_prog
in ginstall scoinst
install; do
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2546 if test $ac_prog = install &&
2547 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2548 # AIX install. It has an incompatible calling convention.
2550 elif test $ac_prog = install &&
2551 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2552 # program-specific install script used by HP pwplus--don't use.
2555 rm -rf conftest.one conftest.two conftest.dir
2556 echo one
> conftest.one
2557 echo two
> conftest.two
2559 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2560 test -s conftest.one
&& test -s conftest.two
&&
2561 test -s conftest.dir
/conftest.one
&&
2562 test -s conftest.dir
/conftest.two
2564 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2577 rm -rf conftest.one conftest.two conftest.dir
2580 if test "${ac_cv_path_install+set}" = set; then
2581 INSTALL
=$ac_cv_path_install
2583 # As a last resort, use the slow shell script. Don't cache a
2584 # value for INSTALL within a source directory, because that will
2585 # break other packages using the cache if that directory is
2586 # removed, or if the value is a relative name.
2587 INSTALL
=$ac_install_sh
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2591 $as_echo "$INSTALL" >&6; }
2593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2594 # It thinks the first close brace ends the variable substitution.
2595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2599 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2602 $as_echo_n "checking whether ln works... " >&6; }
2603 if ${acx_cv_prog_LN+:} false
; then :
2604 $as_echo_n "(cached) " >&6
2606 rm -f conftestdata_t
2607 echo >conftestdata_f
2608 if ln conftestdata_f conftestdata_t
2>/dev
/null
2614 rm -f conftestdata_f conftestdata_t
2617 if test $acx_cv_prog_LN = no
; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2620 $as_echo "no, using $LN" >&6; }
2622 LN
="$acx_cv_prog_LN"
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2624 $as_echo "yes" >&6; }
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2628 $as_echo_n "checking whether ln -s works... " >&6; }
2630 if test "$LN_S" = "ln -s"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632 $as_echo "yes" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2635 $as_echo "no, using $LN_S" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2639 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2640 if ${ac_cv_path_SED+:} false
; then :
2641 $as_echo_n "(cached) " >&6
2643 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2644 for ac_i
in 1 2 3 4 5 6 7; do
2645 ac_script
="$ac_script$as_nl$ac_script"
2647 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2648 { ac_script
=; unset ac_script
;}
2649 if test -z "$SED"; then
2650 ac_path_SED_found
=false
2651 # Loop through the user's path and test for each of PROGNAME-LIST
2652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir
=.
2657 for ac_prog
in sed gsed
; do
2658 for ac_exec_ext
in '' $ac_executable_extensions; do
2659 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2660 as_fn_executable_p
"$ac_path_SED" ||
continue
2661 # Check for GNU ac_path_SED and select it if it is found.
2662 # Check for GNU $ac_path_SED
2663 case `"$ac_path_SED" --version 2>&1` in
2665 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2668 $as_echo_n 0123456789 >"conftest.in"
2671 cat "conftest.in" "conftest.in" >"conftest.tmp"
2672 mv "conftest.tmp" "conftest.in"
2673 cp "conftest.in" "conftest.nl"
2674 $as_echo '' >> "conftest.nl"
2675 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2676 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2677 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2678 if test $ac_count -gt ${ac_path_SED_max-0}; then
2679 # Best one so far, save it but keep looking for a better one
2680 ac_cv_path_SED
="$ac_path_SED"
2681 ac_path_SED_max
=$ac_count
2683 # 10*(2^10) chars as input seems more than enough
2684 test $ac_count -gt 10 && break
2686 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2689 $ac_path_SED_found && break 3
2694 if test -z "$ac_cv_path_SED"; then
2695 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2703 $as_echo "$ac_cv_path_SED" >&6; }
2704 SED
="$ac_cv_path_SED"
2707 for ac_prog
in gawk mawk nawk
awk
2709 # Extract the first word of "$ac_prog", so it can be a program name with args.
2710 set dummy
$ac_prog; ac_word
=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_AWK+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$AWK"; then
2717 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir
=.
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2726 ac_cv_prog_AWK
="$ac_prog"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test -n "$AWK"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2739 $as_echo "$AWK" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2746 test -n "$AWK" && break
2750 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2752 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2754 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2755 INSTALL
="${srcpwd}/install-sh -c"
2758 # Set srcdir to "." if that's what it is.
2759 # This is important for multilib support.
2761 if test "${pwd}" = "${srcpwd}" ; then
2769 ### To add a new directory to the tree, first choose whether it is a target
2770 ### or a host dependent tool. Then put it into the appropriate list
2771 ### (library or tools, host or target), doing a dependency sort.
2773 # Subdirs will be configured in the order listed in build_configdirs,
2774 # configdirs, or target_configdirs; see the serialization section below.
2776 # Dependency sorting is only needed when *configuration* must be done in
2777 # a particular order. In all cases a dependency should be specified in
2778 # the Makefile, whether or not it's implicitly specified here.
2780 # Double entries in build_configdirs, configdirs, or target_configdirs may
2781 # cause circular dependencies and break everything horribly.
2783 # these library is used by various programs built for the build
2786 build_libs
="build-libiberty build-libcpp"
2788 # these tools are built for the build environment
2789 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2791 # these libraries are used by various programs built for the host environment
2793 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2795 # these tools are built for the host environment
2796 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2797 # know that we are building the simulator.
2798 # binutils, gas and ld appear in that order because it makes sense to run
2799 # "make check" in that particular order.
2800 # If --enable-gold is used, "gold" may replace "ld".
2801 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2803 # these libraries are built for the target environment, and are built after
2804 # the host libraries and the host tools (which may be a cross compiler)
2805 # Note that libiberty is not a target library.
2806 target_libraries
="target-libgcc \
2807 target-libbacktrace \
2811 target-liboffloadmic \
2812 target-libhsail-rt \
2815 target-libstdc++-v3 \
2816 target-libsanitizer \
2819 target-libquadmath \
2820 target-libgfortran \
2826 # these tools are built using the target libraries, and are intended to
2827 # run only in the target environment
2829 # note: any program that *uses* libraries that are in the "target_libraries"
2830 # list belongs in this list.
2832 target_tools
="target-rda"
2834 ################################################################################
2836 ## All tools belong in one of the four categories, and are assigned above
2837 ## We assign ${configdirs} this way to remove all embedded newlines. This
2838 ## is important because configure will choke if they ever get through.
2839 ## ${configdirs} is directories we build using the host tools.
2840 ## ${target_configdirs} is directories we build using the target tools.
2841 configdirs
=`echo ${host_libs} ${host_tools}`
2842 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2843 build_configdirs
=`echo ${build_libs} ${build_tools}`
2847 ################################################################################
2849 srcname
="gnu development package"
2851 # This gets set non-empty for some net releases of packages.
2854 # Define is_cross_compiler to save on calls to 'test'.
2856 if test x
"${host}" = x
"${target}" ; then
2857 is_cross_compiler
=no
2859 is_cross_compiler
=yes
2862 # Find the build and target subdir names.
2864 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2865 # have matching libraries, they should use host libraries: Makefile.tpl
2866 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2867 # However, they still use the build modules, because the corresponding
2868 # host modules (e.g. bison) are only built for the host when bootstrap
2870 # - build_subdir is where we find build modules, and never changes.
2871 # - build_libsubdir is where we find build libraries, and can be overridden.
2873 # Prefix 'build-' so this never conflicts with target_subdir.
2874 build_subdir
="build-${build_noncanonical}"
2876 # Check whether --with-build-libsubdir was given.
2877 if test "${with_build_libsubdir+set}" = set; then :
2878 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2880 build_libsubdir
="$build_subdir"
2883 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2884 if ( test $srcdir = .
&& test -d gcc
) \
2885 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2886 host_subdir
="host-${host_noncanonical}"
2891 target_subdir
=${target_noncanonical}
2893 # Be sure to cover against remnants of an in-tree build.
2894 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2895 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2896 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2899 # Skipdirs are removed silently.
2901 # Noconfigdirs are removed loudly.
2905 # Make sure we don't let GNU ld be added if we didn't want it.
2906 if test x
$with_gnu_ld = xno
; then
2908 noconfigdirs
="$noconfigdirs ld gold"
2912 # Make sure we don't let GNU as be added if we didn't want it.
2913 if test x
$with_gnu_as = xno
; then
2915 noconfigdirs
="$noconfigdirs gas"
2920 # Check whether --with-system-zlib was given.
2921 if test "${with_system_zlib+set}" = set; then :
2922 withval
=$with_system_zlib;
2925 # Make sure we don't let ZLIB be added if we didn't want it.
2926 if test x
$with_system_zlib = xyes
; then
2927 use_included_zlib
=no
2928 noconfigdirs
="$noconfigdirs zlib"
2932 # Check whether --with-zstd was given.
2933 if test "${with_zstd+set}" = set; then :
2938 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2940 if test x
$with_system_readline = xyes
; then
2941 noconfigdirs
="$noconfigdirs readline"
2944 # some tools are so dependent upon X11 that if we're not building with X,
2945 # it's not even worth trying to configure, much less build, that tool.
2948 yes |
"") ;; # the default value for this tree is that X11 is available
2950 skipdirs
="${skipdirs} tk itcl libgui"
2951 # We won't be able to build gdbtk without X.
2954 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2957 # Some are only suitable for cross toolchains.
2958 # Remove these if host=target.
2959 cross_only
="target-libgloss target-newlib target-opcodes"
2961 case $is_cross_compiler in
2962 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2965 # If both --with-headers and --with-libs are specified, default to
2967 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2968 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2969 if test x
"${with_newlib}" = x
; then
2974 # Recognize --with-newlib/--without-newlib.
2975 case ${with_newlib} in
2976 no
) skipdirs
="${skipdirs} target-newlib" ;;
2977 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2980 # Check whether --enable-as-accelerator-for was given.
2981 if test "${enable_as_accelerator_for+set}" = set; then :
2982 enableval
=$enable_as_accelerator_for;
2986 # Check whether --enable-offload-targets was given.
2987 if test "${enable_offload_targets+set}" = set; then :
2988 enableval
=$enable_offload_targets;
2989 if test x
"$enable_offload_targets" = x
; then
2990 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2994 enable_offload_targets
=
2998 # Handle --enable-gold, --enable-ld.
2999 # --disable-gold [--enable-ld]
3000 # Build only ld. Default option.
3001 # --enable-gold [--enable-ld]
3002 # Build both gold and ld. Install gold as "ld.gold", install ld
3003 # as "ld.bfd" and "ld".
3004 # --enable-gold=default [--enable-ld]
3005 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3006 # install ld as "ld.bfd".
3007 # --enable-gold[=default] --disable-ld
3008 # Build only gold, which is then installed as both "ld.gold" and "ld".
3009 # --enable-gold --enable-ld=default
3010 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3012 # In other words, ld is default
3013 # --enable-gold=default --enable-ld=default
3017 # Check whether --enable-gold was given.
3018 if test "${enable_gold+set}" = set; then :
3019 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3024 case "${ENABLE_GOLD}" in
3026 # Check for ELF target.
3029 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3030 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3031 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3032 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl* |
*-*-haiku*)
3034 *-*-linux*aout
* |
*-*-linux*oldld
*)
3042 if test "$is_elf" = "yes"; then
3043 # Check for target supported by gold.
3045 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3046 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3047 configdirs
="$configdirs gold"
3048 if test x
${ENABLE_GOLD} = xdefault
; then
3059 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3063 # Check whether --enable-ld was given.
3064 if test "${enable_ld+set}" = set; then :
3065 enableval
=$enable_ld; ENABLE_LD
=$enableval
3071 case "${ENABLE_LD}" in
3073 if test x
${default_ld} != x
; then
3074 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3080 if test x
${ENABLE_GOLD} != xyes
; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3082 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3084 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3087 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3091 # Check whether --enable-gprofng was given.
3092 if test "${enable_gprofng+set}" = set; then :
3093 enableval
=$enable_gprofng; enable_gprofng
=$enableval
3098 if test "$enable_gprofng" = "yes"; then
3100 x86_64-
*-linux* | i?
86-*-linux* | aarch64-
*-linux*)
3101 configdirs
="$configdirs gprofng"
3108 # Decide the default method for compressing debug sections.
3109 # Provide a configure time option to override our default.
3110 # Check whether --enable-compressed_debug_sections was given.
3111 if test "${enable_compressed_debug_sections+set}" = set; then :
3112 enableval
=$enable_compressed_debug_sections;
3113 if test x
"$enable_compressed_debug_sections" = xyes
; then
3114 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3118 enable_compressed_debug_sections
=
3122 # Configure extra directories which are host specific
3126 configdirs
="$configdirs libtermcap" ;;
3129 # A target can indicate whether a language isn't supported for some reason.
3130 # Only spaces may be used in this macro; not newlines or tabs.
3131 unsupported_languages
=
3133 # Remove more programs from consideration, based on the host or
3134 # target this usually means that a port of the program doesn't
3138 i
[3456789]86-*-msdosdjgpp*)
3139 noconfigdirs
="$noconfigdirs tcl tk itcl"
3143 # Default to --disable-year2038 until we can handle differences between
3144 # projects that use gnulib (which understands year 2038) and projects that
3145 # do not (like BFD).
3146 # Check whether --enable-year2038 was given.
3147 if test "${enable_year2038+set}" = set; then :
3148 enableval
=$enable_year2038; ENABLE_YEAR2038
=$enableval
3154 if test "${ENABLE_YEAR2038}" = "no" ; then
3158 # Check whether --enable-libquadmath was given.
3159 if test "${enable_libquadmath+set}" = set; then :
3160 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3162 ENABLE_LIBQUADMATH
=yes
3165 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3166 noconfigdirs
="$noconfigdirs target-libquadmath"
3170 # Check whether --enable-libquadmath-support was given.
3171 if test "${enable_libquadmath_support+set}" = set; then :
3172 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3174 ENABLE_LIBQUADMATH_SUPPORT
=yes
3177 enable_libquadmath_support
=
3178 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3179 enable_libquadmath_support
=no
3183 # Check whether --enable-libada was given.
3184 if test "${enable_libada+set}" = set; then :
3185 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3190 if test "${ENABLE_LIBADA}" != "yes" ; then
3191 noconfigdirs
="$noconfigdirs gnattools"
3194 # Check whether --enable-libssp was given.
3195 if test "${enable_libssp+set}" = set; then :
3196 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3202 # Check whether --enable-libstdcxx was given.
3203 if test "${enable_libstdcxx+set}" = set; then :
3204 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3206 ENABLE_LIBSTDCXX
=default
3209 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3210 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3213 # If this is accelerator compiler and its target is intelmic we enable
3214 # target liboffloadmic by default. If this is compiler with offloading
3215 # for intelmic we enable host liboffloadmic by default. Otherwise
3216 # liboffloadmic is disabled by default.
3217 # Check whether --enable-liboffloadmic was given.
3218 if test "${enable_liboffloadmic+set}" = set; then :
3219 enableval
=$enable_liboffloadmic; case "$enableval" in
3221 enable_liboffloadmic
=$enableval ;;
3223 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3226 if test x
"$enable_as_accelerator_for" != x
; then
3228 *-intelmic-* |
*-intelmicemul-*)
3229 enable_liboffloadmic
=target
3230 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3233 enable_liboffloadmic
=no
3237 case "${enable_offload_targets}" in
3238 *-intelmic-* |
*-intelmicemul-*)
3239 enable_liboffloadmic
=host
3240 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3243 enable_liboffloadmic
=no
3251 # Enable libgomp by default on hosted POSIX systems, and a few others.
3252 if test x
$enable_libgomp = x
; then
3254 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3256 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3258 *-*-solaris2* |
*-*-hpux11*)
3260 *-*-darwin* |
*-*-aix*)
3265 noconfigdirs
="$noconfigdirs target-libgomp"
3270 # Disable libatomic on unsupported systems.
3271 if test -d ${srcdir}/libatomic
; then
3272 if test x
$enable_libatomic = x
; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3274 $as_echo_n "checking for libatomic support... " >&6; }
3275 if (srcdir
=${srcdir}/libatomic
; \
3276 .
${srcdir}/configure.tgt
; \
3277 test -n "$UNSUPPORTED")
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3281 noconfigdirs
="$noconfigdirs target-libatomic"
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3284 $as_echo "yes" >&6; }
3289 # Disable liboffloadmic on unsupported systems.
3290 if test -d ${srcdir}/liboffloadmic
; then
3291 if test x
$enable_liboffloadmic != xno
; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3293 $as_echo_n "checking for liboffloadmic support... " >&6; }
3294 if (srcdir
=${srcdir}/liboffloadmic
; \
3295 .
${srcdir}/configure.tgt
; \
3296 test -n "$UNSUPPORTED")
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3303 $as_echo "yes" >&6; }
3308 # Disable libitm on unsupported systems.
3309 if test -d ${srcdir}/libitm
; then
3310 if test x
$enable_libitm = x
; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3312 $as_echo_n "checking for libitm support... " >&6; }
3313 if (srcdir
=${srcdir}/libitm
; \
3314 .
${srcdir}/configure.tgt
; \
3315 test -n "$UNSUPPORTED")
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3319 noconfigdirs
="$noconfigdirs target-libitm"
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3322 $as_echo "yes" >&6; }
3327 # Disable libsanitizer on unsupported systems.
3328 if test -d ${srcdir}/libsanitizer
; then
3329 if test x
$enable_libsanitizer = x
; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3331 $as_echo_n "checking for libsanitizer support... " >&6; }
3332 if (srcdir
=${srcdir}/libsanitizer
; \
3333 .
${srcdir}/configure.tgt
; \
3334 test -n "$UNSUPPORTED")
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3338 noconfigdirs
="$noconfigdirs target-libsanitizer"
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3341 $as_echo "yes" >&6; }
3346 # Disable libvtv on unsupported systems.
3347 if test -d ${srcdir}/libvtv
; then
3348 if test x
$enable_libvtv = x
; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3350 $as_echo_n "checking for libvtv support... " >&6; }
3351 if (srcdir
=${srcdir}/libvtv
; \
3352 .
${srcdir}/configure.tgt
; \
3353 test "$VTV_SUPPORTED" != "yes")
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3357 noconfigdirs
="$noconfigdirs target-libvtv"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3360 $as_echo "yes" >&6; }
3366 # Disable libhsail-rt on unsupported systems.
3367 if test -d ${srcdir}/libhsail-rt
; then
3368 if test x
$enable_libhsail_rt = x
; then
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3370 $as_echo_n "checking for libhsail-rt support... " >&6; }
3371 if (srcdir
=${srcdir}/libhsail-rt
; \
3372 .
${srcdir}/configure.tgt
; \
3373 test -n "$UNSUPPORTED")
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 unsupported_languages
="$unsupported_languages brig"
3378 # This implicitly disables also target-libhsail-rt as it won't
3379 # get added to the build without BRIG FE.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3382 $as_echo "yes" >&6; }
3388 # Disable libquadmath for some systems.
3391 noconfigdirs
="$noconfigdirs target-libquadmath"
3393 # libquadmath is unused on AIX and libquadmath build process use of
3394 # LD_LIBRARY_PATH can break AIX bootstrap.
3395 powerpc-
*-aix* | rs6000-
*-aix*)
3396 noconfigdirs
="$noconfigdirs target-libquadmath"
3400 # Disable libssp for some systems.
3403 # No hosted I/O support.
3404 noconfigdirs
="$noconfigdirs target-libssp"
3406 powerpc-
*-aix* | rs6000-
*-aix*)
3407 noconfigdirs
="$noconfigdirs target-libssp"
3410 # libssp uses a misaligned load to trigger a fault, but the RL78
3411 # doesn't fault for those - instead, it gives a build-time error
3412 # for explicit misaligned loads.
3413 noconfigdirs
="$noconfigdirs target-libssp"
3416 # No hosted I/O support.
3417 noconfigdirs
="$noconfigdirs target-libssp"
3421 # Disable libstdc++-v3 for some systems.
3422 # Allow user to override this if they pass --enable-libstdc++-v3
3423 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3426 # VxWorks uses the Dinkumware C++ library.
3427 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3430 # the C++ libraries don't build on top of CE's C libraries
3431 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3434 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3437 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3442 # Disable Fortran for some systems.
3445 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3446 unsupported_languages
="$unsupported_languages fortran"
3450 # Disable libffi for some systems.
3454 i
[3456789]86-*-darwin*)
3456 x86_64-
*-darwin[912]*)
3459 noconfigdirs
="$noconfigdirs target-libffi"
3462 noconfigdirs
="$noconfigdirs target-libffi"
3465 noconfigdirs
="$noconfigdirs target-libffi"
3468 noconfigdirs
="$noconfigdirs target-libffi"
3471 noconfigdirs
="$noconfigdirs target-libffi"
3474 noconfigdirs
="$noconfigdirs target-libffi"
3477 noconfigdirs
="$noconfigdirs target-libffi"
3479 aarch64
*-*-freebsd*)
3480 noconfigdirs
="$noconfigdirs target-libffi"
3483 noconfigdirs
="$noconfigdirs target-libffi"
3486 noconfigdirs
="$noconfigdirs target-libffi"
3489 noconfigdirs
="$noconfigdirs target-libffi"
3491 cris-
*-* | crisv32-
*-*)
3495 *) # See PR46792 regarding target-libffi.
3496 noconfigdirs
="$noconfigdirs target-libffi";;
3500 noconfigdirs
="$noconfigdirs target-libffi"
3505 noconfigdirs
="$noconfigdirs target-libffi"
3508 noconfigdirs
="$noconfigdirs target-libffi"
3510 i
[3456789]86-w64-mingw*)
3511 noconfigdirs
="$noconfigdirs target-libffi"
3513 i
[3456789]86-*-mingw*)
3514 noconfigdirs
="$noconfigdirs target-libffi"
3517 noconfigdirs
="$noconfigdirs target-libffi"
3520 noconfigdirs
="$noconfigdirs target-libffi"
3527 noconfigdirs
="$noconfigdirs target-libffi"
3530 noconfigdirs
="$noconfigdirs target-libffi"
3534 # Disable the go frontend on systems where it is known to not work. Please keep
3535 # this in sync with contrib/config-list.mk.
3537 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3538 unsupported_languages
="$unsupported_languages go"
3542 # Only allow gdbserver on some systems.
3543 if test -d ${srcdir}/gdbserver
; then
3544 if test x
$enable_gdbserver = x
; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3546 $as_echo_n "checking for gdbserver support... " >&6; }
3547 if (srcdir
=${srcdir}/gdbserver
; \
3548 .
${srcdir}/configure.srv
; \
3549 test -n "$UNSUPPORTED")
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 noconfigdirs
="$noconfigdirs gdbserver"
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3556 $as_echo "yes" >&6; }
3561 # Disable libgo for some systems where it is known to not work.
3562 # For testing, you can easily override this with --enable-libgo.
3563 if test x
$enable_libgo = x
; then
3567 noconfigdirs
="$noconfigdirs target-libgo"
3569 *-*-cygwin* |
*-*-mingw*)
3570 noconfigdirs
="$noconfigdirs target-libgo"
3575 # Default libgloss CPU subdirectory.
3576 libgloss_dir
="$target_cpu"
3579 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3583 libgloss_dir
=aarch64
3588 cris-
*-* | crisv32-
*-*)
3597 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3598 libgloss_dir
=m68hc11
3600 m68
*-*-* | fido-
*-*)
3614 # Disable newlib and libgloss for various target OSes.
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3619 i
[3456789]86-*-linux*)
3620 # This section makes it possible to build newlib natively on linux.
3621 # If we are using a cross compiler then don't configure newlib.
3622 if test x
${is_cross_compiler} != xno
; then
3623 noconfigdirs
="$noconfigdirs target-newlib"
3625 noconfigdirs
="$noconfigdirs target-libgloss"
3626 # If we are not using a cross compiler, do configure newlib.
3627 # Note however, that newlib will only be configured in this situation
3628 # if the --with-newlib option has been given, because otherwise
3629 # 'target-newlib' will appear in skipdirs.
3631 i
[3456789]86-*-rdos*)
3632 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3638 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3641 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3650 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3653 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3655 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3656 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3659 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3662 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3665 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3668 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3671 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3674 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3677 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3685 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3686 noconfigdirs
="$noconfigdirs sim target-rda"
3689 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3690 noconfigdirs
="$noconfigdirs sim target-rda"
3693 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3694 noconfigdirs
="$noconfigdirs sim target-rda"
3696 i
[3456789]86-*-darwin*)
3697 noconfigdirs
="$noconfigdirs ld gprof"
3698 noconfigdirs
="$noconfigdirs sim target-rda"
3700 x86_64-
*-darwin[912]*)
3701 noconfigdirs
="$noconfigdirs ld gas gprof"
3702 noconfigdirs
="$noconfigdirs sim target-rda"
3705 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3706 noconfigdirs
="$noconfigdirs sim target-rda"
3711 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3712 && test -f /usr
/local
/include
/gmp.h
; then
3717 # Remove unsupported stuff on all kaOS configurations.
3718 noconfigdirs
="$noconfigdirs target-libgloss"
3725 noconfigdirs
="$noconfigdirs target-libgloss"
3728 noconfigdirs
="$noconfigdirs target-libgloss"
3730 # The tpf target doesn't support gdb yet.
3732 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3735 noconfigdirs
="$noconfigdirs target-rda"
3740 # ld works, but does not support shared libraries.
3741 # gas doesn't generate exception information.
3742 noconfigdirs
="$noconfigdirs gas ld"
3745 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3748 # newlib is not 64 bit ready
3749 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3751 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3752 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3755 noconfigdirs
="$noconfigdirs sim"
3758 noconfigdirs
="$noconfigdirs target-libgloss"
3761 noconfigdirs
="$noconfigdirs ld target-libgloss"
3764 if test x
${with_avrlibc} != xno
; then
3765 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3768 c4x-
*-* | tic4x-
*-*)
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3772 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3775 noconfigdirs
="$noconfigdirs target-libgloss"
3778 noconfigdirs
="$noconfigdirs gdb"
3781 noconfigdirs
="$noconfigdirs gdb"
3784 noconfigdirs
="$noconfigdirs target-rda gprof"
3787 noconfigdirs
="$noconfigdirs"
3790 noconfigdirs
="$noconfigdirs target-libgloss"
3793 noconfigdirs
="$noconfigdirs target-libgloss"
3795 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3798 noconfigdirs
="$noconfigdirs gdb"
3801 noconfigdirs
="$noconfigdirs gdb ld"
3809 hppa
*-*-openbsd* | \
3815 noconfigdirs
="$noconfigdirs ld"
3818 noconfigdirs
="$noconfigdirs gdb"
3821 # No gdb support yet.
3822 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3825 # No ld support yet.
3826 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3829 # No ld support yet.
3830 noconfigdirs
="$noconfigdirs libgui itcl ld"
3832 i
[3456789]86-w64-mingw*)
3834 i
[3456789]86-*-mingw*)
3835 target_configdirs
="$target_configdirs target-winsup"
3838 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3839 noconfigdirs
="$noconfigdirs target-libgloss"
3840 # always build newlib if winsup directory is present.
3841 if test -d "$srcdir/winsup/cygwin"; then
3842 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3843 elif test -d "$srcdir/newlib"; then
3844 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3848 noconfigdirs
="$noconfigdirs target-libgloss"
3850 i
[3456789]86-*-sco3.2v5
*)
3851 # The linker does not yet know about weak symbols in COFF,
3852 # and is not configured to handle mixed ELF and COFF.
3853 noconfigdirs
="$noconfigdirs ld target-libgloss"
3855 i
[3456789]86-*-sco*)
3856 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3858 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3859 noconfigdirs
="$noconfigdirs target-libgloss"
3861 i
[3456789]86-*-sysv4*)
3862 noconfigdirs
="$noconfigdirs target-libgloss"
3864 i
[3456789]86-*-beos*)
3865 noconfigdirs
="$noconfigdirs gdb"
3867 i
[3456789]86-*-rdos*)
3868 noconfigdirs
="$noconfigdirs gdb"
3871 noconfigdirs
="$noconfigdirs gdb"
3874 noconfigdirs
="$noconfigdirs sim"
3877 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3878 noconfigdirs
="$noconfigdirs $target_libraries"
3881 noconfigdirs
="$noconfigdirs gdb gprof"
3884 # copied from rs6000-*-* entry
3885 noconfigdirs
="$noconfigdirs gprof"
3887 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3888 target_configdirs
="$target_configdirs target-winsup"
3889 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3890 # always build newlib.
3891 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3893 # This is temporary until we can link against shared libraries
3894 powerpcle-
*-solaris*)
3895 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3898 noconfigdirs
="$noconfigdirs gdb"
3901 noconfigdirs
="$noconfigdirs gprof"
3904 noconfigdirs
="$noconfigdirs gprof"
3907 noconfigdirs
="$noconfigdirs gprof"
3910 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3913 noconfigdirs
="$noconfigdirs gprof"
3915 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3916 if test x
$with_newlib = xyes
; then
3917 noconfigdirs
="$noconfigdirs gprof"
3921 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3924 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3927 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3931 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3932 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3933 noconfigdirs
="$noconfigdirs ld gas gprof"
3936 noconfigdirs
="$noconfigdirs gprof"
3939 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3946 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3950 if test x
${is_cross_compiler} = xno
; then
3955 noconfigdirs
="$noconfigdirs sim"
3957 tilepro
*-*-* | tilegx
*-*-*)
3958 noconfigdirs
="$noconfigdirs sim"
3961 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3964 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3967 noconfigdirs
="$noconfigdirs ld"
3971 # If we aren't building newlib, then don't build libgloss, since libgloss
3972 # depends upon some newlib header files.
3973 case "${noconfigdirs}" in
3974 *target-libgloss
*) ;;
3975 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3978 # Work in distributions that contain no compiler tools, like Autoconf.
3979 host_makefile_frag
=/dev
/null
3980 if test -d ${srcdir}/config
; then
3982 i
[3456789]86-*-msdosdjgpp*)
3983 host_makefile_frag
="config/mh-djgpp"
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3988 $as_echo_n "checking to see if cat works as expected... " >&6; }
3989 echo a
>cygwin-cat-check
3990 if test `cat cygwin-cat-check` = a
; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3993 $as_echo "yes" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
3998 as_fn_error $?
"The cat command does not ignore carriage return characters.
3999 Please either mount the build directory in binary mode or run the following
4000 commands before running any configure script:
4006 host_makefile_frag
="config/mh-cygwin"
4009 host_makefile_frag
="config/mh-mingw"
4012 host_makefile_frag
="config/mh-alpha-linux"
4015 host_makefile_frag
="config/mh-pa-hpux10"
4018 host_makefile_frag
="config/mh-pa"
4021 host_makefile_frag
="config/mh-pa"
4024 host_makefile_frag
="config/mh-darwin"
4027 host_makefile_frag
="config/mh-ppc-aix"
4030 host_makefile_frag
="config/mh-ppc-aix"
4035 if test "${build}" != "${host}" ; then
4036 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4037 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4038 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4039 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4040 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4041 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4042 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4043 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4044 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4045 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4046 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4047 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4049 AR_FOR_BUILD
="\$(AR)"
4050 AS_FOR_BUILD
="\$(AS)"
4051 CC_FOR_BUILD
="\$(CC)"
4052 CXX_FOR_BUILD
="\$(CXX)"
4053 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4054 GOC_FOR_BUILD
="\$(GOC)"
4055 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4056 LD_FOR_BUILD
="\$(LD)"
4057 NM_FOR_BUILD
="\$(NM)"
4058 RANLIB_FOR_BUILD
="\$(RANLIB)"
4059 WINDRES_FOR_BUILD
="\$(WINDRES)"
4060 WINDMC_FOR_BUILD
="\$(WINDMC)"
4064 ac_cpp
='$CPP $CPPFLAGS'
4065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4068 if test -n "$ac_tool_prefix"; then
4069 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4070 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if ${ac_cv_prog_CC+:} false
; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -n "$CC"; then
4077 ac_cv_prog_CC
="$CC" # Let the user override the test.
4079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir
=.
4084 for ac_exec_ext
in '' $ac_executable_extensions; do
4085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4086 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$ac_cv_prog_CC"; then
4109 # Extract the first word of "gcc", so it can be a program name with args.
4110 set dummy gcc
; ac_word
=$2
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112 $as_echo_n "checking for $ac_word... " >&6; }
4113 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4114 $as_echo_n "(cached) " >&6
4116 if test -n "$ac_ct_CC"; then
4117 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for ac_exec_ext
in '' $ac_executable_extensions; do
4125 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_ac_ct_CC
="gcc"
4127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4137 if test -n "$ac_ct_CC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4139 $as_echo "$ac_ct_CC" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4145 if test "x$ac_ct_CC" = x
; then
4148 case $cross_compiling:$ac_tool_warned in
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4152 ac_tool_warned
=yes ;;
4160 if test -z "$CC"; then
4161 if test -n "$ac_tool_prefix"; then
4162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4163 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if ${ac_cv_prog_CC+:} false
; then :
4167 $as_echo_n "(cached) " >&6
4169 if test -n "$CC"; then
4170 ac_cv_prog_CC
="$CC" # Let the user override the test.
4172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir
=.
4177 for ac_exec_ext
in '' $ac_executable_extensions; do
4178 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4179 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4190 if test -n "$CC"; then
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4192 $as_echo "$CC" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4201 if test -z "$CC"; then
4202 # Extract the first word of "cc", so it can be a program name with args.
4203 set dummy cc
; ac_word
=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if ${ac_cv_prog_CC+:} false
; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$CC"; then
4210 ac_cv_prog_CC
="$CC" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4221 ac_prog_rejected
=yes
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 if test $ac_prog_rejected = yes; then
4233 # We found a bogon in the path, so make sure we never use it.
4234 set dummy
$ac_cv_prog_CC
4236 if test $# != 0; then
4237 # We chose a different compiler from the bogus one.
4238 # However, it has the same basename, so the bogon will be chosen
4239 # first if we set CC to just the basename; use the full file name.
4241 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4247 if test -n "$CC"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4249 $as_echo "$CC" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4257 if test -z "$CC"; then
4258 if test -n "$ac_tool_prefix"; then
4259 for ac_prog
in cl.exe
4261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4262 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4264 $as_echo_n "checking for $ac_word... " >&6; }
4265 if ${ac_cv_prog_CC+:} false
; then :
4266 $as_echo_n "(cached) " >&6
4268 if test -n "$CC"; then
4269 ac_cv_prog_CC
="$CC" # Let the user override the test.
4271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir
=.
4276 for ac_exec_ext
in '' $ac_executable_extensions; do
4277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4278 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 if test -n "$CC"; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4291 $as_echo "$CC" >&6; }
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4294 $as_echo "no" >&6; }
4298 test -n "$CC" && break
4301 if test -z "$CC"; then
4303 for ac_prog
in cl.exe
4305 # Extract the first word of "$ac_prog", so it can be a program name with args.
4306 set dummy
$ac_prog; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$ac_ct_CC"; then
4313 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4322 ac_cv_prog_ac_ct_CC
="$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4333 if test -n "$ac_ct_CC"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4335 $as_echo "$ac_ct_CC" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$ac_ct_CC" && break
4345 if test "x$ac_ct_CC" = x
; then
4348 case $cross_compiling:$ac_tool_warned in
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4352 ac_tool_warned
=yes ;;
4361 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4363 as_fn_error $?
"no acceptable C compiler found in \$PATH
4364 See \`config.log' for more details" "$LINENO" 5; }
4366 # Provide some information about the compiler.
4367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4370 for ac_option
in --version -v -V -qversion; do
4371 { { ac_try
="$ac_compiler $ac_option >&5"
4373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4374 *) ac_try_echo=$ac_try;;
4376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4377 $as_echo "$ac_try_echo"; } >&5
4378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4380 if test -s conftest.err; then
4382 ... rest of stderr output deleted ...
4383 10q' conftest.err >conftest.er1
4384 cat conftest.er1 >&5
4386 rm -f conftest.er1 conftest.err
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4402 ac_clean_files_save=$ac_clean_files
4403 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4404 # Try to create an executable without -o first, disregard a.out.
4405 # It will help us diagnose broken compilers, and finding out an intuition
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4408 $as_echo_n "checking whether the C compiler works... " >&6; }
4409 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4411 # The possible output files:
4412 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4415 for ac_file in $ac_files
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4424 if { { ac_try="$ac_link_default"
4426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4427 *) ac_try_echo
=$ac_try;;
4429 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4430 $as_echo "$ac_try_echo"; } >&5
4431 (eval "$ac_link_default") 2>&5
4433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4434 test $ac_status = 0; }; then :
4435 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4437 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4438 # so that the user can short-circuit this test for compilers unknown to
4440 for ac_file
in $ac_files ''
4442 test -f "$ac_file" ||
continue
4444 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4447 # We found the default executable, but exeext='' is most
4451 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4453 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4455 # We set ac_cv_exeext here because the later test for it is not
4456 # safe: cross compilers may not add the suffix if given an `-o'
4457 # argument, so we may need to know it at that point already.
4458 # Even if this section looks crufty: it has the advantage of
4465 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4470 if test -z "$ac_file"; then :
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4473 $as_echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.
$ac_ext >&5
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
77 "C compiler cannot create executables
4479 See \`config.log' for more details" "$LINENO" 5; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4482 $as_echo "yes" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4485 $as_echo_n "checking for C compiler default output file name... " >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4487 $as_echo "$ac_file" >&6; }
4488 ac_exeext
=$ac_cv_exeext
4490 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4491 ac_clean_files
=$ac_clean_files_save
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4493 $as_echo_n "checking for suffix of executables... " >&6; }
4494 if { { ac_try
="$ac_link"
4496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4497 *) ac_try_echo=$ac_try;;
4499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4500 $as_echo "$ac_try_echo"; } >&5
4501 (eval "$ac_link") 2>&5
4503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4504 test $ac_status = 0; }; then :
4505 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4506 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4507 # work properly (i.e., refer to `conftest.exe'), while it won't with
4509 for ac_file
in conftest.exe conftest conftest.
*; do
4510 test -f "$ac_file" ||
continue
4512 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4513 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4521 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4522 See \`config.log' for more details" "$LINENO" 5; }
4524 rm -f conftest conftest
$ac_cv_exeext
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4526 $as_echo "$ac_cv_exeext" >&6; }
4528 rm -f conftest.
$ac_ext
4529 EXEEXT
=$ac_cv_exeext
4531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4537 FILE *f = fopen ("conftest.out", "w");
4538 return ferror (f) || fclose (f) != 0;
4544 ac_clean_files
="$ac_clean_files conftest.out"
4545 # Check that the compiler produces executables we can run. If not, either
4546 # the compiler is broken, or we cross compile.
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4548 $as_echo_n "checking whether we are cross compiling... " >&6; }
4549 if test "$cross_compiling" != yes; then
4550 { { ac_try
="$ac_link"
4552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556 $as_echo "$ac_try_echo"; } >&5
4557 (eval "$ac_link") 2>&5
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }
4561 if { ac_try='./conftest$ac_cv_exeext'
4562 { { case "(($ac_try" in
4563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4564 *) ac_try_echo
=$ac_try;;
4566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4567 $as_echo "$ac_try_echo"; } >&5
4568 (eval "$ac_try") 2>&5
4570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4571 test $ac_status = 0; }; }; then
4574 if test "$cross_compiling" = maybe
; then
4577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4579 as_fn_error $?
"cannot run C compiled programs.
4580 If you meant to cross compile, use \`--host'.
4581 See \`config.log' for more details" "$LINENO" 5; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4586 $as_echo "$cross_compiling" >&6; }
4588 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4589 ac_clean_files
=$ac_clean_files_save
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4591 $as_echo_n "checking for suffix of object files... " >&6; }
4592 if ${ac_cv_objext+:} false
; then :
4593 $as_echo_n "(cached) " >&6
4595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4606 rm -f conftest.o conftest.obj
4607 if { { ac_try
="$ac_compile"
4609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4613 $as_echo "$ac_try_echo"; } >&5
4614 (eval "$ac_compile") 2>&5
4616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4617 test $ac_status = 0; }; then :
4618 for ac_file in conftest.o conftest.obj conftest.*; do
4619 test -f "$ac_file" || continue;
4621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4622 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4627 $as_echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.$ac_ext >&5
4630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4632 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4633 See \
`config.log' for more details" "$LINENO" 5; }
4635 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4638 $as_echo "$ac_cv_objext" >&6; }
4639 OBJEXT=$ac_cv_objext
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4642 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4643 if ${ac_cv_c_compiler_gnu+:} false; then :
4644 $as_echo_n "(cached) " >&6
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4660 if ac_fn_c_try_compile "$LINENO"; then :
4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4671 if test $ac_compiler_gnu = yes; then
4676 ac_test_CFLAGS=${CFLAGS+set}
4677 ac_save_CFLAGS=$CFLAGS
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4680 if ${ac_cv_prog_cc_g+:} false; then :
4681 $as_echo_n "(cached) " >&6
4683 ac_save_c_werror_flag=$ac_c_werror_flag
4684 ac_c_werror_flag=yes
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4698 if ac_fn_c_try_compile "$LINENO"; then :
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4713 if ac_fn_c_try_compile "$LINENO"; then :
4716 ac_c_werror_flag=$ac_save_c_werror_flag
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4729 if ac_fn_c_try_compile "$LINENO"; then :
4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 ac_c_werror_flag=$ac_save_c_werror_flag
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4740 $as_echo "$ac_cv_prog_cc_g" >&6; }
4741 if test "$ac_test_CFLAGS" = set; then
4742 CFLAGS=$ac_save_CFLAGS
4743 elif test $ac_cv_prog_cc_g = yes; then
4744 if test "$GCC" = yes; then
4750 if test "$GCC" = yes; then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4757 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4758 if ${ac_cv_prog_cc_c89+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 ac_cv_prog_cc_c89=no
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4769 struct buf { int x; };
4770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4771 static char *e (p, i)
4777 static char *f (char * (*g) (char **, int), char **p, ...)
4782 s = g (p, va_arg (v,int));
4787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4788 function prototypes and stuff, but not '\xHH' hex character constants.
4789 These don't provoke an error unfortunately, instead are silently treated
4790 as 'x'. The following induces an error, until -std is added to get
4791 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4792 array size at least. It's necessary to write '\x00'==0 to get something
4793 that's true only with -std. */
4794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4797 inside strings and character constants. */
4799 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4801 int test (int i, double x);
4802 struct s1 {int (*f) (int a);};
4803 struct s2 {int (*f) (double a);};
4804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4815 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4816 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4818 CC="$ac_save_CC $ac_arg"
4819 if ac_fn_c_try_compile "$LINENO"; then :
4820 ac_cv_prog_cc_c89=$ac_arg
4822 rm -f core conftest.err conftest.$ac_objext
4823 test "x$ac_cv_prog_cc_c89" != "xno" && break
4825 rm -f conftest.$ac_ext
4830 case "x$ac_cv_prog_cc_c89" in
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4833 $as_echo "none needed" >&6; } ;;
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4836 $as_echo "unsupported" >&6; } ;;
4838 CC="$CC $ac_cv_prog_cc_c89"
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4842 if test "x$ac_cv_prog_cc_c89" != xno; then :
4847 ac_cpp='$CPP $CPPFLAGS'
4848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4853 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4854 if ${ac_cv_prog_cc_c99+:} false; then :
4855 $as_echo_n "(cached) " >&6
4857 ac_cv_prog_cc_c99=no
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4862 #include <stdbool.h>
4867 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4868 #define debug(...) fprintf (stderr, __VA_ARGS__)
4869 #define showlist(...) puts (#__VA_ARGS__)
4870 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4872 test_varargs_macros (void)
4877 debug ("X = %d\n", x);
4878 showlist (The first, second, and third items.);
4879 report (x>y, "x is %d but y is %d", x, y);
4882 // Check long long types.
4883 #define BIG64 18446744073709551615ull
4884 #define BIG32 4294967295ul
4885 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4887 your preprocessor is broken;
4891 your preprocessor is broken;
4893 static long long int bignum = -9223372036854775807LL;
4894 static unsigned long long int ubignum = BIG64;
4896 struct incomplete_array
4904 const wchar_t *name;
4908 typedef const char *ccp;
4911 test_restrict (ccp restrict text)
4913 // See if C++-style comments work.
4914 // Iterate through items via the restricted pointer.
4915 // Also check for declarations in for loops.
4916 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4921 // Check varargs and va_copy.
4923 test_varargs (const char *format, ...)
4926 va_start (args, format);
4928 va_copy (args_copy, args);
4939 str = va_arg (args_copy, const char *);
4942 number = va_arg (args_copy, int);
4945 fnumber = va_arg (args_copy, double);
4960 _Bool success = false;
4963 if (test_restrict ("String literal") == 0)
4965 char *restrict newvar = "Another string";
4968 test_varargs ("s, d' f .", "string", 65, 34.234);
4969 test_varargs_macros ();
4971 // Check flexible array members.
4972 struct incomplete_array *ia =
4973 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4975 for (int i = 0; i < ia->datasize; ++i)
4976 ia->data[i] = i * 1.234;
4978 // Check named initializers.
4979 struct named_init ni = {
4981 .name = L"Test wide string",
4982 .average = 543.34343,
4987 int dynamic_array[ni.number];
4988 dynamic_array[ni.number - 1] = 543;
4990 // work around unused variable warnings
4991 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4992 || dynamic_array[ni.number - 1] != 543);
4998 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5000 CC="$ac_save_CC $ac_arg"
5001 if ac_fn_c_try_compile "$LINENO"; then :
5002 ac_cv_prog_cc_c99=$ac_arg
5004 rm -f core conftest.err conftest.$ac_objext
5005 test "x$ac_cv_prog_cc_c99" != "xno" && break
5007 rm -f conftest.$ac_ext
5012 case "x$ac_cv_prog_cc_c99" in
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5015 $as_echo "none needed" >&6; } ;;
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5018 $as_echo "unsupported" >&6; } ;;
5020 CC="$CC $ac_cv_prog_cc_c99"
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5022 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5024 if test "x$ac_cv_prog_cc_c99" != xno; then :
5030 ac_cpp='$CXXCPP $CPPFLAGS'
5031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5034 if test -z "$CXX"; then
5035 if test -n "$CCC"; then
5038 if test -n "$ac_tool_prefix"; then
5039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_CXX+:} false; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$CXX"; then
5049 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 if test -n "$CXX"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5071 $as_echo "$CXX" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 test -n "$CXX" && break
5081 if test -z "$CXX"; then
5083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy $ac_prog; ac_word=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$ac_ct_CXX"; then
5093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir=.
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_ac_ct_CXX="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5113 if test -n "$ac_ct_CXX"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5115 $as_echo "$ac_ct_CXX" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$ac_ct_CXX" && break
5125 if test "x$ac_ct_CXX" = x; then
5128 case $cross_compiling:$ac_tool_warned in
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5132 ac_tool_warned=yes ;;
5140 # Provide some information about the compiler.
5141 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5144 for ac_option in --version -v -V -qversion; do
5145 { { ac_try="$ac_compiler $ac_option >&5"
5147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5148 *) ac_try_echo
=$ac_try;;
5150 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5151 $as_echo "$ac_try_echo"; } >&5
5152 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5154 if test -s conftest.err
; then
5156 ... rest of stderr output deleted ...
5157 10q' conftest.err
>conftest.er1
5158 cat conftest.er1
>&5
5160 rm -f conftest.er1 conftest.err
5161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5162 test $ac_status = 0; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5166 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5167 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5168 $as_echo_n "(cached) " >&6
5170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h. */
5184 if ac_fn_cxx_try_compile
"$LINENO"; then :
5189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5190 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5194 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5195 if test $ac_compiler_gnu = yes; then
5200 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5201 ac_save_CXXFLAGS
=$CXXFLAGS
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5203 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5204 if ${ac_cv_prog_cxx_g+:} false
; then :
5205 $as_echo_n "(cached) " >&6
5207 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5208 ac_cxx_werror_flag
=yes
5211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5222 if ac_fn_cxx_try_compile
"$LINENO"; then :
5223 ac_cv_prog_cxx_g
=yes
5226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h. */
5237 if ac_fn_cxx_try_compile
"$LINENO"; then :
5240 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5253 if ac_fn_cxx_try_compile
"$LINENO"; then :
5254 ac_cv_prog_cxx_g
=yes
5256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5261 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5264 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5265 if test "$ac_test_CXXFLAGS" = set; then
5266 CXXFLAGS
=$ac_save_CXXFLAGS
5267 elif test $ac_cv_prog_cxx_g = yes; then
5268 if test "$GXX" = yes; then
5274 if test "$GXX" = yes; then
5281 ac_cpp
='$CPP $CPPFLAGS'
5282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5287 # We must set the default linker to the linker used by gcc for the correct
5288 # operation of libtool. If LD is not defined and we are using gcc, try to
5289 # set the LD default to the ld used by gcc.
5290 if test -z "$LD"; then
5291 if test "$GCC" = yes; then
5294 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5296 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5298 case $gcc_prog_ld in
5299 # Accept absolute paths.
5300 [\\/]* |
[A-Za-z
]:[\\/]*)
5301 LD
="$gcc_prog_ld" ;;
5306 # Check whether -static-libstdc++ -static-libgcc is supported.
5308 if test "$GCC" = yes; then
5309 saved_LDFLAGS
="$LDFLAGS"
5311 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5313 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5315 ac_cpp
='$CXXCPP $CPPFLAGS'
5316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5324 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5325 #error -static-libstdc++ not implemented
5329 if ac_fn_cxx_try_link
"$LINENO"; then :
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5331 $as_echo "yes" >&6; }; have_static_libs
=yes
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5336 rm -f core conftest.err conftest.
$ac_objext \
5337 conftest
$ac_exeext conftest.
$ac_ext
5339 ac_cpp
='$CPP $CPPFLAGS'
5340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5345 LDFLAGS
="$saved_LDFLAGS"
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5353 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_GNATBIND+:} false
; then :
5357 $as_echo_n "(cached) " >&6
5359 if test -n "$GNATBIND"; then
5360 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir
=.
5367 for ac_exec_ext
in '' $ac_executable_extensions; do
5368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 GNATBIND
=$ac_cv_prog_GNATBIND
5380 if test -n "$GNATBIND"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5382 $as_echo "$GNATBIND" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_GNATBIND"; then
5391 ac_ct_GNATBIND
=$GNATBIND
5392 # Extract the first word of "gnatbind", so it can be a program name with args.
5393 set dummy gnatbind
; ac_word
=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$ac_ct_GNATBIND"; then
5400 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir
=.
5407 for ac_exec_ext
in '' $ac_executable_extensions; do
5408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5420 if test -n "$ac_ct_GNATBIND"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5422 $as_echo "$ac_ct_GNATBIND" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_GNATBIND" = x
; then
5431 case $cross_compiling:$ac_tool_warned in
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned
=yes ;;
5437 GNATBIND
=$ac_ct_GNATBIND
5440 GNATBIND
="$ac_cv_prog_GNATBIND"
5443 if test -n "$ac_tool_prefix"; then
5444 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5445 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5449 $as_echo_n "(cached) " >&6
5451 if test -n "$GNATMAKE"; then
5452 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_exec_ext
in '' $ac_executable_extensions; do
5460 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5461 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 GNATMAKE
=$ac_cv_prog_GNATMAKE
5472 if test -n "$GNATMAKE"; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5474 $as_echo "$GNATMAKE" >&6; }
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5482 if test -z "$ac_cv_prog_GNATMAKE"; then
5483 ac_ct_GNATMAKE
=$GNATMAKE
5484 # Extract the first word of "gnatmake", so it can be a program name with args.
5485 set dummy gnatmake
; ac_word
=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 if test -n "$ac_ct_GNATMAKE"; then
5492 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5498 test -z "$as_dir" && as_dir
=.
5499 for ac_exec_ext
in '' $ac_executable_extensions; do
5500 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5501 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5512 if test -n "$ac_ct_GNATMAKE"; then
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5514 $as_echo "$ac_ct_GNATMAKE" >&6; }
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5520 if test "x$ac_ct_GNATMAKE" = x
; then
5523 case $cross_compiling:$ac_tool_warned in
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5527 ac_tool_warned
=yes ;;
5529 GNATMAKE
=$ac_ct_GNATMAKE
5532 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5536 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5537 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5538 $as_echo_n "(cached) " >&6
5540 cat >conftest.adb
<<EOF
5541 procedure conftest is begin null; end conftest;
5543 acx_cv_cc_gcc_supports_ada
=no
5544 # There is a bug in old released versions of GCC which causes the
5545 # driver to exit successfully when the appropriate language module
5546 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5547 # Therefore we must check for the error message as well as an
5548 # unsuccessful exit.
5549 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5550 # given a .adb file, but produce no object file. So we must check
5551 # if an object file was really produced to guard against this.
5552 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5553 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5554 acx_cv_cc_gcc_supports_ada
=yes
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5559 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5561 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5568 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5569 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5570 $as_echo_n "(cached) " >&6
5574 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5575 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5576 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5579 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5582 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5583 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5586 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5593 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5594 do_compare
="$gcc_cv_prog_cmp_skip"
5598 # Check whether --enable-bootstrap was given.
5599 if test "${enable_bootstrap+set}" = set; then :
5600 enableval
=$enable_bootstrap;
5602 enable_bootstrap
=default
5606 # Issue errors and warnings for invalid/strange bootstrap combinations.
5607 if test -r $srcdir/gcc
/configure
; then
5613 case "$have_compiler:$host:$target:$enable_bootstrap" in
5616 # Default behavior. Enable bootstrap if we have a compiler
5617 # and we are in a native configuration.
5618 yes:$build:$build:default
)
5619 enable_bootstrap
=yes ;;
5622 enable_bootstrap
=no
;;
5624 # We have a compiler and we are in a native configuration, bootstrap is ok
5625 yes:$build:$build:yes)
5628 # Other configurations, but we have a compiler. Assume the user knows
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5632 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5635 # No compiler: if they passed --enable-bootstrap explicitly, fail
5637 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5639 # Fail if wrong command line
5641 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5645 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5646 # C++98 compiler can still start the bootstrap.
5647 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5648 CXX
="$CXX -std=gnu++98"
5651 # Check whether --enable-pgo-build was given.
5652 if test "${enable_pgo_build+set}" = set; then :
5653 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
5659 # Issue errors and warnings for invalid/strange PGO build combinations.
5660 case "$have_compiler:$host:$target:$enable_pgo_build" in
5663 # Allow the PGO build only if we aren't building a compiler and
5664 # we are in a native configuration.
5665 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
5667 # Disallow the PGO bootstrap if we are building a compiler.
5668 yes:*:*:yes |
yes:*:*:lto
)
5669 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
5672 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
5676 if test "$enable_pgo_build" != "no"; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
5678 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
5679 old_CFLAGS
="$CFLAGS"
5680 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
5681 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
5683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5687 if ac_fn_c_try_compile
"$LINENO"; then :
5690 PGO_BUILD_GEN_CFLAGS
=
5692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5693 CFLAGS
="$old_CFLAGS"
5694 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5696 $as_echo "yes" >&6; }
5697 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5701 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
5704 if test "$enable_pgo_build" = "lto"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
5706 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
5707 old_CFLAGS
="$CFLAGS"
5708 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
5709 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
5710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5714 if ac_fn_c_try_compile
"$LINENO"; then :
5717 PGO_BUILD_LTO_CFLAGS
=
5719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5720 CFLAGS
="$old_CFLAGS"
5721 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
5728 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
5736 # Used for setting $lt_cv_objdir
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5738 $as_echo_n "checking for objdir... " >&6; }
5739 if ${lt_cv_objdir+:} false
; then :
5740 $as_echo_n "(cached) " >&6
5742 rm -f .libs
2>/dev
/null
5743 mkdir .libs
2>/dev
/null
5744 if test -d .libs
; then
5747 # MS-DOS does not allow filenames that begin with a dot.
5750 rmdir .libs
2>/dev
/null
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5753 $as_echo "$lt_cv_objdir" >&6; }
5754 objdir
=$lt_cv_objdir
5760 cat >>confdefs.h
<<_ACEOF
5761 #define LT_OBJDIR "$lt_cv_objdir/"
5766 # Check for GMP, MPFR and MPC
5767 gmplibs
="-lmpc -lmpfr -lgmp"
5771 # Specify a location for mpc
5772 # check for this first so it ends up on the link line before mpfr.
5774 # Check whether --with-mpc was given.
5775 if test "${with_mpc+set}" = set; then :
5780 # Check whether --with-mpc-include was given.
5781 if test "${with_mpc_include+set}" = set; then :
5782 withval
=$with_mpc_include;
5786 # Check whether --with-mpc-lib was given.
5787 if test "${with_mpc_lib+set}" = set; then :
5788 withval
=$with_mpc_lib;
5792 if test "x$with_mpc" != x
; then
5793 gmplibs
="-L$with_mpc/lib $gmplibs"
5794 gmpinc
="-I$with_mpc/include $gmpinc"
5796 if test "x$with_mpc_include" != x
; then
5797 gmpinc
="-I$with_mpc_include $gmpinc"
5799 if test "x$with_mpc_lib" != x
; then
5800 gmplibs
="-L$with_mpc_lib $gmplibs"
5802 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5803 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5804 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5805 # Do not test the mpc version. Assume that it is sufficient, since
5806 # it is in the source tree, and the library has not been built yet
5807 # but it would be included on the link line in the version check below
5808 # hence making the test fail.
5812 # Specify a location for mpfr
5813 # check for this first so it ends up on the link line before gmp.
5815 # Check whether --with-mpfr-dir was given.
5816 if test "${with_mpfr_dir+set}" = set; then :
5817 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5818 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5823 # Check whether --with-mpfr was given.
5824 if test "${with_mpfr+set}" = set; then :
5829 # Check whether --with-mpfr-include was given.
5830 if test "${with_mpfr_include+set}" = set; then :
5831 withval
=$with_mpfr_include;
5835 # Check whether --with-mpfr-lib was given.
5836 if test "${with_mpfr_lib+set}" = set; then :
5837 withval
=$with_mpfr_lib;
5841 if test "x$with_mpfr" != x
; then
5842 gmplibs
="-L$with_mpfr/lib $gmplibs"
5843 gmpinc
="-I$with_mpfr/include $gmpinc"
5845 if test "x$with_mpfr_include" != x
; then
5846 gmpinc
="-I$with_mpfr_include $gmpinc"
5848 if test "x$with_mpfr_lib" != x
; then
5849 gmplibs
="-L$with_mpfr_lib $gmplibs"
5851 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5852 # MPFR v3.1.0 moved the sources into a src sub-directory.
5853 if ! test -d ${srcdir}/mpfr
/src
; then
5854 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5856 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5857 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5858 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5859 # Do not test the mpfr version. Assume that it is sufficient, since
5860 # it is in the source tree, and the library has not been built yet
5861 # but it would be included on the link line in the version check below
5862 # hence making the test fail.
5866 # Specify a location for gmp
5868 # Check whether --with-gmp-dir was given.
5869 if test "${with_gmp_dir+set}" = set; then :
5870 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5871 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5876 # Check whether --with-gmp was given.
5877 if test "${with_gmp+set}" = set; then :
5882 # Check whether --with-gmp-include was given.
5883 if test "${with_gmp_include+set}" = set; then :
5884 withval
=$with_gmp_include;
5888 # Check whether --with-gmp-lib was given.
5889 if test "${with_gmp_lib+set}" = set; then :
5890 withval
=$with_gmp_lib;
5895 if test "x$with_gmp" != x
; then
5896 gmplibs
="-L$with_gmp/lib $gmplibs"
5897 gmpinc
="-I$with_gmp/include $gmpinc"
5899 if test "x$with_gmp_include" != x
; then
5900 gmpinc
="-I$with_gmp_include $gmpinc"
5902 if test "x$with_gmp_lib" != x
; then
5903 gmplibs
="-L$with_gmp_lib $gmplibs"
5905 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5906 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5907 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5908 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5909 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5910 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5911 # Do not test the gmp version. Assume that it is sufficient, since
5912 # it is in the source tree, and the library has not been built yet
5913 # but it would be included on the link line in the version check below
5914 # hence making the test fail.
5918 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5920 saved_CFLAGS
="$CFLAGS"
5921 CFLAGS
="$CFLAGS $gmpinc"
5922 # Check for the recommended and required versions of GMP.
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5924 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5932 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5933 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5934 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5942 if ac_fn_c_try_compile
"$LINENO"; then :
5943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5950 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5951 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5952 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5960 if ac_fn_c_try_compile
"$LINENO"; then :
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5962 $as_echo "yes" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5965 $as_echo "buggy but acceptable" >&6; }
5967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970 $as_echo "no" >&6; }; have_gmp
=no
5972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5974 # If we have GMP, check the MPFR version.
5975 if test x
"$have_gmp" = xyes
; then
5976 # Check for the recommended and required versions of MPFR.
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5978 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5987 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5995 if ac_fn_c_try_compile
"$LINENO"; then :
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
6004 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
6012 if ac_fn_c_try_compile
"$LINENO"; then :
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6014 $as_echo "yes" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6017 $as_echo "buggy but acceptable" >&6; }
6019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022 $as_echo "no" >&6; }; have_gmp
=no
6024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6027 # Check for the MPC header version.
6028 if test x
"$have_gmp" = xyes
; then
6029 # Check for the recommended and required versions of MPC.
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
6031 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
6032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6039 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
6047 if ac_fn_c_try_compile
"$LINENO"; then :
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6055 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
6063 if ac_fn_c_try_compile
"$LINENO"; then :
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6065 $as_echo "yes" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6068 $as_echo "buggy but acceptable" >&6; }
6070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6073 $as_echo "no" >&6; }; have_gmp
=no
6075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6078 # Now check the MPFR library.
6079 if test x
"$have_gmp" = xyes
; then
6081 LIBS
="$LIBS $gmplibs"
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
6083 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
6084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6097 mpfr_atan2 (n, n, x, GMP_RNDN);
6098 mpfr_erfc (n, x, GMP_RNDN);
6099 mpfr_subnormalize (x, t, GMP_RNDN);
6103 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
6104 mpc_cosh (c, c, MPC_RNDNN);
6105 mpc_pow (c, c, c, MPC_RNDNN);
6106 mpc_acosh (c, c, MPC_RNDNN);
6113 if ac_fn_c_try_link
"$LINENO"; then :
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6115 $as_echo "yes" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }; have_gmp
=no
6120 rm -f core conftest.err conftest.
$ac_objext \
6121 conftest
$ac_exeext conftest.
$ac_ext
6125 CFLAGS
="$saved_CFLAGS"
6127 # The library versions listed in the error message below should match
6128 # the HARD-minimums enforced above.
6129 if test x
$have_gmp != xyes
; then
6130 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
6131 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
6132 their locations. Source code for these libraries can be found at
6133 their respective hosting sites as well as at
6134 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
6135 http://gcc.gnu.org/install/prerequisites.html for additional info. If
6136 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
6137 make sure that you have installed both the libraries and the header
6138 files. They may be located in separate packages." "$LINENO" 5
6142 # Flags needed for both GMP, MPFR and/or MPC.
6150 # Libraries to use for stage1 or when not bootstrapping.
6152 # Check whether --with-stage1-libs was given.
6153 if test "${with_stage1_libs+set}" = set; then :
6154 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
6157 stage1_libs
=$withval
6165 # Whether or not to use -static-libstdc++ and -static-libgcc. The
6166 # default is yes if gcc is being built; no otherwise. The reason for
6167 # this default is that gdb is sometimes linked against GNU Source
6168 # Highlight, which is a shared library that uses C++ exceptions. In
6169 # this case, -static-libstdc++ will cause crashes.
6171 # Check whether --with-static-standard-libraries was given.
6172 if test "${with_static_standard_libraries+set}" = set; then :
6173 withval
=$with_static_standard_libraries;
6175 with_static_standard_libraries
=auto
6178 if test "$with_static_standard_libraries" = auto
; then
6179 with_static_standard_libraries
=$have_compiler
6182 # Linker flags to use for stage1 or when not bootstrapping.
6184 # Check whether --with-stage1-ldflags was given.
6185 if test "${with_stage1_ldflags+set}" = set; then :
6186 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6189 stage1_ldflags
=$withval
6193 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
6194 # if supported. But if the user explicitly specified the libraries to use,
6195 # trust that they are doing what they want.
6196 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
6197 -a "$have_static_libs" = yes; then
6198 stage1_ldflags
="-static-libstdc++ -static-libgcc"
6204 # Libraries to use for stage2 and later builds.
6206 # Check whether --with-boot-libs was given.
6207 if test "${with_boot_libs+set}" = set; then :
6208 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
6211 poststage1_libs
=$withval
6219 # Linker flags to use for stage2 and later builds.
6221 # Check whether --with-boot-ldflags was given.
6222 if test "${with_boot_ldflags+set}" = set; then :
6223 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6226 poststage1_ldflags
=$withval
6230 # In stages 2 and 3, default to linking libstdc++ and libgcc
6231 # statically. But if the user explicitly specified the libraries to
6232 # use, trust that they are doing what they want.
6233 if test "$poststage1_libs" = ""; then
6234 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6240 # GCC GRAPHITE dependency isl.
6241 # Basic setup is inlined here, actual checks are in config/isl.m4
6244 # Check whether --with-isl was given.
6245 if test "${with_isl+set}" = set; then :
6250 # Treat --without-isl as a request to disable
6251 # GRAPHITE support and skip all following checks.
6252 if test "x$with_isl" != "xno"; then
6256 # Check whether --with-isl-include was given.
6257 if test "${with_isl_include+set}" = set; then :
6258 withval
=$with_isl_include;
6262 # Check whether --with-isl-lib was given.
6263 if test "${with_isl_lib+set}" = set; then :
6264 withval
=$with_isl_lib;
6268 # Check whether --enable-isl-version-check was given.
6269 if test "${enable_isl_version_check+set}" = set; then :
6270 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6272 ENABLE_ISL_CHECK
=yes
6276 # Initialize isllibs and islinc.
6285 isllibs
="-L$with_isl/lib"
6286 islinc
="-I$with_isl/include"
6289 if test "x${with_isl_include}" != x
; then
6290 islinc
="-I$with_isl_include"
6292 if test "x${with_isl_lib}" != x
; then
6293 isllibs
="-L$with_isl_lib"
6295 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6296 && test -d ${srcdir}/isl
; then
6297 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6298 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6301 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6304 isllibs
="${isllibs} -lisl"
6308 if test "${ENABLE_ISL_CHECK}" = yes ; then
6309 _isl_saved_CFLAGS
=$CFLAGS
6310 _isl_saved_LDFLAGS
=$LDFLAGS
6311 _isl_saved_LIBS
=$LIBS
6313 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6314 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6315 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6318 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6321 #include <isl/schedule.h>
6325 isl_options_set_schedule_serialize_sccs (NULL, 0);
6330 if ac_fn_c_try_link
"$LINENO"; then :
6335 rm -f core conftest.err conftest.
$ac_objext \
6336 conftest
$ac_exeext conftest.
$ac_ext
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6338 $as_echo "$gcc_cv_isl" >&6; }
6340 if test "${gcc_cv_isl}" = no
; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6342 $as_echo "required isl version is 0.15 or later" >&6; }
6345 CFLAGS
=$_isl_saved_CFLAGS
6346 LDFLAGS
=$_isl_saved_LDFLAGS
6347 LIBS
=$_isl_saved_LIBS
6355 if test "x${with_isl}" = xno
; then
6356 graphite_requested
=no
6357 elif test "x${with_isl}" != x \
6358 ||
test "x${with_isl_include}" != x \
6359 ||
test "x${with_isl_lib}" != x
; then
6360 graphite_requested
=yes
6362 graphite_requested
=no
6367 if test "${gcc_cv_isl}" = no
; then
6372 if test "${graphite_requested}" = yes \
6373 && test "x${isllibs}" = x \
6374 && test "x${islinc}" = x
; then
6376 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6382 # If the isl check failed, disable builds of in-tree variant of isl
6383 if test "x$with_isl" = xno ||
6384 test "x$gcc_cv_isl" = xno
; then
6385 noconfigdirs
="$noconfigdirs isl"
6392 # Check for LTO support.
6393 # Check whether --enable-lto was given.
6394 if test "${enable_lto+set}" = set; then :
6395 enableval
=$enable_lto; enable_lto
=$enableval
6397 enable_lto
=yes; default_enable_lto
=yes
6406 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6407 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6408 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6417 if test $target_elf = yes; then :
6418 # ELF platforms build the lto-plugin always.
6419 build_lto_plugin
=yes
6422 if test x
"$default_enable_lto" = x
"yes" ; then
6424 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6425 # On other non-ELF platforms, LTO has yet to be validated.
6429 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6430 # It would also be nice to check the binutils support, but we don't
6431 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6432 # warn during gcc/ subconfigure; unless you're bootstrapping with
6433 # -flto it won't be needed until after installation anyway.
6435 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6436 *) if test x
"$enable_lto" = x
"yes"; then
6437 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6442 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6443 # Build it unless LTO was explicitly disabled.
6445 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6452 # Check whether --enable-linker-plugin-configure-flags was given.
6453 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6454 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6456 extra_linker_plugin_configure_flags
=
6460 # Check whether --enable-linker-plugin-flags was given.
6461 if test "${enable_linker_plugin_flags+set}" = set; then :
6462 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6464 extra_linker_plugin_flags
=
6469 # Enable --enable-host-shared.
6470 # Checked early to determine whether jit is an 'all' language
6471 # Check whether --enable-host-shared was given.
6472 if test "${enable_host_shared+set}" = set; then :
6473 enableval
=$enable_host_shared; host_shared
=$enableval
6480 # By default, C and C++ are the only stage 1 languages.
6481 stage1_languages
=,c
,
6483 # Target libraries that we bootstrap.
6484 bootstrap_target_libs
=,target-libgcc
,
6486 # Figure out what language subdirectories are present.
6487 # Look if the user specified --enable-languages="..."; if not, use
6488 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6490 # NB: embedded tabs in this IF block -- do not untabify
6491 if test -d ${srcdir}/gcc
; then
6492 if test x
"${enable_languages+set}" != xset
; then
6493 if test x
"${LANGUAGES+set}" = xset
; then
6494 enable_languages
="${LANGUAGES}"
6495 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6497 enable_languages
=default
6500 if test x
"${enable_languages}" = x ||
6501 test x
"${enable_languages}" = xyes
;
6503 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6507 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6509 # 'f95' is the old name for the 'fortran' language. We issue a warning
6510 # and make the substitution.
6511 case ,${enable_languages}, in
6513 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6514 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6518 # If bootstrapping, C++ must be enabled.
6519 case ",$enable_languages,:$enable_bootstrap" in
6522 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6523 enable_languages
="${enable_languages},c++"
6525 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6530 # First scan to see if an enabled language requires some other language.
6531 # We assume that a given config-lang.in will list all the language
6532 # front ends it requires, even if some are required indirectly.
6533 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6534 case ${lang_frag} in
6536 # The odd quoting in the next line works around
6537 # an apparent bug in bash 1.12 on linux.
6538 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6540 # From the config-lang.in, get $language, $lang_requires, and
6541 # $lang_requires_boot_languages.
6544 lang_requires_boot_languages
=
6545 # set srcdir during sourcing lang_frag to the gcc dir.
6546 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6547 # polutes this shell
6548 saved_srcdir
=${srcdir}
6549 srcdir
=${srcdir}/gcc .
${lang_frag}
6550 srcdir
=${saved_srcdir}
6551 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6552 case ,${enable_languages}, in
6557 echo " \`$other' language required by \`$language'; enabling" 1>&2
6558 enable_languages
="${enable_languages},${other}"
6562 for other
in ${lang_requires_boot_languages} ; do
6563 if test "$other" != "c"; then
6564 case ,${enable_stage1_languages}, in
6569 case ,${enable_languages}, in
6571 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6572 enable_stage1_languages
="$enable_stage1_languages,${other}"
6583 new_enable_languages
=,c
,
6585 # If LTO is enabled, add the LTO front end.
6586 if test "$enable_lto" = "yes" ; then
6587 case ,${enable_languages}, in
6589 *) enable_languages
="${enable_languages},lto" ;;
6591 if test "${build_lto_plugin}" = "yes" ; then
6592 configdirs
="$configdirs lto-plugin"
6596 # If we're building an offloading compiler, add the LTO front end.
6597 if test x
"$enable_as_accelerator_for" != x
; then
6598 case ,${enable_languages}, in
6600 *) enable_languages
="${enable_languages},lto" ;;
6604 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6605 potential_languages
=,c
,
6607 enabled_target_libs
=
6608 disabled_target_libs
=
6610 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6611 case ${lang_frag} in
6613 # The odd quoting in the next line works around
6614 # an apparent bug in bash 1.12 on linux.
6615 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6617 # From the config-lang.in, get $language, $target_libs,
6618 # $lang_dirs, $boot_language, and $build_by_default
6624 build_by_default
=yes
6625 # set srcdir during sourcing. See above about save & restore
6626 saved_srcdir
=${srcdir}
6627 srcdir
=${srcdir}/gcc .
${lang_frag}
6628 srcdir
=${saved_srcdir}
6629 if test x
${language} = x
; then
6630 echo "${lang_frag} doesn't set \$language." 1>&2
6634 if test "$language" = "c++"; then
6639 # C is always enabled, so no need to add it again
6640 if test "$language" != "c"; then
6641 case ,${enable_languages}, in
6643 # Language was explicitly selected; include it
6647 # All languages are enabled
6651 # 'default' was selected, select it if it is a default language
6652 add_this_lang
=${build_by_default}
6657 # Disable languages that need other directories if these aren't available.
6658 for i
in $subdir_requires; do
6659 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6660 case ${add_this_lang} in
6662 # Specifically requested language; tell them.
6663 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6667 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6668 add_this_lang
=unsupported
6672 add_this_lang
=unsupported
6677 # Disable Ada if no preexisting GNAT is available.
6678 case ${add_this_lang}:${language}:${have_gnat} in
6680 # Specifically requested language; tell them.
6681 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6685 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6686 add_this_lang
=unsupported
6690 add_this_lang
=unsupported
6694 # Disable jit if -enable-host-shared not specified
6695 case ${add_this_lang}:${language}:${host_shared} in
6697 # PR jit/64780: explicitly specify --enable-host-shared
6699 Enabling language \"jit\" requires --enable-host-shared.
6701 --enable-host-shared typically slows the rest of the compiler down by
6702 a few %, so you must explicitly enable it.
6704 If you want to build both the jit and the regular compiler, it is often
6705 best to do this via two separate configure/builds, in separate
6706 directories, to avoid imposing the performance cost of
6707 --enable-host-shared on the regular compiler." "$LINENO" 5
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6711 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6712 add_this_lang
=unsupported
6716 add_this_lang
=unsupported
6720 # Disable a language that is unsupported by the target.
6721 case "${add_this_lang}: $unsupported_languages " in
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6726 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6727 add_this_lang
=unsupported
6731 case $add_this_lang in
6733 # Remove language-dependent dirs.
6734 disabled_target_libs
="$disabled_target_libs $target_libs"
6735 noconfigdirs
="$noconfigdirs $lang_dirs"
6738 # Remove language-dependent dirs; still show language as supported.
6739 disabled_target_libs
="$disabled_target_libs $target_libs"
6740 noconfigdirs
="$noconfigdirs $lang_dirs"
6741 potential_languages
="${potential_languages}${language},"
6744 new_enable_languages
="${new_enable_languages}${language},"
6745 potential_languages
="${potential_languages}${language},"
6746 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6747 enabled_target_libs
="$enabled_target_libs $target_libs"
6748 case "${boot_language}:,$enable_stage1_languages," in
6749 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6750 # Add to (comma-separated) list of stage 1 languages.
6751 case ",$stage1_languages," in
6752 *,$language,* |
,yes, |
,all
,) ;;
6753 *) stage1_languages
="${stage1_languages}${language}," ;;
6755 # We need to bootstrap any supporting libraries.
6756 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6765 # Add target libraries which are only needed for disabled languages
6767 if test -n "$disabled_target_libs"; then
6768 for dir
in $disabled_target_libs; do
6769 case " $enabled_target_libs " in
6771 *) noconfigdirs
="$noconfigdirs $dir" ;;
6776 # Check whether --enable-stage1-languages was given.
6777 if test "${enable_stage1_languages+set}" = set; then :
6778 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6780 # Set it to something that will have no effect in the loop below
6781 enable_stage1_languages
=c
;;
6783 enable_stage1_languages
=`echo $new_enable_languages | \
6784 sed -e "s/^,//" -e "s/,$//" ` ;;
6786 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6787 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6790 # Add "good" languages from enable_stage1_languages to stage1_languages,
6791 # while "bad" languages go in missing_languages. Leave no duplicates.
6792 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6793 case $potential_languages in
6795 case $stage1_languages in
6797 *) stage1_languages
="$stage1_languages$i," ;;
6800 case $missing_languages in
6802 *) missing_languages
="$missing_languages$i," ;;
6809 # Remove leading/trailing commas that were added for simplicity
6810 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6811 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6812 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6813 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6815 if test "x$missing_languages" != x
; then
6817 The following requested languages could not be built: ${missing_languages}
6818 Supported languages are: ${potential_languages}" "$LINENO" 5
6820 if test "x$new_enable_languages" != "x$enable_languages"; then
6821 echo The following languages will be built
: ${new_enable_languages}
6822 enable_languages
="$new_enable_languages"
6826 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6829 # Handle --disable-<component> generically.
6830 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6831 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6832 varname
=`echo $dirname | sed -e s/+/_/g`
6833 if eval test x\
${enable_${varname}} "=" xno
; then
6834 noconfigdirs
="$noconfigdirs $dir"
6838 # Check for Boehm's garbage collector
6839 # Check whether --enable-objc-gc was given.
6840 if test "${enable_objc_gc+set}" = set; then :
6841 enableval
=$enable_objc_gc;
6845 # Check whether --with-target-bdw-gc was given.
6846 if test "${with_target_bdw_gc+set}" = set; then :
6847 withval
=$with_target_bdw_gc;
6851 # Check whether --with-target-bdw-gc-include was given.
6852 if test "${with_target_bdw_gc_include+set}" = set; then :
6853 withval
=$with_target_bdw_gc_include;
6857 # Check whether --with-target-bdw-gc-lib was given.
6858 if test "${with_target_bdw_gc_lib+set}" = set; then :
6859 withval
=$with_target_bdw_gc_lib;
6863 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6865 $as_echo_n "checking for bdw garbage collector... " >&6; }
6866 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6868 $as_echo "using bdw-gc in default locations" >&6; }
6870 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6871 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6872 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6873 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6876 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6881 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6882 case ,${enable_languages}, in
6884 # Disable libitm, libsanitizer if we're not building libstdc++
6885 case "${noconfigdirs}" in
6886 *target-libstdc
++-v3*)
6887 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6893 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6897 # If gcc/ is not in the source tree then we'll not be building a
6898 # target compiler, assume in that case we don't want to build any
6899 # target libraries or tools.
6901 # This was added primarily for the benefit for binutils-gdb who reuse
6902 # this configure script, but don't always have target tools available.
6903 if test ! -d ${srcdir}/gcc
; then
6904 skipdirs
="${skipdirs} ${target_configdirs}"
6907 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6908 # $build_configdirs and $target_configdirs.
6909 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6912 for dir
in .
$skipdirs $noconfigdirs ; do
6913 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6914 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6915 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6916 if test -r $srcdir/$dirname/configure
; then
6917 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6920 notsupp
="$notsupp $dir"
6924 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6925 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6926 if test -r $srcdir/$dirname/configure
; then
6927 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6930 notsupp
="$notsupp $dir"
6934 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6935 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6936 if test -r $srcdir/$dirname/configure
; then
6937 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6940 notsupp
="$notsupp $dir"
6946 # Quietly strip out all directories which aren't configurable in this tree.
6947 # This relies on all configurable subdirectories being autoconfiscated, which
6949 build_configdirs_all
="$build_configdirs"
6951 for i
in ${build_configdirs_all} ; do
6952 j
=`echo $i | sed -e s/build-//g`
6953 if test -f ${srcdir}/$j/configure
; then
6954 build_configdirs
="${build_configdirs} $i"
6958 configdirs_all
="$configdirs"
6960 for i
in ${configdirs_all} ; do
6961 if test -f ${srcdir}/$i/configure
; then
6962 configdirs
="${configdirs} $i"
6966 target_configdirs_all
="$target_configdirs"
6968 for i
in ${target_configdirs_all} ; do
6969 j
=`echo $i | sed -e s/target-//g`
6970 if test -f ${srcdir}/$j/configure
; then
6971 target_configdirs
="${target_configdirs} $i"
6975 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6976 # so we have to add it after the preceding checks.
6977 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6979 case " $configdirs " in
6981 # If we can build libiberty, we can also build libiberty-linker-plugin.
6982 configdirs
="$configdirs libiberty-linker-plugin"
6983 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6984 --with-libiberty=../libiberty-linker-plugin";;
6986 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6990 # Sometimes we have special requirements for the host libiberty.
6991 extra_host_libiberty_configure_flags
=
6992 case " $configdirs " in
6993 *" lto-plugin "* |
*" libcc1 "* |
*" gdbserver "*)
6994 # When these are to be built as shared libraries, the same applies to
6996 extra_host_libiberty_configure_flags
=--enable-shared
7001 # Sometimes we have special requirements for the host zlib.
7002 extra_host_zlib_configure_flags
=
7003 case " $configdirs " in
7005 # When bfd is to be built as a shared library, the same applies to
7007 if test "$enable_shared" = "yes"; then
7008 extra_host_zlib_configure_flags
=--enable-host-shared
7014 # Produce a warning message for the subdirs we can't configure.
7015 # This isn't especially interesting in the Cygnus tree, but in the individual
7016 # FSF releases, it's important to let people know when their machine isn't
7017 # supported by the one or two programs in a package.
7019 if test -n "${notsupp}" && test -z "${norecursion}" ; then
7020 # If $appdirs is non-empty, at least one of those directories must still
7021 # be configured, or we error out. (E.g., if the gas release supports a
7022 # specified target in some subdirs but not the gas subdir, we shouldn't
7023 # pretend that all is well.)
7024 if test -n "$appdirs" ; then
7025 for dir
in $appdirs ; do
7026 if test -r $dir/Makefile.
in ; then
7027 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7031 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
7037 if test -n "$appdirs" ; then
7038 echo "*** This configuration is not supported by this package." 1>&2
7042 # Okay, some application will build, or we don't care to check. Still
7043 # notify of subdirs not getting built.
7044 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
7045 echo " ${notsupp}" 1>&2
7046 echo " (Any other directories should still work fine.)" 1>&2
7054 # To find our prefix, in gcc_cv_tool_prefix.
7056 # The user is always right.
7057 if test "${PATH_SEPARATOR+set}" != set; then
7058 echo "#! /bin/sh" >conf$$.sh
7059 echo "exit 0" >>conf$$.sh
7061 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7070 get_gcc_base_ver
="cat"
7072 # Check whether --with-gcc-major-version-only was given.
7073 if test "${with_gcc_major_version_only+set}" = set; then :
7074 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
7075 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
7085 if test "x$exec_prefix" = xNONE
; then
7086 if test "x$prefix" = xNONE
; then
7087 gcc_cv_tool_prefix
=$ac_default_prefix
7089 gcc_cv_tool_prefix
=$prefix
7092 gcc_cv_tool_prefix
=$exec_prefix
7095 # If there is no compiler in the tree, use the PATH only. In any
7096 # case, if there is no compiler in the tree nobody should use
7097 # AS_FOR_TARGET and LD_FOR_TARGET.
7098 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
7099 if test x
$with_gcc_major_version_only = xyes
; then
7100 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
7102 gcc_version
=`cat $srcdir/gcc/BASE-VER`
7104 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7105 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
7106 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7107 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
7108 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7109 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
7114 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
7115 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
7123 # Check whether --with-build-sysroot was given.
7124 if test "${with_build_sysroot+set}" = set; then :
7125 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
7126 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
7129 SYSROOT_CFLAGS_FOR_TARGET
=
7135 # Check whether --with-debug-prefix-map was given.
7136 if test "${with_debug_prefix_map+set}" = set; then :
7137 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
7138 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7139 for debug_map
in $withval; do
7140 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
7144 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7149 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
7150 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
7151 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
7152 # We want to ensure that TARGET libraries (which we know are built with
7153 # gcc) are built with "-O2 -g", so include those options when setting
7154 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
7155 if test "x$CFLAGS_FOR_TARGET" = x
; then
7156 if test "x${is_cross_compiler}" = xyes
; then
7157 CFLAGS_FOR_TARGET
="-g -O2"
7159 CFLAGS_FOR_TARGET
=$CFLAGS
7162 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
7165 *" -g "* |
*" -g3 "*) ;;
7166 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
7172 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
7173 if test "x${is_cross_compiler}" = xyes
; then
7174 CXXFLAGS_FOR_TARGET
="-g -O2"
7176 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
7177 case " $CXXFLAGS " in
7179 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
7181 case " $CXXFLAGS " in
7182 *" -g "* |
*" -g3 "*) ;;
7183 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
7191 # Handle --with-headers=XXX. If the value is not "yes", the contents of
7192 # the named directory are copied to $(tooldir)/sys-include.
7193 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
7194 if test x
${is_cross_compiler} = xno
; then
7195 echo 1>&2 '***' --with-headers is only supported when cross compiling
7198 if test x
"${with_headers}" != xyes
; then
7199 x
=${gcc_cv_tool_prefix}
7200 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
7204 # Handle --with-libs=XXX. If the value is not "yes", the contents of
7205 # the name directories are copied to $(tooldir)/lib. Multiple directories
7207 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
7208 if test x
${is_cross_compiler} = xno
; then
7209 echo 1>&2 '***' --with-libs is only supported when cross compiling
7212 if test x
"${with_libs}" != xyes
; then
7213 # Copy the libraries in reverse order, so that files in the first named
7214 # library override files in subsequent libraries.
7215 x
=${gcc_cv_tool_prefix}
7216 for l
in ${with_libs}; do
7217 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
7222 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
7224 # This is done by determining whether or not the appropriate directory
7225 # is available, and by checking whether or not specific configurations
7226 # have requested that this magic not happen.
7228 # The command line options always override the explicit settings in
7229 # configure.ac, and the settings in configure.ac override this magic.
7231 # If the default for a toolchain is to use GNU as and ld, and you don't
7232 # want to do that, then you should use the --without-gnu-as and
7233 # --without-gnu-ld options for the configure script. Similarly, if
7234 # the default is to use the included zlib and you don't want to do that,
7235 # you should use the --with-system-zlib option for the configure script.
7237 if test x
${use_gnu_as} = x
&&
7238 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
7240 extra_host_args
="$extra_host_args --with-gnu-as"
7243 if test x
${use_gnu_ld} = x
&&
7244 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7246 extra_host_args
="$extra_host_args --with-gnu-ld"
7249 if test x
${use_included_zlib} = x
&&
7250 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7253 with_system_zlib
=yes
7254 extra_host_args
="$extra_host_args --with-system-zlib"
7257 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7258 # can detect this case.
7260 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7262 extra_host_args
="$extra_host_args --with-newlib"
7265 # Handle ${copy_dirs}
7266 set fnord
${copy_dirs}
7268 while test $# != 0 ; do
7269 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7272 echo Copying
$1 to
$2
7274 # Use the install script to create the directory and all required
7275 # parent directories.
7276 if test -d $2 ; then
7280 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7283 # Copy the directory, assuming we have tar.
7284 # FIXME: Should we use B in the second tar? Not all systems support it.
7285 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7287 # It is the responsibility of the user to correctly adjust all
7288 # symlinks. If somebody can figure out how to handle them correctly
7289 # here, feel free to add the code.
7296 # Determine a target-dependent exec_prefix that the installed
7297 # gcc will search in. Keep this list sorted by triplet, with
7298 # the *-*-osname triplets last.
7301 i
[34567]86-pc-msdosdjgpp*)
7302 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7307 md_exec_prefix
=/usr
/ccs
/bin
7311 extra_arflags_for_target
=
7312 extra_nmflags_for_target
=
7313 extra_ranlibflags_for_target
=
7314 target_makefile_frag
=/dev
/null
7317 target_makefile_frag
="config/mt-spu"
7319 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7320 target_makefile_frag
="config/mt-sde"
7322 mipsisa
*-*-elfoabi*)
7323 target_makefile_frag
="config/mt-mips-elfoabi"
7325 mips
*-*-*linux
* | mips
*-*-gnu*)
7326 target_makefile_frag
="config/mt-mips-gnu"
7329 target_makefile_frag
="config/mt-nios2-elf"
7332 target_makefile_frag
="config/mt-android"
7334 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7335 target_makefile_frag
="config/mt-gnu"
7337 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7338 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7339 # commands to handle both 32-bit and 64-bit objects. These flags are
7340 # harmless if we're using GNU nm or ar.
7341 extra_arflags_for_target
=" -X32_64"
7342 extra_nmflags_for_target
=" -B -X32_64"
7346 alphaieee_frag
=/dev
/null
7349 # This just makes sure to use the -mieee option to build target libs.
7350 # This should probably be set individually by each library.
7351 alphaieee_frag
="config/mt-alphaieee"
7355 # If --enable-target-optspace always use -Os instead of -O2 to build
7356 # the target libraries, similarly if it is not specified, use -Os
7357 # on selected platforms.
7358 ospace_frag
=/dev
/null
7359 case "${enable_target_optspace}:${target}" in
7361 ospace_frag
="config/mt-ospace"
7364 ospace_frag
="config/mt-d30v"
7366 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7367 ospace_frag
="config/mt-ospace"
7372 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7376 # Some systems (e.g., one of the i386-aix systems the gas testers are
7377 # using) don't handle "\$" correctly, so don't use it here.
7378 tooldir
='${exec_prefix}'/${target_noncanonical}
7379 build_tooldir
=${tooldir}
7381 # Create a .gdbinit file which runs the one in srcdir
7382 # and tells GDB to look there for source files.
7384 if test -r ${srcdir}/.gdbinit
; then
7387 *) cat > .
/.gdbinit
<<EOF
7391 source ${srcdir}/.gdbinit
7397 # Make sure that the compiler is able to generate an executable. If it
7398 # can't, we are probably in trouble. We don't care whether we can run the
7399 # executable--we might be using a cross compiler--we only care whether it
7400 # can be created. At this point the main configure script has set CC.
7402 echo "int main () { return 0; }" > conftest.c
7403 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7404 if test $?
= 0 ; then
7405 if test -s conftest ||
test -s conftest.exe
; then
7411 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7412 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7419 # Decide which environment variable is used to find dynamic libraries.
7421 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7422 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7423 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7424 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7427 # On systems where the dynamic library environment variable is PATH,
7428 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7429 # built executables to PATH.
7430 if test "$RPATH_ENVVAR" = PATH
; then
7431 GCC_SHLIB_SUBDIR
=/shlib
7436 # Adjust the toplevel makefile according to whether bootstrap was selected.
7437 case $enable_bootstrap in
7439 bootstrap_suffix
=bootstrap
7440 BUILD_CONFIG
=bootstrap-debug
7443 bootstrap_suffix
=no-bootstrap
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7449 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7452 # Check whether --with-build-config was given.
7453 if test "${with_build_config+set}" = set; then :
7454 withval
=$with_build_config; case $with_build_config in
7455 yes) with_build_config
= ;;
7456 no
) with_build_config
= BUILD_CONFIG
= ;;
7461 if test "x${with_build_config}" != x
; then
7462 BUILD_CONFIG
=$with_build_config
7464 case $BUILD_CONFIG in
7466 if echo "int f (void) { return 0; }" > conftest.c
&&
7467 ${CC} -c conftest.c
&&
7468 mv conftest.o conftest.o.g0
&&
7469 ${CC} -c -g conftest.c
&&
7470 mv conftest.o conftest.o.g
&&
7471 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7476 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7481 $as_echo "$BUILD_CONFIG" >&6; }
7484 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7486 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7487 # Check whether --enable-vtable-verify was given.
7488 if test "${enable_vtable_verify+set}" = set; then :
7489 enableval
=$enable_vtable_verify; case "$enableval" in
7490 yes) enable_vtable_verify
=yes ;;
7491 no
) enable_vtable_verify
=no
;;
7492 *) enable_vtable_verify
=no
;;
7495 enable_vtable_verify
=no
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7499 $as_echo "$enable_vtable_verify" >&6; }
7501 # Record target_configdirs and the configure arguments for target and
7502 # build configuration in Makefile.
7503 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7504 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7505 bootstrap_fixincludes
=no
7507 # If we are building libgomp, bootstrap it.
7508 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7509 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7512 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7513 # or bootstrap-ubsan, bootstrap it.
7514 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7515 case "$BUILD_CONFIG" in
7516 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7517 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7518 bootstrap_fixincludes
=yes
7523 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7524 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7525 test "$enable_vtable_verify" != no
; then
7526 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7529 # Determine whether gdb needs tk/tcl or not.
7530 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7531 # and in that case we want gdb to be built without tk. Ugh!
7532 # In fact I believe gdb is the *only* package directly dependent on tk,
7533 # so we should be able to put the 'maybe's in unconditionally and
7534 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7535 # 100% sure that that's safe though.
7537 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7538 case "$enable_gdbtk" in
7542 GDB_TK
="${gdb_tk}" ;;
7544 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7545 # distro. Eventually someone will fix this and move Insight, nee
7546 # gdbtk to a separate directory.
7547 if test -d ${srcdir}/gdb
/gdbtk
; then
7554 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7555 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7557 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
7558 # else does, only include them if one of these is built. The Makefile
7559 # provides the ordering, so it's enough here to add to the list.
7560 case " ${configdirs} " in
7562 configdirs
="${configdirs} gnulib gdbsupport"
7565 configdirs
="${configdirs} gnulib gdbsupport"
7568 configdirs
="${configdirs} gnulib"
7572 # Strip out unwanted targets.
7574 # While at that, we remove Makefiles if we were started for recursive
7575 # configuration, so that the top-level Makefile reconfigures them,
7576 # like we used to do when configure itself was recursive.
7578 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7579 # but now we're fixing up the Makefile ourselves with the additional
7580 # commands passed to AC_CONFIG_FILES. Use separate variables
7581 # extrasub-{build,host,target} not because there is any reason to split
7582 # the substitutions up that way, but only to remain below the limit of
7583 # 99 commands in a script, for HP-UX sed.
7585 # Do not nest @if/@endif or @unless/@endunless pairs, because
7586 # configure will not warn you at all.
7588 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7589 yes:yes:*\ gold\
*:*,c
++,*) ;;
7590 yes:yes:*\ gold\
*:*)
7591 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7596 for module
in ${build_configdirs} ; do
7597 if test -z "${no_recursion}" \
7598 && test -f ${build_subdir}/${module}/Makefile
; then
7599 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7600 rm -f ${build_subdir}/${module}/Makefile
7602 extrasub_build
="$extrasub_build
7603 /^@if build-$module\$/d
7604 /^@endif build-$module\$/d
7605 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7606 /^@if build-$module-$bootstrap_suffix\$/d
7607 /^@endif build-$module-$bootstrap_suffix\$/d
7608 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7611 for module
in ${configdirs} ; do
7612 if test -z "${no_recursion}"; then
7613 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7614 if test -f ${file}; then
7615 echo 1>&2 "*** removing ${file} to force reconfigure"
7620 case ${module},${bootstrap_fixincludes} in
7621 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7622 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7624 extrasub_host
="$extrasub_host
7626 /^@endif $module\$/d
7627 /^@unless $module\$/,/^@endunless $module\$/d
7628 /^@if $module-$host_bootstrap_suffix\$/d
7629 /^@endif $module-$host_bootstrap_suffix\$/d
7630 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7633 for module
in ${target_configdirs} ; do
7634 if test -z "${no_recursion}" \
7635 && test -f ${target_subdir}/${module}/Makefile
; then
7636 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7637 rm -f ${target_subdir}/${module}/Makefile
7640 # We only bootstrap target libraries listed in bootstrap_target_libs.
7641 case $bootstrap_target_libs in
7642 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7643 *) target_bootstrap_suffix
=no-bootstrap
;;
7646 extrasub_target
="$extrasub_target
7647 /^@if target-$module\$/d
7648 /^@endif target-$module\$/d
7649 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7650 /^@if target-$module-$target_bootstrap_suffix\$/d
7651 /^@endif target-$module-$target_bootstrap_suffix\$/d
7652 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7655 # Do the final fixup along with target modules.
7656 extrasub_target
="$extrasub_target
7661 if test "$enable_pgo_build" != "no"; then
7662 extrasub_build
="$extrasub_build
7664 /^@endif pgo-build\$/d"
7667 # Create the serialization dependencies. This uses a temporary file.
7669 # Check whether --enable-serial-configure was given.
7670 if test "${enable_serial_configure+set}" = set; then :
7671 enableval
=$enable_serial_configure;
7675 case ${enable_serial_configure} in
7677 enable_serial_build_configure
=yes
7678 enable_serial_host_configure
=yes
7679 enable_serial_target_configure
=yes
7683 # These force 'configure's to be done one at a time, to avoid problems
7684 # with contention over a shared config.cache.
7686 echo '# serdep.tmp' > serdep.tmp
7688 test "x${enable_serial_build_configure}" = xyes
&&
7689 for item
in ${build_configdirs} ; do
7692 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7697 test "x${enable_serial_host_configure}" = xyes
&&
7698 for item
in ${configdirs} ; do
7701 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7706 test "x${enable_serial_target_configure}" = xyes
&&
7707 for item
in ${target_configdirs} ; do
7710 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7714 serialization_dependencies
=serdep.tmp
7717 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7718 # target, nonopt, and variable assignments. These are the ones we
7719 # might not want to pass down to subconfigures. The exception being
7720 # --cache-file=/dev/null, which is used to turn off the use of cache
7721 # files altogether, and which should be passed on to subconfigures.
7722 # Also strip program-prefix, program-suffix, and program-transform-name,
7723 # so that we can pass down a consistent program-transform-name.
7728 eval "set -- $ac_configure_args"
7731 if test X
"$skip_next" = X
"yes"; then
7735 if test X
"$keep_next" = X
"yes"; then
7738 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7740 baseargs
="$baseargs '$ac_arg'"
7741 tbaseargs
="$tbaseargs '$ac_arg'"
7746 # Handle separated arguments. Based on the logic generated by
7749 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7750 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7751 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7752 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7766 --with-* |
--without-*)
7767 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7771 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7774 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7783 mpc | mpfr | gmp | isl
)
7784 # If we're processing --with-$lib, --with-$lib-include or
7785 # --with-$lib-lib, for one of the libs above, and target is
7786 # different from host, don't pass the current argument to any
7787 # target library's configure.
7788 if test x
$is_cross_compiler = xyes
; then
7797 --cache-file=/dev
/null | \
7798 -cache-file=/dev
/null
)
7799 # Handled here to avoid the test to skip args below.
7800 baseargs
="$baseargs '$ac_arg'"
7801 tbaseargs
="$tbaseargs '$ac_arg'"
7802 # Assert: $separate_arg should always be no.
7803 keep_next
=$separate_arg
7819 -program-prefix* | \
7820 -program-suffix* | \
7821 -program-transform-name* )
7822 skip_next
=$separate_arg
7826 # An option. Add it.
7829 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7831 baseargs
="$baseargs '$ac_arg'"
7832 if test X
"$skip_targ" = Xno
; then
7833 tbaseargs
="$tbaseargs '$ac_arg'"
7835 keep_next
=$separate_arg
7838 # Either a variable assignment, or a nonopt (triplet). Don't
7839 # pass it down; let the Makefile handle this.
7844 # Remove the initial space we just introduced and, as these will be
7845 # expanded by make, quote '$'.
7846 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7848 # Add in --program-transform-name, after --program-prefix and
7849 # --program-suffix have been applied to it. Autoconf has already
7850 # doubled dollar signs and backslashes in program_transform_name; we want
7851 # the backslashes un-doubled, and then the entire thing wrapped in single
7852 # quotes, because this will be expanded first by make and then by the shell.
7853 # Also, because we want to override the logic in subdir configure scripts to
7854 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7855 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7856 ${program_transform_name}
7858 gcc_transform_name
=`cat conftestsed.out`
7859 rm -f conftestsed.out
7860 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7861 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7862 if test "$silent" = yes; then
7863 baseargs
="$baseargs --silent"
7864 tbaseargs
="$tbaseargs --silent"
7867 baseargs
="$baseargs --disable-option-checking"
7868 tbaseargs
="$tbaseargs --disable-option-checking"
7870 if test "$enable_year2038" = no
; then
7871 baseargs
="$baseargs --disable-year2038"
7872 tbaseargs
="$tbaseargs --disable-year2038"
7875 # Record and document user additions to sub configure arguments.
7880 # For the build-side libraries, we just need to pretend we're native,
7881 # and not use the same cache file. Multilibs are neither needed nor
7882 # desired. We can't even use the same cache file for all build-side
7883 # libraries, as they're compiled differently; some with C, some with
7884 # C++ or with different feature-enabling options.
7885 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7887 # For host modules, accept cache file option, or specification as blank.
7888 case "${cache_file}" in
7890 cache_file_option
="" ;;
7891 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7892 cache_file_option
="--cache-file=${cache_file}" ;;
7894 cache_file_option
="--cache-file=../${cache_file}" ;;
7897 # Host dirs don't like to share a cache file either, horribly enough.
7898 # This seems to be due to autoconf 2.5x stupidity.
7899 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7901 target_configargs
="$target_configargs ${tbaseargs}"
7903 # Passing a --with-cross-host argument lets the target libraries know
7904 # whether they are being built with a cross-compiler or being built
7905 # native. However, it would be better to use other mechanisms to make the
7906 # sorts of decisions they want to make on this basis. Please consider
7907 # this option to be deprecated. FIXME.
7908 if test x
${is_cross_compiler} = xyes
; then
7909 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7912 # Special user-friendly check for native x86_64-linux build, if
7913 # multilib is not explicitly enabled.
7914 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7915 x86_64-
*linux
*:yes:$build:$build:)
7916 # Make sure we have a development environment that handles 32-bit
7918 echo "int main () { return 0; }" > conftest.c
7919 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7920 if test $?
= 0 ; then
7921 if test -s conftest ||
test -s conftest.exe
; then
7926 if test x
${dev64} != xyes
; then
7927 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
7932 # Default to --enable-multilib.
7933 if test x
${enable_multilib} = x
; then
7934 target_configargs
="--enable-multilib ${target_configargs}"
7937 # Pass --with-newlib if appropriate. Note that target_configdirs has
7938 # changed from the earlier setting of with_newlib.
7939 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7940 target_configargs
="--with-newlib ${target_configargs}"
7943 # Different target subdirs use different values of certain variables
7944 # (notably CXX). Worse, multilibs use *lots* of different values.
7945 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7946 # it doesn't automatically accept command-line overrides of them.
7947 # This means it's not safe for target subdirs to share a cache file,
7948 # which is disgusting, but there you have it. Hopefully this can be
7949 # fixed in future. It's still worthwhile to use a cache file for each
7950 # directory. I think.
7952 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7953 # We need to pass --target, as newer autoconf's requires consistency
7954 # for target_alias and gcc doesn't manage it consistently.
7955 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7958 case " $target_configdirs " in
7960 case " $target_configargs " in
7961 *" --with-newlib "*)
7964 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7968 # If we're not building GCC, don't discard standard headers.
7969 if test -d ${srcdir}/gcc
; then
7970 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7972 if test "${build}" != "${host}"; then
7973 # On Canadian crosses, CC_FOR_TARGET will have already been set
7974 # by `configure', so we won't have an opportunity to add -Bgcc/
7975 # to it. This is right: we don't want to search that directory
7976 # for binaries, but we want the header files in there, so add
7978 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7980 # Someone might think of using the pre-installed headers on
7981 # Canadian crosses, in case the installed compiler is not fully
7982 # compatible with the compiler being built. In this case, it
7983 # would be better to flag an error than risking having
7984 # incompatible object files being constructed. We can't
7985 # guarantee that an error will be flagged, but let's hope the
7986 # compiler will do it, when presented with incompatible header
7991 case "${target}-${is_cross_compiler}" in
7992 i
[3456789]86-*-linux*-no)
7993 # Here host == target, so we don't need to build gcc,
7994 # so we don't want to discard standard headers.
7995 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7998 # If we're building newlib, use its generic headers last, but search
7999 # for any libc-related directories first (so make it the last -B
8001 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
8003 # If we're building libgloss, find the startup file, simulator library
8004 # and linker script.
8005 case " $target_configdirs " in
8007 # Look for startup file, simulator library and maybe linker script.
8008 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
8009 # Look for libnosys.a in case the target needs it.
8010 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
8011 # Most targets have the linker script in the source directory.
8012 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
8023 x86_64-
*mingw
* |
*-w64-mingw*)
8024 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
8025 # however, use a symlink named 'mingw' in ${prefix} .
8026 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
8029 # MinGW can't be handled as Cygwin above since it does not use newlib.
8030 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'
8034 # Allow the user to override the flags for
8035 # our build compiler if desired.
8036 if test x
"${build}" = x
"${host}" ; then
8037 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
8038 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
8039 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
8040 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
8043 # On Canadian crosses, we'll be searching the right directories for
8044 # the previously-installed cross compiler, so don't bother to add
8045 # flags for directories within the install tree of the compiler
8046 # being built; programs in there won't even run.
8047 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
8048 # Search for pre-installed headers if nothing else fits.
8049 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
8052 if test "x
${use_gnu_ld}" = x &&
8053 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
8054 # Arrange for us to find uninstalled linker scripts.
8055 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
8058 # Search for other target-specific linker scripts and such.
8061 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
8065 # Makefile fragments.
8066 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
8068 eval fragval=\$$frag
8069 if test $fragval != /dev/null; then
8070 eval $frag=${srcdir}/$fragval
8078 # Miscellanea: directories, flags, etc.
8087 # Build module lists & subconfigure args.
8091 # Host module lists & subconfigure args.
8096 # Target module lists & subconfigure args.
8118 # Generate default definitions for YACC, M4, LEX and other programs that run
8119 # on the build machine. These are used if the Makefile can't locate these
8120 # programs in objdir.
8121 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
8123 for ac_prog in 'bison -y' byacc yacc
8125 # Extract the first word of "$ac_prog", so it can be a program name with args.
8126 set dummy $ac_prog; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8128 $as_echo_n "checking
for $ac_word...
" >&6; }
8129 if ${ac_cv_prog_YACC+:} false; then :
8130 $as_echo_n "(cached
) " >&6
8132 if test -n "$YACC"; then
8133 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_YACC="$ac_prog"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8152 YACC=$ac_cv_prog_YACC
8153 if test -n "$YACC"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
8155 $as_echo "$YACC" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8158 $as_echo "no
" >&6; }
8162 test -n "$YACC" && break
8164 test -n "$YACC" || YACC="$MISSING bison
-y"
8166 case " $build_configdirs " in
8167 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
8170 for ac_prog in bison
8172 # Extract the first word of "$ac_prog", so it can be a program name with args.
8173 set dummy $ac_prog; ac_word=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8175 $as_echo_n "checking
for $ac_word...
" >&6; }
8176 if ${ac_cv_prog_BISON+:} false; then :
8177 $as_echo_n "(cached
) " >&6
8179 if test -n "$BISON"; then
8180 ac_cv_prog_BISON="$BISON" # Let the user override the test.
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8189 ac_cv_prog_BISON="$ac_prog"
8190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8199 BISON=$ac_cv_prog_BISON
8200 if test -n "$BISON"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
8202 $as_echo "$BISON" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8205 $as_echo "no
" >&6; }
8209 test -n "$BISON" && break
8211 test -n "$BISON" || BISON="$MISSING bison
"
8213 case " $build_configdirs " in
8214 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
8217 for ac_prog in gm4 gnum4 m4
8219 # Extract the first word of "$ac_prog", so it can be a program name with args.
8220 set dummy $ac_prog; ac_word=$2
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8222 $as_echo_n "checking
for $ac_word...
" >&6; }
8223 if ${ac_cv_prog_M4+:} false; then :
8224 $as_echo_n "(cached
) " >&6
8226 if test -n "$M4"; then
8227 ac_cv_prog_M4="$M4" # Let the user override the test.
8229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233 test -z "$as_dir" && as_dir=.
8234 for ac_exec_ext in '' $ac_executable_extensions; do
8235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8236 ac_cv_prog_M4="$ac_prog"
8237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8247 if test -n "$M4"; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
8249 $as_echo "$M4" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8252 $as_echo "no
" >&6; }
8256 test -n "$M4" && break
8258 test -n "$M4" || M4="$MISSING m4"
8260 case " $build_configdirs " in
8261 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8264 for ac_prog in flex lex
8266 # Extract the first word of "$ac_prog", so it can be a program name with args.
8267 set dummy $ac_prog; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8269 $as_echo_n "checking
for $ac_word...
" >&6; }
8270 if ${ac_cv_prog_LEX+:} false; then :
8271 $as_echo_n "(cached
) " >&6
8273 if test -n "$LEX"; then
8274 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280 test -z "$as_dir" && as_dir=.
8281 for ac_exec_ext in '' $ac_executable_extensions; do
8282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283 ac_cv_prog_LEX="$ac_prog"
8284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8294 if test -n "$LEX"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8296 $as_echo "$LEX" >&6; }
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8299 $as_echo "no
" >&6; }
8303 test -n "$LEX" && break
8305 test -n "$LEX" || LEX="$MISSING flex
"
8307 case " $build_configdirs " in
8308 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8309 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8314 # Extract the first word of "$ac_prog", so it can be a program name with args.
8315 set dummy $ac_prog; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8317 $as_echo_n "checking
for $ac_word...
" >&6; }
8318 if ${ac_cv_prog_FLEX+:} false; then :
8319 $as_echo_n "(cached
) " >&6
8321 if test -n "$FLEX"; then
8322 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_FLEX="$ac_prog"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8341 FLEX=$ac_cv_prog_FLEX
8342 if test -n "$FLEX"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8344 $as_echo "$FLEX" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8347 $as_echo "no
" >&6; }
8351 test -n "$FLEX" && break
8353 test -n "$FLEX" || FLEX="$MISSING flex
"
8355 case " $build_configdirs " in
8356 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8359 for ac_prog in makeinfo
8361 # Extract the first word of "$ac_prog", so it can be a program name with args.
8362 set dummy $ac_prog; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8364 $as_echo_n "checking
for $ac_word...
" >&6; }
8365 if ${ac_cv_prog_MAKEINFO+:} false; then :
8366 $as_echo_n "(cached
) " >&6
8368 if test -n "$MAKEINFO"; then
8369 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8378 ac_cv_prog_MAKEINFO="$ac_prog"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8388 MAKEINFO=$ac_cv_prog_MAKEINFO
8389 if test -n "$MAKEINFO"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8391 $as_echo "$MAKEINFO" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8394 $as_echo "no
" >&6; }
8398 test -n "$MAKEINFO" && break
8400 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8402 case " $build_configdirs " in
8403 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8406 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8407 # higher, else we use the "missing
" dummy.
8408 if ${MAKEINFO} --version \
8409 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8412 MAKEINFO="$MISSING makeinfo
"
8418 # FIXME: expect and dejagnu may become build tools?
8420 for ac_prog in expect
8422 # Extract the first word of "$ac_prog", so it can be a program name with args.
8423 set dummy $ac_prog; ac_word=$2
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8425 $as_echo_n "checking
for $ac_word...
" >&6; }
8426 if ${ac_cv_prog_EXPECT+:} false; then :
8427 $as_echo_n "(cached
) " >&6
8429 if test -n "$EXPECT"; then
8430 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436 test -z "$as_dir" && as_dir=.
8437 for ac_exec_ext in '' $ac_executable_extensions; do
8438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8439 ac_cv_prog_EXPECT="$ac_prog"
8440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8449 EXPECT=$ac_cv_prog_EXPECT
8450 if test -n "$EXPECT"; then
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8452 $as_echo "$EXPECT" >&6; }
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8455 $as_echo "no
" >&6; }
8459 test -n "$EXPECT" && break
8461 test -n "$EXPECT" || EXPECT="expect
"
8463 case " $configdirs " in
8465 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8469 for ac_prog in runtest
8471 # Extract the first word of "$ac_prog", so it can be a program name with args.
8472 set dummy $ac_prog; ac_word=$2
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8474 $as_echo_n "checking
for $ac_word...
" >&6; }
8475 if ${ac_cv_prog_RUNTEST+:} false; then :
8476 $as_echo_n "(cached
) " >&6
8478 if test -n "$RUNTEST"; then
8479 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8485 test -z "$as_dir" && as_dir=.
8486 for ac_exec_ext in '' $ac_executable_extensions; do
8487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8488 ac_cv_prog_RUNTEST="$ac_prog"
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8498 RUNTEST=$ac_cv_prog_RUNTEST
8499 if test -n "$RUNTEST"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8501 $as_echo "$RUNTEST" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8504 $as_echo "no
" >&6; }
8508 test -n "$RUNTEST" && break
8510 test -n "$RUNTEST" || RUNTEST="runtest
"
8512 case " $configdirs " in
8514 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8521 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8522 ncn_target_tool_prefix=
8523 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8527 if test -n "$AR"; then
8529 elif test -n "$ac_cv_prog_AR"; then
8533 if test -n "$ac_cv_prog_AR"; then
8534 for ncn_progname in ar; do
8535 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8536 set dummy ${ncn_progname}; ac_word=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8538 $as_echo_n "checking
for $ac_word...
" >&6; }
8539 if ${ac_cv_prog_AR+:} false; then :
8540 $as_echo_n "(cached
) " >&6
8542 if test -n "$AR"; then
8543 ac_cv_prog_AR="$AR" # Let the user override the test.
8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8549 test -z "$as_dir" && as_dir=.
8550 for ac_exec_ext in '' $ac_executable_extensions; do
8551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8552 ac_cv_prog_AR="${ncn_progname}"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8563 if test -n "$AR"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8565 $as_echo "$AR" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8568 $as_echo "no
" >&6; }
8575 for ncn_progname in ar; do
8576 if test -n "$ncn_tool_prefix"; then
8577 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8578 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8580 $as_echo_n "checking
for $ac_word...
" >&6; }
8581 if ${ac_cv_prog_AR+:} false; then :
8582 $as_echo_n "(cached
) " >&6
8584 if test -n "$AR"; then
8585 ac_cv_prog_AR="$AR" # Let the user override the test.
8587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8591 test -z "$as_dir" && as_dir=.
8592 for ac_exec_ext in '' $ac_executable_extensions; do
8593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8594 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8605 if test -n "$AR"; then
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8607 $as_echo "$AR" >&6; }
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8610 $as_echo "no
" >&6; }
8615 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8616 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8617 set dummy ${ncn_progname}; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8619 $as_echo_n "checking
for $ac_word...
" >&6; }
8620 if ${ac_cv_prog_AR+:} false; then :
8621 $as_echo_n "(cached
) " >&6
8623 if test -n "$AR"; then
8624 ac_cv_prog_AR="$AR" # Let the user override the test.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8633 ac_cv_prog_AR="${ncn_progname}"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8644 if test -n "$AR"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8646 $as_echo "$AR" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8649 $as_echo "no
" >&6; }
8654 test -n "$ac_cv_prog_AR" && break
8657 if test -z "$ac_cv_prog_AR" ; then
8659 if test $build = $host ; then
8662 AR="${ncn_tool_prefix}$2"
8668 if test -n "$AS"; then
8670 elif test -n "$ac_cv_prog_AS"; then
8674 if test -n "$ac_cv_prog_AS"; then
8675 for ncn_progname in as; do
8676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8677 set dummy ${ncn_progname}; ac_word=$2
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8679 $as_echo_n "checking
for $ac_word...
" >&6; }
8680 if ${ac_cv_prog_AS+:} false; then :
8681 $as_echo_n "(cached
) " >&6
8683 if test -n "$AS"; then
8684 ac_cv_prog_AS="$AS" # Let the user override the test.
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8693 ac_cv_prog_AS="${ncn_progname}"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 if test -n "$AS"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8706 $as_echo "$AS" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8709 $as_echo "no
" >&6; }
8716 for ncn_progname in as; do
8717 if test -n "$ncn_tool_prefix"; then
8718 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8719 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8721 $as_echo_n "checking
for $ac_word...
" >&6; }
8722 if ${ac_cv_prog_AS+:} false; then :
8723 $as_echo_n "(cached
) " >&6
8725 if test -n "$AS"; then
8726 ac_cv_prog_AS="$AS" # Let the user override the test.
8728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8732 test -z "$as_dir" && as_dir=.
8733 for ac_exec_ext in '' $ac_executable_extensions; do
8734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8735 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8746 if test -n "$AS"; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8748 $as_echo "$AS" >&6; }
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8751 $as_echo "no
" >&6; }
8756 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8758 set dummy ${ncn_progname}; ac_word=$2
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8760 $as_echo_n "checking
for $ac_word...
" >&6; }
8761 if ${ac_cv_prog_AS+:} false; then :
8762 $as_echo_n "(cached
) " >&6
8764 if test -n "$AS"; then
8765 ac_cv_prog_AS="$AS" # Let the user override the test.
8767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8771 test -z "$as_dir" && as_dir=.
8772 for ac_exec_ext in '' $ac_executable_extensions; do
8773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8774 ac_cv_prog_AS="${ncn_progname}"
8775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8785 if test -n "$AS"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8787 $as_echo "$AS" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8790 $as_echo "no
" >&6; }
8795 test -n "$ac_cv_prog_AS" && break
8798 if test -z "$ac_cv_prog_AS" ; then
8800 if test $build = $host ; then
8803 AS="${ncn_tool_prefix}$2"
8809 if test -n "$DLLTOOL"; then
8810 ac_cv_prog_DLLTOOL=$DLLTOOL
8811 elif test -n "$ac_cv_prog_DLLTOOL"; then
8812 DLLTOOL=$ac_cv_prog_DLLTOOL
8815 if test -n "$ac_cv_prog_DLLTOOL"; then
8816 for ncn_progname in dlltool; do
8817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8818 set dummy ${ncn_progname}; ac_word=$2
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8820 $as_echo_n "checking
for $ac_word...
" >&6; }
8821 if ${ac_cv_prog_DLLTOOL+:} false; then :
8822 $as_echo_n "(cached
) " >&6
8824 if test -n "$DLLTOOL"; then
8825 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8831 test -z "$as_dir" && as_dir=.
8832 for ac_exec_ext in '' $ac_executable_extensions; do
8833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8834 ac_cv_prog_DLLTOOL="${ncn_progname}"
8835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8844 DLLTOOL=$ac_cv_prog_DLLTOOL
8845 if test -n "$DLLTOOL"; then
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8847 $as_echo "$DLLTOOL" >&6; }
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8850 $as_echo "no
" >&6; }
8857 for ncn_progname in dlltool; do
8858 if test -n "$ncn_tool_prefix"; then
8859 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8860 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8862 $as_echo_n "checking
for $ac_word...
" >&6; }
8863 if ${ac_cv_prog_DLLTOOL+:} false; then :
8864 $as_echo_n "(cached
) " >&6
8866 if test -n "$DLLTOOL"; then
8867 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8873 test -z "$as_dir" && as_dir=.
8874 for ac_exec_ext in '' $ac_executable_extensions; do
8875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8876 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8886 DLLTOOL=$ac_cv_prog_DLLTOOL
8887 if test -n "$DLLTOOL"; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8889 $as_echo "$DLLTOOL" >&6; }
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8892 $as_echo "no
" >&6; }
8897 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8898 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8899 set dummy ${ncn_progname}; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8901 $as_echo_n "checking
for $ac_word...
" >&6; }
8902 if ${ac_cv_prog_DLLTOOL+:} false; then :
8903 $as_echo_n "(cached
) " >&6
8905 if test -n "$DLLTOOL"; then
8906 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8915 ac_cv_prog_DLLTOOL="${ncn_progname}"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8925 DLLTOOL=$ac_cv_prog_DLLTOOL
8926 if test -n "$DLLTOOL"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8928 $as_echo "$DLLTOOL" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8931 $as_echo "no
" >&6; }
8936 test -n "$ac_cv_prog_DLLTOOL" && break
8939 if test -z "$ac_cv_prog_DLLTOOL" ; then
8941 if test $build = $host ; then
8944 DLLTOOL="${ncn_tool_prefix}$2"
8950 if test -n "$LD"; then
8952 elif test -n "$ac_cv_prog_LD"; then
8956 if test -n "$ac_cv_prog_LD"; then
8957 for ncn_progname in ld; do
8958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8959 set dummy ${ncn_progname}; ac_word=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8961 $as_echo_n "checking
for $ac_word...
" >&6; }
8962 if ${ac_cv_prog_LD+:} false; then :
8963 $as_echo_n "(cached
) " >&6
8965 if test -n "$LD"; then
8966 ac_cv_prog_LD="$LD" # Let the user override the test.
8968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8972 test -z "$as_dir" && as_dir=.
8973 for ac_exec_ext in '' $ac_executable_extensions; do
8974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8975 ac_cv_prog_LD="${ncn_progname}"
8976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8986 if test -n "$LD"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8988 $as_echo "$LD" >&6; }
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8991 $as_echo "no
" >&6; }
8998 for ncn_progname in ld; do
8999 if test -n "$ncn_tool_prefix"; then
9000 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9001 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9003 $as_echo_n "checking
for $ac_word...
" >&6; }
9004 if ${ac_cv_prog_LD+:} false; then :
9005 $as_echo_n "(cached
) " >&6
9007 if test -n "$LD"; then
9008 ac_cv_prog_LD="$LD" # Let the user override the test.
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9014 test -z "$as_dir" && as_dir=.
9015 for ac_exec_ext in '' $ac_executable_extensions; do
9016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9017 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
9018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9028 if test -n "$LD"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9030 $as_echo "$LD" >&6; }
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9033 $as_echo "no
" >&6; }
9038 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
9039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9040 set dummy ${ncn_progname}; ac_word=$2
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9042 $as_echo_n "checking
for $ac_word...
" >&6; }
9043 if ${ac_cv_prog_LD+:} false; then :
9044 $as_echo_n "(cached
) " >&6
9046 if test -n "$LD"; then
9047 ac_cv_prog_LD="$LD" # Let the user override the test.
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9056 ac_cv_prog_LD="${ncn_progname}"
9057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9067 if test -n "$LD"; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9069 $as_echo "$LD" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9072 $as_echo "no
" >&6; }
9077 test -n "$ac_cv_prog_LD" && break
9080 if test -z "$ac_cv_prog_LD" ; then
9082 if test $build = $host ; then
9085 LD="${ncn_tool_prefix}$2"
9091 if test -n "$LIPO"; then
9092 ac_cv_prog_LIPO=$LIPO
9093 elif test -n "$ac_cv_prog_LIPO"; then
9094 LIPO=$ac_cv_prog_LIPO
9097 if test -n "$ac_cv_prog_LIPO"; then
9098 for ncn_progname in lipo; do
9099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9100 set dummy ${ncn_progname}; ac_word=$2
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9102 $as_echo_n "checking
for $ac_word...
" >&6; }
9103 if ${ac_cv_prog_LIPO+:} false; then :
9104 $as_echo_n "(cached
) " >&6
9106 if test -n "$LIPO"; then
9107 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113 test -z "$as_dir" && as_dir=.
9114 for ac_exec_ext in '' $ac_executable_extensions; do
9115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9116 ac_cv_prog_LIPO="${ncn_progname}"
9117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9126 LIPO=$ac_cv_prog_LIPO
9127 if test -n "$LIPO"; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9129 $as_echo "$LIPO" >&6; }
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9132 $as_echo "no
" >&6; }
9139 for ncn_progname in lipo; do
9140 if test -n "$ncn_tool_prefix"; then
9141 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9142 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9144 $as_echo_n "checking
for $ac_word...
" >&6; }
9145 if ${ac_cv_prog_LIPO+:} false; then :
9146 $as_echo_n "(cached
) " >&6
9148 if test -n "$LIPO"; then
9149 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155 test -z "$as_dir" && as_dir=.
9156 for ac_exec_ext in '' $ac_executable_extensions; do
9157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9158 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
9159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9168 LIPO=$ac_cv_prog_LIPO
9169 if test -n "$LIPO"; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9171 $as_echo "$LIPO" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9174 $as_echo "no
" >&6; }
9179 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
9180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9181 set dummy ${ncn_progname}; ac_word=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9183 $as_echo_n "checking
for $ac_word...
" >&6; }
9184 if ${ac_cv_prog_LIPO+:} false; then :
9185 $as_echo_n "(cached
) " >&6
9187 if test -n "$LIPO"; then
9188 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9194 test -z "$as_dir" && as_dir=.
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9197 ac_cv_prog_LIPO="${ncn_progname}"
9198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9207 LIPO=$ac_cv_prog_LIPO
9208 if test -n "$LIPO"; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9210 $as_echo "$LIPO" >&6; }
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9213 $as_echo "no
" >&6; }
9218 test -n "$ac_cv_prog_LIPO" && break
9221 if test -z "$ac_cv_prog_LIPO" ; then
9223 if test $build = $host ; then
9226 LIPO="${ncn_tool_prefix}$2"
9232 if test -n "$NM"; then
9234 elif test -n "$ac_cv_prog_NM"; then
9238 if test -n "$ac_cv_prog_NM"; then
9239 for ncn_progname in nm; do
9240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9241 set dummy ${ncn_progname}; ac_word=$2
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9243 $as_echo_n "checking
for $ac_word...
" >&6; }
9244 if ${ac_cv_prog_NM+:} false; then :
9245 $as_echo_n "(cached
) " >&6
9247 if test -n "$NM"; then
9248 ac_cv_prog_NM="$NM" # Let the user override the test.
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir=.
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9257 ac_cv_prog_NM="${ncn_progname}"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9268 if test -n "$NM"; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9270 $as_echo "$NM" >&6; }
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9273 $as_echo "no
" >&6; }
9280 for ncn_progname in nm; do
9281 if test -n "$ncn_tool_prefix"; then
9282 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9283 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9285 $as_echo_n "checking
for $ac_word...
" >&6; }
9286 if ${ac_cv_prog_NM+:} false; then :
9287 $as_echo_n "(cached
) " >&6
9289 if test -n "$NM"; then
9290 ac_cv_prog_NM="$NM" # Let the user override the test.
9292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9296 test -z "$as_dir" && as_dir=.
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9299 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9310 if test -n "$NM"; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9312 $as_echo "$NM" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9315 $as_echo "no
" >&6; }
9320 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9321 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9322 set dummy ${ncn_progname}; ac_word=$2
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9324 $as_echo_n "checking
for $ac_word...
" >&6; }
9325 if ${ac_cv_prog_NM+:} false; then :
9326 $as_echo_n "(cached
) " >&6
9328 if test -n "$NM"; then
9329 ac_cv_prog_NM="$NM" # Let the user override the test.
9331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9335 test -z "$as_dir" && as_dir=.
9336 for ac_exec_ext in '' $ac_executable_extensions; do
9337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9338 ac_cv_prog_NM="${ncn_progname}"
9339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9349 if test -n "$NM"; then
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9351 $as_echo "$NM" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9354 $as_echo "no
" >&6; }
9359 test -n "$ac_cv_prog_NM" && break
9362 if test -z "$ac_cv_prog_NM" ; then
9364 if test $build = $host ; then
9367 NM="${ncn_tool_prefix}$2"
9373 if test -n "$RANLIB"; then
9374 ac_cv_prog_RANLIB=$RANLIB
9375 elif test -n "$ac_cv_prog_RANLIB"; then
9376 RANLIB=$ac_cv_prog_RANLIB
9379 if test -n "$ac_cv_prog_RANLIB"; then
9380 for ncn_progname in ranlib; do
9381 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9382 set dummy ${ncn_progname}; ac_word=$2
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9384 $as_echo_n "checking
for $ac_word...
" >&6; }
9385 if ${ac_cv_prog_RANLIB+:} false; then :
9386 $as_echo_n "(cached
) " >&6
9388 if test -n "$RANLIB"; then
9389 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9395 test -z "$as_dir" && as_dir=.
9396 for ac_exec_ext in '' $ac_executable_extensions; do
9397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9398 ac_cv_prog_RANLIB="${ncn_progname}"
9399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9408 RANLIB=$ac_cv_prog_RANLIB
9409 if test -n "$RANLIB"; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9411 $as_echo "$RANLIB" >&6; }
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9414 $as_echo "no
" >&6; }
9421 for ncn_progname in ranlib; do
9422 if test -n "$ncn_tool_prefix"; then
9423 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9424 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9426 $as_echo_n "checking
for $ac_word...
" >&6; }
9427 if ${ac_cv_prog_RANLIB+:} false; then :
9428 $as_echo_n "(cached
) " >&6
9430 if test -n "$RANLIB"; then
9431 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9437 test -z "$as_dir" && as_dir=.
9438 for ac_exec_ext in '' $ac_executable_extensions; do
9439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9440 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9450 RANLIB=$ac_cv_prog_RANLIB
9451 if test -n "$RANLIB"; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9453 $as_echo "$RANLIB" >&6; }
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9456 $as_echo "no
" >&6; }
9461 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9463 set dummy ${ncn_progname}; ac_word=$2
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9465 $as_echo_n "checking
for $ac_word...
" >&6; }
9466 if ${ac_cv_prog_RANLIB+:} false; then :
9467 $as_echo_n "(cached
) " >&6
9469 if test -n "$RANLIB"; then
9470 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9476 test -z "$as_dir" && as_dir=.
9477 for ac_exec_ext in '' $ac_executable_extensions; do
9478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9479 ac_cv_prog_RANLIB="${ncn_progname}"
9480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9489 RANLIB=$ac_cv_prog_RANLIB
9490 if test -n "$RANLIB"; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9492 $as_echo "$RANLIB" >&6; }
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9495 $as_echo "no
" >&6; }
9500 test -n "$ac_cv_prog_RANLIB" && break
9503 if test -z "$ac_cv_prog_RANLIB" ; then
9509 if test -n "$STRIP"; then
9510 ac_cv_prog_STRIP=$STRIP
9511 elif test -n "$ac_cv_prog_STRIP"; then
9512 STRIP=$ac_cv_prog_STRIP
9515 if test -n "$ac_cv_prog_STRIP"; then
9516 for ncn_progname in strip; do
9517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9518 set dummy ${ncn_progname}; ac_word=$2
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9520 $as_echo_n "checking
for $ac_word...
" >&6; }
9521 if ${ac_cv_prog_STRIP+:} false; then :
9522 $as_echo_n "(cached
) " >&6
9524 if test -n "$STRIP"; then
9525 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9531 test -z "$as_dir" && as_dir=.
9532 for ac_exec_ext in '' $ac_executable_extensions; do
9533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9534 ac_cv_prog_STRIP="${ncn_progname}"
9535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9544 STRIP=$ac_cv_prog_STRIP
9545 if test -n "$STRIP"; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9547 $as_echo "$STRIP" >&6; }
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9550 $as_echo "no
" >&6; }
9557 for ncn_progname in strip; do
9558 if test -n "$ncn_tool_prefix"; then
9559 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9560 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9562 $as_echo_n "checking
for $ac_word...
" >&6; }
9563 if ${ac_cv_prog_STRIP+:} false; then :
9564 $as_echo_n "(cached
) " >&6
9566 if test -n "$STRIP"; then
9567 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573 test -z "$as_dir" && as_dir=.
9574 for ac_exec_ext in '' $ac_executable_extensions; do
9575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9576 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9586 STRIP=$ac_cv_prog_STRIP
9587 if test -n "$STRIP"; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9589 $as_echo "$STRIP" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9592 $as_echo "no
" >&6; }
9597 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9598 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9599 set dummy ${ncn_progname}; ac_word=$2
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9601 $as_echo_n "checking
for $ac_word...
" >&6; }
9602 if ${ac_cv_prog_STRIP+:} false; then :
9603 $as_echo_n "(cached
) " >&6
9605 if test -n "$STRIP"; then
9606 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9612 test -z "$as_dir" && as_dir=.
9613 for ac_exec_ext in '' $ac_executable_extensions; do
9614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9615 ac_cv_prog_STRIP="${ncn_progname}"
9616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9625 STRIP=$ac_cv_prog_STRIP
9626 if test -n "$STRIP"; then
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9628 $as_echo "$STRIP" >&6; }
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9631 $as_echo "no
" >&6; }
9636 test -n "$ac_cv_prog_STRIP" && break
9639 if test -z "$ac_cv_prog_STRIP" ; then
9645 if test -n "$WINDRES"; then
9646 ac_cv_prog_WINDRES=$WINDRES
9647 elif test -n "$ac_cv_prog_WINDRES"; then
9648 WINDRES=$ac_cv_prog_WINDRES
9651 if test -n "$ac_cv_prog_WINDRES"; then
9652 for ncn_progname in windres; do
9653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9654 set dummy ${ncn_progname}; ac_word=$2
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9656 $as_echo_n "checking
for $ac_word...
" >&6; }
9657 if ${ac_cv_prog_WINDRES+:} false; then :
9658 $as_echo_n "(cached
) " >&6
9660 if test -n "$WINDRES"; then
9661 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667 test -z "$as_dir" && as_dir=.
9668 for ac_exec_ext in '' $ac_executable_extensions; do
9669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9670 ac_cv_prog_WINDRES="${ncn_progname}"
9671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9680 WINDRES=$ac_cv_prog_WINDRES
9681 if test -n "$WINDRES"; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9683 $as_echo "$WINDRES" >&6; }
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9686 $as_echo "no
" >&6; }
9693 for ncn_progname in windres; do
9694 if test -n "$ncn_tool_prefix"; then
9695 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9696 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9698 $as_echo_n "checking
for $ac_word...
" >&6; }
9699 if ${ac_cv_prog_WINDRES+:} false; then :
9700 $as_echo_n "(cached
) " >&6
9702 if test -n "$WINDRES"; then
9703 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709 test -z "$as_dir" && as_dir=.
9710 for ac_exec_ext in '' $ac_executable_extensions; do
9711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9712 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9722 WINDRES=$ac_cv_prog_WINDRES
9723 if test -n "$WINDRES"; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9725 $as_echo "$WINDRES" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9728 $as_echo "no
" >&6; }
9733 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9735 set dummy ${ncn_progname}; ac_word=$2
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9737 $as_echo_n "checking
for $ac_word...
" >&6; }
9738 if ${ac_cv_prog_WINDRES+:} false; then :
9739 $as_echo_n "(cached
) " >&6
9741 if test -n "$WINDRES"; then
9742 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9748 test -z "$as_dir" && as_dir=.
9749 for ac_exec_ext in '' $ac_executable_extensions; do
9750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9751 ac_cv_prog_WINDRES="${ncn_progname}"
9752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9761 WINDRES=$ac_cv_prog_WINDRES
9762 if test -n "$WINDRES"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9764 $as_echo "$WINDRES" >&6; }
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9767 $as_echo "no
" >&6; }
9772 test -n "$ac_cv_prog_WINDRES" && break
9775 if test -z "$ac_cv_prog_WINDRES" ; then
9777 if test $build = $host ; then
9780 WINDRES="${ncn_tool_prefix}$2"
9786 if test -n "$WINDMC"; then
9787 ac_cv_prog_WINDMC=$WINDMC
9788 elif test -n "$ac_cv_prog_WINDMC"; then
9789 WINDMC=$ac_cv_prog_WINDMC
9792 if test -n "$ac_cv_prog_WINDMC"; then
9793 for ncn_progname in windmc; do
9794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9795 set dummy ${ncn_progname}; ac_word=$2
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9797 $as_echo_n "checking
for $ac_word...
" >&6; }
9798 if ${ac_cv_prog_WINDMC+:} false; then :
9799 $as_echo_n "(cached
) " >&6
9801 if test -n "$WINDMC"; then
9802 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir=.
9809 for ac_exec_ext in '' $ac_executable_extensions; do
9810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9811 ac_cv_prog_WINDMC="${ncn_progname}"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9821 WINDMC=$ac_cv_prog_WINDMC
9822 if test -n "$WINDMC"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9824 $as_echo "$WINDMC" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9827 $as_echo "no
" >&6; }
9834 for ncn_progname in windmc; do
9835 if test -n "$ncn_tool_prefix"; then
9836 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9837 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9839 $as_echo_n "checking
for $ac_word...
" >&6; }
9840 if ${ac_cv_prog_WINDMC+:} false; then :
9841 $as_echo_n "(cached
) " >&6
9843 if test -n "$WINDMC"; then
9844 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9850 test -z "$as_dir" && as_dir=.
9851 for ac_exec_ext in '' $ac_executable_extensions; do
9852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9853 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9863 WINDMC=$ac_cv_prog_WINDMC
9864 if test -n "$WINDMC"; then
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9866 $as_echo "$WINDMC" >&6; }
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9869 $as_echo "no
" >&6; }
9874 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9876 set dummy ${ncn_progname}; ac_word=$2
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9878 $as_echo_n "checking
for $ac_word...
" >&6; }
9879 if ${ac_cv_prog_WINDMC+:} false; then :
9880 $as_echo_n "(cached
) " >&6
9882 if test -n "$WINDMC"; then
9883 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9889 test -z "$as_dir" && as_dir=.
9890 for ac_exec_ext in '' $ac_executable_extensions; do
9891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9892 ac_cv_prog_WINDMC="${ncn_progname}"
9893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9902 WINDMC=$ac_cv_prog_WINDMC
9903 if test -n "$WINDMC"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9905 $as_echo "$WINDMC" >&6; }
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9908 $as_echo "no
" >&6; }
9913 test -n "$ac_cv_prog_WINDMC" && break
9916 if test -z "$ac_cv_prog_WINDMC" ; then
9918 if test $build = $host ; then
9921 WINDMC="${ncn_tool_prefix}$2"
9927 if test -n "$OBJCOPY"; then
9928 ac_cv_prog_OBJCOPY=$OBJCOPY
9929 elif test -n "$ac_cv_prog_OBJCOPY"; then
9930 OBJCOPY=$ac_cv_prog_OBJCOPY
9933 if test -n "$ac_cv_prog_OBJCOPY"; then
9934 for ncn_progname in objcopy; do
9935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9936 set dummy ${ncn_progname}; ac_word=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9938 $as_echo_n "checking
for $ac_word...
" >&6; }
9939 if ${ac_cv_prog_OBJCOPY+:} false; then :
9940 $as_echo_n "(cached
) " >&6
9942 if test -n "$OBJCOPY"; then
9943 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952 ac_cv_prog_OBJCOPY="${ncn_progname}"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9962 OBJCOPY=$ac_cv_prog_OBJCOPY
9963 if test -n "$OBJCOPY"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9965 $as_echo "$OBJCOPY" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9968 $as_echo "no
" >&6; }
9975 for ncn_progname in objcopy; do
9976 if test -n "$ncn_tool_prefix"; then
9977 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9978 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9980 $as_echo_n "checking
for $ac_word...
" >&6; }
9981 if ${ac_cv_prog_OBJCOPY+:} false; then :
9982 $as_echo_n "(cached
) " >&6
9984 if test -n "$OBJCOPY"; then
9985 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9991 test -z "$as_dir" && as_dir=.
9992 for ac_exec_ext in '' $ac_executable_extensions; do
9993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9994 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10004 OBJCOPY=$ac_cv_prog_OBJCOPY
10005 if test -n "$OBJCOPY"; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10007 $as_echo "$OBJCOPY" >&6; }
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10010 $as_echo "no
" >&6; }
10015 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
10016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10017 set dummy ${ncn_progname}; ac_word=$2
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10019 $as_echo_n "checking
for $ac_word...
" >&6; }
10020 if ${ac_cv_prog_OBJCOPY+:} false; then :
10021 $as_echo_n "(cached
) " >&6
10023 if test -n "$OBJCOPY"; then
10024 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10030 test -z "$as_dir" && as_dir=.
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10033 ac_cv_prog_OBJCOPY="${ncn_progname}"
10034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10043 OBJCOPY=$ac_cv_prog_OBJCOPY
10044 if test -n "$OBJCOPY"; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10046 $as_echo "$OBJCOPY" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10049 $as_echo "no
" >&6; }
10054 test -n "$ac_cv_prog_OBJCOPY" && break
10057 if test -z "$ac_cv_prog_OBJCOPY" ; then
10059 if test $build = $host ; then
10062 OBJCOPY="${ncn_tool_prefix}$2"
10068 if test -n "$OBJDUMP"; then
10069 ac_cv_prog_OBJDUMP=$OBJDUMP
10070 elif test -n "$ac_cv_prog_OBJDUMP"; then
10071 OBJDUMP=$ac_cv_prog_OBJDUMP
10074 if test -n "$ac_cv_prog_OBJDUMP"; then
10075 for ncn_progname in objdump; do
10076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10077 set dummy ${ncn_progname}; ac_word=$2
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10079 $as_echo_n "checking
for $ac_word...
" >&6; }
10080 if ${ac_cv_prog_OBJDUMP+:} false; then :
10081 $as_echo_n "(cached
) " >&6
10083 if test -n "$OBJDUMP"; then
10084 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087 for as_dir in $PATH
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10093 ac_cv_prog_OBJDUMP="${ncn_progname}"
10094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10103 OBJDUMP=$ac_cv_prog_OBJDUMP
10104 if test -n "$OBJDUMP"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10106 $as_echo "$OBJDUMP" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10109 $as_echo "no
" >&6; }
10116 for ncn_progname in objdump; do
10117 if test -n "$ncn_tool_prefix"; then
10118 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10119 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10121 $as_echo_n "checking
for $ac_word...
" >&6; }
10122 if ${ac_cv_prog_OBJDUMP+:} false; then :
10123 $as_echo_n "(cached
) " >&6
10125 if test -n "$OBJDUMP"; then
10126 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10129 for as_dir in $PATH
10132 test -z "$as_dir" && as_dir=.
10133 for ac_exec_ext in '' $ac_executable_extensions; do
10134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10135 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
10136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10145 OBJDUMP=$ac_cv_prog_OBJDUMP
10146 if test -n "$OBJDUMP"; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10148 $as_echo "$OBJDUMP" >&6; }
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10151 $as_echo "no
" >&6; }
10156 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
10157 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10158 set dummy ${ncn_progname}; ac_word=$2
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10160 $as_echo_n "checking
for $ac_word...
" >&6; }
10161 if ${ac_cv_prog_OBJDUMP+:} false; then :
10162 $as_echo_n "(cached
) " >&6
10164 if test -n "$OBJDUMP"; then
10165 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10168 for as_dir in $PATH
10171 test -z "$as_dir" && as_dir=.
10172 for ac_exec_ext in '' $ac_executable_extensions; do
10173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10174 ac_cv_prog_OBJDUMP="${ncn_progname}"
10175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10184 OBJDUMP=$ac_cv_prog_OBJDUMP
10185 if test -n "$OBJDUMP"; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10187 $as_echo "$OBJDUMP" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10190 $as_echo "no
" >&6; }
10195 test -n "$ac_cv_prog_OBJDUMP" && break
10198 if test -z "$ac_cv_prog_OBJDUMP" ; then
10200 if test $build = $host ; then
10203 OBJDUMP="${ncn_tool_prefix}$2"
10209 if test -n "$READELF"; then
10210 ac_cv_prog_READELF=$READELF
10211 elif test -n "$ac_cv_prog_READELF"; then
10212 READELF=$ac_cv_prog_READELF
10215 if test -n "$ac_cv_prog_READELF"; then
10216 for ncn_progname in readelf; do
10217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10218 set dummy ${ncn_progname}; ac_word=$2
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10220 $as_echo_n "checking
for $ac_word...
" >&6; }
10221 if ${ac_cv_prog_READELF+:} false; then :
10222 $as_echo_n "(cached
) " >&6
10224 if test -n "$READELF"; then
10225 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10228 for as_dir in $PATH
10231 test -z "$as_dir" && as_dir=.
10232 for ac_exec_ext in '' $ac_executable_extensions; do
10233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10234 ac_cv_prog_READELF="${ncn_progname}"
10235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10244 READELF=$ac_cv_prog_READELF
10245 if test -n "$READELF"; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10247 $as_echo "$READELF" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10250 $as_echo "no
" >&6; }
10257 for ncn_progname in readelf; do
10258 if test -n "$ncn_tool_prefix"; then
10259 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10260 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10262 $as_echo_n "checking
for $ac_word...
" >&6; }
10263 if ${ac_cv_prog_READELF+:} false; then :
10264 $as_echo_n "(cached
) " >&6
10266 if test -n "$READELF"; then
10267 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10270 for as_dir in $PATH
10273 test -z "$as_dir" && as_dir=.
10274 for ac_exec_ext in '' $ac_executable_extensions; do
10275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10276 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10286 READELF=$ac_cv_prog_READELF
10287 if test -n "$READELF"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10289 $as_echo "$READELF" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10292 $as_echo "no
" >&6; }
10297 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10299 set dummy ${ncn_progname}; ac_word=$2
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10301 $as_echo_n "checking
for $ac_word...
" >&6; }
10302 if ${ac_cv_prog_READELF+:} false; then :
10303 $as_echo_n "(cached
) " >&6
10305 if test -n "$READELF"; then
10306 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10309 for as_dir in $PATH
10312 test -z "$as_dir" && as_dir=.
10313 for ac_exec_ext in '' $ac_executable_extensions; do
10314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10315 ac_cv_prog_READELF="${ncn_progname}"
10316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10325 READELF=$ac_cv_prog_READELF
10326 if test -n "$READELF"; then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10328 $as_echo "$READELF" >&6; }
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10331 $as_echo "no
" >&6; }
10336 test -n "$ac_cv_prog_READELF" && break
10339 if test -z "$ac_cv_prog_READELF" ; then
10341 if test $build = $host ; then
10344 READELF="${ncn_tool_prefix}$2"
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
10355 $as_echo_n "checking
for -plugin option...
" >&6; }
10357 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
10359 for plugin in $plugin_names; do
10360 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
10361 if test x$plugin_so = x$plugin; then
10362 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
10364 if test x$plugin_so != x$plugin; then
10365 plugin_option="--plugin $plugin_so"
10369 if test -n "$ac_tool_prefix"; then
10370 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10371 set dummy ${ac_tool_prefix}ar; ac_word=$2
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10373 $as_echo_n "checking
for $ac_word...
" >&6; }
10374 if ${ac_cv_prog_AR+:} false; then :
10375 $as_echo_n "(cached
) " >&6
10377 if test -n "$AR"; then
10378 ac_cv_prog_AR="$AR" # Let the user override the test.
10380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 for as_dir in $PATH
10384 test -z "$as_dir" && as_dir=.
10385 for ac_exec_ext in '' $ac_executable_extensions; do
10386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10387 ac_cv_prog_AR="${ac_tool_prefix}ar"
10388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10398 if test -n "$AR"; then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10400 $as_echo "$AR" >&6; }
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10403 $as_echo "no
" >&6; }
10408 if test -z "$ac_cv_prog_AR"; then
10410 # Extract the first word of "ar", so it can be a program name with args.
10411 set dummy ar; ac_word=$2
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10413 $as_echo_n "checking
for $ac_word...
" >&6; }
10414 if ${ac_cv_prog_ac_ct_AR+:} false; then :
10415 $as_echo_n "(cached
) " >&6
10417 if test -n "$ac_ct_AR"; then
10418 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10421 for as_dir in $PATH
10424 test -z "$as_dir" && as_dir=.
10425 for ac_exec_ext in '' $ac_executable_extensions; do
10426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10427 ac_cv_prog_ac_ct_AR="ar"
10428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10437 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10438 if test -n "$ac_ct_AR"; then
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
10440 $as_echo "$ac_ct_AR" >&6; }
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10443 $as_echo "no
" >&6; }
10446 if test "x
$ac_ct_AR" = x; then
10449 case $cross_compiling:$ac_tool_warned in
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10452 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10453 ac_tool_warned=yes ;;
10458 AR="$ac_cv_prog_AR"
10461 if test "${AR}" = "" ; then
10462 as_fn_error $? "Required archive tool
'ar' not found on PATH.
" "$LINENO" 5
10465 ${AR} $plugin_option rc conftest.a conftest.c
10466 if test "$?
" != 0; then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
10468 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
10472 if test -n "$plugin_option"; then
10473 PLUGIN_OPTION="$plugin_option"
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
10475 $as_echo "$plugin_option" >&6; }
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10478 $as_echo "no
" >&6; }
10482 RANLIB_PLUGIN_OPTION=
10483 if test -n "$PLUGIN_OPTION"; then
10484 if $AR --help 2>&1 | grep -q "\
--plugin"; then
10485 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
10487 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
10488 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
10491 if test "$enable_pgo_build" != "no
"; then
10492 as_fn_error $? "AR with
--plugin and rc is required
for LTO build
" "$LINENO" 5
10500 # Check whether --with-build-time-tools was given.
10501 if test "${with_build_time_tools+set}" = set; then :
10502 withval=$with_build_time_tools; case x"$withval" in
10505 with_build_time_tools=
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10507 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10511 with_build_time_tools=
10517 if test -n "$CC_FOR_TARGET"; then
10518 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10519 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10520 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10523 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10524 for ncn_progname in cc gcc; do
10525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10526 set dummy ${ncn_progname}; ac_word=$2
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10528 $as_echo_n "checking
for $ac_word...
" >&6; }
10529 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10530 $as_echo_n "(cached
) " >&6
10532 if test -n "$CC_FOR_TARGET"; then
10533 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10539 test -z "$as_dir" && as_dir=.
10540 for ac_exec_ext in '' $ac_executable_extensions; do
10541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10542 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10552 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10553 if test -n "$CC_FOR_TARGET"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10555 $as_echo "$CC_FOR_TARGET" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10558 $as_echo "no
" >&6; }
10565 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10566 for ncn_progname in cc gcc; do
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10568 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10569 if test -x $with_build_time_tools/${ncn_progname}; then
10570 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10572 $as_echo "yes" >&6; }
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10576 $as_echo "no
" >&6; }
10581 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10582 for ncn_progname in cc gcc; do
10583 if test -n "$ncn_target_tool_prefix"; then
10584 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10585 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10587 $as_echo_n "checking
for $ac_word...
" >&6; }
10588 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10589 $as_echo_n "(cached
) " >&6
10591 if test -n "$CC_FOR_TARGET"; then
10592 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10595 for as_dir in $PATH
10598 test -z "$as_dir" && as_dir=.
10599 for ac_exec_ext in '' $ac_executable_extensions; do
10600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10601 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10611 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10612 if test -n "$CC_FOR_TARGET"; then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10614 $as_echo "$CC_FOR_TARGET" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10617 $as_echo "no
" >&6; }
10622 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10623 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10624 set dummy ${ncn_progname}; ac_word=$2
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10626 $as_echo_n "checking
for $ac_word...
" >&6; }
10627 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10628 $as_echo_n "(cached
) " >&6
10630 if test -n "$CC_FOR_TARGET"; then
10631 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10634 for as_dir in $PATH
10637 test -z "$as_dir" && as_dir=.
10638 for ac_exec_ext in '' $ac_executable_extensions; do
10639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10640 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10650 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10651 if test -n "$CC_FOR_TARGET"; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10653 $as_echo "$CC_FOR_TARGET" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10656 $as_echo "no
" >&6; }
10661 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10665 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10667 if test $build = $target ; then
10670 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10673 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10678 if test -n "$CXX_FOR_TARGET"; then
10679 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10680 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10681 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10684 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10685 for ncn_progname in c++ g++ cxx gxx; do
10686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10687 set dummy ${ncn_progname}; ac_word=$2
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10689 $as_echo_n "checking
for $ac_word...
" >&6; }
10690 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10691 $as_echo_n "(cached
) " >&6
10693 if test -n "$CXX_FOR_TARGET"; then
10694 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10697 for as_dir in $PATH
10700 test -z "$as_dir" && as_dir=.
10701 for ac_exec_ext in '' $ac_executable_extensions; do
10702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10703 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10713 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10714 if test -n "$CXX_FOR_TARGET"; then
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10716 $as_echo "$CXX_FOR_TARGET" >&6; }
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10719 $as_echo "no
" >&6; }
10726 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10727 for ncn_progname in c++ g++ cxx gxx; do
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10729 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10730 if test -x $with_build_time_tools/${ncn_progname}; then
10731 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10733 $as_echo "yes" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10737 $as_echo "no
" >&6; }
10742 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10743 for ncn_progname in c++ g++ cxx gxx; do
10744 if test -n "$ncn_target_tool_prefix"; then
10745 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10746 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10748 $as_echo_n "checking
for $ac_word...
" >&6; }
10749 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10750 $as_echo_n "(cached
) " >&6
10752 if test -n "$CXX_FOR_TARGET"; then
10753 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10759 test -z "$as_dir" && as_dir=.
10760 for ac_exec_ext in '' $ac_executable_extensions; do
10761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10772 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10773 if test -n "$CXX_FOR_TARGET"; then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10775 $as_echo "$CXX_FOR_TARGET" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10778 $as_echo "no
" >&6; }
10783 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10784 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10785 set dummy ${ncn_progname}; ac_word=$2
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10787 $as_echo_n "checking
for $ac_word...
" >&6; }
10788 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10789 $as_echo_n "(cached
) " >&6
10791 if test -n "$CXX_FOR_TARGET"; then
10792 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in $PATH
10798 test -z "$as_dir" && as_dir=.
10799 for ac_exec_ext in '' $ac_executable_extensions; do
10800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10801 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10811 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10812 if test -n "$CXX_FOR_TARGET"; then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10814 $as_echo "$CXX_FOR_TARGET" >&6; }
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10817 $as_echo "no
" >&6; }
10822 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10826 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10827 set dummy c++ g++ cxx gxx
10828 if test $build = $target ; then
10829 CXX_FOR_TARGET="$2"
10831 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10834 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10839 if test -n "$GCC_FOR_TARGET"; then
10840 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10841 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10842 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10845 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10846 for ncn_progname in gcc; do
10847 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10848 set dummy ${ncn_progname}; ac_word=$2
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10850 $as_echo_n "checking
for $ac_word...
" >&6; }
10851 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10852 $as_echo_n "(cached
) " >&6
10854 if test -n "$GCC_FOR_TARGET"; then
10855 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10858 for as_dir in $PATH
10861 test -z "$as_dir" && as_dir=.
10862 for ac_exec_ext in '' $ac_executable_extensions; do
10863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10865 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10874 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10875 if test -n "$GCC_FOR_TARGET"; then
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10877 $as_echo "$GCC_FOR_TARGET" >&6; }
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10880 $as_echo "no
" >&6; }
10887 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10888 for ncn_progname in gcc; do
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10890 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10891 if test -x $with_build_time_tools/${ncn_progname}; then
10892 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10894 $as_echo "yes" >&6; }
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10898 $as_echo "no
" >&6; }
10903 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10904 for ncn_progname in gcc; do
10905 if test -n "$ncn_target_tool_prefix"; then
10906 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10907 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10909 $as_echo_n "checking
for $ac_word...
" >&6; }
10910 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10911 $as_echo_n "(cached
) " >&6
10913 if test -n "$GCC_FOR_TARGET"; then
10914 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10917 for as_dir in $PATH
10920 test -z "$as_dir" && as_dir=.
10921 for ac_exec_ext in '' $ac_executable_extensions; do
10922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10923 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10933 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10934 if test -n "$GCC_FOR_TARGET"; then
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10936 $as_echo "$GCC_FOR_TARGET" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10939 $as_echo "no
" >&6; }
10944 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10946 set dummy ${ncn_progname}; ac_word=$2
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10948 $as_echo_n "checking
for $ac_word...
" >&6; }
10949 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10950 $as_echo_n "(cached
) " >&6
10952 if test -n "$GCC_FOR_TARGET"; then
10953 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10959 test -z "$as_dir" && as_dir=.
10960 for ac_exec_ext in '' $ac_executable_extensions; do
10961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10962 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10972 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10973 if test -n "$GCC_FOR_TARGET"; then
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10975 $as_echo "$GCC_FOR_TARGET" >&6; }
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10978 $as_echo "no
" >&6; }
10983 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10987 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10988 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10990 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10995 if test -n "$GFORTRAN_FOR_TARGET"; then
10996 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10997 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10998 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11001 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
11002 for ncn_progname in gfortran; do
11003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11004 set dummy ${ncn_progname}; ac_word=$2
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11006 $as_echo_n "checking
for $ac_word...
" >&6; }
11007 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11008 $as_echo_n "(cached
) " >&6
11010 if test -n "$GFORTRAN_FOR_TARGET"; then
11011 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11014 for as_dir in $PATH
11017 test -z "$as_dir" && as_dir=.
11018 for ac_exec_ext in '' $ac_executable_extensions; do
11019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11020 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11030 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11031 if test -n "$GFORTRAN_FOR_TARGET"; then
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11033 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11036 $as_echo "no
" >&6; }
11043 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
11044 for ncn_progname in gfortran; do
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11046 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11047 if test -x $with_build_time_tools/${ncn_progname}; then
11048 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11050 $as_echo "yes" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11054 $as_echo "no
" >&6; }
11059 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
11060 for ncn_progname in gfortran; do
11061 if test -n "$ncn_target_tool_prefix"; then
11062 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11063 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11065 $as_echo_n "checking
for $ac_word...
" >&6; }
11066 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11067 $as_echo_n "(cached
) " >&6
11069 if test -n "$GFORTRAN_FOR_TARGET"; then
11070 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11073 for as_dir in $PATH
11076 test -z "$as_dir" && as_dir=.
11077 for ac_exec_ext in '' $ac_executable_extensions; do
11078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11079 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11089 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11090 if test -n "$GFORTRAN_FOR_TARGET"; then
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11092 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11095 $as_echo "no
" >&6; }
11100 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
11101 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11102 set dummy ${ncn_progname}; ac_word=$2
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11104 $as_echo_n "checking
for $ac_word...
" >&6; }
11105 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11106 $as_echo_n "(cached
) " >&6
11108 if test -n "$GFORTRAN_FOR_TARGET"; then
11109 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11112 for as_dir in $PATH
11115 test -z "$as_dir" && as_dir=.
11116 for ac_exec_ext in '' $ac_executable_extensions; do
11117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11118 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11128 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11129 if test -n "$GFORTRAN_FOR_TARGET"; then
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11131 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11134 $as_echo "no
" >&6; }
11139 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
11143 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
11145 if test $build = $target ; then
11146 GFORTRAN_FOR_TARGET="$2"
11148 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
11151 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
11156 if test -n "$GOC_FOR_TARGET"; then
11157 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
11158 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11159 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11162 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11163 for ncn_progname in gccgo; do
11164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11165 set dummy ${ncn_progname}; ac_word=$2
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11167 $as_echo_n "checking
for $ac_word...
" >&6; }
11168 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11169 $as_echo_n "(cached
) " >&6
11171 if test -n "$GOC_FOR_TARGET"; then
11172 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11175 for as_dir in $PATH
11178 test -z "$as_dir" && as_dir=.
11179 for ac_exec_ext in '' $ac_executable_extensions; do
11180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11181 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11191 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11192 if test -n "$GOC_FOR_TARGET"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11194 $as_echo "$GOC_FOR_TARGET" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11197 $as_echo "no
" >&6; }
11204 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11205 for ncn_progname in gccgo; do
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11207 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11208 if test -x $with_build_time_tools/${ncn_progname}; then
11209 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11211 $as_echo "yes" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11215 $as_echo "no
" >&6; }
11220 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
11221 for ncn_progname in gccgo; do
11222 if test -n "$ncn_target_tool_prefix"; then
11223 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11224 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11226 $as_echo_n "checking
for $ac_word...
" >&6; }
11227 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11228 $as_echo_n "(cached
) " >&6
11230 if test -n "$GOC_FOR_TARGET"; then
11231 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11234 for as_dir in $PATH
11237 test -z "$as_dir" && as_dir=.
11238 for ac_exec_ext in '' $ac_executable_extensions; do
11239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11240 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11250 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11251 if test -n "$GOC_FOR_TARGET"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11253 $as_echo "$GOC_FOR_TARGET" >&6; }
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11256 $as_echo "no
" >&6; }
11261 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11263 set dummy ${ncn_progname}; ac_word=$2
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11265 $as_echo_n "checking
for $ac_word...
" >&6; }
11266 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11267 $as_echo_n "(cached
) " >&6
11269 if test -n "$GOC_FOR_TARGET"; then
11270 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11273 for as_dir in $PATH
11276 test -z "$as_dir" && as_dir=.
11277 for ac_exec_ext in '' $ac_executable_extensions; do
11278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11279 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11289 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11290 if test -n "$GOC_FOR_TARGET"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11292 $as_echo "$GOC_FOR_TARGET" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11295 $as_echo "no
" >&6; }
11300 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11304 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11306 if test $build = $target ; then
11307 GOC_FOR_TARGET="$2"
11309 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11312 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11317 cat > conftest.c << \EOF
11322 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11323 have_gcc_for_target=yes
11325 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11326 have_gcc_for_target=no
11333 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11334 if test -n "$with_build_time_tools"; then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11336 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11337 if test -x $with_build_time_tools/ar; then
11338 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11339 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11341 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11344 $as_echo "no
" >&6; }
11346 elif test $build != $host && test $have_gcc_for_target = yes; then
11347 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11348 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11349 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11352 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11353 # Extract the first word of "ar", so it can be a program name with args.
11354 set dummy ar; ac_word=$2
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11356 $as_echo_n "checking
for $ac_word...
" >&6; }
11357 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11358 $as_echo_n "(cached
) " >&6
11360 case $AR_FOR_TARGET in
11362 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11366 for as_dir in $gcc_cv_tool_dirs
11369 test -z "$as_dir" && as_dir=.
11370 for ac_exec_ext in '' $ac_executable_extensions; do
11371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11372 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11383 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11384 if test -n "$AR_FOR_TARGET"; then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11386 $as_echo "$AR_FOR_TARGET" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11389 $as_echo "no
" >&6; }
11394 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11397 if test -n "$AR_FOR_TARGET"; then
11398 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11399 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11400 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11403 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11404 for ncn_progname in ar; do
11405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11406 set dummy ${ncn_progname}; ac_word=$2
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11408 $as_echo_n "checking
for $ac_word...
" >&6; }
11409 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11410 $as_echo_n "(cached
) " >&6
11412 if test -n "$AR_FOR_TARGET"; then
11413 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11416 for as_dir in $PATH
11419 test -z "$as_dir" && as_dir=.
11420 for ac_exec_ext in '' $ac_executable_extensions; do
11421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11422 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11432 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11433 if test -n "$AR_FOR_TARGET"; then
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11435 $as_echo "$AR_FOR_TARGET" >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11438 $as_echo "no
" >&6; }
11445 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11446 for ncn_progname in ar; do
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11448 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11449 if test -x $with_build_time_tools/${ncn_progname}; then
11450 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11452 $as_echo "yes" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11456 $as_echo "no
" >&6; }
11461 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11462 for ncn_progname in ar; do
11463 if test -n "$ncn_target_tool_prefix"; then
11464 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11465 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11467 $as_echo_n "checking
for $ac_word...
" >&6; }
11468 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11469 $as_echo_n "(cached
) " >&6
11471 if test -n "$AR_FOR_TARGET"; then
11472 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11475 for as_dir in $PATH
11478 test -z "$as_dir" && as_dir=.
11479 for ac_exec_ext in '' $ac_executable_extensions; do
11480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11481 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11491 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11492 if test -n "$AR_FOR_TARGET"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11494 $as_echo "$AR_FOR_TARGET" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11497 $as_echo "no
" >&6; }
11502 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11504 set dummy ${ncn_progname}; ac_word=$2
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11506 $as_echo_n "checking
for $ac_word...
" >&6; }
11507 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11508 $as_echo_n "(cached
) " >&6
11510 if test -n "$AR_FOR_TARGET"; then
11511 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11514 for as_dir in $PATH
11517 test -z "$as_dir" && as_dir=.
11518 for ac_exec_ext in '' $ac_executable_extensions; do
11519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11520 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11530 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11531 if test -n "$AR_FOR_TARGET"; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11533 $as_echo "$AR_FOR_TARGET" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11536 $as_echo "no
" >&6; }
11541 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11545 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11547 if test $build = $target ; then
11550 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11553 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11557 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11563 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11564 if test -n "$with_build_time_tools"; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11566 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11567 if test -x $with_build_time_tools/as; then
11568 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11569 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11571 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11574 $as_echo "no
" >&6; }
11576 elif test $build != $host && test $have_gcc_for_target = yes; then
11577 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11578 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11579 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11582 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11583 # Extract the first word of "as
", so it can be a program name with args.
11584 set dummy as; ac_word=$2
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11586 $as_echo_n "checking
for $ac_word...
" >&6; }
11587 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11588 $as_echo_n "(cached
) " >&6
11590 case $AS_FOR_TARGET in
11592 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596 for as_dir in $gcc_cv_tool_dirs
11599 test -z "$as_dir" && as_dir=.
11600 for ac_exec_ext in '' $ac_executable_extensions; do
11601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11602 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11613 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11614 if test -n "$AS_FOR_TARGET"; then
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11616 $as_echo "$AS_FOR_TARGET" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11619 $as_echo "no
" >&6; }
11624 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11627 if test -n "$AS_FOR_TARGET"; then
11628 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11629 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11630 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11633 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11634 for ncn_progname in as; do
11635 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11636 set dummy ${ncn_progname}; ac_word=$2
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11638 $as_echo_n "checking
for $ac_word...
" >&6; }
11639 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11640 $as_echo_n "(cached
) " >&6
11642 if test -n "$AS_FOR_TARGET"; then
11643 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11646 for as_dir in $PATH
11649 test -z "$as_dir" && as_dir=.
11650 for ac_exec_ext in '' $ac_executable_extensions; do
11651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11652 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11662 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11663 if test -n "$AS_FOR_TARGET"; then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11665 $as_echo "$AS_FOR_TARGET" >&6; }
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11668 $as_echo "no
" >&6; }
11675 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11676 for ncn_progname in as; do
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11678 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11679 if test -x $with_build_time_tools/${ncn_progname}; then
11680 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11682 $as_echo "yes" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11686 $as_echo "no
" >&6; }
11691 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11692 for ncn_progname in as; do
11693 if test -n "$ncn_target_tool_prefix"; then
11694 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11695 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11697 $as_echo_n "checking
for $ac_word...
" >&6; }
11698 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11699 $as_echo_n "(cached
) " >&6
11701 if test -n "$AS_FOR_TARGET"; then
11702 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11705 for as_dir in $PATH
11708 test -z "$as_dir" && as_dir=.
11709 for ac_exec_ext in '' $ac_executable_extensions; do
11710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11711 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11721 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11722 if test -n "$AS_FOR_TARGET"; then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11724 $as_echo "$AS_FOR_TARGET" >&6; }
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11727 $as_echo "no
" >&6; }
11732 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11734 set dummy ${ncn_progname}; ac_word=$2
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11736 $as_echo_n "checking
for $ac_word...
" >&6; }
11737 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11738 $as_echo_n "(cached
) " >&6
11740 if test -n "$AS_FOR_TARGET"; then
11741 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11744 for as_dir in $PATH
11747 test -z "$as_dir" && as_dir=.
11748 for ac_exec_ext in '' $ac_executable_extensions; do
11749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11750 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11760 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11761 if test -n "$AS_FOR_TARGET"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11763 $as_echo "$AS_FOR_TARGET" >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11766 $as_echo "no
" >&6; }
11771 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11775 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11777 if test $build = $target ; then
11780 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11783 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11787 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11793 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11794 if test -n "$with_build_time_tools"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11796 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11797 if test -x $with_build_time_tools/dlltool; then
11798 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11799 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11801 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11804 $as_echo "no
" >&6; }
11806 elif test $build != $host && test $have_gcc_for_target = yes; then
11807 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11808 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11809 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11812 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11813 # Extract the first word of "dlltool
", so it can be a program name with args.
11814 set dummy dlltool; ac_word=$2
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11816 $as_echo_n "checking
for $ac_word...
" >&6; }
11817 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11818 $as_echo_n "(cached
) " >&6
11820 case $DLLTOOL_FOR_TARGET in
11822 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11826 for as_dir in $gcc_cv_tool_dirs
11829 test -z "$as_dir" && as_dir=.
11830 for ac_exec_ext in '' $ac_executable_extensions; do
11831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11832 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11843 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11844 if test -n "$DLLTOOL_FOR_TARGET"; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11846 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11849 $as_echo "no
" >&6; }
11854 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11857 if test -n "$DLLTOOL_FOR_TARGET"; then
11858 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11859 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11860 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11863 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11864 for ncn_progname in dlltool; do
11865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11866 set dummy ${ncn_progname}; ac_word=$2
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11868 $as_echo_n "checking
for $ac_word...
" >&6; }
11869 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11870 $as_echo_n "(cached
) " >&6
11872 if test -n "$DLLTOOL_FOR_TARGET"; then
11873 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11876 for as_dir in $PATH
11879 test -z "$as_dir" && as_dir=.
11880 for ac_exec_ext in '' $ac_executable_extensions; do
11881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11882 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11892 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11893 if test -n "$DLLTOOL_FOR_TARGET"; then
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11895 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11898 $as_echo "no
" >&6; }
11905 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11906 for ncn_progname in dlltool; do
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11908 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11909 if test -x $with_build_time_tools/${ncn_progname}; then
11910 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11912 $as_echo "yes" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11916 $as_echo "no
" >&6; }
11921 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11922 for ncn_progname in dlltool; do
11923 if test -n "$ncn_target_tool_prefix"; then
11924 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11925 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11927 $as_echo_n "checking
for $ac_word...
" >&6; }
11928 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11929 $as_echo_n "(cached
) " >&6
11931 if test -n "$DLLTOOL_FOR_TARGET"; then
11932 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11935 for as_dir in $PATH
11938 test -z "$as_dir" && as_dir=.
11939 for ac_exec_ext in '' $ac_executable_extensions; do
11940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11941 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11951 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11952 if test -n "$DLLTOOL_FOR_TARGET"; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11954 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11957 $as_echo "no
" >&6; }
11962 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11964 set dummy ${ncn_progname}; ac_word=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11966 $as_echo_n "checking
for $ac_word...
" >&6; }
11967 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11968 $as_echo_n "(cached
) " >&6
11970 if test -n "$DLLTOOL_FOR_TARGET"; then
11971 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11980 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11990 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11991 if test -n "$DLLTOOL_FOR_TARGET"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11993 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11996 $as_echo "no
" >&6; }
12001 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
12005 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
12007 if test $build = $target ; then
12008 DLLTOOL_FOR_TARGET="$2"
12010 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
12013 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
12017 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
12023 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12024 if test -n "$with_build_time_tools"; then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
12026 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
12027 if test -x $with_build_time_tools/ld; then
12028 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
12029 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
12031 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12034 $as_echo "no
" >&6; }
12036 elif test $build != $host && test $have_gcc_for_target = yes; then
12037 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
12038 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
12039 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
12042 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12043 # Extract the first word of "ld
", so it can be a program name with args.
12044 set dummy ld; ac_word=$2
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12046 $as_echo_n "checking
for $ac_word...
" >&6; }
12047 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
12048 $as_echo_n "(cached
) " >&6
12050 case $LD_FOR_TARGET in
12052 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
12055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12056 for as_dir in $gcc_cv_tool_dirs
12059 test -z "$as_dir" && as_dir=.
12060 for ac_exec_ext in '' $ac_executable_extensions; do
12061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12062 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12073 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12074 if test -n "$LD_FOR_TARGET"; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12076 $as_echo "$LD_FOR_TARGET" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12079 $as_echo "no
" >&6; }
12084 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12087 if test -n "$LD_FOR_TARGET"; then
12088 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
12089 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12090 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12093 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12094 for ncn_progname in ld; do
12095 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12096 set dummy ${ncn_progname}; ac_word=$2
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12098 $as_echo_n "checking
for $ac_word...
" >&6; }
12099 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12100 $as_echo_n "(cached
) " >&6
12102 if test -n "$LD_FOR_TARGET"; then
12103 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12109 test -z "$as_dir" && as_dir=.
12110 for ac_exec_ext in '' $ac_executable_extensions; do
12111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12112 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12122 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12123 if test -n "$LD_FOR_TARGET"; then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12125 $as_echo "$LD_FOR_TARGET" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12128 $as_echo "no
" >&6; }
12135 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
12136 for ncn_progname in ld; do
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12138 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12139 if test -x $with_build_time_tools/${ncn_progname}; then
12140 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12142 $as_echo "yes" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12146 $as_echo "no
" >&6; }
12151 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
12152 for ncn_progname in ld; do
12153 if test -n "$ncn_target_tool_prefix"; then
12154 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12155 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12157 $as_echo_n "checking
for $ac_word...
" >&6; }
12158 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12159 $as_echo_n "(cached
) " >&6
12161 if test -n "$LD_FOR_TARGET"; then
12162 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12165 for as_dir in $PATH
12168 test -z "$as_dir" && as_dir=.
12169 for ac_exec_ext in '' $ac_executable_extensions; do
12170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12171 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12181 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12182 if test -n "$LD_FOR_TARGET"; then
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12184 $as_echo "$LD_FOR_TARGET" >&6; }
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12187 $as_echo "no
" >&6; }
12192 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12194 set dummy ${ncn_progname}; ac_word=$2
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12196 $as_echo_n "checking
for $ac_word...
" >&6; }
12197 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12198 $as_echo_n "(cached
) " >&6
12200 if test -n "$LD_FOR_TARGET"; then
12201 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12204 for as_dir in $PATH
12207 test -z "$as_dir" && as_dir=.
12208 for ac_exec_ext in '' $ac_executable_extensions; do
12209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12210 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12220 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12221 if test -n "$LD_FOR_TARGET"; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12223 $as_echo "$LD_FOR_TARGET" >&6; }
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12226 $as_echo "no
" >&6; }
12231 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12235 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12237 if test $build = $target ; then
12240 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12243 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12247 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12253 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12254 if test -n "$with_build_time_tools"; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12256 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12257 if test -x $with_build_time_tools/lipo; then
12258 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12259 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12261 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12264 $as_echo "no
" >&6; }
12266 elif test $build != $host && test $have_gcc_for_target = yes; then
12267 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12268 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12269 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12272 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12273 # Extract the first word of "lipo
", so it can be a program name with args.
12274 set dummy lipo; ac_word=$2
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12276 $as_echo_n "checking
for $ac_word...
" >&6; }
12277 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12278 $as_echo_n "(cached
) " >&6
12280 case $LIPO_FOR_TARGET in
12282 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $gcc_cv_tool_dirs
12289 test -z "$as_dir" && as_dir=.
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12303 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12304 if test -n "$LIPO_FOR_TARGET"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12306 $as_echo "$LIPO_FOR_TARGET" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12309 $as_echo "no
" >&6; }
12314 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12317 if test -n "$LIPO_FOR_TARGET"; then
12318 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12319 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12320 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12323 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12324 for ncn_progname in lipo; do
12325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12326 set dummy ${ncn_progname}; ac_word=$2
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12328 $as_echo_n "checking
for $ac_word...
" >&6; }
12329 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12330 $as_echo_n "(cached
) " >&6
12332 if test -n "$LIPO_FOR_TARGET"; then
12333 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12336 for as_dir in $PATH
12339 test -z "$as_dir" && as_dir=.
12340 for ac_exec_ext in '' $ac_executable_extensions; do
12341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12342 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12352 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12353 if test -n "$LIPO_FOR_TARGET"; then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12355 $as_echo "$LIPO_FOR_TARGET" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12358 $as_echo "no
" >&6; }
12365 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12366 for ncn_progname in lipo; do
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12368 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12369 if test -x $with_build_time_tools/${ncn_progname}; then
12370 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12372 $as_echo "yes" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12376 $as_echo "no
" >&6; }
12381 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12382 for ncn_progname in lipo; do
12383 if test -n "$ncn_target_tool_prefix"; then
12384 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12385 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12387 $as_echo_n "checking
for $ac_word...
" >&6; }
12388 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12389 $as_echo_n "(cached
) " >&6
12391 if test -n "$LIPO_FOR_TARGET"; then
12392 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12395 for as_dir in $PATH
12398 test -z "$as_dir" && as_dir=.
12399 for ac_exec_ext in '' $ac_executable_extensions; do
12400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12401 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12411 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12412 if test -n "$LIPO_FOR_TARGET"; then
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12414 $as_echo "$LIPO_FOR_TARGET" >&6; }
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12417 $as_echo "no
" >&6; }
12422 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12423 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12424 set dummy ${ncn_progname}; ac_word=$2
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12426 $as_echo_n "checking
for $ac_word...
" >&6; }
12427 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12428 $as_echo_n "(cached
) " >&6
12430 if test -n "$LIPO_FOR_TARGET"; then
12431 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12434 for as_dir in $PATH
12437 test -z "$as_dir" && as_dir=.
12438 for ac_exec_ext in '' $ac_executable_extensions; do
12439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12440 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12450 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12451 if test -n "$LIPO_FOR_TARGET"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12453 $as_echo "$LIPO_FOR_TARGET" >&6; }
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12456 $as_echo "no
" >&6; }
12461 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12465 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12467 if test $build = $target ; then
12468 LIPO_FOR_TARGET="$2"
12470 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12473 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12477 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12483 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12484 if test -n "$with_build_time_tools"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12486 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12487 if test -x $with_build_time_tools/nm; then
12488 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12489 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12491 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12494 $as_echo "no
" >&6; }
12496 elif test $build != $host && test $have_gcc_for_target = yes; then
12497 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12498 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12499 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12502 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12503 # Extract the first word of "nm
", so it can be a program name with args.
12504 set dummy nm; ac_word=$2
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12506 $as_echo_n "checking
for $ac_word...
" >&6; }
12507 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12508 $as_echo_n "(cached
) " >&6
12510 case $NM_FOR_TARGET in
12512 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12516 for as_dir in $gcc_cv_tool_dirs
12519 test -z "$as_dir" && as_dir=.
12520 for ac_exec_ext in '' $ac_executable_extensions; do
12521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12522 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12533 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12534 if test -n "$NM_FOR_TARGET"; then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12536 $as_echo "$NM_FOR_TARGET" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12539 $as_echo "no
" >&6; }
12544 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12547 if test -n "$NM_FOR_TARGET"; then
12548 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12549 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12550 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12553 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12554 for ncn_progname in nm; do
12555 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12556 set dummy ${ncn_progname}; ac_word=$2
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12558 $as_echo_n "checking
for $ac_word...
" >&6; }
12559 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12560 $as_echo_n "(cached
) " >&6
12562 if test -n "$NM_FOR_TARGET"; then
12563 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12566 for as_dir in $PATH
12569 test -z "$as_dir" && as_dir=.
12570 for ac_exec_ext in '' $ac_executable_extensions; do
12571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12572 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12582 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12583 if test -n "$NM_FOR_TARGET"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12585 $as_echo "$NM_FOR_TARGET" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12588 $as_echo "no
" >&6; }
12595 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12596 for ncn_progname in nm; do
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12598 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12599 if test -x $with_build_time_tools/${ncn_progname}; then
12600 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12602 $as_echo "yes" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12606 $as_echo "no
" >&6; }
12611 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12612 for ncn_progname in nm; do
12613 if test -n "$ncn_target_tool_prefix"; then
12614 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12615 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12617 $as_echo_n "checking
for $ac_word...
" >&6; }
12618 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12619 $as_echo_n "(cached
) " >&6
12621 if test -n "$NM_FOR_TARGET"; then
12622 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12625 for as_dir in $PATH
12628 test -z "$as_dir" && as_dir=.
12629 for ac_exec_ext in '' $ac_executable_extensions; do
12630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12631 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12641 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12642 if test -n "$NM_FOR_TARGET"; then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12644 $as_echo "$NM_FOR_TARGET" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12647 $as_echo "no
" >&6; }
12652 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12654 set dummy ${ncn_progname}; ac_word=$2
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12656 $as_echo_n "checking
for $ac_word...
" >&6; }
12657 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12658 $as_echo_n "(cached
) " >&6
12660 if test -n "$NM_FOR_TARGET"; then
12661 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12664 for as_dir in $PATH
12667 test -z "$as_dir" && as_dir=.
12668 for ac_exec_ext in '' $ac_executable_extensions; do
12669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12670 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12680 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12681 if test -n "$NM_FOR_TARGET"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12683 $as_echo "$NM_FOR_TARGET" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12686 $as_echo "no
" >&6; }
12691 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12695 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12697 if test $build = $target ; then
12700 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12703 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12707 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12713 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12714 if test -n "$with_build_time_tools"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12716 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12717 if test -x $with_build_time_tools/objcopy; then
12718 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12719 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12721 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12724 $as_echo "no
" >&6; }
12726 elif test $build != $host && test $have_gcc_for_target = yes; then
12727 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12728 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12729 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12732 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12733 # Extract the first word of "objcopy
", so it can be a program name with args.
12734 set dummy objcopy; ac_word=$2
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12736 $as_echo_n "checking
for $ac_word...
" >&6; }
12737 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12738 $as_echo_n "(cached
) " >&6
12740 case $OBJCOPY_FOR_TARGET in
12742 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12746 for as_dir in $gcc_cv_tool_dirs
12749 test -z "$as_dir" && as_dir=.
12750 for ac_exec_ext in '' $ac_executable_extensions; do
12751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12752 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12763 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12764 if test -n "$OBJCOPY_FOR_TARGET"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12766 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12769 $as_echo "no
" >&6; }
12774 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12777 if test -n "$OBJCOPY_FOR_TARGET"; then
12778 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12779 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12780 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12783 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12784 for ncn_progname in objcopy; do
12785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12786 set dummy ${ncn_progname}; ac_word=$2
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12788 $as_echo_n "checking
for $ac_word...
" >&6; }
12789 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12790 $as_echo_n "(cached
) " >&6
12792 if test -n "$OBJCOPY_FOR_TARGET"; then
12793 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12796 for as_dir in $PATH
12799 test -z "$as_dir" && as_dir=.
12800 for ac_exec_ext in '' $ac_executable_extensions; do
12801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12802 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12812 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12813 if test -n "$OBJCOPY_FOR_TARGET"; then
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12815 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12818 $as_echo "no
" >&6; }
12825 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12826 for ncn_progname in objcopy; do
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12828 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12829 if test -x $with_build_time_tools/${ncn_progname}; then
12830 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12832 $as_echo "yes" >&6; }
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12836 $as_echo "no
" >&6; }
12841 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12842 for ncn_progname in objcopy; do
12843 if test -n "$ncn_target_tool_prefix"; then
12844 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12845 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12847 $as_echo_n "checking
for $ac_word...
" >&6; }
12848 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12849 $as_echo_n "(cached
) " >&6
12851 if test -n "$OBJCOPY_FOR_TARGET"; then
12852 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12855 for as_dir in $PATH
12858 test -z "$as_dir" && as_dir=.
12859 for ac_exec_ext in '' $ac_executable_extensions; do
12860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12861 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12871 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12872 if test -n "$OBJCOPY_FOR_TARGET"; then
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12874 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12877 $as_echo "no
" >&6; }
12882 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12884 set dummy ${ncn_progname}; ac_word=$2
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12886 $as_echo_n "checking
for $ac_word...
" >&6; }
12887 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12888 $as_echo_n "(cached
) " >&6
12890 if test -n "$OBJCOPY_FOR_TARGET"; then
12891 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12894 for as_dir in $PATH
12897 test -z "$as_dir" && as_dir=.
12898 for ac_exec_ext in '' $ac_executable_extensions; do
12899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12900 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12910 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12911 if test -n "$OBJCOPY_FOR_TARGET"; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12913 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12916 $as_echo "no
" >&6; }
12921 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12925 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12927 if test $build = $target ; then
12928 OBJCOPY_FOR_TARGET="$2"
12930 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12933 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12937 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12943 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12944 if test -n "$with_build_time_tools"; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12946 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12947 if test -x $with_build_time_tools/objdump; then
12948 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12949 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12951 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12954 $as_echo "no
" >&6; }
12956 elif test $build != $host && test $have_gcc_for_target = yes; then
12957 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12958 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12959 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12962 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12963 # Extract the first word of "objdump
", so it can be a program name with args.
12964 set dummy objdump; ac_word=$2
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12966 $as_echo_n "checking
for $ac_word...
" >&6; }
12967 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12968 $as_echo_n "(cached
) " >&6
12970 case $OBJDUMP_FOR_TARGET in
12972 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12976 for as_dir in $gcc_cv_tool_dirs
12979 test -z "$as_dir" && as_dir=.
12980 for ac_exec_ext in '' $ac_executable_extensions; do
12981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12982 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12993 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12994 if test -n "$OBJDUMP_FOR_TARGET"; then
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12996 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12999 $as_echo "no
" >&6; }
13004 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
13007 if test -n "$OBJDUMP_FOR_TARGET"; then
13008 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
13009 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13010 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13013 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13014 for ncn_progname in objdump; do
13015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13016 set dummy ${ncn_progname}; ac_word=$2
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13018 $as_echo_n "checking
for $ac_word...
" >&6; }
13019 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13020 $as_echo_n "(cached
) " >&6
13022 if test -n "$OBJDUMP_FOR_TARGET"; then
13023 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13029 test -z "$as_dir" && as_dir=.
13030 for ac_exec_ext in '' $ac_executable_extensions; do
13031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13032 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13042 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13043 if test -n "$OBJDUMP_FOR_TARGET"; then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13045 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13048 $as_echo "no
" >&6; }
13055 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13056 for ncn_progname in objdump; do
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13058 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13059 if test -x $with_build_time_tools/${ncn_progname}; then
13060 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13062 $as_echo "yes" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13066 $as_echo "no
" >&6; }
13071 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13072 for ncn_progname in objdump; do
13073 if test -n "$ncn_target_tool_prefix"; then
13074 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13075 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13077 $as_echo_n "checking
for $ac_word...
" >&6; }
13078 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13079 $as_echo_n "(cached
) " >&6
13081 if test -n "$OBJDUMP_FOR_TARGET"; then
13082 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13085 for as_dir in $PATH
13088 test -z "$as_dir" && as_dir=.
13089 for ac_exec_ext in '' $ac_executable_extensions; do
13090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13091 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13101 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13102 if test -n "$OBJDUMP_FOR_TARGET"; then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13104 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13107 $as_echo "no
" >&6; }
13112 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
13113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13114 set dummy ${ncn_progname}; ac_word=$2
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13116 $as_echo_n "checking
for $ac_word...
" >&6; }
13117 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13118 $as_echo_n "(cached
) " >&6
13120 if test -n "$OBJDUMP_FOR_TARGET"; then
13121 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13124 for as_dir in $PATH
13127 test -z "$as_dir" && as_dir=.
13128 for ac_exec_ext in '' $ac_executable_extensions; do
13129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13130 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13140 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13141 if test -n "$OBJDUMP_FOR_TARGET"; then
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13143 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13146 $as_echo "no
" >&6; }
13151 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
13155 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
13157 if test $build = $target ; then
13158 OBJDUMP_FOR_TARGET="$2"
13160 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13163 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
13167 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13173 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13174 if test -n "$with_build_time_tools"; then
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13176 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13177 if test -x $with_build_time_tools/ranlib; then
13178 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13179 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13181 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13184 $as_echo "no
" >&6; }
13186 elif test $build != $host && test $have_gcc_for_target = yes; then
13187 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13188 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13189 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13192 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13193 # Extract the first word of "ranlib
", so it can be a program name with args.
13194 set dummy ranlib; ac_word=$2
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13196 $as_echo_n "checking
for $ac_word...
" >&6; }
13197 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13198 $as_echo_n "(cached
) " >&6
13200 case $RANLIB_FOR_TARGET in
13202 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13206 for as_dir in $gcc_cv_tool_dirs
13209 test -z "$as_dir" && as_dir=.
13210 for ac_exec_ext in '' $ac_executable_extensions; do
13211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13212 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13223 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13224 if test -n "$RANLIB_FOR_TARGET"; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13226 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13229 $as_echo "no
" >&6; }
13234 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13237 if test -n "$RANLIB_FOR_TARGET"; then
13238 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13239 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13240 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13243 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13244 for ncn_progname in ranlib; do
13245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13246 set dummy ${ncn_progname}; ac_word=$2
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13248 $as_echo_n "checking
for $ac_word...
" >&6; }
13249 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13250 $as_echo_n "(cached
) " >&6
13252 if test -n "$RANLIB_FOR_TARGET"; then
13253 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13256 for as_dir in $PATH
13259 test -z "$as_dir" && as_dir=.
13260 for ac_exec_ext in '' $ac_executable_extensions; do
13261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13262 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13272 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13273 if test -n "$RANLIB_FOR_TARGET"; then
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13275 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13278 $as_echo "no
" >&6; }
13285 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13286 for ncn_progname in ranlib; do
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13288 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13289 if test -x $with_build_time_tools/${ncn_progname}; then
13290 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13292 $as_echo "yes" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13296 $as_echo "no
" >&6; }
13301 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13302 for ncn_progname in ranlib; do
13303 if test -n "$ncn_target_tool_prefix"; then
13304 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13305 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13307 $as_echo_n "checking
for $ac_word...
" >&6; }
13308 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13309 $as_echo_n "(cached
) " >&6
13311 if test -n "$RANLIB_FOR_TARGET"; then
13312 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13315 for as_dir in $PATH
13318 test -z "$as_dir" && as_dir=.
13319 for ac_exec_ext in '' $ac_executable_extensions; do
13320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13321 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13331 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13332 if test -n "$RANLIB_FOR_TARGET"; then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13334 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13337 $as_echo "no
" >&6; }
13342 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13344 set dummy ${ncn_progname}; ac_word=$2
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13346 $as_echo_n "checking
for $ac_word...
" >&6; }
13347 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13348 $as_echo_n "(cached
) " >&6
13350 if test -n "$RANLIB_FOR_TARGET"; then
13351 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13354 for as_dir in $PATH
13357 test -z "$as_dir" && as_dir=.
13358 for ac_exec_ext in '' $ac_executable_extensions; do
13359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13360 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13370 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13371 if test -n "$RANLIB_FOR_TARGET"; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13373 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13376 $as_echo "no
" >&6; }
13381 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13385 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13387 if test $build = $target ; then
13388 RANLIB_FOR_TARGET="$2"
13390 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13393 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13397 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13403 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13404 if test -n "$with_build_time_tools"; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13406 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13407 if test -x $with_build_time_tools/readelf; then
13408 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13409 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13411 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13414 $as_echo "no
" >&6; }
13416 elif test $build != $host && test $have_gcc_for_target = yes; then
13417 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13418 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13419 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13422 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13423 # Extract the first word of "readelf
", so it can be a program name with args.
13424 set dummy readelf; ac_word=$2
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13426 $as_echo_n "checking
for $ac_word...
" >&6; }
13427 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13428 $as_echo_n "(cached
) " >&6
13430 case $READELF_FOR_TARGET in
13432 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13436 for as_dir in $gcc_cv_tool_dirs
13439 test -z "$as_dir" && as_dir=.
13440 for ac_exec_ext in '' $ac_executable_extensions; do
13441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13442 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13453 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13454 if test -n "$READELF_FOR_TARGET"; then
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13456 $as_echo "$READELF_FOR_TARGET" >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13459 $as_echo "no
" >&6; }
13464 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13467 if test -n "$READELF_FOR_TARGET"; then
13468 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13469 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13470 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13473 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13474 for ncn_progname in readelf; do
13475 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13476 set dummy ${ncn_progname}; ac_word=$2
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13478 $as_echo_n "checking
for $ac_word...
" >&6; }
13479 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13480 $as_echo_n "(cached
) " >&6
13482 if test -n "$READELF_FOR_TARGET"; then
13483 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13486 for as_dir in $PATH
13489 test -z "$as_dir" && as_dir=.
13490 for ac_exec_ext in '' $ac_executable_extensions; do
13491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13492 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13502 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13503 if test -n "$READELF_FOR_TARGET"; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13505 $as_echo "$READELF_FOR_TARGET" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13508 $as_echo "no
" >&6; }
13515 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13516 for ncn_progname in readelf; do
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13518 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13519 if test -x $with_build_time_tools/${ncn_progname}; then
13520 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13522 $as_echo "yes" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13526 $as_echo "no
" >&6; }
13531 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13532 for ncn_progname in readelf; do
13533 if test -n "$ncn_target_tool_prefix"; then
13534 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13535 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13537 $as_echo_n "checking
for $ac_word...
" >&6; }
13538 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13539 $as_echo_n "(cached
) " >&6
13541 if test -n "$READELF_FOR_TARGET"; then
13542 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13545 for as_dir in $PATH
13548 test -z "$as_dir" && as_dir=.
13549 for ac_exec_ext in '' $ac_executable_extensions; do
13550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13551 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13561 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13562 if test -n "$READELF_FOR_TARGET"; then
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13564 $as_echo "$READELF_FOR_TARGET" >&6; }
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13567 $as_echo "no
" >&6; }
13572 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13573 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13574 set dummy ${ncn_progname}; ac_word=$2
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13576 $as_echo_n "checking
for $ac_word...
" >&6; }
13577 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13578 $as_echo_n "(cached
) " >&6
13580 if test -n "$READELF_FOR_TARGET"; then
13581 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13584 for as_dir in $PATH
13587 test -z "$as_dir" && as_dir=.
13588 for ac_exec_ext in '' $ac_executable_extensions; do
13589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13590 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13600 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13601 if test -n "$READELF_FOR_TARGET"; then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13603 $as_echo "$READELF_FOR_TARGET" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13606 $as_echo "no
" >&6; }
13611 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13615 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13617 if test $build = $target ; then
13618 READELF_FOR_TARGET="$2"
13620 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13623 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13627 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13633 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13634 if test -n "$with_build_time_tools"; then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13636 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13637 if test -x $with_build_time_tools/strip; then
13638 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13639 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13641 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13644 $as_echo "no
" >&6; }
13646 elif test $build != $host && test $have_gcc_for_target = yes; then
13647 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13648 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13649 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13652 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13653 # Extract the first word of "strip
", so it can be a program name with args.
13654 set dummy strip; ac_word=$2
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13656 $as_echo_n "checking
for $ac_word...
" >&6; }
13657 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13658 $as_echo_n "(cached
) " >&6
13660 case $STRIP_FOR_TARGET in
13662 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13666 for as_dir in $gcc_cv_tool_dirs
13669 test -z "$as_dir" && as_dir=.
13670 for ac_exec_ext in '' $ac_executable_extensions; do
13671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13672 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13683 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13684 if test -n "$STRIP_FOR_TARGET"; then
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13686 $as_echo "$STRIP_FOR_TARGET" >&6; }
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13689 $as_echo "no
" >&6; }
13694 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13697 if test -n "$STRIP_FOR_TARGET"; then
13698 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13699 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13700 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13703 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13704 for ncn_progname in strip; do
13705 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13706 set dummy ${ncn_progname}; ac_word=$2
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13708 $as_echo_n "checking
for $ac_word...
" >&6; }
13709 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13710 $as_echo_n "(cached
) " >&6
13712 if test -n "$STRIP_FOR_TARGET"; then
13713 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13716 for as_dir in $PATH
13719 test -z "$as_dir" && as_dir=.
13720 for ac_exec_ext in '' $ac_executable_extensions; do
13721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13722 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13732 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13733 if test -n "$STRIP_FOR_TARGET"; then
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13735 $as_echo "$STRIP_FOR_TARGET" >&6; }
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13738 $as_echo "no
" >&6; }
13745 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13746 for ncn_progname in strip; do
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13748 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13749 if test -x $with_build_time_tools/${ncn_progname}; then
13750 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13752 $as_echo "yes" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13756 $as_echo "no
" >&6; }
13761 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13762 for ncn_progname in strip; do
13763 if test -n "$ncn_target_tool_prefix"; then
13764 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13765 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13767 $as_echo_n "checking
for $ac_word...
" >&6; }
13768 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13769 $as_echo_n "(cached
) " >&6
13771 if test -n "$STRIP_FOR_TARGET"; then
13772 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13775 for as_dir in $PATH
13778 test -z "$as_dir" && as_dir=.
13779 for ac_exec_ext in '' $ac_executable_extensions; do
13780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13781 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13791 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13792 if test -n "$STRIP_FOR_TARGET"; then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13794 $as_echo "$STRIP_FOR_TARGET" >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13797 $as_echo "no
" >&6; }
13802 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13804 set dummy ${ncn_progname}; ac_word=$2
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13806 $as_echo_n "checking
for $ac_word...
" >&6; }
13807 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13808 $as_echo_n "(cached
) " >&6
13810 if test -n "$STRIP_FOR_TARGET"; then
13811 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13814 for as_dir in $PATH
13817 test -z "$as_dir" && as_dir=.
13818 for ac_exec_ext in '' $ac_executable_extensions; do
13819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13820 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13830 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13831 if test -n "$STRIP_FOR_TARGET"; then
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13833 $as_echo "$STRIP_FOR_TARGET" >&6; }
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13836 $as_echo "no
" >&6; }
13841 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13845 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13847 if test $build = $target ; then
13848 STRIP_FOR_TARGET="$2"
13850 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13853 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13857 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13863 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13864 if test -n "$with_build_time_tools"; then
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13866 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13867 if test -x $with_build_time_tools/windres; then
13868 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13869 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13871 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13874 $as_echo "no
" >&6; }
13876 elif test $build != $host && test $have_gcc_for_target = yes; then
13877 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13878 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13879 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13882 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13883 # Extract the first word of "windres
", so it can be a program name with args.
13884 set dummy windres; ac_word=$2
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13886 $as_echo_n "checking
for $ac_word...
" >&6; }
13887 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13888 $as_echo_n "(cached
) " >&6
13890 case $WINDRES_FOR_TARGET in
13892 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13896 for as_dir in $gcc_cv_tool_dirs
13899 test -z "$as_dir" && as_dir=.
13900 for ac_exec_ext in '' $ac_executable_extensions; do
13901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13902 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13913 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13914 if test -n "$WINDRES_FOR_TARGET"; then
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13916 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13919 $as_echo "no
" >&6; }
13924 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13927 if test -n "$WINDRES_FOR_TARGET"; then
13928 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13929 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13930 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13933 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13934 for ncn_progname in windres; do
13935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13936 set dummy ${ncn_progname}; ac_word=$2
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13938 $as_echo_n "checking
for $ac_word...
" >&6; }
13939 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13940 $as_echo_n "(cached
) " >&6
13942 if test -n "$WINDRES_FOR_TARGET"; then
13943 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13946 for as_dir in $PATH
13949 test -z "$as_dir" && as_dir=.
13950 for ac_exec_ext in '' $ac_executable_extensions; do
13951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13952 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13962 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13963 if test -n "$WINDRES_FOR_TARGET"; then
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13965 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13968 $as_echo "no
" >&6; }
13975 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13976 for ncn_progname in windres; do
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13978 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13979 if test -x $with_build_time_tools/${ncn_progname}; then
13980 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13982 $as_echo "yes" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13986 $as_echo "no
" >&6; }
13991 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13992 for ncn_progname in windres; do
13993 if test -n "$ncn_target_tool_prefix"; then
13994 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13995 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13997 $as_echo_n "checking
for $ac_word...
" >&6; }
13998 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13999 $as_echo_n "(cached
) " >&6
14001 if test -n "$WINDRES_FOR_TARGET"; then
14002 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14005 for as_dir in $PATH
14008 test -z "$as_dir" && as_dir=.
14009 for ac_exec_ext in '' $ac_executable_extensions; do
14010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14011 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14021 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14022 if test -n "$WINDRES_FOR_TARGET"; then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14024 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14027 $as_echo "no
" >&6; }
14032 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14033 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14034 set dummy ${ncn_progname}; ac_word=$2
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14036 $as_echo_n "checking
for $ac_word...
" >&6; }
14037 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14038 $as_echo_n "(cached
) " >&6
14040 if test -n "$WINDRES_FOR_TARGET"; then
14041 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14044 for as_dir in $PATH
14047 test -z "$as_dir" && as_dir=.
14048 for ac_exec_ext in '' $ac_executable_extensions; do
14049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14050 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14060 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14061 if test -n "$WINDRES_FOR_TARGET"; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14063 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14066 $as_echo "no
" >&6; }
14071 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14075 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14077 if test $build = $target ; then
14078 WINDRES_FOR_TARGET="$2"
14080 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14083 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14087 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14093 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14094 if test -n "$with_build_time_tools"; then
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14096 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14097 if test -x $with_build_time_tools/windmc; then
14098 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14099 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14101 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14104 $as_echo "no
" >&6; }
14106 elif test $build != $host && test $have_gcc_for_target = yes; then
14107 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14108 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14109 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14112 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14113 # Extract the first word of "windmc
", so it can be a program name with args.
14114 set dummy windmc; ac_word=$2
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14116 $as_echo_n "checking
for $ac_word...
" >&6; }
14117 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14118 $as_echo_n "(cached
) " >&6
14120 case $WINDMC_FOR_TARGET in
14122 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14126 for as_dir in $gcc_cv_tool_dirs
14129 test -z "$as_dir" && as_dir=.
14130 for ac_exec_ext in '' $ac_executable_extensions; do
14131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14132 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14143 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14144 if test -n "$WINDMC_FOR_TARGET"; then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14146 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14149 $as_echo "no
" >&6; }
14154 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14157 if test -n "$WINDMC_FOR_TARGET"; then
14158 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14159 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14160 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14163 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14164 for ncn_progname in windmc; do
14165 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14166 set dummy ${ncn_progname}; ac_word=$2
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14168 $as_echo_n "checking
for $ac_word...
" >&6; }
14169 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14170 $as_echo_n "(cached
) " >&6
14172 if test -n "$WINDMC_FOR_TARGET"; then
14173 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14176 for as_dir in $PATH
14179 test -z "$as_dir" && as_dir=.
14180 for ac_exec_ext in '' $ac_executable_extensions; do
14181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14182 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14192 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14193 if test -n "$WINDMC_FOR_TARGET"; then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14195 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14198 $as_echo "no
" >&6; }
14205 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14206 for ncn_progname in windmc; do
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14208 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14209 if test -x $with_build_time_tools/${ncn_progname}; then
14210 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14212 $as_echo "yes" >&6; }
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14216 $as_echo "no
" >&6; }
14221 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14222 for ncn_progname in windmc; do
14223 if test -n "$ncn_target_tool_prefix"; then
14224 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14225 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14227 $as_echo_n "checking
for $ac_word...
" >&6; }
14228 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14229 $as_echo_n "(cached
) " >&6
14231 if test -n "$WINDMC_FOR_TARGET"; then
14232 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14235 for as_dir in $PATH
14238 test -z "$as_dir" && as_dir=.
14239 for ac_exec_ext in '' $ac_executable_extensions; do
14240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14241 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14251 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14252 if test -n "$WINDMC_FOR_TARGET"; then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14254 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14257 $as_echo "no
" >&6; }
14262 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14263 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14264 set dummy ${ncn_progname}; ac_word=$2
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14266 $as_echo_n "checking
for $ac_word...
" >&6; }
14267 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14268 $as_echo_n "(cached
) " >&6
14270 if test -n "$WINDMC_FOR_TARGET"; then
14271 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14274 for as_dir in $PATH
14277 test -z "$as_dir" && as_dir=.
14278 for ac_exec_ext in '' $ac_executable_extensions; do
14279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14280 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14290 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14291 if test -n "$WINDMC_FOR_TARGET"; then
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14293 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14296 $as_echo "no
" >&6; }
14301 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14305 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14307 if test $build = $target ; then
14308 WINDMC_FOR_TARGET="$2"
14310 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14313 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14317 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14321 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14324 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14325 if test "x
${build}" != "x
${host}" ; then
14326 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14327 # We already found the complete path
14328 ac_dir=`dirname $AR_FOR_TARGET`
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14330 $as_echo "pre-installed
in $ac_dir" >&6; }
14332 # Canadian cross, just use what we found
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14334 $as_echo "pre-installed
" >&6; }
14338 case " ${configdirs} " in
14343 if test $ok = yes; then
14344 # An in-tree tool is available and we can use it
14345 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14347 $as_echo "just compiled
" >&6; }
14348 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14349 # We already found the complete path
14350 ac_dir=`dirname $AR_FOR_TARGET`
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14352 $as_echo "pre-installed
in $ac_dir" >&6; }
14353 elif test "x
$target" = "x
$host"; then
14354 # We can use an host tool
14355 AR_FOR_TARGET='$(AR)'
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14357 $as_echo "host tool
" >&6; }
14359 # We need a cross tool
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14361 $as_echo "pre-installed
" >&6; }
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14366 $as_echo_n "checking where to
find the target as...
" >&6; }
14367 if test "x
${build}" != "x
${host}" ; then
14368 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14369 # We already found the complete path
14370 ac_dir=`dirname $AS_FOR_TARGET`
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14372 $as_echo "pre-installed
in $ac_dir" >&6; }
14374 # Canadian cross, just use what we found
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14376 $as_echo "pre-installed
" >&6; }
14380 case " ${configdirs} " in
14385 if test $ok = yes; then
14386 # An in-tree tool is available and we can use it
14387 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14389 $as_echo "just compiled
" >&6; }
14390 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14391 # We already found the complete path
14392 ac_dir=`dirname $AS_FOR_TARGET`
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14394 $as_echo "pre-installed
in $ac_dir" >&6; }
14395 elif test "x
$target" = "x
$host"; then
14396 # We can use an host tool
14397 AS_FOR_TARGET='$(AS)'
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14399 $as_echo "host tool
" >&6; }
14401 # We need a cross tool
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14403 $as_echo "pre-installed
" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14408 $as_echo_n "checking where to
find the target cc...
" >&6; }
14409 if test "x
${build}" != "x
${host}" ; then
14410 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14411 # We already found the complete path
14412 ac_dir=`dirname $CC_FOR_TARGET`
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14414 $as_echo "pre-installed
in $ac_dir" >&6; }
14416 # Canadian cross, just use what we found
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14418 $as_echo "pre-installed
" >&6; }
14422 case " ${configdirs} " in
14427 if test $ok = yes; then
14428 # An in-tree tool is available and we can use it
14429 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14431 $as_echo "just compiled
" >&6; }
14432 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14433 # We already found the complete path
14434 ac_dir=`dirname $CC_FOR_TARGET`
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14436 $as_echo "pre-installed
in $ac_dir" >&6; }
14437 elif test "x
$target" = "x
$host"; then
14438 # We can use an host tool
14439 CC_FOR_TARGET='$(CC)'
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14441 $as_echo "host tool
" >&6; }
14443 # We need a cross tool
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14445 $as_echo "pre-installed
" >&6; }
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14450 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14451 if test "x
${build}" != "x
${host}" ; then
14452 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14453 # We already found the complete path
14454 ac_dir=`dirname $CXX_FOR_TARGET`
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14456 $as_echo "pre-installed
in $ac_dir" >&6; }
14458 # Canadian cross, just use what we found
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14460 $as_echo "pre-installed
" >&6; }
14464 case " ${configdirs} " in
14468 case ,${enable_languages}, in
14472 if test $ok = yes; then
14473 # An in-tree tool is available and we can use it
14474 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'
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14476 $as_echo "just compiled
" >&6; }
14477 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14478 # We already found the complete path
14479 ac_dir=`dirname $CXX_FOR_TARGET`
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14481 $as_echo "pre-installed
in $ac_dir" >&6; }
14482 elif test "x
$target" = "x
$host"; then
14483 # We can use an host tool
14484 CXX_FOR_TARGET='$(CXX)'
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14486 $as_echo "host tool
" >&6; }
14488 # We need a cross tool
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14490 $as_echo "pre-installed
" >&6; }
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14495 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14496 if test "x
${build}" != "x
${host}" ; then
14497 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14498 # We already found the complete path
14499 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14501 $as_echo "pre-installed
in $ac_dir" >&6; }
14503 # Canadian cross, just use what we found
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14505 $as_echo "pre-installed
" >&6; }
14509 case " ${configdirs} " in
14513 case ,${enable_languages}, in
14517 if test $ok = yes; then
14518 # An in-tree tool is available and we can use it
14519 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'
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14521 $as_echo "just compiled
" >&6; }
14522 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14523 # We already found the complete path
14524 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14526 $as_echo "pre-installed
in $ac_dir" >&6; }
14527 elif test "x
$target" = "x
$host"; then
14528 # We can use an host tool
14529 RAW_CXX_FOR_TARGET='$(CXX)'
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14531 $as_echo "host tool
" >&6; }
14533 # We need a cross tool
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14535 $as_echo "pre-installed
" >&6; }
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14540 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14541 if test "x
${build}" != "x
${host}" ; then
14542 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14543 # We already found the complete path
14544 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14546 $as_echo "pre-installed
in $ac_dir" >&6; }
14548 # Canadian cross, just use what we found
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14550 $as_echo "pre-installed
" >&6; }
14554 case " ${configdirs} " in
14559 if test $ok = yes; then
14560 # An in-tree tool is available and we can use it
14561 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14563 $as_echo "just compiled
" >&6; }
14564 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14565 # We already found the complete path
14566 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14568 $as_echo "pre-installed
in $ac_dir" >&6; }
14569 elif test "x
$target" = "x
$host"; then
14570 # We can use an host tool
14571 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14573 $as_echo "host tool
" >&6; }
14575 # We need a cross tool
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14577 $as_echo "pre-installed
" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14582 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14583 if test "x
${build}" != "x
${host}" ; then
14584 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14585 # We already found the complete path
14586 ac_dir=`dirname $GCC_FOR_TARGET`
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14588 $as_echo "pre-installed
in $ac_dir" >&6; }
14590 # Canadian cross, just use what we found
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14592 $as_echo "pre-installed
" >&6; }
14596 case " ${configdirs} " in
14601 if test $ok = yes; then
14602 # An in-tree tool is available and we can use it
14603 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14605 $as_echo "just compiled
" >&6; }
14606 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14607 # We already found the complete path
14608 ac_dir=`dirname $GCC_FOR_TARGET`
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14610 $as_echo "pre-installed
in $ac_dir" >&6; }
14611 elif test "x
$target" = "x
$host"; then
14612 # We can use an host tool
14613 GCC_FOR_TARGET='$()'
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14615 $as_echo "host tool
" >&6; }
14617 # We need a cross tool
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14619 $as_echo "pre-installed
" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14624 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14625 if test "x
${build}" != "x
${host}" ; then
14626 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14627 # We already found the complete path
14628 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14630 $as_echo "pre-installed
in $ac_dir" >&6; }
14632 # Canadian cross, just use what we found
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14634 $as_echo "pre-installed
" >&6; }
14638 case " ${configdirs} " in
14642 case ,${enable_languages}, in
14646 if test $ok = yes; then
14647 # An in-tree tool is available and we can use it
14648 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14650 $as_echo "just compiled
" >&6; }
14651 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14652 # We already found the complete path
14653 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14655 $as_echo "pre-installed
in $ac_dir" >&6; }
14656 elif test "x
$target" = "x
$host"; then
14657 # We can use an host tool
14658 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14660 $as_echo "host tool
" >&6; }
14662 # We need a cross tool
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14664 $as_echo "pre-installed
" >&6; }
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14669 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14670 if test "x
${build}" != "x
${host}" ; then
14671 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14672 # We already found the complete path
14673 ac_dir=`dirname $GOC_FOR_TARGET`
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14675 $as_echo "pre-installed
in $ac_dir" >&6; }
14677 # Canadian cross, just use what we found
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14679 $as_echo "pre-installed
" >&6; }
14683 case " ${configdirs} " in
14687 case ,${enable_languages}, in
14691 if test $ok = yes; then
14692 # An in-tree tool is available and we can use it
14693 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14695 $as_echo "just compiled
" >&6; }
14696 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14697 # We already found the complete path
14698 ac_dir=`dirname $GOC_FOR_TARGET`
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14700 $as_echo "pre-installed
in $ac_dir" >&6; }
14701 elif test "x
$target" = "x
$host"; then
14702 # We can use an host tool
14703 GOC_FOR_TARGET='$(GOC)'
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14705 $as_echo "host tool
" >&6; }
14707 # We need a cross tool
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14709 $as_echo "pre-installed
" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14714 $as_echo_n "checking where to
find the target ld...
" >&6; }
14715 if test "x
${build}" != "x
${host}" ; then
14716 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14717 # We already found the complete path
14718 ac_dir=`dirname $LD_FOR_TARGET`
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14720 $as_echo "pre-installed
in $ac_dir" >&6; }
14722 # Canadian cross, just use what we found
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14724 $as_echo "pre-installed
" >&6; }
14728 case " ${configdirs} " in
14733 if test $ok = yes; then
14734 # An in-tree tool is available and we can use it
14735 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14737 $as_echo "just compiled
" >&6; }
14738 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14739 # We already found the complete path
14740 ac_dir=`dirname $LD_FOR_TARGET`
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14742 $as_echo "pre-installed
in $ac_dir" >&6; }
14743 elif test "x
$target" = "x
$host"; then
14744 # We can use an host tool
14745 LD_FOR_TARGET='$(LD)'
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14747 $as_echo "host tool
" >&6; }
14749 # We need a cross tool
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14751 $as_echo "pre-installed
" >&6; }
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14756 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14757 if test "x
${build}" != "x
${host}" ; then
14758 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14759 # We already found the complete path
14760 ac_dir=`dirname $LIPO_FOR_TARGET`
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14762 $as_echo "pre-installed
in $ac_dir" >&6; }
14764 # Canadian cross, just use what we found
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14766 $as_echo "pre-installed
" >&6; }
14769 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14770 # We already found the complete path
14771 ac_dir=`dirname $LIPO_FOR_TARGET`
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14773 $as_echo "pre-installed
in $ac_dir" >&6; }
14774 elif test "x
$target" = "x
$host"; then
14775 # We can use an host tool
14776 LIPO_FOR_TARGET='$(LIPO)'
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14778 $as_echo "host tool
" >&6; }
14780 # We need a cross tool
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14782 $as_echo "pre-installed
" >&6; }
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14787 $as_echo_n "checking where to
find the target nm...
" >&6; }
14788 if test "x
${build}" != "x
${host}" ; then
14789 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14790 # We already found the complete path
14791 ac_dir=`dirname $NM_FOR_TARGET`
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14793 $as_echo "pre-installed
in $ac_dir" >&6; }
14795 # Canadian cross, just use what we found
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14797 $as_echo "pre-installed
" >&6; }
14801 case " ${configdirs} " in
14806 if test $ok = yes; then
14807 # An in-tree tool is available and we can use it
14808 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14810 $as_echo "just compiled
" >&6; }
14811 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14812 # We already found the complete path
14813 ac_dir=`dirname $NM_FOR_TARGET`
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14815 $as_echo "pre-installed
in $ac_dir" >&6; }
14816 elif test "x
$target" = "x
$host"; then
14817 # We can use an host tool
14818 NM_FOR_TARGET='$(NM)'
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14820 $as_echo "host tool
" >&6; }
14822 # We need a cross tool
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14824 $as_echo "pre-installed
" >&6; }
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14829 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14830 if test "x
${build}" != "x
${host}" ; then
14831 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14832 # We already found the complete path
14833 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14835 $as_echo "pre-installed
in $ac_dir" >&6; }
14837 # Canadian cross, just use what we found
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14839 $as_echo "pre-installed
" >&6; }
14843 case " ${configdirs} " in
14848 if test $ok = yes; then
14849 # An in-tree tool is available and we can use it
14850 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14852 $as_echo "just compiled
" >&6; }
14853 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14854 # We already found the complete path
14855 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14857 $as_echo "pre-installed
in $ac_dir" >&6; }
14858 elif test "x
$target" = "x
$host"; then
14859 # We can use an host tool
14860 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14862 $as_echo "host tool
" >&6; }
14864 # We need a cross tool
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14866 $as_echo "pre-installed
" >&6; }
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14871 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14872 if test "x
${build}" != "x
${host}" ; then
14873 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14874 # We already found the complete path
14875 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14877 $as_echo "pre-installed
in $ac_dir" >&6; }
14879 # Canadian cross, just use what we found
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14881 $as_echo "pre-installed
" >&6; }
14885 case " ${configdirs} " in
14890 if test $ok = yes; then
14891 # An in-tree tool is available and we can use it
14892 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14894 $as_echo "just compiled
" >&6; }
14895 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14896 # We already found the complete path
14897 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14899 $as_echo "pre-installed
in $ac_dir" >&6; }
14900 elif test "x
$target" = "x
$host"; then
14901 # We can use an host tool
14902 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14904 $as_echo "host tool
" >&6; }
14906 # We need a cross tool
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14908 $as_echo "pre-installed
" >&6; }
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14913 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14914 if test "x
${build}" != "x
${host}" ; then
14915 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14916 # We already found the complete path
14917 ac_dir=`dirname $RANLIB_FOR_TARGET`
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14919 $as_echo "pre-installed
in $ac_dir" >&6; }
14921 # Canadian cross, just use what we found
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14923 $as_echo "pre-installed
" >&6; }
14927 case " ${configdirs} " in
14932 if test $ok = yes; then
14933 # An in-tree tool is available and we can use it
14934 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14936 $as_echo "just compiled
" >&6; }
14937 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14938 # We already found the complete path
14939 ac_dir=`dirname $RANLIB_FOR_TARGET`
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14941 $as_echo "pre-installed
in $ac_dir" >&6; }
14942 elif test "x
$target" = "x
$host"; then
14943 # We can use an host tool
14944 RANLIB_FOR_TARGET='$(RANLIB)'
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14946 $as_echo "host tool
" >&6; }
14948 # We need a cross tool
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14950 $as_echo "pre-installed
" >&6; }
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14955 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14956 if test "x
${build}" != "x
${host}" ; then
14957 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14958 # We already found the complete path
14959 ac_dir=`dirname $READELF_FOR_TARGET`
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14961 $as_echo "pre-installed
in $ac_dir" >&6; }
14963 # Canadian cross, just use what we found
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14965 $as_echo "pre-installed
" >&6; }
14969 case " ${configdirs} " in
14974 if test $ok = yes; then
14975 # An in-tree tool is available and we can use it
14976 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14978 $as_echo "just compiled
" >&6; }
14979 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14980 # We already found the complete path
14981 ac_dir=`dirname $READELF_FOR_TARGET`
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14983 $as_echo "pre-installed
in $ac_dir" >&6; }
14984 elif test "x
$target" = "x
$host"; then
14985 # We can use an host tool
14986 READELF_FOR_TARGET='$(READELF)'
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14988 $as_echo "host tool
" >&6; }
14990 # We need a cross tool
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14992 $as_echo "pre-installed
" >&6; }
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14997 $as_echo_n "checking where to
find the target strip...
" >&6; }
14998 if test "x
${build}" != "x
${host}" ; then
14999 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15000 # We already found the complete path
15001 ac_dir=`dirname $STRIP_FOR_TARGET`
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15003 $as_echo "pre-installed
in $ac_dir" >&6; }
15005 # Canadian cross, just use what we found
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15007 $as_echo "pre-installed
" >&6; }
15011 case " ${configdirs} " in
15016 if test $ok = yes; then
15017 # An in-tree tool is available and we can use it
15018 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15020 $as_echo "just compiled
" >&6; }
15021 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15022 # We already found the complete path
15023 ac_dir=`dirname $STRIP_FOR_TARGET`
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15025 $as_echo "pre-installed
in $ac_dir" >&6; }
15026 elif test "x
$target" = "x
$host"; then
15027 # We can use an host tool
15028 STRIP_FOR_TARGET='$(STRIP)'
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15030 $as_echo "host tool
" >&6; }
15032 # We need a cross tool
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15034 $as_echo "pre-installed
" >&6; }
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15039 $as_echo_n "checking where to
find the target windres...
" >&6; }
15040 if test "x
${build}" != "x
${host}" ; then
15041 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15042 # We already found the complete path
15043 ac_dir=`dirname $WINDRES_FOR_TARGET`
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15045 $as_echo "pre-installed
in $ac_dir" >&6; }
15047 # Canadian cross, just use what we found
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15049 $as_echo "pre-installed
" >&6; }
15053 case " ${configdirs} " in
15058 if test $ok = yes; then
15059 # An in-tree tool is available and we can use it
15060 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15062 $as_echo "just compiled
" >&6; }
15063 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15064 # We already found the complete path
15065 ac_dir=`dirname $WINDRES_FOR_TARGET`
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15067 $as_echo "pre-installed
in $ac_dir" >&6; }
15068 elif test "x
$target" = "x
$host"; then
15069 # We can use an host tool
15070 WINDRES_FOR_TARGET='$(WINDRES)'
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15072 $as_echo "host tool
" >&6; }
15074 # We need a cross tool
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15076 $as_echo "pre-installed
" >&6; }
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15081 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15082 if test "x
${build}" != "x
${host}" ; then
15083 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15084 # We already found the complete path
15085 ac_dir=`dirname $WINDMC_FOR_TARGET`
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15087 $as_echo "pre-installed
in $ac_dir" >&6; }
15089 # Canadian cross, just use what we found
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15091 $as_echo "pre-installed
" >&6; }
15095 case " ${configdirs} " in
15100 if test $ok = yes; then
15101 # An in-tree tool is available and we can use it
15102 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15104 $as_echo "just compiled
" >&6; }
15105 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15106 # We already found the complete path
15107 ac_dir=`dirname $WINDMC_FOR_TARGET`
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15109 $as_echo "pre-installed
in $ac_dir" >&6; }
15110 elif test "x
$target" = "x
$host"; then
15111 # We can use an host tool
15112 WINDMC_FOR_TARGET='$(WINDMC)'
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15114 $as_echo "host tool
" >&6; }
15116 # We need a cross tool
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15118 $as_echo "pre-installed
" >&6; }
15126 # Certain tools may need extra flags.
15127 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15128 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15129 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15131 # When building target libraries, except in a Canadian cross, we use
15132 # the same toolchain as the compiler we just built.
15133 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15134 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15135 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15136 if test $host = $build; then
15137 case " $configdirs " in
15139 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15140 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15141 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15151 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15152 # Check whether --enable-maintainer-mode was given.
15153 if test "${enable_maintainer_mode+set}" = set; then :
15154 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15156 USE_MAINTAINER_MODE=no
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15160 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15163 if test "$USE_MAINTAINER_MODE" = yes; then
15164 MAINTAINER_MODE_TRUE=
15165 MAINTAINER_MODE_FALSE='#'
15167 MAINTAINER_MODE_TRUE='#'
15168 MAINTAINER_MODE_FALSE=
15170 MAINT=$MAINTAINER_MODE_TRUE
15172 # ---------------------
15173 # GCC bootstrap support
15174 # ---------------------
15176 # Stage specific cflags for build.
15181 yes) stage1_cflags="-g -Wa,-J" ;;
15182 *) stage1_cflags="-g -J" ;;
15188 # Enable --enable-checking in stage1 of the compiler.
15189 # Check whether --enable-stage1-checking was given.
15190 if test "${enable_stage1_checking+set}" = set; then :
15191 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15193 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15194 # For --disable-checking or implicit --enable-checking=release, avoid
15195 # setting --enable-checking=gc in the default stage1 checking for LTO
15196 # bootstraps. See PR62077.
15197 case $BUILD_CONFIG in
15199 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15201 stage1_checking=--enable-checking=yes,types;;
15203 if test "x
$enable_checking" = x && \
15204 test -d ${srcdir}/gcc && \
15205 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15206 stage1_checking=--enable-checking=yes,types,extra
15209 stage1_checking=--enable-checking=$enable_checking,types
15215 # Enable -Werror in bootstrap stage2 and later.
15216 # Check whether --enable-werror was given.
15217 if test "${enable_werror+set}" = set; then :
15218 enableval=$enable_werror;
15219 case ${enable_werror} in
15220 yes) stage2_werror_flag="--enable-werror-always" ;;
15221 *) stage2_werror_flag="" ;;
15226 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15227 case $BUILD_CONFIG in
15229 stage2_werror_flag="--enable-werror-always" ;;
15231 stage2_werror_flag="--enable-werror-always" ;;
15240 # Specify what files to not compare during bootstrap.
15242 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15244 hppa*64*-*-hpux*) ;;
15245 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15246 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15250 ac_config_files="$ac_config_files Makefile
"
15252 cat >confcache <<\_ACEOF
15253 # This file is a shell script that caches the results of configure
15254 # tests run on this system so they can be shared between configure
15255 # scripts and configure runs, see configure's option --config-cache.
15256 # It is not useful on other systems. If it contains results you don't
15257 # want to keep, you may remove or edit it.
15259 # config.status only pays attention to the cache file if you give it
15260 # the --recheck option to rerun configure.
15262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15264 # following values.
15268 # The following way of writing the cache mishandles newlines in values,
15269 # but we know of no workaround that is simple, portable, and efficient.
15270 # So, we kill variables containing newlines.
15271 # Ultrix sh set writes to stderr and can't be redirected directly,
15272 # and sets the high bit in the cache file unless we assign to the vars.
15274 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15275 eval ac_val=\$$ac_var
15279 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15280 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15283 _ | IFS | as_nl) ;; #(
15284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15285 *) { eval $ac_var=; unset $ac_var;} ;;
15291 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15292 *${as_nl}ac_space=\ *)
15293 # `set' does not quote correctly, so add quotes: double-quote
15294 # substitution turns \\\\ into \\, and sed turns \\ into \.
15297 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15300 # `set' quotes correctly as required by POSIX, so do not add quotes.
15301 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15312 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15314 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15315 if test -w "$cache_file"; then
15316 if test "x
$cache_file" != "x
/dev
/null
"; then
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15318 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15319 if test ! -f "$cache_file" || test -h "$cache_file"; then
15320 cat confcache >"$cache_file"
15322 case $cache_file in #(
15324 mv -f confcache "$cache_file"$$ &&
15325 mv -f "$cache_file"$$ "$cache_file" ;; #(
15327 mv -f confcache "$cache_file" ;;
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15333 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15338 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15339 # Let make expand exec_prefix.
15340 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15342 # Transform confdefs.h into DEFS.
15343 # Protect against shell expansion while executing Makefile rules.
15344 # Protect against Makefile macro expansion.
15346 # If the first sed substitution is executed (which looks for macros that
15347 # take arguments), then branch to the quote section. Otherwise,
15348 # look for a macro that doesn't take arguments.
15358 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15360 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15364 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15377 DEFS=`sed -n "$ac_script" confdefs.h`
15383 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15384 # 1. Remove the extension, and $U if already installed.
15385 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15386 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15387 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15388 # will be set to the directory where LIBOBJS objects are built.
15389 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15390 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15392 LIBOBJS=$ac_libobjs
15394 LTLIBOBJS=$ac_ltlibobjs
15398 : "${CONFIG_STATUS=./config.status}"
15400 ac_clean_files_save=$ac_clean_files
15401 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15403 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15405 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15407 # Generated by $as_me.
15408 # Run this file to recreate the current configuration.
15409 # Compiler output produced by configure, useful for debugging
15410 # configure, is in config.log if it exists.
15413 ac_cs_recheck=false
15416 SHELL=\${CONFIG_SHELL-$SHELL}
15419 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15420 ## -------------------- ##
15421 ## M4sh Initialization. ##
15422 ## -------------------- ##
15424 # Be more Bourne compatible
15425 DUALCASE=1; export DUALCASE # for MKS sh
15426 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15429 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15430 # is contrary to our usage. Disable this feature.
15431 alias -g '${1+"$@"}'='"$@"'
15432 setopt NO_GLOB_SUBST
15434 case `(set -o) 2>/dev/null` in #(
15446 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15447 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15448 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15449 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15450 # Prefer a ksh shell builtin over an external printf program on Solaris,
15451 # but without wasting forks for bash or zsh.
15452 if test -z "$BASH_VERSION$ZSH_VERSION" \
15453 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15454 as_echo
='print -r --'
15455 as_echo_n
='print -rn --'
15456 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15457 as_echo
='printf %s\n'
15458 as_echo_n
='printf %s'
15460 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15461 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15462 as_echo_n
='/usr/ucb/echo -n'
15464 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15465 as_echo_n_body
='eval
15469 expr "X$arg" : "X\\(.*\\)$as_nl";
15470 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15472 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15474 export as_echo_n_body
15475 as_echo_n
='sh -c $as_echo_n_body as_echo'
15477 export as_echo_body
15478 as_echo
='sh -c $as_echo_body as_echo'
15481 # The user is always right.
15482 if test "${PATH_SEPARATOR+set}" != set; then
15484 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15485 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15492 # We need space, tab and new line, in precisely that order. Quoting is
15493 # there to prevent editors from complaining about space-tab.
15494 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15495 # splitting by setting IFS to empty value.)
15498 # Find who we are. Look in the path if we contain no directory separator.
15501 *[\\/]* ) as_myself
=$0 ;;
15502 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15503 for as_dir
in $PATH
15506 test -z "$as_dir" && as_dir
=.
15507 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15513 # We did not find ourselves, most probably we were run as `sh COMMAND'
15514 # in which case we are not to be found in the path.
15515 if test "x$as_myself" = x
; then
15518 if test ! -f "$as_myself"; then
15519 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15523 # Unset variables that we do not need and which cause bugs (e.g. in
15524 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15525 # suppresses any "Segmentation fault" message there. '((' could
15526 # trigger a bug in pdksh 5.2.14.
15527 for as_var
in BASH_ENV ENV MAIL MAILPATH
15528 do eval test x\
${$as_var+set} = xset \
15529 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15542 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15545 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15546 # ----------------------------------------
15547 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15548 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15549 # script with STATUS, using 1 if that was 0.
15552 as_status
=$1; test $as_status -eq 0 && as_status
=1
15554 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15555 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15557 $as_echo "$as_me: error: $2" >&2
15558 as_fn_exit
$as_status
15562 # as_fn_set_status STATUS
15563 # -----------------------
15564 # Set $? to STATUS, without forking.
15565 as_fn_set_status
()
15568 } # as_fn_set_status
15570 # as_fn_exit STATUS
15571 # -----------------
15572 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15576 as_fn_set_status
$1
15582 # Portably unset VAR.
15585 { eval $1=; unset $1;}
15587 as_unset
=as_fn_unset
15588 # as_fn_append VAR VALUE
15589 # ----------------------
15590 # Append the text in VALUE to the end of the definition contained in VAR. Take
15591 # advantage of any shell optimizations that allow amortized linear growth over
15592 # repeated appends, instead of the typical quadratic growth present in naive
15594 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15595 eval 'as_fn_append ()
15606 # as_fn_arith ARG...
15607 # ------------------
15608 # Perform arithmetic evaluation on the ARGs, and store the result in the
15609 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15610 # must be portable across $(()) and expr.
15611 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15612 eval 'as_fn_arith ()
15619 as_val
=`expr "$@" || test $? -eq 1`
15624 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15625 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15631 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15632 as_basename
=basename
15637 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15643 as_me
=`$as_basename -- "$0" ||
15644 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15645 X"$0" : 'X\(//\)$' \| \
15646 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15648 sed '/^.*\/\([^/][^/]*\)\/*$/{
15662 # Avoid depending upon Character Ranges.
15663 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15664 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15665 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15666 as_cr_digits
='0123456789'
15667 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15669 ECHO_C
= ECHO_N
= ECHO_T
=
15670 case `echo -n x` in #(((((
15672 case `echo 'xy\c'` in
15673 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15675 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15682 rm -f conf$$ conf$$.exe conf$$.
file
15683 if test -d conf$$.dir
; then
15684 rm -f conf$$.dir
/conf$$.
file
15687 mkdir conf$$.dir
2>/dev
/null
15689 if (echo >conf$$.
file) 2>/dev
/null
; then
15690 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15692 # ... but there are two gotchas:
15693 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15694 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15695 # In both cases, we have to default to `cp -pR'.
15696 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15698 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15706 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15707 rmdir conf$$.dir
2>/dev
/null
15712 # Create "$as_dir" as a directory, including parents if necessary.
15717 -*) as_dir
=.
/$as_dir;;
15719 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15723 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15724 *) as_qdir
=$as_dir;;
15726 as_dirs
="'$as_qdir' $as_dirs"
15727 as_dir
=`$as_dirname -- "$as_dir" ||
15728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15729 X"$as_dir" : 'X\(//\)[^/]' \| \
15730 X"$as_dir" : 'X\(//\)$' \| \
15731 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15732 $as_echo X"$as_dir" |
15733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15737 /^X\(\/\/\)[^/].*/{
15750 test -d "$as_dir" && break
15752 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15753 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15757 if mkdir
-p .
2>/dev
/null
; then
15758 as_mkdir_p
='mkdir -p "$as_dir"'
15760 test -d .
/-p && rmdir .
/-p
15765 # as_fn_executable_p FILE
15766 # -----------------------
15767 # Test if FILE is an executable regular file.
15768 as_fn_executable_p
()
15770 test -f "$1" && test -x "$1"
15771 } # as_fn_executable_p
15772 as_test_x
='test -x'
15773 as_executable_p
=as_fn_executable_p
15775 # Sed expression to map a string onto a valid CPP name.
15776 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15778 # Sed expression to map a string onto a valid variable name.
15779 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15783 ## ----------------------------------- ##
15784 ## Main body of $CONFIG_STATUS script. ##
15785 ## ----------------------------------- ##
15787 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15790 # Save the log message, to keep $0 and so on meaningful, and to
15791 # report actual input values of CONFIG_FILES etc. instead of their
15792 # values after options handling.
15794 This file was extended by $as_me, which was
15795 generated by GNU Autoconf 2.69. Invocation command line was
15797 CONFIG_FILES = $CONFIG_FILES
15798 CONFIG_HEADERS = $CONFIG_HEADERS
15799 CONFIG_LINKS = $CONFIG_LINKS
15800 CONFIG_COMMANDS = $CONFIG_COMMANDS
15803 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15808 case $ac_config_files in *"
15809 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15815 # Files that config.status was made for.
15816 config_files="$ac_config_files"
15820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15822 \`$as_me' instantiates files and other configuration actions
15823 from templates according to the current configuration. Unless the files
15824 and actions are specified as TAGs, all are instantiated by default.
15826 Usage: $0 [OPTION]... [TAG]...
15828 -h, --help print this help, then exit
15829 -V, --version print version number and configuration settings, then exit
15830 --config print configuration, then exit
15831 -q, --quiet, --silent
15832 do not print progress messages
15833 -d, --debug don't remove temporary files
15834 --recheck update $as_me by reconfiguring in the same conditions
15835 --file=FILE[:TEMPLATE]
15836 instantiate the configuration file FILE
15838 Configuration files:
15841 Report bugs to the package provider."
15844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15845 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15848 configured by $0, generated by GNU Autoconf 2.69,
15849 with options \\"\$ac_cs_config\\"
15851 Copyright (C) 2012 Free Software Foundation, Inc.
15852 This config.status script is free software; the Free Software Foundation
15853 gives unlimited permission to copy, distribute and modify it."
15859 test -n "\$AWK" || AWK=awk
15862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15863 # The default lists apply if the user does not specify any file.
15869 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15870 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15874 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15886 # Handling of the options.
15887 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15889 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15890 $as_echo "$ac_cs_version"; exit ;;
15891 --config |
--confi |
--conf |
--con |
--co |
--c )
15892 $as_echo "$ac_cs_config"; exit ;;
15893 --debug |
--debu |
--deb |
--de |
--d |
-d )
15895 --file |
--fil |
--fi |
--f )
15898 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15899 '') as_fn_error $?
"missing file argument" ;;
15901 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15902 ac_need_defaults
=false
;;
15903 --he |
--h |
--help |
--hel |
-h )
15904 $as_echo "$ac_cs_usage"; exit ;;
15905 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15906 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15909 # This is an error.
15910 -*) as_fn_error $?
"unrecognized option: \`$1'
15911 Try \`$0 --help' for more information." ;;
15913 *) as_fn_append ac_config_targets
" $1"
15914 ac_need_defaults
=false
;;
15920 ac_configure_extra_args
=
15922 if $ac_cs_silent; then
15924 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15929 if \$ac_cs_recheck; then
15930 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15932 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15933 CONFIG_SHELL='$SHELL'
15934 export CONFIG_SHELL
15939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15943 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15944 ## Running $as_me. ##
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15954 extrasub_build="$extrasub_build"
15955 extrasub_host="$extrasub_host"
15956 extrasub_target="$extrasub_target"
15960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15962 # Handling of arguments.
15963 for ac_config_target
in $ac_config_targets
15965 case $ac_config_target in
15966 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15968 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15973 # If the user did not use the arguments to specify the items to instantiate,
15974 # then the envvar interface is used. Set only those that are not.
15975 # We use the long form for the default assignment because of an extremely
15976 # bizarre bug on SunOS 4.1.3.
15977 if $ac_need_defaults; then
15978 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15981 # Have a temporary directory for convenience. Make it in the build tree
15982 # simply because there is no reason against having it here, and in addition,
15983 # creating and moving files from /tmp can sometimes cause problems.
15984 # Hook for its removal unless debugging.
15985 # Note that there is a small window in which the directory will not be cleaned:
15986 # after its creation but before its name has been assigned to `$tmp'.
15990 trap 'exit_status=$?
15991 : "${ac_tmp:=$tmp}"
15992 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15994 trap 'as_fn_exit 1' 1 2 13 15
15996 # Create a (secure) tmp directory for tmp files.
15999 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16003 tmp
=.
/conf$$
-$RANDOM
16004 (umask 077 && mkdir
"$tmp")
16005 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16008 # Set up the scripts for CONFIG_FILES section.
16009 # No need to generate them if there are no CONFIG_FILES.
16010 # This happens for instance with `./config.status config.h'.
16011 if test -n "$CONFIG_FILES"; then
16013 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16014 ac_cs_awk_getline
=:
16015 ac_cs_awk_pipe_init
=
16016 ac_cs_awk_read_file
='
16017 while ((getline aline < (F[key])) > 0)
16020 ac_cs_awk_pipe_fini
=
16022 ac_cs_awk_getline
=false
16023 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16024 ac_cs_awk_read_file
='
16026 print "cat " F[key] " &&"
16027 '$ac_cs_awk_pipe_init
16028 # The final `:' finishes the AND list.
16029 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16031 ac_cr
=`echo X | tr X '\015'`
16032 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16033 # But we know of no other shell where ac_cr would be empty at this
16034 # point, so we can use a bashism as a fallback.
16035 if test "x$ac_cr" = x
; then
16036 eval ac_cr
=\$
\'\\r
\'
16038 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16039 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16042 ac_cs_awk_cr
=$ac_cr
16045 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16048 # Create commands to substitute file output variables.
16050 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16051 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16052 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16055 } >conf$
$files.sh
&&
16056 . .
/conf$
$files.sh ||
16057 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16058 rm -f conf$
$files.sh
16061 echo "cat >conf$$subs.awk <<_ACEOF" &&
16062 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16064 } >conf$$subs.sh ||
16065 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16066 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16068 for ac_last_try in false false false false false :; do
16069 . ./conf$$subs.sh ||
16070 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16072 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16073 if test $ac_delim_n = $ac_delim_num; then
16075 elif $ac_last_try; then
16076 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16078 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16081 rm -f conf$$subs.sh
16083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16084 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16088 s/^/S["/; s
/!.
*/"]=/
16098 s/\(.\{148\}\)..*/\1/
16100 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16105 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16112 s/\(.\{148\}\)..*/\1/
16114 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16118 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16123 ' <conf$$subs.awk | sed '
16128 ' >>$CONFIG_STATUS || ac_write_fail=1
16129 rm -f conf$$subs.awk
16130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16132 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16133 for (key in S) S_is_set[key] = 1
16135 \$ac_cs_awk_pipe_init
16139 nfields = split(line, field, "@
")
16141 len = length(field[1])
16142 for (i = 2; i < nfields; i++) {
16144 keylen = length(key)
16145 if (S_is_set[key]) {
16147 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16148 len += length(value) + length(field[++i])
16153 if (nfields == 3 && !substed) {
16155 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16156 \$ac_cs_awk_read_file
16162 \$ac_cs_awk_pipe_fini
16165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16166 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16167 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16170 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16171 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16174 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16175 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16176 # trailing colons and then remove the whole line if VPATH becomes empty
16177 # (actually we leave an empty line to preserve line numbers).
16178 if test "x
$srcdir" = x.; then
16179 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16198 fi # test -n "$CONFIG_FILES"
16201 eval set X " :F
$CONFIG_FILES "
16206 :[FHLC]) ac_mode=$ac_tag; continue;;
16208 case $ac_mode$ac_tag in
16210 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16211 :[FH]-) ac_tag=-:-;;
16212 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16229 -) ac_f="$ac_tmp/stdin";;
16230 *) # Look for the file first in the build tree, then in the source tree
16231 # (if the path is not absolute). The absolute path cannot be DOS-style,
16232 # because $ac_f cannot contain `:'.
16236 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16238 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16240 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16241 as_fn_append ac_file_inputs " '$ac_f'"
16244 # Let's still pretend it is `configure' which instantiates (i.e., don't
16245 # use $as_me), people would be surprised to read:
16246 # /* config.h. Generated by config.status. */
16247 configure_input='Generated from '`
16248 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16250 if test x"$ac_file" != x-; then
16251 configure_input="$ac_file.
$configure_input"
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16253 $as_echo "$as_me: creating
$ac_file" >&6;}
16255 # Neutralize special characters interpreted by sed in replacement strings.
16256 case $configure_input in #(
16257 *\&* | *\|* | *\\* )
16258 ac_sed_conf_input=`$as_echo "$configure_input" |
16259 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16260 *) ac_sed_conf_input=$configure_input;;
16264 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16265 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16270 ac_dir=`$as_dirname -- "$ac_file" ||
16271 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16272 X"$ac_file" : 'X\(//\)[^/]' \| \
16273 X"$ac_file" : 'X\(//\)$' \| \
16274 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16275 $as_echo X"$ac_file" |
16276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16280 /^X\(\/\/\)[^/].*/{
16293 as_dir="$ac_dir"; as_fn_mkdir_p
16297 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16299 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16300 # A "..
" for each directory in $ac_dir_suffix.
16301 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16302 case $ac_top_builddir_sub in
16303 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16304 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16307 ac_abs_top_builddir=$ac_pwd
16308 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16309 # for backward compatibility:
16310 ac_top_builddir=$ac_top_build_prefix
16313 .) # We are building in place.
16315 ac_top_srcdir=$ac_top_builddir_sub
16316 ac_abs_top_srcdir=$ac_pwd ;;
16317 [\\/]* | ?:[\\/]* ) # Absolute name.
16318 ac_srcdir=$srcdir$ac_dir_suffix;
16319 ac_top_srcdir=$srcdir
16320 ac_abs_top_srcdir=$srcdir ;;
16321 *) # Relative name.
16322 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16323 ac_top_srcdir=$ac_top_build_prefix$srcdir
16324 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16326 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16336 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16337 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16342 # If the template does not know about datarootdir, expand it.
16343 # FIXME: This hack should be removed a few years after 2.60.
16344 ac_datarootdir_hack=; ac_datarootdir_seen=
16355 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16356 *datarootdir*) ac_datarootdir_seen=yes;;
16357 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16359 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16362 ac_datarootdir_hack='
16363 s&@datadir@&$datadir&g
16364 s&@docdir@&$docdir&g
16365 s&@infodir@&$infodir&g
16366 s&@localedir@&$localedir&g
16367 s&@mandir@&$mandir&g
16368 s&\\\${datarootdir}&$datarootdir&g' ;;
16372 # Neutralize VPATH when `$srcdir' = `.'.
16373 # Shell code in configure.ac might set extrasub.
16374 # FIXME: do we really want to maintain this feature?
16375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16376 ac_sed_extra="$ac_vpsub
16379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16381 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16382 s|@configure_input@|
$ac_sed_conf_input|
;t t
16383 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16384 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16385 s
&@srcdir@
&$ac_srcdir&;t t
16386 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16387 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16388 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16389 s
&@builddir@
&$ac_builddir&;t t
16390 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16391 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16392 s
&@INSTALL@
&$ac_INSTALL&;t t
16393 $ac_datarootdir_hack
16395 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16396 if $ac_cs_awk_getline; then
16397 $AWK -f "$ac_tmp/subs.
awk"
16399 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16401 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16403 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16404 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16405 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16406 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16408 which seems to be undefined. Please make sure it is defined" >&5
16409 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16410 which seems to be undefined. Please make sure it is defined" >&2;}
16412 rm -f "$ac_tmp/stdin"
16414 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16415 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16425 case $ac_file$ac_mode in
16426 "Makefile":F) sed "$extrasub_build" Makefile |
16427 sed "$extrasub_host" |
16428 sed "$extrasub_target" > mf$$
16429 mv -f mf$$ Makefile ;;
16437 ac_clean_files=$ac_clean_files_save
16439 test $ac_write_fail = 0 ||
16440 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16443 # configure is writing to config.log, and then calls config.status.
16444 # config.status does its own redirection, appending to config.log.
16445 # Unfortunately, on DOS this fails, as config.log is still kept open
16446 # by configure, so config.status won't be able to
write to it
; its
16447 # output is simply discarded. So we exec the FD to /dev/null,
16448 # effectively closing config.log, so it can be properly (re)opened and
16449 # appended to by config.status. When coming back to configure, we
16450 # need to make the FD available again.
16451 if test "$no_create" != yes; then
16453 ac_config_status_args
=
16454 test "$silent" = yes &&
16455 ac_config_status_args
="$ac_config_status_args --quiet"
16457 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16459 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16460 # would make configure fail if this is the last instruction.
16461 $ac_cs_success || as_fn_exit
1
16463 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16465 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}