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
686 DEBUG_PREFIX_CFLAGS_FOR_TARGET
687 SYSROOT_CFLAGS_FOR_TARGET
689 extra_host_zlib_configure_flags
690 extra_host_libiberty_configure_flags
697 extra_linker_plugin_flags
698 extra_linker_plugin_configure_flags
705 extra_isl_gmp_configure_flags
706 extra_mpc_mpfr_configure_flags
707 extra_mpc_gmp_configure_flags
708 extra_mpfr_configure_flags
756 TOPLEVEL_CONFIGURE_ARGUMENTS
784 program_transform_name
795 ac_subst_files
='serialization_dependencies
801 enable_option_checking
805 enable_as_accelerator_for
806 enable_offload_targets
807 enable_offload_defaulted
811 enable_compressed_debug_sections
812 enable_default_compressed_debug_sections_algorithm
815 enable_libquadmath_support
832 with_static_standard_libraries
839 enable_isl_version_check
841 enable_linker_plugin_configure_flags
842 enable_linker_plugin_flags
845 enable_stage1_languages
848 with_target_bdw_gc_include
849 with_target_bdw_gc_lib
850 with_gcc_major_version_only
852 with_debug_prefix_map
855 enable_serial_configure
856 with_build_time_tools
857 enable_maintainer_mode
858 enable_stage1_checking
861 ac_precious_vars
='build_alias
914 # Initialize some variables set by options.
916 ac_init_version
=false
917 ac_unrecognized_opts
=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
928 program_transform_name
=s
,x
,x
,
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir
='${exec_prefix}/bin'
943 sbindir
='${exec_prefix}/sbin'
944 libexecdir
='${exec_prefix}/libexec'
945 datarootdir
='${prefix}/share'
946 datadir
='${datarootdir}'
947 sysconfdir
='${prefix}/etc'
948 sharedstatedir
='${prefix}/com'
949 localstatedir
='${prefix}/var'
950 includedir
='${prefix}/include'
951 oldincludedir
='/usr/include'
952 docdir
='${datarootdir}/doc/${PACKAGE}'
953 infodir
='${datarootdir}/info'
958 libdir
='${exec_prefix}/lib'
959 localedir
='${datarootdir}/locale'
960 mandir
='${datarootdir}/man'
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\
$ac_option
974 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
979 # Accept the important Cygnus configure options, so we can diagnose typos.
981 case $ac_dashdash$ac_option in
985 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
987 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
990 -build |
--build |
--buil |
--bui |
--bu)
991 ac_prev
=build_alias
;;
992 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
993 build_alias
=$ac_optarg ;;
995 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
996 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
997 ac_prev
=cache_file
;;
998 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
999 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1000 cache_file
=$ac_optarg ;;
1002 --config-cache |
-C)
1003 cache_file
=config.cache
;;
1005 -datadir |
--datadir |
--datadi |
--datad)
1007 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1008 datadir
=$ac_optarg ;;
1010 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1011 |
--dataroo |
--dataro |
--datar)
1012 ac_prev
=datarootdir
;;
1013 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1014 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1015 datarootdir
=$ac_optarg ;;
1017 -disable-* |
--disable-*)
1018 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1021 as_fn_error $?
"invalid feature name: $ac_useropt"
1022 ac_useropt_orig
=$ac_useropt
1023 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "enable_
$ac_useropt"
1028 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1029 ac_unrecognized_sep
=', ';;
1031 eval enable_
$ac_useropt=no
;;
1033 -docdir |
--docdir |
--docdi |
--doc |
--do)
1035 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1036 docdir
=$ac_optarg ;;
1038 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1040 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1041 dvidir
=$ac_optarg ;;
1043 -enable-* |
--enable-*)
1044 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1047 as_fn_error $?
"invalid feature name: $ac_useropt"
1048 ac_useropt_orig
=$ac_useropt
1049 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "enable_
$ac_useropt"
1054 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1055 ac_unrecognized_sep
=', ';;
1057 eval enable_
$ac_useropt=\
$ac_optarg ;;
1059 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1060 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1061 |
--exec |
--exe |
--ex)
1062 ac_prev
=exec_prefix
;;
1063 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1064 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1065 |
--exec=* |
--exe=* |
--ex=*)
1066 exec_prefix
=$ac_optarg ;;
1068 -gas |
--gas |
--ga |
--g)
1069 # Obsolete; use --with-gas.
1072 -help |
--help |
--hel |
--he |
-h)
1073 ac_init_help
=long
;;
1074 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1075 ac_init_help
=recursive
;;
1076 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1077 ac_init_help
=short
;;
1079 -host |
--host |
--hos |
--ho)
1080 ac_prev
=host_alias
;;
1081 -host=* |
--host=* |
--hos=* |
--ho=*)
1082 host_alias
=$ac_optarg ;;
1084 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1086 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1088 htmldir
=$ac_optarg ;;
1090 -includedir |
--includedir |
--includedi |
--included |
--include \
1091 |
--includ |
--inclu |
--incl |
--inc)
1092 ac_prev
=includedir
;;
1093 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1094 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1095 includedir
=$ac_optarg ;;
1097 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1099 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1100 infodir
=$ac_optarg ;;
1102 -libdir |
--libdir |
--libdi |
--libd)
1104 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1105 libdir
=$ac_optarg ;;
1107 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1108 |
--libexe |
--libex |
--libe)
1109 ac_prev
=libexecdir
;;
1110 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1111 |
--libexe=* |
--libex=* |
--libe=*)
1112 libexecdir
=$ac_optarg ;;
1114 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1115 ac_prev
=localedir
;;
1116 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1117 localedir
=$ac_optarg ;;
1119 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1120 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1121 ac_prev
=localstatedir
;;
1122 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1123 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1124 localstatedir
=$ac_optarg ;;
1126 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1128 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1129 mandir
=$ac_optarg ;;
1131 -nfp |
--nfp |
--nf)
1132 # Obsolete; use --without-fp.
1135 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1136 |
--no-cr |
--no-c |
-n)
1139 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1140 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1143 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1144 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1145 |
--oldin |
--oldi |
--old |
--ol |
--o)
1146 ac_prev
=oldincludedir
;;
1147 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1148 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1149 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1150 oldincludedir
=$ac_optarg ;;
1152 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1154 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1155 prefix
=$ac_optarg ;;
1157 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1158 |
--program-pre |
--program-pr |
--program-p)
1159 ac_prev
=program_prefix
;;
1160 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1161 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1162 program_prefix
=$ac_optarg ;;
1164 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1165 |
--program-suf |
--program-su |
--program-s)
1166 ac_prev
=program_suffix
;;
1167 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1168 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1169 program_suffix
=$ac_optarg ;;
1171 -program-transform-name |
--program-transform-name \
1172 |
--program-transform-nam |
--program-transform-na \
1173 |
--program-transform-n |
--program-transform- \
1174 |
--program-transform |
--program-transfor \
1175 |
--program-transfo |
--program-transf \
1176 |
--program-trans |
--program-tran \
1177 |
--progr-tra |
--program-tr |
--program-t)
1178 ac_prev
=program_transform_name
;;
1179 -program-transform-name=* |
--program-transform-name=* \
1180 |
--program-transform-nam=* |
--program-transform-na=* \
1181 |
--program-transform-n=* |
--program-transform-=* \
1182 |
--program-transform=* |
--program-transfor=* \
1183 |
--program-transfo=* |
--program-transf=* \
1184 |
--program-trans=* |
--program-tran=* \
1185 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1186 program_transform_name
=$ac_optarg ;;
1188 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1190 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1191 pdfdir
=$ac_optarg ;;
1193 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1195 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1198 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1199 |
-silent |
--silent |
--silen |
--sile |
--sil)
1202 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1204 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1206 sbindir
=$ac_optarg ;;
1208 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1209 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1210 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1212 ac_prev
=sharedstatedir
;;
1213 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1214 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1215 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1217 sharedstatedir
=$ac_optarg ;;
1219 -site |
--site |
--sit)
1221 -site=* |
--site=* |
--sit=*)
1224 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1226 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1227 srcdir
=$ac_optarg ;;
1229 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1230 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1231 ac_prev
=sysconfdir
;;
1232 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1233 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1234 sysconfdir
=$ac_optarg ;;
1236 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1237 ac_prev
=target_alias
;;
1238 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1239 target_alias
=$ac_optarg ;;
1241 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1244 -version |
--version |
--versio |
--versi |
--vers |
-V)
1245 ac_init_version
=: ;;
1248 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1251 as_fn_error $?
"invalid package name: $ac_useropt"
1252 ac_useropt_orig
=$ac_useropt
1253 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1258 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1259 ac_unrecognized_sep
=', ';;
1261 eval with_
$ac_useropt=\
$ac_optarg ;;
1263 -without-* |
--without-*)
1264 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1267 as_fn_error $?
"invalid package name: $ac_useropt"
1268 ac_useropt_orig
=$ac_useropt
1269 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1274 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep
=', ';;
1277 eval with_
$ac_useropt=no
;;
1280 # Obsolete; use --with-x.
1283 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1284 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1285 ac_prev
=x_includes
;;
1286 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1287 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1288 x_includes
=$ac_optarg ;;
1290 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1291 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1292 ac_prev
=x_libraries
;;
1293 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1294 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1295 x_libraries
=$ac_optarg ;;
1297 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1298 Try \`$0 --help' for more information"
1302 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1303 # Reject names that are not valid shell variable names.
1304 case $ac_envvar in #(
1305 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1306 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1308 eval $ac_envvar=\
$ac_optarg
1309 export $ac_envvar ;;
1312 # FIXME: should be removed in autoconf 3.0.
1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1322 if test -n "$ac_prev"; then
1323 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1324 as_fn_error $?
"missing argument to $ac_option"
1327 if test -n "$ac_unrecognized_opts"; then
1328 case $enable_option_checking in
1330 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335 # Check all directory arguments for consistency.
1336 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337 datadir sysconfdir sharedstatedir localstatedir includedir \
1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339 libdir localedir mandir
1341 eval ac_val
=\$
$ac_var
1342 # Remove trailing slashes.
1345 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346 eval $ac_var=\
$ac_val;;
1348 # Be sure to have absolute directory names.
1350 [\\/$
]* | ?
:[\\/]* ) continue;;
1351 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1353 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1356 # There might be people who depend on the old broken behavior: `$host'
1357 # used to hold the argument of --host etc.
1358 # FIXME: To remove some day.
1361 target
=$target_alias
1363 # FIXME: To remove some day.
1364 if test "x$host_alias" != x
; then
1365 if test "x$build_alias" = x
; then
1366 cross_compiling
=maybe
1367 elif test "x$build_alias" != "x$host_alias"; then
1373 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1375 test "$silent" = yes && exec 6>/dev
/null
1378 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di
=`ls -di .` &&
1380 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1381 as_fn_error $?
"working directory cannot be determined"
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 as_fn_error $?
"pwd does not report name of working directory"
1386 # Find the source files, if location was not specified.
1387 if test -z "$srcdir"; then
1388 ac_srcdir_defaulted
=yes
1389 # Try the directory containing this script, then the parent directory.
1390 ac_confdir
=`$as_dirname -- "$as_myself" ||
1391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392 X"$as_myself" : 'X\(//\)[^/]' \| \
1393 X"$as_myself" : 'X\(//\)$' \| \
1394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1395 $as_echo X"$as_myself" |
1396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1418 ac_srcdir_defaulted
=no
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1422 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1424 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1428 # When building in place, set srcdir=.
1429 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 # Remove unnecessary trailing slashes from srcdir.
1433 # Double slashes in file names in object file debugging info
1434 # mess up M-x gdb in Emacs.
1436 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 as_fn_error $?
"path to source, $srcdir, contains spaces"
1443 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1445 for ac_var
in $ac_precious_vars; do
1446 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1448 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1453 # Report the --help message.
1455 if test "$ac_init_help" = "long"; then
1456 # Omit some internal or obsolete options to make the list less imposing.
1457 # This message is too long to be a string in the A/UX 3.1 sh.
1459 \`configure' configures this package to adapt to many kinds of systems.
1461 Usage: $0 [OPTION]... [VAR=VALUE]...
1463 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464 VAR=VALUE. See below for descriptions of some of the useful variables.
1466 Defaults for the options are specified in brackets.
1469 -h, --help display this help and exit
1470 --help=short display options specific to this package
1471 --help=recursive display the short help of all the included packages
1472 -V, --version display version information and exit
1473 -q, --quiet, --silent do not print \`checking ...' messages
1474 --cache-file=FILE cache test results in FILE [disabled]
1475 -C, --config-cache alias for \`--cache-file=config.cache'
1476 -n, --no-create do not create output files
1477 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1479 Installation directories:
1480 --prefix=PREFIX install architecture-independent files in PREFIX
1481 [$ac_default_prefix]
1482 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485 By default, \`make install' will install all the files in
1486 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488 for instance \`--prefix=\$HOME'.
1490 For better control, use the options below.
1492 Fine tuning of the installation directories:
1493 --bindir=DIR user executables [EPREFIX/bin]
1494 --sbindir=DIR system admin executables [EPREFIX/sbin]
1495 --libexecdir=DIR program executables [EPREFIX/libexec]
1496 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499 --libdir=DIR object code libraries [EPREFIX/lib]
1500 --includedir=DIR C header files [PREFIX/include]
1501 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1502 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504 --infodir=DIR info documentation [DATAROOTDIR/info]
1505 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506 --mandir=DIR man documentation [DATAROOTDIR/man]
1507 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1508 --htmldir=DIR html documentation [DOCDIR]
1509 --dvidir=DIR dvi documentation [DOCDIR]
1510 --pdfdir=DIR pdf documentation [DOCDIR]
1511 --psdir=DIR ps documentation [DOCDIR]
1517 --program-prefix=PREFIX prepend PREFIX to installed program names
1518 --program-suffix=SUFFIX append SUFFIX to installed program names
1519 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1522 --build=BUILD configure
for building on BUILD
[guessed
]
1523 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1524 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1528 if test -n "$ac_init_help"; then
1533 --disable-option-checking ignore unrecognized
--enable/--with options
1534 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1535 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1536 --enable-as-accelerator-for=ARG
1537 build as offload target compiler. Specify offload
1539 --enable-offload-targets=LIST
1540 enable offloading to devices from comma-separated
1541 LIST of TARGET
[=DIR
]. Use optional path to
find
1542 offload target compiler during the build
1543 --enable-offload-defaulted
1544 If enabled
, configured but not installed offload compilers and
1545 libgomp plugins are silently ignored. Useful
for distribution
1546 compilers where those are
in separate optional packages.
1548 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1549 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1550 --enable-gprofng[=ARG
] build gprofng
[ARG
={yes,no
}]
1551 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1552 Enable compressed debug sections
for gas
, gold or ld
1554 --enable-default-compressed-debug-sections-algorithm={zlib
,zstd
}
1555 Default compression algorithm
for
1556 --enable-compressed-debug-sections.
1557 --enable-year2038 enable support
for timestamps past the year
2038
1558 --disable-libquadmath do not build libquadmath directory
1559 --disable-libquadmath-support
1560 disable libquadmath support
for Fortran
1561 --enable-libada build libada directory
1562 --enable-libgm2 build libgm2 directory
1563 --enable-libssp build libssp directory
1564 --disable-libstdcxx do not build libstdc
++-v3 directory
1565 --enable-bootstrap enable bootstrapping
[yes if native build
]
1566 --enable-pgo-build[=lto
]
1567 enable the PGO build
1568 --disable-isl-version-check
1569 disable check
for isl version
1570 --enable-lto enable link
time optimization support
1571 --enable-linker-plugin-configure-flags=FLAGS
1572 additional flags
for configuring linker plugins
1574 --enable-linker-plugin-flags=FLAGS
1575 additional flags
for configuring and building linker
1577 --enable-host-pie build position independent
host executables
1578 --enable-host-shared build
host code as shared libraries
1579 --enable-stage1-languages[=all
]
1580 choose additional languages to build during stage1.
1581 Mostly useful
for compiler development
1582 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1584 --enable-vtable-verify Enable vtable verification feature
1585 --enable-serial-[{host,target,build}-]configure
1586 force sequential configuration of sub-packages for
1587 the host, target or build machine, or all
1589 --enable-maintainer-mode
1590 enable make rules and dependencies not useful (and
1591 sometimes confusing) to the casual installer
1592 --enable-stage1-checking[=all]
1593 choose additional checking for stage1 of the
1595 --enable-werror enable -Werror in bootstrap stage2 and later
1598 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1599 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1600 --with-build-libsubdir=DIR Directory where to find libraries for build system
1601 --with-system-zlib use installed libz
1602 --with-zstd Support zstd compressed debug sections
1604 --with-mpc=PATH specify prefix directory for installed MPC package.
1605 Equivalent to --with-mpc-include=PATH/include plus
1606 --with-mpc-lib=PATH/lib
1607 --with-mpc-include=PATH specify directory for installed MPC include files
1608 --with-mpc-lib=PATH specify directory for the installed MPC library
1609 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1610 Equivalent to --with-mpfr-include=PATH/include plus
1611 --with-mpfr-lib=PATH/lib
1612 --with-mpfr-include=PATH
1613 specify directory for installed MPFR include files
1614 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1615 --with-gmp=PATH specify prefix directory for the installed GMP
1616 package. Equivalent to
1617 --with-gmp-include=PATH/include plus
1618 --with-gmp-lib=PATH/lib
1619 --with-gmp-include=PATH specify directory for installed GMP include files
1620 --with-gmp-lib=PATH specify directory for the installed GMP library
1621 --with-stage1-libs=LIBS libraries for stage1
1622 --with-static-standard-libraries
1623 use -static-libstdc++ and -static-libgcc
1625 --with-stage1-ldflags=FLAGS
1626 linker flags for stage1
1627 --with-boot-libs=LIBS libraries for stage2 and later
1628 --with-boot-ldflags=FLAGS
1629 linker flags for stage2 and later
1630 --with-isl=PATH Specify prefix directory for the installed isl
1631 package. Equivalent to
1632 --with-isl-include=PATH/include plus
1633 --with-isl-lib=PATH/lib
1634 --with-isl-include=PATH Specify directory for installed isl include files
1635 --with-isl-lib=PATH Specify the directory for the installed isl library
1636 --with-target-bdw-gc=PATHLIST
1637 specify prefix directory for installed bdw-gc
1638 package. Equivalent to
1639 --with-target-bdw-gc-include=PATH/include plus
1640 --with-target-bdw-gc-lib=PATH/lib
1641 --with-target-bdw-gc-include=PATHLIST
1642 specify directories for installed bdw-gc include
1644 --with-target-bdw-gc-lib=PATHLIST
1645 specify directories for installed bdw-gc library
1646 --with-gcc-major-version-only
1647 use only GCC major number in filesystem paths
1648 --with-build-sysroot=SYSROOT
1649 use sysroot as the system root during the build
1650 --with-debug-prefix-map='A
=B C
=D ...
'
1651 map A to B, C to D ... in debug information
1652 --with-build-config='NAME NAME2...
'
1653 use config/NAME.mk build configuration
1654 --with-build-time-tools=PATH
1655 use given path to find target tools during the build
1657 Some influential environment variables:
1658 CC C compiler command
1659 CFLAGS C compiler flags
1660 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1661 nonstandard directory <lib dir>
1662 LIBS libraries to pass to the linker, e.g. -l<library>
1663 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1664 you have headers in a nonstandard directory <include dir>
1665 CXX C++ compiler command
1666 CXXFLAGS C++ compiler flags
1668 additional configure arguments for build directories
1670 additional configure arguments for host directories
1672 additional configure arguments for target directories
1675 DLLTOOL DLLTOOL for the host
1676 DSYMUTIL DSYMUTIL for the host
1678 LIPO LIPO for the host
1680 RANLIB RANLIB for the host
1681 STRIP STRIP for the host
1682 WINDRES WINDRES for the host
1683 WINDMC WINDMC for the host
1684 OBJCOPY OBJCOPY for the host
1685 OBJDUMP OBJDUMP for the host
1686 OTOOL OTOOL for the host
1687 READELF READELF for the host
1695 GFORTRAN for the target
1707 DLLTOOL for the target
1709 DSYMUTIL for the target
1717 OBJCOPY for the target
1719 OBJDUMP for the target
1721 OTOOL for the target
1723 RANLIB for the target
1725 READELF for the target
1727 STRIP for the target
1729 WINDRES for the target
1731 WINDMC for the target
1733 Use these variables to override the choices made by `configure' or to
help
1734 it to
find libraries and programs with nonstandard names
/locations.
1736 Report bugs to the package provider.
1741 if test "$ac_init_help" = "recursive"; then
1742 # If there are subdirs, report their specific --help.
1743 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1744 test -d "$ac_dir" ||
1745 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1750 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1752 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1753 # A ".." for each directory in $ac_dir_suffix.
1754 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1755 case $ac_top_builddir_sub in
1756 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1757 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1760 ac_abs_top_builddir
=$ac_pwd
1761 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1762 # for backward compatibility:
1763 ac_top_builddir
=$ac_top_build_prefix
1766 .
) # We are building in place.
1768 ac_top_srcdir
=$ac_top_builddir_sub
1769 ac_abs_top_srcdir
=$ac_pwd ;;
1770 [\\/]* | ?
:[\\/]* ) # Absolute name.
1771 ac_srcdir
=$srcdir$ac_dir_suffix;
1772 ac_top_srcdir
=$srcdir
1773 ac_abs_top_srcdir
=$srcdir ;;
1775 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1776 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1777 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1779 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1781 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1782 # Check for guested configure.
1783 if test -f "$ac_srcdir/configure.gnu"; then
1785 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1786 elif test -f "$ac_srcdir/configure"; then
1788 $SHELL "$ac_srcdir/configure" --help=recursive
1790 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1792 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1796 test -n "$ac_init_help" && exit $ac_status
1797 if $ac_init_version; then
1800 generated by GNU Autoconf
2.69
1802 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1803 This configure
script is free software
; the Free Software Foundation
1804 gives unlimited permission to copy
, distribute and modify it.
1809 ## ------------------------ ##
1810 ## Autoconf initialization. ##
1811 ## ------------------------ ##
1813 # ac_fn_c_try_compile LINENO
1814 # --------------------------
1815 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1816 ac_fn_c_try_compile
()
1818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1819 rm -f conftest.
$ac_objext
1820 if { { ac_try
="$ac_compile"
1822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_compile") 2>conftest.err
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } && {
1836 test -z "$ac_c_werror_flag" ||
1837 test ! -s conftest.err
1838 } && test -s conftest.$ac_objext; then :
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status $ac_retval
1849 } # ac_fn_c_try_compile
1851 # ac_fn_cxx_try_compile LINENO
1852 # ----------------------------
1853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1854 ac_fn_cxx_try_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 rm -f conftest.$ac_objext
1858 if { { ac_try="$ac_compile"
1860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1861 *) ac_try_echo
=$ac_try;;
1863 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_compile") 2>conftest.err
1867 if test -s conftest.err
; then
1868 grep -v '^ *+' conftest.err
>conftest.er1
1869 cat conftest.er1
>&5
1870 mv -f conftest.er1 conftest.err
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } && {
1874 test -z "$ac_cxx_werror_flag" ||
1875 test ! -s conftest.err
1876 } && test -s conftest.
$ac_objext; then :
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.
$ac_ext >&5
1884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885 as_fn_set_status
$ac_retval
1887 } # ac_fn_cxx_try_compile
1889 # ac_fn_cxx_try_link LINENO
1890 # -------------------------
1891 # Try to link conftest.$ac_ext, and return whether this succeeded.
1892 ac_fn_cxx_try_link
()
1894 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1895 rm -f conftest.
$ac_objext conftest
$ac_exeext
1896 if { { ac_try
="$ac_link"
1898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_link") 2>conftest.err
1905 if test -s conftest.err; then
1906 grep -v '^ *+' conftest.err >conftest.er1
1907 cat conftest.er1 >&5
1908 mv -f conftest.er1 conftest.err
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; } && {
1912 test -z "$ac_cxx_werror_flag" ||
1913 test ! -s conftest.err
1914 } && test -s conftest$ac_exeext && {
1915 test "$cross_compiling" = yes ||
1916 test -x conftest$ac_exeext
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1925 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1926 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1927 # interfere with the next link command; also delete a directory that is
1928 # left behind by Apple's compiler. We do this before executing the actions.
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 as_fn_set_status $ac_retval
1933 } # ac_fn_cxx_try_link
1935 # ac_fn_c_try_link LINENO
1936 # -----------------------
1937 # Try to link conftest.$ac_ext, and return whether this succeeded.
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 rm -f conftest.$ac_objext conftest$ac_exeext
1942 if { { ac_try="$ac_link"
1944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1945 *) ac_try_echo
=$ac_try;;
1947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_link") 2>conftest.err
1951 if test -s conftest.err
; then
1952 grep -v '^ *+' conftest.err
>conftest.er1
1953 cat conftest.er1
>&5
1954 mv -f conftest.er1 conftest.err
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; } && {
1958 test -z "$ac_c_werror_flag" ||
1959 test ! -s conftest.err
1960 } && test -s conftest
$ac_exeext && {
1961 test "$cross_compiling" = yes ||
1962 test -x conftest
$ac_exeext
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.
$ac_ext >&5
1971 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1972 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1973 # interfere with the next link command; also delete a directory that is
1974 # left behind by Apple's compiler. We do this before executing the actions.
1975 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 as_fn_set_status
$ac_retval
1979 } # ac_fn_c_try_link
1980 cat >config.log
<<_ACEOF
1981 This file contains any messages produced by compilers while
1982 running configure, to aid debugging if configure makes a mistake.
1984 It was created by $as_me, which was
1985 generated by GNU Autoconf 2.69. Invocation command line was
1997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2009 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir
=.
2021 $as_echo "PATH: $as_dir"
2037 # Keep a trace of the command line.
2038 # Strip out --no-create and --no-recursion so they do not pile up.
2039 # Strip out --silent because we don't want to record it for future runs.
2040 # Also quote any args containing shell meta-characters.
2041 # Make two passes to allow for proper duplicate-argument suppression.
2045 ac_must_keep_next
=false
2051 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2053 |
-silent |
--silent |
--silen |
--sile |
--sil)
2056 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2059 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2061 as_fn_append ac_configure_args1
" '$ac_arg'"
2062 if test $ac_must_keep_next = true
; then
2063 ac_must_keep_next
=false
# Got value, back to normal.
2066 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2067 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2068 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2069 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2070 case "$ac_configure_args0 " in
2071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2074 -* ) ac_must_keep_next
=true
;;
2077 as_fn_append ac_configure_args
" '$ac_arg'"
2082 { ac_configure_args0
=; unset ac_configure_args0
;}
2083 { ac_configure_args1
=; unset ac_configure_args1
;}
2085 # When interrupted or exit'd, cleanup temporary files, and complete
2086 # config.log. We remove comments because anyway the quotes in there
2087 # would cause problems or look ugly.
2088 # WARNING: Use '\'' to represent an apostrophe within the trap.
2089 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2090 trap 'exit_status=$?
2091 # Save into config.log some information that might help in debugging.
2095 $as_echo "## ---------------- ##
2096 ## Cache variables. ##
2097 ## ---------------- ##"
2099 # The following way of writing the cache mishandles newlines in values,
2101 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102 eval ac_val=\$$ac_var
2106 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2110 _ | IFS | as_nl) ;; #(
2111 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112 *) { eval $ac_var=; unset $ac_var;} ;;
2117 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118 *${as_nl}ac_space=\ *)
2120 "s/'\''/'\''\\\\'\'''\''/g;
2121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2131 $as_echo "## ----------------- ##
2132 ## Output variables. ##
2133 ## ----------------- ##"
2135 for ac_var in $ac_subst_vars
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 $as_echo "$ac_var='\''$ac_val'\''"
2145 if test -n "$ac_subst_files"; then
2146 $as_echo "## ------------------- ##
2147 ## File substitutions. ##
2148 ## ------------------- ##"
2150 for ac_var
in $ac_subst_files
2152 eval ac_val
=\$
$ac_var
2154 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 $as_echo "$ac_var='\''$ac_val'\''"
2161 if test -s confdefs.h; then
2162 $as_echo "## ----------- ##
2169 test "$ac_signal" != 0 &&
2170 $as_echo "$as_me: caught signal $ac_signal"
2171 $as_echo "$as_me: exit $exit_status"
2173 rm -f core *.core core.conftest.* &&
2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2177 for ac_signal
in 1 2 13 15; do
2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2183 rm -f -r conftest
* confdefs.h
2185 $as_echo "/* confdefs.h */" > confdefs.h
2187 # Predefined preprocessor variables.
2189 cat >>confdefs.h
<<_ACEOF
2190 #define PACKAGE_NAME "$PACKAGE_NAME"
2193 cat >>confdefs.h
<<_ACEOF
2194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2197 cat >>confdefs.h
<<_ACEOF
2198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2201 cat >>confdefs.h
<<_ACEOF
2202 #define PACKAGE_STRING "$PACKAGE_STRING"
2205 cat >>confdefs.h
<<_ACEOF
2206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2209 cat >>confdefs.h
<<_ACEOF
2210 #define PACKAGE_URL "$PACKAGE_URL"
2214 # Let the site file select an alternate cache file if it wants to.
2215 # Prefer an explicitly selected file to automatically selected ones.
2218 if test -n "$CONFIG_SITE"; then
2219 # We do not want a PATH search for config.site.
2220 case $CONFIG_SITE in #((
2221 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2222 */*) ac_site_file1
=$CONFIG_SITE;;
2223 *) ac_site_file1
=.
/$CONFIG_SITE;;
2225 elif test "x$prefix" != xNONE
; then
2226 ac_site_file1
=$prefix/share
/config.site
2227 ac_site_file2
=$prefix/etc
/config.site
2229 ac_site_file1
=$ac_default_prefix/share
/config.site
2230 ac_site_file2
=$ac_default_prefix/etc
/config.site
2232 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2234 test "x$ac_site_file" = xNONE
&& continue
2235 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2237 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2238 sed 's/^/| /' "$ac_site_file" >&5
2240 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242 as_fn_error $?
"failed to load site script $ac_site_file
2243 See \`config.log' for more details" "$LINENO" 5; }
2247 if test -r "$cache_file"; then
2248 # Some versions of bash will fail to source /dev/null (special files
2249 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2250 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2252 $as_echo "$as_me: loading cache $cache_file" >&6;}
2254 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2255 *) .
"./$cache_file";;
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2260 $as_echo "$as_me: creating cache $cache_file" >&6;}
2264 # Check that the precious variables saved in the cache have kept the same
2266 ac_cache_corrupted
=false
2267 for ac_var
in $ac_precious_vars; do
2268 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2269 eval ac_new_set
=\
$ac_env_${ac_var}_set
2270 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2271 eval ac_new_val
=\
$ac_env_${ac_var}_value
2272 case $ac_old_set,$ac_new_set in
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2275 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2276 ac_cache_corrupted
=: ;;
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2279 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2280 ac_cache_corrupted
=: ;;
2283 if test "x$ac_old_val" != "x$ac_new_val"; then
2284 # differences in whitespace do not lead to failure.
2285 ac_old_val_w
=`echo x $ac_old_val`
2286 ac_new_val_w
=`echo x $ac_new_val`
2287 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2289 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2290 ac_cache_corrupted
=:
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2293 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2294 eval $ac_var=\
$ac_old_val
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2297 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2299 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2302 # Pass precious variables to config.status.
2303 if test "$ac_new_set" = set; then
2305 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2306 *) ac_arg
=$ac_var=$ac_new_val ;;
2308 case " $ac_configure_args " in
2309 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2310 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2314 if $ac_cache_corrupted; then
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2318 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2319 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2321 ## -------------------- ##
2322 ## Main body of script. ##
2323 ## -------------------- ##
2326 ac_cpp
='$CPP $CPPFLAGS'
2327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2339 # if PWD already has a value, it is probably wrong.
2340 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2342 # Export original configure arguments for use by sub-configures.
2343 # Quote arguments with shell meta charatcers.
2344 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2345 set -- "$progname" "$@"
2349 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2350 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2351 # if the argument is of the form -foo=baz, quote the baz part only
2352 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2355 # Add the quoted argument to the list.
2356 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2358 if test "$silent" = yes; then
2359 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2361 # Remove the initial space we just introduced and, as these will be
2362 # expanded by make, quote '$'.
2363 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2366 # Find the build, host, and target systems.
2368 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2371 ac_install_sh
="$ac_aux_dir/install-sh -c"
2373 elif test -f "$ac_dir/install.sh"; then
2375 ac_install_sh
="$ac_aux_dir/install.sh -c"
2377 elif test -f "$ac_dir/shtool"; then
2379 ac_install_sh
="$ac_aux_dir/shtool install -c"
2383 if test -z "$ac_aux_dir"; then
2384 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2387 # These three variables are undocumented and unsupported,
2388 # and are intended to be withdrawn in a future Autoconf release.
2389 # They can cause serious problems if a builder's source tree is in a directory
2390 # whose full name contains unusual characters.
2391 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2392 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2393 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396 # Make sure we can run config.sub.
2397 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2398 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2401 $as_echo_n "checking build system type... " >&6; }
2402 if ${ac_cv_build+:} false
; then :
2403 $as_echo_n "(cached) " >&6
2405 ac_build_alias
=$build_alias
2406 test "x$ac_build_alias" = x
&&
2407 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2408 test "x$ac_build_alias" = x
&&
2409 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2410 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2411 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2415 $as_echo "$ac_cv_build" >&6; }
2416 case $ac_cv_build in
2418 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2421 ac_save_IFS
=$IFS; IFS
='-'
2427 # Remember, the first character of IFS is used to create $*,
2428 # except with old shells:
2431 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2434 case ${build_alias} in
2435 "") build_noncanonical
=${build} ;;
2436 *) build_noncanonical
=${build_alias} ;;
2441 case ${host_alias} in
2442 "") host_noncanonical
=${build_noncanonical} ;;
2443 *) host_noncanonical
=${host_alias} ;;
2448 case ${target_alias} in
2449 "") target_noncanonical
=${host_noncanonical} ;;
2450 *) target_noncanonical
=${target_alias} ;;
2456 test "$host_noncanonical" = "$target_noncanonical" &&
2457 test "$program_prefix$program_suffix$program_transform_name" = \
2459 program_transform_name
=s
,y
,y
,
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2462 $as_echo_n "checking host system type... " >&6; }
2463 if ${ac_cv_host+:} false
; then :
2464 $as_echo_n "(cached) " >&6
2466 if test "x$host_alias" = x
; then
2467 ac_cv_host
=$ac_cv_build
2469 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2470 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2475 $as_echo "$ac_cv_host" >&6; }
2478 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2481 ac_save_IFS
=$IFS; IFS
='-'
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2491 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2495 $as_echo_n "checking target system type... " >&6; }
2496 if ${ac_cv_target+:} false
; then :
2497 $as_echo_n "(cached) " >&6
2499 if test "x$target_alias" = x
; then
2500 ac_cv_target
=$ac_cv_host
2502 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2503 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2508 $as_echo "$ac_cv_target" >&6; }
2509 case $ac_cv_target in
2511 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2513 target
=$ac_cv_target
2514 ac_save_IFS
=$IFS; IFS
='-'
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2524 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2527 # The aliases save the names the user supplied, while $host etc.
2528 # will get canonicalized.
2529 test -n "$target_alias" &&
2530 test "$program_prefix$program_suffix$program_transform_name" = \
2532 program_prefix
=${target_alias}-
2534 test "$program_prefix" != NONE
&&
2535 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2536 # Use a double $ so make ignores it.
2537 test "$program_suffix" != NONE
&&
2538 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2539 # Double any \ or $.
2540 # By default was `s,x,x', remove it if useless.
2541 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2542 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2546 # Get 'install' or 'install-sh' and its variants.
2547 # Find a good install program. We prefer a C program (faster),
2548 # so one script is as good as another. But avoid the broken or
2549 # incompatible versions:
2550 # SysV /etc/install, /usr/sbin/install
2551 # SunOS /usr/etc/install
2552 # IRIX /sbin/install
2554 # AmigaOS /C/install, which installs bootblocks on floppy discs
2555 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2556 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2557 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2558 # OS/2's system install, which has a completely different semantic
2559 # ./install, which can be erroneously created by make from ./install.sh.
2560 # Reject install programs that cannot install multiple files.
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2562 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2563 if test -z "$INSTALL"; then
2564 if ${ac_cv_path_install+:} false
; then :
2565 $as_echo_n "(cached) " >&6
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 # Account for people who put trailing slashes in PATH elements.
2573 case $as_dir/ in #((
2574 .
/ | .
// |
/[cC
]/* | \
2575 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2576 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2579 # OSF1 and SCO ODT 3.0 have their own names for install.
2580 # Don't use installbsd from OSF since it installs stuff as root
2582 for ac_prog
in ginstall scoinst
install; do
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2585 if test $ac_prog = install &&
2586 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2587 # AIX install. It has an incompatible calling convention.
2589 elif test $ac_prog = install &&
2590 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2591 # program-specific install script used by HP pwplus--don't use.
2594 rm -rf conftest.one conftest.two conftest.dir
2595 echo one
> conftest.one
2596 echo two
> conftest.two
2598 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2599 test -s conftest.one
&& test -s conftest.two
&&
2600 test -s conftest.dir
/conftest.one
&&
2601 test -s conftest.dir
/conftest.two
2603 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2616 rm -rf conftest.one conftest.two conftest.dir
2619 if test "${ac_cv_path_install+set}" = set; then
2620 INSTALL
=$ac_cv_path_install
2622 # As a last resort, use the slow shell script. Don't cache a
2623 # value for INSTALL within a source directory, because that will
2624 # break other packages using the cache if that directory is
2625 # removed, or if the value is a relative name.
2626 INSTALL
=$ac_install_sh
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2630 $as_echo "$INSTALL" >&6; }
2632 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2633 # It thinks the first close brace ends the variable substitution.
2634 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2636 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2638 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2641 $as_echo_n "checking whether ln works... " >&6; }
2642 if ${acx_cv_prog_LN+:} false
; then :
2643 $as_echo_n "(cached) " >&6
2645 rm -f conftestdata_t
2646 echo >conftestdata_f
2647 if ln conftestdata_f conftestdata_t
2>/dev
/null
2653 rm -f conftestdata_f conftestdata_t
2656 if test $acx_cv_prog_LN = no
; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2659 $as_echo "no, using $LN" >&6; }
2661 LN
="$acx_cv_prog_LN"
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2663 $as_echo "yes" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2667 $as_echo_n "checking whether ln -s works... " >&6; }
2669 if test "$LN_S" = "ln -s"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2674 $as_echo "no, using $LN_S" >&6; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2678 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2679 if ${ac_cv_path_SED+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2683 for ac_i
in 1 2 3 4 5 6 7; do
2684 ac_script
="$ac_script$as_nl$ac_script"
2686 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2687 { ac_script
=; unset ac_script
;}
2688 if test -z "$SED"; then
2689 ac_path_SED_found
=false
2690 # Loop through the user's path and test for each of PROGNAME-LIST
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 for ac_prog
in sed gsed
; do
2697 for ac_exec_ext
in '' $ac_executable_extensions; do
2698 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2699 as_fn_executable_p
"$ac_path_SED" ||
continue
2700 # Check for GNU ac_path_SED and select it if it is found.
2701 # Check for GNU $ac_path_SED
2702 case `"$ac_path_SED" --version 2>&1` in
2704 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2707 $as_echo_n 0123456789 >"conftest.in"
2710 cat "conftest.in" "conftest.in" >"conftest.tmp"
2711 mv "conftest.tmp" "conftest.in"
2712 cp "conftest.in" "conftest.nl"
2713 $as_echo '' >> "conftest.nl"
2714 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2715 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2716 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2717 if test $ac_count -gt ${ac_path_SED_max-0}; then
2718 # Best one so far, save it but keep looking for a better one
2719 ac_cv_path_SED
="$ac_path_SED"
2720 ac_path_SED_max
=$ac_count
2722 # 10*(2^10) chars as input seems more than enough
2723 test $ac_count -gt 10 && break
2725 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2728 $ac_path_SED_found && break 3
2733 if test -z "$ac_cv_path_SED"; then
2734 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2742 $as_echo "$ac_cv_path_SED" >&6; }
2743 SED
="$ac_cv_path_SED"
2746 for ac_prog
in gawk mawk nawk
awk
2748 # Extract the first word of "$ac_prog", so it can be a program name with args.
2749 set dummy
$ac_prog; ac_word
=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_AWK+:} false
; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$AWK"; then
2756 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_AWK
="$ac_prog"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$AWK"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2778 $as_echo "$AWK" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2785 test -n "$AWK" && break
2789 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2791 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2793 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2794 INSTALL
="${srcpwd}/install-sh -c"
2797 # Set srcdir to "." if that's what it is.
2798 # This is important for multilib support.
2800 if test "${pwd}" = "${srcpwd}" ; then
2808 ### To add a new directory to the tree, first choose whether it is a target
2809 ### or a host dependent tool. Then put it into the appropriate list
2810 ### (library or tools, host or target), doing a dependency sort.
2812 # Subdirs will be configured in the order listed in build_configdirs,
2813 # configdirs, or target_configdirs; see the serialization section below.
2815 # Dependency sorting is only needed when *configuration* must be done in
2816 # a particular order. In all cases a dependency should be specified in
2817 # the Makefile, whether or not it's implicitly specified here.
2819 # Double entries in build_configdirs, configdirs, or target_configdirs may
2820 # cause circular dependencies and break everything horribly.
2822 # these library is used by various programs built for the build
2825 build_libs
="build-libiberty build-libcpp"
2827 # these tools are built for the build environment
2828 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2830 # these libraries are used by various programs built for the host environment
2832 host_libs
="gettext libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe libgrust "
2834 # these tools are built for the host environment
2835 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2836 # know that we are building the simulator.
2837 # binutils, gas and ld appear in that order because it makes sense to run
2838 # "make check" in that particular order.
2839 # If --enable-gold is used, "gold" may replace "ld".
2840 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 gm2tools gotools c++tools"
2842 # these libraries are built for the target environment, and are built after
2843 # the host libraries and the host tools (which may be a cross compiler)
2844 # Note that libiberty is not a target library.
2845 target_libraries
="target-libgcc \
2846 target-libbacktrace \
2852 target-libstdc++-v3 \
2853 target-libsanitizer \
2856 target-libquadmath \
2857 target-libgfortran \
2867 # these tools are built using the target libraries, and are intended to
2868 # run only in the target environment
2870 # note: any program that *uses* libraries that are in the "target_libraries"
2871 # list belongs in this list.
2873 target_tools
="target-rda"
2875 ################################################################################
2877 ## All tools belong in one of the four categories, and are assigned above
2878 ## We assign ${configdirs} this way to remove all embedded newlines. This
2879 ## is important because configure will choke if they ever get through.
2880 ## ${configdirs} is directories we build using the host tools.
2881 ## ${target_configdirs} is directories we build using the target tools.
2882 configdirs
=`echo ${host_libs} ${host_tools}`
2883 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2884 build_configdirs
=`echo ${build_libs} ${build_tools}`
2888 ################################################################################
2890 srcname
="gnu development package"
2892 # This gets set non-empty for some net releases of packages.
2895 # Define is_cross_compiler to save on calls to 'test'.
2897 if test x
"${host}" = x
"${target}" ; then
2898 is_cross_compiler
=no
2900 is_cross_compiler
=yes
2903 # Find the build and target subdir names.
2905 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2906 # have matching libraries, they should use host libraries: Makefile.tpl
2907 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2908 # However, they still use the build modules, because the corresponding
2909 # host modules (e.g. bison) are only built for the host when bootstrap
2911 # - build_subdir is where we find build modules, and never changes.
2912 # - build_libsubdir is where we find build libraries, and can be overridden.
2914 # Prefix 'build-' so this never conflicts with target_subdir.
2915 build_subdir
="build-${build_noncanonical}"
2917 # Check whether --with-build-libsubdir was given.
2918 if test "${with_build_libsubdir+set}" = set; then :
2919 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2921 build_libsubdir
="$build_subdir"
2924 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2925 if ( test $srcdir = .
&& test -d gcc
) \
2926 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2927 host_subdir
="host-${host_noncanonical}"
2932 target_subdir
=${target_noncanonical}
2934 # Be sure to cover against remnants of an in-tree build.
2935 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2936 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2937 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2940 # Skipdirs are removed silently.
2942 # Noconfigdirs are removed loudly.
2946 # Make sure we don't let GNU ld be added if we didn't want it.
2947 if test x
$with_gnu_ld = xno
; then
2949 noconfigdirs
="$noconfigdirs ld gold"
2953 # Make sure we don't let GNU as be added if we didn't want it.
2954 if test x
$with_gnu_as = xno
; then
2956 noconfigdirs
="$noconfigdirs gas"
2961 # Check whether --with-system-zlib was given.
2962 if test "${with_system_zlib+set}" = set; then :
2963 withval
=$with_system_zlib;
2966 # Make sure we don't let ZLIB be added if we didn't want it.
2967 if test x
$with_system_zlib = xyes
; then
2968 use_included_zlib
=no
2969 noconfigdirs
="$noconfigdirs zlib"
2972 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2974 if test x
$with_system_readline = xyes
; then
2975 noconfigdirs
="$noconfigdirs readline"
2979 # Check whether --with-zstd was given.
2980 if test "${with_zstd+set}" = set; then :
2985 # some tools are so dependent upon X11 that if we're not building with X,
2986 # it's not even worth trying to configure, much less build, that tool.
2989 yes |
"") ;; # the default value for this tree is that X11 is available
2991 skipdirs
="${skipdirs} tk itcl libgui"
2992 # We won't be able to build gdbtk without X.
2995 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2998 # Some are only suitable for cross toolchains.
2999 # Remove these if host=target.
3000 cross_only
="target-libgloss target-newlib target-opcodes"
3002 case $is_cross_compiler in
3003 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
3006 # If both --with-headers and --with-libs are specified, default to
3008 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
3009 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
3010 if test x
"${with_newlib}" = x
; then
3015 # Recognize --with-newlib/--without-newlib.
3016 case ${with_newlib} in
3017 no
) skipdirs
="${skipdirs} target-newlib" ;;
3018 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
3021 # Check whether --enable-as-accelerator-for was given.
3022 if test "${enable_as_accelerator_for+set}" = set; then :
3023 enableval
=$enable_as_accelerator_for;
3027 # Check whether --enable-offload-targets was given.
3028 if test "${enable_offload_targets+set}" = set; then :
3029 enableval
=$enable_offload_targets;
3030 if test x
"$enable_offload_targets" = x
; then
3031 as_fn_error $?
"no offload targets specified" "$LINENO" 5
3035 enable_offload_targets
=
3039 # Check whether --enable-offload-defaulted was given.
3040 if test "${enable_offload_defaulted+set}" = set; then :
3041 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
3043 enable_offload_defaulted
=
3047 # Handle --enable-gold, --enable-ld.
3048 # --disable-gold [--enable-ld]
3049 # Build only ld. Default option.
3050 # --enable-gold [--enable-ld]
3051 # Build both gold and ld. Install gold as "ld.gold", install ld
3052 # as "ld.bfd" and "ld".
3053 # --enable-gold=default [--enable-ld]
3054 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3055 # install ld as "ld.bfd".
3056 # --enable-gold[=default] --disable-ld
3057 # Build only gold, which is then installed as both "ld.gold" and "ld".
3058 # --enable-gold --enable-ld=default
3059 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3061 # In other words, ld is default
3062 # --enable-gold=default --enable-ld=default
3066 # Check whether --enable-gold was given.
3067 if test "${enable_gold+set}" = set; then :
3068 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3073 case "${ENABLE_GOLD}" in
3075 # Check for ELF target.
3078 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3079 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3080 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3081 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl* |
*-*-haiku*)
3083 *-*-linux*aout
* |
*-*-linux*oldld
*)
3091 if test "$is_elf" = "yes"; then
3092 # Check for target supported by gold.
3094 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3095 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-* | loongarch
*-*-*)
3096 configdirs
="$configdirs gold"
3097 if test x
${ENABLE_GOLD} = xdefault
; then
3108 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3112 # Check whether --enable-ld was given.
3113 if test "${enable_ld+set}" = set; then :
3114 enableval
=$enable_ld; ENABLE_LD
=$enableval
3120 case "${ENABLE_LD}" in
3122 if test x
${default_ld} != x
; then
3123 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3129 if test x
${ENABLE_GOLD} != xyes
; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3131 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3133 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3136 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3140 # Check whether --enable-gprofng was given.
3141 if test "${enable_gprofng+set}" = set; then :
3142 enableval
=$enable_gprofng; enable_gprofng
=$enableval
3147 if test "$enable_gprofng" = "yes"; then
3149 x86_64-
*-linux* | i?
86-*-linux* | aarch64-
*-linux*)
3150 configdirs
="$configdirs gprofng"
3157 # Decide the default method for compressing debug sections.
3158 # Provide a configure time option to override our default.
3159 # Check whether --enable-compressed_debug_sections was given.
3160 if test "${enable_compressed_debug_sections+set}" = set; then :
3161 enableval
=$enable_compressed_debug_sections;
3162 if test x
"$enable_compressed_debug_sections" = xyes
; then
3163 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3167 enable_compressed_debug_sections
=
3171 # Select default compression algorithm.
3172 # Check whether --enable-default_compressed_debug_sections_algorithm was given.
3173 if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
3174 enableval
=$enable_default_compressed_debug_sections_algorithm;
3176 default_compressed_debug_sections_algorithm
=
3180 # Configure extra directories which are host specific
3184 configdirs
="$configdirs libtermcap" ;;
3187 # A target can indicate whether a language isn't supported for some reason.
3188 # Only spaces may be used in this macro; not newlines or tabs.
3189 unsupported_languages
=
3191 # Remove more programs from consideration, based on the host or
3192 # target this usually means that a port of the program doesn't
3196 i
[3456789]86-*-msdosdjgpp*)
3197 noconfigdirs
="$noconfigdirs tcl tk itcl"
3201 # Default to --disable-year2038 until we can handle differences between
3202 # projects that use gnulib (which understands year 2038) and projects that
3203 # do not (like BFD).
3204 # Check whether --enable-year2038 was given.
3205 if test "${enable_year2038+set}" = set; then :
3206 enableval
=$enable_year2038; ENABLE_YEAR2038
=$enableval
3212 if test "${ENABLE_YEAR2038}" = "no" ; then
3216 # Check whether --enable-libquadmath was given.
3217 if test "${enable_libquadmath+set}" = set; then :
3218 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3220 ENABLE_LIBQUADMATH
=yes
3223 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3224 noconfigdirs
="$noconfigdirs target-libquadmath"
3228 # Check whether --enable-libquadmath-support was given.
3229 if test "${enable_libquadmath_support+set}" = set; then :
3230 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3232 ENABLE_LIBQUADMATH_SUPPORT
=yes
3235 enable_libquadmath_support
=
3236 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3237 enable_libquadmath_support
=no
3241 # Check whether --enable-libada was given.
3242 if test "${enable_libada+set}" = set; then :
3243 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3248 if test "${ENABLE_LIBADA}" != "yes" ; then
3249 noconfigdirs
="$noconfigdirs gnattools"
3252 # Check whether --enable-libgm2 was given.
3253 if test "${enable_libgm2+set}" = set; then :
3254 enableval
=$enable_libgm2; ENABLE_LIBGM2
=$enableval
3259 if test "${ENABLE_LIBGM2}" != "yes" ; then
3260 noconfigdirs
="$noconfigdirs gm2tools"
3263 # Check whether --enable-libssp was given.
3264 if test "${enable_libssp+set}" = set; then :
3265 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3271 # Check whether --enable-libstdcxx was given.
3272 if test "${enable_libstdcxx+set}" = set; then :
3273 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3275 ENABLE_LIBSTDCXX
=default
3278 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3279 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3282 # Enable libgomp by default on hosted POSIX systems, and a few others.
3283 if test x
$enable_libgomp = x
; then
3285 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3287 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3289 *-*-solaris2* |
*-*-hpux11*)
3291 *-*-darwin* |
*-*-aix*)
3293 nvptx
*-*-* | amdgcn
*-*-*)
3296 noconfigdirs
="$noconfigdirs target-libgomp"
3301 # Disable libatomic on unsupported systems.
3302 if test -d ${srcdir}/libatomic
; then
3303 if test x
$enable_libatomic = x
; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3305 $as_echo_n "checking for libatomic support... " >&6; }
3306 if (srcdir
=${srcdir}/libatomic
; \
3307 .
${srcdir}/configure.tgt
; \
3308 test -n "$UNSUPPORTED")
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 noconfigdirs
="$noconfigdirs target-libatomic"
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3320 # Disable libitm on unsupported systems.
3321 if test -d ${srcdir}/libitm
; then
3322 if test x
$enable_libitm = x
; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3324 $as_echo_n "checking for libitm support... " >&6; }
3325 if (srcdir
=${srcdir}/libitm
; \
3326 .
${srcdir}/configure.tgt
; \
3327 test -n "$UNSUPPORTED")
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 noconfigdirs
="$noconfigdirs target-libitm"
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3339 # Disable libsanitizer on unsupported systems.
3340 if test -d ${srcdir}/libsanitizer
; then
3341 if test x
$enable_libsanitizer = x
; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3343 $as_echo_n "checking for libsanitizer support... " >&6; }
3344 if (srcdir
=${srcdir}/libsanitizer
; \
3345 .
${srcdir}/configure.tgt
; \
3346 test -n "$UNSUPPORTED")
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3349 $as_echo "no" >&6; }
3350 noconfigdirs
="$noconfigdirs target-libsanitizer"
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3353 $as_echo "yes" >&6; }
3358 # Disable libvtv on unsupported systems.
3359 if test -d ${srcdir}/libvtv
; then
3360 if test x
$enable_libvtv = x
; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3362 $as_echo_n "checking for libvtv support... " >&6; }
3363 if (srcdir
=${srcdir}/libvtv
; \
3364 .
${srcdir}/configure.tgt
; \
3365 test "$VTV_SUPPORTED" != "yes")
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3369 noconfigdirs
="$noconfigdirs target-libvtv"
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3372 $as_echo "yes" >&6; }
3377 # Disable libquadmath for some systems.
3380 noconfigdirs
="$noconfigdirs target-libquadmath"
3382 # libquadmath is unused on AIX and libquadmath build process use of
3383 # LD_LIBRARY_PATH can break AIX bootstrap.
3384 powerpc-
*-aix* | rs6000-
*-aix*)
3385 noconfigdirs
="$noconfigdirs target-libquadmath"
3389 # Disable libssp for some systems.
3392 # No hosted I/O support.
3393 noconfigdirs
="$noconfigdirs target-libssp"
3396 noconfigdirs
="$noconfigdirs target-libssp"
3398 powerpc-
*-aix* | rs6000-
*-aix*)
3399 noconfigdirs
="$noconfigdirs target-libssp"
3402 # No hosted I/O support.
3403 noconfigdirs
="$noconfigdirs target-libssp"
3406 # libssp uses a misaligned load to trigger a fault, but the RL78
3407 # doesn't fault for those - instead, it gives a build-time error
3408 # for explicit misaligned loads.
3409 noconfigdirs
="$noconfigdirs target-libssp"
3412 # No hosted I/O support.
3413 noconfigdirs
="$noconfigdirs target-libssp"
3417 # Disable libstdc++-v3 for some systems.
3418 # Allow user to override this if they pass --enable-libstdcxx
3419 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3422 # VxWorks uses the Dinkumware C++ library.
3423 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3426 # Not ported/fails to build when using newlib.
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"
3440 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3445 # Disable C++ on systems where it is known to not work.
3446 # For testing, you can override this with --enable-languages=c++.
3447 case ,${enable_languages}, in
3453 unsupported_languages
="$unsupported_languages c++"
3459 # Disable Objc on systems where it is known to not work.
3460 # For testing, you can override this with --enable-languages=objc.
3461 case ,${enable_languages}, in
3467 unsupported_languages
="$unsupported_languages objc"
3473 # Disable D on systems where it is known to not work.
3474 # For testing, you can override this with --enable-languages=d.
3475 case ,${enable_languages}, in
3481 unsupported_languages
="$unsupported_languages d"
3487 # Disable libphobos on unsupported systems.
3488 # For testing, you can override this with --enable-libphobos.
3489 if test -d ${srcdir}/libphobos
; then
3490 if test x
$enable_libphobos = x
; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3492 $as_echo_n "checking for libphobos support... " >&6; }
3493 if (srcdir
=${srcdir}/libphobos
; \
3494 .
${srcdir}/configure.tgt
; \
3495 test "$LIBPHOBOS_SUPPORTED" != "yes")
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 noconfigdirs
="$noconfigdirs target-libphobos"
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3502 $as_echo "yes" >&6; }
3507 # Disable Fortran for some systems.
3510 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3511 unsupported_languages
="$unsupported_languages fortran"
3514 unsupported_languages
="$unsupported_languages fortran"
3518 # Disable libffi for some systems.
3522 i
[3456789]86-*-darwin*)
3524 x86_64-
*-darwin[912]*)
3527 noconfigdirs
="$noconfigdirs target-libffi"
3530 noconfigdirs
="$noconfigdirs target-libffi"
3533 noconfigdirs
="$noconfigdirs target-libffi"
3536 noconfigdirs
="$noconfigdirs target-libffi"
3539 noconfigdirs
="$noconfigdirs target-libffi"
3542 noconfigdirs
="$noconfigdirs target-libffi"
3545 noconfigdirs
="$noconfigdirs target-libffi"
3547 aarch64
*-*-freebsd*)
3548 noconfigdirs
="$noconfigdirs target-libffi"
3551 noconfigdirs
="$noconfigdirs target-libffi"
3554 noconfigdirs
="$noconfigdirs target-libffi"
3557 noconfigdirs
="$noconfigdirs target-libffi"
3560 noconfigdirs
="$noconfigdirs target-libffi"
3563 noconfigdirs
="$noconfigdirs target-libffi"
3565 cris-
*-* | crisv32-
*-*)
3569 *) # See PR46792 regarding target-libffi.
3570 noconfigdirs
="$noconfigdirs target-libffi";;
3574 noconfigdirs
="$noconfigdirs target-libffi"
3579 noconfigdirs
="$noconfigdirs target-libffi"
3582 noconfigdirs
="$noconfigdirs target-libffi"
3584 i
[3456789]86-w64-mingw*)
3585 noconfigdirs
="$noconfigdirs target-libffi"
3587 i
[3456789]86-*-mingw*)
3588 noconfigdirs
="$noconfigdirs target-libffi"
3591 noconfigdirs
="$noconfigdirs target-libffi"
3594 noconfigdirs
="$noconfigdirs target-libffi"
3601 noconfigdirs
="$noconfigdirs target-libffi"
3604 noconfigdirs
="$noconfigdirs target-libffi"
3608 # Disable the go frontend on systems where it is known to not work. Please keep
3609 # this in sync with contrib/config-list.mk.
3611 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3612 unsupported_languages
="$unsupported_languages go"
3616 # Only allow gdbserver on some systems.
3617 if test -d ${srcdir}/gdbserver
; then
3618 if test x
$enable_gdbserver = x
; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3620 $as_echo_n "checking for gdbserver support... " >&6; }
3621 if (srcdir
=${srcdir}/gdbserver
; \
3622 .
${srcdir}/configure.srv
; \
3623 test -n "$UNSUPPORTED")
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3627 noconfigdirs
="$noconfigdirs gdbserver"
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3630 $as_echo "yes" >&6; }
3635 # Disable libgo for some systems where it is known to not work.
3636 # For testing, you can easily override this with --enable-libgo.
3637 if test x
$enable_libgo = x
; then
3641 noconfigdirs
="$noconfigdirs target-libgo"
3643 *-*-cygwin* |
*-*-mingw*)
3644 noconfigdirs
="$noconfigdirs target-libgo"
3647 noconfigdirs
="$noconfigdirs target-libgo"
3652 # Default libgloss CPU subdirectory.
3653 libgloss_dir
="$target_cpu"
3656 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3660 libgloss_dir
=aarch64
3665 cris-
*-* | crisv32-
*-*)
3669 libgloss_dir
=kvx-elf
3672 libgloss_dir
=kvx-mbr
3675 libgloss_dir
=kvx-cos
3684 libgloss_dir
=loongarch
3686 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3687 libgloss_dir
=m68hc11
3689 m68
*-*-* | fido-
*-*)
3706 # Disable newlib and libgloss for various target OSes.
3709 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3711 i
[3456789]86-*-linux*)
3712 # This section makes it possible to build newlib natively on linux.
3713 # If we are using a cross compiler then don't configure newlib.
3714 if test x
${is_cross_compiler} != xno
; then
3715 noconfigdirs
="$noconfigdirs target-newlib"
3717 noconfigdirs
="$noconfigdirs target-libgloss"
3718 # If we are not using a cross compiler, do configure newlib.
3719 # Note however, that newlib will only be configured in this situation
3720 # if the --with-newlib option has been given, because otherwise
3721 # 'target-newlib' will appear in skipdirs.
3723 i
[3456789]86-*-rdos*)
3724 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3726 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3727 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3730 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3733 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3736 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3739 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3742 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3745 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3748 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3750 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3751 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3754 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3757 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3760 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3763 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3766 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3769 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3772 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3780 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3781 noconfigdirs
="$noconfigdirs sim target-rda"
3786 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3787 noconfigdirs
="$noconfigdirs sim target-rda"
3790 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3791 noconfigdirs
="$noconfigdirs sim target-rda"
3793 i
[3456789]86-*-darwin*)
3794 noconfigdirs
="$noconfigdirs ld gprof"
3795 noconfigdirs
="$noconfigdirs sim target-rda"
3797 x86_64-
*-darwin[912]*)
3798 noconfigdirs
="$noconfigdirs ld gas gprof"
3799 noconfigdirs
="$noconfigdirs sim target-rda"
3802 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3803 noconfigdirs
="$noconfigdirs sim target-rda"
3808 if test "x$with_gmp" = x \
3809 && ! test -d ${srcdir}/gmp \
3810 && test -f /usr
/local
/include
/gmp.h
; then
3815 # Remove unsupported stuff on all kaOS configurations.
3816 noconfigdirs
="$noconfigdirs target-libgloss"
3823 noconfigdirs
="$noconfigdirs target-libgloss"
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3828 # The tpf target doesn't support gdb yet.
3830 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3833 noconfigdirs
="$noconfigdirs target-rda"
3838 # ld works, but does not support shared libraries.
3839 # gas doesn't generate exception information.
3840 noconfigdirs
="$noconfigdirs gas ld"
3843 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3846 # newlib is not 64 bit ready
3847 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3850 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3852 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3853 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3856 noconfigdirs
="$noconfigdirs sim"
3859 noconfigdirs
="$noconfigdirs target-libgloss"
3862 noconfigdirs
="$noconfigdirs ld target-libgloss"
3865 if test x
${with_avrlibc} != xno
; then
3866 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3869 c4x-
*-* | tic4x-
*-*)
3870 noconfigdirs
="$noconfigdirs target-libgloss"
3873 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3876 noconfigdirs
="$noconfigdirs target-libgloss"
3879 noconfigdirs
="$noconfigdirs gdb"
3882 noconfigdirs
="$noconfigdirs gdb"
3885 noconfigdirs
="$noconfigdirs target-rda gprof"
3888 noconfigdirs
="$noconfigdirs"
3891 noconfigdirs
="$noconfigdirs target-libgloss"
3894 noconfigdirs
="$noconfigdirs target-libgloss"
3896 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3899 noconfigdirs
="$noconfigdirs gdb"
3902 noconfigdirs
="$noconfigdirs gdb ld"
3910 hppa
*-*-openbsd* | \
3916 noconfigdirs
="$noconfigdirs ld"
3919 noconfigdirs
="$noconfigdirs gdb"
3922 # No gdb support yet.
3923 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3926 # No ld support yet.
3927 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3930 # No ld support yet.
3931 noconfigdirs
="$noconfigdirs libgui itcl ld"
3933 i
[3456789]86-w64-mingw*)
3935 i
[3456789]86-*-mingw*)
3936 target_configdirs
="$target_configdirs target-winsup"
3939 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3940 noconfigdirs
="$noconfigdirs target-libgloss"
3941 # always build newlib if winsup directory is present.
3942 if test -d "$srcdir/winsup/cygwin"; then
3943 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3944 elif test -d "$srcdir/newlib"; then
3945 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3949 noconfigdirs
="$noconfigdirs target-libgloss"
3951 i
[3456789]86-*-sco3.2v5
*)
3952 # The linker does not yet know about weak symbols in COFF,
3953 # and is not configured to handle mixed ELF and COFF.
3954 noconfigdirs
="$noconfigdirs ld target-libgloss"
3956 i
[3456789]86-*-sco*)
3957 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3959 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3960 noconfigdirs
="$noconfigdirs target-libgloss"
3962 i
[3456789]86-*-sysv4*)
3963 noconfigdirs
="$noconfigdirs target-libgloss"
3965 i
[3456789]86-*-beos*)
3966 noconfigdirs
="$noconfigdirs gdb"
3968 i
[3456789]86-*-rdos*)
3969 noconfigdirs
="$noconfigdirs gdb"
3972 noconfigdirs
="$noconfigdirs gdb gdbserver sim"
3975 noconfigdirs
="$noconfigdirs gdb"
3978 noconfigdirs
="$noconfigdirs sim"
3981 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3982 noconfigdirs
="$noconfigdirs $target_libraries"
3985 noconfigdirs
="$noconfigdirs gdb gprof"
3988 # copied from rs6000-*-* entry
3989 noconfigdirs
="$noconfigdirs gprof"
3991 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3992 target_configdirs
="$target_configdirs target-winsup"
3993 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3994 # always build newlib.
3995 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3997 # This is temporary until we can link against shared libraries
3998 powerpcle-
*-solaris*)
3999 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
4002 noconfigdirs
="$noconfigdirs gdb"
4005 noconfigdirs
="$noconfigdirs gprof"
4008 noconfigdirs
="$noconfigdirs gprof"
4011 noconfigdirs
="$noconfigdirs gprof"
4014 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
4017 noconfigdirs
="$noconfigdirs gprof"
4019 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
4020 if test x
$with_newlib = xyes
; then
4021 noconfigdirs
="$noconfigdirs gprof"
4025 noconfigdirs
="$noconfigdirs gprof target-libgloss"
4028 noconfigdirs
="$noconfigdirs gprof target-libgloss"
4031 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
4035 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
4036 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
4037 noconfigdirs
="$noconfigdirs ld gas gprof"
4040 noconfigdirs
="$noconfigdirs gprof"
4043 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4050 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4054 if test x
${is_cross_compiler} = xno
; then
4059 noconfigdirs
="$noconfigdirs sim"
4061 tilepro
*-*-* | tilegx
*-*-*)
4062 noconfigdirs
="$noconfigdirs sim"
4065 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4068 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4071 noconfigdirs
="$noconfigdirs ld"
4073 loongarch
*-*-linux*)
4076 noconfigdirs
="$noconfigdirs gprof"
4080 # If we aren't building newlib, then don't build libgloss, since libgloss
4081 # depends upon some newlib header files.
4082 case "${noconfigdirs}" in
4083 *target-libgloss
*) ;;
4084 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4087 # Work in distributions that contain no compiler tools, like Autoconf.
4088 host_makefile_frag
=/dev
/null
4089 if test -d ${srcdir}/config
; then
4091 i
[3456789]86-*-msdosdjgpp*)
4092 host_makefile_frag
="config/mh-djgpp"
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4097 $as_echo_n "checking to see if cat works as expected... " >&6; }
4098 echo a
>cygwin-cat-check
4099 if test `cat cygwin-cat-check` = a
; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4102 $as_echo "yes" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4107 as_fn_error $?
"The cat command does not ignore carriage return characters.
4108 Please either mount the build directory in binary mode or run the following
4109 commands before running any configure script:
4115 host_makefile_frag
="config/mh-cygwin"
4118 host_makefile_frag
="config/mh-mingw"
4121 host_makefile_frag
="config/mh-alpha-linux"
4124 host_makefile_frag
="config/mh-pa"
4127 host_makefile_frag
="config/mh-pa"
4129 i?
86-*-darwin[89]* | i?
86-*-darwin1[0-7]* | powerpc
*-*-darwin*)
4130 host_makefile_frag
="config/mh-darwin"
4133 host_makefile_frag
="config/mh-ppc-aix"
4136 host_makefile_frag
="config/mh-ppc-aix"
4141 if test "${build}" != "${host}" ; then
4142 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4143 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4144 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4145 CPP_FOR_BUILD
="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
4146 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4147 DSYMUTIL_FOR_BUILD
=${DSYMUTIL_FOR_BUILD-dsymutil}
4148 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4149 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4150 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4151 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4152 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4153 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4154 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4155 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4156 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4158 AR_FOR_BUILD
="\$(AR)"
4159 AS_FOR_BUILD
="\$(AS)"
4160 CC_FOR_BUILD
="\$(CC)"
4161 CXX_FOR_BUILD
="\$(CXX)"
4162 DSYMUTIL_FOR_BUILD
="\$(DSYMUTIL)"
4163 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4164 GOC_FOR_BUILD
="\$(GOC)"
4165 GDC_FOR_BUILD
="\$(GDC)"
4166 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4167 LD_FOR_BUILD
="\$(LD)"
4168 NM_FOR_BUILD
="\$(NM)"
4169 RANLIB_FOR_BUILD
="\$(RANLIB)"
4170 WINDRES_FOR_BUILD
="\$(WINDRES)"
4171 WINDMC_FOR_BUILD
="\$(WINDMC)"
4175 ac_cpp
='$CPP $CPPFLAGS'
4176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4179 if test -n "$ac_tool_prefix"; then
4180 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4181 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if ${ac_cv_prog_CC+:} false
; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -n "$CC"; then
4188 ac_cv_prog_CC
="$CC" # Let the user override the test.
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4197 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 if test -n "$CC"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4210 $as_echo "$CC" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4218 if test -z "$ac_cv_prog_CC"; then
4220 # Extract the first word of "gcc", so it can be a program name with args.
4221 set dummy gcc
; ac_word
=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$ac_ct_CC"; then
4228 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_exec_ext
in '' $ac_executable_extensions; do
4236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_ac_ct_CC
="gcc"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4248 if test -n "$ac_ct_CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4250 $as_echo "$ac_ct_CC" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4256 if test "x$ac_ct_CC" = x
; then
4259 case $cross_compiling:$ac_tool_warned in
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4263 ac_tool_warned
=yes ;;
4271 if test -z "$CC"; then
4272 if test -n "$ac_tool_prefix"; then
4273 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4274 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if ${ac_cv_prog_CC+:} false
; then :
4278 $as_echo_n "(cached) " >&6
4280 if test -n "$CC"; then
4281 ac_cv_prog_CC
="$CC" # Let the user override the test.
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4290 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 if test -n "$CC"; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4303 $as_echo "$CC" >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4312 if test -z "$CC"; then
4313 # Extract the first word of "cc", so it can be a program name with args.
4314 set dummy cc
; ac_word
=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if ${ac_cv_prog_CC+:} false
; then :
4318 $as_echo_n "(cached) " >&6
4320 if test -n "$CC"; then
4321 ac_cv_prog_CC
="$CC" # Let the user override the test.
4324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir
=.
4329 for ac_exec_ext
in '' $ac_executable_extensions; do
4330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4332 ac_prog_rejected
=yes
4336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 if test $ac_prog_rejected = yes; then
4344 # We found a bogon in the path, so make sure we never use it.
4345 set dummy
$ac_cv_prog_CC
4347 if test $# != 0; then
4348 # We chose a different compiler from the bogus one.
4349 # However, it has the same basename, so the bogon will be chosen
4350 # first if we set CC to just the basename; use the full file name.
4352 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4358 if test -n "$CC"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360 $as_echo "$CC" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test -z "$CC"; then
4369 if test -n "$ac_tool_prefix"; then
4370 for ac_prog
in cl.exe
4372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4373 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CC+:} false
; then :
4377 $as_echo_n "(cached) " >&6
4379 if test -n "$CC"; then
4380 ac_cv_prog_CC
="$CC" # Let the user override the test.
4382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4386 test -z "$as_dir" && as_dir
=.
4387 for ac_exec_ext
in '' $ac_executable_extensions; do
4388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 if test -n "$CC"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4402 $as_echo "$CC" >&6; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4409 test -n "$CC" && break
4412 if test -z "$CC"; then
4414 for ac_prog
in cl.exe
4416 # Extract the first word of "$ac_prog", so it can be a program name with args.
4417 set dummy
$ac_prog; ac_word
=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4421 $as_echo_n "(cached) " >&6
4423 if test -n "$ac_ct_CC"; then
4424 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_ac_ct_CC
="$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4444 if test -n "$ac_ct_CC"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4446 $as_echo "$ac_ct_CC" >&6; }
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$ac_ct_CC" && break
4456 if test "x$ac_ct_CC" = x
; then
4459 case $cross_compiling:$ac_tool_warned in
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned
=yes ;;
4472 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4474 as_fn_error $?
"no acceptable C compiler found in \$PATH
4475 See \`config.log' for more details" "$LINENO" 5; }
4477 # Provide some information about the compiler.
4478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4481 for ac_option
in --version -v -V -qversion; do
4482 { { ac_try
="$ac_compiler $ac_option >&5"
4484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4485 *) ac_try_echo=$ac_try;;
4487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4491 if test -s conftest.err; then
4493 ... rest of stderr output deleted ...
4494 10q' conftest.err >conftest.er1
4495 cat conftest.er1 >&5
4497 rm -f conftest.er1 conftest.err
4498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4499 test $ac_status = 0; }
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4513 ac_clean_files_save=$ac_clean_files
4514 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4515 # Try to create an executable without -o first, disregard a.out.
4516 # It will help us diagnose broken compilers, and finding out an intuition
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4519 $as_echo_n "checking whether the C compiler works... " >&6; }
4520 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4522 # The possible output files:
4523 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4526 for ac_file in $ac_files
4529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4530 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4535 if { { ac_try="$ac_link_default"
4537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4538 *) ac_try_echo
=$ac_try;;
4540 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_link_default") 2>&5
4544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4545 test $ac_status = 0; }; then :
4546 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4547 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4548 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4549 # so that the user can short-circuit this test for compilers unknown to
4551 for ac_file
in $ac_files ''
4553 test -f "$ac_file" ||
continue
4555 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4558 # We found the default executable, but exeext='' is most
4562 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4564 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4566 # We set ac_cv_exeext here because the later test for it is not
4567 # safe: cross compilers may not add the suffix if given an `-o'
4568 # argument, so we may need to know it at that point already.
4569 # Even if this section looks crufty: it has the advantage of
4576 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4581 if test -z "$ac_file"; then :
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 $as_echo "no" >&6; }
4584 $as_echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.
$ac_ext >&5
4587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4589 as_fn_error
77 "C compiler cannot create executables
4590 See \`config.log' for more details" "$LINENO" 5; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4593 $as_echo "yes" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4596 $as_echo_n "checking for C compiler default output file name... " >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4598 $as_echo "$ac_file" >&6; }
4599 ac_exeext
=$ac_cv_exeext
4601 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4602 ac_clean_files
=$ac_clean_files_save
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4604 $as_echo_n "checking for suffix of executables... " >&6; }
4605 if { { ac_try
="$ac_link"
4607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4611 $as_echo "$ac_try_echo"; } >&5
4612 (eval "$ac_link") 2>&5
4614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4615 test $ac_status = 0; }; then :
4616 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4617 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4618 # work properly (i.e., refer to `conftest.exe'), while it won't with
4620 for ac_file
in conftest.exe conftest conftest.
*; do
4621 test -f "$ac_file" ||
continue
4623 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4624 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 executables: cannot compile and link
4633 See \`config.log' for more details" "$LINENO" 5; }
4635 rm -f conftest conftest
$ac_cv_exeext
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4637 $as_echo "$ac_cv_exeext" >&6; }
4639 rm -f conftest.
$ac_ext
4640 EXEEXT
=$ac_cv_exeext
4642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4648 FILE *f = fopen ("conftest.out", "w");
4649 return ferror (f) || fclose (f) != 0;
4655 ac_clean_files
="$ac_clean_files conftest.out"
4656 # Check that the compiler produces executables we can run. If not, either
4657 # the compiler is broken, or we cross compile.
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4659 $as_echo_n "checking whether we are cross compiling... " >&6; }
4660 if test "$cross_compiling" != yes; then
4661 { { ac_try
="$ac_link"
4663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667 $as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_link") 2>&5
4670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4671 test $ac_status = 0; }
4672 if { ac_try='./conftest$ac_cv_exeext'
4673 { { case "(($ac_try" in
4674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4675 *) ac_try_echo
=$ac_try;;
4677 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4678 $as_echo "$ac_try_echo"; } >&5
4679 (eval "$ac_try") 2>&5
4681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4682 test $ac_status = 0; }; }; then
4685 if test "$cross_compiling" = maybe
; then
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error $?
"cannot run C compiled programs.
4691 If you meant to cross compile, use \`--host'.
4692 See \`config.log' for more details" "$LINENO" 5; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4697 $as_echo "$cross_compiling" >&6; }
4699 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4700 ac_clean_files
=$ac_clean_files_save
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4702 $as_echo_n "checking for suffix of object files... " >&6; }
4703 if ${ac_cv_objext+:} false
; then :
4704 $as_echo_n "(cached) " >&6
4706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4717 rm -f conftest.o conftest.obj
4718 if { { ac_try
="$ac_compile"
4720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4724 $as_echo "$ac_try_echo"; } >&5
4725 (eval "$ac_compile") 2>&5
4727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4728 test $ac_status = 0; }; then :
4729 for ac_file in conftest.o conftest.obj conftest.*; do
4730 test -f "$ac_file" || continue;
4732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4733 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4738 $as_echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.$ac_ext >&5
4741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4743 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4744 See \
`config.log' for more details" "$LINENO" 5; }
4746 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4749 $as_echo "$ac_cv_objext" >&6; }
4750 OBJEXT=$ac_cv_objext
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4753 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4754 if ${ac_cv_c_compiler_gnu+:} false; then :
4755 $as_echo_n "(cached) " >&6
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4771 if ac_fn_c_try_compile "$LINENO"; then :
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4781 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4782 if test $ac_compiler_gnu = yes; then
4787 ac_test_CFLAGS=${CFLAGS+set}
4788 ac_save_CFLAGS=$CFLAGS
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4790 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4791 if ${ac_cv_prog_cc_g+:} false; then :
4792 $as_echo_n "(cached) " >&6
4794 ac_save_c_werror_flag=$ac_c_werror_flag
4795 ac_c_werror_flag=yes
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4809 if ac_fn_c_try_compile "$LINENO"; then :
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4824 if ac_fn_c_try_compile "$LINENO"; then :
4827 ac_c_werror_flag=$ac_save_c_werror_flag
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4840 if ac_fn_c_try_compile "$LINENO"; then :
4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4848 ac_c_werror_flag=$ac_save_c_werror_flag
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4851 $as_echo "$ac_cv_prog_cc_g" >&6; }
4852 if test "$ac_test_CFLAGS" = set; then
4853 CFLAGS=$ac_save_CFLAGS
4854 elif test $ac_cv_prog_cc_g = yes; then
4855 if test "$GCC" = yes; then
4861 if test "$GCC" = yes; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4868 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4869 if ${ac_cv_prog_cc_c89+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 ac_cv_prog_cc_c89=no
4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h. */
4879 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4880 struct buf { int x; };
4881 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4882 static char *e (p, i)
4888 static char *f (char * (*g) (char **, int), char **p, ...)
4893 s = g (p, va_arg (v,int));
4898 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4899 function prototypes and stuff, but not '\xHH' hex character constants.
4900 These don't provoke an error unfortunately, instead are silently treated
4901 as 'x'. The following induces an error, until -std is added to get
4902 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4903 array size at least. It's necessary to write '\x00'==0 to get something
4904 that's true only with -std. */
4905 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4907 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4908 inside strings and character constants. */
4910 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4912 int test (int i, double x);
4913 struct s1 {int (*f) (int a);};
4914 struct s2 {int (*f) (double a);};
4915 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4921 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4926 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4927 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4929 CC="$ac_save_CC $ac_arg"
4930 if ac_fn_c_try_compile "$LINENO"; then :
4931 ac_cv_prog_cc_c89=$ac_arg
4933 rm -f core conftest.err conftest.$ac_objext
4934 test "x$ac_cv_prog_cc_c89" != "xno" && break
4936 rm -f conftest.$ac_ext
4941 case "x$ac_cv_prog_cc_c89" in
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4944 $as_echo "none needed" >&6; } ;;
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4947 $as_echo "unsupported" >&6; } ;;
4949 CC="$CC $ac_cv_prog_cc_c89"
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4951 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4953 if test "x$ac_cv_prog_cc_c89" != xno; then :
4958 ac_cpp='$CPP $CPPFLAGS'
4959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4964 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4965 if ${ac_cv_prog_cc_c99+:} false; then :
4966 $as_echo_n "(cached) " >&6
4968 ac_cv_prog_cc_c99=no
4970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4973 #include <stdbool.h>
4978 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4979 #define debug(...) fprintf (stderr, __VA_ARGS__)
4980 #define showlist(...) puts (#__VA_ARGS__)
4981 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4983 test_varargs_macros (void)
4988 debug ("X = %d\n", x);
4989 showlist (The first, second, and third items.);
4990 report (x>y, "x is %d but y is %d", x, y);
4993 // Check long long types.
4994 #define BIG64 18446744073709551615ull
4995 #define BIG32 4294967295ul
4996 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4998 your preprocessor is broken;
5002 your preprocessor is broken;
5004 static long long int bignum = -9223372036854775807LL;
5005 static unsigned long long int ubignum = BIG64;
5007 struct incomplete_array
5015 const wchar_t *name;
5019 typedef const char *ccp;
5022 test_restrict (ccp restrict text)
5024 // See if C++-style comments work.
5025 // Iterate through items via the restricted pointer.
5026 // Also check for declarations in for loops.
5027 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5032 // Check varargs and va_copy.
5034 test_varargs (const char *format, ...)
5037 va_start (args, format);
5039 va_copy (args_copy, args);
5050 str = va_arg (args_copy, const char *);
5053 number = va_arg (args_copy, int);
5056 fnumber = va_arg (args_copy, double);
5071 _Bool success = false;
5074 if (test_restrict ("String literal") == 0)
5076 char *restrict newvar = "Another string";
5079 test_varargs ("s, d' f .", "string", 65, 34.234);
5080 test_varargs_macros ();
5082 // Check flexible array members.
5083 struct incomplete_array *ia =
5084 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5086 for (int i = 0; i < ia->datasize; ++i)
5087 ia->data[i] = i * 1.234;
5089 // Check named initializers.
5090 struct named_init ni = {
5092 .name = L"Test wide string",
5093 .average = 543.34343,
5098 int dynamic_array[ni.number];
5099 dynamic_array[ni.number - 1] = 543;
5101 // work around unused variable warnings
5102 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5103 || dynamic_array[ni.number - 1] != 543);
5109 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5111 CC="$ac_save_CC $ac_arg"
5112 if ac_fn_c_try_compile "$LINENO"; then :
5113 ac_cv_prog_cc_c99=$ac_arg
5115 rm -f core conftest.err conftest.$ac_objext
5116 test "x$ac_cv_prog_cc_c99" != "xno" && break
5118 rm -f conftest.$ac_ext
5123 case "x$ac_cv_prog_cc_c99" in
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5126 $as_echo "none needed" >&6; } ;;
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5129 $as_echo "unsupported" >&6; } ;;
5131 CC="$CC $ac_cv_prog_cc_c99"
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5133 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5135 if test "x$ac_cv_prog_cc_c99" != xno; then :
5141 ac_cpp='$CXXCPP $CPPFLAGS'
5142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5145 if test -z "$CXX"; then
5146 if test -n "$CCC"; then
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if ${ac_cv_prog_CXX+:} false; then :
5157 $as_echo_n "(cached) " >&6
5159 if test -n "$CXX"; then
5160 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 if test -n "$CXX"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5182 $as_echo "$CXX" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5189 test -n "$CXX" && break
5192 if test -z "$CXX"; then
5194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5199 $as_echo_n "checking for $ac_word... " >&6; }
5200 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5201 $as_echo_n "(cached) " >&6
5203 if test -n "$ac_ct_CXX"; then
5204 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5213 ac_cv_prog_ac_ct_CXX="$ac_prog"
5214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5224 if test -n "$ac_ct_CXX"; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5226 $as_echo "$ac_ct_CXX" >&6; }
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5233 test -n "$ac_ct_CXX" && break
5236 if test "x$ac_ct_CXX" = x; then
5239 case $cross_compiling:$ac_tool_warned in
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243 ac_tool_warned=yes ;;
5251 # Provide some information about the compiler.
5252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5255 for ac_option in --version -v -V -qversion; do
5256 { { ac_try="$ac_compiler $ac_option >&5"
5258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5259 *) ac_try_echo
=$ac_try;;
5261 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5262 $as_echo "$ac_try_echo"; } >&5
5263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5265 if test -s conftest.err
; then
5267 ... rest of stderr output deleted ...
5268 10q' conftest.err
>conftest.er1
5269 cat conftest.er1
>&5
5271 rm -f conftest.er1 conftest.err
5272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5273 test $ac_status = 0; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5277 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5278 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5295 if ac_fn_cxx_try_compile
"$LINENO"; then :
5300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5301 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5305 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5306 if test $ac_compiler_gnu = yes; then
5311 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5312 ac_save_CXXFLAGS
=$CXXFLAGS
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5314 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5315 if ${ac_cv_prog_cxx_g+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5318 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5319 ac_cxx_werror_flag
=yes
5322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5333 if ac_fn_cxx_try_compile
"$LINENO"; then :
5334 ac_cv_prog_cxx_g
=yes
5337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5348 if ac_fn_cxx_try_compile
"$LINENO"; then :
5351 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5364 if ac_fn_cxx_try_compile
"$LINENO"; then :
5365 ac_cv_prog_cxx_g
=yes
5367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5372 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5375 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5376 if test "$ac_test_CXXFLAGS" = set; then
5377 CXXFLAGS
=$ac_save_CXXFLAGS
5378 elif test $ac_cv_prog_cxx_g = yes; then
5379 if test "$GXX" = yes; then
5385 if test "$GXX" = yes; then
5392 ac_cpp
='$CPP $CPPFLAGS'
5393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5398 # We must set the default linker to the linker used by gcc for the correct
5399 # operation of libtool. If LD is not defined and we are using gcc, try to
5400 # set the LD default to the ld used by gcc.
5401 if test -z "$LD"; then
5402 if test "$GCC" = yes; then
5405 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5407 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5409 case $gcc_prog_ld in
5410 # Accept absolute paths.
5411 [\\/]* |
[A-Za-z
]:[\\/]*)
5412 LD
="$gcc_prog_ld" ;;
5417 # Check whether -static-libstdc++ -static-libgcc is supported.
5419 if test "$GCC" = yes; then
5420 saved_LDFLAGS
="$LDFLAGS"
5422 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5424 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5426 ac_cpp
='$CXXCPP $CPPFLAGS'
5427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5435 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5436 #error -static-libstdc++ not implemented
5440 if ac_fn_cxx_try_link
"$LINENO"; then :
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5442 $as_echo "yes" >&6; }; have_static_libs
=yes
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5447 rm -f core conftest.err conftest.
$ac_objext \
5448 conftest
$ac_exeext conftest.
$ac_ext
5450 ac_cpp
='$CPP $CPPFLAGS'
5451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5456 LDFLAGS
="$saved_LDFLAGS"
5462 if test -n "$ac_tool_prefix"; then
5463 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5464 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_GNATBIND+:} false
; then :
5468 $as_echo_n "(cached) " >&6
5470 if test -n "$GNATBIND"; then
5471 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir
=.
5478 for ac_exec_ext
in '' $ac_executable_extensions; do
5479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5480 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 GNATBIND
=$ac_cv_prog_GNATBIND
5491 if test -n "$GNATBIND"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5493 $as_echo "$GNATBIND" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5501 if test -z "$ac_cv_prog_GNATBIND"; then
5502 ac_ct_GNATBIND
=$GNATBIND
5503 # Extract the first word of "gnatbind", so it can be a program name with args.
5504 set dummy gnatbind
; ac_word
=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$ac_ct_GNATBIND"; then
5511 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir
=.
5518 for ac_exec_ext
in '' $ac_executable_extensions; do
5519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5531 if test -n "$ac_ct_GNATBIND"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5533 $as_echo "$ac_ct_GNATBIND" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5539 if test "x$ac_ct_GNATBIND" = x
; then
5542 case $cross_compiling:$ac_tool_warned in
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned
=yes ;;
5548 GNATBIND
=$ac_ct_GNATBIND
5551 GNATBIND
="$ac_cv_prog_GNATBIND"
5554 if test -n "$ac_tool_prefix"; then
5555 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5556 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5560 $as_echo_n "(cached) " >&6
5562 if test -n "$GNATMAKE"; then
5563 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir
=.
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 GNATMAKE
=$ac_cv_prog_GNATMAKE
5583 if test -n "$GNATMAKE"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5585 $as_echo "$GNATMAKE" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5593 if test -z "$ac_cv_prog_GNATMAKE"; then
5594 ac_ct_GNATMAKE
=$GNATMAKE
5595 # Extract the first word of "gnatmake", so it can be a program name with args.
5596 set dummy gnatmake
; ac_word
=$2
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598 $as_echo_n "checking for $ac_word... " >&6; }
5599 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5600 $as_echo_n "(cached) " >&6
5602 if test -n "$ac_ct_GNATMAKE"; then
5603 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir
=.
5610 for ac_exec_ext
in '' $ac_executable_extensions; do
5611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5623 if test -n "$ac_ct_GNATMAKE"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5625 $as_echo "$ac_ct_GNATMAKE" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5631 if test "x$ac_ct_GNATMAKE" = x
; then
5634 case $cross_compiling:$ac_tool_warned in
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5638 ac_tool_warned
=yes ;;
5640 GNATMAKE
=$ac_ct_GNATMAKE
5643 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada and is recent enough" >&5
5647 $as_echo_n "checking whether compiler driver understands Ada and is recent enough... " >&6; }
5648 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5649 $as_echo_n "(cached) " >&6
5651 cat >conftest.adb
<<EOF
5652 pragma Warnings (Off);
5654 pragma Warnings (On);
5655 use type System.CRTL.int64;
5656 procedure conftest is begin null; end conftest;
5658 acx_cv_cc_gcc_supports_ada
=no
5659 # There is a bug in old released versions of GCC which causes the
5660 # driver to exit successfully when the appropriate language module
5661 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5662 # Therefore we must check for the error message as well as an
5663 # unsuccessful exit.
5664 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5665 # given a .adb file, but produce no object file. So we must check
5666 # if an object file was really produced to guard against this.
5667 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5668 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5669 acx_cv_cc_gcc_supports_ada
=yes
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5674 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5676 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5686 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_GDC+:} false
; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$GDC"; then
5693 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 if test -n "$GDC"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5715 $as_echo "$GDC" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5723 if test -z "$ac_cv_prog_GDC"; then
5725 # Extract the first word of "gdc", so it can be a program name with args.
5726 set dummy gdc
; ac_word
=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_ac_ct_GDC+:} false
; then :
5730 $as_echo_n "(cached) " >&6
5732 if test -n "$ac_ct_GDC"; then
5733 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
5735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir
=.
5740 for ac_exec_ext
in '' $ac_executable_extensions; do
5741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_ac_ct_GDC
="gdc"
5743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
5753 if test -n "$ac_ct_GDC"; then
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5755 $as_echo "$ac_ct_GDC" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5761 if test "x$ac_ct_GDC" = x
; then
5764 case $cross_compiling:$ac_tool_warned in
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5768 ac_tool_warned
=yes ;;
5773 GDC
="$ac_cv_prog_GDC"
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the D compiler works" >&5
5777 $as_echo_n "checking whether the D compiler works... " >&6; }
5778 if ${acx_cv_d_compiler_works+:} false
; then :
5779 $as_echo_n "(cached) " >&6
5781 cat >conftest.d
<<EOF
5782 module conftest; int main() { return 0; }
5784 acx_cv_d_compiler_works
=no
5785 if test "x$GDC" != xno
; then
5786 errors
=`(${GDC} -c conftest.d) 2>&1 || echo failure`
5787 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5788 acx_cv_d_compiler_works
=yes
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_d_compiler_works" >&5
5794 $as_echo "$acx_cv_d_compiler_works" >&6; }
5795 if test "x$GDC" != xno
&& test x
$acx_cv_d_compiler_works != xno
; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5802 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5803 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5804 $as_echo_n "(cached) " >&6
5808 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5809 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5810 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5813 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5816 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5817 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5820 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5827 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5828 do_compare
="$gcc_cv_prog_cmp_skip"
5832 # Check whether --enable-bootstrap was given.
5833 if test "${enable_bootstrap+set}" = set; then :
5834 enableval
=$enable_bootstrap;
5836 enable_bootstrap
=default
5840 # Issue errors and warnings for invalid/strange bootstrap combinations.
5841 if test -r $srcdir/gcc
/configure
; then
5847 case "$have_compiler:$host:$target:$enable_bootstrap" in
5850 # Default behavior. Enable bootstrap if we have a compiler
5851 # and we are in a native configuration.
5852 yes:$build:$build:default
)
5853 enable_bootstrap
=yes ;;
5856 enable_bootstrap
=no
;;
5858 # We have a compiler and we are in a native configuration, bootstrap is ok
5859 yes:$build:$build:yes)
5862 # Other configurations, but we have a compiler. Assume the user knows
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5866 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5869 # No compiler: if they passed --enable-bootstrap explicitly, fail
5871 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5873 # Fail if wrong command line
5875 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5879 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5880 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5881 # require C++11 (or higher).
5882 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5883 CXX
="$CXX -std=c++11"
5884 elif test "$have_compiler" = yes; then
5885 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5887 ac_cpp
='$CXXCPP $CPPFLAGS'
5888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5894 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5895 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5896 $as_echo_n "(cached) " >&6
5898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5902 // If the compiler admits that it is not ready for C++11, why torture it?
5903 // Hopefully, this will speed up the test.
5907 #error "This is not a C++ compiler"
5909 #elif __cplusplus < 201103L
5911 #error "This is not a C++11 compiler"
5918 namespace test_static_assert
5921 template <typename T>
5924 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5929 namespace test_final_override
5938 struct Derived : public Base
5940 virtual ~Derived() override {}
5941 virtual void f() override {}
5946 namespace test_double_right_angle_brackets
5949 template < typename T >
5952 typedef check<void> single_type;
5953 typedef check<check<void>> double_type;
5954 typedef check<check<check<void>>> triple_type;
5955 typedef check<check<check<check<void>>>> quadruple_type;
5959 namespace test_decltype
5972 namespace test_type_deduction
5975 template < typename T1, typename T2 >
5978 static const bool value = false;
5981 template < typename T >
5982 struct is_same<T, T>
5984 static const bool value = true;
5987 template < typename T1, typename T2 >
5989 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5995 test(const int c, volatile int v)
5997 static_assert(is_same<int, decltype(0)>::value == true, "");
5998 static_assert(is_same<int, decltype(c)>::value == false, "");
5999 static_assert(is_same<int, decltype(v)>::value == false, "");
6002 auto sumi = ac + av + 'x';
6003 auto sumf = ac + av + 1.0;
6004 static_assert(is_same<int, decltype(ac)>::value == true, "");
6005 static_assert(is_same<int, decltype(av)>::value == true, "");
6006 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6007 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6008 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6009 return (sumf > 0.0) ? sumi : add(c, v);
6014 namespace test_noexcept
6017 int f() { return 0; }
6018 int g() noexcept { return 0; }
6020 static_assert(noexcept(f()) == false, "");
6021 static_assert(noexcept(g()) == true, "");
6025 namespace test_constexpr
6028 template < typename CharT >
6029 unsigned long constexpr
6030 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6032 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6035 template < typename CharT >
6036 unsigned long constexpr
6037 strlen_c(const CharT *const s) noexcept
6039 return strlen_c_r(s, 0UL);
6042 static_assert(strlen_c("") == 0UL, "");
6043 static_assert(strlen_c("1") == 1UL, "");
6044 static_assert(strlen_c("example") == 7UL, "");
6045 static_assert(strlen_c("another\0example") == 7UL, "");
6049 namespace test_rvalue_references
6055 static constexpr int value = N;
6058 answer<1> f(int&) { return answer<1>(); }
6059 answer<2> f(const int&) { return answer<2>(); }
6060 answer<3> f(int&&) { return answer<3>(); }
6067 static_assert(decltype(f(i))::value == 1, "");
6068 static_assert(decltype(f(c))::value == 2, "");
6069 static_assert(decltype(f(0))::value == 3, "");
6074 namespace test_uniform_initialization
6079 static const int zero {};
6080 static const int one {1};
6083 static_assert(test::zero == 0, "");
6084 static_assert(test::one == 1, "");
6088 namespace test_lambdas
6094 auto lambda1 = [](){};
6095 auto lambda2 = lambda1;
6103 auto a = [](int i, int j){ return i + j; }(1, 2);
6104 auto b = []() -> int { return '0'; }();
6105 auto c = [=](){ return a + b; }();
6106 auto d = [&](){ return c; }();
6107 auto e = [a, &b](int x) mutable {
6108 const auto identity = [](int y){ return y; };
6109 for (auto i = 0; i < a; ++i)
6111 return x + identity(a + b);
6113 return a + b + c + d + e;
6119 const auto nullary = [](){ return 0; };
6120 const auto unary = [](int x){ return x; };
6121 using nullary_t = decltype(nullary);
6122 using unary_t = decltype(unary);
6123 const auto higher1st = [](nullary_t f){ return f(); };
6124 const auto higher2nd = [unary](nullary_t f1){
6125 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6127 return higher1st(nullary) + higher2nd(nullary)(unary);
6132 namespace test_variadic_templates
6138 template <int N0, int... N1toN>
6139 struct sum<N0, N1toN...>
6141 static constexpr auto value = N0 + sum<N1toN...>::value;
6147 static constexpr auto value = 0;
6150 static_assert(sum<>::value == 0, "");
6151 static_assert(sum<1>::value == 1, "");
6152 static_assert(sum<23>::value == 23, "");
6153 static_assert(sum<1, 2>::value == 3, "");
6154 static_assert(sum<5, 5, 11>::value == 21, "");
6155 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6159 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6160 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6162 namespace test_template_alias_sfinae
6167 template<typename T>
6168 using member = typename T::member_type;
6170 template<typename T>
6173 template<typename T>
6174 void func(member<T>*) {}
6178 void test() { func<foo>(0); }
6182 } // namespace cxx11
6184 #endif // __cplusplus >= 201103L
6189 if ac_fn_cxx_try_compile
"$LINENO"; then :
6190 ax_cv_cxx_compile_cxx11
=yes
6192 ax_cv_cxx_compile_cxx11
=no
6194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
6197 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
6198 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
6202 if test x
$ac_success = xno
; then
6203 for alternative
in ${ax_cxx_compile_alternatives}; do
6204 switch
="-std=gnu++${alternative}"
6205 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6207 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6208 if eval \
${$cachevar+:} false
; then :
6209 $as_echo_n "(cached) " >&6
6213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6214 /* end confdefs.h. */
6217 // If the compiler admits that it is not ready for C++11, why torture it?
6218 // Hopefully, this will speed up the test.
6222 #error "This is not a C++ compiler"
6224 #elif __cplusplus < 201103L
6226 #error "This is not a C++11 compiler"
6233 namespace test_static_assert
6236 template <typename T>
6239 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6244 namespace test_final_override
6253 struct Derived : public Base
6255 virtual ~Derived() override {}
6256 virtual void f() override {}
6261 namespace test_double_right_angle_brackets
6264 template < typename T >
6267 typedef check<void> single_type;
6268 typedef check<check<void>> double_type;
6269 typedef check<check<check<void>>> triple_type;
6270 typedef check<check<check<check<void>>>> quadruple_type;
6274 namespace test_decltype
6287 namespace test_type_deduction
6290 template < typename T1, typename T2 >
6293 static const bool value = false;
6296 template < typename T >
6297 struct is_same<T, T>
6299 static const bool value = true;
6302 template < typename T1, typename T2 >
6304 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6310 test(const int c, volatile int v)
6312 static_assert(is_same<int, decltype(0)>::value == true, "");
6313 static_assert(is_same<int, decltype(c)>::value == false, "");
6314 static_assert(is_same<int, decltype(v)>::value == false, "");
6317 auto sumi = ac + av + 'x';
6318 auto sumf = ac + av + 1.0;
6319 static_assert(is_same<int, decltype(ac)>::value == true, "");
6320 static_assert(is_same<int, decltype(av)>::value == true, "");
6321 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6322 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6323 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6324 return (sumf > 0.0) ? sumi : add(c, v);
6329 namespace test_noexcept
6332 int f() { return 0; }
6333 int g() noexcept { return 0; }
6335 static_assert(noexcept(f()) == false, "");
6336 static_assert(noexcept(g()) == true, "");
6340 namespace test_constexpr
6343 template < typename CharT >
6344 unsigned long constexpr
6345 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6347 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6350 template < typename CharT >
6351 unsigned long constexpr
6352 strlen_c(const CharT *const s) noexcept
6354 return strlen_c_r(s, 0UL);
6357 static_assert(strlen_c("") == 0UL, "");
6358 static_assert(strlen_c("1") == 1UL, "");
6359 static_assert(strlen_c("example") == 7UL, "");
6360 static_assert(strlen_c("another\0example") == 7UL, "");
6364 namespace test_rvalue_references
6370 static constexpr int value = N;
6373 answer<1> f(int&) { return answer<1>(); }
6374 answer<2> f(const int&) { return answer<2>(); }
6375 answer<3> f(int&&) { return answer<3>(); }
6382 static_assert(decltype(f(i))::value == 1, "");
6383 static_assert(decltype(f(c))::value == 2, "");
6384 static_assert(decltype(f(0))::value == 3, "");
6389 namespace test_uniform_initialization
6394 static const int zero {};
6395 static const int one {1};
6398 static_assert(test::zero == 0, "");
6399 static_assert(test::one == 1, "");
6403 namespace test_lambdas
6409 auto lambda1 = [](){};
6410 auto lambda2 = lambda1;
6418 auto a = [](int i, int j){ return i + j; }(1, 2);
6419 auto b = []() -> int { return '0'; }();
6420 auto c = [=](){ return a + b; }();
6421 auto d = [&](){ return c; }();
6422 auto e = [a, &b](int x) mutable {
6423 const auto identity = [](int y){ return y; };
6424 for (auto i = 0; i < a; ++i)
6426 return x + identity(a + b);
6428 return a + b + c + d + e;
6434 const auto nullary = [](){ return 0; };
6435 const auto unary = [](int x){ return x; };
6436 using nullary_t = decltype(nullary);
6437 using unary_t = decltype(unary);
6438 const auto higher1st = [](nullary_t f){ return f(); };
6439 const auto higher2nd = [unary](nullary_t f1){
6440 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6442 return higher1st(nullary) + higher2nd(nullary)(unary);
6447 namespace test_variadic_templates
6453 template <int N0, int... N1toN>
6454 struct sum<N0, N1toN...>
6456 static constexpr auto value = N0 + sum<N1toN...>::value;
6462 static constexpr auto value = 0;
6465 static_assert(sum<>::value == 0, "");
6466 static_assert(sum<1>::value == 1, "");
6467 static_assert(sum<23>::value == 23, "");
6468 static_assert(sum<1, 2>::value == 3, "");
6469 static_assert(sum<5, 5, 11>::value == 21, "");
6470 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6474 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6475 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6477 namespace test_template_alias_sfinae
6482 template<typename T>
6483 using member = typename T::member_type;
6485 template<typename T>
6488 template<typename T>
6489 void func(member<T>*) {}
6493 void test() { func<foo>(0); }
6497 } // namespace cxx11
6499 #endif // __cplusplus >= 201103L
6504 if ac_fn_cxx_try_compile
"$LINENO"; then :
6509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6512 eval ac_res
=\$
$cachevar
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6514 $as_echo "$ac_res" >&6; }
6515 if eval test x\$
$cachevar = xyes
; then
6517 if test -n "$CXXCPP" ; then
6518 CXXCPP
="$CXXCPP $switch"
6526 if test x
$ac_success = xno
; then
6527 for alternative
in ${ax_cxx_compile_alternatives}; do
6528 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6529 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6531 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6532 if eval \${$cachevar+:} false; then :
6533 $as_echo_n "(cached
) " >&6
6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6541 // If the compiler admits that it is not ready for C++11, why torture it?
6542 // Hopefully, this will speed up the test.
6546 #error "This is not a C
++ compiler
"
6548 #elif __cplusplus < 201103L
6550 #error "This is not a C
++11 compiler
"
6557 namespace test_static_assert
6560 template <typename T>
6563 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6568 namespace test_final_override
6577 struct Derived : public Base
6579 virtual ~Derived() override {}
6580 virtual void f() override {}
6585 namespace test_double_right_angle_brackets
6588 template < typename T >
6591 typedef check<void> single_type;
6592 typedef check<check<void>> double_type;
6593 typedef check<check<check<void>>> triple_type;
6594 typedef check<check<check<check<void>>>> quadruple_type;
6598 namespace test_decltype
6611 namespace test_type_deduction
6614 template < typename T1, typename T2 >
6617 static const bool value = false;
6620 template < typename T >
6621 struct is_same<T, T>
6623 static const bool value = true;
6626 template < typename T1, typename T2 >
6628 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6634 test(const int c, volatile int v)
6636 static_assert(is_same<int, decltype(0)>::value == true, "");
6637 static_assert(is_same<int, decltype(c)>::value == false, "");
6638 static_assert(is_same<int, decltype(v)>::value == false, "");
6641 auto sumi = ac + av + 'x';
6642 auto sumf = ac + av + 1.0;
6643 static_assert(is_same<int, decltype(ac)>::value == true, "");
6644 static_assert(is_same<int, decltype(av)>::value == true, "");
6645 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6646 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6647 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6648 return (sumf > 0.0) ? sumi : add(c, v);
6653 namespace test_noexcept
6656 int f() { return 0; }
6657 int g() noexcept { return 0; }
6659 static_assert(noexcept(f()) == false, "");
6660 static_assert(noexcept(g()) == true, "");
6664 namespace test_constexpr
6667 template < typename CharT >
6668 unsigned long constexpr
6669 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6671 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6674 template < typename CharT >
6675 unsigned long constexpr
6676 strlen_c(const CharT *const s) noexcept
6678 return strlen_c_r(s, 0UL);
6681 static_assert(strlen_c("") == 0UL, "");
6682 static_assert(strlen_c("1") == 1UL, "");
6683 static_assert(strlen_c("example
") == 7UL, "");
6684 static_assert(strlen_c("another\
0example
") == 7UL, "");
6688 namespace test_rvalue_references
6694 static constexpr int value = N;
6697 answer<1> f(int&) { return answer<1>(); }
6698 answer<2> f(const int&) { return answer<2>(); }
6699 answer<3> f(int&&) { return answer<3>(); }
6706 static_assert(decltype(f(i))::value == 1, "");
6707 static_assert(decltype(f(c))::value == 2, "");
6708 static_assert(decltype(f(0))::value == 3, "");
6713 namespace test_uniform_initialization
6718 static const int zero {};
6719 static const int one {1};
6722 static_assert(test::zero == 0, "");
6723 static_assert(test::one == 1, "");
6727 namespace test_lambdas
6733 auto lambda1 = [](){};
6734 auto lambda2 = lambda1;
6742 auto a = [](int i, int j){ return i + j; }(1, 2);
6743 auto b = []() -> int { return '0'; }();
6744 auto c = [=](){ return a + b; }();
6745 auto d = [&](){ return c; }();
6746 auto e = [a, &b](int x) mutable {
6747 const auto identity = [](int y){ return y; };
6748 for (auto i = 0; i < a; ++i)
6750 return x + identity(a + b);
6752 return a + b + c + d + e;
6758 const auto nullary = [](){ return 0; };
6759 const auto unary = [](int x){ return x; };
6760 using nullary_t = decltype(nullary);
6761 using unary_t = decltype(unary);
6762 const auto higher1st = [](nullary_t f){ return f(); };
6763 const auto higher2nd = [unary](nullary_t f1){
6764 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6766 return higher1st(nullary) + higher2nd(nullary)(unary);
6771 namespace test_variadic_templates
6777 template <int N0, int... N1toN>
6778 struct sum<N0, N1toN...>
6780 static constexpr auto value = N0 + sum<N1toN...>::value;
6786 static constexpr auto value = 0;
6789 static_assert(sum<>::value == 0, "");
6790 static_assert(sum<1>::value == 1, "");
6791 static_assert(sum<23>::value == 23, "");
6792 static_assert(sum<1, 2>::value == 3, "");
6793 static_assert(sum<5, 5, 11>::value == 21, "");
6794 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6798 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6799 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6801 namespace test_template_alias_sfinae
6806 template<typename T>
6807 using member = typename T::member_type;
6809 template<typename T>
6812 template<typename T>
6813 void func(member<T>*) {}
6817 void test() { func<foo>(0); }
6821 } // namespace cxx11
6823 #endif // __cplusplus >= 201103L
6828 if ac_fn_cxx_try_compile "$LINENO"; then :
6833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6836 eval ac_res=\$$cachevar
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6838 $as_echo "$ac_res" >&6; }
6839 if eval test x\$$cachevar = xyes; then
6841 if test -n "$CXXCPP" ; then
6842 CXXCPP="$CXXCPP $switch"
6848 if test x$ac_success = xyes; then
6855 ac_cpp='$CPP $CPPFLAGS'
6856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6860 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6861 if test x$ac_success = xno; then
6862 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6865 if test x$ac_success = xno; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6868 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6872 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6878 if test "${build}" != "${host}"; then
6879 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6881 ac_cpp
='$CXXCPP $CPPFLAGS'
6882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6886 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6887 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6888 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6889 CXX
="$CXX_FOR_BUILD"
6890 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6891 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6893 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6894 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6895 $as_echo_n "(cached) " >&6
6897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6901 // If the compiler admits that it is not ready for C++11, why torture it?
6902 // Hopefully, this will speed up the test.
6906 #error "This is not a C++ compiler"
6908 #elif __cplusplus < 201103L
6910 #error "This is not a C++11 compiler"
6917 namespace test_static_assert
6920 template <typename T>
6923 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6928 namespace test_final_override
6937 struct Derived : public Base
6939 virtual ~Derived() override {}
6940 virtual void f() override {}
6945 namespace test_double_right_angle_brackets
6948 template < typename T >
6951 typedef check<void> single_type;
6952 typedef check<check<void>> double_type;
6953 typedef check<check<check<void>>> triple_type;
6954 typedef check<check<check<check<void>>>> quadruple_type;
6958 namespace test_decltype
6971 namespace test_type_deduction
6974 template < typename T1, typename T2 >
6977 static const bool value = false;
6980 template < typename T >
6981 struct is_same<T, T>
6983 static const bool value = true;
6986 template < typename T1, typename T2 >
6988 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6994 test(const int c, volatile int v)
6996 static_assert(is_same<int, decltype(0)>::value == true, "");
6997 static_assert(is_same<int, decltype(c)>::value == false, "");
6998 static_assert(is_same<int, decltype(v)>::value == false, "");
7001 auto sumi = ac + av + 'x';
7002 auto sumf = ac + av + 1.0;
7003 static_assert(is_same<int, decltype(ac)>::value == true, "");
7004 static_assert(is_same<int, decltype(av)>::value == true, "");
7005 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7006 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7007 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7008 return (sumf > 0.0) ? sumi : add(c, v);
7013 namespace test_noexcept
7016 int f() { return 0; }
7017 int g() noexcept { return 0; }
7019 static_assert(noexcept(f()) == false, "");
7020 static_assert(noexcept(g()) == true, "");
7024 namespace test_constexpr
7027 template < typename CharT >
7028 unsigned long constexpr
7029 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7031 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7034 template < typename CharT >
7035 unsigned long constexpr
7036 strlen_c(const CharT *const s) noexcept
7038 return strlen_c_r(s, 0UL);
7041 static_assert(strlen_c("") == 0UL, "");
7042 static_assert(strlen_c("1") == 1UL, "");
7043 static_assert(strlen_c("example") == 7UL, "");
7044 static_assert(strlen_c("another\0example") == 7UL, "");
7048 namespace test_rvalue_references
7054 static constexpr int value = N;
7057 answer<1> f(int&) { return answer<1>(); }
7058 answer<2> f(const int&) { return answer<2>(); }
7059 answer<3> f(int&&) { return answer<3>(); }
7066 static_assert(decltype(f(i))::value == 1, "");
7067 static_assert(decltype(f(c))::value == 2, "");
7068 static_assert(decltype(f(0))::value == 3, "");
7073 namespace test_uniform_initialization
7078 static const int zero {};
7079 static const int one {1};
7082 static_assert(test::zero == 0, "");
7083 static_assert(test::one == 1, "");
7087 namespace test_lambdas
7093 auto lambda1 = [](){};
7094 auto lambda2 = lambda1;
7102 auto a = [](int i, int j){ return i + j; }(1, 2);
7103 auto b = []() -> int { return '0'; }();
7104 auto c = [=](){ return a + b; }();
7105 auto d = [&](){ return c; }();
7106 auto e = [a, &b](int x) mutable {
7107 const auto identity = [](int y){ return y; };
7108 for (auto i = 0; i < a; ++i)
7110 return x + identity(a + b);
7112 return a + b + c + d + e;
7118 const auto nullary = [](){ return 0; };
7119 const auto unary = [](int x){ return x; };
7120 using nullary_t = decltype(nullary);
7121 using unary_t = decltype(unary);
7122 const auto higher1st = [](nullary_t f){ return f(); };
7123 const auto higher2nd = [unary](nullary_t f1){
7124 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7126 return higher1st(nullary) + higher2nd(nullary)(unary);
7131 namespace test_variadic_templates
7137 template <int N0, int... N1toN>
7138 struct sum<N0, N1toN...>
7140 static constexpr auto value = N0 + sum<N1toN...>::value;
7146 static constexpr auto value = 0;
7149 static_assert(sum<>::value == 0, "");
7150 static_assert(sum<1>::value == 1, "");
7151 static_assert(sum<23>::value == 23, "");
7152 static_assert(sum<1, 2>::value == 3, "");
7153 static_assert(sum<5, 5, 11>::value == 21, "");
7154 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7158 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7159 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7161 namespace test_template_alias_sfinae
7166 template<typename T>
7167 using member = typename T::member_type;
7169 template<typename T>
7172 template<typename T>
7173 void func(member<T>*) {}
7177 void test() { func<foo>(0); }
7181 } // namespace cxx11
7183 #endif // __cplusplus >= 201103L
7188 if ac_fn_cxx_try_compile
"$LINENO"; then :
7189 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
7191 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
7193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
7196 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
7197 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
7201 if test x
$ac_success = xno
; then
7202 for alternative
in ${ax_cxx_compile_alternatives}; do
7203 switch
="-std=gnu++${alternative}"
7204 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7206 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
7207 if eval \
${$cachevar+:} false
; then :
7208 $as_echo_n "(cached) " >&6
7212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7216 // If the compiler admits that it is not ready for C++11, why torture it?
7217 // Hopefully, this will speed up the test.
7221 #error "This is not a C++ compiler"
7223 #elif __cplusplus < 201103L
7225 #error "This is not a C++11 compiler"
7232 namespace test_static_assert
7235 template <typename T>
7238 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7243 namespace test_final_override
7252 struct Derived : public Base
7254 virtual ~Derived() override {}
7255 virtual void f() override {}
7260 namespace test_double_right_angle_brackets
7263 template < typename T >
7266 typedef check<void> single_type;
7267 typedef check<check<void>> double_type;
7268 typedef check<check<check<void>>> triple_type;
7269 typedef check<check<check<check<void>>>> quadruple_type;
7273 namespace test_decltype
7286 namespace test_type_deduction
7289 template < typename T1, typename T2 >
7292 static const bool value = false;
7295 template < typename T >
7296 struct is_same<T, T>
7298 static const bool value = true;
7301 template < typename T1, typename T2 >
7303 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7309 test(const int c, volatile int v)
7311 static_assert(is_same<int, decltype(0)>::value == true, "");
7312 static_assert(is_same<int, decltype(c)>::value == false, "");
7313 static_assert(is_same<int, decltype(v)>::value == false, "");
7316 auto sumi = ac + av + 'x';
7317 auto sumf = ac + av + 1.0;
7318 static_assert(is_same<int, decltype(ac)>::value == true, "");
7319 static_assert(is_same<int, decltype(av)>::value == true, "");
7320 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7321 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7322 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7323 return (sumf > 0.0) ? sumi : add(c, v);
7328 namespace test_noexcept
7331 int f() { return 0; }
7332 int g() noexcept { return 0; }
7334 static_assert(noexcept(f()) == false, "");
7335 static_assert(noexcept(g()) == true, "");
7339 namespace test_constexpr
7342 template < typename CharT >
7343 unsigned long constexpr
7344 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7346 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7349 template < typename CharT >
7350 unsigned long constexpr
7351 strlen_c(const CharT *const s) noexcept
7353 return strlen_c_r(s, 0UL);
7356 static_assert(strlen_c("") == 0UL, "");
7357 static_assert(strlen_c("1") == 1UL, "");
7358 static_assert(strlen_c("example") == 7UL, "");
7359 static_assert(strlen_c("another\0example") == 7UL, "");
7363 namespace test_rvalue_references
7369 static constexpr int value = N;
7372 answer<1> f(int&) { return answer<1>(); }
7373 answer<2> f(const int&) { return answer<2>(); }
7374 answer<3> f(int&&) { return answer<3>(); }
7381 static_assert(decltype(f(i))::value == 1, "");
7382 static_assert(decltype(f(c))::value == 2, "");
7383 static_assert(decltype(f(0))::value == 3, "");
7388 namespace test_uniform_initialization
7393 static const int zero {};
7394 static const int one {1};
7397 static_assert(test::zero == 0, "");
7398 static_assert(test::one == 1, "");
7402 namespace test_lambdas
7408 auto lambda1 = [](){};
7409 auto lambda2 = lambda1;
7417 auto a = [](int i, int j){ return i + j; }(1, 2);
7418 auto b = []() -> int { return '0'; }();
7419 auto c = [=](){ return a + b; }();
7420 auto d = [&](){ return c; }();
7421 auto e = [a, &b](int x) mutable {
7422 const auto identity = [](int y){ return y; };
7423 for (auto i = 0; i < a; ++i)
7425 return x + identity(a + b);
7427 return a + b + c + d + e;
7433 const auto nullary = [](){ return 0; };
7434 const auto unary = [](int x){ return x; };
7435 using nullary_t = decltype(nullary);
7436 using unary_t = decltype(unary);
7437 const auto higher1st = [](nullary_t f){ return f(); };
7438 const auto higher2nd = [unary](nullary_t f1){
7439 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7441 return higher1st(nullary) + higher2nd(nullary)(unary);
7446 namespace test_variadic_templates
7452 template <int N0, int... N1toN>
7453 struct sum<N0, N1toN...>
7455 static constexpr auto value = N0 + sum<N1toN...>::value;
7461 static constexpr auto value = 0;
7464 static_assert(sum<>::value == 0, "");
7465 static_assert(sum<1>::value == 1, "");
7466 static_assert(sum<23>::value == 23, "");
7467 static_assert(sum<1, 2>::value == 3, "");
7468 static_assert(sum<5, 5, 11>::value == 21, "");
7469 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7473 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7474 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7476 namespace test_template_alias_sfinae
7481 template<typename T>
7482 using member = typename T::member_type;
7484 template<typename T>
7487 template<typename T>
7488 void func(member<T>*) {}
7492 void test() { func<foo>(0); }
7496 } // namespace cxx11
7498 #endif // __cplusplus >= 201103L
7503 if ac_fn_cxx_try_compile
"$LINENO"; then :
7508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7511 eval ac_res
=\$
$cachevar
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7513 $as_echo "$ac_res" >&6; }
7514 if eval test x\$
$cachevar = xyes
; then
7516 if test -n "$CXXCPP" ; then
7517 CXXCPP
="$CXXCPP $switch"
7525 if test x
$ac_success = xno
; then
7526 for alternative
in ${ax_cxx_compile_alternatives}; do
7527 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7528 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7530 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7531 if eval \${$cachevar+:} false; then :
7532 $as_echo_n "(cached
) " >&6
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7540 // If the compiler admits that it is not ready for C++11, why torture it?
7541 // Hopefully, this will speed up the test.
7545 #error "This is not a C
++ compiler
"
7547 #elif __cplusplus < 201103L
7549 #error "This is not a C
++11 compiler
"
7556 namespace test_static_assert
7559 template <typename T>
7562 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7567 namespace test_final_override
7576 struct Derived : public Base
7578 virtual ~Derived() override {}
7579 virtual void f() override {}
7584 namespace test_double_right_angle_brackets
7587 template < typename T >
7590 typedef check<void> single_type;
7591 typedef check<check<void>> double_type;
7592 typedef check<check<check<void>>> triple_type;
7593 typedef check<check<check<check<void>>>> quadruple_type;
7597 namespace test_decltype
7610 namespace test_type_deduction
7613 template < typename T1, typename T2 >
7616 static const bool value = false;
7619 template < typename T >
7620 struct is_same<T, T>
7622 static const bool value = true;
7625 template < typename T1, typename T2 >
7627 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7633 test(const int c, volatile int v)
7635 static_assert(is_same<int, decltype(0)>::value == true, "");
7636 static_assert(is_same<int, decltype(c)>::value == false, "");
7637 static_assert(is_same<int, decltype(v)>::value == false, "");
7640 auto sumi = ac + av + 'x';
7641 auto sumf = ac + av + 1.0;
7642 static_assert(is_same<int, decltype(ac)>::value == true, "");
7643 static_assert(is_same<int, decltype(av)>::value == true, "");
7644 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7645 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7646 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7647 return (sumf > 0.0) ? sumi : add(c, v);
7652 namespace test_noexcept
7655 int f() { return 0; }
7656 int g() noexcept { return 0; }
7658 static_assert(noexcept(f()) == false, "");
7659 static_assert(noexcept(g()) == true, "");
7663 namespace test_constexpr
7666 template < typename CharT >
7667 unsigned long constexpr
7668 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7670 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7673 template < typename CharT >
7674 unsigned long constexpr
7675 strlen_c(const CharT *const s) noexcept
7677 return strlen_c_r(s, 0UL);
7680 static_assert(strlen_c("") == 0UL, "");
7681 static_assert(strlen_c("1") == 1UL, "");
7682 static_assert(strlen_c("example
") == 7UL, "");
7683 static_assert(strlen_c("another\
0example
") == 7UL, "");
7687 namespace test_rvalue_references
7693 static constexpr int value = N;
7696 answer<1> f(int&) { return answer<1>(); }
7697 answer<2> f(const int&) { return answer<2>(); }
7698 answer<3> f(int&&) { return answer<3>(); }
7705 static_assert(decltype(f(i))::value == 1, "");
7706 static_assert(decltype(f(c))::value == 2, "");
7707 static_assert(decltype(f(0))::value == 3, "");
7712 namespace test_uniform_initialization
7717 static const int zero {};
7718 static const int one {1};
7721 static_assert(test::zero == 0, "");
7722 static_assert(test::one == 1, "");
7726 namespace test_lambdas
7732 auto lambda1 = [](){};
7733 auto lambda2 = lambda1;
7741 auto a = [](int i, int j){ return i + j; }(1, 2);
7742 auto b = []() -> int { return '0'; }();
7743 auto c = [=](){ return a + b; }();
7744 auto d = [&](){ return c; }();
7745 auto e = [a, &b](int x) mutable {
7746 const auto identity = [](int y){ return y; };
7747 for (auto i = 0; i < a; ++i)
7749 return x + identity(a + b);
7751 return a + b + c + d + e;
7757 const auto nullary = [](){ return 0; };
7758 const auto unary = [](int x){ return x; };
7759 using nullary_t = decltype(nullary);
7760 using unary_t = decltype(unary);
7761 const auto higher1st = [](nullary_t f){ return f(); };
7762 const auto higher2nd = [unary](nullary_t f1){
7763 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7765 return higher1st(nullary) + higher2nd(nullary)(unary);
7770 namespace test_variadic_templates
7776 template <int N0, int... N1toN>
7777 struct sum<N0, N1toN...>
7779 static constexpr auto value = N0 + sum<N1toN...>::value;
7785 static constexpr auto value = 0;
7788 static_assert(sum<>::value == 0, "");
7789 static_assert(sum<1>::value == 1, "");
7790 static_assert(sum<23>::value == 23, "");
7791 static_assert(sum<1, 2>::value == 3, "");
7792 static_assert(sum<5, 5, 11>::value == 21, "");
7793 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7797 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7798 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7800 namespace test_template_alias_sfinae
7805 template<typename T>
7806 using member = typename T::member_type;
7808 template<typename T>
7811 template<typename T>
7812 void func(member<T>*) {}
7816 void test() { func<foo>(0); }
7820 } // namespace cxx11
7822 #endif // __cplusplus >= 201103L
7827 if ac_fn_cxx_try_compile "$LINENO"; then :
7832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7835 eval ac_res=\$$cachevar
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7837 $as_echo "$ac_res" >&6; }
7838 if eval test x\$$cachevar = xyes; then
7840 if test -n "$CXXCPP" ; then
7841 CXXCPP="$CXXCPP $switch"
7847 if test x$ac_success = xyes; then
7852 CXX_FOR_BUILD="$CXX"
7853 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7854 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7855 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7856 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7857 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7859 ac_cpp='$CPP $CPPFLAGS'
7860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7864 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7865 if test x$ac_success = xno; then
7866 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7869 if test x$ac_success = xno; then
7870 HAVE_CXX11_FOR_BUILD=0
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7872 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7874 HAVE_CXX11_FOR_BUILD=1
7876 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7884 # Check whether --enable-pgo-build was given.
7885 if test "${enable_pgo_build+set}" = set; then :
7886 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
7892 # Issue errors and warnings for invalid/strange PGO build combinations.
7893 case "$have_compiler:$host:$target:$enable_pgo_build" in
7896 # Allow the PGO build only if we aren't building a compiler and
7897 # we are in a native configuration.
7898 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
7900 # Disallow the PGO bootstrap if we are building a compiler.
7901 yes:*:*:yes |
yes:*:*:lto
)
7902 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7905 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
7909 if test "$enable_pgo_build" != "no"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
7911 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
7912 old_CFLAGS
="$CFLAGS"
7913 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
7914 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
7916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7920 if ac_fn_c_try_compile
"$LINENO"; then :
7923 PGO_BUILD_GEN_CFLAGS
=
7925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7926 CFLAGS
="$old_CFLAGS"
7927 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7929 $as_echo "yes" >&6; }
7930 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7934 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7937 if test "$enable_pgo_build" = "lto"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
7939 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
7940 old_CFLAGS
="$CFLAGS"
7941 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
7942 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
7943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7944 /* end confdefs.h. */
7947 if ac_fn_c_try_compile
"$LINENO"; then :
7950 PGO_BUILD_LTO_CFLAGS
=
7952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7953 CFLAGS
="$old_CFLAGS"
7954 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7956 $as_echo "yes" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
7961 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
7969 # Used for setting $lt_cv_objdir
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7971 $as_echo_n "checking for objdir... " >&6; }
7972 if ${lt_cv_objdir+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7975 rm -f .libs
2>/dev
/null
7976 mkdir .libs
2>/dev
/null
7977 if test -d .libs
; then
7980 # MS-DOS does not allow filenames that begin with a dot.
7983 rmdir .libs
2>/dev
/null
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7986 $as_echo "$lt_cv_objdir" >&6; }
7987 objdir
=$lt_cv_objdir
7993 cat >>confdefs.h
<<_ACEOF
7994 #define LT_OBJDIR "$lt_cv_objdir/"
7999 # Check for GMP, MPFR and MPC
8002 if test -d ${srcdir}/gcc
; then
8006 if test -d ${srcdir}/gdb
; then
8007 if test "x$enable_gdb" != xno
; then
8012 gmplibs
="-lmpfr -lgmp"
8013 if test x
"$require_mpc" = "xyes" ; then
8014 gmplibs
="-lmpc $gmplibs"
8019 # Specify a location for mpc
8020 # check for this first so it ends up on the link line before mpfr.
8022 # Check whether --with-mpc was given.
8023 if test "${with_mpc+set}" = set; then :
8028 # Check whether --with-mpc-include was given.
8029 if test "${with_mpc_include+set}" = set; then :
8030 withval
=$with_mpc_include;
8034 # Check whether --with-mpc-lib was given.
8035 if test "${with_mpc_lib+set}" = set; then :
8036 withval
=$with_mpc_lib;
8040 if test "x$with_mpc" != x
; then
8041 gmplibs
="-L$with_mpc/lib $gmplibs"
8042 gmpinc
="-I$with_mpc/include $gmpinc"
8044 if test "x$with_mpc_include" != x
; then
8045 gmpinc
="-I$with_mpc_include $gmpinc"
8047 if test "x$with_mpc_lib" != x
; then
8048 gmplibs
="-L$with_mpc_lib $gmplibs"
8050 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
8051 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
8052 gmpinc
='-I$$s/mpc/src '"$gmpinc"
8053 # Do not test the mpc version. Assume that it is sufficient, since
8054 # it is in the source tree, and the library has not been built yet
8055 # but it would be included on the link line in the version check below
8056 # hence making the test fail.
8060 # Specify a location for mpfr
8061 # check for this first so it ends up on the link line before gmp.
8063 # Check whether --with-mpfr was given.
8064 if test "${with_mpfr+set}" = set; then :
8069 # Check whether --with-mpfr-include was given.
8070 if test "${with_mpfr_include+set}" = set; then :
8071 withval
=$with_mpfr_include;
8075 # Check whether --with-mpfr-lib was given.
8076 if test "${with_mpfr_lib+set}" = set; then :
8077 withval
=$with_mpfr_lib;
8081 if test "x$with_mpfr" != x
; then
8082 gmplibs
="-L$with_mpfr/lib $gmplibs"
8083 gmpinc
="-I$with_mpfr/include $gmpinc"
8085 if test "x$with_mpfr_include" != x
; then
8086 gmpinc
="-I$with_mpfr_include $gmpinc"
8088 if test "x$with_mpfr_lib" != x
; then
8089 gmplibs
="-L$with_mpfr_lib $gmplibs"
8091 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
8092 # MPFR v3.1.0 moved the sources into a src sub-directory.
8093 if ! test -d ${srcdir}/mpfr
/src
; then
8094 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
8096 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
8097 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
8098 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
8099 # Do not test the mpfr version. Assume that it is sufficient, since
8100 # it is in the source tree, and the library has not been built yet
8101 # but it would be included on the link line in the version check below
8102 # hence making the test fail.
8106 # Specify a location for gmp
8108 # Check whether --with-gmp was given.
8109 if test "${with_gmp+set}" = set; then :
8114 # Check whether --with-gmp-include was given.
8115 if test "${with_gmp_include+set}" = set; then :
8116 withval
=$with_gmp_include;
8120 # Check whether --with-gmp-lib was given.
8121 if test "${with_gmp_lib+set}" = set; then :
8122 withval
=$with_gmp_lib;
8127 if test "x$with_gmp" != x
; then
8128 gmplibs
="-L$with_gmp/lib $gmplibs"
8129 gmpinc
="-I$with_gmp/include $gmpinc"
8131 if test "x$with_gmp_include" != x
; then
8132 gmpinc
="-I$with_gmp_include $gmpinc"
8134 if test "x$with_gmp_lib" != x
; then
8135 gmplibs
="-L$with_gmp_lib $gmplibs"
8137 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
8138 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
8139 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
8140 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8141 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8142 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
8143 # Do not test the gmp version. Assume that it is sufficient, since
8144 # it is in the source tree, and the library has not been built yet
8145 # but it would be included on the link line in the version check below
8146 # hence making the test fail.
8150 if test "x$require_gmp" = xyes
&& test "x$have_gmp" = xno
; then
8152 saved_CFLAGS
="$CFLAGS"
8153 CFLAGS
="$CFLAGS $gmpinc"
8154 # Check for the recommended and required versions of GMP.
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
8156 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8164 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8165 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8166 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
8174 if ac_fn_c_try_compile
"$LINENO"; then :
8175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8176 /* end confdefs.h. */
8182 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8183 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8184 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
8192 if ac_fn_c_try_compile
"$LINENO"; then :
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8194 $as_echo "yes" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8197 $as_echo "buggy but acceptable" >&6; }
8199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202 $as_echo "no" >&6; }; have_gmp
=no
8204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8206 # If we have GMP, check the MPFR version.
8207 if test x
"$have_gmp" = xyes
; then
8208 # Check for the recommended and required versions of MPFR.
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
8210 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
8211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8219 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
8227 if ac_fn_c_try_compile
"$LINENO"; then :
8228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8229 /* end confdefs.h. */
8236 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
8244 if ac_fn_c_try_compile
"$LINENO"; then :
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8246 $as_echo "yes" >&6; }
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8249 $as_echo "buggy but acceptable" >&6; }
8251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }; have_gmp
=no
8256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8259 # Check for the MPC header version.
8260 if test "x$require_mpc" = xyes
&& test x
"$have_gmp" = xyes
; then
8261 # Check for the recommended and required versions of MPC.
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
8263 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
8264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8271 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
8279 if ac_fn_c_try_compile
"$LINENO"; then :
8280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8281 /* end confdefs.h. */
8287 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
8295 if ac_fn_c_try_compile
"$LINENO"; then :
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8297 $as_echo "yes" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8300 $as_echo "buggy but acceptable" >&6; }
8302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }; have_gmp
=no
8307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8310 # Now check the MPFR library.
8311 if test x
"$have_gmp" = xyes
; then
8313 LIBS
="$LIBS $gmplibs"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
8315 $as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
8316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8328 mpfr_atan2 (n, n, x, MPFR_RNDN);
8329 mpfr_erfc (n, x, MPFR_RNDN);
8330 mpfr_subnormalize (x, t, MPFR_RNDN);
8338 if ac_fn_c_try_link
"$LINENO"; then :
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8340 $as_echo "yes" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343 $as_echo "no" >&6; }; have_gmp
=no
8345 rm -f core conftest.err conftest.
$ac_objext \
8346 conftest
$ac_exeext conftest.
$ac_ext
8350 # Now check the MPC library
8351 if test "x$require_mpc" = xyes
&& test x
"$have_gmp" = xyes
; then
8353 LIBS
="$LIBS $gmplibs"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc libraries" >&5
8355 $as_echo_n "checking for the correct version of the mpc libraries... " >&6; }
8356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8365 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
8366 mpc_cosh (c, c, MPC_RNDNN);
8367 mpc_pow (c, c, c, MPC_RNDNN);
8368 mpc_acosh (c, c, MPC_RNDNN);
8375 if ac_fn_c_try_link
"$LINENO"; then :
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8377 $as_echo "yes" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }; have_gmp
=no
8382 rm -f core conftest.err conftest.
$ac_objext \
8383 conftest
$ac_exeext conftest.
$ac_ext
8387 CFLAGS
="$saved_CFLAGS"
8389 # The library versions listed in the error message below should match
8390 # the HARD-minimums enforced above.
8391 if test x
$have_gmp != xyes
; then
8392 if test -d ${srcdir}/gcc
; then
8393 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
8394 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
8395 their locations. Source code for these libraries can be found at
8396 their respective hosting sites as well as at
8397 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
8398 http://gcc.gnu.org/install/prerequisites.html for additional info. If
8399 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
8400 make sure that you have installed both the libraries and the header
8401 files. They may be located in separate packages." "$LINENO" 5
8403 as_fn_error $?
"Building GDB requires GMP 4.2+, and MPFR 3.1.0+.
8404 Try the --with-gmp and/or --with-mpfr options to specify
8405 their locations. If you obtained GMP and/or MPFR from a vendor
8406 distribution package, make sure that you have installed both the libraries
8407 and the header files. They may be located in separate packages." "$LINENO" 5
8412 # Flags needed for both GMP, MPFR and/or MPC.
8420 # Libraries to use for stage1 or when not bootstrapping.
8422 # Check whether --with-stage1-libs was given.
8423 if test "${with_stage1_libs+set}" = set; then :
8424 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8427 stage1_libs
=$withval
8435 # Whether or not to use -static-libstdc++ and -static-libgcc. The
8436 # default is yes if gcc is being built; no otherwise. The reason for
8437 # this default is that gdb is sometimes linked against GNU Source
8438 # Highlight, which is a shared library that uses C++ exceptions. In
8439 # this case, -static-libstdc++ will cause crashes.
8441 # Check whether --with-static-standard-libraries was given.
8442 if test "${with_static_standard_libraries+set}" = set; then :
8443 withval
=$with_static_standard_libraries;
8445 with_static_standard_libraries
=auto
8448 if test "$with_static_standard_libraries" = auto
; then
8449 with_static_standard_libraries
=$have_compiler
8452 # Linker flags to use for stage1 or when not bootstrapping.
8454 # Check whether --with-stage1-ldflags was given.
8455 if test "${with_stage1_ldflags+set}" = set; then :
8456 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8459 stage1_ldflags
=$withval
8463 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8464 # if supported. But if the user explicitly specified the libraries to use,
8465 # trust that they are doing what they want.
8466 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8467 -a "$have_static_libs" = yes; then
8468 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8474 # Libraries to use for stage2 and later builds.
8476 # Check whether --with-boot-libs was given.
8477 if test "${with_boot_libs+set}" = set; then :
8478 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8481 poststage1_libs
=$withval
8489 # Linker flags to use for stage2 and later builds.
8491 # Check whether --with-boot-ldflags was given.
8492 if test "${with_boot_ldflags+set}" = set; then :
8493 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8496 poststage1_ldflags
=$withval
8500 # In stages 2 and 3, default to linking libstdc++ and libgcc
8501 # statically. But if the user explicitly specified the libraries to
8502 # use, trust that they are doing what they want.
8503 if test "$poststage1_libs" = ""; then
8504 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8509 *-darwin2* |
*-darwin1[56789]*)
8510 # For these versions, we default to using embedded rpaths.
8511 if test "x$enable_darwin_at_rpath" != "xno"; then
8512 poststage1_ldflags
="$poststage1_ldflags -nodefaultrpaths"
8516 # For these versions, we only use embedded rpaths on demand.
8517 if test "x$enable_darwin_at_rpath" = "xyes"; then
8518 poststage1_ldflags
="$poststage1_ldflags -nodefaultrpaths"
8524 # GCC GRAPHITE dependency isl.
8525 # Basic setup is inlined here, actual checks are in config/isl.m4
8528 # Check whether --with-isl was given.
8529 if test "${with_isl+set}" = set; then :
8534 # Treat --without-isl as a request to disable
8535 # GRAPHITE support and skip all following checks.
8536 if test "x$with_isl" != "xno"; then
8540 # Check whether --with-isl-include was given.
8541 if test "${with_isl_include+set}" = set; then :
8542 withval
=$with_isl_include;
8546 # Check whether --with-isl-lib was given.
8547 if test "${with_isl_lib+set}" = set; then :
8548 withval
=$with_isl_lib;
8552 # Check whether --enable-isl-version-check was given.
8553 if test "${enable_isl_version_check+set}" = set; then :
8554 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8556 ENABLE_ISL_CHECK
=yes
8560 # Initialize isllibs and islinc.
8569 isllibs
="-L$with_isl/lib"
8570 islinc
="-I$with_isl/include"
8573 if test "x${with_isl_include}" != x
; then
8574 islinc
="-I$with_isl_include"
8576 if test "x${with_isl_lib}" != x
; then
8577 isllibs
="-L$with_isl_lib"
8579 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8580 && test -d ${srcdir}/isl
; then
8581 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8582 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8585 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8588 isllibs
="${isllibs} -lisl"
8592 if test "${ENABLE_ISL_CHECK}" = yes ; then
8593 _isl_saved_CFLAGS
=$CFLAGS
8594 _isl_saved_LDFLAGS
=$LDFLAGS
8595 _isl_saved_LIBS
=$LIBS
8597 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8598 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8599 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8602 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 #include <isl/schedule.h>
8609 isl_options_set_schedule_serialize_sccs (NULL, 0);
8614 if ac_fn_c_try_link
"$LINENO"; then :
8619 rm -f core conftest.err conftest.
$ac_objext \
8620 conftest
$ac_exeext conftest.
$ac_ext
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8622 $as_echo "$gcc_cv_isl" >&6; }
8624 if test "${gcc_cv_isl}" = no
; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8626 $as_echo "required isl version is 0.15 or later" >&6; }
8629 CFLAGS
=$_isl_saved_CFLAGS
8630 LDFLAGS
=$_isl_saved_LDFLAGS
8631 LIBS
=$_isl_saved_LIBS
8639 if test "x${with_isl}" = xno
; then
8640 graphite_requested
=no
8641 elif test "x${with_isl}" != x \
8642 ||
test "x${with_isl_include}" != x \
8643 ||
test "x${with_isl_lib}" != x
; then
8644 graphite_requested
=yes
8646 graphite_requested
=no
8651 if test "${gcc_cv_isl}" = no
; then
8656 if test "${graphite_requested}" = yes \
8657 && test "x${isllibs}" = x \
8658 && test "x${islinc}" = x
; then
8660 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8666 # If the isl check failed, disable builds of in-tree variant of isl
8667 if test "x$with_isl" = xno ||
8668 test "x$gcc_cv_isl" = xno
; then
8669 noconfigdirs
="$noconfigdirs isl"
8676 # Check for LTO support.
8677 # Check whether --enable-lto was given.
8678 if test "${enable_lto+set}" = set; then :
8679 enableval
=$enable_lto; enable_lto
=$enableval
8681 enable_lto
=yes; default_enable_lto
=yes
8690 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8691 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8692 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8701 if test $target_elf = yes; then :
8702 # ELF platforms build the lto-plugin always.
8703 build_lto_plugin
=yes
8706 if test x
"$default_enable_lto" = x
"yes" ; then
8708 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8709 # On other non-ELF platforms, LTO has yet to be validated.
8713 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8714 # It would also be nice to check the binutils support, but we don't
8715 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8716 # warn during gcc/ subconfigure; unless you're bootstrapping with
8717 # -flto it won't be needed until after installation anyway.
8719 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8720 *) if test x
"$enable_lto" = x
"yes"; then
8721 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8726 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8727 # Build it unless LTO was explicitly disabled.
8729 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8736 # Check whether --enable-linker-plugin-configure-flags was given.
8737 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8738 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8740 extra_linker_plugin_configure_flags
=
8744 # Check whether --enable-linker-plugin-flags was given.
8745 if test "${enable_linker_plugin_flags+set}" = set; then :
8746 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8748 extra_linker_plugin_flags
=
8753 # Handle --enable-host-pie
8754 # If host PIE executables are the default (or must be forced on) for some host,
8755 # we must pass that configuration to the gcc directory.
8757 # Check whether --enable-host-pie was given.
8758 if test "${enable_host_pie+set}" = set; then :
8759 enableval
=$enable_host_pie; host_pie
=$enableval
8762 if test x
$host_pie != xyes
; then
8763 # for Darwin20+ this is required.
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIE executables are required for the configured host, host-pie setting ignored." >&5
8765 $as_echo "$as_me: WARNING: PIE executables are required for the configured host, host-pie setting ignored." >&2;}
8767 gcc_host_pie
=--enable-host-pie
8774 # Default to PIE (mandatory for aarch64).
8776 gcc_host_pie
=--enable-host-pie
8786 # Enable --enable-host-shared.
8787 # Checked early to determine whether jit is an 'all' language
8788 # Check whether --enable-host-shared was given.
8789 if test "${enable_host_shared+set}" = set; then :
8790 enableval
=$enable_host_shared; host_shared
=$enableval
8792 x86_64-
*-darwin* | aarch64-
*-darwin*)
8793 if test x
$host_shared != xyes
; then
8794 # PIC is the default, and actually cannot be switched off.
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIC code is required for the configured host; host-shared setting ignored." >&5
8796 $as_echo "$as_me: WARNING: PIC code is required for the configured host; host-shared setting ignored." >&2;}
8800 if test x
$host_pie = xyes
-a x
$host_shared != xyes
; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PIC code is required for PIE host executables host-shared setting ignored." >&5
8802 $as_echo "$as_me: WARNING: PIC code is required for PIE host executables host-shared setting ignored." >&2;}
8809 # 64B x86_64 and Aarch64 Darwin default to PIC.
8810 x86_64-
*-darwin* | aarch64-
*-darwin*) host_shared
=yes ;;
8811 # 32B and powerpc64 Darwin must use PIC to link PIE exes.
8812 *-*-darwin*) host_shared
=$host_pie ;;
8820 if test x
$host_shared = xyes
; then
8823 # Since host shared is the default for 64b Darwin, and also enabled for
8824 # host_pie, ensure that we present the PIE flag when host_pie is active.
8825 if test x
$host_pie = xyes
; then
8833 elif test x
$host_pie = xyes
; then
8841 # If we are building PIC/PIE host executables, and we are building dependent
8842 # libs (e.g. GMP) in-tree those libs need to be configured to generate PIC
8845 if test "$host_shared" = "yes" -o "$host_pie" = "yes"; then
8846 host_libs_picflag
='--with-pic'
8850 # By default, C and C++ are the only stage 1 languages.
8851 stage1_languages
=,c
,
8853 # Target libraries that we bootstrap.
8854 bootstrap_target_libs
=,target-libgcc
,
8856 # Figure out what language subdirectories are present.
8857 # Look if the user specified --enable-languages="..."; if not, use
8858 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8860 # NB: embedded tabs in this IF block -- do not untabify
8861 if test -d ${srcdir}/gcc
; then
8862 if test x
"${enable_languages+set}" != xset
; then
8863 if test x
"${LANGUAGES+set}" = xset
; then
8864 enable_languages
="${LANGUAGES}"
8865 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8867 enable_languages
=default
8870 if test x
"${enable_languages}" = x ||
8871 test x
"${enable_languages}" = xyes
;
8873 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8877 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8879 # 'f95' is the old name for the 'fortran' language. We issue a warning
8880 # and make the substitution.
8881 case ,${enable_languages}, in
8883 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8884 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8888 # If bootstrapping, C++ must be enabled.
8889 case ",$enable_languages,:$enable_bootstrap" in
8892 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8893 enable_languages
="${enable_languages},c++"
8895 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8900 # First scan to see if an enabled language requires some other language.
8901 # We assume that a given config-lang.in will list all the language
8902 # front ends it requires, even if some are required indirectly.
8903 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8904 case ${lang_frag} in
8906 # The odd quoting in the next line works around
8907 # an apparent bug in bash 1.12 on linux.
8908 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8910 # From the config-lang.in, get $language, $lang_requires, and
8911 # $lang_requires_boot_languages.
8914 lang_requires_boot_languages
=
8915 # set srcdir during sourcing lang_frag to the gcc dir.
8916 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8917 # polutes this shell
8918 saved_srcdir
=${srcdir}
8919 srcdir
=${srcdir}/gcc .
${lang_frag}
8920 srcdir
=${saved_srcdir}
8921 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8922 case ,${enable_languages}, in
8927 echo " \`$other' language required by \`$language'; enabling" 1>&2
8928 enable_languages
="${enable_languages},${other}"
8932 for other
in ${lang_requires_boot_languages} ; do
8933 if test "$other" != "c"; then
8934 case ,${enable_stage1_languages}, in
8939 case ,${enable_languages}, in
8941 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8942 enable_stage1_languages
="$enable_stage1_languages,${other}"
8953 new_enable_languages
=,c
,
8955 # If LTO is enabled, add the LTO front end.
8956 if test "$enable_lto" = "yes" ; then
8957 case ,${enable_languages}, in
8959 *) enable_languages
="${enable_languages},lto" ;;
8961 if test "${build_lto_plugin}" = "yes" ; then
8962 configdirs
="$configdirs lto-plugin"
8966 # If we're building an offloading compiler, add the LTO front end.
8967 if test x
"$enable_as_accelerator_for" != x
; then
8968 case ,${enable_languages}, in
8970 *) enable_languages
="${enable_languages},lto" ;;
8974 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8975 potential_languages
=,c
,
8977 enabled_target_libs
=
8978 disabled_target_libs
=
8980 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8981 case ${lang_frag} in
8983 # The odd quoting in the next line works around
8984 # an apparent bug in bash 1.12 on linux.
8985 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8987 # From the config-lang.in, get $language, $target_libs,
8988 # $lang_dirs, $boot_language, and $build_by_default
8994 build_by_default
=yes
8995 # set srcdir during sourcing. See above about save & restore
8996 saved_srcdir
=${srcdir}
8997 srcdir
=${srcdir}/gcc .
${lang_frag}
8998 srcdir
=${saved_srcdir}
8999 if test x
${language} = x
; then
9000 echo "${lang_frag} doesn't set \$language." 1>&2
9004 if test "$language" = "c++"; then
9009 # C is always enabled, so no need to add it again
9010 if test "$language" != "c"; then
9011 case ,${enable_languages}, in
9013 # Language was explicitly selected; include it
9017 # All languages are enabled
9021 # 'default' was selected, select it if it is a default language
9022 add_this_lang
=${build_by_default}
9027 # Disable languages that need other directories if these aren't available.
9028 for i
in $subdir_requires; do
9029 test -f "$srcdir/gcc/$i/config-lang.in" && continue
9030 case ${add_this_lang} in
9032 # Specifically requested language; tell them.
9033 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
9037 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
9038 add_this_lang
=unsupported
9042 add_this_lang
=unsupported
9047 # Disable Ada if no preexisting GNAT is available.
9048 case ${add_this_lang}:${language}:${have_gnat} in
9050 # Specifically requested language; tell them.
9051 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
9055 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
9056 add_this_lang
=unsupported
9060 add_this_lang
=unsupported
9064 # Disable D if no preexisting GDC is available.
9065 case ${add_this_lang}:${language}:${have_gdc} in
9067 # Specifically requested language; tell them.
9068 as_fn_error $?
"GDC is required to build $language" "$LINENO" 5
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GDC is required to build $language" >&5
9072 $as_echo "$as_me: WARNING: GDC is required to build $language" >&2;}
9073 add_this_lang
=unsupported
9077 add_this_lang
=unsupported
9081 # Disable jit if -enable-host-shared not specified
9082 # but not if building for Mingw. All code in Windows
9083 # is position independent code (PIC).
9087 case ${add_this_lang}:${language}:${host_shared} in
9089 # PR jit/64780: explicitly specify --enable-host-shared
9091 Enabling language \"jit\" requires --enable-host-shared.
9093 --enable-host-shared typically slows the rest of the compiler down by
9094 a few %, so you must explicitly enable it.
9096 If you want to build both the jit and the regular compiler, it is often
9097 best to do this via two separate configure/builds, in separate
9098 directories, to avoid imposing the performance cost of
9099 --enable-host-shared on the regular compiler." "$LINENO" 5
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
9103 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
9104 add_this_lang
=unsupported
9108 add_this_lang
=unsupported
9114 # Disable a language that is unsupported by the target.
9115 case "${add_this_lang}: $unsupported_languages " in
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
9120 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
9121 add_this_lang
=unsupported
9125 case $add_this_lang in
9127 # Remove language-dependent dirs.
9128 disabled_target_libs
="$disabled_target_libs $target_libs"
9129 noconfigdirs
="$noconfigdirs $lang_dirs"
9132 # Remove language-dependent dirs; still show language as supported.
9133 disabled_target_libs
="$disabled_target_libs $target_libs"
9134 noconfigdirs
="$noconfigdirs $lang_dirs"
9135 potential_languages
="${potential_languages}${language},"
9138 new_enable_languages
="${new_enable_languages}${language},"
9139 potential_languages
="${potential_languages}${language},"
9140 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
9141 enabled_target_libs
="$enabled_target_libs $target_libs"
9142 case "${boot_language}:,$enable_stage1_languages," in
9143 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
9144 # Add to (comma-separated) list of stage 1 languages.
9145 case ",$stage1_languages," in
9146 *,$language,* |
,yes, |
,all
,) ;;
9147 *) stage1_languages
="${stage1_languages}${language}," ;;
9149 # We need to bootstrap any supporting libraries.
9150 bootstrap_target_libs
=`echo "${bootstrap_target_libs}${target_libs}," | sed "s/ /,/g"`
9159 # Add target libraries which are only needed for disabled languages
9161 if test -n "$disabled_target_libs"; then
9162 for dir
in $disabled_target_libs; do
9163 case " $enabled_target_libs " in
9165 *) noconfigdirs
="$noconfigdirs $dir" ;;
9170 # Check whether --enable-stage1-languages was given.
9171 if test "${enable_stage1_languages+set}" = set; then :
9172 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
9174 # Set it to something that will have no effect in the loop below
9175 enable_stage1_languages
=c
;;
9177 enable_stage1_languages
=`echo $new_enable_languages | \
9178 sed -e "s/^,//" -e "s/,$//" ` ;;
9180 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
9181 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
9184 # Add "good" languages from enable_stage1_languages to stage1_languages,
9185 # while "bad" languages go in missing_languages. Leave no duplicates.
9186 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
9187 case $potential_languages in
9189 case $stage1_languages in
9191 *) stage1_languages
="$stage1_languages$i," ;;
9194 case $missing_languages in
9196 *) missing_languages
="$missing_languages$i," ;;
9203 # Remove leading/trailing commas that were added for simplicity
9204 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
9205 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
9206 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
9207 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
9209 if test "x$missing_languages" != x
; then
9211 The following requested languages could not be built: ${missing_languages}
9212 Supported languages are: ${potential_languages}" "$LINENO" 5
9214 if test "x$new_enable_languages" != "x$enable_languages"; then
9215 echo The following languages will be built
: ${new_enable_languages}
9216 enable_languages
="$new_enable_languages"
9220 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
9223 # Handle --disable-<component> generically.
9224 for dir
in $configdirs $build_configdirs $target_configdirs ; do
9225 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
9226 varname
=`echo $dirname | sed -e s/+/_/g`
9227 if eval test x\
${enable_${varname}} "=" xno
; then
9228 noconfigdirs
="$noconfigdirs $dir"
9232 # Check for Boehm's garbage collector
9233 # Check whether --enable-objc-gc was given.
9234 if test "${enable_objc_gc+set}" = set; then :
9235 enableval
=$enable_objc_gc;
9239 # Check whether --with-target-bdw-gc was given.
9240 if test "${with_target_bdw_gc+set}" = set; then :
9241 withval
=$with_target_bdw_gc;
9245 # Check whether --with-target-bdw-gc-include was given.
9246 if test "${with_target_bdw_gc_include+set}" = set; then :
9247 withval
=$with_target_bdw_gc_include;
9251 # Check whether --with-target-bdw-gc-lib was given.
9252 if test "${with_target_bdw_gc_lib+set}" = set; then :
9253 withval
=$with_target_bdw_gc_lib;
9257 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
9259 $as_echo_n "checking for bdw garbage collector... " >&6; }
9260 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
9262 $as_echo "using bdw-gc in default locations" >&6; }
9264 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
9265 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
9266 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
9267 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
9270 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
9275 # Disable libitm, libsanitizer, libvtv if we're not building C++
9276 case ,${enable_languages}, in
9278 # Disable libitm, libsanitizer if we're not building libstdc++
9279 case "${noconfigdirs}" in
9280 *target-libstdc
++-v3*)
9281 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
9287 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer target-libvtv"
9291 case ,${enable_languages}, in
9293 case " ${noconfigdirs} " in
9294 *\ target-libstdc
++-v3\
*)
9295 # Disable target libgrust if we're not building target libstdc++.
9296 noconfigdirs
="$noconfigdirs target-libgrust"
9302 # If gcc/ is not in the source tree then we'll not be building a
9303 # target compiler, assume in that case we don't want to build any
9304 # target libraries or tools.
9306 # This was added primarily for the benefit for binutils-gdb who reuse
9307 # this configure script, but don't always have target tools available.
9308 if test ! -d ${srcdir}/gcc
; then
9309 skipdirs
="${skipdirs} ${target_configdirs}"
9312 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
9313 # $build_configdirs and $target_configdirs.
9314 # If we have the source for $noconfigdirs entries, add them to $notsupp.
9317 for dir
in .
$skipdirs $noconfigdirs ; do
9318 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
9319 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9320 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
9321 if test -r $srcdir/$dirname/configure
; then
9322 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9325 notsupp
="$notsupp $dir"
9329 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9330 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
9331 if test -r $srcdir/$dirname/configure
; then
9332 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9335 notsupp
="$notsupp $dir"
9339 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9340 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
9341 if test -r $srcdir/$dirname/configure
; then
9342 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9345 notsupp
="$notsupp $dir"
9351 # Quietly strip out all directories which aren't configurable in this tree.
9352 # This relies on all configurable subdirectories being autoconfiscated, which
9354 build_configdirs_all
="$build_configdirs"
9356 for i
in ${build_configdirs_all} ; do
9357 j
=`echo $i | sed -e s/build-//g`
9358 if test -f ${srcdir}/$j/configure
; then
9359 build_configdirs
="${build_configdirs} $i"
9363 configdirs_all
="$configdirs"
9365 for i
in ${configdirs_all} ; do
9366 if test -f ${srcdir}/$i/configure
; then
9367 configdirs
="${configdirs} $i"
9371 target_configdirs_all
="$target_configdirs"
9373 for i
in ${target_configdirs_all} ; do
9374 j
=`echo $i | sed -e s/target-//g`
9375 if test -f ${srcdir}/$j/configure
; then
9376 target_configdirs
="${target_configdirs} $i"
9380 # libiberty-linker-plugin is special: it doesn't have its own source directory,
9381 # so we have to add it after the preceding checks.
9382 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
9384 case " $configdirs " in
9386 # If we can build libiberty, we can also build libiberty-linker-plugin.
9387 configdirs
="$configdirs libiberty-linker-plugin"
9388 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
9389 --with-libiberty=../libiberty-linker-plugin";;
9391 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
9395 # Sometimes we have special requirements for the host libiberty.
9396 extra_host_libiberty_configure_flags
=
9397 case " $configdirs " in
9398 *" lto-plugin "* |
*" libcc1 "* |
*" gdbserver "*)
9399 # When these are to be built as shared libraries, the same applies to
9401 extra_host_libiberty_configure_flags
=--enable-shared
9406 # Sometimes we have special requirements for the host zlib.
9407 extra_host_zlib_configure_flags
=
9408 case " $configdirs " in
9410 # When bfd is to be built as a shared library, the same applies to
9412 if test "$enable_shared" = "yes"; then
9413 extra_host_zlib_configure_flags
=--enable-host-shared
9419 # Produce a warning message for the subdirs we can't configure.
9420 # This isn't especially interesting in the Cygnus tree, but in the individual
9421 # FSF releases, it's important to let people know when their machine isn't
9422 # supported by the one or two programs in a package.
9424 if test -n "${notsupp}" && test -z "${norecursion}" ; then
9425 # If $appdirs is non-empty, at least one of those directories must still
9426 # be configured, or we error out. (E.g., if the gas release supports a
9427 # specified target in some subdirs but not the gas subdir, we shouldn't
9428 # pretend that all is well.)
9429 if test -n "$appdirs" ; then
9430 for dir
in $appdirs ; do
9431 if test -r $dir/Makefile.
in ; then
9432 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9436 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
9442 if test -n "$appdirs" ; then
9443 echo "*** This configuration is not supported by this package." 1>&2
9447 # Okay, some application will build, or we don't care to check. Still
9448 # notify of subdirs not getting built.
9449 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
9450 echo " ${notsupp}" 1>&2
9451 echo " (Any other directories should still work fine.)" 1>&2
9459 # To find our prefix, in gcc_cv_tool_prefix.
9461 # The user is always right.
9462 if test "${PATH_SEPARATOR+set}" != set; then
9463 echo "#! /bin/sh" >conf$$.sh
9464 echo "exit 0" >>conf$$.sh
9466 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9475 get_gcc_base_ver
="cat"
9477 # Check whether --with-gcc-major-version-only was given.
9478 if test "${with_gcc_major_version_only+set}" = set; then :
9479 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
9480 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
9490 if test "x$exec_prefix" = xNONE
; then
9491 if test "x$prefix" = xNONE
; then
9492 gcc_cv_tool_prefix
=$ac_default_prefix
9494 gcc_cv_tool_prefix
=$prefix
9497 gcc_cv_tool_prefix
=$exec_prefix
9500 # If there is no compiler in the tree, use the PATH only. In any
9501 # case, if there is no compiler in the tree nobody should use
9502 # AS_FOR_TARGET and LD_FOR_TARGET.
9503 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
9504 if test x
$with_gcc_major_version_only = xyes
; then
9505 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
9507 gcc_version
=`cat $srcdir/gcc/BASE-VER`
9509 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9510 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
9511 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9512 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
9513 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9514 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
9519 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
9520 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
9528 # Check whether --with-build-sysroot was given.
9529 if test "${with_build_sysroot+set}" = set; then :
9530 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
9531 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
9534 SYSROOT_CFLAGS_FOR_TARGET
=
9540 # Check whether --with-debug-prefix-map was given.
9541 if test "${with_debug_prefix_map+set}" = set; then :
9542 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
9543 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9544 for debug_map
in $withval; do
9545 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
9549 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9554 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
9555 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
9556 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
9557 # We want to ensure that TARGET libraries (which we know are built with
9558 # gcc) are built with "-O2 -g", so include those options when setting
9559 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
9560 if test "x$CFLAGS_FOR_TARGET" = x
; then
9561 if test "x${is_cross_compiler}" = xyes
; then
9562 CFLAGS_FOR_TARGET
="-g -O2"
9564 CFLAGS_FOR_TARGET
=$CFLAGS
9567 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
9570 *" -g "* |
*" -g3 "*) ;;
9571 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
9577 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
9578 if test "x${is_cross_compiler}" = xyes
; then
9579 CXXFLAGS_FOR_TARGET
="-g -O2"
9581 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
9582 case " $CXXFLAGS " in
9584 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
9586 case " $CXXFLAGS " in
9587 *" -g "* |
*" -g3 "*) ;;
9588 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
9596 # Handle --with-headers=XXX. If the value is not "yes", the contents of
9597 # the named directory are copied to $(tooldir)/sys-include.
9598 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
9599 if test x
${is_cross_compiler} = xno
; then
9600 echo 1>&2 '***' --with-headers is only supported when cross compiling
9603 if test x
"${with_headers}" != xyes
; then
9604 x
=${gcc_cv_tool_prefix}
9605 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9609 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9610 # the name directories are copied to $(tooldir)/lib. Multiple directories
9612 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9613 if test x
${is_cross_compiler} = xno
; then
9614 echo 1>&2 '***' --with-libs is only supported when cross compiling
9617 if test x
"${with_libs}" != xyes
; then
9618 # Copy the libraries in reverse order, so that files in the first named
9619 # library override files in subsequent libraries.
9620 x
=${gcc_cv_tool_prefix}
9621 for l
in ${with_libs}; do
9622 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9627 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9629 # This is done by determining whether or not the appropriate directory
9630 # is available, and by checking whether or not specific configurations
9631 # have requested that this magic not happen.
9633 # The command line options always override the explicit settings in
9634 # configure.ac, and the settings in configure.ac override this magic.
9636 # If the default for a toolchain is to use GNU as and ld, and you don't
9637 # want to do that, then you should use the --without-gnu-as and
9638 # --without-gnu-ld options for the configure script. Similarly, if
9639 # the default is to use the included zlib and you don't want to do that,
9640 # you should use the --with-system-zlib option for the configure script.
9642 if test x
${use_gnu_as} = x
&&
9643 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9645 extra_host_args
="$extra_host_args --with-gnu-as"
9648 if test x
${use_gnu_ld} = x
&&
9649 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9651 extra_host_args
="$extra_host_args --with-gnu-ld"
9654 if test x
${use_included_zlib} = x
&&
9655 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9658 with_system_zlib
=yes
9659 extra_host_args
="$extra_host_args --with-system-zlib"
9662 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9663 # can detect this case.
9665 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9667 extra_host_args
="$extra_host_args --with-newlib"
9670 # Handle ${copy_dirs}
9671 set fnord
${copy_dirs}
9673 while test $# != 0 ; do
9674 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9677 echo Copying
$1 to
$2
9679 # Use the install script to create the directory and all required
9680 # parent directories.
9681 if test -d $2 ; then
9685 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9688 # Copy the directory, assuming we have tar.
9689 # FIXME: Should we use B in the second tar? Not all systems support it.
9690 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9692 # It is the responsibility of the user to correctly adjust all
9693 # symlinks. If somebody can figure out how to handle them correctly
9694 # here, feel free to add the code.
9701 # Determine a target-dependent exec_prefix that the installed
9702 # gcc will search in. Keep this list sorted by triplet, with
9703 # the *-*-osname triplets last.
9706 i
[34567]86-pc-msdosdjgpp*)
9707 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9712 md_exec_prefix
=/usr
/ccs
/bin
9716 extra_arflags_for_target
=
9717 extra_nmflags_for_target
=
9718 extra_ranlibflags_for_target
=
9719 target_makefile_frag
=/dev
/null
9722 target_makefile_frag
="config/mt-spu"
9724 loongarch
*-*linux
* | loongarch
*-*gnu
*)
9725 target_makefile_frag
="config/mt-loongarch-gnu"
9728 target_makefile_frag
="config/mt-loongarch-elf"
9730 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9731 target_makefile_frag
="config/mt-sde"
9733 mipsisa
*-*-elfoabi*)
9734 target_makefile_frag
="config/mt-mips-elfoabi"
9736 mips
*-*-*linux
* | mips
*-*-gnu*)
9737 target_makefile_frag
="config/mt-mips-gnu"
9740 target_makefile_frag
="config/mt-nios2-elf"
9743 target_makefile_frag
="config/mt-android"
9745 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9746 target_makefile_frag
="config/mt-gnu"
9748 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9749 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9750 # commands to handle both 32-bit and 64-bit objects. These flags are
9751 # harmless if we're using GNU nm or ar.
9752 extra_arflags_for_target
=" -X32_64"
9753 extra_nmflags_for_target
=" -B -X32_64"
9757 alphaieee_frag
=/dev
/null
9760 # This just makes sure to use the -mieee option to build target libs.
9761 # This should probably be set individually by each library.
9762 alphaieee_frag
="config/mt-alphaieee"
9766 # If --enable-target-optspace always use -Os instead of -O2 to build
9767 # the target libraries, similarly if it is not specified, use -Os
9768 # on selected platforms.
9769 ospace_frag
=/dev
/null
9770 case "${enable_target_optspace}:${target}" in
9772 ospace_frag
="config/mt-ospace"
9775 ospace_frag
="config/mt-d30v"
9777 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9778 ospace_frag
="config/mt-ospace"
9783 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9787 # Some systems (e.g., one of the i386-aix systems the gas testers are
9788 # using) don't handle "\$" correctly, so don't use it here.
9789 tooldir
='${exec_prefix}'/${target_noncanonical}
9790 build_tooldir
=${tooldir}
9792 # Create a .gdbinit file which runs the one in srcdir
9793 # and tells GDB to look there for source files.
9795 if test -r ${srcdir}/.gdbinit
; then
9798 *) cat > .
/.gdbinit
<<EOF
9802 source ${srcdir}/.gdbinit
9808 # Make sure that the compiler is able to generate an executable. If it
9809 # can't, we are probably in trouble. We don't care whether we can run the
9810 # executable--we might be using a cross compiler--we only care whether it
9811 # can be created. At this point the main configure script has set CC.
9813 echo "int main () { return 0; }" > conftest.c
9814 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9815 if test $?
= 0 ; then
9816 if test -s conftest ||
test -s conftest.exe
; then
9822 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9823 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9830 # Decide which environment variable is used to find dynamic libraries.
9832 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9833 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9834 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9835 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9838 # On systems where the dynamic library environment variable is PATH,
9839 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9840 # built executables to PATH.
9841 if test "$RPATH_ENVVAR" = PATH
; then
9842 GCC_SHLIB_SUBDIR
=/shlib
9847 # Adjust the toplevel makefile according to whether bootstrap was selected.
9848 case $enable_bootstrap in
9850 bootstrap_suffix
=bootstrap
9851 BUILD_CONFIG
=bootstrap-debug
9854 bootstrap_suffix
=no-bootstrap
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9860 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9863 # Check whether --with-build-config was given.
9864 if test "${with_build_config+set}" = set; then :
9865 withval
=$with_build_config; case $with_build_config in
9866 yes) with_build_config
= ;;
9867 no
) with_build_config
= BUILD_CONFIG
= ;;
9872 if test "x${with_build_config}" != x
; then
9873 BUILD_CONFIG
=$with_build_config
9875 case $BUILD_CONFIG in
9877 if echo "int f (void) { return 0; }" > conftest.c
&&
9878 ${CC} -c conftest.c
&&
9879 mv conftest.o conftest.o.g0
&&
9880 ${CC} -c -g conftest.c
&&
9881 mv conftest.o conftest.o.g
&&
9882 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9887 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9892 $as_echo "$BUILD_CONFIG" >&6; }
9895 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9897 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9898 # Check whether --enable-vtable-verify was given.
9899 if test "${enable_vtable_verify+set}" = set; then :
9900 enableval
=$enable_vtable_verify; case "$enableval" in
9901 yes) enable_vtable_verify
=yes ;;
9902 no
) enable_vtable_verify
=no
;;
9903 *) enable_vtable_verify
=no
;;
9906 enable_vtable_verify
=no
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9910 $as_echo "$enable_vtable_verify" >&6; }
9912 # Record target_configdirs and the configure arguments for target and
9913 # build configuration in Makefile.
9914 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9915 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9916 bootstrap_fixincludes
=no
9918 # If we are building libgomp, bootstrap it.
9919 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9920 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9923 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9924 # or bootstrap-ubsan, bootstrap it.
9925 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9926 case "$BUILD_CONFIG" in
9927 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9928 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9929 bootstrap_fixincludes
=yes
9934 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9935 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9936 test "$enable_vtable_verify" != no
; then
9937 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9940 # If we are building libatomic and the list of enabled languages includes the
9941 # D frontend, bootstrap it.
9942 if echo " ${target_configdirs} " |
grep " libatomic " > /dev
/null
2>&1; then
9943 case ,${enable_languages}, in
9945 bootstrap_target_libs
=${bootstrap_target_libs}target-libatomic
,
9950 # Determine whether gdb needs tk/tcl or not.
9951 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9952 # and in that case we want gdb to be built without tk. Ugh!
9953 # In fact I believe gdb is the *only* package directly dependent on tk,
9954 # so we should be able to put the 'maybe's in unconditionally and
9955 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9956 # 100% sure that that's safe though.
9958 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9959 case "$enable_gdbtk" in
9963 GDB_TK
="${gdb_tk}" ;;
9965 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9966 # distro. Eventually someone will fix this and move Insight, nee
9967 # gdbtk to a separate directory.
9968 if test -d ${srcdir}/gdb
/gdbtk
; then
9975 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9976 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9978 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9979 # else does, only include them if one of these is built. The Makefile
9980 # provides the ordering, so it's enough here to add to the list.
9981 case " ${configdirs} " in
9983 configdirs
="${configdirs} gnulib gdbsupport"
9986 configdirs
="${configdirs} gnulib gdbsupport"
9989 configdirs
="${configdirs} gnulib"
9993 # Strip out unwanted targets.
9995 # While at that, we remove Makefiles if we were started for recursive
9996 # configuration, so that the top-level Makefile reconfigures them,
9997 # like we used to do when configure itself was recursive.
9999 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
10000 # but now we're fixing up the Makefile ourselves with the additional
10001 # commands passed to AC_CONFIG_FILES. Use separate variables
10002 # extrasub-{build,host,target} not because there is any reason to split
10003 # the substitutions up that way, but only to remain below the limit of
10004 # 99 commands in a script, for HP-UX sed.
10006 # Do not nest @if/@endif or @unless/@endunless pairs, because
10007 # configure will not warn you at all.
10009 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
10010 yes:yes:*\ gold\
*:*,c
++,*) ;;
10011 yes:yes:*\ gold\
*:*)
10012 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
10017 for module
in ${build_configdirs} ; do
10018 if test -z "${no_recursion}" \
10019 && test -f ${build_subdir}/${module}/Makefile
; then
10020 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
10021 rm -f ${build_subdir}/${module}/Makefile
10023 extrasub_build
="$extrasub_build
10024 /^@if build-$module\$/d
10025 /^@endif build-$module\$/d
10026 /^@unless build-$module\$/,/^@endunless build-$module\$/d
10027 /^@if build-$module-$bootstrap_suffix\$/d
10028 /^@endif build-$module-$bootstrap_suffix\$/d
10029 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
10032 for module
in ${configdirs} ; do
10033 if test -z "${no_recursion}"; then
10034 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
10035 if test -f ${file}; then
10036 echo 1>&2 "*** removing ${file} to force reconfigure"
10041 case ${module},${bootstrap_fixincludes} in
10042 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
10043 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
10045 extrasub_host
="$extrasub_host
10047 /^@endif $module\$/d
10048 /^@unless $module\$/,/^@endunless $module\$/d
10049 /^@if $module-$host_bootstrap_suffix\$/d
10050 /^@endif $module-$host_bootstrap_suffix\$/d
10051 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
10054 for module
in ${target_configdirs} ; do
10055 if test -z "${no_recursion}" \
10056 && test -f ${target_subdir}/${module}/Makefile
; then
10057 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
10058 rm -f ${target_subdir}/${module}/Makefile
10061 # We only bootstrap target libraries listed in bootstrap_target_libs.
10062 case $bootstrap_target_libs in
10063 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
10064 *) target_bootstrap_suffix
=no-bootstrap
;;
10067 extrasub_target
="$extrasub_target
10068 /^@if target-$module\$/d
10069 /^@endif target-$module\$/d
10070 /^@unless target-$module\$/,/^@endunless target-$module\$/d
10071 /^@if target-$module-$target_bootstrap_suffix\$/d
10072 /^@endif target-$module-$target_bootstrap_suffix\$/d
10073 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
10076 # Do the final fixup along with target modules.
10077 extrasub_target
="$extrasub_target
10078 /^@if /,/^@endif /d
10082 if test "$enable_pgo_build" != "no"; then
10083 extrasub_build
="$extrasub_build
10084 /^@if pgo-build\$/d
10085 /^@endif pgo-build\$/d"
10088 # Create the serialization dependencies. This uses a temporary file.
10090 # Check whether --enable-serial-configure was given.
10091 if test "${enable_serial_configure+set}" = set; then :
10092 enableval
=$enable_serial_configure;
10096 case ${enable_serial_configure} in
10098 enable_serial_build_configure
=yes
10099 enable_serial_host_configure
=yes
10100 enable_serial_target_configure
=yes
10104 # These force 'configure's to be done one at a time, to avoid problems
10105 # with contention over a shared config.cache.
10107 if test "x${enable_serial_build_configure}" = xyes || test "x${enable_serial_host_configure}" = xyes || test "x${enable_serial_target_configure}" = xyes
; then
10108 echo '# serdep.tmp' > serdep.tmp
10111 test "x${enable_serial_build_configure}" = xyes
&&
10112 for item
in ${build_configdirs} ; do
10115 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
10120 test "x${enable_serial_host_configure}" = xyes
&&
10121 for item
in ${configdirs} ; do
10124 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
10129 test "x${enable_serial_target_configure}" = xyes
&&
10130 for item
in ${target_configdirs} ; do
10133 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
10137 serialization_dependencies
=serdep.tmp
10140 # Base args. Strip norecursion, cache-file, srcdir, host, build,
10141 # target, nonopt, and variable assignments. These are the ones we
10142 # might not want to pass down to subconfigures. The exception being
10143 # --cache-file=/dev/null, which is used to turn off the use of cache
10144 # files altogether, and which should be passed on to subconfigures.
10145 # Also strip program-prefix, program-suffix, and program-transform-name,
10146 # so that we can pass down a consistent program-transform-name.
10152 eval "set -- $ac_configure_args"
10155 if test X
"$skip_next" = X
"yes"; then
10159 if test X
"$keep_next" = X
"yes"; then
10162 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10164 hbaseargs
="$hbaseargs '$ac_arg'"
10165 bbaseargs
="$bbaseargs '$ac_arg'"
10166 tbaseargs
="$tbaseargs '$ac_arg'"
10171 # Handle separated arguments. Based on the logic generated by
10174 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
10175 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
10176 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
10177 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
10192 --with-* |
--without-*)
10193 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
10197 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
10200 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
10203 lib
=`echo "$libopt" | sed 's,[-_]prefix$,,'`
10206 lib
=`echo "$libopt" | sed 's,[-_]type$,,'`
10215 mpc | mpfr | gmp | isl
)
10216 # If we're processing --with-$lib, --with-$lib-include or
10217 # --with-$lib-lib, for one of the libs above, and target is
10218 # different from host, don't pass the current argument to any
10219 # target library's configure.
10220 if test x
$is_cross_compiler = xyes
; then
10224 libintl | libiconv
)
10225 # We don't want libintl (and co.) in anything but the host arguments.
10234 --cache-file=/dev
/null | \
10235 -cache-file=/dev
/null
)
10236 # Handled here to avoid the test to skip args below.
10237 hbaseargs
="$hbaseargs '$ac_arg'"
10238 bbaseargs
="$bbaseargs '$ac_arg'"
10239 tbaseargs
="$tbaseargs '$ac_arg'"
10240 # Assert: $separate_arg should always be no.
10241 keep_next
=$separate_arg
10257 -program-prefix* | \
10258 -program-suffix* | \
10259 -program-transform-name* )
10260 skip_next
=$separate_arg
10264 # An option. Add it.
10267 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10269 hbaseargs
="$hbaseargs '$ac_arg'"
10270 if test X
"$skip_barg" = Xno
; then
10271 bbaseargs
="$bbaseargs '$ac_arg'"
10273 if test X
"$skip_targ" = Xno
; then
10274 tbaseargs
="$tbaseargs '$ac_arg'"
10276 keep_next
=$separate_arg
10279 # Either a variable assignment, or a nonopt (triplet). Don't
10280 # pass it down; let the Makefile handle this.
10285 # Remove the initial space we just introduced and, as these will be
10286 # expanded by make, quote '$'.
10287 hbaseargs
=`echo "x$hbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
10288 bbaseargs
=`echo "x$bbaseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
10290 # Add in --program-transform-name, after --program-prefix and
10291 # --program-suffix have been applied to it. Autoconf has already
10292 # doubled dollar signs and backslashes in program_transform_name; we want
10293 # the backslashes un-doubled, and then the entire thing wrapped in single
10294 # quotes, because this will be expanded first by make and then by the shell.
10295 # Also, because we want to override the logic in subdir configure scripts to
10296 # choose program_transform_name, replace any s,x,x, with s,y,y,.
10297 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
10298 ${program_transform_name}
10300 gcc_transform_name
=`cat conftestsed.out`
10301 rm -f conftestsed.out
10302 hbaseargs
="$hbaseargs --program-transform-name='${gcc_transform_name}'"
10303 bbaseargs
="$bbaseargs --program-transform-name='${gcc_transform_name}'"
10304 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
10305 if test "$silent" = yes; then
10306 bbaseargs
="$bbaseargs --silent"
10307 hbaseargs
="$hbaseargs --silent"
10308 tbaseargs
="$tbaseargs --silent"
10311 bbaseargs
="$bbaseargs --disable-option-checking"
10312 hbaseargs
="$hbaseargs --disable-option-checking"
10313 tbaseargs
="$tbaseargs --disable-option-checking"
10315 if test "$enable_year2038" = no
; then
10316 bbaseargs
="$bbaseargs --disable-year2038"
10317 hbaseargs
="$hbaseargs --disable-year2038"
10318 tbaseargs
="$tbaseargs --disable-year2038"
10321 # Record and document user additions to sub configure arguments.
10326 # For the build-side libraries, we just need to pretend we're native,
10327 # and not use the same cache file. Multilibs are neither needed nor
10328 # desired. We can't even use the same cache file for all build-side
10329 # libraries, as they're compiled differently; some with C, some with
10330 # C++ or with different feature-enabling options.
10331 build_configargs
="$build_configargs --cache-file=./config.cache ${bbaseargs}"
10333 # For host modules, accept cache file option, or specification as blank.
10334 case "${cache_file}" in
10336 cache_file_option
="" ;;
10337 /* |
[A-Za-z
]:[\\/]* ) # absolute path
10338 cache_file_option
="--cache-file=${cache_file}" ;;
10340 cache_file_option
="--cache-file=../${cache_file}" ;;
10343 # Host dirs don't like to share a cache file either, horribly enough.
10344 # This seems to be due to autoconf 2.5x stupidity.
10345 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${hbaseargs}"
10347 target_configargs
="$target_configargs ${tbaseargs}"
10349 # Passing a --with-cross-host argument lets the target libraries know
10350 # whether they are being built with a cross-compiler or being built
10351 # native. However, it would be better to use other mechanisms to make the
10352 # sorts of decisions they want to make on this basis. Please consider
10353 # this option to be deprecated. FIXME.
10354 if test x
${is_cross_compiler} = xyes
; then
10355 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
10358 # Special user-friendly check for native x86_64-linux build, if
10359 # multilib is not explicitly enabled.
10360 case "$target:$have_compiler:$host:$target:$enable_multilib" in
10361 x86_64-
*linux
*:yes:$build:$build:)
10362 # Make sure we have a development environment that handles 32-bit
10364 echo "int main () { return 0; }" > conftest.c
10365 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
10366 if test $?
= 0 ; then
10367 if test -s conftest ||
test -s conftest.exe
; then
10372 if test x
${dev64} != xyes
; then
10373 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
10378 # Default to --enable-multilib.
10379 if test x
${enable_multilib} = x
; then
10380 target_configargs
="--enable-multilib ${target_configargs}"
10383 # Pass --with-newlib if appropriate. Note that target_configdirs has
10384 # changed from the earlier setting of with_newlib.
10385 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
10386 target_configargs
="--with-newlib ${target_configargs}"
10389 # Different target subdirs use different values of certain variables
10390 # (notably CXX). Worse, multilibs use *lots* of different values.
10391 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
10392 # it doesn't automatically accept command-line overrides of them.
10393 # This means it's not safe for target subdirs to share a cache file,
10394 # which is disgusting, but there you have it. Hopefully this can be
10395 # fixed in future. It's still worthwhile to use a cache file for each
10396 # directory. I think.
10398 # Pass the appropriate --build, --host, --target and --cache-file arguments.
10399 # We need to pass --target, as newer autoconf's requires consistency
10400 # for target_alias and gcc doesn't manage it consistently.
10401 target_configargs
="--cache-file=./config.cache ${target_configargs}"
10404 case " $target_configdirs " in
10406 case " $target_configargs " in
10407 *" --with-newlib "*)
10410 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
10414 # If we're not building GCC, don't discard standard headers.
10415 if test -d ${srcdir}/gcc
; then
10416 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
10418 if test "${build}" != "${host}"; then
10419 # On Canadian crosses, CC_FOR_TARGET will have already been set
10420 # by `configure', so we won't have an opportunity to add -Bgcc/
10421 # to it. This is right: we don't want to search that directory
10422 # for binaries, but we want the header files in there, so add
10424 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
10426 # Someone might think of using the pre-installed headers on
10427 # Canadian crosses, in case the installed compiler is not fully
10428 # compatible with the compiler being built. In this case, it
10429 # would be better to flag an error than risking having
10430 # incompatible object files being constructed. We can't
10431 # guarantee that an error will be flagged, but let's hope the
10432 # compiler will do it, when presented with incompatible header
10437 case "${target}-${is_cross_compiler}" in
10438 i
[3456789]86-*-linux*-no)
10439 # Here host == target, so we don't need to build gcc,
10440 # so we don't want to discard standard headers.
10441 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
10444 # If we're building newlib, use its generic headers last, but search
10445 # for any libc-related directories first (so make it the last -B
10447 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
10449 # If we're building libgloss, find the startup file, simulator library
10450 # and linker script.
10451 case " $target_configdirs " in
10453 # Look for startup file, simulator library and maybe linker script.
10454 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
10455 # Look for libnosys.a in case the target needs it.
10456 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
10457 # Most targets have the linker script in the source directory.
10458 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
10469 x86_64-
*mingw
* |
*-w64-mingw*)
10470 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
10471 # however, use a symlink named 'mingw' in ${prefix} .
10472 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
10475 # MinGW can't be handled as Cygwin above since it does not use newlib.
10476 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'
10480 # Allow the user to override the flags for
10481 # our build compiler if desired.
10482 if test x
"${build}" = x
"${host}" ; then
10483 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
10484 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
10485 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
10486 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
10489 # On Canadian crosses, we'll be searching the right directories for
10490 # the previously-installed cross compiler, so don't bother to add
10491 # flags for directories within the install tree of the compiler
10492 # being built; programs in there won't even run.
10493 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
10494 # Search for pre-installed headers if nothing else fits.
10495 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
10498 if test "x
${use_gnu_ld}" = x &&
10499 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
10500 # Arrange for us to find uninstalled linker scripts.
10501 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
10504 # Search for other target-specific linker scripts and such.
10505 case "${target}" in
10507 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
10509 # The VxWorks support for shared libraries is getting in
10510 # incrementally. Make sure it doesn't get activated implicitly:
10512 if test "${enable_shared-unset}" = unset ; then
10514 # So the build of libraries knows ...
10515 target_configargs="${target_configargs} --disable-shared"
10517 host_configargs="${host_configargs} --disable-shared"
10522 # Makefile fragments.
10523 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
10525 eval fragval=\$$frag
10526 if test $fragval != /dev/null; then
10527 eval $frag=${srcdir}/$fragval
10535 # Miscellanea: directories, flags, etc.
10544 # Build module lists & subconfigure args.
10548 # Host module lists & subconfigure args.
10553 # Target module lists & subconfigure args.
10578 # Generate default definitions for YACC, M4, LEX and other programs that run
10579 # on the build machine. These are used if the Makefile can't locate these
10580 # programs in objdir.
10581 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
10583 for ac_prog in 'bison -y' byacc yacc
10585 # Extract the first word of "$ac_prog", so it can be a program name with args.
10586 set dummy $ac_prog; ac_word=$2
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10588 $as_echo_n "checking
for $ac_word...
" >&6; }
10589 if ${ac_cv_prog_YACC+:} false; then :
10590 $as_echo_n "(cached
) " >&6
10592 if test -n "$YACC"; then
10593 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10596 for as_dir in $PATH
10599 test -z "$as_dir" && as_dir=.
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10602 ac_cv_prog_YACC="$ac_prog"
10603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10612 YACC=$ac_cv_prog_YACC
10613 if test -n "$YACC"; then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
10615 $as_echo "$YACC" >&6; }
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10618 $as_echo "no
" >&6; }
10622 test -n "$YACC" && break
10624 test -n "$YACC" || YACC="$MISSING bison
-y"
10626 case " $build_configdirs " in
10627 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
10630 for ac_prog in bison
10632 # Extract the first word of "$ac_prog", so it can be a program name with args.
10633 set dummy $ac_prog; ac_word=$2
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10635 $as_echo_n "checking
for $ac_word...
" >&6; }
10636 if ${ac_cv_prog_BISON+:} false; then :
10637 $as_echo_n "(cached
) " >&6
10639 if test -n "$BISON"; then
10640 ac_cv_prog_BISON="$BISON" # Let the user override the test.
10642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10643 for as_dir in $PATH
10646 test -z "$as_dir" && as_dir=.
10647 for ac_exec_ext in '' $ac_executable_extensions; do
10648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10649 ac_cv_prog_BISON="$ac_prog"
10650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10659 BISON=$ac_cv_prog_BISON
10660 if test -n "$BISON"; then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
10662 $as_echo "$BISON" >&6; }
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10665 $as_echo "no
" >&6; }
10669 test -n "$BISON" && break
10671 test -n "$BISON" || BISON="$MISSING bison
"
10673 case " $build_configdirs " in
10674 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10677 for ac_prog in gm4 gnum4 m4
10679 # Extract the first word of "$ac_prog", so it can be a program name with args.
10680 set dummy $ac_prog; ac_word=$2
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10682 $as_echo_n "checking
for $ac_word...
" >&6; }
10683 if ${ac_cv_prog_M4+:} false; then :
10684 $as_echo_n "(cached
) " >&6
10686 if test -n "$M4"; then
10687 ac_cv_prog_M4="$M4" # Let the user override the test.
10689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10690 for as_dir in $PATH
10693 test -z "$as_dir" && as_dir=.
10694 for ac_exec_ext in '' $ac_executable_extensions; do
10695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10696 ac_cv_prog_M4="$ac_prog"
10697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10707 if test -n "$M4"; then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10709 $as_echo "$M4" >&6; }
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10712 $as_echo "no
" >&6; }
10716 test -n "$M4" && break
10718 test -n "$M4" || M4="$MISSING m4"
10720 case " $build_configdirs " in
10721 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10724 for ac_prog in flex lex
10726 # Extract the first word of "$ac_prog", so it can be a program name with args.
10727 set dummy $ac_prog; ac_word=$2
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10729 $as_echo_n "checking
for $ac_word...
" >&6; }
10730 if ${ac_cv_prog_LEX+:} false; then :
10731 $as_echo_n "(cached
) " >&6
10733 if test -n "$LEX"; then
10734 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10737 for as_dir in $PATH
10740 test -z "$as_dir" && as_dir=.
10741 for ac_exec_ext in '' $ac_executable_extensions; do
10742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10743 ac_cv_prog_LEX="$ac_prog"
10744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10753 LEX=$ac_cv_prog_LEX
10754 if test -n "$LEX"; then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10756 $as_echo "$LEX" >&6; }
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10759 $as_echo "no
" >&6; }
10763 test -n "$LEX" && break
10765 test -n "$LEX" || LEX="$MISSING flex
"
10767 case " $build_configdirs " in
10768 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10769 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10772 for ac_prog in flex
10774 # Extract the first word of "$ac_prog", so it can be a program name with args.
10775 set dummy $ac_prog; ac_word=$2
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10777 $as_echo_n "checking
for $ac_word...
" >&6; }
10778 if ${ac_cv_prog_FLEX+:} false; then :
10779 $as_echo_n "(cached
) " >&6
10781 if test -n "$FLEX"; then
10782 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10785 for as_dir in $PATH
10788 test -z "$as_dir" && as_dir=.
10789 for ac_exec_ext in '' $ac_executable_extensions; do
10790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10791 ac_cv_prog_FLEX="$ac_prog"
10792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10801 FLEX=$ac_cv_prog_FLEX
10802 if test -n "$FLEX"; then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10804 $as_echo "$FLEX" >&6; }
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10807 $as_echo "no
" >&6; }
10811 test -n "$FLEX" && break
10813 test -n "$FLEX" || FLEX="$MISSING flex
"
10815 case " $build_configdirs " in
10816 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10819 for ac_prog in makeinfo
10821 # Extract the first word of "$ac_prog", so it can be a program name with args.
10822 set dummy $ac_prog; ac_word=$2
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10824 $as_echo_n "checking
for $ac_word...
" >&6; }
10825 if ${ac_cv_prog_MAKEINFO+:} false; then :
10826 $as_echo_n "(cached
) " >&6
10828 if test -n "$MAKEINFO"; then
10829 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10832 for as_dir in $PATH
10835 test -z "$as_dir" && as_dir=.
10836 for ac_exec_ext in '' $ac_executable_extensions; do
10837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10838 ac_cv_prog_MAKEINFO="$ac_prog"
10839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10848 MAKEINFO=$ac_cv_prog_MAKEINFO
10849 if test -n "$MAKEINFO"; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10851 $as_echo "$MAKEINFO" >&6; }
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10854 $as_echo "no
" >&6; }
10858 test -n "$MAKEINFO" && break
10860 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10862 case " $build_configdirs " in
10863 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10866 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10867 # higher, else we use the "missing
" dummy.
10868 if ${MAKEINFO} --version \
10869 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10872 MAKEINFO="$MISSING makeinfo
"
10878 # FIXME: expect and dejagnu may become build tools?
10880 for ac_prog in expect
10882 # Extract the first word of "$ac_prog", so it can be a program name with args.
10883 set dummy $ac_prog; ac_word=$2
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10885 $as_echo_n "checking
for $ac_word...
" >&6; }
10886 if ${ac_cv_prog_EXPECT+:} false; then :
10887 $as_echo_n "(cached
) " >&6
10889 if test -n "$EXPECT"; then
10890 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10893 for as_dir in $PATH
10896 test -z "$as_dir" && as_dir=.
10897 for ac_exec_ext in '' $ac_executable_extensions; do
10898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10899 ac_cv_prog_EXPECT="$ac_prog"
10900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10909 EXPECT=$ac_cv_prog_EXPECT
10910 if test -n "$EXPECT"; then
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10912 $as_echo "$EXPECT" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10915 $as_echo "no
" >&6; }
10919 test -n "$EXPECT" && break
10921 test -n "$EXPECT" || EXPECT="expect
"
10923 case " $configdirs " in
10925 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10929 for ac_prog in runtest
10931 # Extract the first word of "$ac_prog", so it can be a program name with args.
10932 set dummy $ac_prog; ac_word=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10934 $as_echo_n "checking
for $ac_word...
" >&6; }
10935 if ${ac_cv_prog_RUNTEST+:} false; then :
10936 $as_echo_n "(cached
) " >&6
10938 if test -n "$RUNTEST"; then
10939 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10942 for as_dir in $PATH
10945 test -z "$as_dir" && as_dir=.
10946 for ac_exec_ext in '' $ac_executable_extensions; do
10947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10948 ac_cv_prog_RUNTEST="$ac_prog"
10949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10958 RUNTEST=$ac_cv_prog_RUNTEST
10959 if test -n "$RUNTEST"; then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10961 $as_echo "$RUNTEST" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10964 $as_echo "no
" >&6; }
10968 test -n "$RUNTEST" && break
10970 test -n "$RUNTEST" || RUNTEST="runtest
"
10972 case " $configdirs " in
10974 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10981 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10982 ncn_target_tool_prefix=
10983 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10987 if test -n "$AR"; then
10989 elif test -n "$ac_cv_prog_AR"; then
10993 if test -n "$ac_cv_prog_AR"; then
10994 for ncn_progname in ar; do
10995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10996 set dummy ${ncn_progname}; ac_word=$2
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10998 $as_echo_n "checking
for $ac_word...
" >&6; }
10999 if ${ac_cv_prog_AR+:} false; then :
11000 $as_echo_n "(cached
) " >&6
11002 if test -n "$AR"; then
11003 ac_cv_prog_AR="$AR" # Let the user override the test.
11005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11006 for as_dir in $PATH
11009 test -z "$as_dir" && as_dir=.
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11012 ac_cv_prog_AR="${ncn_progname}"
11013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11023 if test -n "$AR"; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
11025 $as_echo "$AR" >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11028 $as_echo "no
" >&6; }
11035 for ncn_progname in ar; do
11036 if test -n "$ncn_tool_prefix"; then
11037 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11038 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11040 $as_echo_n "checking
for $ac_word...
" >&6; }
11041 if ${ac_cv_prog_AR+:} false; then :
11042 $as_echo_n "(cached
) " >&6
11044 if test -n "$AR"; then
11045 ac_cv_prog_AR="$AR" # Let the user override the test.
11047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11048 for as_dir in $PATH
11051 test -z "$as_dir" && as_dir=.
11052 for ac_exec_ext in '' $ac_executable_extensions; do
11053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11054 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
11055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11065 if test -n "$AR"; then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
11067 $as_echo "$AR" >&6; }
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11070 $as_echo "no
" >&6; }
11075 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
11076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11077 set dummy ${ncn_progname}; ac_word=$2
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11079 $as_echo_n "checking
for $ac_word...
" >&6; }
11080 if ${ac_cv_prog_AR+:} false; then :
11081 $as_echo_n "(cached
) " >&6
11083 if test -n "$AR"; then
11084 ac_cv_prog_AR="$AR" # Let the user override the test.
11086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11087 for as_dir in $PATH
11090 test -z "$as_dir" && as_dir=.
11091 for ac_exec_ext in '' $ac_executable_extensions; do
11092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11093 ac_cv_prog_AR="${ncn_progname}"
11094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11104 if test -n "$AR"; then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
11106 $as_echo "$AR" >&6; }
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11109 $as_echo "no
" >&6; }
11114 test -n "$ac_cv_prog_AR" && break
11117 if test -z "$ac_cv_prog_AR" ; then
11119 if test $build = $host ; then
11122 AR="${ncn_tool_prefix}$2"
11128 if test -n "$AS"; then
11130 elif test -n "$ac_cv_prog_AS"; then
11134 if test -n "$ac_cv_prog_AS"; then
11135 for ncn_progname in as; do
11136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11137 set dummy ${ncn_progname}; ac_word=$2
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11139 $as_echo_n "checking
for $ac_word...
" >&6; }
11140 if ${ac_cv_prog_AS+:} false; then :
11141 $as_echo_n "(cached
) " >&6
11143 if test -n "$AS"; then
11144 ac_cv_prog_AS="$AS" # Let the user override the test.
11146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11147 for as_dir in $PATH
11150 test -z "$as_dir" && as_dir=.
11151 for ac_exec_ext in '' $ac_executable_extensions; do
11152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11153 ac_cv_prog_AS="${ncn_progname}"
11154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11164 if test -n "$AS"; then
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
11166 $as_echo "$AS" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11169 $as_echo "no
" >&6; }
11176 for ncn_progname in as; do
11177 if test -n "$ncn_tool_prefix"; then
11178 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11179 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11181 $as_echo_n "checking
for $ac_word...
" >&6; }
11182 if ${ac_cv_prog_AS+:} false; then :
11183 $as_echo_n "(cached
) " >&6
11185 if test -n "$AS"; then
11186 ac_cv_prog_AS="$AS" # Let the user override the test.
11188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11189 for as_dir in $PATH
11192 test -z "$as_dir" && as_dir=.
11193 for ac_exec_ext in '' $ac_executable_extensions; do
11194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11195 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
11196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11206 if test -n "$AS"; then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
11208 $as_echo "$AS" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11211 $as_echo "no
" >&6; }
11216 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
11217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11218 set dummy ${ncn_progname}; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11220 $as_echo_n "checking
for $ac_word...
" >&6; }
11221 if ${ac_cv_prog_AS+:} false; then :
11222 $as_echo_n "(cached
) " >&6
11224 if test -n "$AS"; then
11225 ac_cv_prog_AS="$AS" # Let the user override the test.
11227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11228 for as_dir in $PATH
11231 test -z "$as_dir" && as_dir=.
11232 for ac_exec_ext in '' $ac_executable_extensions; do
11233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11234 ac_cv_prog_AS="${ncn_progname}"
11235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11245 if test -n "$AS"; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
11247 $as_echo "$AS" >&6; }
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11250 $as_echo "no
" >&6; }
11255 test -n "$ac_cv_prog_AS" && break
11258 if test -z "$ac_cv_prog_AS" ; then
11260 if test $build = $host ; then
11263 AS="${ncn_tool_prefix}$2"
11269 if test -n "$DLLTOOL"; then
11270 ac_cv_prog_DLLTOOL=$DLLTOOL
11271 elif test -n "$ac_cv_prog_DLLTOOL"; then
11272 DLLTOOL=$ac_cv_prog_DLLTOOL
11275 if test -n "$ac_cv_prog_DLLTOOL"; then
11276 for ncn_progname in dlltool; do
11277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11278 set dummy ${ncn_progname}; ac_word=$2
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11280 $as_echo_n "checking
for $ac_word...
" >&6; }
11281 if ${ac_cv_prog_DLLTOOL+:} false; then :
11282 $as_echo_n "(cached
) " >&6
11284 if test -n "$DLLTOOL"; then
11285 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11288 for as_dir in $PATH
11291 test -z "$as_dir" && as_dir=.
11292 for ac_exec_ext in '' $ac_executable_extensions; do
11293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11294 ac_cv_prog_DLLTOOL="${ncn_progname}"
11295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11304 DLLTOOL=$ac_cv_prog_DLLTOOL
11305 if test -n "$DLLTOOL"; then
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11307 $as_echo "$DLLTOOL" >&6; }
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11310 $as_echo "no
" >&6; }
11317 for ncn_progname in dlltool; do
11318 if test -n "$ncn_tool_prefix"; then
11319 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11320 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11322 $as_echo_n "checking
for $ac_word...
" >&6; }
11323 if ${ac_cv_prog_DLLTOOL+:} false; then :
11324 $as_echo_n "(cached
) " >&6
11326 if test -n "$DLLTOOL"; then
11327 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11330 for as_dir in $PATH
11333 test -z "$as_dir" && as_dir=.
11334 for ac_exec_ext in '' $ac_executable_extensions; do
11335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11336 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
11337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11346 DLLTOOL=$ac_cv_prog_DLLTOOL
11347 if test -n "$DLLTOOL"; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11349 $as_echo "$DLLTOOL" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11352 $as_echo "no
" >&6; }
11357 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
11358 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11359 set dummy ${ncn_progname}; ac_word=$2
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11361 $as_echo_n "checking
for $ac_word...
" >&6; }
11362 if ${ac_cv_prog_DLLTOOL+:} false; then :
11363 $as_echo_n "(cached
) " >&6
11365 if test -n "$DLLTOOL"; then
11366 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11369 for as_dir in $PATH
11372 test -z "$as_dir" && as_dir=.
11373 for ac_exec_ext in '' $ac_executable_extensions; do
11374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11375 ac_cv_prog_DLLTOOL="${ncn_progname}"
11376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11385 DLLTOOL=$ac_cv_prog_DLLTOOL
11386 if test -n "$DLLTOOL"; then
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11388 $as_echo "$DLLTOOL" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11391 $as_echo "no
" >&6; }
11396 test -n "$ac_cv_prog_DLLTOOL" && break
11399 if test -z "$ac_cv_prog_DLLTOOL" ; then
11401 if test $build = $host ; then
11404 DLLTOOL="${ncn_tool_prefix}$2"
11410 if test -n "$DSYMUTIL"; then
11411 ac_cv_prog_DSYMUTIL=$DSYMUTIL
11412 elif test -n "$ac_cv_prog_DSYMUTIL"; then
11413 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11416 if test -n "$ac_cv_prog_DSYMUTIL"; then
11417 for ncn_progname in dsymutil; do
11418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11419 set dummy ${ncn_progname}; ac_word=$2
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11421 $as_echo_n "checking
for $ac_word...
" >&6; }
11422 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11423 $as_echo_n "(cached
) " >&6
11425 if test -n "$DSYMUTIL"; then
11426 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11429 for as_dir in $PATH
11432 test -z "$as_dir" && as_dir=.
11433 for ac_exec_ext in '' $ac_executable_extensions; do
11434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11435 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11445 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11446 if test -n "$DSYMUTIL"; then
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11448 $as_echo "$DSYMUTIL" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11451 $as_echo "no
" >&6; }
11458 for ncn_progname in dsymutil; do
11459 if test -n "$ncn_tool_prefix"; then
11460 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11461 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11463 $as_echo_n "checking
for $ac_word...
" >&6; }
11464 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11465 $as_echo_n "(cached
) " >&6
11467 if test -n "$DSYMUTIL"; then
11468 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11471 for as_dir in $PATH
11474 test -z "$as_dir" && as_dir=.
11475 for ac_exec_ext in '' $ac_executable_extensions; do
11476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11477 ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
11478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11487 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11488 if test -n "$DSYMUTIL"; then
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11490 $as_echo "$DSYMUTIL" >&6; }
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11493 $as_echo "no
" >&6; }
11498 if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
11499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11500 set dummy ${ncn_progname}; ac_word=$2
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11502 $as_echo_n "checking
for $ac_word...
" >&6; }
11503 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11504 $as_echo_n "(cached
) " >&6
11506 if test -n "$DSYMUTIL"; then
11507 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11510 for as_dir in $PATH
11513 test -z "$as_dir" && as_dir=.
11514 for ac_exec_ext in '' $ac_executable_extensions; do
11515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11516 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11526 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11527 if test -n "$DSYMUTIL"; then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11529 $as_echo "$DSYMUTIL" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11532 $as_echo "no
" >&6; }
11537 test -n "$ac_cv_prog_DSYMUTIL" && break
11540 if test -z "$ac_cv_prog_DSYMUTIL" ; then
11542 if test $build = $host ; then
11545 DSYMUTIL="${ncn_tool_prefix}$2"
11551 if test -n "$LD"; then
11553 elif test -n "$ac_cv_prog_LD"; then
11557 if test -n "$ac_cv_prog_LD"; then
11558 for ncn_progname in ld; do
11559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11560 set dummy ${ncn_progname}; ac_word=$2
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11562 $as_echo_n "checking
for $ac_word...
" >&6; }
11563 if ${ac_cv_prog_LD+:} false; then :
11564 $as_echo_n "(cached
) " >&6
11566 if test -n "$LD"; then
11567 ac_cv_prog_LD="$LD" # Let the user override the test.
11569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11570 for as_dir in $PATH
11573 test -z "$as_dir" && as_dir=.
11574 for ac_exec_ext in '' $ac_executable_extensions; do
11575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11576 ac_cv_prog_LD="${ncn_progname}"
11577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11587 if test -n "$LD"; then
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11589 $as_echo "$LD" >&6; }
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11592 $as_echo "no
" >&6; }
11599 for ncn_progname in ld; do
11600 if test -n "$ncn_tool_prefix"; then
11601 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11602 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11604 $as_echo_n "checking
for $ac_word...
" >&6; }
11605 if ${ac_cv_prog_LD+:} false; then :
11606 $as_echo_n "(cached
) " >&6
11608 if test -n "$LD"; then
11609 ac_cv_prog_LD="$LD" # Let the user override the test.
11611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11612 for as_dir in $PATH
11615 test -z "$as_dir" && as_dir=.
11616 for ac_exec_ext in '' $ac_executable_extensions; do
11617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11618 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
11619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11629 if test -n "$LD"; then
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11631 $as_echo "$LD" >&6; }
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11634 $as_echo "no
" >&6; }
11639 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
11640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11641 set dummy ${ncn_progname}; ac_word=$2
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11643 $as_echo_n "checking
for $ac_word...
" >&6; }
11644 if ${ac_cv_prog_LD+:} false; then :
11645 $as_echo_n "(cached
) " >&6
11647 if test -n "$LD"; then
11648 ac_cv_prog_LD="$LD" # Let the user override the test.
11650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11651 for as_dir in $PATH
11654 test -z "$as_dir" && as_dir=.
11655 for ac_exec_ext in '' $ac_executable_extensions; do
11656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11657 ac_cv_prog_LD="${ncn_progname}"
11658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11668 if test -n "$LD"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11670 $as_echo "$LD" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11673 $as_echo "no
" >&6; }
11678 test -n "$ac_cv_prog_LD" && break
11681 if test -z "$ac_cv_prog_LD" ; then
11683 if test $build = $host ; then
11686 LD="${ncn_tool_prefix}$2"
11692 if test -n "$LIPO"; then
11693 ac_cv_prog_LIPO=$LIPO
11694 elif test -n "$ac_cv_prog_LIPO"; then
11695 LIPO=$ac_cv_prog_LIPO
11698 if test -n "$ac_cv_prog_LIPO"; then
11699 for ncn_progname in lipo; do
11700 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11701 set dummy ${ncn_progname}; ac_word=$2
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11703 $as_echo_n "checking
for $ac_word...
" >&6; }
11704 if ${ac_cv_prog_LIPO+:} false; then :
11705 $as_echo_n "(cached
) " >&6
11707 if test -n "$LIPO"; then
11708 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11711 for as_dir in $PATH
11714 test -z "$as_dir" && as_dir=.
11715 for ac_exec_ext in '' $ac_executable_extensions; do
11716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11717 ac_cv_prog_LIPO="${ncn_progname}"
11718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11727 LIPO=$ac_cv_prog_LIPO
11728 if test -n "$LIPO"; then
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11730 $as_echo "$LIPO" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11733 $as_echo "no
" >&6; }
11740 for ncn_progname in lipo; do
11741 if test -n "$ncn_tool_prefix"; then
11742 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11743 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11745 $as_echo_n "checking
for $ac_word...
" >&6; }
11746 if ${ac_cv_prog_LIPO+:} false; then :
11747 $as_echo_n "(cached
) " >&6
11749 if test -n "$LIPO"; then
11750 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11753 for as_dir in $PATH
11756 test -z "$as_dir" && as_dir=.
11757 for ac_exec_ext in '' $ac_executable_extensions; do
11758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11759 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
11760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11769 LIPO=$ac_cv_prog_LIPO
11770 if test -n "$LIPO"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11772 $as_echo "$LIPO" >&6; }
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11775 $as_echo "no
" >&6; }
11780 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
11781 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11782 set dummy ${ncn_progname}; ac_word=$2
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11784 $as_echo_n "checking
for $ac_word...
" >&6; }
11785 if ${ac_cv_prog_LIPO+:} false; then :
11786 $as_echo_n "(cached
) " >&6
11788 if test -n "$LIPO"; then
11789 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11792 for as_dir in $PATH
11795 test -z "$as_dir" && as_dir=.
11796 for ac_exec_ext in '' $ac_executable_extensions; do
11797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11798 ac_cv_prog_LIPO="${ncn_progname}"
11799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11808 LIPO=$ac_cv_prog_LIPO
11809 if test -n "$LIPO"; then
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11811 $as_echo "$LIPO" >&6; }
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11814 $as_echo "no
" >&6; }
11819 test -n "$ac_cv_prog_LIPO" && break
11822 if test -z "$ac_cv_prog_LIPO" ; then
11824 if test $build = $host ; then
11827 LIPO="${ncn_tool_prefix}$2"
11833 if test -n "$NM"; then
11835 elif test -n "$ac_cv_prog_NM"; then
11839 if test -n "$ac_cv_prog_NM"; then
11840 for ncn_progname in nm; do
11841 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11842 set dummy ${ncn_progname}; ac_word=$2
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11844 $as_echo_n "checking
for $ac_word...
" >&6; }
11845 if ${ac_cv_prog_NM+:} false; then :
11846 $as_echo_n "(cached
) " >&6
11848 if test -n "$NM"; then
11849 ac_cv_prog_NM="$NM" # Let the user override the test.
11851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11852 for as_dir in $PATH
11855 test -z "$as_dir" && as_dir=.
11856 for ac_exec_ext in '' $ac_executable_extensions; do
11857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11858 ac_cv_prog_NM="${ncn_progname}"
11859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11869 if test -n "$NM"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11871 $as_echo "$NM" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11874 $as_echo "no
" >&6; }
11881 for ncn_progname in nm; do
11882 if test -n "$ncn_tool_prefix"; then
11883 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11884 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11886 $as_echo_n "checking
for $ac_word...
" >&6; }
11887 if ${ac_cv_prog_NM+:} false; then :
11888 $as_echo_n "(cached
) " >&6
11890 if test -n "$NM"; then
11891 ac_cv_prog_NM="$NM" # Let the user override the test.
11893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11894 for as_dir in $PATH
11897 test -z "$as_dir" && as_dir=.
11898 for ac_exec_ext in '' $ac_executable_extensions; do
11899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11900 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11911 if test -n "$NM"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11913 $as_echo "$NM" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11916 $as_echo "no
" >&6; }
11921 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11923 set dummy ${ncn_progname}; ac_word=$2
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11925 $as_echo_n "checking
for $ac_word...
" >&6; }
11926 if ${ac_cv_prog_NM+:} false; then :
11927 $as_echo_n "(cached
) " >&6
11929 if test -n "$NM"; then
11930 ac_cv_prog_NM="$NM" # Let the user override the test.
11932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11933 for as_dir in $PATH
11936 test -z "$as_dir" && as_dir=.
11937 for ac_exec_ext in '' $ac_executable_extensions; do
11938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11939 ac_cv_prog_NM="${ncn_progname}"
11940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11950 if test -n "$NM"; then
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11952 $as_echo "$NM" >&6; }
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11955 $as_echo "no
" >&6; }
11960 test -n "$ac_cv_prog_NM" && break
11963 if test -z "$ac_cv_prog_NM" ; then
11965 if test $build = $host ; then
11968 NM="${ncn_tool_prefix}$2"
11974 if test -n "$RANLIB"; then
11975 ac_cv_prog_RANLIB=$RANLIB
11976 elif test -n "$ac_cv_prog_RANLIB"; then
11977 RANLIB=$ac_cv_prog_RANLIB
11980 if test -n "$ac_cv_prog_RANLIB"; then
11981 for ncn_progname in ranlib; do
11982 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11983 set dummy ${ncn_progname}; ac_word=$2
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11985 $as_echo_n "checking
for $ac_word...
" >&6; }
11986 if ${ac_cv_prog_RANLIB+:} false; then :
11987 $as_echo_n "(cached
) " >&6
11989 if test -n "$RANLIB"; then
11990 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11993 for as_dir in $PATH
11996 test -z "$as_dir" && as_dir=.
11997 for ac_exec_ext in '' $ac_executable_extensions; do
11998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11999 ac_cv_prog_RANLIB="${ncn_progname}"
12000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12009 RANLIB=$ac_cv_prog_RANLIB
12010 if test -n "$RANLIB"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
12012 $as_echo "$RANLIB" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12015 $as_echo "no
" >&6; }
12022 for ncn_progname in ranlib; do
12023 if test -n "$ncn_tool_prefix"; then
12024 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12025 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12027 $as_echo_n "checking
for $ac_word...
" >&6; }
12028 if ${ac_cv_prog_RANLIB+:} false; then :
12029 $as_echo_n "(cached
) " >&6
12031 if test -n "$RANLIB"; then
12032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12035 for as_dir in $PATH
12038 test -z "$as_dir" && as_dir=.
12039 for ac_exec_ext in '' $ac_executable_extensions; do
12040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12041 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
12042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12051 RANLIB=$ac_cv_prog_RANLIB
12052 if test -n "$RANLIB"; then
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
12054 $as_echo "$RANLIB" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12057 $as_echo "no
" >&6; }
12062 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
12063 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12064 set dummy ${ncn_progname}; ac_word=$2
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12066 $as_echo_n "checking
for $ac_word...
" >&6; }
12067 if ${ac_cv_prog_RANLIB+:} false; then :
12068 $as_echo_n "(cached
) " >&6
12070 if test -n "$RANLIB"; then
12071 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12074 for as_dir in $PATH
12077 test -z "$as_dir" && as_dir=.
12078 for ac_exec_ext in '' $ac_executable_extensions; do
12079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12080 ac_cv_prog_RANLIB="${ncn_progname}"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12090 RANLIB=$ac_cv_prog_RANLIB
12091 if test -n "$RANLIB"; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
12093 $as_echo "$RANLIB" >&6; }
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12096 $as_echo "no
" >&6; }
12101 test -n "$ac_cv_prog_RANLIB" && break
12104 if test -z "$ac_cv_prog_RANLIB" ; then
12110 if test -n "$STRIP"; then
12111 ac_cv_prog_STRIP=$STRIP
12112 elif test -n "$ac_cv_prog_STRIP"; then
12113 STRIP=$ac_cv_prog_STRIP
12116 if test -n "$ac_cv_prog_STRIP"; then
12117 for ncn_progname in strip; do
12118 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12119 set dummy ${ncn_progname}; ac_word=$2
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12121 $as_echo_n "checking
for $ac_word...
" >&6; }
12122 if ${ac_cv_prog_STRIP+:} false; then :
12123 $as_echo_n "(cached
) " >&6
12125 if test -n "$STRIP"; then
12126 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $PATH
12132 test -z "$as_dir" && as_dir=.
12133 for ac_exec_ext in '' $ac_executable_extensions; do
12134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12135 ac_cv_prog_STRIP="${ncn_progname}"
12136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12145 STRIP=$ac_cv_prog_STRIP
12146 if test -n "$STRIP"; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
12148 $as_echo "$STRIP" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12151 $as_echo "no
" >&6; }
12158 for ncn_progname in strip; do
12159 if test -n "$ncn_tool_prefix"; then
12160 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12161 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12163 $as_echo_n "checking
for $ac_word...
" >&6; }
12164 if ${ac_cv_prog_STRIP+:} false; then :
12165 $as_echo_n "(cached
) " >&6
12167 if test -n "$STRIP"; then
12168 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 for as_dir in $PATH
12174 test -z "$as_dir" && as_dir=.
12175 for ac_exec_ext in '' $ac_executable_extensions; do
12176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
12178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12187 STRIP=$ac_cv_prog_STRIP
12188 if test -n "$STRIP"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
12190 $as_echo "$STRIP" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12193 $as_echo "no
" >&6; }
12198 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
12199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12200 set dummy ${ncn_progname}; ac_word=$2
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12202 $as_echo_n "checking
for $ac_word...
" >&6; }
12203 if ${ac_cv_prog_STRIP+:} false; then :
12204 $as_echo_n "(cached
) " >&6
12206 if test -n "$STRIP"; then
12207 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12210 for as_dir in $PATH
12213 test -z "$as_dir" && as_dir=.
12214 for ac_exec_ext in '' $ac_executable_extensions; do
12215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12216 ac_cv_prog_STRIP="${ncn_progname}"
12217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12226 STRIP=$ac_cv_prog_STRIP
12227 if test -n "$STRIP"; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
12229 $as_echo "$STRIP" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12232 $as_echo "no
" >&6; }
12237 test -n "$ac_cv_prog_STRIP" && break
12240 if test -z "$ac_cv_prog_STRIP" ; then
12246 if test -n "$WINDRES"; then
12247 ac_cv_prog_WINDRES=$WINDRES
12248 elif test -n "$ac_cv_prog_WINDRES"; then
12249 WINDRES=$ac_cv_prog_WINDRES
12252 if test -n "$ac_cv_prog_WINDRES"; then
12253 for ncn_progname in windres; do
12254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12255 set dummy ${ncn_progname}; ac_word=$2
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12257 $as_echo_n "checking
for $ac_word...
" >&6; }
12258 if ${ac_cv_prog_WINDRES+:} false; then :
12259 $as_echo_n "(cached
) " >&6
12261 if test -n "$WINDRES"; then
12262 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12265 for as_dir in $PATH
12268 test -z "$as_dir" && as_dir=.
12269 for ac_exec_ext in '' $ac_executable_extensions; do
12270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12271 ac_cv_prog_WINDRES="${ncn_progname}"
12272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12281 WINDRES=$ac_cv_prog_WINDRES
12282 if test -n "$WINDRES"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12284 $as_echo "$WINDRES" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12287 $as_echo "no
" >&6; }
12294 for ncn_progname in windres; do
12295 if test -n "$ncn_tool_prefix"; then
12296 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12297 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12299 $as_echo_n "checking
for $ac_word...
" >&6; }
12300 if ${ac_cv_prog_WINDRES+:} false; then :
12301 $as_echo_n "(cached
) " >&6
12303 if test -n "$WINDRES"; then
12304 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12307 for as_dir in $PATH
12310 test -z "$as_dir" && as_dir=.
12311 for ac_exec_ext in '' $ac_executable_extensions; do
12312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12313 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
12314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12323 WINDRES=$ac_cv_prog_WINDRES
12324 if test -n "$WINDRES"; then
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12326 $as_echo "$WINDRES" >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12329 $as_echo "no
" >&6; }
12334 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
12335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12336 set dummy ${ncn_progname}; ac_word=$2
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12338 $as_echo_n "checking
for $ac_word...
" >&6; }
12339 if ${ac_cv_prog_WINDRES+:} false; then :
12340 $as_echo_n "(cached
) " >&6
12342 if test -n "$WINDRES"; then
12343 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12346 for as_dir in $PATH
12349 test -z "$as_dir" && as_dir=.
12350 for ac_exec_ext in '' $ac_executable_extensions; do
12351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12352 ac_cv_prog_WINDRES="${ncn_progname}"
12353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12362 WINDRES=$ac_cv_prog_WINDRES
12363 if test -n "$WINDRES"; then
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12365 $as_echo "$WINDRES" >&6; }
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12368 $as_echo "no
" >&6; }
12373 test -n "$ac_cv_prog_WINDRES" && break
12376 if test -z "$ac_cv_prog_WINDRES" ; then
12378 if test $build = $host ; then
12381 WINDRES="${ncn_tool_prefix}$2"
12387 if test -n "$WINDMC"; then
12388 ac_cv_prog_WINDMC=$WINDMC
12389 elif test -n "$ac_cv_prog_WINDMC"; then
12390 WINDMC=$ac_cv_prog_WINDMC
12393 if test -n "$ac_cv_prog_WINDMC"; then
12394 for ncn_progname in windmc; do
12395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12396 set dummy ${ncn_progname}; ac_word=$2
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12398 $as_echo_n "checking
for $ac_word...
" >&6; }
12399 if ${ac_cv_prog_WINDMC+:} false; then :
12400 $as_echo_n "(cached
) " >&6
12402 if test -n "$WINDMC"; then
12403 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12406 for as_dir in $PATH
12409 test -z "$as_dir" && as_dir=.
12410 for ac_exec_ext in '' $ac_executable_extensions; do
12411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12412 ac_cv_prog_WINDMC="${ncn_progname}"
12413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12422 WINDMC=$ac_cv_prog_WINDMC
12423 if test -n "$WINDMC"; then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12425 $as_echo "$WINDMC" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12428 $as_echo "no
" >&6; }
12435 for ncn_progname in windmc; do
12436 if test -n "$ncn_tool_prefix"; then
12437 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12438 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12440 $as_echo_n "checking
for $ac_word...
" >&6; }
12441 if ${ac_cv_prog_WINDMC+:} false; then :
12442 $as_echo_n "(cached
) " >&6
12444 if test -n "$WINDMC"; then
12445 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12448 for as_dir in $PATH
12451 test -z "$as_dir" && as_dir=.
12452 for ac_exec_ext in '' $ac_executable_extensions; do
12453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12454 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
12455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12464 WINDMC=$ac_cv_prog_WINDMC
12465 if test -n "$WINDMC"; then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12467 $as_echo "$WINDMC" >&6; }
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12470 $as_echo "no
" >&6; }
12475 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
12476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12477 set dummy ${ncn_progname}; ac_word=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12479 $as_echo_n "checking
for $ac_word...
" >&6; }
12480 if ${ac_cv_prog_WINDMC+:} false; then :
12481 $as_echo_n "(cached
) " >&6
12483 if test -n "$WINDMC"; then
12484 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12487 for as_dir in $PATH
12490 test -z "$as_dir" && as_dir=.
12491 for ac_exec_ext in '' $ac_executable_extensions; do
12492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12493 ac_cv_prog_WINDMC="${ncn_progname}"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12503 WINDMC=$ac_cv_prog_WINDMC
12504 if test -n "$WINDMC"; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12506 $as_echo "$WINDMC" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12509 $as_echo "no
" >&6; }
12514 test -n "$ac_cv_prog_WINDMC" && break
12517 if test -z "$ac_cv_prog_WINDMC" ; then
12519 if test $build = $host ; then
12522 WINDMC="${ncn_tool_prefix}$2"
12528 if test -n "$OBJCOPY"; then
12529 ac_cv_prog_OBJCOPY=$OBJCOPY
12530 elif test -n "$ac_cv_prog_OBJCOPY"; then
12531 OBJCOPY=$ac_cv_prog_OBJCOPY
12534 if test -n "$ac_cv_prog_OBJCOPY"; then
12535 for ncn_progname in objcopy; do
12536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12537 set dummy ${ncn_progname}; ac_word=$2
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12539 $as_echo_n "checking
for $ac_word...
" >&6; }
12540 if ${ac_cv_prog_OBJCOPY+:} false; then :
12541 $as_echo_n "(cached
) " >&6
12543 if test -n "$OBJCOPY"; then
12544 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12547 for as_dir in $PATH
12550 test -z "$as_dir" && as_dir=.
12551 for ac_exec_ext in '' $ac_executable_extensions; do
12552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12553 ac_cv_prog_OBJCOPY="${ncn_progname}"
12554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12563 OBJCOPY=$ac_cv_prog_OBJCOPY
12564 if test -n "$OBJCOPY"; then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12566 $as_echo "$OBJCOPY" >&6; }
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12569 $as_echo "no
" >&6; }
12576 for ncn_progname in objcopy; do
12577 if test -n "$ncn_tool_prefix"; then
12578 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12579 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12581 $as_echo_n "checking
for $ac_word...
" >&6; }
12582 if ${ac_cv_prog_OBJCOPY+:} false; then :
12583 $as_echo_n "(cached
) " >&6
12585 if test -n "$OBJCOPY"; then
12586 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12589 for as_dir in $PATH
12592 test -z "$as_dir" && as_dir=.
12593 for ac_exec_ext in '' $ac_executable_extensions; do
12594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12595 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
12596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12605 OBJCOPY=$ac_cv_prog_OBJCOPY
12606 if test -n "$OBJCOPY"; then
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12608 $as_echo "$OBJCOPY" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12611 $as_echo "no
" >&6; }
12616 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
12617 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12618 set dummy ${ncn_progname}; ac_word=$2
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12620 $as_echo_n "checking
for $ac_word...
" >&6; }
12621 if ${ac_cv_prog_OBJCOPY+:} false; then :
12622 $as_echo_n "(cached
) " >&6
12624 if test -n "$OBJCOPY"; then
12625 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12628 for as_dir in $PATH
12631 test -z "$as_dir" && as_dir=.
12632 for ac_exec_ext in '' $ac_executable_extensions; do
12633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12634 ac_cv_prog_OBJCOPY="${ncn_progname}"
12635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12644 OBJCOPY=$ac_cv_prog_OBJCOPY
12645 if test -n "$OBJCOPY"; then
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12647 $as_echo "$OBJCOPY" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12650 $as_echo "no
" >&6; }
12655 test -n "$ac_cv_prog_OBJCOPY" && break
12658 if test -z "$ac_cv_prog_OBJCOPY" ; then
12660 if test $build = $host ; then
12663 OBJCOPY="${ncn_tool_prefix}$2"
12669 if test -n "$OBJDUMP"; then
12670 ac_cv_prog_OBJDUMP=$OBJDUMP
12671 elif test -n "$ac_cv_prog_OBJDUMP"; then
12672 OBJDUMP=$ac_cv_prog_OBJDUMP
12675 if test -n "$ac_cv_prog_OBJDUMP"; then
12676 for ncn_progname in objdump; do
12677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12678 set dummy ${ncn_progname}; ac_word=$2
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12680 $as_echo_n "checking
for $ac_word...
" >&6; }
12681 if ${ac_cv_prog_OBJDUMP+:} false; then :
12682 $as_echo_n "(cached
) " >&6
12684 if test -n "$OBJDUMP"; then
12685 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12688 for as_dir in $PATH
12691 test -z "$as_dir" && as_dir=.
12692 for ac_exec_ext in '' $ac_executable_extensions; do
12693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12694 ac_cv_prog_OBJDUMP="${ncn_progname}"
12695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12704 OBJDUMP=$ac_cv_prog_OBJDUMP
12705 if test -n "$OBJDUMP"; then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12707 $as_echo "$OBJDUMP" >&6; }
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12710 $as_echo "no
" >&6; }
12717 for ncn_progname in objdump; do
12718 if test -n "$ncn_tool_prefix"; then
12719 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12720 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12722 $as_echo_n "checking
for $ac_word...
" >&6; }
12723 if ${ac_cv_prog_OBJDUMP+:} false; then :
12724 $as_echo_n "(cached
) " >&6
12726 if test -n "$OBJDUMP"; then
12727 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12730 for as_dir in $PATH
12733 test -z "$as_dir" && as_dir=.
12734 for ac_exec_ext in '' $ac_executable_extensions; do
12735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12736 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
12737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12746 OBJDUMP=$ac_cv_prog_OBJDUMP
12747 if test -n "$OBJDUMP"; then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12749 $as_echo "$OBJDUMP" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12752 $as_echo "no
" >&6; }
12757 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
12758 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12759 set dummy ${ncn_progname}; ac_word=$2
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12761 $as_echo_n "checking
for $ac_word...
" >&6; }
12762 if ${ac_cv_prog_OBJDUMP+:} false; then :
12763 $as_echo_n "(cached
) " >&6
12765 if test -n "$OBJDUMP"; then
12766 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12769 for as_dir in $PATH
12772 test -z "$as_dir" && as_dir=.
12773 for ac_exec_ext in '' $ac_executable_extensions; do
12774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12775 ac_cv_prog_OBJDUMP="${ncn_progname}"
12776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12785 OBJDUMP=$ac_cv_prog_OBJDUMP
12786 if test -n "$OBJDUMP"; then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12788 $as_echo "$OBJDUMP" >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12791 $as_echo "no
" >&6; }
12796 test -n "$ac_cv_prog_OBJDUMP" && break
12799 if test -z "$ac_cv_prog_OBJDUMP" ; then
12801 if test $build = $host ; then
12804 OBJDUMP="${ncn_tool_prefix}$2"
12810 if test -n "$OTOOL"; then
12811 ac_cv_prog_OTOOL=$OTOOL
12812 elif test -n "$ac_cv_prog_OTOOL"; then
12813 OTOOL=$ac_cv_prog_OTOOL
12816 if test -n "$ac_cv_prog_OTOOL"; then
12817 for ncn_progname in otool; do
12818 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12819 set dummy ${ncn_progname}; ac_word=$2
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12821 $as_echo_n "checking
for $ac_word...
" >&6; }
12822 if ${ac_cv_prog_OTOOL+:} false; then :
12823 $as_echo_n "(cached
) " >&6
12825 if test -n "$OTOOL"; then
12826 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12829 for as_dir in $PATH
12832 test -z "$as_dir" && as_dir=.
12833 for ac_exec_ext in '' $ac_executable_extensions; do
12834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12835 ac_cv_prog_OTOOL="${ncn_progname}"
12836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12845 OTOOL=$ac_cv_prog_OTOOL
12846 if test -n "$OTOOL"; then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12848 $as_echo "$OTOOL" >&6; }
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12851 $as_echo "no
" >&6; }
12858 for ncn_progname in otool; do
12859 if test -n "$ncn_tool_prefix"; then
12860 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12861 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12863 $as_echo_n "checking
for $ac_word...
" >&6; }
12864 if ${ac_cv_prog_OTOOL+:} false; then :
12865 $as_echo_n "(cached
) " >&6
12867 if test -n "$OTOOL"; then
12868 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12871 for as_dir in $PATH
12874 test -z "$as_dir" && as_dir=.
12875 for ac_exec_ext in '' $ac_executable_extensions; do
12876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12877 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12887 OTOOL=$ac_cv_prog_OTOOL
12888 if test -n "$OTOOL"; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12890 $as_echo "$OTOOL" >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12893 $as_echo "no
" >&6; }
12898 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12899 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12900 set dummy ${ncn_progname}; ac_word=$2
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12902 $as_echo_n "checking
for $ac_word...
" >&6; }
12903 if ${ac_cv_prog_OTOOL+:} false; then :
12904 $as_echo_n "(cached
) " >&6
12906 if test -n "$OTOOL"; then
12907 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12910 for as_dir in $PATH
12913 test -z "$as_dir" && as_dir=.
12914 for ac_exec_ext in '' $ac_executable_extensions; do
12915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12916 ac_cv_prog_OTOOL="${ncn_progname}"
12917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12926 OTOOL=$ac_cv_prog_OTOOL
12927 if test -n "$OTOOL"; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12929 $as_echo "$OTOOL" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12932 $as_echo "no
" >&6; }
12937 test -n "$ac_cv_prog_OTOOL" && break
12940 if test -z "$ac_cv_prog_OTOOL" ; then
12942 if test $build = $host ; then
12945 OTOOL="${ncn_tool_prefix}$2"
12951 if test -n "$READELF"; then
12952 ac_cv_prog_READELF=$READELF
12953 elif test -n "$ac_cv_prog_READELF"; then
12954 READELF=$ac_cv_prog_READELF
12957 if test -n "$ac_cv_prog_READELF"; then
12958 for ncn_progname in readelf; do
12959 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12960 set dummy ${ncn_progname}; ac_word=$2
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12962 $as_echo_n "checking
for $ac_word...
" >&6; }
12963 if ${ac_cv_prog_READELF+:} false; then :
12964 $as_echo_n "(cached
) " >&6
12966 if test -n "$READELF"; then
12967 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12970 for as_dir in $PATH
12973 test -z "$as_dir" && as_dir=.
12974 for ac_exec_ext in '' $ac_executable_extensions; do
12975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12976 ac_cv_prog_READELF="${ncn_progname}"
12977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12986 READELF=$ac_cv_prog_READELF
12987 if test -n "$READELF"; then
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12989 $as_echo "$READELF" >&6; }
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12992 $as_echo "no
" >&6; }
12999 for ncn_progname in readelf; do
13000 if test -n "$ncn_tool_prefix"; then
13001 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
13002 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13004 $as_echo_n "checking
for $ac_word...
" >&6; }
13005 if ${ac_cv_prog_READELF+:} false; then :
13006 $as_echo_n "(cached
) " >&6
13008 if test -n "$READELF"; then
13009 ac_cv_prog_READELF="$READELF" # Let the user override the test.
13011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13012 for as_dir in $PATH
13015 test -z "$as_dir" && as_dir=.
13016 for ac_exec_ext in '' $ac_executable_extensions; do
13017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13018 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
13019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13028 READELF=$ac_cv_prog_READELF
13029 if test -n "$READELF"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
13031 $as_echo "$READELF" >&6; }
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13034 $as_echo "no
" >&6; }
13039 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
13040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13041 set dummy ${ncn_progname}; ac_word=$2
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13043 $as_echo_n "checking
for $ac_word...
" >&6; }
13044 if ${ac_cv_prog_READELF+:} false; then :
13045 $as_echo_n "(cached
) " >&6
13047 if test -n "$READELF"; then
13048 ac_cv_prog_READELF="$READELF" # Let the user override the test.
13050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13051 for as_dir in $PATH
13054 test -z "$as_dir" && as_dir=.
13055 for ac_exec_ext in '' $ac_executable_extensions; do
13056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13057 ac_cv_prog_READELF="${ncn_progname}"
13058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13067 READELF=$ac_cv_prog_READELF
13068 if test -n "$READELF"; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
13070 $as_echo "$READELF" >&6; }
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13073 $as_echo "no
" >&6; }
13078 test -n "$ac_cv_prog_READELF" && break
13081 if test -z "$ac_cv_prog_READELF" ; then
13083 if test $build = $host ; then
13086 READELF="${ncn_tool_prefix}$2"
13096 GDCFLAGS=${GDCFLAGS-${CFLAGS}}
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
13100 $as_echo_n "checking
for -plugin option...
" >&6; }
13102 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
13104 for plugin in $plugin_names; do
13105 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
13106 if test x$plugin_so = x$plugin; then
13107 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
13109 if test x$plugin_so != x$plugin; then
13110 plugin_option="--plugin $plugin_so"
13114 if test -n "$ac_tool_prefix"; then
13115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13116 set dummy ${ac_tool_prefix}ar; ac_word=$2
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13118 $as_echo_n "checking
for $ac_word...
" >&6; }
13119 if ${ac_cv_prog_AR+:} false; then :
13120 $as_echo_n "(cached
) " >&6
13122 if test -n "$AR"; then
13123 ac_cv_prog_AR="$AR" # Let the user override the test.
13125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13126 for as_dir in $PATH
13129 test -z "$as_dir" && as_dir=.
13130 for ac_exec_ext in '' $ac_executable_extensions; do
13131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13132 ac_cv_prog_AR="${ac_tool_prefix}ar"
13133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13143 if test -n "$AR"; then
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
13145 $as_echo "$AR" >&6; }
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13148 $as_echo "no
" >&6; }
13153 if test -z "$ac_cv_prog_AR"; then
13155 # Extract the first word of "ar", so it can be a program name with args.
13156 set dummy ar; ac_word=$2
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13158 $as_echo_n "checking
for $ac_word...
" >&6; }
13159 if ${ac_cv_prog_ac_ct_AR+:} false; then :
13160 $as_echo_n "(cached
) " >&6
13162 if test -n "$ac_ct_AR"; then
13163 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13169 test -z "$as_dir" && as_dir=.
13170 for ac_exec_ext in '' $ac_executable_extensions; do
13171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13172 ac_cv_prog_ac_ct_AR="ar"
13173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13182 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13183 if test -n "$ac_ct_AR"; then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
13185 $as_echo "$ac_ct_AR" >&6; }
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13188 $as_echo "no
" >&6; }
13191 if test "x
$ac_ct_AR" = x; then
13194 case $cross_compiling:$ac_tool_warned in
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
13197 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
13198 ac_tool_warned=yes ;;
13203 AR="$ac_cv_prog_AR"
13206 if test "${AR}" = "" ; then
13207 as_fn_error $? "Required archive tool
'ar' not found on PATH.
" "$LINENO" 5
13210 ${AR} $plugin_option rc conftest.a conftest.c
13211 if test "$?
" != 0; then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
13213 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
13217 if test -n "$plugin_option"; then
13218 PLUGIN_OPTION="$plugin_option"
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
13220 $as_echo "$plugin_option" >&6; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13223 $as_echo "no
" >&6; }
13227 RANLIB_PLUGIN_OPTION=
13228 if test -n "$PLUGIN_OPTION"; then
13229 if $AR --help 2>&1 | grep -q "\
--plugin"; then
13230 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
13232 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
13233 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
13241 # Check whether --with-build-time-tools was given.
13242 if test "${with_build_time_tools+set}" = set; then :
13243 withval=$with_build_time_tools; case x"$withval" in
13246 with_build_time_tools=
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
13248 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
13252 with_build_time_tools=
13258 if test -n "$CC_FOR_TARGET"; then
13259 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
13260 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
13261 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
13264 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
13265 for ncn_progname in cc gcc; do
13266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13267 set dummy ${ncn_progname}; ac_word=$2
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13269 $as_echo_n "checking
for $ac_word...
" >&6; }
13270 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
13271 $as_echo_n "(cached
) " >&6
13273 if test -n "$CC_FOR_TARGET"; then
13274 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
13276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13277 for as_dir in $PATH
13280 test -z "$as_dir" && as_dir=.
13281 for ac_exec_ext in '' $ac_executable_extensions; do
13282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13283 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
13284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13293 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
13294 if test -n "$CC_FOR_TARGET"; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
13296 $as_echo "$CC_FOR_TARGET" >&6; }
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13299 $as_echo "no
" >&6; }
13306 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13307 for ncn_progname in cc gcc; do
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13309 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13310 if test -x $with_build_time_tools/${ncn_progname}; then
13311 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13313 $as_echo "yes" >&6; }
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13317 $as_echo "no
" >&6; }
13322 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
13323 for ncn_progname in cc gcc; do
13324 if test -n "$ncn_target_tool_prefix"; then
13325 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13326 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13328 $as_echo_n "checking
for $ac_word...
" >&6; }
13329 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
13330 $as_echo_n "(cached
) " >&6
13332 if test -n "$CC_FOR_TARGET"; then
13333 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
13335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13336 for as_dir in $PATH
13339 test -z "$as_dir" && as_dir=.
13340 for ac_exec_ext in '' $ac_executable_extensions; do
13341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13342 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13352 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
13353 if test -n "$CC_FOR_TARGET"; then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
13355 $as_echo "$CC_FOR_TARGET" >&6; }
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13358 $as_echo "no
" >&6; }
13363 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
13364 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13365 set dummy ${ncn_progname}; ac_word=$2
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13367 $as_echo_n "checking
for $ac_word...
" >&6; }
13368 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
13369 $as_echo_n "(cached
) " >&6
13371 if test -n "$CC_FOR_TARGET"; then
13372 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
13374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13375 for as_dir in $PATH
13378 test -z "$as_dir" && as_dir=.
13379 for ac_exec_ext in '' $ac_executable_extensions; do
13380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13381 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
13382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13391 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
13392 if test -n "$CC_FOR_TARGET"; then
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
13394 $as_echo "$CC_FOR_TARGET" >&6; }
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13397 $as_echo "no
" >&6; }
13402 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
13406 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
13408 if test $build = $target ; then
13411 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13414 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
13419 if test -n "$CXX_FOR_TARGET"; then
13420 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
13421 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13422 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13425 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13426 for ncn_progname in c++ g++ cxx gxx; do
13427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13428 set dummy ${ncn_progname}; ac_word=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13430 $as_echo_n "checking
for $ac_word...
" >&6; }
13431 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13432 $as_echo_n "(cached
) " >&6
13434 if test -n "$CXX_FOR_TARGET"; then
13435 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13438 for as_dir in $PATH
13441 test -z "$as_dir" && as_dir=.
13442 for ac_exec_ext in '' $ac_executable_extensions; do
13443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13444 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13454 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13455 if test -n "$CXX_FOR_TARGET"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13457 $as_echo "$CXX_FOR_TARGET" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13460 $as_echo "no
" >&6; }
13467 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
13468 for ncn_progname in c++ g++ cxx gxx; do
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13470 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13471 if test -x $with_build_time_tools/${ncn_progname}; then
13472 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13474 $as_echo "yes" >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13478 $as_echo "no
" >&6; }
13483 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
13484 for ncn_progname in c++ g++ cxx gxx; do
13485 if test -n "$ncn_target_tool_prefix"; then
13486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13489 $as_echo_n "checking
for $ac_word...
" >&6; }
13490 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13491 $as_echo_n "(cached
) " >&6
13493 if test -n "$CXX_FOR_TARGET"; then
13494 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13500 test -z "$as_dir" && as_dir=.
13501 for ac_exec_ext in '' $ac_executable_extensions; do
13502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13503 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13513 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13514 if test -n "$CXX_FOR_TARGET"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13516 $as_echo "$CXX_FOR_TARGET" >&6; }
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13519 $as_echo "no
" >&6; }
13524 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
13525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13526 set dummy ${ncn_progname}; ac_word=$2
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13528 $as_echo_n "checking
for $ac_word...
" >&6; }
13529 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13530 $as_echo_n "(cached
) " >&6
13532 if test -n "$CXX_FOR_TARGET"; then
13533 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13536 for as_dir in $PATH
13539 test -z "$as_dir" && as_dir=.
13540 for ac_exec_ext in '' $ac_executable_extensions; do
13541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13542 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13552 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13553 if test -n "$CXX_FOR_TARGET"; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13555 $as_echo "$CXX_FOR_TARGET" >&6; }
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13558 $as_echo "no
" >&6; }
13563 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
13567 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
13568 set dummy c++ g++ cxx gxx
13569 if test $build = $target ; then
13570 CXX_FOR_TARGET="$2"
13572 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
13575 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
13580 if test -n "$GCC_FOR_TARGET"; then
13581 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
13582 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13583 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13586 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13587 for ncn_progname in gcc; do
13588 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13589 set dummy ${ncn_progname}; ac_word=$2
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13591 $as_echo_n "checking
for $ac_word...
" >&6; }
13592 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13593 $as_echo_n "(cached
) " >&6
13595 if test -n "$GCC_FOR_TARGET"; then
13596 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13599 for as_dir in $PATH
13602 test -z "$as_dir" && as_dir=.
13603 for ac_exec_ext in '' $ac_executable_extensions; do
13604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13605 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13615 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13616 if test -n "$GCC_FOR_TARGET"; then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13618 $as_echo "$GCC_FOR_TARGET" >&6; }
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13621 $as_echo "no
" >&6; }
13628 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13629 for ncn_progname in gcc; do
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13631 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13632 if test -x $with_build_time_tools/${ncn_progname}; then
13633 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13635 $as_echo "yes" >&6; }
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13639 $as_echo "no
" >&6; }
13644 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
13645 for ncn_progname in gcc; do
13646 if test -n "$ncn_target_tool_prefix"; then
13647 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13648 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13650 $as_echo_n "checking
for $ac_word...
" >&6; }
13651 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13652 $as_echo_n "(cached
) " >&6
13654 if test -n "$GCC_FOR_TARGET"; then
13655 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13658 for as_dir in $PATH
13661 test -z "$as_dir" && as_dir=.
13662 for ac_exec_ext in '' $ac_executable_extensions; do
13663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13664 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13674 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13675 if test -n "$GCC_FOR_TARGET"; then
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13677 $as_echo "$GCC_FOR_TARGET" >&6; }
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13680 $as_echo "no
" >&6; }
13685 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
13686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13687 set dummy ${ncn_progname}; ac_word=$2
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13689 $as_echo_n "checking
for $ac_word...
" >&6; }
13690 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13691 $as_echo_n "(cached
) " >&6
13693 if test -n "$GCC_FOR_TARGET"; then
13694 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13697 for as_dir in $PATH
13700 test -z "$as_dir" && as_dir=.
13701 for ac_exec_ext in '' $ac_executable_extensions; do
13702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13703 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13713 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13714 if test -n "$GCC_FOR_TARGET"; then
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13716 $as_echo "$GCC_FOR_TARGET" >&6; }
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13719 $as_echo "no
" >&6; }
13724 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
13728 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
13729 GCC_FOR_TARGET="${CC_FOR_TARGET}"
13731 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
13736 if test -n "$GFORTRAN_FOR_TARGET"; then
13737 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
13738 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13739 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13742 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13743 for ncn_progname in gfortran; do
13744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13745 set dummy ${ncn_progname}; ac_word=$2
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13747 $as_echo_n "checking
for $ac_word...
" >&6; }
13748 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13749 $as_echo_n "(cached
) " >&6
13751 if test -n "$GFORTRAN_FOR_TARGET"; then
13752 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13755 for as_dir in $PATH
13758 test -z "$as_dir" && as_dir=.
13759 for ac_exec_ext in '' $ac_executable_extensions; do
13760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13761 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13771 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13772 if test -n "$GFORTRAN_FOR_TARGET"; then
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13774 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13777 $as_echo "no
" >&6; }
13784 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
13785 for ncn_progname in gfortran; do
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13787 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13788 if test -x $with_build_time_tools/${ncn_progname}; then
13789 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13791 $as_echo "yes" >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13795 $as_echo "no
" >&6; }
13800 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13801 for ncn_progname in gfortran; do
13802 if test -n "$ncn_target_tool_prefix"; then
13803 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13804 set dummy ${ncn_target_tool_prefix}${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_GFORTRAN_FOR_TARGET+:} false; then :
13808 $as_echo_n "(cached
) " >&6
13810 if test -n "$GFORTRAN_FOR_TARGET"; then
13811 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13830 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13831 if test -n "$GFORTRAN_FOR_TARGET"; then
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13833 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13836 $as_echo "no
" >&6; }
13841 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
13842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13843 set dummy ${ncn_progname}; ac_word=$2
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13845 $as_echo_n "checking
for $ac_word...
" >&6; }
13846 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13847 $as_echo_n "(cached
) " >&6
13849 if test -n "$GFORTRAN_FOR_TARGET"; then
13850 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13853 for as_dir in $PATH
13856 test -z "$as_dir" && as_dir=.
13857 for ac_exec_ext in '' $ac_executable_extensions; do
13858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13859 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13869 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13870 if test -n "$GFORTRAN_FOR_TARGET"; then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13872 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13875 $as_echo "no
" >&6; }
13880 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
13884 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
13886 if test $build = $target ; then
13887 GFORTRAN_FOR_TARGET="$2"
13889 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
13892 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
13897 if test -n "$GOC_FOR_TARGET"; then
13898 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
13899 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13900 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13903 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13904 for ncn_progname in gccgo; do
13905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13906 set dummy ${ncn_progname}; ac_word=$2
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13908 $as_echo_n "checking
for $ac_word...
" >&6; }
13909 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13910 $as_echo_n "(cached
) " >&6
13912 if test -n "$GOC_FOR_TARGET"; then
13913 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13916 for as_dir in $PATH
13919 test -z "$as_dir" && as_dir=.
13920 for ac_exec_ext in '' $ac_executable_extensions; do
13921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13922 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13932 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13933 if test -n "$GOC_FOR_TARGET"; then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13935 $as_echo "$GOC_FOR_TARGET" >&6; }
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13938 $as_echo "no
" >&6; }
13945 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13946 for ncn_progname in gccgo; do
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13948 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13949 if test -x $with_build_time_tools/${ncn_progname}; then
13950 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13952 $as_echo "yes" >&6; }
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13956 $as_echo "no
" >&6; }
13961 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13962 for ncn_progname in gccgo; do
13963 if test -n "$ncn_target_tool_prefix"; then
13964 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13965 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13967 $as_echo_n "checking
for $ac_word...
" >&6; }
13968 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13969 $as_echo_n "(cached
) " >&6
13971 if test -n "$GOC_FOR_TARGET"; then
13972 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13975 for as_dir in $PATH
13978 test -z "$as_dir" && as_dir=.
13979 for ac_exec_ext in '' $ac_executable_extensions; do
13980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13981 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13991 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13992 if test -n "$GOC_FOR_TARGET"; then
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13994 $as_echo "$GOC_FOR_TARGET" >&6; }
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13997 $as_echo "no
" >&6; }
14002 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
14003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14004 set dummy ${ncn_progname}; ac_word=$2
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14006 $as_echo_n "checking
for $ac_word...
" >&6; }
14007 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
14008 $as_echo_n "(cached
) " >&6
14010 if test -n "$GOC_FOR_TARGET"; then
14011 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
14013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14014 for as_dir in $PATH
14017 test -z "$as_dir" && as_dir=.
14018 for ac_exec_ext in '' $ac_executable_extensions; do
14019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14020 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
14021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14030 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
14031 if test -n "$GOC_FOR_TARGET"; then
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
14033 $as_echo "$GOC_FOR_TARGET" >&6; }
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14036 $as_echo "no
" >&6; }
14041 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
14045 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
14047 if test $build = $target ; then
14048 GOC_FOR_TARGET="$2"
14050 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14053 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
14058 if test -n "$GDC_FOR_TARGET"; then
14059 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
14060 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
14061 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
14064 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
14065 for ncn_progname in gdc; do
14066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14067 set dummy ${ncn_progname}; ac_word=$2
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14069 $as_echo_n "checking
for $ac_word...
" >&6; }
14070 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
14071 $as_echo_n "(cached
) " >&6
14073 if test -n "$GDC_FOR_TARGET"; then
14074 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14083 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
14084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14093 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
14094 if test -n "$GDC_FOR_TARGET"; then
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
14096 $as_echo "$GDC_FOR_TARGET" >&6; }
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14099 $as_echo "no
" >&6; }
14106 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14107 for ncn_progname in gdc; do
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14109 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14110 if test -x $with_build_time_tools/${ncn_progname}; then
14111 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14113 $as_echo "yes" >&6; }
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14117 $as_echo "no
" >&6; }
14122 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
14123 for ncn_progname in gdc; do
14124 if test -n "$ncn_target_tool_prefix"; then
14125 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14126 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14128 $as_echo_n "checking
for $ac_word...
" >&6; }
14129 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
14130 $as_echo_n "(cached
) " >&6
14132 if test -n "$GDC_FOR_TARGET"; then
14133 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
14135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14136 for as_dir in $PATH
14139 test -z "$as_dir" && as_dir=.
14140 for ac_exec_ext in '' $ac_executable_extensions; do
14141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14142 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14152 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
14153 if test -n "$GDC_FOR_TARGET"; then
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
14155 $as_echo "$GDC_FOR_TARGET" >&6; }
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14158 $as_echo "no
" >&6; }
14163 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
14164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14165 set dummy ${ncn_progname}; ac_word=$2
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14167 $as_echo_n "checking
for $ac_word...
" >&6; }
14168 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
14169 $as_echo_n "(cached
) " >&6
14171 if test -n "$GDC_FOR_TARGET"; then
14172 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
14174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14175 for as_dir in $PATH
14178 test -z "$as_dir" && as_dir=.
14179 for ac_exec_ext in '' $ac_executable_extensions; do
14180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14181 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
14182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14191 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
14192 if test -n "$GDC_FOR_TARGET"; then
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
14194 $as_echo "$GDC_FOR_TARGET" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14197 $as_echo "no
" >&6; }
14202 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
14206 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
14208 if test $build = $target ; then
14209 GDC_FOR_TARGET="$2"
14211 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14214 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
14219 if test -n "$GM2_FOR_TARGET"; then
14220 ac_cv_prog_GM2_FOR_TARGET=$GM2_FOR_TARGET
14221 elif test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
14222 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
14225 if test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
14226 for ncn_progname in gm2; do
14227 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14228 set dummy ${ncn_progname}; ac_word=$2
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14230 $as_echo_n "checking
for $ac_word...
" >&6; }
14231 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
14232 $as_echo_n "(cached
) " >&6
14234 if test -n "$GM2_FOR_TARGET"; then
14235 ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
14237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14238 for as_dir in $PATH
14241 test -z "$as_dir" && as_dir=.
14242 for ac_exec_ext in '' $ac_executable_extensions; do
14243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14244 ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
14245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14254 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
14255 if test -n "$GM2_FOR_TARGET"; then
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GM2_FOR_TARGET" >&5
14257 $as_echo "$GM2_FOR_TARGET" >&6; }
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14260 $as_echo "no
" >&6; }
14267 if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test -n "$with_build_time_tools"; then
14268 for ncn_progname in gm2; do
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14270 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14271 if test -x $with_build_time_tools/${ncn_progname}; then
14272 ac_cv_prog_GM2_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14274 $as_echo "yes" >&6; }
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14278 $as_echo "no
" >&6; }
14283 if test -z "$ac_cv_prog_GM2_FOR_TARGET"; then
14284 for ncn_progname in gm2; do
14285 if test -n "$ncn_target_tool_prefix"; then
14286 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14287 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14289 $as_echo_n "checking
for $ac_word...
" >&6; }
14290 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
14291 $as_echo_n "(cached
) " >&6
14293 if test -n "$GM2_FOR_TARGET"; then
14294 ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
14296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14297 for as_dir in $PATH
14300 test -z "$as_dir" && as_dir=.
14301 for ac_exec_ext in '' $ac_executable_extensions; do
14302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14303 ac_cv_prog_GM2_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14313 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
14314 if test -n "$GM2_FOR_TARGET"; then
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GM2_FOR_TARGET" >&5
14316 $as_echo "$GM2_FOR_TARGET" >&6; }
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14319 $as_echo "no
" >&6; }
14324 if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test $build = $target ; then
14325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14326 set dummy ${ncn_progname}; ac_word=$2
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14328 $as_echo_n "checking
for $ac_word...
" >&6; }
14329 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
14330 $as_echo_n "(cached
) " >&6
14332 if test -n "$GM2_FOR_TARGET"; then
14333 ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
14335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14336 for as_dir in $PATH
14339 test -z "$as_dir" && as_dir=.
14340 for ac_exec_ext in '' $ac_executable_extensions; do
14341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14342 ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
14343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14352 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
14353 if test -n "$GM2_FOR_TARGET"; then
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GM2_FOR_TARGET" >&5
14355 $as_echo "$GM2_FOR_TARGET" >&6; }
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14358 $as_echo "no
" >&6; }
14363 test -n "$ac_cv_prog_GM2_FOR_TARGET" && break
14367 if test -z "$ac_cv_prog_GM2_FOR_TARGET" ; then
14369 if test $build = $target ; then
14370 GM2_FOR_TARGET="$2"
14372 GM2_FOR_TARGET="${ncn_target_tool_prefix}$2"
14375 GM2_FOR_TARGET="$ac_cv_prog_GM2_FOR_TARGET"
14380 cat > conftest.c << \EOF
14385 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
14386 have_gcc_for_target=yes
14388 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
14389 have_gcc_for_target=no
14396 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
14397 if test -n "$with_build_time_tools"; then
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
14399 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
14400 if test -x $with_build_time_tools/ar; then
14401 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
14402 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
14404 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14407 $as_echo "no
" >&6; }
14409 elif test $build != $host && test $have_gcc_for_target = yes; then
14410 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
14411 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
14412 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
14415 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14416 # Extract the first word of "ar", so it can be a program name with args.
14417 set dummy ar; ac_word=$2
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14419 $as_echo_n "checking
for $ac_word...
" >&6; }
14420 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
14421 $as_echo_n "(cached
) " >&6
14423 case $AR_FOR_TARGET in
14425 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
14428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14429 for as_dir in $gcc_cv_tool_dirs
14432 test -z "$as_dir" && as_dir=.
14433 for ac_exec_ext in '' $ac_executable_extensions; do
14434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14435 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14446 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
14447 if test -n "$AR_FOR_TARGET"; then
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14449 $as_echo "$AR_FOR_TARGET" >&6; }
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14452 $as_echo "no
" >&6; }
14457 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
14460 if test -n "$AR_FOR_TARGET"; then
14461 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
14462 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
14463 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14466 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
14467 for ncn_progname in ar; do
14468 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14469 set dummy ${ncn_progname}; ac_word=$2
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14471 $as_echo_n "checking
for $ac_word...
" >&6; }
14472 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14473 $as_echo_n "(cached
) " >&6
14475 if test -n "$AR_FOR_TARGET"; then
14476 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14479 for as_dir in $PATH
14482 test -z "$as_dir" && as_dir=.
14483 for ac_exec_ext in '' $ac_executable_extensions; do
14484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14485 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
14486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14495 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14496 if test -n "$AR_FOR_TARGET"; then
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14498 $as_echo "$AR_FOR_TARGET" >&6; }
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14501 $as_echo "no
" >&6; }
14508 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
14509 for ncn_progname in ar; do
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14511 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14512 if test -x $with_build_time_tools/${ncn_progname}; then
14513 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14515 $as_echo "yes" >&6; }
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14519 $as_echo "no
" >&6; }
14524 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
14525 for ncn_progname in ar; do
14526 if test -n "$ncn_target_tool_prefix"; then
14527 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14528 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14530 $as_echo_n "checking
for $ac_word...
" >&6; }
14531 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14532 $as_echo_n "(cached
) " >&6
14534 if test -n "$AR_FOR_TARGET"; then
14535 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14538 for as_dir in $PATH
14541 test -z "$as_dir" && as_dir=.
14542 for ac_exec_ext in '' $ac_executable_extensions; do
14543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14544 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14554 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14555 if test -n "$AR_FOR_TARGET"; then
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14557 $as_echo "$AR_FOR_TARGET" >&6; }
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14560 $as_echo "no
" >&6; }
14565 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
14566 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14567 set dummy ${ncn_progname}; ac_word=$2
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14569 $as_echo_n "checking
for $ac_word...
" >&6; }
14570 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14571 $as_echo_n "(cached
) " >&6
14573 if test -n "$AR_FOR_TARGET"; then
14574 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14577 for as_dir in $PATH
14580 test -z "$as_dir" && as_dir=.
14581 for ac_exec_ext in '' $ac_executable_extensions; do
14582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14583 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
14584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14593 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14594 if test -n "$AR_FOR_TARGET"; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14596 $as_echo "$AR_FOR_TARGET" >&6; }
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14599 $as_echo "no
" >&6; }
14604 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
14608 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
14610 if test $build = $target ; then
14613 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
14616 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
14620 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
14626 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14627 if test -n "$with_build_time_tools"; then
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
14629 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
14630 if test -x $with_build_time_tools/as; then
14631 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
14632 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
14634 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14637 $as_echo "no
" >&6; }
14639 elif test $build != $host && test $have_gcc_for_target = yes; then
14640 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
14641 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
14642 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14645 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14646 # Extract the first word of "as
", so it can be a program name with args.
14647 set dummy as; ac_word=$2
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14649 $as_echo_n "checking
for $ac_word...
" >&6; }
14650 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
14651 $as_echo_n "(cached
) " >&6
14653 case $AS_FOR_TARGET in
14655 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
14658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14659 for as_dir in $gcc_cv_tool_dirs
14662 test -z "$as_dir" && as_dir=.
14663 for ac_exec_ext in '' $ac_executable_extensions; do
14664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14665 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14676 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14677 if test -n "$AS_FOR_TARGET"; then
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14679 $as_echo "$AS_FOR_TARGET" >&6; }
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14682 $as_echo "no
" >&6; }
14687 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14690 if test -n "$AS_FOR_TARGET"; then
14691 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
14692 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14693 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14696 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14697 for ncn_progname in as; do
14698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14699 set dummy ${ncn_progname}; ac_word=$2
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14701 $as_echo_n "checking
for $ac_word...
" >&6; }
14702 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14703 $as_echo_n "(cached
) " >&6
14705 if test -n "$AS_FOR_TARGET"; then
14706 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14709 for as_dir in $PATH
14712 test -z "$as_dir" && as_dir=.
14713 for ac_exec_ext in '' $ac_executable_extensions; do
14714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14715 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14725 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14726 if test -n "$AS_FOR_TARGET"; then
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14728 $as_echo "$AS_FOR_TARGET" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14731 $as_echo "no
" >&6; }
14738 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
14739 for ncn_progname in as; do
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14741 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14742 if test -x $with_build_time_tools/${ncn_progname}; then
14743 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14745 $as_echo "yes" >&6; }
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14749 $as_echo "no
" >&6; }
14754 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
14755 for ncn_progname in as; do
14756 if test -n "$ncn_target_tool_prefix"; then
14757 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14758 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14760 $as_echo_n "checking
for $ac_word...
" >&6; }
14761 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14762 $as_echo_n "(cached
) " >&6
14764 if test -n "$AS_FOR_TARGET"; then
14765 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14768 for as_dir in $PATH
14771 test -z "$as_dir" && as_dir=.
14772 for ac_exec_ext in '' $ac_executable_extensions; do
14773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14774 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14784 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14785 if test -n "$AS_FOR_TARGET"; then
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14787 $as_echo "$AS_FOR_TARGET" >&6; }
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14790 $as_echo "no
" >&6; }
14795 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
14796 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14797 set dummy ${ncn_progname}; ac_word=$2
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14799 $as_echo_n "checking
for $ac_word...
" >&6; }
14800 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14801 $as_echo_n "(cached
) " >&6
14803 if test -n "$AS_FOR_TARGET"; then
14804 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14807 for as_dir in $PATH
14810 test -z "$as_dir" && as_dir=.
14811 for ac_exec_ext in '' $ac_executable_extensions; do
14812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14813 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14823 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14824 if test -n "$AS_FOR_TARGET"; then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14826 $as_echo "$AS_FOR_TARGET" >&6; }
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14829 $as_echo "no
" >&6; }
14834 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
14838 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
14840 if test $build = $target ; then
14843 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
14846 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
14850 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14856 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14857 if test -n "$with_build_time_tools"; then
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
14859 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
14860 if test -x $with_build_time_tools/dlltool; then
14861 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
14862 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
14864 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14867 $as_echo "no
" >&6; }
14869 elif test $build != $host && test $have_gcc_for_target = yes; then
14870 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
14871 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
14872 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14875 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14876 # Extract the first word of "dlltool
", so it can be a program name with args.
14877 set dummy dlltool; ac_word=$2
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14879 $as_echo_n "checking
for $ac_word...
" >&6; }
14880 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
14881 $as_echo_n "(cached
) " >&6
14883 case $DLLTOOL_FOR_TARGET in
14885 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
14888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14889 for as_dir in $gcc_cv_tool_dirs
14892 test -z "$as_dir" && as_dir=.
14893 for ac_exec_ext in '' $ac_executable_extensions; do
14894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14895 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14906 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14907 if test -n "$DLLTOOL_FOR_TARGET"; then
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14909 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14912 $as_echo "no
" >&6; }
14917 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14920 if test -n "$DLLTOOL_FOR_TARGET"; then
14921 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14922 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14923 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14926 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14927 for ncn_progname in dlltool; do
14928 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14929 set dummy ${ncn_progname}; ac_word=$2
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14931 $as_echo_n "checking
for $ac_word...
" >&6; }
14932 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14933 $as_echo_n "(cached
) " >&6
14935 if test -n "$DLLTOOL_FOR_TARGET"; then
14936 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14939 for as_dir in $PATH
14942 test -z "$as_dir" && as_dir=.
14943 for ac_exec_ext in '' $ac_executable_extensions; do
14944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14945 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14955 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14956 if test -n "$DLLTOOL_FOR_TARGET"; then
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14958 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14961 $as_echo "no
" >&6; }
14968 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14969 for ncn_progname in dlltool; do
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14971 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14972 if test -x $with_build_time_tools/${ncn_progname}; then
14973 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14975 $as_echo "yes" >&6; }
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14979 $as_echo "no
" >&6; }
14984 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14985 for ncn_progname in dlltool; do
14986 if test -n "$ncn_target_tool_prefix"; then
14987 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14988 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14990 $as_echo_n "checking
for $ac_word...
" >&6; }
14991 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14992 $as_echo_n "(cached
) " >&6
14994 if test -n "$DLLTOOL_FOR_TARGET"; then
14995 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14998 for as_dir in $PATH
15001 test -z "$as_dir" && as_dir=.
15002 for ac_exec_ext in '' $ac_executable_extensions; do
15003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15004 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15014 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
15015 if test -n "$DLLTOOL_FOR_TARGET"; then
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
15017 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15020 $as_echo "no
" >&6; }
15025 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
15026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15027 set dummy ${ncn_progname}; ac_word=$2
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15029 $as_echo_n "checking
for $ac_word...
" >&6; }
15030 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
15031 $as_echo_n "(cached
) " >&6
15033 if test -n "$DLLTOOL_FOR_TARGET"; then
15034 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
15036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15037 for as_dir in $PATH
15040 test -z "$as_dir" && as_dir=.
15041 for ac_exec_ext in '' $ac_executable_extensions; do
15042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15043 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
15044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15053 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
15054 if test -n "$DLLTOOL_FOR_TARGET"; then
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
15056 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15059 $as_echo "no
" >&6; }
15064 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
15068 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
15070 if test $build = $target ; then
15071 DLLTOOL_FOR_TARGET="$2"
15073 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
15076 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
15080 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
15086 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
15087 if test -n "$with_build_time_tools"; then
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dsymutil
in $with_build_time_tools" >&5
15089 $as_echo_n "checking
for dsymutil
in $with_build_time_tools...
" >&6; }
15090 if test -x $with_build_time_tools/dsymutil; then
15091 DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
15092 ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
15094 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15097 $as_echo "no
" >&6; }
15099 elif test $build != $host && test $have_gcc_for_target = yes; then
15100 DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
15101 test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
15102 test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
15105 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15106 # Extract the first word of "dsymutil
", so it can be a program name with args.
15107 set dummy dsymutil; ac_word=$2
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15109 $as_echo_n "checking
for $ac_word...
" >&6; }
15110 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
15111 $as_echo_n "(cached
) " >&6
15113 case $DSYMUTIL_FOR_TARGET in
15115 ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
15118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15119 for as_dir in $gcc_cv_tool_dirs
15122 test -z "$as_dir" && as_dir=.
15123 for ac_exec_ext in '' $ac_executable_extensions; do
15124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15125 ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15136 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
15137 if test -n "$DSYMUTIL_FOR_TARGET"; then
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
15139 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15142 $as_echo "no
" >&6; }
15147 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
15150 if test -n "$DSYMUTIL_FOR_TARGET"; then
15151 ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
15152 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
15153 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
15156 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
15157 for ncn_progname in dsymutil; do
15158 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15159 set dummy ${ncn_progname}; ac_word=$2
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15161 $as_echo_n "checking
for $ac_word...
" >&6; }
15162 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
15163 $as_echo_n "(cached
) " >&6
15165 if test -n "$DSYMUTIL_FOR_TARGET"; then
15166 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
15168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15169 for as_dir in $PATH
15172 test -z "$as_dir" && as_dir=.
15173 for ac_exec_ext in '' $ac_executable_extensions; do
15174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15175 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
15176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15185 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
15186 if test -n "$DSYMUTIL_FOR_TARGET"; then
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
15188 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15191 $as_echo "no
" >&6; }
15198 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
15199 for ncn_progname in dsymutil; do
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15201 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15202 if test -x $with_build_time_tools/${ncn_progname}; then
15203 ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15205 $as_echo "yes" >&6; }
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15209 $as_echo "no
" >&6; }
15214 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
15215 for ncn_progname in dsymutil; do
15216 if test -n "$ncn_target_tool_prefix"; then
15217 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15218 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15220 $as_echo_n "checking
for $ac_word...
" >&6; }
15221 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
15222 $as_echo_n "(cached
) " >&6
15224 if test -n "$DSYMUTIL_FOR_TARGET"; then
15225 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
15227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15228 for as_dir in $PATH
15231 test -z "$as_dir" && as_dir=.
15232 for ac_exec_ext in '' $ac_executable_extensions; do
15233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15234 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15244 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
15245 if test -n "$DSYMUTIL_FOR_TARGET"; then
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
15247 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15250 $as_echo "no
" >&6; }
15255 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
15256 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15257 set dummy ${ncn_progname}; ac_word=$2
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15259 $as_echo_n "checking
for $ac_word...
" >&6; }
15260 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
15261 $as_echo_n "(cached
) " >&6
15263 if test -n "$DSYMUTIL_FOR_TARGET"; then
15264 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
15266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15267 for as_dir in $PATH
15270 test -z "$as_dir" && as_dir=.
15271 for ac_exec_ext in '' $ac_executable_extensions; do
15272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15273 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
15274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15283 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
15284 if test -n "$DSYMUTIL_FOR_TARGET"; then
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
15286 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15289 $as_echo "no
" >&6; }
15294 test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
15298 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
15300 if test $build = $target ; then
15301 DSYMUTIL_FOR_TARGET="$2"
15303 DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
15306 DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
15310 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
15316 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
15317 if test -n "$with_build_time_tools"; then
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
15319 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
15320 if test -x $with_build_time_tools/ld; then
15321 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
15322 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
15324 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15327 $as_echo "no
" >&6; }
15329 elif test $build != $host && test $have_gcc_for_target = yes; then
15330 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
15331 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
15332 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
15335 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15336 # Extract the first word of "ld
", so it can be a program name with args.
15337 set dummy ld; ac_word=$2
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15339 $as_echo_n "checking
for $ac_word...
" >&6; }
15340 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
15341 $as_echo_n "(cached
) " >&6
15343 case $LD_FOR_TARGET in
15345 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
15348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15349 for as_dir in $gcc_cv_tool_dirs
15352 test -z "$as_dir" && as_dir=.
15353 for ac_exec_ext in '' $ac_executable_extensions; do
15354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15355 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15366 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
15367 if test -n "$LD_FOR_TARGET"; then
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15369 $as_echo "$LD_FOR_TARGET" >&6; }
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15372 $as_echo "no
" >&6; }
15377 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
15380 if test -n "$LD_FOR_TARGET"; then
15381 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
15382 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
15383 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15386 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
15387 for ncn_progname in ld; do
15388 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15389 set dummy ${ncn_progname}; ac_word=$2
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15391 $as_echo_n "checking
for $ac_word...
" >&6; }
15392 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
15393 $as_echo_n "(cached
) " >&6
15395 if test -n "$LD_FOR_TARGET"; then
15396 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
15398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15399 for as_dir in $PATH
15402 test -z "$as_dir" && as_dir=.
15403 for ac_exec_ext in '' $ac_executable_extensions; do
15404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15405 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
15406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15415 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15416 if test -n "$LD_FOR_TARGET"; then
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15418 $as_echo "$LD_FOR_TARGET" >&6; }
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15421 $as_echo "no
" >&6; }
15428 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
15429 for ncn_progname in ld; do
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15431 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15432 if test -x $with_build_time_tools/${ncn_progname}; then
15433 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15435 $as_echo "yes" >&6; }
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15439 $as_echo "no
" >&6; }
15444 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
15445 for ncn_progname in ld; do
15446 if test -n "$ncn_target_tool_prefix"; then
15447 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15448 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15450 $as_echo_n "checking
for $ac_word...
" >&6; }
15451 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
15452 $as_echo_n "(cached
) " >&6
15454 if test -n "$LD_FOR_TARGET"; then
15455 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
15457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15458 for as_dir in $PATH
15461 test -z "$as_dir" && as_dir=.
15462 for ac_exec_ext in '' $ac_executable_extensions; do
15463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15464 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15474 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15475 if test -n "$LD_FOR_TARGET"; then
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15477 $as_echo "$LD_FOR_TARGET" >&6; }
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15480 $as_echo "no
" >&6; }
15485 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
15486 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15487 set dummy ${ncn_progname}; ac_word=$2
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15489 $as_echo_n "checking
for $ac_word...
" >&6; }
15490 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
15491 $as_echo_n "(cached
) " >&6
15493 if test -n "$LD_FOR_TARGET"; then
15494 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
15496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15497 for as_dir in $PATH
15500 test -z "$as_dir" && as_dir=.
15501 for ac_exec_ext in '' $ac_executable_extensions; do
15502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15503 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
15504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15513 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15514 if test -n "$LD_FOR_TARGET"; then
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15516 $as_echo "$LD_FOR_TARGET" >&6; }
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15519 $as_echo "no
" >&6; }
15524 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
15528 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
15530 if test $build = $target ; then
15533 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
15536 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
15540 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
15546 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15547 if test -n "$with_build_time_tools"; then
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
15549 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
15550 if test -x $with_build_time_tools/lipo; then
15551 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
15552 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
15554 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15557 $as_echo "no
" >&6; }
15559 elif test $build != $host && test $have_gcc_for_target = yes; then
15560 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
15561 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
15562 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15565 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15566 # Extract the first word of "lipo
", so it can be a program name with args.
15567 set dummy lipo; ac_word=$2
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15569 $as_echo_n "checking
for $ac_word...
" >&6; }
15570 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
15571 $as_echo_n "(cached
) " >&6
15573 case $LIPO_FOR_TARGET in
15575 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
15578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15579 for as_dir in $gcc_cv_tool_dirs
15582 test -z "$as_dir" && as_dir=.
15583 for ac_exec_ext in '' $ac_executable_extensions; do
15584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15585 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15596 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15597 if test -n "$LIPO_FOR_TARGET"; then
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15599 $as_echo "$LIPO_FOR_TARGET" >&6; }
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15602 $as_echo "no
" >&6; }
15607 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15610 if test -n "$LIPO_FOR_TARGET"; then
15611 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15612 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15613 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15616 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15617 for ncn_progname in lipo; do
15618 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15619 set dummy ${ncn_progname}; ac_word=$2
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15621 $as_echo_n "checking
for $ac_word...
" >&6; }
15622 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15623 $as_echo_n "(cached
) " >&6
15625 if test -n "$LIPO_FOR_TARGET"; then
15626 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15629 for as_dir in $PATH
15632 test -z "$as_dir" && as_dir=.
15633 for ac_exec_ext in '' $ac_executable_extensions; do
15634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15635 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15645 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15646 if test -n "$LIPO_FOR_TARGET"; then
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15648 $as_echo "$LIPO_FOR_TARGET" >&6; }
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15651 $as_echo "no
" >&6; }
15658 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
15659 for ncn_progname in lipo; do
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15661 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15662 if test -x $with_build_time_tools/${ncn_progname}; then
15663 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15665 $as_echo "yes" >&6; }
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15669 $as_echo "no
" >&6; }
15674 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
15675 for ncn_progname in lipo; do
15676 if test -n "$ncn_target_tool_prefix"; then
15677 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15678 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15680 $as_echo_n "checking
for $ac_word...
" >&6; }
15681 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15682 $as_echo_n "(cached
) " >&6
15684 if test -n "$LIPO_FOR_TARGET"; then
15685 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15688 for as_dir in $PATH
15691 test -z "$as_dir" && as_dir=.
15692 for ac_exec_ext in '' $ac_executable_extensions; do
15693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15694 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15704 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15705 if test -n "$LIPO_FOR_TARGET"; then
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15707 $as_echo "$LIPO_FOR_TARGET" >&6; }
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15710 $as_echo "no
" >&6; }
15715 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
15716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15717 set dummy ${ncn_progname}; ac_word=$2
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15719 $as_echo_n "checking
for $ac_word...
" >&6; }
15720 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15721 $as_echo_n "(cached
) " >&6
15723 if test -n "$LIPO_FOR_TARGET"; then
15724 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15727 for as_dir in $PATH
15730 test -z "$as_dir" && as_dir=.
15731 for ac_exec_ext in '' $ac_executable_extensions; do
15732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15733 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15743 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15744 if test -n "$LIPO_FOR_TARGET"; then
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15746 $as_echo "$LIPO_FOR_TARGET" >&6; }
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15749 $as_echo "no
" >&6; }
15754 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
15758 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
15760 if test $build = $target ; then
15761 LIPO_FOR_TARGET="$2"
15763 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
15766 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
15770 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15776 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15777 if test -n "$with_build_time_tools"; then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
15779 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
15780 if test -x $with_build_time_tools/nm; then
15781 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
15782 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
15784 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15787 $as_echo "no
" >&6; }
15789 elif test $build != $host && test $have_gcc_for_target = yes; then
15790 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
15791 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
15792 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15795 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15796 # Extract the first word of "nm
", so it can be a program name with args.
15797 set dummy nm; ac_word=$2
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15799 $as_echo_n "checking
for $ac_word...
" >&6; }
15800 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
15801 $as_echo_n "(cached
) " >&6
15803 case $NM_FOR_TARGET in
15805 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
15808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15809 for as_dir in $gcc_cv_tool_dirs
15812 test -z "$as_dir" && as_dir=.
15813 for ac_exec_ext in '' $ac_executable_extensions; do
15814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15815 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15826 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15827 if test -n "$NM_FOR_TARGET"; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15829 $as_echo "$NM_FOR_TARGET" >&6; }
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15832 $as_echo "no
" >&6; }
15837 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15840 if test -n "$NM_FOR_TARGET"; then
15841 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
15842 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15843 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15846 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15847 for ncn_progname in nm; do
15848 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15849 set dummy ${ncn_progname}; ac_word=$2
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15851 $as_echo_n "checking
for $ac_word...
" >&6; }
15852 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15853 $as_echo_n "(cached
) " >&6
15855 if test -n "$NM_FOR_TARGET"; then
15856 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15859 for as_dir in $PATH
15862 test -z "$as_dir" && as_dir=.
15863 for ac_exec_ext in '' $ac_executable_extensions; do
15864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15865 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15875 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15876 if test -n "$NM_FOR_TARGET"; then
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15878 $as_echo "$NM_FOR_TARGET" >&6; }
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15881 $as_echo "no
" >&6; }
15888 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
15889 for ncn_progname in nm; do
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15891 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15892 if test -x $with_build_time_tools/${ncn_progname}; then
15893 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15895 $as_echo "yes" >&6; }
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15899 $as_echo "no
" >&6; }
15904 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
15905 for ncn_progname in nm; do
15906 if test -n "$ncn_target_tool_prefix"; then
15907 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15908 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15910 $as_echo_n "checking
for $ac_word...
" >&6; }
15911 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15912 $as_echo_n "(cached
) " >&6
15914 if test -n "$NM_FOR_TARGET"; then
15915 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15918 for as_dir in $PATH
15921 test -z "$as_dir" && as_dir=.
15922 for ac_exec_ext in '' $ac_executable_extensions; do
15923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15924 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15934 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15935 if test -n "$NM_FOR_TARGET"; then
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15937 $as_echo "$NM_FOR_TARGET" >&6; }
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15940 $as_echo "no
" >&6; }
15945 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
15946 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15947 set dummy ${ncn_progname}; ac_word=$2
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15949 $as_echo_n "checking
for $ac_word...
" >&6; }
15950 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15951 $as_echo_n "(cached
) " >&6
15953 if test -n "$NM_FOR_TARGET"; then
15954 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15957 for as_dir in $PATH
15960 test -z "$as_dir" && as_dir=.
15961 for ac_exec_ext in '' $ac_executable_extensions; do
15962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15963 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15973 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15974 if test -n "$NM_FOR_TARGET"; then
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15976 $as_echo "$NM_FOR_TARGET" >&6; }
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15979 $as_echo "no
" >&6; }
15984 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
15988 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
15990 if test $build = $target ; then
15993 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
15996 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
16000 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
16006 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
16007 if test -n "$with_build_time_tools"; then
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
16009 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
16010 if test -x $with_build_time_tools/objcopy; then
16011 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
16012 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
16014 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16017 $as_echo "no
" >&6; }
16019 elif test $build != $host && test $have_gcc_for_target = yes; then
16020 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
16021 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
16022 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
16025 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16026 # Extract the first word of "objcopy
", so it can be a program name with args.
16027 set dummy objcopy; ac_word=$2
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16029 $as_echo_n "checking
for $ac_word...
" >&6; }
16030 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
16031 $as_echo_n "(cached
) " >&6
16033 case $OBJCOPY_FOR_TARGET in
16035 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $gcc_cv_tool_dirs
16042 test -z "$as_dir" && as_dir=.
16043 for ac_exec_ext in '' $ac_executable_extensions; do
16044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16045 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16056 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
16057 if test -n "$OBJCOPY_FOR_TARGET"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
16059 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16062 $as_echo "no
" >&6; }
16067 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
16070 if test -n "$OBJCOPY_FOR_TARGET"; then
16071 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
16072 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
16073 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
16076 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
16077 for ncn_progname in objcopy; do
16078 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16079 set dummy ${ncn_progname}; ac_word=$2
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16081 $as_echo_n "checking
for $ac_word...
" >&6; }
16082 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
16083 $as_echo_n "(cached
) " >&6
16085 if test -n "$OBJCOPY_FOR_TARGET"; then
16086 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
16088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16089 for as_dir in $PATH
16092 test -z "$as_dir" && as_dir=.
16093 for ac_exec_ext in '' $ac_executable_extensions; do
16094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16095 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
16096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16105 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
16106 if test -n "$OBJCOPY_FOR_TARGET"; then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
16108 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16111 $as_echo "no
" >&6; }
16118 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
16119 for ncn_progname in objcopy; do
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16121 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16122 if test -x $with_build_time_tools/${ncn_progname}; then
16123 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16125 $as_echo "yes" >&6; }
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16129 $as_echo "no
" >&6; }
16134 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
16135 for ncn_progname in objcopy; do
16136 if test -n "$ncn_target_tool_prefix"; then
16137 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16138 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16140 $as_echo_n "checking
for $ac_word...
" >&6; }
16141 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
16142 $as_echo_n "(cached
) " >&6
16144 if test -n "$OBJCOPY_FOR_TARGET"; then
16145 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
16147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16148 for as_dir in $PATH
16151 test -z "$as_dir" && as_dir=.
16152 for ac_exec_ext in '' $ac_executable_extensions; do
16153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16154 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16164 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
16165 if test -n "$OBJCOPY_FOR_TARGET"; then
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
16167 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16170 $as_echo "no
" >&6; }
16175 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
16176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16177 set dummy ${ncn_progname}; ac_word=$2
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16179 $as_echo_n "checking
for $ac_word...
" >&6; }
16180 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
16181 $as_echo_n "(cached
) " >&6
16183 if test -n "$OBJCOPY_FOR_TARGET"; then
16184 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
16186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16187 for as_dir in $PATH
16190 test -z "$as_dir" && as_dir=.
16191 for ac_exec_ext in '' $ac_executable_extensions; do
16192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16193 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
16194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16203 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
16204 if test -n "$OBJCOPY_FOR_TARGET"; then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
16206 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16209 $as_echo "no
" >&6; }
16214 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
16218 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
16220 if test $build = $target ; then
16221 OBJCOPY_FOR_TARGET="$2"
16223 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
16226 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
16230 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
16236 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
16237 if test -n "$with_build_time_tools"; then
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
16239 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
16240 if test -x $with_build_time_tools/objdump; then
16241 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
16242 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
16244 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16247 $as_echo "no
" >&6; }
16249 elif test $build != $host && test $have_gcc_for_target = yes; then
16250 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
16251 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
16252 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
16255 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16256 # Extract the first word of "objdump
", so it can be a program name with args.
16257 set dummy objdump; ac_word=$2
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16259 $as_echo_n "checking
for $ac_word...
" >&6; }
16260 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
16261 $as_echo_n "(cached
) " >&6
16263 case $OBJDUMP_FOR_TARGET in
16265 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
16268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16269 for as_dir in $gcc_cv_tool_dirs
16272 test -z "$as_dir" && as_dir=.
16273 for ac_exec_ext in '' $ac_executable_extensions; do
16274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16275 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16286 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
16287 if test -n "$OBJDUMP_FOR_TARGET"; then
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
16289 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16292 $as_echo "no
" >&6; }
16297 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
16300 if test -n "$OBJDUMP_FOR_TARGET"; then
16301 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
16302 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
16303 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
16306 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
16307 for ncn_progname in objdump; do
16308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16309 set dummy ${ncn_progname}; ac_word=$2
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16311 $as_echo_n "checking
for $ac_word...
" >&6; }
16312 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
16313 $as_echo_n "(cached
) " >&6
16315 if test -n "$OBJDUMP_FOR_TARGET"; then
16316 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
16318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16319 for as_dir in $PATH
16322 test -z "$as_dir" && as_dir=.
16323 for ac_exec_ext in '' $ac_executable_extensions; do
16324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16325 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
16326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16335 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
16336 if test -n "$OBJDUMP_FOR_TARGET"; then
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
16338 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16341 $as_echo "no
" >&6; }
16348 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
16349 for ncn_progname in objdump; do
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16351 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16352 if test -x $with_build_time_tools/${ncn_progname}; then
16353 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16355 $as_echo "yes" >&6; }
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16359 $as_echo "no
" >&6; }
16364 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
16365 for ncn_progname in objdump; do
16366 if test -n "$ncn_target_tool_prefix"; then
16367 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16368 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16370 $as_echo_n "checking
for $ac_word...
" >&6; }
16371 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
16372 $as_echo_n "(cached
) " >&6
16374 if test -n "$OBJDUMP_FOR_TARGET"; then
16375 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
16377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16378 for as_dir in $PATH
16381 test -z "$as_dir" && as_dir=.
16382 for ac_exec_ext in '' $ac_executable_extensions; do
16383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16384 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16394 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
16395 if test -n "$OBJDUMP_FOR_TARGET"; then
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
16397 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16400 $as_echo "no
" >&6; }
16405 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
16406 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16407 set dummy ${ncn_progname}; ac_word=$2
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16409 $as_echo_n "checking
for $ac_word...
" >&6; }
16410 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
16411 $as_echo_n "(cached
) " >&6
16413 if test -n "$OBJDUMP_FOR_TARGET"; then
16414 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
16416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16417 for as_dir in $PATH
16420 test -z "$as_dir" && as_dir=.
16421 for ac_exec_ext in '' $ac_executable_extensions; do
16422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16423 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
16424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16433 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
16434 if test -n "$OBJDUMP_FOR_TARGET"; then
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
16436 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16439 $as_echo "no
" >&6; }
16444 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
16448 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
16450 if test $build = $target ; then
16451 OBJDUMP_FOR_TARGET="$2"
16453 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16456 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
16460 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
16466 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
16467 if test -n "$with_build_time_tools"; then
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
16469 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
16470 if test -x $with_build_time_tools/otool; then
16471 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
16472 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
16474 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16477 $as_echo "no
" >&6; }
16479 elif test $build != $host && test $have_gcc_for_target = yes; then
16480 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
16481 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
16482 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
16485 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16486 # Extract the first word of "otool
", so it can be a program name with args.
16487 set dummy otool; ac_word=$2
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16489 $as_echo_n "checking
for $ac_word...
" >&6; }
16490 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
16491 $as_echo_n "(cached
) " >&6
16493 case $OTOOL_FOR_TARGET in
16495 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
16498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16499 for as_dir in $gcc_cv_tool_dirs
16502 test -z "$as_dir" && as_dir=.
16503 for ac_exec_ext in '' $ac_executable_extensions; do
16504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16505 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16516 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
16517 if test -n "$OTOOL_FOR_TARGET"; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16519 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16522 $as_echo "no
" >&6; }
16527 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
16530 if test -n "$OTOOL_FOR_TARGET"; then
16531 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
16532 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16533 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16536 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16537 for ncn_progname in otool; do
16538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16539 set dummy ${ncn_progname}; ac_word=$2
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16541 $as_echo_n "checking
for $ac_word...
" >&6; }
16542 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16543 $as_echo_n "(cached
) " >&6
16545 if test -n "$OTOOL_FOR_TARGET"; then
16546 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16549 for as_dir in $PATH
16552 test -z "$as_dir" && as_dir=.
16553 for ac_exec_ext in '' $ac_executable_extensions; do
16554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16555 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16565 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16566 if test -n "$OTOOL_FOR_TARGET"; then
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16568 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16571 $as_echo "no
" >&6; }
16578 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
16579 for ncn_progname in otool; do
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16581 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16582 if test -x $with_build_time_tools/${ncn_progname}; then
16583 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16585 $as_echo "yes" >&6; }
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16589 $as_echo "no
" >&6; }
16594 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16595 for ncn_progname in otool; do
16596 if test -n "$ncn_target_tool_prefix"; then
16597 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16598 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16600 $as_echo_n "checking
for $ac_word...
" >&6; }
16601 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16602 $as_echo_n "(cached
) " >&6
16604 if test -n "$OTOOL_FOR_TARGET"; then
16605 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16608 for as_dir in $PATH
16611 test -z "$as_dir" && as_dir=.
16612 for ac_exec_ext in '' $ac_executable_extensions; do
16613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16614 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16624 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16625 if test -n "$OTOOL_FOR_TARGET"; then
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16627 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16630 $as_echo "no
" >&6; }
16635 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
16636 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16637 set dummy ${ncn_progname}; ac_word=$2
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16639 $as_echo_n "checking
for $ac_word...
" >&6; }
16640 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16641 $as_echo_n "(cached
) " >&6
16643 if test -n "$OTOOL_FOR_TARGET"; then
16644 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16647 for as_dir in $PATH
16650 test -z "$as_dir" && as_dir=.
16651 for ac_exec_ext in '' $ac_executable_extensions; do
16652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16653 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16663 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16664 if test -n "$OTOOL_FOR_TARGET"; then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16666 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16669 $as_echo "no
" >&6; }
16674 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
16678 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
16680 if test $build = $target ; then
16681 OTOOL_FOR_TARGET="$2"
16683 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
16686 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
16690 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
16696 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16697 if test -n "$with_build_time_tools"; then
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
16699 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
16700 if test -x $with_build_time_tools/ranlib; then
16701 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
16702 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
16704 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16707 $as_echo "no
" >&6; }
16709 elif test $build != $host && test $have_gcc_for_target = yes; then
16710 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
16711 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
16712 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16715 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16716 # Extract the first word of "ranlib
", so it can be a program name with args.
16717 set dummy ranlib; ac_word=$2
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16719 $as_echo_n "checking
for $ac_word...
" >&6; }
16720 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
16721 $as_echo_n "(cached
) " >&6
16723 case $RANLIB_FOR_TARGET in
16725 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
16728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16729 for as_dir in $gcc_cv_tool_dirs
16732 test -z "$as_dir" && as_dir=.
16733 for ac_exec_ext in '' $ac_executable_extensions; do
16734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16735 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16746 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16747 if test -n "$RANLIB_FOR_TARGET"; then
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16749 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16752 $as_echo "no
" >&6; }
16757 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16760 if test -n "$RANLIB_FOR_TARGET"; then
16761 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16762 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16763 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16766 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16767 for ncn_progname in ranlib; do
16768 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16769 set dummy ${ncn_progname}; ac_word=$2
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16771 $as_echo_n "checking
for $ac_word...
" >&6; }
16772 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16773 $as_echo_n "(cached
) " >&6
16775 if test -n "$RANLIB_FOR_TARGET"; then
16776 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16779 for as_dir in $PATH
16782 test -z "$as_dir" && as_dir=.
16783 for ac_exec_ext in '' $ac_executable_extensions; do
16784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16785 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16795 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16796 if test -n "$RANLIB_FOR_TARGET"; then
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16798 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16801 $as_echo "no
" >&6; }
16808 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
16809 for ncn_progname in ranlib; do
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16811 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16812 if test -x $with_build_time_tools/${ncn_progname}; then
16813 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16815 $as_echo "yes" >&6; }
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16819 $as_echo "no
" >&6; }
16824 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16825 for ncn_progname in ranlib; do
16826 if test -n "$ncn_target_tool_prefix"; then
16827 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16828 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16830 $as_echo_n "checking
for $ac_word...
" >&6; }
16831 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16832 $as_echo_n "(cached
) " >&6
16834 if test -n "$RANLIB_FOR_TARGET"; then
16835 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16838 for as_dir in $PATH
16841 test -z "$as_dir" && as_dir=.
16842 for ac_exec_ext in '' $ac_executable_extensions; do
16843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16844 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16854 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16855 if test -n "$RANLIB_FOR_TARGET"; then
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16857 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16860 $as_echo "no
" >&6; }
16865 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
16866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16867 set dummy ${ncn_progname}; ac_word=$2
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16869 $as_echo_n "checking
for $ac_word...
" >&6; }
16870 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16871 $as_echo_n "(cached
) " >&6
16873 if test -n "$RANLIB_FOR_TARGET"; then
16874 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16877 for as_dir in $PATH
16880 test -z "$as_dir" && as_dir=.
16881 for ac_exec_ext in '' $ac_executable_extensions; do
16882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16883 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16893 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16894 if test -n "$RANLIB_FOR_TARGET"; then
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16896 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16899 $as_echo "no
" >&6; }
16904 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
16908 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
16910 if test $build = $target ; then
16911 RANLIB_FOR_TARGET="$2"
16913 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
16916 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
16920 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16926 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16927 if test -n "$with_build_time_tools"; then
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
16929 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
16930 if test -x $with_build_time_tools/readelf; then
16931 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
16932 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
16934 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16937 $as_echo "no
" >&6; }
16939 elif test $build != $host && test $have_gcc_for_target = yes; then
16940 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
16941 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
16942 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16945 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16946 # Extract the first word of "readelf
", so it can be a program name with args.
16947 set dummy readelf; ac_word=$2
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16949 $as_echo_n "checking
for $ac_word...
" >&6; }
16950 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
16951 $as_echo_n "(cached
) " >&6
16953 case $READELF_FOR_TARGET in
16955 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $gcc_cv_tool_dirs
16962 test -z "$as_dir" && as_dir=.
16963 for ac_exec_ext in '' $ac_executable_extensions; do
16964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16965 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16976 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16977 if test -n "$READELF_FOR_TARGET"; then
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16979 $as_echo "$READELF_FOR_TARGET" >&6; }
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16982 $as_echo "no
" >&6; }
16987 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16990 if test -n "$READELF_FOR_TARGET"; then
16991 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
16992 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16993 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16996 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16997 for ncn_progname in readelf; do
16998 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16999 set dummy ${ncn_progname}; ac_word=$2
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17001 $as_echo_n "checking
for $ac_word...
" >&6; }
17002 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
17003 $as_echo_n "(cached
) " >&6
17005 if test -n "$READELF_FOR_TARGET"; then
17006 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
17008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17009 for as_dir in $PATH
17012 test -z "$as_dir" && as_dir=.
17013 for ac_exec_ext in '' $ac_executable_extensions; do
17014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17015 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
17016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17025 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
17026 if test -n "$READELF_FOR_TARGET"; then
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
17028 $as_echo "$READELF_FOR_TARGET" >&6; }
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17031 $as_echo "no
" >&6; }
17038 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
17039 for ncn_progname in readelf; do
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17041 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17042 if test -x $with_build_time_tools/${ncn_progname}; then
17043 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17045 $as_echo "yes" >&6; }
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17049 $as_echo "no
" >&6; }
17054 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
17055 for ncn_progname in readelf; do
17056 if test -n "$ncn_target_tool_prefix"; then
17057 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17058 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17060 $as_echo_n "checking
for $ac_word...
" >&6; }
17061 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
17062 $as_echo_n "(cached
) " >&6
17064 if test -n "$READELF_FOR_TARGET"; then
17065 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
17067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17068 for as_dir in $PATH
17071 test -z "$as_dir" && as_dir=.
17072 for ac_exec_ext in '' $ac_executable_extensions; do
17073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17074 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17084 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
17085 if test -n "$READELF_FOR_TARGET"; then
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
17087 $as_echo "$READELF_FOR_TARGET" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17090 $as_echo "no
" >&6; }
17095 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
17096 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17097 set dummy ${ncn_progname}; ac_word=$2
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17099 $as_echo_n "checking
for $ac_word...
" >&6; }
17100 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
17101 $as_echo_n "(cached
) " >&6
17103 if test -n "$READELF_FOR_TARGET"; then
17104 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
17106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17107 for as_dir in $PATH
17110 test -z "$as_dir" && as_dir=.
17111 for ac_exec_ext in '' $ac_executable_extensions; do
17112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17113 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
17114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17123 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
17124 if test -n "$READELF_FOR_TARGET"; then
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
17126 $as_echo "$READELF_FOR_TARGET" >&6; }
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17129 $as_echo "no
" >&6; }
17134 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
17138 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
17140 if test $build = $target ; then
17141 READELF_FOR_TARGET="$2"
17143 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
17146 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
17150 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
17156 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
17157 if test -n "$with_build_time_tools"; then
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
17159 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
17160 if test -x $with_build_time_tools/strip; then
17161 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
17162 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
17164 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17167 $as_echo "no
" >&6; }
17169 elif test $build != $host && test $have_gcc_for_target = yes; then
17170 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
17171 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
17172 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
17175 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
17176 # Extract the first word of "strip
", so it can be a program name with args.
17177 set dummy strip; ac_word=$2
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17179 $as_echo_n "checking
for $ac_word...
" >&6; }
17180 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
17181 $as_echo_n "(cached
) " >&6
17183 case $STRIP_FOR_TARGET in
17185 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
17188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17189 for as_dir in $gcc_cv_tool_dirs
17192 test -z "$as_dir" && as_dir=.
17193 for ac_exec_ext in '' $ac_executable_extensions; do
17194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17195 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17206 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
17207 if test -n "$STRIP_FOR_TARGET"; then
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
17209 $as_echo "$STRIP_FOR_TARGET" >&6; }
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17212 $as_echo "no
" >&6; }
17217 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
17220 if test -n "$STRIP_FOR_TARGET"; then
17221 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
17222 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
17223 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
17226 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
17227 for ncn_progname in strip; do
17228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17229 set dummy ${ncn_progname}; ac_word=$2
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17231 $as_echo_n "checking
for $ac_word...
" >&6; }
17232 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
17233 $as_echo_n "(cached
) " >&6
17235 if test -n "$STRIP_FOR_TARGET"; then
17236 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
17238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17239 for as_dir in $PATH
17242 test -z "$as_dir" && as_dir=.
17243 for ac_exec_ext in '' $ac_executable_extensions; do
17244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17245 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
17246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17255 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
17256 if test -n "$STRIP_FOR_TARGET"; then
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
17258 $as_echo "$STRIP_FOR_TARGET" >&6; }
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17261 $as_echo "no
" >&6; }
17268 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
17269 for ncn_progname in strip; do
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17271 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17272 if test -x $with_build_time_tools/${ncn_progname}; then
17273 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17275 $as_echo "yes" >&6; }
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17279 $as_echo "no
" >&6; }
17284 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
17285 for ncn_progname in strip; do
17286 if test -n "$ncn_target_tool_prefix"; then
17287 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17288 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17290 $as_echo_n "checking
for $ac_word...
" >&6; }
17291 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
17292 $as_echo_n "(cached
) " >&6
17294 if test -n "$STRIP_FOR_TARGET"; then
17295 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
17297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17298 for as_dir in $PATH
17301 test -z "$as_dir" && as_dir=.
17302 for ac_exec_ext in '' $ac_executable_extensions; do
17303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17304 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17314 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
17315 if test -n "$STRIP_FOR_TARGET"; then
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
17317 $as_echo "$STRIP_FOR_TARGET" >&6; }
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17320 $as_echo "no
" >&6; }
17325 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
17326 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17327 set dummy ${ncn_progname}; ac_word=$2
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17329 $as_echo_n "checking
for $ac_word...
" >&6; }
17330 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
17331 $as_echo_n "(cached
) " >&6
17333 if test -n "$STRIP_FOR_TARGET"; then
17334 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
17336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17337 for as_dir in $PATH
17340 test -z "$as_dir" && as_dir=.
17341 for ac_exec_ext in '' $ac_executable_extensions; do
17342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17343 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
17344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17353 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
17354 if test -n "$STRIP_FOR_TARGET"; then
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
17356 $as_echo "$STRIP_FOR_TARGET" >&6; }
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17359 $as_echo "no
" >&6; }
17364 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
17368 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
17370 if test $build = $target ; then
17371 STRIP_FOR_TARGET="$2"
17373 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
17376 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
17380 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
17386 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
17387 if test -n "$with_build_time_tools"; then
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
17389 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
17390 if test -x $with_build_time_tools/windres; then
17391 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
17392 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
17394 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17397 $as_echo "no
" >&6; }
17399 elif test $build != $host && test $have_gcc_for_target = yes; then
17400 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
17401 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
17402 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
17405 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
17406 # Extract the first word of "windres
", so it can be a program name with args.
17407 set dummy windres; ac_word=$2
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17409 $as_echo_n "checking
for $ac_word...
" >&6; }
17410 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
17411 $as_echo_n "(cached
) " >&6
17413 case $WINDRES_FOR_TARGET in
17415 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
17418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17419 for as_dir in $gcc_cv_tool_dirs
17422 test -z "$as_dir" && as_dir=.
17423 for ac_exec_ext in '' $ac_executable_extensions; do
17424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17425 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17436 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
17437 if test -n "$WINDRES_FOR_TARGET"; then
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17439 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17442 $as_echo "no
" >&6; }
17447 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
17450 if test -n "$WINDRES_FOR_TARGET"; then
17451 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
17452 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
17453 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17456 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
17457 for ncn_progname in windres; do
17458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17459 set dummy ${ncn_progname}; ac_word=$2
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17461 $as_echo_n "checking
for $ac_word...
" >&6; }
17462 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17463 $as_echo_n "(cached
) " >&6
17465 if test -n "$WINDRES_FOR_TARGET"; then
17466 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17469 for as_dir in $PATH
17472 test -z "$as_dir" && as_dir=.
17473 for ac_exec_ext in '' $ac_executable_extensions; do
17474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17475 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
17476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17485 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17486 if test -n "$WINDRES_FOR_TARGET"; then
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17488 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17491 $as_echo "no
" >&6; }
17498 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
17499 for ncn_progname in windres; do
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17501 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17502 if test -x $with_build_time_tools/${ncn_progname}; then
17503 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17505 $as_echo "yes" >&6; }
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17509 $as_echo "no
" >&6; }
17514 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
17515 for ncn_progname in windres; do
17516 if test -n "$ncn_target_tool_prefix"; then
17517 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17518 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17520 $as_echo_n "checking
for $ac_word...
" >&6; }
17521 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17522 $as_echo_n "(cached
) " >&6
17524 if test -n "$WINDRES_FOR_TARGET"; then
17525 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17528 for as_dir in $PATH
17531 test -z "$as_dir" && as_dir=.
17532 for ac_exec_ext in '' $ac_executable_extensions; do
17533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17534 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17544 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17545 if test -n "$WINDRES_FOR_TARGET"; then
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17547 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17550 $as_echo "no
" >&6; }
17555 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
17556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17557 set dummy ${ncn_progname}; ac_word=$2
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17559 $as_echo_n "checking
for $ac_word...
" >&6; }
17560 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17561 $as_echo_n "(cached
) " >&6
17563 if test -n "$WINDRES_FOR_TARGET"; then
17564 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17567 for as_dir in $PATH
17570 test -z "$as_dir" && as_dir=.
17571 for ac_exec_ext in '' $ac_executable_extensions; do
17572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17573 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
17574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17583 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17584 if test -n "$WINDRES_FOR_TARGET"; then
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17586 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17589 $as_echo "no
" >&6; }
17594 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
17598 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
17600 if test $build = $target ; then
17601 WINDRES_FOR_TARGET="$2"
17603 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
17606 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
17610 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
17616 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17617 if test -n "$with_build_time_tools"; then
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
17619 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
17620 if test -x $with_build_time_tools/windmc; then
17621 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
17622 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
17624 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17627 $as_echo "no
" >&6; }
17629 elif test $build != $host && test $have_gcc_for_target = yes; then
17630 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
17631 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
17632 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17635 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
17636 # Extract the first word of "windmc
", so it can be a program name with args.
17637 set dummy windmc; ac_word=$2
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17639 $as_echo_n "checking
for $ac_word...
" >&6; }
17640 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
17641 $as_echo_n "(cached
) " >&6
17643 case $WINDMC_FOR_TARGET in
17645 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
17648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17649 for as_dir in $gcc_cv_tool_dirs
17652 test -z "$as_dir" && as_dir=.
17653 for ac_exec_ext in '' $ac_executable_extensions; do
17654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17655 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17666 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17667 if test -n "$WINDMC_FOR_TARGET"; then
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17669 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17672 $as_echo "no
" >&6; }
17677 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17680 if test -n "$WINDMC_FOR_TARGET"; then
17681 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17682 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17683 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17686 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17687 for ncn_progname in windmc; do
17688 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17689 set dummy ${ncn_progname}; ac_word=$2
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17691 $as_echo_n "checking
for $ac_word...
" >&6; }
17692 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17693 $as_echo_n "(cached
) " >&6
17695 if test -n "$WINDMC_FOR_TARGET"; then
17696 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17699 for as_dir in $PATH
17702 test -z "$as_dir" && as_dir=.
17703 for ac_exec_ext in '' $ac_executable_extensions; do
17704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17705 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17715 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17716 if test -n "$WINDMC_FOR_TARGET"; then
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17718 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17721 $as_echo "no
" >&6; }
17728 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
17729 for ncn_progname in windmc; do
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17731 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17732 if test -x $with_build_time_tools/${ncn_progname}; then
17733 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17735 $as_echo "yes" >&6; }
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17739 $as_echo "no
" >&6; }
17744 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17745 for ncn_progname in windmc; do
17746 if test -n "$ncn_target_tool_prefix"; then
17747 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17748 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17750 $as_echo_n "checking
for $ac_word...
" >&6; }
17751 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17752 $as_echo_n "(cached
) " >&6
17754 if test -n "$WINDMC_FOR_TARGET"; then
17755 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17758 for as_dir in $PATH
17761 test -z "$as_dir" && as_dir=.
17762 for ac_exec_ext in '' $ac_executable_extensions; do
17763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17764 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17774 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17775 if test -n "$WINDMC_FOR_TARGET"; then
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17777 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17780 $as_echo "no
" >&6; }
17785 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
17786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17787 set dummy ${ncn_progname}; ac_word=$2
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17789 $as_echo_n "checking
for $ac_word...
" >&6; }
17790 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17791 $as_echo_n "(cached
) " >&6
17793 if test -n "$WINDMC_FOR_TARGET"; then
17794 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17797 for as_dir in $PATH
17800 test -z "$as_dir" && as_dir=.
17801 for ac_exec_ext in '' $ac_executable_extensions; do
17802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17803 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17813 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17814 if test -n "$WINDMC_FOR_TARGET"; then
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17816 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17819 $as_echo "no
" >&6; }
17824 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
17828 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
17830 if test $build = $target ; then
17831 WINDMC_FOR_TARGET="$2"
17833 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
17836 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
17840 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17844 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
17847 $as_echo_n "checking where to
find the target
ar...
" >&6; }
17848 if test "x
${build}" != "x
${host}" ; then
17849 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17850 # We already found the complete path
17851 ac_dir=`dirname $AR_FOR_TARGET`
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17853 $as_echo "pre-installed
in $ac_dir" >&6; }
17855 # Canadian cross, just use what we found
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17857 $as_echo "pre-installed
" >&6; }
17861 case " ${configdirs} " in
17866 if test $ok = yes; then
17867 # An in-tree tool is available and we can use it
17868 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17870 $as_echo "just compiled
" >&6; }
17871 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17872 # We already found the complete path
17873 ac_dir=`dirname $AR_FOR_TARGET`
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17875 $as_echo "pre-installed
in $ac_dir" >&6; }
17876 elif test "x
$target" = "x
$host"; then
17877 # We can use an host tool
17878 AR_FOR_TARGET='$(AR)'
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17880 $as_echo "host tool
" >&6; }
17882 # We need a cross tool
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17884 $as_echo "pre-installed
" >&6; }
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
17889 $as_echo_n "checking where to
find the target as...
" >&6; }
17890 if test "x
${build}" != "x
${host}" ; then
17891 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17892 # We already found the complete path
17893 ac_dir=`dirname $AS_FOR_TARGET`
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17895 $as_echo "pre-installed
in $ac_dir" >&6; }
17897 # Canadian cross, just use what we found
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17899 $as_echo "pre-installed
" >&6; }
17903 case " ${configdirs} " in
17908 if test $ok = yes; then
17909 # An in-tree tool is available and we can use it
17910 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17912 $as_echo "just compiled
" >&6; }
17913 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17914 # We already found the complete path
17915 ac_dir=`dirname $AS_FOR_TARGET`
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17917 $as_echo "pre-installed
in $ac_dir" >&6; }
17918 elif test "x
$target" = "x
$host"; then
17919 # We can use an host tool
17920 AS_FOR_TARGET='$(AS)'
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17922 $as_echo "host tool
" >&6; }
17924 # We need a cross tool
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17926 $as_echo "pre-installed
" >&6; }
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
17931 $as_echo_n "checking where to
find the target cc...
" >&6; }
17932 if test "x
${build}" != "x
${host}" ; then
17933 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17934 # We already found the complete path
17935 ac_dir=`dirname $CC_FOR_TARGET`
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17937 $as_echo "pre-installed
in $ac_dir" >&6; }
17939 # Canadian cross, just use what we found
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17941 $as_echo "pre-installed
" >&6; }
17945 case " ${configdirs} " in
17950 if test $ok = yes; then
17951 # An in-tree tool is available and we can use it
17952 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17954 $as_echo "just compiled
" >&6; }
17955 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17956 # We already found the complete path
17957 ac_dir=`dirname $CC_FOR_TARGET`
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17959 $as_echo "pre-installed
in $ac_dir" >&6; }
17960 elif test "x
$target" = "x
$host"; then
17961 # We can use an host tool
17962 CC_FOR_TARGET='$(CC)'
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17964 $as_echo "host tool
" >&6; }
17966 # We need a cross tool
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17968 $as_echo "pre-installed
" >&6; }
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
17973 $as_echo_n "checking where to
find the target c
++...
" >&6; }
17974 if test "x
${build}" != "x
${host}" ; then
17975 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17976 # We already found the complete path
17977 ac_dir=`dirname $CXX_FOR_TARGET`
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17979 $as_echo "pre-installed
in $ac_dir" >&6; }
17981 # Canadian cross, just use what we found
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17983 $as_echo "pre-installed
" >&6; }
17987 case " ${configdirs} " in
17991 case ,${enable_languages}, in
17995 if test $ok = yes; then
17996 # An in-tree tool is available and we can use it
17997 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'
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17999 $as_echo "just compiled
" >&6; }
18000 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
18001 # We already found the complete path
18002 ac_dir=`dirname $CXX_FOR_TARGET`
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18004 $as_echo "pre-installed
in $ac_dir" >&6; }
18005 elif test "x
$target" = "x
$host"; then
18006 # We can use an host tool
18007 CXX_FOR_TARGET='$(CXX)'
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18009 $as_echo "host tool
" >&6; }
18011 # We need a cross tool
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18013 $as_echo "pre-installed
" >&6; }
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
18018 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
18019 if test "x
${build}" != "x
${host}" ; then
18020 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
18021 # We already found the complete path
18022 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18024 $as_echo "pre-installed
in $ac_dir" >&6; }
18026 # Canadian cross, just use what we found
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18028 $as_echo "pre-installed
" >&6; }
18032 case " ${configdirs} " in
18036 case ,${enable_languages}, in
18040 if test $ok = yes; then
18041 # An in-tree tool is available and we can use it
18042 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'
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18044 $as_echo "just compiled
" >&6; }
18045 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
18046 # We already found the complete path
18047 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18049 $as_echo "pre-installed
in $ac_dir" >&6; }
18050 elif test "x
$target" = "x
$host"; then
18051 # We can use an host tool
18052 RAW_CXX_FOR_TARGET='$(CXX)'
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18054 $as_echo "host tool
" >&6; }
18056 # We need a cross tool
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18058 $as_echo "pre-installed
" >&6; }
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
18063 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
18064 if test "x
${build}" != "x
${host}" ; then
18065 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
18066 # We already found the complete path
18067 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18069 $as_echo "pre-installed
in $ac_dir" >&6; }
18071 # Canadian cross, just use what we found
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18073 $as_echo "pre-installed
" >&6; }
18077 case " ${configdirs} " in
18082 if test $ok = yes; then
18083 # An in-tree tool is available and we can use it
18084 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18086 $as_echo "just compiled
" >&6; }
18087 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
18088 # We already found the complete path
18089 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18091 $as_echo "pre-installed
in $ac_dir" >&6; }
18092 elif test "x
$target" = "x
$host"; then
18093 # We can use an host tool
18094 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18096 $as_echo "host tool
" >&6; }
18098 # We need a cross tool
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18100 $as_echo "pre-installed
" >&6; }
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dsymutil
" >&5
18105 $as_echo_n "checking where to
find the target dsymutil...
" >&6; }
18106 if test "x
${build}" != "x
${host}" ; then
18107 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
18108 # We already found the complete path
18109 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18111 $as_echo "pre-installed
in $ac_dir" >&6; }
18113 # Canadian cross, just use what we found
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18115 $as_echo "pre-installed
" >&6; }
18118 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
18119 # We already found the complete path
18120 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18122 $as_echo "pre-installed
in $ac_dir" >&6; }
18123 elif test "x
$target" = "x
$host"; then
18124 # We can use an host tool
18125 DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18127 $as_echo "host tool
" >&6; }
18129 # We need a cross tool
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18131 $as_echo "pre-installed
" >&6; }
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
18136 $as_echo_n "checking where to
find the target gcc...
" >&6; }
18137 if test "x
${build}" != "x
${host}" ; then
18138 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
18139 # We already found the complete path
18140 ac_dir=`dirname $GCC_FOR_TARGET`
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18142 $as_echo "pre-installed
in $ac_dir" >&6; }
18144 # Canadian cross, just use what we found
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18146 $as_echo "pre-installed
" >&6; }
18150 case " ${configdirs} " in
18155 if test $ok = yes; then
18156 # An in-tree tool is available and we can use it
18157 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18159 $as_echo "just compiled
" >&6; }
18160 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
18161 # We already found the complete path
18162 ac_dir=`dirname $GCC_FOR_TARGET`
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18164 $as_echo "pre-installed
in $ac_dir" >&6; }
18165 elif test "x
$target" = "x
$host"; then
18166 # We can use an host tool
18167 GCC_FOR_TARGET='$()'
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18169 $as_echo "host tool
" >&6; }
18171 # We need a cross tool
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18173 $as_echo "pre-installed
" >&6; }
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
18178 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
18179 if test "x
${build}" != "x
${host}" ; then
18180 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
18181 # We already found the complete path
18182 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18184 $as_echo "pre-installed
in $ac_dir" >&6; }
18186 # Canadian cross, just use what we found
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18188 $as_echo "pre-installed
" >&6; }
18192 case " ${configdirs} " in
18196 case ,${enable_languages}, in
18200 if test $ok = yes; then
18201 # An in-tree tool is available and we can use it
18202 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18204 $as_echo "just compiled
" >&6; }
18205 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
18206 # We already found the complete path
18207 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18209 $as_echo "pre-installed
in $ac_dir" >&6; }
18210 elif test "x
$target" = "x
$host"; then
18211 # We can use an host tool
18212 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18214 $as_echo "host tool
" >&6; }
18216 # We need a cross tool
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18218 $as_echo "pre-installed
" >&6; }
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
18223 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
18224 if test "x
${build}" != "x
${host}" ; then
18225 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
18226 # We already found the complete path
18227 ac_dir=`dirname $GOC_FOR_TARGET`
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18229 $as_echo "pre-installed
in $ac_dir" >&6; }
18231 # Canadian cross, just use what we found
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18233 $as_echo "pre-installed
" >&6; }
18237 case " ${configdirs} " in
18241 case ,${enable_languages}, in
18245 if test $ok = yes; then
18246 # An in-tree tool is available and we can use it
18247 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18249 $as_echo "just compiled
" >&6; }
18250 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
18251 # We already found the complete path
18252 ac_dir=`dirname $GOC_FOR_TARGET`
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18254 $as_echo "pre-installed
in $ac_dir" >&6; }
18255 elif test "x
$target" = "x
$host"; then
18256 # We can use an host tool
18257 GOC_FOR_TARGET='$(GOC)'
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18259 $as_echo "host tool
" >&6; }
18261 # We need a cross tool
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18263 $as_echo "pre-installed
" >&6; }
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
18268 $as_echo_n "checking where to
find the target gdc...
" >&6; }
18269 if test "x
${build}" != "x
${host}" ; then
18270 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
18271 # We already found the complete path
18272 ac_dir=`dirname $GDC_FOR_TARGET`
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18274 $as_echo "pre-installed
in $ac_dir" >&6; }
18276 # Canadian cross, just use what we found
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18278 $as_echo "pre-installed
" >&6; }
18282 case " ${configdirs} " in
18286 case ,${enable_languages}, in
18290 if test $ok = yes; then
18291 # An in-tree tool is available and we can use it
18292 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18294 $as_echo "just compiled
" >&6; }
18295 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
18296 # We already found the complete path
18297 ac_dir=`dirname $GDC_FOR_TARGET`
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18299 $as_echo "pre-installed
in $ac_dir" >&6; }
18300 elif test "x
$target" = "x
$host"; then
18301 # We can use an host tool
18302 GDC_FOR_TARGET='$(GDC)'
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18304 $as_echo "host tool
" >&6; }
18306 # We need a cross tool
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18308 $as_echo "pre-installed
" >&6; }
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gm2
" >&5
18313 $as_echo_n "checking where to
find the target gm2...
" >&6; }
18314 if test "x
${build}" != "x
${host}" ; then
18315 if expr "x
$GM2_FOR_TARGET" : "x
/" > /dev/null; then
18316 # We already found the complete path
18317 ac_dir=`dirname $GM2_FOR_TARGET`
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18319 $as_echo "pre-installed
in $ac_dir" >&6; }
18321 # Canadian cross, just use what we found
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18323 $as_echo "pre-installed
" >&6; }
18327 case " ${configdirs} " in
18331 case ,${enable_languages}, in
18335 if test $ok = yes; then
18336 # An in-tree tool is available and we can use it
18337 GM2_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/'
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18339 $as_echo "just compiled
" >&6; }
18340 elif expr "x
$GM2_FOR_TARGET" : "x
/" > /dev/null; then
18341 # We already found the complete path
18342 ac_dir=`dirname $GM2_FOR_TARGET`
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18344 $as_echo "pre-installed
in $ac_dir" >&6; }
18345 elif test "x
$target" = "x
$host"; then
18346 # We can use an host tool
18347 GM2_FOR_TARGET='$(GM2)'
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18349 $as_echo "host tool
" >&6; }
18351 # We need a cross tool
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18353 $as_echo "pre-installed
" >&6; }
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
18358 $as_echo_n "checking where to
find the target ld...
" >&6; }
18359 if test "x
${build}" != "x
${host}" ; then
18360 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
18361 # We already found the complete path
18362 ac_dir=`dirname $LD_FOR_TARGET`
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18364 $as_echo "pre-installed
in $ac_dir" >&6; }
18366 # Canadian cross, just use what we found
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18368 $as_echo "pre-installed
" >&6; }
18372 case " ${configdirs} " in
18377 if test $ok = yes; then
18378 # An in-tree tool is available and we can use it
18379 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18381 $as_echo "just compiled
" >&6; }
18382 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
18383 # We already found the complete path
18384 ac_dir=`dirname $LD_FOR_TARGET`
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18386 $as_echo "pre-installed
in $ac_dir" >&6; }
18387 elif test "x
$target" = "x
$host"; then
18388 # We can use an host tool
18389 LD_FOR_TARGET='$(LD)'
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18391 $as_echo "host tool
" >&6; }
18393 # We need a cross tool
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18395 $as_echo "pre-installed
" >&6; }
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
18400 $as_echo_n "checking where to
find the target lipo...
" >&6; }
18401 if test "x
${build}" != "x
${host}" ; then
18402 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
18403 # We already found the complete path
18404 ac_dir=`dirname $LIPO_FOR_TARGET`
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18406 $as_echo "pre-installed
in $ac_dir" >&6; }
18408 # Canadian cross, just use what we found
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18410 $as_echo "pre-installed
" >&6; }
18413 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
18414 # We already found the complete path
18415 ac_dir=`dirname $LIPO_FOR_TARGET`
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18417 $as_echo "pre-installed
in $ac_dir" >&6; }
18418 elif test "x
$target" = "x
$host"; then
18419 # We can use an host tool
18420 LIPO_FOR_TARGET='$(LIPO)'
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18422 $as_echo "host tool
" >&6; }
18424 # We need a cross tool
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18426 $as_echo "pre-installed
" >&6; }
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
18431 $as_echo_n "checking where to
find the target nm...
" >&6; }
18432 if test "x
${build}" != "x
${host}" ; then
18433 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
18434 # We already found the complete path
18435 ac_dir=`dirname $NM_FOR_TARGET`
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18437 $as_echo "pre-installed
in $ac_dir" >&6; }
18439 # Canadian cross, just use what we found
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18441 $as_echo "pre-installed
" >&6; }
18445 case " ${configdirs} " in
18450 if test $ok = yes; then
18451 # An in-tree tool is available and we can use it
18452 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18454 $as_echo "just compiled
" >&6; }
18455 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
18456 # We already found the complete path
18457 ac_dir=`dirname $NM_FOR_TARGET`
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18459 $as_echo "pre-installed
in $ac_dir" >&6; }
18460 elif test "x
$target" = "x
$host"; then
18461 # We can use an host tool
18462 NM_FOR_TARGET='$(NM)'
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18464 $as_echo "host tool
" >&6; }
18466 # We need a cross tool
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18468 $as_echo "pre-installed
" >&6; }
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
18473 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
18474 if test "x
${build}" != "x
${host}" ; then
18475 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
18476 # We already found the complete path
18477 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18479 $as_echo "pre-installed
in $ac_dir" >&6; }
18481 # Canadian cross, just use what we found
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18483 $as_echo "pre-installed
" >&6; }
18487 case " ${configdirs} " in
18492 if test $ok = yes; then
18493 # An in-tree tool is available and we can use it
18494 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18496 $as_echo "just compiled
" >&6; }
18497 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
18498 # We already found the complete path
18499 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18501 $as_echo "pre-installed
in $ac_dir" >&6; }
18502 elif test "x
$target" = "x
$host"; then
18503 # We can use an host tool
18504 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18506 $as_echo "host tool
" >&6; }
18508 # We need a cross tool
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18510 $as_echo "pre-installed
" >&6; }
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
18515 $as_echo_n "checking where to
find the target objdump...
" >&6; }
18516 if test "x
${build}" != "x
${host}" ; then
18517 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
18518 # We already found the complete path
18519 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18521 $as_echo "pre-installed
in $ac_dir" >&6; }
18523 # Canadian cross, just use what we found
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18525 $as_echo "pre-installed
" >&6; }
18529 case " ${configdirs} " in
18534 if test $ok = yes; then
18535 # An in-tree tool is available and we can use it
18536 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18538 $as_echo "just compiled
" >&6; }
18539 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
18540 # We already found the complete path
18541 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18543 $as_echo "pre-installed
in $ac_dir" >&6; }
18544 elif test "x
$target" = "x
$host"; then
18545 # We can use an host tool
18546 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18548 $as_echo "host tool
" >&6; }
18550 # We need a cross tool
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18552 $as_echo "pre-installed
" >&6; }
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
18557 $as_echo_n "checking where to
find the target otool...
" >&6; }
18558 if test "x
${build}" != "x
${host}" ; then
18559 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
18560 # We already found the complete path
18561 ac_dir=`dirname $OTOOL_FOR_TARGET`
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18563 $as_echo "pre-installed
in $ac_dir" >&6; }
18565 # Canadian cross, just use what we found
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18567 $as_echo "pre-installed
" >&6; }
18570 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
18571 # We already found the complete path
18572 ac_dir=`dirname $OTOOL_FOR_TARGET`
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18574 $as_echo "pre-installed
in $ac_dir" >&6; }
18575 elif test "x
$target" = "x
$host"; then
18576 # We can use an host tool
18577 OTOOL_FOR_TARGET='$(OTOOL)'
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18579 $as_echo "host tool
" >&6; }
18581 # We need a cross tool
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18583 $as_echo "pre-installed
" >&6; }
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
18588 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
18589 if test "x
${build}" != "x
${host}" ; then
18590 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18591 # We already found the complete path
18592 ac_dir=`dirname $RANLIB_FOR_TARGET`
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18594 $as_echo "pre-installed
in $ac_dir" >&6; }
18596 # Canadian cross, just use what we found
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18598 $as_echo "pre-installed
" >&6; }
18602 case " ${configdirs} " in
18607 if test $ok = yes; then
18608 # An in-tree tool is available and we can use it
18609 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18611 $as_echo "just compiled
" >&6; }
18612 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18613 # We already found the complete path
18614 ac_dir=`dirname $RANLIB_FOR_TARGET`
18615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18616 $as_echo "pre-installed
in $ac_dir" >&6; }
18617 elif test "x
$target" = "x
$host"; then
18618 # We can use an host tool
18619 RANLIB_FOR_TARGET='$(RANLIB)'
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18621 $as_echo "host tool
" >&6; }
18623 # We need a cross tool
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18625 $as_echo "pre-installed
" >&6; }
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
18630 $as_echo_n "checking where to
find the target readelf...
" >&6; }
18631 if test "x
${build}" != "x
${host}" ; then
18632 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18633 # We already found the complete path
18634 ac_dir=`dirname $READELF_FOR_TARGET`
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18636 $as_echo "pre-installed
in $ac_dir" >&6; }
18638 # Canadian cross, just use what we found
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18640 $as_echo "pre-installed
" >&6; }
18644 case " ${configdirs} " in
18649 if test $ok = yes; then
18650 # An in-tree tool is available and we can use it
18651 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18653 $as_echo "just compiled
" >&6; }
18654 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18655 # We already found the complete path
18656 ac_dir=`dirname $READELF_FOR_TARGET`
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18658 $as_echo "pre-installed
in $ac_dir" >&6; }
18659 elif test "x
$target" = "x
$host"; then
18660 # We can use an host tool
18661 READELF_FOR_TARGET='$(READELF)'
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18663 $as_echo "host tool
" >&6; }
18665 # We need a cross tool
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18667 $as_echo "pre-installed
" >&6; }
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
18672 $as_echo_n "checking where to
find the target strip...
" >&6; }
18673 if test "x
${build}" != "x
${host}" ; then
18674 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18675 # We already found the complete path
18676 ac_dir=`dirname $STRIP_FOR_TARGET`
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18678 $as_echo "pre-installed
in $ac_dir" >&6; }
18680 # Canadian cross, just use what we found
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18682 $as_echo "pre-installed
" >&6; }
18686 case " ${configdirs} " in
18691 if test $ok = yes; then
18692 # An in-tree tool is available and we can use it
18693 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18695 $as_echo "just compiled
" >&6; }
18696 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18697 # We already found the complete path
18698 ac_dir=`dirname $STRIP_FOR_TARGET`
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18700 $as_echo "pre-installed
in $ac_dir" >&6; }
18701 elif test "x
$target" = "x
$host"; then
18702 # We can use an host tool
18703 STRIP_FOR_TARGET='$(STRIP)'
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18705 $as_echo "host tool
" >&6; }
18707 # We need a cross tool
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18709 $as_echo "pre-installed
" >&6; }
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
18714 $as_echo_n "checking where to
find the target windres...
" >&6; }
18715 if test "x
${build}" != "x
${host}" ; then
18716 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18717 # We already found the complete path
18718 ac_dir=`dirname $WINDRES_FOR_TARGET`
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18720 $as_echo "pre-installed
in $ac_dir" >&6; }
18722 # Canadian cross, just use what we found
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18724 $as_echo "pre-installed
" >&6; }
18728 case " ${configdirs} " in
18733 if test $ok = yes; then
18734 # An in-tree tool is available and we can use it
18735 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18737 $as_echo "just compiled
" >&6; }
18738 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18739 # We already found the complete path
18740 ac_dir=`dirname $WINDRES_FOR_TARGET`
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18742 $as_echo "pre-installed
in $ac_dir" >&6; }
18743 elif test "x
$target" = "x
$host"; then
18744 # We can use an host tool
18745 WINDRES_FOR_TARGET='$(WINDRES)'
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18747 $as_echo "host tool
" >&6; }
18749 # We need a cross tool
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18751 $as_echo "pre-installed
" >&6; }
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
18756 $as_echo_n "checking where to
find the target windmc...
" >&6; }
18757 if test "x
${build}" != "x
${host}" ; then
18758 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18759 # We already found the complete path
18760 ac_dir=`dirname $WINDMC_FOR_TARGET`
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18762 $as_echo "pre-installed
in $ac_dir" >&6; }
18764 # Canadian cross, just use what we found
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18766 $as_echo "pre-installed
" >&6; }
18770 case " ${configdirs} " in
18775 if test $ok = yes; then
18776 # An in-tree tool is available and we can use it
18777 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18779 $as_echo "just compiled
" >&6; }
18780 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18781 # We already found the complete path
18782 ac_dir=`dirname $WINDMC_FOR_TARGET`
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18784 $as_echo "pre-installed
in $ac_dir" >&6; }
18785 elif test "x
$target" = "x
$host"; then
18786 # We can use an host tool
18787 WINDMC_FOR_TARGET='$(WINDMC)'
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18789 $as_echo "host tool
" >&6; }
18791 # We need a cross tool
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18793 $as_echo "pre-installed
" >&6; }
18801 # Certain tools may need extra flags.
18802 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
18803 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
18804 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
18806 # When building target libraries, except in a Canadian cross, we use
18807 # the same toolchain as the compiler we just built.
18808 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
18809 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
18810 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
18811 if test $host = $build; then
18812 case " $configdirs " in
18814 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
18815 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
18816 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
18826 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
18827 # Check whether --enable-maintainer-mode was given.
18828 if test "${enable_maintainer_mode+set}" = set; then :
18829 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18831 USE_MAINTAINER_MODE=no
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
18835 $as_echo "$USE_MAINTAINER_MODE" >&6; }
18838 if test "$USE_MAINTAINER_MODE" = yes; then
18839 MAINTAINER_MODE_TRUE=
18840 MAINTAINER_MODE_FALSE='#'
18842 MAINTAINER_MODE_TRUE='#'
18843 MAINTAINER_MODE_FALSE=
18845 MAINT=$MAINTAINER_MODE_TRUE
18847 # ---------------------
18848 # GCC bootstrap support
18849 # ---------------------
18851 # Stage specific cflags for build.
18856 yes) stage1_cflags="-g -Wa,-J" ;;
18857 *) stage1_cflags="-g -J" ;;
18863 # Enable --enable-checking in stage1 of the compiler.
18864 # Check whether --enable-stage1-checking was given.
18865 if test "${enable_stage1_checking+set}" = set; then :
18866 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
18868 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
18869 # For --disable-checking or implicit --enable-checking=release, avoid
18870 # setting --enable-checking=gc in the default stage1 checking for LTO
18871 # bootstraps. See PR62077.
18872 case $BUILD_CONFIG in
18874 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
18876 stage1_checking=--enable-checking=yes,types;;
18878 if test "x
$enable_checking" = x && \
18879 test -d ${srcdir}/gcc && \
18880 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
18881 stage1_checking=--enable-checking=yes,types,extra
18884 stage1_checking=--enable-checking=$enable_checking,types
18890 # Enable -Werror in bootstrap stage2 and later.
18891 # Check whether --enable-werror was given.
18892 if test "${enable_werror+set}" = set; then :
18893 enableval=$enable_werror;
18894 case ${enable_werror} in
18895 yes) stage2_werror_flag="--enable-werror-always" ;;
18896 *) stage2_werror_flag="" ;;
18901 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
18902 case $BUILD_CONFIG in
18904 stage2_werror_flag="--enable-werror-always" ;;
18906 stage2_werror_flag="--enable-werror-always" ;;
18915 # Specify what files to not compare during bootstrap.
18917 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
18918 compare_exclusions="$compare_exclusions | gcc
/m
2/gm2-compiler-boot
/M2Version
*"
18919 compare_exclusions="$compare_exclusions | gcc
/m
2/gm2-compiler-boot
/SYSTEM
*"
18920 compare_exclusions="$compare_exclusions | gcc
/m
2/gm2version
*"
18922 hppa*64*-*-hpux*) ;;
18923 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
18927 ac_config_files="$ac_config_files Makefile
"
18929 cat >confcache <<\_ACEOF
18930 # This file is a shell script that caches the results of configure
18931 # tests run on this system so they can be shared between configure
18932 # scripts and configure runs, see configure's option --config-cache.
18933 # It is not useful on other systems. If it contains results you don't
18934 # want to keep, you may remove or edit it.
18936 # config.status only pays attention to the cache file if you give it
18937 # the --recheck option to rerun configure.
18939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18941 # following values.
18945 # The following way of writing the cache mishandles newlines in values,
18946 # but we know of no workaround that is simple, portable, and efficient.
18947 # So, we kill variables containing newlines.
18948 # Ultrix sh set writes to stderr and can't be redirected directly,
18949 # and sets the high bit in the cache file unless we assign to the vars.
18951 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18952 eval ac_val=\$$ac_var
18956 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
18957 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
18960 _ | IFS | as_nl) ;; #(
18961 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18962 *) { eval $ac_var=; unset $ac_var;} ;;
18968 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18969 *${as_nl}ac_space=\ *)
18970 # `set' does not quote correctly, so add quotes: double-quote
18971 # substitution turns \\\\ into \\, and sed turns \\ into \.
18974 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
18977 # `set' quotes correctly as required by POSIX, so do not add quotes.
18978 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
18987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18989 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18991 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18992 if test -w "$cache_file"; then
18993 if test "x
$cache_file" != "x
/dev
/null
"; then
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
18995 $as_echo "$as_me: updating cache
$cache_file" >&6;}
18996 if test ! -f "$cache_file" || test -h "$cache_file"; then
18997 cat confcache >"$cache_file"
18999 case $cache_file in #(
19001 mv -f confcache "$cache_file"$$ &&
19002 mv -f "$cache_file"$$ "$cache_file" ;; #(
19004 mv -f confcache "$cache_file" ;;
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
19010 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
19015 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
19016 # Let make expand exec_prefix.
19017 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
19019 # Transform confdefs.h into DEFS.
19020 # Protect against shell expansion while executing Makefile rules.
19021 # Protect against Makefile macro expansion.
19023 # If the first sed substitution is executed (which looks for macros that
19024 # take arguments), then branch to the quote section. Otherwise,
19025 # look for a macro that doesn't take arguments.
19035 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
19037 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
19041 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
19054 DEFS=`sed -n "$ac_script" confdefs.h`
19060 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19061 # 1. Remove the extension, and $U if already installed.
19062 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
19063 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19065 # will be set to the directory where LIBOBJS objects are built.
19066 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19067 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
19069 LIBOBJS=$ac_libobjs
19071 LTLIBOBJS=$ac_ltlibobjs
19075 : "${CONFIG_STATUS=./config.status}"
19077 ac_clean_files_save=$ac_clean_files
19078 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19080 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19082 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19084 # Generated by $as_me.
19085 # Run this file to recreate the current configuration.
19086 # Compiler output produced by configure, useful for debugging
19087 # configure, is in config.log if it exists.
19090 ac_cs_recheck=false
19093 SHELL=\${CONFIG_SHELL-$SHELL}
19096 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19097 ## -------------------- ##
19098 ## M4sh Initialization. ##
19099 ## -------------------- ##
19101 # Be more Bourne compatible
19102 DUALCASE=1; export DUALCASE # for MKS sh
19103 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19106 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19107 # is contrary to our usage. Disable this feature.
19108 alias -g '${1+"$@"}'='"$@"'
19109 setopt NO_GLOB_SUBST
19111 case `(set -o) 2>/dev/null` in #(
19123 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19124 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19125 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
19126 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19127 # Prefer a ksh shell builtin over an external printf program on Solaris,
19128 # but without wasting forks for bash or zsh.
19129 if test -z "$BASH_VERSION$ZSH_VERSION" \
19130 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
19131 as_echo
='print -r --'
19132 as_echo_n
='print -rn --'
19133 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
19134 as_echo
='printf %s\n'
19135 as_echo_n
='printf %s'
19137 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19138 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
19139 as_echo_n
='/usr/ucb/echo -n'
19141 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
19142 as_echo_n_body
='eval
19146 expr "X$arg" : "X\\(.*\\)$as_nl";
19147 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19149 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19151 export as_echo_n_body
19152 as_echo_n
='sh -c $as_echo_n_body as_echo'
19154 export as_echo_body
19155 as_echo
='sh -c $as_echo_body as_echo'
19158 # The user is always right.
19159 if test "${PATH_SEPARATOR+set}" != set; then
19161 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
19162 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
19169 # We need space, tab and new line, in precisely that order. Quoting is
19170 # there to prevent editors from complaining about space-tab.
19171 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19172 # splitting by setting IFS to empty value.)
19175 # Find who we are. Look in the path if we contain no directory separator.
19178 *[\\/]* ) as_myself
=$0 ;;
19179 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19180 for as_dir
in $PATH
19183 test -z "$as_dir" && as_dir
=.
19184 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19190 # We did not find ourselves, most probably we were run as `sh COMMAND'
19191 # in which case we are not to be found in the path.
19192 if test "x$as_myself" = x
; then
19195 if test ! -f "$as_myself"; then
19196 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19200 # Unset variables that we do not need and which cause bugs (e.g. in
19201 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19202 # suppresses any "Segmentation fault" message there. '((' could
19203 # trigger a bug in pdksh 5.2.14.
19204 for as_var
in BASH_ENV ENV MAIL MAILPATH
19205 do eval test x\
${$as_var+set} = xset \
19206 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19219 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19222 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19223 # ----------------------------------------
19224 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19225 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19226 # script with STATUS, using 1 if that was 0.
19229 as_status
=$1; test $as_status -eq 0 && as_status
=1
19231 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19232 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19234 $as_echo "$as_me: error: $2" >&2
19235 as_fn_exit
$as_status
19239 # as_fn_set_status STATUS
19240 # -----------------------
19241 # Set $? to STATUS, without forking.
19242 as_fn_set_status
()
19245 } # as_fn_set_status
19247 # as_fn_exit STATUS
19248 # -----------------
19249 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19253 as_fn_set_status
$1
19259 # Portably unset VAR.
19262 { eval $1=; unset $1;}
19264 as_unset
=as_fn_unset
19265 # as_fn_append VAR VALUE
19266 # ----------------------
19267 # Append the text in VALUE to the end of the definition contained in VAR. Take
19268 # advantage of any shell optimizations that allow amortized linear growth over
19269 # repeated appends, instead of the typical quadratic growth present in naive
19271 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19272 eval 'as_fn_append ()
19283 # as_fn_arith ARG...
19284 # ------------------
19285 # Perform arithmetic evaluation on the ARGs, and store the result in the
19286 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19287 # must be portable across $(()) and expr.
19288 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19289 eval 'as_fn_arith ()
19296 as_val
=`expr "$@" || test $? -eq 1`
19301 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19302 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19308 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19309 as_basename
=basename
19314 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19320 as_me
=`$as_basename -- "$0" ||
19321 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19322 X"$0" : 'X\(//\)$' \| \
19323 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19325 sed '/^.*\/\([^/][^/]*\)\/*$/{
19339 # Avoid depending upon Character Ranges.
19340 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19341 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19342 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19343 as_cr_digits
='0123456789'
19344 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19346 ECHO_C
= ECHO_N
= ECHO_T
=
19347 case `echo -n x` in #(((((
19349 case `echo 'xy\c'` in
19350 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19352 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19359 rm -f conf$$ conf$$.exe conf$$.
file
19360 if test -d conf$$.dir
; then
19361 rm -f conf$$.dir
/conf$$.
file
19364 mkdir conf$$.dir
2>/dev
/null
19366 if (echo >conf$$.
file) 2>/dev
/null
; then
19367 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19369 # ... but there are two gotchas:
19370 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19371 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19372 # In both cases, we have to default to `cp -pR'.
19373 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19375 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19383 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19384 rmdir conf$$.dir
2>/dev
/null
19389 # Create "$as_dir" as a directory, including parents if necessary.
19394 -*) as_dir
=.
/$as_dir;;
19396 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19400 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19401 *) as_qdir
=$as_dir;;
19403 as_dirs
="'$as_qdir' $as_dirs"
19404 as_dir
=`$as_dirname -- "$as_dir" ||
19405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19406 X"$as_dir" : 'X\(//\)[^/]' \| \
19407 X"$as_dir" : 'X\(//\)$' \| \
19408 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19409 $as_echo X"$as_dir" |
19410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19414 /^X\(\/\/\)[^/].*/{
19427 test -d "$as_dir" && break
19429 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19430 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19434 if mkdir
-p .
2>/dev
/null
; then
19435 as_mkdir_p
='mkdir -p "$as_dir"'
19437 test -d .
/-p && rmdir .
/-p
19442 # as_fn_executable_p FILE
19443 # -----------------------
19444 # Test if FILE is an executable regular file.
19445 as_fn_executable_p
()
19447 test -f "$1" && test -x "$1"
19448 } # as_fn_executable_p
19449 as_test_x
='test -x'
19450 as_executable_p
=as_fn_executable_p
19452 # Sed expression to map a string onto a valid CPP name.
19453 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19455 # Sed expression to map a string onto a valid variable name.
19456 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19460 ## ----------------------------------- ##
19461 ## Main body of $CONFIG_STATUS script. ##
19462 ## ----------------------------------- ##
19464 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19467 # Save the log message, to keep $0 and so on meaningful, and to
19468 # report actual input values of CONFIG_FILES etc. instead of their
19469 # values after options handling.
19471 This file was extended by $as_me, which was
19472 generated by GNU Autoconf 2.69. Invocation command line was
19474 CONFIG_FILES = $CONFIG_FILES
19475 CONFIG_HEADERS = $CONFIG_HEADERS
19476 CONFIG_LINKS = $CONFIG_LINKS
19477 CONFIG_COMMANDS = $CONFIG_COMMANDS
19480 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19485 case $ac_config_files in *"
19486 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19492 # Files that config.status was made for.
19493 config_files="$ac_config_files"
19497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19499 \`$as_me' instantiates files and other configuration actions
19500 from templates according to the current configuration. Unless the files
19501 and actions are specified as TAGs, all are instantiated by default.
19503 Usage: $0 [OPTION]... [TAG]...
19505 -h, --help print this help, then exit
19506 -V, --version print version number and configuration settings, then exit
19507 --config print configuration, then exit
19508 -q, --quiet, --silent
19509 do not print progress messages
19510 -d, --debug don't remove temporary files
19511 --recheck update $as_me by reconfiguring in the same conditions
19512 --file=FILE[:TEMPLATE]
19513 instantiate the configuration file FILE
19515 Configuration files:
19518 Report bugs to the package provider."
19521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19525 configured by $0, generated by GNU Autoconf 2.69,
19526 with options \\"\$ac_cs_config\\"
19528 Copyright (C) 2012 Free Software Foundation, Inc.
19529 This config.status script is free software; the Free Software Foundation
19530 gives unlimited permission to copy, distribute and modify it."
19536 test -n "\$AWK" || AWK=awk
19539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19540 # The default lists apply if the user does not specify any file.
19546 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19547 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19551 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19563 # Handling of the options.
19564 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19566 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19567 $as_echo "$ac_cs_version"; exit ;;
19568 --config |
--confi |
--conf |
--con |
--co |
--c )
19569 $as_echo "$ac_cs_config"; exit ;;
19570 --debug |
--debu |
--deb |
--de |
--d |
-d )
19572 --file |
--fil |
--fi |
--f )
19575 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19576 '') as_fn_error $?
"missing file argument" ;;
19578 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19579 ac_need_defaults
=false
;;
19580 --he |
--h |
--help |
--hel |
-h )
19581 $as_echo "$ac_cs_usage"; exit ;;
19582 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19583 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19586 # This is an error.
19587 -*) as_fn_error $?
"unrecognized option: \`$1'
19588 Try \`$0 --help' for more information." ;;
19590 *) as_fn_append ac_config_targets
" $1"
19591 ac_need_defaults
=false
;;
19597 ac_configure_extra_args
=
19599 if $ac_cs_silent; then
19601 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19606 if \$ac_cs_recheck; then
19607 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19609 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19610 CONFIG_SHELL='$SHELL'
19611 export CONFIG_SHELL
19616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19620 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19621 ## Running $as_me. ##
19627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19631 extrasub_build="$extrasub_build"
19632 extrasub_host="$extrasub_host"
19633 extrasub_target="$extrasub_target"
19637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19639 # Handling of arguments.
19640 for ac_config_target
in $ac_config_targets
19642 case $ac_config_target in
19643 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19645 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19650 # If the user did not use the arguments to specify the items to instantiate,
19651 # then the envvar interface is used. Set only those that are not.
19652 # We use the long form for the default assignment because of an extremely
19653 # bizarre bug on SunOS 4.1.3.
19654 if $ac_need_defaults; then
19655 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19658 # Have a temporary directory for convenience. Make it in the build tree
19659 # simply because there is no reason against having it here, and in addition,
19660 # creating and moving files from /tmp can sometimes cause problems.
19661 # Hook for its removal unless debugging.
19662 # Note that there is a small window in which the directory will not be cleaned:
19663 # after its creation but before its name has been assigned to `$tmp'.
19667 trap 'exit_status=$?
19668 : "${ac_tmp:=$tmp}"
19669 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19671 trap 'as_fn_exit 1' 1 2 13 15
19673 # Create a (secure) tmp directory for tmp files.
19676 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19680 tmp
=.
/conf$$
-$RANDOM
19681 (umask 077 && mkdir
"$tmp")
19682 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19685 # Set up the scripts for CONFIG_FILES section.
19686 # No need to generate them if there are no CONFIG_FILES.
19687 # This happens for instance with `./config.status config.h'.
19688 if test -n "$CONFIG_FILES"; then
19690 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
19691 ac_cs_awk_getline
=:
19692 ac_cs_awk_pipe_init
=
19693 ac_cs_awk_read_file
='
19694 while ((getline aline < (F[key])) > 0)
19697 ac_cs_awk_pipe_fini
=
19699 ac_cs_awk_getline
=false
19700 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
19701 ac_cs_awk_read_file
='
19703 print "cat " F[key] " &&"
19704 '$ac_cs_awk_pipe_init
19705 # The final `:' finishes the AND list.
19706 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
19708 ac_cr
=`echo X | tr X '\015'`
19709 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19710 # But we know of no other shell where ac_cr would be empty at this
19711 # point, so we can use a bashism as a fallback.
19712 if test "x$ac_cr" = x
; then
19713 eval ac_cr
=\$
\'\\r
\'
19715 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19719 ac_cs_awk_cr
=$ac_cr
19722 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19725 # Create commands to substitute file output variables.
19727 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
19728 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
19729 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
19732 } >conf$
$files.sh
&&
19733 . .
/conf$
$files.sh ||
19734 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
19735 rm -f conf$
$files.sh
19738 echo "cat >conf$$subs.awk <<_ACEOF" &&
19739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19741 } >conf$$subs.sh ||
19742 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19745 for ac_last_try in false false false false false :; do
19746 . ./conf$$subs.sh ||
19747 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19749 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19750 if test $ac_delim_n = $ac_delim_num; then
19752 elif $ac_last_try; then
19753 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19755 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19758 rm -f conf$$subs.sh
19760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19761 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19765 s/^/S["/; s
/!.
*/"]=/
19775 s/\(.\{148\}\)..*/\1/
19777 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19789 s/\(.\{148\}\)..*/\1/
19791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19795 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19800 ' <conf$$subs.awk | sed '
19805 ' >>$CONFIG_STATUS || ac_write_fail=1
19806 rm -f conf$$subs.awk
19807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19809 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19810 for (key in S) S_is_set[key] = 1
19812 \$ac_cs_awk_pipe_init
19816 nfields = split(line, field, "@
")
19818 len = length(field[1])
19819 for (i = 2; i < nfields; i++) {
19821 keylen = length(key)
19822 if (S_is_set[key]) {
19824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19825 len += length(value) + length(field[++i])
19830 if (nfields == 3 && !substed) {
19832 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
19833 \$ac_cs_awk_read_file
19839 \$ac_cs_awk_pipe_fini
19842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19843 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19844 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19847 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19848 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19851 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19852 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19853 # trailing colons and then remove the whole line if VPATH becomes empty
19854 # (actually we leave an empty line to preserve line numbers).
19855 if test "x
$srcdir" = x.; then
19856 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19875 fi # test -n "$CONFIG_FILES"
19878 eval set X " :F
$CONFIG_FILES "
19883 :[FHLC]) ac_mode=$ac_tag; continue;;
19885 case $ac_mode$ac_tag in
19887 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19888 :[FH]-) ac_tag=-:-;;
19889 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19906 -) ac_f="$ac_tmp/stdin";;
19907 *) # Look for the file first in the build tree, then in the source tree
19908 # (if the path is not absolute). The absolute path cannot be DOS-style,
19909 # because $ac_f cannot contain `:'.
19913 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19915 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19917 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19918 as_fn_append ac_file_inputs " '$ac_f'"
19921 # Let's still pretend it is `configure' which instantiates (i.e., don't
19922 # use $as_me), people would be surprised to read:
19923 # /* config.h. Generated by config.status. */
19924 configure_input='Generated from '`
19925 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19927 if test x"$ac_file" != x-; then
19928 configure_input="$ac_file.
$configure_input"
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19930 $as_echo "$as_me: creating
$ac_file" >&6;}
19932 # Neutralize special characters interpreted by sed in replacement strings.
19933 case $configure_input in #(
19934 *\&* | *\|* | *\\* )
19935 ac_sed_conf_input=`$as_echo "$configure_input" |
19936 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19937 *) ac_sed_conf_input=$configure_input;;
19941 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
19942 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
19947 ac_dir=`$as_dirname -- "$ac_file" ||
19948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19949 X"$ac_file" : 'X\(//\)[^/]' \| \
19950 X"$ac_file" : 'X\(//\)$' \| \
19951 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19952 $as_echo X"$ac_file" |
19953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19957 /^X\(\/\/\)[^/].*/{
19970 as_dir="$ac_dir"; as_fn_mkdir_p
19974 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19976 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19977 # A "..
" for each directory in $ac_dir_suffix.
19978 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19979 case $ac_top_builddir_sub in
19980 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19981 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19984 ac_abs_top_builddir=$ac_pwd
19985 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19986 # for backward compatibility:
19987 ac_top_builddir=$ac_top_build_prefix
19990 .) # We are building in place.
19992 ac_top_srcdir=$ac_top_builddir_sub
19993 ac_abs_top_srcdir=$ac_pwd ;;
19994 [\\/]* | ?:[\\/]* ) # Absolute name.
19995 ac_srcdir=$srcdir$ac_dir_suffix;
19996 ac_top_srcdir=$srcdir
19997 ac_abs_top_srcdir=$srcdir ;;
19998 *) # Relative name.
19999 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20000 ac_top_srcdir=$ac_top_build_prefix$srcdir
20001 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20003 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20013 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20014 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20019 # If the template does not know about datarootdir, expand it.
20020 # FIXME: This hack should be removed a few years after 2.60.
20021 ac_datarootdir_hack=; ac_datarootdir_seen=
20032 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
20033 *datarootdir*) ac_datarootdir_seen=yes;;
20034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
20036 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
20038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20039 ac_datarootdir_hack='
20040 s&@datadir@&$datadir&g
20041 s&@docdir@&$docdir&g
20042 s&@infodir@&$infodir&g
20043 s&@localedir@&$localedir&g
20044 s&@mandir@&$mandir&g
20045 s&\\\${datarootdir}&$datarootdir&g' ;;
20049 # Neutralize VPATH when `$srcdir' = `.'.
20050 # Shell code in configure.ac might set extrasub.
20051 # FIXME: do we really want to maintain this feature?
20052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20053 ac_sed_extra="$ac_vpsub
20056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20058 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20059 s|@configure_input@|
$ac_sed_conf_input|
;t t
20060 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20061 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20062 s
&@srcdir@
&$ac_srcdir&;t t
20063 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20064 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20065 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20066 s
&@builddir@
&$ac_builddir&;t t
20067 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20068 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20069 s
&@INSTALL@
&$ac_INSTALL&;t t
20070 $ac_datarootdir_hack
20072 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
20073 if $ac_cs_awk_getline; then
20074 $AWK -f "$ac_tmp/subs.
awk"
20076 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
20078 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20080 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20081 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20082 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20083 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20085 which seems to be undefined. Please make sure it is defined" >&5
20086 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20087 which seems to be undefined. Please make sure it is defined" >&2;}
20089 rm -f "$ac_tmp/stdin"
20091 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20092 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20102 case $ac_file$ac_mode in
20103 "Makefile":F) sed "$extrasub_build" Makefile |
20104 sed "$extrasub_host" |
20105 sed "$extrasub_target" > mf$$
20106 mv -f mf$$ Makefile ;;
20114 ac_clean_files=$ac_clean_files_save
20116 test $ac_write_fail = 0 ||
20117 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20120 # configure is writing to config.log, and then calls config.status.
20121 # config.status does its own redirection, appending to config.log.
20122 # Unfortunately, on DOS this fails, as config.log is still kept open
20123 # by configure, so config.status won't be able to
write to it
; its
20124 # output is simply discarded. So we exec the FD to /dev/null,
20125 # effectively closing config.log, so it can be properly (re)opened and
20126 # appended to by config.status. When coming back to configure, we
20127 # need to make the FD available again.
20128 if test "$no_create" != yes; then
20130 ac_config_status_args
=
20131 test "$silent" = yes &&
20132 ac_config_status_args
="$ac_config_status_args --quiet"
20134 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20136 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20137 # would make configure fail if this is the last instruction.
20138 $ac_cs_success || as_fn_exit
1
20140 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20142 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}