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
682 DEBUG_PREFIX_CFLAGS_FOR_TARGET
683 SYSROOT_CFLAGS_FOR_TARGET
685 extra_host_zlib_configure_flags
686 extra_host_libiberty_configure_flags
689 extra_linker_plugin_flags
690 extra_linker_plugin_configure_flags
697 extra_isl_gmp_configure_flags
698 extra_mpc_mpfr_configure_flags
699 extra_mpc_gmp_configure_flags
700 extra_mpfr_configure_flags
722 extra_liboffloadmic_configure_flags
749 TOPLEVEL_CONFIGURE_ARGUMENTS
777 program_transform_name
788 ac_subst_files
='serialization_dependencies
794 enable_option_checking
797 enable_as_accelerator_for
798 enable_offload_targets
799 enable_offload_defaulted
802 enable_compressed_debug_sections
804 enable_libquadmath_support
821 with_static_standard_libraries
828 enable_isl_version_check
830 enable_linker_plugin_configure_flags
831 enable_linker_plugin_flags
833 enable_stage1_languages
836 with_target_bdw_gc_include
837 with_target_bdw_gc_lib
838 with_gcc_major_version_only
840 with_debug_prefix_map
843 enable_serial_configure
844 with_build_time_tools
845 enable_maintainer_mode
846 enable_stage1_checking
849 ac_precious_vars
='build_alias
901 # Initialize some variables set by options.
903 ac_init_version
=false
904 ac_unrecognized_opts
=
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
915 program_transform_name
=s
,x
,x
,
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir
='${exec_prefix}/bin'
930 sbindir
='${exec_prefix}/sbin'
931 libexecdir
='${exec_prefix}/libexec'
932 datarootdir
='${prefix}/share'
933 datadir
='${datarootdir}'
934 sysconfdir
='${prefix}/etc'
935 sharedstatedir
='${prefix}/com'
936 localstatedir
='${prefix}/var'
937 includedir
='${prefix}/include'
938 oldincludedir
='/usr/include'
939 docdir
='${datarootdir}/doc/${PACKAGE}'
940 infodir
='${datarootdir}/info'
945 libdir
='${exec_prefix}/lib'
946 localedir
='${datarootdir}/locale'
947 mandir
='${datarootdir}/man'
953 # If the previous option needs an argument, assign it.
954 if test -n "$ac_prev"; then
955 eval $ac_prev=\
$ac_option
961 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
974 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
977 -build |
--build |
--buil |
--bui |
--bu)
978 ac_prev
=build_alias
;;
979 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
980 build_alias
=$ac_optarg ;;
982 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
983 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
984 ac_prev
=cache_file
;;
985 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
986 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
987 cache_file
=$ac_optarg ;;
990 cache_file
=config.cache
;;
992 -datadir |
--datadir |
--datadi |
--datad)
994 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
995 datadir
=$ac_optarg ;;
997 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
998 |
--dataroo |
--dataro |
--datar)
999 ac_prev
=datarootdir
;;
1000 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1001 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1002 datarootdir
=$ac_optarg ;;
1004 -disable-* |
--disable-*)
1005 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1008 as_fn_error $?
"invalid feature name: $ac_useropt"
1009 ac_useropt_orig
=$ac_useropt
1010 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1013 "enable_
$ac_useropt"
1015 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1016 ac_unrecognized_sep
=', ';;
1018 eval enable_
$ac_useropt=no
;;
1020 -docdir |
--docdir |
--docdi |
--doc |
--do)
1022 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1023 docdir
=$ac_optarg ;;
1025 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1027 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1028 dvidir
=$ac_optarg ;;
1030 -enable-* |
--enable-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error $?
"invalid feature name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_
$ac_useropt"
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval enable_
$ac_useropt=\
$ac_optarg ;;
1046 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1047 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1048 |
--exec |
--exe |
--ex)
1049 ac_prev
=exec_prefix
;;
1050 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1051 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1052 |
--exec=* |
--exe=* |
--ex=*)
1053 exec_prefix
=$ac_optarg ;;
1055 -gas |
--gas |
--ga |
--g)
1056 # Obsolete; use --with-gas.
1059 -help |
--help |
--hel |
--he |
-h)
1060 ac_init_help
=long
;;
1061 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1062 ac_init_help
=recursive
;;
1063 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1064 ac_init_help
=short
;;
1066 -host |
--host |
--hos |
--ho)
1067 ac_prev
=host_alias
;;
1068 -host=* |
--host=* |
--hos=* |
--ho=*)
1069 host_alias
=$ac_optarg ;;
1071 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1073 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1075 htmldir
=$ac_optarg ;;
1077 -includedir |
--includedir |
--includedi |
--included |
--include \
1078 |
--includ |
--inclu |
--incl |
--inc)
1079 ac_prev
=includedir
;;
1080 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1081 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1082 includedir
=$ac_optarg ;;
1084 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1086 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1087 infodir
=$ac_optarg ;;
1089 -libdir |
--libdir |
--libdi |
--libd)
1091 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1092 libdir
=$ac_optarg ;;
1094 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1095 |
--libexe |
--libex |
--libe)
1096 ac_prev
=libexecdir
;;
1097 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1098 |
--libexe=* |
--libex=* |
--libe=*)
1099 libexecdir
=$ac_optarg ;;
1101 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1102 ac_prev
=localedir
;;
1103 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1104 localedir
=$ac_optarg ;;
1106 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1107 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1108 ac_prev
=localstatedir
;;
1109 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1110 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1111 localstatedir
=$ac_optarg ;;
1113 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1115 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1116 mandir
=$ac_optarg ;;
1118 -nfp |
--nfp |
--nf)
1119 # Obsolete; use --without-fp.
1122 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1123 |
--no-cr |
--no-c |
-n)
1126 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1127 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1130 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1131 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1132 |
--oldin |
--oldi |
--old |
--ol |
--o)
1133 ac_prev
=oldincludedir
;;
1134 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1135 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1136 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1137 oldincludedir
=$ac_optarg ;;
1139 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1141 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1142 prefix
=$ac_optarg ;;
1144 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1145 |
--program-pre |
--program-pr |
--program-p)
1146 ac_prev
=program_prefix
;;
1147 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1148 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1149 program_prefix
=$ac_optarg ;;
1151 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1152 |
--program-suf |
--program-su |
--program-s)
1153 ac_prev
=program_suffix
;;
1154 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1155 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1156 program_suffix
=$ac_optarg ;;
1158 -program-transform-name |
--program-transform-name \
1159 |
--program-transform-nam |
--program-transform-na \
1160 |
--program-transform-n |
--program-transform- \
1161 |
--program-transform |
--program-transfor \
1162 |
--program-transfo |
--program-transf \
1163 |
--program-trans |
--program-tran \
1164 |
--progr-tra |
--program-tr |
--program-t)
1165 ac_prev
=program_transform_name
;;
1166 -program-transform-name=* |
--program-transform-name=* \
1167 |
--program-transform-nam=* |
--program-transform-na=* \
1168 |
--program-transform-n=* |
--program-transform-=* \
1169 |
--program-transform=* |
--program-transfor=* \
1170 |
--program-transfo=* |
--program-transf=* \
1171 |
--program-trans=* |
--program-tran=* \
1172 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1173 program_transform_name
=$ac_optarg ;;
1175 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1177 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1178 pdfdir
=$ac_optarg ;;
1180 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1182 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1185 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1186 |
-silent |
--silent |
--silen |
--sile |
--sil)
1189 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1191 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1193 sbindir
=$ac_optarg ;;
1195 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1196 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1197 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1199 ac_prev
=sharedstatedir
;;
1200 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1201 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1202 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1204 sharedstatedir
=$ac_optarg ;;
1206 -site |
--site |
--sit)
1208 -site=* |
--site=* |
--sit=*)
1211 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1213 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1214 srcdir
=$ac_optarg ;;
1216 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1217 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1218 ac_prev
=sysconfdir
;;
1219 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1220 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1221 sysconfdir
=$ac_optarg ;;
1223 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1224 ac_prev
=target_alias
;;
1225 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1226 target_alias
=$ac_optarg ;;
1228 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1231 -version |
--version |
--versio |
--versi |
--vers |
-V)
1232 ac_init_version
=: ;;
1235 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1238 as_fn_error $?
"invalid package name: $ac_useropt"
1239 ac_useropt_orig
=$ac_useropt
1240 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246 ac_unrecognized_sep
=', ';;
1248 eval with_
$ac_useropt=\
$ac_optarg ;;
1250 -without-* |
--without-*)
1251 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1254 as_fn_error $?
"invalid package name: $ac_useropt"
1255 ac_useropt_orig
=$ac_useropt
1256 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257 case $ac_user_opts in
1261 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262 ac_unrecognized_sep
=', ';;
1264 eval with_
$ac_useropt=no
;;
1267 # Obsolete; use --with-x.
1270 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1271 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1272 ac_prev
=x_includes
;;
1273 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1274 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1275 x_includes
=$ac_optarg ;;
1277 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1278 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1279 ac_prev
=x_libraries
;;
1280 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1281 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1282 x_libraries
=$ac_optarg ;;
1284 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1285 Try \`$0 --help' for more information"
1289 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1290 # Reject names that are not valid shell variable names.
1291 case $ac_envvar in #(
1292 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1293 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1295 eval $ac_envvar=\
$ac_optarg
1296 export $ac_envvar ;;
1299 # FIXME: should be removed in autoconf 3.0.
1300 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1302 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1309 if test -n "$ac_prev"; then
1310 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1311 as_fn_error $?
"missing argument to $ac_option"
1314 if test -n "$ac_unrecognized_opts"; then
1315 case $enable_option_checking in
1317 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1318 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1322 # Check all directory arguments for consistency.
1323 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324 datadir sysconfdir sharedstatedir localstatedir includedir \
1325 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326 libdir localedir mandir
1328 eval ac_val
=\$
$ac_var
1329 # Remove trailing slashes.
1332 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333 eval $ac_var=\
$ac_val;;
1335 # Be sure to have absolute directory names.
1337 [\\/$
]* | ?
:[\\/]* ) continue;;
1338 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1340 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1348 target
=$target_alias
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x
; then
1352 if test "x$build_alias" = x
; then
1353 cross_compiling
=maybe
1354 elif test "x$build_alias" != "x$host_alias"; then
1360 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1362 test "$silent" = yes && exec 6>/dev
/null
1365 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1366 ac_ls_di
=`ls -di .` &&
1367 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1368 as_fn_error $?
"working directory cannot be determined"
1369 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370 as_fn_error $?
"pwd does not report name of working directory"
1373 # Find the source files, if location was not specified.
1374 if test -z "$srcdir"; then
1375 ac_srcdir_defaulted
=yes
1376 # Try the directory containing this script, then the parent directory.
1377 ac_confdir
=`$as_dirname -- "$as_myself" ||
1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$as_myself" : 'X\(//\)[^/]' \| \
1380 X"$as_myself" : 'X\(//\)$' \| \
1381 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382 $as_echo X"$as_myself" |
1383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1405 ac_srcdir_defaulted
=no
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1409 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1411 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1413 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1415 # When building in place, set srcdir=.
1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419 # Remove unnecessary trailing slashes from srcdir.
1420 # Double slashes in file names in object file debugging info
1421 # mess up M-x gdb in Emacs.
1423 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 as_fn_error $?
"path to source, $srcdir, contains spaces"
1430 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1432 for ac_var
in $ac_precious_vars; do
1433 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1434 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1435 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1436 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1440 # Report the --help message.
1442 if test "$ac_init_help" = "long"; then
1443 # Omit some internal or obsolete options to make the list less imposing.
1444 # This message is too long to be a string in the A/UX 3.1 sh.
1446 \`configure' configures this package to adapt to many kinds of systems.
1448 Usage: $0 [OPTION]... [VAR=VALUE]...
1450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1451 VAR=VALUE. See below for descriptions of some of the useful variables.
1453 Defaults for the options are specified in brackets.
1456 -h, --help display this help and exit
1457 --help=short display options specific to this package
1458 --help=recursive display the short help of all the included packages
1459 -V, --version display version information and exit
1460 -q, --quiet, --silent do not print \`checking ...' messages
1461 --cache-file=FILE cache test results in FILE [disabled]
1462 -C, --config-cache alias for \`--cache-file=config.cache'
1463 -n, --no-create do not create output files
1464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1466 Installation directories:
1467 --prefix=PREFIX install architecture-independent files in PREFIX
1468 [$ac_default_prefix]
1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1472 By default, \`make install' will install all the files in
1473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1475 for instance \`--prefix=\$HOME'.
1477 For better control, use the options below.
1479 Fine tuning of the installation directories:
1480 --bindir=DIR user executables [EPREFIX/bin]
1481 --sbindir=DIR system admin executables [EPREFIX/sbin]
1482 --libexecdir=DIR program executables [EPREFIX/libexec]
1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1486 --libdir=DIR object code libraries [EPREFIX/lib]
1487 --includedir=DIR C header files [PREFIX/include]
1488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1491 --infodir=DIR info documentation [DATAROOTDIR/info]
1492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1493 --mandir=DIR man documentation [DATAROOTDIR/man]
1494 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1495 --htmldir=DIR html documentation [DOCDIR]
1496 --dvidir=DIR dvi documentation [DOCDIR]
1497 --pdfdir=DIR pdf documentation [DOCDIR]
1498 --psdir=DIR ps documentation [DOCDIR]
1504 --program-prefix=PREFIX prepend PREFIX to installed program names
1505 --program-suffix=SUFFIX append SUFFIX to installed program names
1506 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1509 --build=BUILD configure
for building on BUILD
[guessed
]
1510 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1511 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1515 if test -n "$ac_init_help"; then
1520 --disable-option-checking ignore unrecognized
--enable/--with options
1521 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1522 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1523 --enable-as-accelerator-for=ARG
1524 build as offload target compiler. Specify offload
1526 --enable-offload-targets=LIST
1527 enable offloading to devices from comma-separated
1528 LIST of TARGET
[=DIR
]. Use optional path to
find
1529 offload target compiler during the build
1530 --enable-offload-defaulted
1531 If enabled
, configured but not installed offload compilers and
1532 libgomp plugins are silently ignored. Useful
for distribution
1533 compilers where those are
in separate optional packages.
1535 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1536 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1537 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1538 Enable compressed debug sections
for gas
, gold or ld
1540 --disable-libquadmath do not build libquadmath directory
1541 --disable-libquadmath-support
1542 disable libquadmath support
for Fortran
1543 --enable-libada build libada directory
1544 --enable-libssp build libssp directory
1545 --disable-libstdcxx do not build libstdc
++-v3 directory
1546 --enable-liboffloadmic=ARG
1547 build liboffloadmic
[ARG
={no
,host,target
}]
1548 --enable-bootstrap enable bootstrapping
[yes if native build
]
1549 --enable-pgo-build[=lto
]
1550 enable the PGO build
1551 --disable-isl-version-check
1552 disable check
for isl version
1553 --enable-lto enable link
time optimization support
1554 --enable-linker-plugin-configure-flags=FLAGS
1555 additional flags
for configuring linker plugins
1557 --enable-linker-plugin-flags=FLAGS
1558 additional flags
for configuring and building linker
1560 --enable-host-shared build
host code as shared libraries
1561 --enable-stage1-languages[=all
]
1562 choose additional languages to build during stage1.
1563 Mostly useful
for compiler development
1564 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1566 --enable-vtable-verify Enable vtable verification feature
1567 --enable-serial-[{host,target,build}-]configure
1568 force sequential configuration of sub-packages for
1569 the host, target or build machine, or all
1571 --enable-maintainer-mode
1572 enable make rules and dependencies not useful (and
1573 sometimes confusing) to the casual installer
1574 --enable-stage1-checking[=all]
1575 choose additional checking for stage1 of the
1577 --enable-werror enable -Werror in bootstrap stage2 and later
1580 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1581 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1582 --with-build-libsubdir=DIR Directory where to find libraries for build system
1583 --with-system-zlib use installed libz
1584 --with-mpc=PATH specify prefix directory for installed MPC package.
1585 Equivalent to --with-mpc-include=PATH/include plus
1586 --with-mpc-lib=PATH/lib
1587 --with-mpc-include=PATH specify directory for installed MPC include files
1588 --with-mpc-lib=PATH specify directory for the installed MPC library
1589 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1590 Equivalent to --with-mpfr-include=PATH/include plus
1591 --with-mpfr-lib=PATH/lib
1592 --with-mpfr-include=PATH
1593 specify directory for installed MPFR include files
1594 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1595 --with-gmp=PATH specify prefix directory for the installed GMP
1596 package. Equivalent to
1597 --with-gmp-include=PATH/include plus
1598 --with-gmp-lib=PATH/lib
1599 --with-gmp-include=PATH specify directory for installed GMP include files
1600 --with-gmp-lib=PATH specify directory for the installed GMP library
1601 --with-stage1-libs=LIBS libraries for stage1
1602 --with-static-standard-libraries
1603 use -static-libstdc++ and -static-libgcc
1605 --with-stage1-ldflags=FLAGS
1606 linker flags for stage1
1607 --with-boot-libs=LIBS libraries for stage2 and later
1608 --with-boot-ldflags=FLAGS
1609 linker flags for stage2 and later
1610 --with-isl=PATH Specify prefix directory for the installed isl
1611 package. Equivalent to
1612 --with-isl-include=PATH/include plus
1613 --with-isl-lib=PATH/lib
1614 --with-isl-include=PATH Specify directory for installed isl include files
1615 --with-isl-lib=PATH Specify the directory for the installed isl library
1616 --with-target-bdw-gc=PATHLIST
1617 specify prefix directory for installed bdw-gc
1618 package. Equivalent to
1619 --with-target-bdw-gc-include=PATH/include plus
1620 --with-target-bdw-gc-lib=PATH/lib
1621 --with-target-bdw-gc-include=PATHLIST
1622 specify directories for installed bdw-gc include
1624 --with-target-bdw-gc-lib=PATHLIST
1625 specify directories for installed bdw-gc library
1626 --with-gcc-major-version-only
1627 use only GCC major number in filesystem paths
1628 --with-build-sysroot=SYSROOT
1629 use sysroot as the system root during the build
1630 --with-debug-prefix-map='A
=B C
=D ...
'
1631 map A to B, C to D ... in debug information
1632 --with-build-config='NAME NAME2...
'
1633 use config/NAME.mk build configuration
1634 --with-build-time-tools=PATH
1635 use given path to find target tools during the build
1637 Some influential environment variables:
1638 CC C compiler command
1639 CFLAGS C compiler flags
1640 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1641 nonstandard directory <lib dir>
1642 LIBS libraries to pass to the linker, e.g. -l<library>
1643 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1644 you have headers in a nonstandard directory <include dir>
1645 CXX C++ compiler command
1646 CXXFLAGS C++ compiler flags
1648 additional configure arguments for build directories
1650 additional configure arguments for host directories
1652 additional configure arguments for target directories
1655 DLLTOOL DLLTOOL for the host
1656 DSYMUTIL DSYMUTIL for the host
1658 LIPO LIPO for the host
1660 RANLIB RANLIB for the host
1661 STRIP STRIP for the host
1662 WINDRES WINDRES for the host
1663 WINDMC WINDMC for the host
1664 OBJCOPY OBJCOPY for the host
1665 OBJDUMP OBJDUMP for the host
1666 OTOOL OTOOL for the host
1667 READELF READELF for the host
1675 GFORTRAN for the target
1685 DLLTOOL for the target
1687 DSYMUTIL for the target
1695 OBJCOPY for the target
1697 OBJDUMP for the target
1699 OTOOL for the target
1701 RANLIB for the target
1703 READELF for the target
1705 STRIP for the target
1707 WINDRES for the target
1709 WINDMC for the target
1711 Use these variables to override the choices made by `configure' or to
help
1712 it to
find libraries and programs with nonstandard names
/locations.
1714 Report bugs to the package provider.
1719 if test "$ac_init_help" = "recursive"; then
1720 # If there are subdirs, report their specific --help.
1721 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1722 test -d "$ac_dir" ||
1723 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1728 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1730 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1731 # A ".." for each directory in $ac_dir_suffix.
1732 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1733 case $ac_top_builddir_sub in
1734 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1735 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1738 ac_abs_top_builddir
=$ac_pwd
1739 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1740 # for backward compatibility:
1741 ac_top_builddir
=$ac_top_build_prefix
1744 .
) # We are building in place.
1746 ac_top_srcdir
=$ac_top_builddir_sub
1747 ac_abs_top_srcdir
=$ac_pwd ;;
1748 [\\/]* | ?
:[\\/]* ) # Absolute name.
1749 ac_srcdir
=$srcdir$ac_dir_suffix;
1750 ac_top_srcdir
=$srcdir
1751 ac_abs_top_srcdir
=$srcdir ;;
1753 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1754 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1755 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1757 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1759 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1760 # Check for guested configure.
1761 if test -f "$ac_srcdir/configure.gnu"; then
1763 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1764 elif test -f "$ac_srcdir/configure"; then
1766 $SHELL "$ac_srcdir/configure" --help=recursive
1768 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1770 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1774 test -n "$ac_init_help" && exit $ac_status
1775 if $ac_init_version; then
1778 generated by GNU Autoconf
2.69
1780 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1781 This configure
script is free software
; the Free Software Foundation
1782 gives unlimited permission to copy
, distribute and modify it.
1787 ## ------------------------ ##
1788 ## Autoconf initialization. ##
1789 ## ------------------------ ##
1791 # ac_fn_c_try_compile LINENO
1792 # --------------------------
1793 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_compile
()
1796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1797 rm -f conftest.
$ac_objext
1798 if { { ac_try
="$ac_compile"
1800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_compile") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest.$ac_objext; then :
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status $ac_retval
1827 } # ac_fn_c_try_compile
1829 # ac_fn_cxx_try_compile LINENO
1830 # ----------------------------
1831 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1832 ac_fn_cxx_try_compile ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext
1836 if { { ac_try="$ac_compile"
1838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_compile") 2>conftest.err
1845 if test -s conftest.err
; then
1846 grep -v '^ *+' conftest.err
>conftest.er1
1847 cat conftest.er1
>&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_cxx_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest.
$ac_objext; then :
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.
$ac_ext >&5
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1863 as_fn_set_status
$ac_retval
1865 } # ac_fn_cxx_try_compile
1867 # ac_fn_cxx_try_link LINENO
1868 # -------------------------
1869 # Try to link conftest.$ac_ext, and return whether this succeeded.
1870 ac_fn_cxx_try_link
()
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 rm -f conftest.
$ac_objext conftest
$ac_exeext
1874 if { { ac_try
="$ac_link"
1876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_link") 2>conftest.err
1883 if test -s conftest.err; then
1884 grep -v '^ *+' conftest.err >conftest.er1
1885 cat conftest.er1 >&5
1886 mv -f conftest.er1 conftest.err
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && {
1890 test -z "$ac_cxx_werror_flag" ||
1891 test ! -s conftest.err
1892 } && test -s conftest$ac_exeext && {
1893 test "$cross_compiling" = yes ||
1894 test -x conftest$ac_exeext
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.$ac_ext >&5
1903 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1904 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1905 # interfere with the next link command; also delete a directory that is
1906 # left behind by Apple's compiler. We do this before executing the actions.
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909 as_fn_set_status $ac_retval
1911 } # ac_fn_cxx_try_link
1913 # ac_fn_c_try_link LINENO
1914 # -----------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded.
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 rm -f conftest.$ac_objext conftest$ac_exeext
1920 if { { ac_try="$ac_link"
1922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1923 *) ac_try_echo
=$ac_try;;
1925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_link") 2>conftest.err
1929 if test -s conftest.err
; then
1930 grep -v '^ *+' conftest.err
>conftest.er1
1931 cat conftest.er1
>&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } && {
1936 test -z "$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1938 } && test -s conftest
$ac_exeext && {
1939 test "$cross_compiling" = yes ||
1940 test -x conftest
$ac_exeext
1944 $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.
$ac_ext >&5
1949 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1950 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1951 # interfere with the next link command; also delete a directory that is
1952 # left behind by Apple's compiler. We do this before executing the actions.
1953 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status
$ac_retval
1957 } # ac_fn_c_try_link
1958 cat >config.log
<<_ACEOF
1959 This file contains any messages produced by compilers while
1960 running configure, to aid debugging if configure makes a mistake.
1962 It was created by $as_me, which was
1963 generated by GNU Autoconf 2.69. Invocation command line was
1975 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1976 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1977 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1978 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1979 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1981 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1982 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1984 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1985 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1986 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1987 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1988 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1989 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1990 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 $as_echo "PATH: $as_dir"
2015 # Keep a trace of the command line.
2016 # Strip out --no-create and --no-recursion so they do not pile up.
2017 # Strip out --silent because we don't want to record it for future runs.
2018 # Also quote any args containing shell meta-characters.
2019 # Make two passes to allow for proper duplicate-argument suppression.
2023 ac_must_keep_next
=false
2029 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2030 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2031 |
-silent |
--silent |
--silen |
--sile |
--sil)
2034 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2037 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2039 as_fn_append ac_configure_args1
" '$ac_arg'"
2040 if test $ac_must_keep_next = true
; then
2041 ac_must_keep_next
=false
# Got value, back to normal.
2044 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2045 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2046 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2047 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2048 case "$ac_configure_args0 " in
2049 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2052 -* ) ac_must_keep_next
=true
;;
2055 as_fn_append ac_configure_args
" '$ac_arg'"
2060 { ac_configure_args0
=; unset ac_configure_args0
;}
2061 { ac_configure_args1
=; unset ac_configure_args1
;}
2063 # When interrupted or exit'd, cleanup temporary files, and complete
2064 # config.log. We remove comments because anyway the quotes in there
2065 # would cause problems or look ugly.
2066 # WARNING: Use '\'' to represent an apostrophe within the trap.
2067 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2068 trap 'exit_status=$?
2069 # Save into config.log some information that might help in debugging.
2073 $as_echo "## ---------------- ##
2074 ## Cache variables. ##
2075 ## ---------------- ##"
2077 # The following way of writing the cache mishandles newlines in values,
2079 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2080 eval ac_val=\$$ac_var
2084 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2085 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2088 _ | IFS | as_nl) ;; #(
2089 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2090 *) { eval $ac_var=; unset $ac_var;} ;;
2095 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2096 *${as_nl}ac_space=\ *)
2098 "s/'\''/'\''\\\\'\'''\''/g;
2099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2109 $as_echo "## ----------------- ##
2110 ## Output variables. ##
2111 ## ----------------- ##"
2113 for ac_var in $ac_subst_vars
2115 eval ac_val=\$$ac_var
2117 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2119 $as_echo "$ac_var='\''$ac_val'\''"
2123 if test -n "$ac_subst_files"; then
2124 $as_echo "## ------------------- ##
2125 ## File substitutions. ##
2126 ## ------------------- ##"
2128 for ac_var
in $ac_subst_files
2130 eval ac_val
=\$
$ac_var
2132 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134 $as_echo "$ac_var='\''$ac_val'\''"
2139 if test -s confdefs.h; then
2140 $as_echo "## ----------- ##
2147 test "$ac_signal" != 0 &&
2148 $as_echo "$as_me: caught signal $ac_signal"
2149 $as_echo "$as_me: exit $exit_status"
2151 rm -f core *.core core.conftest.* &&
2152 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2155 for ac_signal
in 1 2 13 15; do
2156 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2160 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2161 rm -f -r conftest
* confdefs.h
2163 $as_echo "/* confdefs.h */" > confdefs.h
2165 # Predefined preprocessor variables.
2167 cat >>confdefs.h
<<_ACEOF
2168 #define PACKAGE_NAME "$PACKAGE_NAME"
2171 cat >>confdefs.h
<<_ACEOF
2172 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_STRING "$PACKAGE_STRING"
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2187 cat >>confdefs.h
<<_ACEOF
2188 #define PACKAGE_URL "$PACKAGE_URL"
2192 # Let the site file select an alternate cache file if it wants to.
2193 # Prefer an explicitly selected file to automatically selected ones.
2196 if test -n "$CONFIG_SITE"; then
2197 # We do not want a PATH search for config.site.
2198 case $CONFIG_SITE in #((
2199 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2200 */*) ac_site_file1
=$CONFIG_SITE;;
2201 *) ac_site_file1
=.
/$CONFIG_SITE;;
2203 elif test "x$prefix" != xNONE
; then
2204 ac_site_file1
=$prefix/share
/config.site
2205 ac_site_file2
=$prefix/etc
/config.site
2207 ac_site_file1
=$ac_default_prefix/share
/config.site
2208 ac_site_file2
=$ac_default_prefix/etc
/config.site
2210 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2212 test "x$ac_site_file" = xNONE
&& continue
2213 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2215 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2216 sed 's/^/| /' "$ac_site_file" >&5
2218 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2220 as_fn_error $?
"failed to load site script $ac_site_file
2221 See \`config.log' for more details" "$LINENO" 5; }
2225 if test -r "$cache_file"; then
2226 # Some versions of bash will fail to source /dev/null (special files
2227 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2228 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2230 $as_echo "$as_me: loading cache $cache_file" >&6;}
2232 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2233 *) .
"./$cache_file";;
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2238 $as_echo "$as_me: creating cache $cache_file" >&6;}
2242 # Check that the precious variables saved in the cache have kept the same
2244 ac_cache_corrupted
=false
2245 for ac_var
in $ac_precious_vars; do
2246 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2247 eval ac_new_set
=\
$ac_env_${ac_var}_set
2248 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2249 eval ac_new_val
=\
$ac_env_${ac_var}_value
2250 case $ac_old_set,$ac_new_set in
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2253 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2254 ac_cache_corrupted
=: ;;
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2257 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2258 ac_cache_corrupted
=: ;;
2261 if test "x$ac_old_val" != "x$ac_new_val"; then
2262 # differences in whitespace do not lead to failure.
2263 ac_old_val_w
=`echo x $ac_old_val`
2264 ac_new_val_w
=`echo x $ac_new_val`
2265 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2267 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2268 ac_cache_corrupted
=:
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2271 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2272 eval $ac_var=\
$ac_old_val
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2275 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2277 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2280 # Pass precious variables to config.status.
2281 if test "$ac_new_set" = set; then
2283 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2284 *) ac_arg
=$ac_var=$ac_new_val ;;
2286 case " $ac_configure_args " in
2287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2288 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2292 if $ac_cache_corrupted; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2296 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2297 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2299 ## -------------------- ##
2300 ## Main body of script. ##
2301 ## -------------------- ##
2304 ac_cpp
='$CPP $CPPFLAGS'
2305 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2317 # if PWD already has a value, it is probably wrong.
2318 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2320 # Export original configure arguments for use by sub-configures.
2321 # Quote arguments with shell meta charatcers.
2322 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2323 set -- "$progname" "$@"
2327 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2328 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2329 # if the argument is of the form -foo=baz, quote the baz part only
2330 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2333 # Add the quoted argument to the list.
2334 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2336 if test "$silent" = yes; then
2337 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2339 # Remove the initial space we just introduced and, as these will be
2340 # expanded by make, quote '$'.
2341 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2344 # Find the build, host, and target systems.
2346 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2347 if test -f "$ac_dir/install-sh"; then
2349 ac_install_sh
="$ac_aux_dir/install-sh -c"
2351 elif test -f "$ac_dir/install.sh"; then
2353 ac_install_sh
="$ac_aux_dir/install.sh -c"
2355 elif test -f "$ac_dir/shtool"; then
2357 ac_install_sh
="$ac_aux_dir/shtool install -c"
2361 if test -z "$ac_aux_dir"; then
2362 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2365 # These three variables are undocumented and unsupported,
2366 # and are intended to be withdrawn in a future Autoconf release.
2367 # They can cause serious problems if a builder's source tree is in a directory
2368 # whose full name contains unusual characters.
2369 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2370 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2371 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2374 # Make sure we can run config.sub.
2375 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2376 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2379 $as_echo_n "checking build system type... " >&6; }
2380 if ${ac_cv_build+:} false
; then :
2381 $as_echo_n "(cached) " >&6
2383 ac_build_alias
=$build_alias
2384 test "x$ac_build_alias" = x
&&
2385 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2386 test "x$ac_build_alias" = x
&&
2387 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2388 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2389 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2393 $as_echo "$ac_cv_build" >&6; }
2394 case $ac_cv_build in
2396 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2399 ac_save_IFS
=$IFS; IFS
='-'
2405 # Remember, the first character of IFS is used to create $*,
2406 # except with old shells:
2409 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2412 case ${build_alias} in
2413 "") build_noncanonical
=${build} ;;
2414 *) build_noncanonical
=${build_alias} ;;
2419 case ${host_alias} in
2420 "") host_noncanonical
=${build_noncanonical} ;;
2421 *) host_noncanonical
=${host_alias} ;;
2426 case ${target_alias} in
2427 "") target_noncanonical
=${host_noncanonical} ;;
2428 *) target_noncanonical
=${target_alias} ;;
2434 test "$host_noncanonical" = "$target_noncanonical" &&
2435 test "$program_prefix$program_suffix$program_transform_name" = \
2437 program_transform_name
=s
,y
,y
,
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2440 $as_echo_n "checking host system type... " >&6; }
2441 if ${ac_cv_host+:} false
; then :
2442 $as_echo_n "(cached) " >&6
2444 if test "x$host_alias" = x
; then
2445 ac_cv_host
=$ac_cv_build
2447 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2448 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2453 $as_echo "$ac_cv_host" >&6; }
2456 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2459 ac_save_IFS
=$IFS; IFS
='-'
2465 # Remember, the first character of IFS is used to create $*,
2466 # except with old shells:
2469 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2473 $as_echo_n "checking target system type... " >&6; }
2474 if ${ac_cv_target+:} false
; then :
2475 $as_echo_n "(cached) " >&6
2477 if test "x$target_alias" = x
; then
2478 ac_cv_target
=$ac_cv_host
2480 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2481 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2486 $as_echo "$ac_cv_target" >&6; }
2487 case $ac_cv_target in
2489 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2491 target
=$ac_cv_target
2492 ac_save_IFS
=$IFS; IFS
='-'
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2502 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2505 # The aliases save the names the user supplied, while $host etc.
2506 # will get canonicalized.
2507 test -n "$target_alias" &&
2508 test "$program_prefix$program_suffix$program_transform_name" = \
2510 program_prefix
=${target_alias}-
2512 test "$program_prefix" != NONE
&&
2513 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2514 # Use a double $ so make ignores it.
2515 test "$program_suffix" != NONE
&&
2516 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2517 # Double any \ or $.
2518 # By default was `s,x,x', remove it if useless.
2519 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2520 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2524 # Get 'install' or 'install-sh' and its variants.
2525 # Find a good install program. We prefer a C program (faster),
2526 # so one script is as good as another. But avoid the broken or
2527 # incompatible versions:
2528 # SysV /etc/install, /usr/sbin/install
2529 # SunOS /usr/etc/install
2530 # IRIX /sbin/install
2532 # AmigaOS /C/install, which installs bootblocks on floppy discs
2533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2536 # OS/2's system install, which has a completely different semantic
2537 # ./install, which can be erroneously created by make from ./install.sh.
2538 # Reject install programs that cannot install multiple files.
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2540 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2541 if test -z "$INSTALL"; then
2542 if ${ac_cv_path_install+:} false
; then :
2543 $as_echo_n "(cached) " >&6
2545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2549 test -z "$as_dir" && as_dir
=.
2550 # Account for people who put trailing slashes in PATH elements.
2551 case $as_dir/ in #((
2552 .
/ | .
// |
/[cC
]/* | \
2553 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2554 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2557 # OSF1 and SCO ODT 3.0 have their own names for install.
2558 # Don't use installbsd from OSF since it installs stuff as root
2560 for ac_prog
in ginstall scoinst
install; do
2561 for ac_exec_ext
in '' $ac_executable_extensions; do
2562 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2563 if test $ac_prog = install &&
2564 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2565 # AIX install. It has an incompatible calling convention.
2567 elif test $ac_prog = install &&
2568 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2569 # program-specific install script used by HP pwplus--don't use.
2572 rm -rf conftest.one conftest.two conftest.dir
2573 echo one
> conftest.one
2574 echo two
> conftest.two
2576 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2577 test -s conftest.one
&& test -s conftest.two
&&
2578 test -s conftest.dir
/conftest.one
&&
2579 test -s conftest.dir
/conftest.two
2581 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2594 rm -rf conftest.one conftest.two conftest.dir
2597 if test "${ac_cv_path_install+set}" = set; then
2598 INSTALL
=$ac_cv_path_install
2600 # As a last resort, use the slow shell script. Don't cache a
2601 # value for INSTALL within a source directory, because that will
2602 # break other packages using the cache if that directory is
2603 # removed, or if the value is a relative name.
2604 INSTALL
=$ac_install_sh
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2608 $as_echo "$INSTALL" >&6; }
2610 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2611 # It thinks the first close brace ends the variable substitution.
2612 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2614 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2616 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2619 $as_echo_n "checking whether ln works... " >&6; }
2620 if ${acx_cv_prog_LN+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 rm -f conftestdata_t
2624 echo >conftestdata_f
2625 if ln conftestdata_f conftestdata_t
2>/dev
/null
2631 rm -f conftestdata_f conftestdata_t
2634 if test $acx_cv_prog_LN = no
; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2637 $as_echo "no, using $LN" >&6; }
2639 LN
="$acx_cv_prog_LN"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641 $as_echo "yes" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2645 $as_echo_n "checking whether ln -s works... " >&6; }
2647 if test "$LN_S" = "ln -s"; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2649 $as_echo "yes" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2652 $as_echo "no, using $LN_S" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2656 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2657 if ${ac_cv_path_SED+:} false
; then :
2658 $as_echo_n "(cached) " >&6
2660 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2661 for ac_i
in 1 2 3 4 5 6 7; do
2662 ac_script
="$ac_script$as_nl$ac_script"
2664 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2665 { ac_script
=; unset ac_script
;}
2666 if test -z "$SED"; then
2667 ac_path_SED_found
=false
2668 # Loop through the user's path and test for each of PROGNAME-LIST
2669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir
=.
2674 for ac_prog
in sed gsed
; do
2675 for ac_exec_ext
in '' $ac_executable_extensions; do
2676 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2677 as_fn_executable_p
"$ac_path_SED" ||
continue
2678 # Check for GNU ac_path_SED and select it if it is found.
2679 # Check for GNU $ac_path_SED
2680 case `"$ac_path_SED" --version 2>&1` in
2682 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2685 $as_echo_n 0123456789 >"conftest.in"
2688 cat "conftest.in" "conftest.in" >"conftest.tmp"
2689 mv "conftest.tmp" "conftest.in"
2690 cp "conftest.in" "conftest.nl"
2691 $as_echo '' >> "conftest.nl"
2692 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2693 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2694 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2695 if test $ac_count -gt ${ac_path_SED_max-0}; then
2696 # Best one so far, save it but keep looking for a better one
2697 ac_cv_path_SED
="$ac_path_SED"
2698 ac_path_SED_max
=$ac_count
2700 # 10*(2^10) chars as input seems more than enough
2701 test $ac_count -gt 10 && break
2703 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2706 $ac_path_SED_found && break 3
2711 if test -z "$ac_cv_path_SED"; then
2712 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2720 $as_echo "$ac_cv_path_SED" >&6; }
2721 SED
="$ac_cv_path_SED"
2724 for ac_prog
in gawk mawk nawk
awk
2726 # Extract the first word of "$ac_prog", so it can be a program name with args.
2727 set dummy
$ac_prog; ac_word
=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_AWK+:} false
; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$AWK"; then
2734 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir
=.
2741 for ac_exec_ext
in '' $ac_executable_extensions; do
2742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2743 ac_cv_prog_AWK
="$ac_prog"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 if test -n "$AWK"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2756 $as_echo "$AWK" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2763 test -n "$AWK" && break
2767 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2769 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2771 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2772 INSTALL
="${srcpwd}/install-sh -c"
2775 # Set srcdir to "." if that's what it is.
2776 # This is important for multilib support.
2778 if test "${pwd}" = "${srcpwd}" ; then
2786 ### To add a new directory to the tree, first choose whether it is a target
2787 ### or a host dependent tool. Then put it into the appropriate list
2788 ### (library or tools, host or target), doing a dependency sort.
2790 # Subdirs will be configured in the order listed in build_configdirs,
2791 # configdirs, or target_configdirs; see the serialization section below.
2793 # Dependency sorting is only needed when *configuration* must be done in
2794 # a particular order. In all cases a dependency should be specified in
2795 # the Makefile, whether or not it's implicitly specified here.
2797 # Double entries in build_configdirs, configdirs, or target_configdirs may
2798 # cause circular dependencies and break everything horribly.
2800 # these library is used by various programs built for the build
2803 build_libs
="build-libiberty build-libcpp"
2805 # these tools are built for the build environment
2806 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2808 # these libraries are used by various programs built for the host environment
2810 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2812 # these tools are built for the host environment
2813 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2814 # know that we are building the simulator.
2815 # binutils, gas and ld appear in that order because it makes sense to run
2816 # "make check" in that particular order.
2817 # If --enable-gold is used, "gold" may replace "ld".
2818 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools c++tools"
2820 # these libraries are built for the target environment, and are built after
2821 # the host libraries and the host tools (which may be a cross compiler)
2822 # Note that libiberty is not a target library.
2823 target_libraries
="target-libgcc \
2824 target-libbacktrace \
2828 target-liboffloadmic \
2831 target-libstdc++-v3 \
2832 target-libsanitizer \
2835 target-libquadmath \
2836 target-libgfortran \
2844 # these tools are built using the target libraries, and are intended to
2845 # run only in the target environment
2847 # note: any program that *uses* libraries that are in the "target_libraries"
2848 # list belongs in this list.
2850 target_tools
="target-rda"
2852 ################################################################################
2854 ## All tools belong in one of the four categories, and are assigned above
2855 ## We assign ${configdirs} this way to remove all embedded newlines. This
2856 ## is important because configure will choke if they ever get through.
2857 ## ${configdirs} is directories we build using the host tools.
2858 ## ${target_configdirs} is directories we build using the target tools.
2859 configdirs
=`echo ${host_libs} ${host_tools}`
2860 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2861 build_configdirs
=`echo ${build_libs} ${build_tools}`
2865 ################################################################################
2867 srcname
="gnu development package"
2869 # This gets set non-empty for some net releases of packages.
2872 # Define is_cross_compiler to save on calls to 'test'.
2874 if test x
"${host}" = x
"${target}" ; then
2875 is_cross_compiler
=no
2877 is_cross_compiler
=yes
2880 # Find the build and target subdir names.
2882 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2883 # have matching libraries, they should use host libraries: Makefile.tpl
2884 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2885 # However, they still use the build modules, because the corresponding
2886 # host modules (e.g. bison) are only built for the host when bootstrap
2888 # - build_subdir is where we find build modules, and never changes.
2889 # - build_libsubdir is where we find build libraries, and can be overridden.
2891 # Prefix 'build-' so this never conflicts with target_subdir.
2892 build_subdir
="build-${build_noncanonical}"
2894 # Check whether --with-build-libsubdir was given.
2895 if test "${with_build_libsubdir+set}" = set; then :
2896 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2898 build_libsubdir
="$build_subdir"
2901 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2902 if ( test $srcdir = .
&& test -d gcc
) \
2903 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2904 host_subdir
="host-${host_noncanonical}"
2909 target_subdir
=${target_noncanonical}
2911 # Be sure to cover against remnants of an in-tree build.
2912 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2913 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2914 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2917 # Skipdirs are removed silently.
2919 # Noconfigdirs are removed loudly.
2923 # Make sure we don't let GNU ld be added if we didn't want it.
2924 if test x
$with_gnu_ld = xno
; then
2926 noconfigdirs
="$noconfigdirs ld gold"
2930 # Make sure we don't let GNU as be added if we didn't want it.
2931 if test x
$with_gnu_as = xno
; then
2933 noconfigdirs
="$noconfigdirs gas"
2938 # Check whether --with-system-zlib was given.
2939 if test "${with_system_zlib+set}" = set; then :
2940 withval
=$with_system_zlib;
2943 # Make sure we don't let ZLIB be added if we didn't want it.
2944 if test x
$with_system_zlib = xyes
; then
2945 use_included_zlib
=no
2946 noconfigdirs
="$noconfigdirs zlib"
2949 # some tools are so dependent upon X11 that if we're not building with X,
2950 # it's not even worth trying to configure, much less build, that tool.
2953 yes |
"") ;; # the default value for this tree is that X11 is available
2955 skipdirs
="${skipdirs} tk itcl libgui"
2956 # We won't be able to build gdbtk without X.
2959 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2962 # Some are only suitable for cross toolchains.
2963 # Remove these if host=target.
2964 cross_only
="target-libgloss target-newlib target-opcodes"
2966 case $is_cross_compiler in
2967 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2970 # If both --with-headers and --with-libs are specified, default to
2972 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2973 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2974 if test x
"${with_newlib}" = x
; then
2979 # Recognize --with-newlib/--without-newlib.
2980 case ${with_newlib} in
2981 no
) skipdirs
="${skipdirs} target-newlib" ;;
2982 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2985 # Check whether --enable-as-accelerator-for was given.
2986 if test "${enable_as_accelerator_for+set}" = set; then :
2987 enableval
=$enable_as_accelerator_for;
2991 # Check whether --enable-offload-targets was given.
2992 if test "${enable_offload_targets+set}" = set; then :
2993 enableval
=$enable_offload_targets;
2994 if test x
"$enable_offload_targets" = x
; then
2995 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2999 enable_offload_targets
=
3003 # Check whether --enable-offload-defaulted was given.
3004 if test "${enable_offload_defaulted+set}" = set; then :
3005 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
3007 enable_offload_defaulted
=
3011 # Handle --enable-gold, --enable-ld.
3012 # --disable-gold [--enable-ld]
3013 # Build only ld. Default option.
3014 # --enable-gold [--enable-ld]
3015 # Build both gold and ld. Install gold as "ld.gold", install ld
3016 # as "ld.bfd" and "ld".
3017 # --enable-gold=default [--enable-ld]
3018 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3019 # install ld as "ld.bfd".
3020 # --enable-gold[=default] --disable-ld
3021 # Build only gold, which is then installed as both "ld.gold" and "ld".
3022 # --enable-gold --enable-ld=default
3023 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3025 # In other words, ld is default
3026 # --enable-gold=default --enable-ld=default
3030 # Check whether --enable-gold was given.
3031 if test "${enable_gold+set}" = set; then :
3032 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3037 case "${ENABLE_GOLD}" in
3039 # Check for ELF target.
3042 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3043 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3044 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3045 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3047 *-*-linux*aout
* |
*-*-linux*oldld
*)
3055 if test "$is_elf" = "yes"; then
3056 # Check for target supported by gold.
3058 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3059 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-* | loongarch
*-*-*)
3060 configdirs
="$configdirs gold"
3061 if test x
${ENABLE_GOLD} = xdefault
; then
3072 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3076 # Check whether --enable-ld was given.
3077 if test "${enable_ld+set}" = set; then :
3078 enableval
=$enable_ld; ENABLE_LD
=$enableval
3084 case "${ENABLE_LD}" in
3086 if test x
${default_ld} != x
; then
3087 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3093 if test x
${ENABLE_GOLD} != xyes
; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3095 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3097 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3100 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3105 # Decide the default method for compressing debug sections.
3106 # Provide a configure time option to override our default.
3107 # Check whether --enable-compressed_debug_sections was given.
3108 if test "${enable_compressed_debug_sections+set}" = set; then :
3109 enableval
=$enable_compressed_debug_sections;
3110 if test x
"$enable_compressed_debug_sections" = xyes
; then
3111 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3115 enable_compressed_debug_sections
=
3119 # Configure extra directories which are host specific
3123 configdirs
="$configdirs libtermcap" ;;
3126 # A target can indicate whether a language isn't supported for some reason.
3127 # Only spaces may be used in this macro; not newlines or tabs.
3128 unsupported_languages
=
3130 # Remove more programs from consideration, based on the host or
3131 # target this usually means that a port of the program doesn't
3135 i
[3456789]86-*-msdosdjgpp*)
3136 noconfigdirs
="$noconfigdirs tcl tk itcl"
3141 # Check whether --enable-libquadmath was given.
3142 if test "${enable_libquadmath+set}" = set; then :
3143 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3145 ENABLE_LIBQUADMATH
=yes
3148 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3149 noconfigdirs
="$noconfigdirs target-libquadmath"
3153 # Check whether --enable-libquadmath-support was given.
3154 if test "${enable_libquadmath_support+set}" = set; then :
3155 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3157 ENABLE_LIBQUADMATH_SUPPORT
=yes
3160 enable_libquadmath_support
=
3161 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3162 enable_libquadmath_support
=no
3166 # Check whether --enable-libada was given.
3167 if test "${enable_libada+set}" = set; then :
3168 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3173 if test "${ENABLE_LIBADA}" != "yes" ; then
3174 noconfigdirs
="$noconfigdirs gnattools"
3177 # Check whether --enable-libssp was given.
3178 if test "${enable_libssp+set}" = set; then :
3179 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3185 # Check whether --enable-libstdcxx was given.
3186 if test "${enable_libstdcxx+set}" = set; then :
3187 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3189 ENABLE_LIBSTDCXX
=default
3192 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3193 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3196 # If this is accelerator compiler and its target is intelmic we enable
3197 # target liboffloadmic by default. If this is compiler with offloading
3198 # for intelmic we enable host liboffloadmic by default. Otherwise
3199 # liboffloadmic is disabled by default.
3200 # Check whether --enable-liboffloadmic was given.
3201 if test "${enable_liboffloadmic+set}" = set; then :
3202 enableval
=$enable_liboffloadmic; case "$enableval" in
3204 enable_liboffloadmic
=$enableval ;;
3206 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3209 if test x
"$enable_as_accelerator_for" != x
; then
3211 *-intelmic-* |
*-intelmicemul-*)
3212 enable_liboffloadmic
=target
3213 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3216 enable_liboffloadmic
=no
3220 case "${enable_offload_targets}" in
3221 *-intelmic-* |
*-intelmicemul-*)
3222 enable_liboffloadmic
=host
3223 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3226 enable_liboffloadmic
=no
3234 # Enable libgomp by default on hosted POSIX systems, and a few others.
3235 if test x
$enable_libgomp = x
; then
3237 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3239 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3241 *-*-solaris2* |
*-*-hpux11*)
3243 *-*-darwin* |
*-*-aix*)
3245 nvptx
*-*-* | amdgcn
*-*-*)
3248 noconfigdirs
="$noconfigdirs target-libgomp"
3253 # Disable libatomic on unsupported systems.
3254 if test -d ${srcdir}/libatomic
; then
3255 if test x
$enable_libatomic = x
; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3257 $as_echo_n "checking for libatomic support... " >&6; }
3258 if (srcdir
=${srcdir}/libatomic
; \
3259 .
${srcdir}/configure.tgt
; \
3260 test -n "$UNSUPPORTED")
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3264 noconfigdirs
="$noconfigdirs target-libatomic"
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3267 $as_echo "yes" >&6; }
3272 # Disable liboffloadmic on unsupported systems.
3273 if test -d ${srcdir}/liboffloadmic
; then
3274 if test x
$enable_liboffloadmic != xno
; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3276 $as_echo_n "checking for liboffloadmic support... " >&6; }
3277 if (srcdir
=${srcdir}/liboffloadmic
; \
3278 .
${srcdir}/configure.tgt
; \
3279 test -n "$UNSUPPORTED")
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3286 $as_echo "yes" >&6; }
3291 # Disable libitm on unsupported systems.
3292 if test -d ${srcdir}/libitm
; then
3293 if test x
$enable_libitm = x
; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3295 $as_echo_n "checking for libitm support... " >&6; }
3296 if (srcdir
=${srcdir}/libitm
; \
3297 .
${srcdir}/configure.tgt
; \
3298 test -n "$UNSUPPORTED")
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3301 $as_echo "no" >&6; }
3302 noconfigdirs
="$noconfigdirs target-libitm"
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3305 $as_echo "yes" >&6; }
3310 # Disable libsanitizer on unsupported systems.
3311 if test -d ${srcdir}/libsanitizer
; then
3312 if test x
$enable_libsanitizer = x
; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3314 $as_echo_n "checking for libsanitizer support... " >&6; }
3315 if (srcdir
=${srcdir}/libsanitizer
; \
3316 .
${srcdir}/configure.tgt
; \
3317 test -n "$UNSUPPORTED")
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 $as_echo "no" >&6; }
3321 noconfigdirs
="$noconfigdirs target-libsanitizer"
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3324 $as_echo "yes" >&6; }
3329 # Disable libvtv on unsupported systems.
3330 if test -d ${srcdir}/libvtv
; then
3331 if test x
$enable_libvtv = x
; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3333 $as_echo_n "checking for libvtv support... " >&6; }
3334 if (srcdir
=${srcdir}/libvtv
; \
3335 .
${srcdir}/configure.tgt
; \
3336 test "$VTV_SUPPORTED" != "yes")
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 noconfigdirs
="$noconfigdirs target-libvtv"
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3343 $as_echo "yes" >&6; }
3348 # Disable libquadmath for some systems.
3351 noconfigdirs
="$noconfigdirs target-libquadmath"
3353 # libquadmath is unused on AIX and libquadmath build process use of
3354 # LD_LIBRARY_PATH can break AIX bootstrap.
3355 powerpc-
*-aix* | rs6000-
*-aix*)
3356 noconfigdirs
="$noconfigdirs target-libquadmath"
3360 # Disable libssp for some systems.
3363 # No hosted I/O support.
3364 noconfigdirs
="$noconfigdirs target-libssp"
3367 noconfigdirs
="$noconfigdirs target-libssp"
3369 powerpc-
*-aix* | rs6000-
*-aix*)
3370 noconfigdirs
="$noconfigdirs target-libssp"
3373 # No hosted I/O support.
3374 noconfigdirs
="$noconfigdirs target-libssp"
3377 # libssp uses a misaligned load to trigger a fault, but the RL78
3378 # doesn't fault for those - instead, it gives a build-time error
3379 # for explicit misaligned loads.
3380 noconfigdirs
="$noconfigdirs target-libssp"
3383 # No hosted I/O support.
3384 noconfigdirs
="$noconfigdirs target-libssp"
3388 # Disable libstdc++-v3 for some systems.
3389 # Allow user to override this if they pass --enable-libstdcxx
3390 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3393 # VxWorks uses the Dinkumware C++ library.
3394 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3397 # Not ported/fails to build when using newlib.
3398 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3401 # the C++ libraries don't build on top of CE's C libraries
3402 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3405 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3408 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3411 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3416 # Disable C++ on systems where it is known to not work.
3417 # For testing, you can override this with --enable-languages=c++.
3418 case ,${enable_languages}, in
3424 unsupported_languages
="$unsupported_languages c++"
3430 # Disable Objc on systems where it is known to not work.
3431 # For testing, you can override this with --enable-languages=objc.
3432 case ,${enable_languages}, in
3438 unsupported_languages
="$unsupported_languages objc"
3444 # Disable D on systems where it is known to not work.
3445 # For testing, you can override this with --enable-languages=d.
3446 case ,${enable_languages}, in
3452 unsupported_languages
="$unsupported_languages d"
3458 # Disable libphobos on unsupported systems.
3459 # For testing, you can override this with --enable-libphobos.
3460 if test -d ${srcdir}/libphobos
; then
3461 if test x
$enable_libphobos = x
; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3463 $as_echo_n "checking for libphobos support... " >&6; }
3464 if (srcdir
=${srcdir}/libphobos
; \
3465 .
${srcdir}/configure.tgt
; \
3466 test "$LIBPHOBOS_SUPPORTED" != "yes")
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3470 noconfigdirs
="$noconfigdirs target-libphobos"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3478 # Disable Fortran for some systems.
3481 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3482 unsupported_languages
="$unsupported_languages fortran"
3485 unsupported_languages
="$unsupported_languages fortran"
3489 # Disable libffi for some systems.
3493 i
[3456789]86-*-darwin*)
3495 x86_64-
*-darwin[912]*)
3498 noconfigdirs
="$noconfigdirs target-libffi"
3501 noconfigdirs
="$noconfigdirs target-libffi"
3504 noconfigdirs
="$noconfigdirs target-libffi"
3507 noconfigdirs
="$noconfigdirs target-libffi"
3510 noconfigdirs
="$noconfigdirs target-libffi"
3513 noconfigdirs
="$noconfigdirs target-libffi"
3516 noconfigdirs
="$noconfigdirs target-libffi"
3518 aarch64
*-*-freebsd*)
3519 noconfigdirs
="$noconfigdirs target-libffi"
3522 noconfigdirs
="$noconfigdirs target-libffi"
3525 noconfigdirs
="$noconfigdirs target-libffi"
3528 noconfigdirs
="$noconfigdirs target-libffi"
3531 noconfigdirs
="$noconfigdirs target-libffi"
3534 noconfigdirs
="$noconfigdirs target-libffi"
3536 cris-
*-* | crisv32-
*-*)
3540 *) # See PR46792 regarding target-libffi.
3541 noconfigdirs
="$noconfigdirs target-libffi";;
3545 noconfigdirs
="$noconfigdirs target-libffi"
3550 noconfigdirs
="$noconfigdirs target-libffi"
3553 noconfigdirs
="$noconfigdirs target-libffi"
3555 i
[3456789]86-w64-mingw*)
3556 noconfigdirs
="$noconfigdirs target-libffi"
3558 i
[3456789]86-*-mingw*)
3559 noconfigdirs
="$noconfigdirs target-libffi"
3562 noconfigdirs
="$noconfigdirs target-libffi"
3565 noconfigdirs
="$noconfigdirs target-libffi"
3572 noconfigdirs
="$noconfigdirs target-libffi"
3575 noconfigdirs
="$noconfigdirs target-libffi"
3579 # Disable the go frontend on systems where it is known to not work. Please keep
3580 # this in sync with contrib/config-list.mk.
3582 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3583 unsupported_languages
="$unsupported_languages go"
3587 # Only allow gdbserver on some systems.
3588 if test -d ${srcdir}/gdbserver
; then
3589 if test x
$enable_gdbserver = x
; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3591 $as_echo_n "checking for gdbserver support... " >&6; }
3592 if (srcdir
=${srcdir}/gdbserver
; \
3593 .
${srcdir}/configure.srv
; \
3594 test -n "$UNSUPPORTED")
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 noconfigdirs
="$noconfigdirs gdbserver"
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3601 $as_echo "yes" >&6; }
3606 # Disable libgo for some systems where it is known to not work.
3607 # For testing, you can easily override this with --enable-libgo.
3608 if test x
$enable_libgo = x
; then
3612 noconfigdirs
="$noconfigdirs target-libgo"
3614 *-*-cygwin* |
*-*-mingw*)
3615 noconfigdirs
="$noconfigdirs target-libgo"
3618 noconfigdirs
="$noconfigdirs target-libgo"
3623 # Default libgloss CPU subdirectory.
3624 libgloss_dir
="$target_cpu"
3627 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3631 libgloss_dir
=aarch64
3636 cris-
*-* | crisv32-
*-*)
3646 libgloss_dir
=loongarch
3648 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3649 libgloss_dir
=m68hc11
3651 m68
*-*-* | fido-
*-*)
3668 # Disable newlib and libgloss for various target OSes.
3671 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3673 i
[3456789]86-*-linux*)
3674 # This section makes it possible to build newlib natively on linux.
3675 # If we are using a cross compiler then don't configure newlib.
3676 if test x
${is_cross_compiler} != xno
; then
3677 noconfigdirs
="$noconfigdirs target-newlib"
3679 noconfigdirs
="$noconfigdirs target-libgloss"
3680 # If we are not using a cross compiler, do configure newlib.
3681 # Note however, that newlib will only be configured in this situation
3682 # if the --with-newlib option has been given, because otherwise
3683 # 'target-newlib' will appear in skipdirs.
3685 i
[3456789]86-*-rdos*)
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3688 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3689 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3695 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3698 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3701 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3704 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3707 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3710 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3712 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3713 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3716 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3722 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3725 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3728 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3731 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3734 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3742 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3743 noconfigdirs
="$noconfigdirs sim target-rda"
3748 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3749 noconfigdirs
="$noconfigdirs sim target-rda"
3752 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3753 noconfigdirs
="$noconfigdirs sim target-rda"
3755 i
[3456789]86-*-darwin*)
3756 noconfigdirs
="$noconfigdirs ld gprof"
3757 noconfigdirs
="$noconfigdirs sim target-rda"
3759 x86_64-
*-darwin[912]*)
3760 noconfigdirs
="$noconfigdirs ld gas gprof"
3761 noconfigdirs
="$noconfigdirs sim target-rda"
3764 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3765 noconfigdirs
="$noconfigdirs sim target-rda"
3770 if test "x$with_gmp" = x \
3771 && ! test -d ${srcdir}/gmp \
3772 && test -f /usr
/local
/include
/gmp.h
; then
3777 # Remove unsupported stuff on all kaOS configurations.
3778 noconfigdirs
="$noconfigdirs target-libgloss"
3785 noconfigdirs
="$noconfigdirs target-libgloss"
3788 noconfigdirs
="$noconfigdirs target-libgloss"
3790 # The tpf target doesn't support gdb yet.
3792 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3795 noconfigdirs
="$noconfigdirs target-rda"
3800 # ld works, but does not support shared libraries.
3801 # gas doesn't generate exception information.
3802 noconfigdirs
="$noconfigdirs gas ld"
3805 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3808 # newlib is not 64 bit ready
3809 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3812 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3814 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3815 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3818 noconfigdirs
="$noconfigdirs sim"
3821 noconfigdirs
="$noconfigdirs target-libgloss"
3824 noconfigdirs
="$noconfigdirs ld target-libgloss"
3827 if test x
${with_avrlibc} != xno
; then
3828 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3831 c4x-
*-* | tic4x-
*-*)
3832 noconfigdirs
="$noconfigdirs target-libgloss"
3835 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3838 noconfigdirs
="$noconfigdirs target-libgloss"
3841 noconfigdirs
="$noconfigdirs gdb"
3844 noconfigdirs
="$noconfigdirs gdb"
3847 noconfigdirs
="$noconfigdirs target-rda gprof"
3850 noconfigdirs
="$noconfigdirs"
3853 noconfigdirs
="$noconfigdirs target-libgloss"
3856 noconfigdirs
="$noconfigdirs target-libgloss"
3858 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3861 noconfigdirs
="$noconfigdirs gdb"
3864 noconfigdirs
="$noconfigdirs gdb ld"
3872 hppa
*-*-openbsd* | \
3878 noconfigdirs
="$noconfigdirs ld"
3881 noconfigdirs
="$noconfigdirs gdb"
3884 # No gdb support yet.
3885 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3888 # No ld support yet.
3889 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3892 # No ld support yet.
3893 noconfigdirs
="$noconfigdirs libgui itcl ld"
3895 i
[3456789]86-w64-mingw*)
3897 i
[3456789]86-*-mingw*)
3898 target_configdirs
="$target_configdirs target-winsup"
3901 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3902 noconfigdirs
="$noconfigdirs target-libgloss"
3903 # always build newlib if winsup directory is present.
3904 if test -d "$srcdir/winsup/cygwin"; then
3905 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3906 elif test -d "$srcdir/newlib"; then
3907 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3911 noconfigdirs
="$noconfigdirs target-libgloss"
3913 i
[3456789]86-*-sco3.2v5
*)
3914 # The linker does not yet know about weak symbols in COFF,
3915 # and is not configured to handle mixed ELF and COFF.
3916 noconfigdirs
="$noconfigdirs ld target-libgloss"
3918 i
[3456789]86-*-sco*)
3919 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3921 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3922 noconfigdirs
="$noconfigdirs target-libgloss"
3924 i
[3456789]86-*-sysv4*)
3925 noconfigdirs
="$noconfigdirs target-libgloss"
3927 i
[3456789]86-*-beos*)
3928 noconfigdirs
="$noconfigdirs gdb"
3930 i
[3456789]86-*-rdos*)
3931 noconfigdirs
="$noconfigdirs gdb"
3934 noconfigdirs
="$noconfigdirs gdb"
3937 noconfigdirs
="$noconfigdirs sim"
3940 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3941 noconfigdirs
="$noconfigdirs $target_libraries"
3944 noconfigdirs
="$noconfigdirs gdb gprof"
3947 # copied from rs6000-*-* entry
3948 noconfigdirs
="$noconfigdirs gprof"
3950 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3951 target_configdirs
="$target_configdirs target-winsup"
3952 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3953 # always build newlib.
3954 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3956 # This is temporary until we can link against shared libraries
3957 powerpcle-
*-solaris*)
3958 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3961 noconfigdirs
="$noconfigdirs gdb"
3964 noconfigdirs
="$noconfigdirs gprof"
3967 noconfigdirs
="$noconfigdirs gprof"
3970 noconfigdirs
="$noconfigdirs gprof"
3973 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3976 noconfigdirs
="$noconfigdirs gprof"
3978 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3979 if test x
$with_newlib = xyes
; then
3980 noconfigdirs
="$noconfigdirs gprof"
3984 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3987 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3990 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3994 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3995 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3996 noconfigdirs
="$noconfigdirs ld gas gprof"
3999 noconfigdirs
="$noconfigdirs gprof"
4002 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4009 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4013 if test x
${is_cross_compiler} = xno
; then
4018 noconfigdirs
="$noconfigdirs sim"
4020 tilepro
*-*-* | tilegx
*-*-*)
4021 noconfigdirs
="$noconfigdirs sim"
4024 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4027 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4030 noconfigdirs
="$noconfigdirs ld"
4032 loongarch
*-*-linux*)
4035 noconfigdirs
="$noconfigdirs gprof"
4039 # If we aren't building newlib, then don't build libgloss, since libgloss
4040 # depends upon some newlib header files.
4041 case "${noconfigdirs}" in
4042 *target-libgloss
*) ;;
4043 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4046 # Work in distributions that contain no compiler tools, like Autoconf.
4047 host_makefile_frag
=/dev
/null
4048 if test -d ${srcdir}/config
; then
4050 i
[3456789]86-*-msdosdjgpp*)
4051 host_makefile_frag
="config/mh-djgpp"
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4056 $as_echo_n "checking to see if cat works as expected... " >&6; }
4057 echo a
>cygwin-cat-check
4058 if test `cat cygwin-cat-check` = a
; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4061 $as_echo "yes" >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4066 as_fn_error $?
"The cat command does not ignore carriage return characters.
4067 Please either mount the build directory in binary mode or run the following
4068 commands before running any configure script:
4074 host_makefile_frag
="config/mh-cygwin"
4077 host_makefile_frag
="config/mh-mingw"
4080 host_makefile_frag
="config/mh-alpha-linux"
4083 host_makefile_frag
="config/mh-pa-hpux10"
4086 host_makefile_frag
="config/mh-pa"
4089 host_makefile_frag
="config/mh-pa"
4091 i?
86-*-darwin[89]* | i?
86-*-darwin1[0-7]* | powerpc
*-*-darwin*)
4092 host_makefile_frag
="config/mh-darwin"
4095 host_makefile_frag
="config/mh-ppc-aix"
4098 host_makefile_frag
="config/mh-ppc-aix"
4103 if test "${build}" != "${host}" ; then
4104 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4105 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4106 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4107 CPP_FOR_BUILD
="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
4108 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4109 DSYMUTIL_FOR_BUILD
=${DSYMUTIL_FOR_BUILD-dsymutil}
4110 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4111 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4112 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4113 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4114 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4115 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4116 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4117 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4118 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4120 AR_FOR_BUILD
="\$(AR)"
4121 AS_FOR_BUILD
="\$(AS)"
4122 CC_FOR_BUILD
="\$(CC)"
4123 CXX_FOR_BUILD
="\$(CXX)"
4124 DSYMUTIL_FOR_BUILD
="\$(DSYMUTIL)"
4125 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4126 GOC_FOR_BUILD
="\$(GOC)"
4127 GDC_FOR_BUILD
="\$(GDC)"
4128 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4129 LD_FOR_BUILD
="\$(LD)"
4130 NM_FOR_BUILD
="\$(NM)"
4131 RANLIB_FOR_BUILD
="\$(RANLIB)"
4132 WINDRES_FOR_BUILD
="\$(WINDRES)"
4133 WINDMC_FOR_BUILD
="\$(WINDMC)"
4137 ac_cpp
='$CPP $CPPFLAGS'
4138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4141 if test -n "$ac_tool_prefix"; then
4142 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4143 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4145 $as_echo_n "checking for $ac_word... " >&6; }
4146 if ${ac_cv_prog_CC+:} false
; then :
4147 $as_echo_n "(cached) " >&6
4149 if test -n "$CC"; then
4150 ac_cv_prog_CC
="$CC" # Let the user override the test.
4152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir
=.
4157 for ac_exec_ext
in '' $ac_executable_extensions; do
4158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4159 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 if test -n "$CC"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4172 $as_echo "$CC" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4180 if test -z "$ac_cv_prog_CC"; then
4182 # Extract the first word of "gcc", so it can be a program name with args.
4183 set dummy gcc
; ac_word
=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4187 $as_echo_n "(cached) " >&6
4189 if test -n "$ac_ct_CC"; then
4190 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir
=.
4197 for ac_exec_ext
in '' $ac_executable_extensions; do
4198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4199 ac_cv_prog_ac_ct_CC
="gcc"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4209 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4210 if test -n "$ac_ct_CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4212 $as_echo "$ac_ct_CC" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4218 if test "x$ac_ct_CC" = x
; then
4221 case $cross_compiling:$ac_tool_warned in
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4225 ac_tool_warned
=yes ;;
4233 if test -z "$CC"; then
4234 if test -n "$ac_tool_prefix"; then
4235 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4236 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4238 $as_echo_n "checking for $ac_word... " >&6; }
4239 if ${ac_cv_prog_CC+:} false
; then :
4240 $as_echo_n "(cached) " >&6
4242 if test -n "$CC"; then
4243 ac_cv_prog_CC
="$CC" # Let the user override the test.
4245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir
=.
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4263 if test -n "$CC"; then
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4265 $as_echo "$CC" >&6; }
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4268 $as_echo "no" >&6; }
4274 if test -z "$CC"; then
4275 # Extract the first word of "cc", so it can be a program name with args.
4276 set dummy cc
; ac_word
=$2
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278 $as_echo_n "checking for $ac_word... " >&6; }
4279 if ${ac_cv_prog_CC+:} false
; then :
4280 $as_echo_n "(cached) " >&6
4282 if test -n "$CC"; then
4283 ac_cv_prog_CC
="$CC" # Let the user override the test.
4286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir
=.
4291 for ac_exec_ext
in '' $ac_executable_extensions; do
4292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4293 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4294 ac_prog_rejected
=yes
4298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 if test $ac_prog_rejected = yes; then
4306 # We found a bogon in the path, so make sure we never use it.
4307 set dummy
$ac_cv_prog_CC
4309 if test $# != 0; then
4310 # We chose a different compiler from the bogus one.
4311 # However, it has the same basename, so the bogon will be chosen
4312 # first if we set CC to just the basename; use the full file name.
4314 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4320 if test -n "$CC"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4322 $as_echo "$CC" >&6; }
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4330 if test -z "$CC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 for ac_prog
in cl.exe
4334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4335 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_CC+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$CC"; then
4342 ac_cv_prog_CC
="$CC" # Let the user override the test.
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_exec_ext
in '' $ac_executable_extensions; do
4350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 if test -n "$CC"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4364 $as_echo "$CC" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4371 test -n "$CC" && break
4374 if test -z "$CC"; then
4376 for ac_prog
in cl.exe
4378 # Extract the first word of "$ac_prog", so it can be a program name with args.
4379 set dummy
$ac_prog; ac_word
=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4383 $as_echo_n "(cached) " >&6
4385 if test -n "$ac_ct_CC"; then
4386 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir
=.
4393 for ac_exec_ext
in '' $ac_executable_extensions; do
4394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_ac_ct_CC
="$ac_prog"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4406 if test -n "$ac_ct_CC"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4408 $as_echo "$ac_ct_CC" >&6; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4415 test -n "$ac_ct_CC" && break
4418 if test "x$ac_ct_CC" = x
; then
4421 case $cross_compiling:$ac_tool_warned in
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4425 ac_tool_warned
=yes ;;
4434 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4436 as_fn_error $?
"no acceptable C compiler found in \$PATH
4437 See \`config.log' for more details" "$LINENO" 5; }
4439 # Provide some information about the compiler.
4440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4443 for ac_option
in --version -v -V -qversion; do
4444 { { ac_try
="$ac_compiler $ac_option >&5"
4446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4453 if test -s conftest.err; then
4455 ... rest of stderr output deleted ...
4456 10q' conftest.err >conftest.er1
4457 cat conftest.er1 >&5
4459 rm -f conftest.er1 conftest.err
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4475 ac_clean_files_save=$ac_clean_files
4476 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4477 # Try to create an executable without -o first, disregard a.out.
4478 # It will help us diagnose broken compilers, and finding out an intuition
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4481 $as_echo_n "checking whether the C compiler works... " >&6; }
4482 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4484 # The possible output files:
4485 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4488 for ac_file in $ac_files
4491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4492 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4497 if { { ac_try="$ac_link_default"
4499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4500 *) ac_try_echo
=$ac_try;;
4502 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4503 $as_echo "$ac_try_echo"; } >&5
4504 (eval "$ac_link_default") 2>&5
4506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4507 test $ac_status = 0; }; then :
4508 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4509 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4510 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4511 # so that the user can short-circuit this test for compilers unknown to
4513 for ac_file
in $ac_files ''
4515 test -f "$ac_file" ||
continue
4517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4520 # We found the default executable, but exeext='' is most
4524 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4526 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4528 # We set ac_cv_exeext here because the later test for it is not
4529 # safe: cross compilers may not add the suffix if given an `-o'
4530 # argument, so we may need to know it at that point already.
4531 # Even if this section looks crufty: it has the advantage of
4538 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4543 if test -z "$ac_file"; then :
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4546 $as_echo "$as_me: failed program was:" >&5
4547 sed 's/^/| /' conftest.
$ac_ext >&5
4549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4551 as_fn_error
77 "C compiler cannot create executables
4552 See \`config.log' for more details" "$LINENO" 5; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4555 $as_echo "yes" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4558 $as_echo_n "checking for C compiler default output file name... " >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4560 $as_echo "$ac_file" >&6; }
4561 ac_exeext
=$ac_cv_exeext
4563 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4564 ac_clean_files
=$ac_clean_files_save
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4566 $as_echo_n "checking for suffix of executables... " >&6; }
4567 if { { ac_try
="$ac_link"
4569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573 $as_echo "$ac_try_echo"; } >&5
4574 (eval "$ac_link") 2>&5
4576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577 test $ac_status = 0; }; then :
4578 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4579 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4580 # work properly (i.e., refer to `conftest.exe'), while it won't with
4582 for ac_file
in conftest.exe conftest conftest.
*; do
4583 test -f "$ac_file" ||
continue
4585 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4586 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4594 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4595 See \`config.log' for more details" "$LINENO" 5; }
4597 rm -f conftest conftest
$ac_cv_exeext
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4599 $as_echo "$ac_cv_exeext" >&6; }
4601 rm -f conftest.
$ac_ext
4602 EXEEXT
=$ac_cv_exeext
4604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4610 FILE *f = fopen ("conftest.out", "w");
4611 return ferror (f) || fclose (f) != 0;
4617 ac_clean_files
="$ac_clean_files conftest.out"
4618 # Check that the compiler produces executables we can run. If not, either
4619 # the compiler is broken, or we cross compile.
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4621 $as_echo_n "checking whether we are cross compiling... " >&6; }
4622 if test "$cross_compiling" != yes; then
4623 { { ac_try
="$ac_link"
4625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4626 *) ac_try_echo=$ac_try;;
4628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4629 $as_echo "$ac_try_echo"; } >&5
4630 (eval "$ac_link") 2>&5
4632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4633 test $ac_status = 0; }
4634 if { ac_try='./conftest$ac_cv_exeext'
4635 { { case "(($ac_try" in
4636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4637 *) ac_try_echo
=$ac_try;;
4639 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 $as_echo "$ac_try_echo"; } >&5
4641 (eval "$ac_try") 2>&5
4643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4644 test $ac_status = 0; }; }; then
4647 if test "$cross_compiling" = maybe
; then
4650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4652 as_fn_error $?
"cannot run C compiled programs.
4653 If you meant to cross compile, use \`--host'.
4654 See \`config.log' for more details" "$LINENO" 5; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4659 $as_echo "$cross_compiling" >&6; }
4661 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4662 ac_clean_files
=$ac_clean_files_save
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4664 $as_echo_n "checking for suffix of object files... " >&6; }
4665 if ${ac_cv_objext+:} false
; then :
4666 $as_echo_n "(cached) " >&6
4668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4679 rm -f conftest.o conftest.obj
4680 if { { ac_try
="$ac_compile"
4682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686 $as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_compile") 2>&5
4689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690 test $ac_status = 0; }; then :
4691 for ac_file in conftest.o conftest.obj conftest.*; do
4692 test -f "$ac_file" || continue;
4694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4695 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4700 $as_echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.$ac_ext >&5
4703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4705 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4706 See \
`config.log' for more details" "$LINENO" 5; }
4708 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4711 $as_echo "$ac_cv_objext" >&6; }
4712 OBJEXT=$ac_cv_objext
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4715 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4716 if ${ac_cv_c_compiler_gnu+:} false; then :
4717 $as_echo_n "(cached) " >&6
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4733 if ac_fn_c_try_compile "$LINENO"; then :
4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4743 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4744 if test $ac_compiler_gnu = yes; then
4749 ac_test_CFLAGS=${CFLAGS+set}
4750 ac_save_CFLAGS=$CFLAGS
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4752 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4753 if ${ac_cv_prog_cc_g+:} false; then :
4754 $as_echo_n "(cached) " >&6
4756 ac_save_c_werror_flag=$ac_c_werror_flag
4757 ac_c_werror_flag=yes
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_c_try_compile "$LINENO"; then :
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4786 if ac_fn_c_try_compile "$LINENO"; then :
4789 ac_c_werror_flag=$ac_save_c_werror_flag
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4802 if ac_fn_c_try_compile "$LINENO"; then :
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 ac_c_werror_flag=$ac_save_c_werror_flag
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4813 $as_echo "$ac_cv_prog_cc_g" >&6; }
4814 if test "$ac_test_CFLAGS" = set; then
4815 CFLAGS=$ac_save_CFLAGS
4816 elif test $ac_cv_prog_cc_g = yes; then
4817 if test "$GCC" = yes; then
4823 if test "$GCC" = yes; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4830 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4831 if ${ac_cv_prog_cc_c89+:} false; then :
4832 $as_echo_n "(cached) " >&6
4834 ac_cv_prog_cc_c89=no
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4841 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4842 struct buf { int x; };
4843 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4844 static char *e (p, i)
4850 static char *f (char * (*g) (char **, int), char **p, ...)
4855 s = g (p, va_arg (v,int));
4860 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4861 function prototypes and stuff, but not '\xHH' hex character constants.
4862 These don't provoke an error unfortunately, instead are silently treated
4863 as 'x'. The following induces an error, until -std is added to get
4864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4865 array size at least. It's necessary to write '\x00'==0 to get something
4866 that's true only with -std. */
4867 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4869 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4870 inside strings and character constants. */
4872 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4874 int test (int i, double x);
4875 struct s1 {int (*f) (int a);};
4876 struct s2 {int (*f) (double a);};
4877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4883 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4889 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4891 CC="$ac_save_CC $ac_arg"
4892 if ac_fn_c_try_compile "$LINENO"; then :
4893 ac_cv_prog_cc_c89=$ac_arg
4895 rm -f core conftest.err conftest.$ac_objext
4896 test "x$ac_cv_prog_cc_c89" != "xno" && break
4898 rm -f conftest.$ac_ext
4903 case "x$ac_cv_prog_cc_c89" in
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4906 $as_echo "none needed" >&6; } ;;
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4909 $as_echo "unsupported" >&6; } ;;
4911 CC="$CC $ac_cv_prog_cc_c89"
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4913 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4915 if test "x$ac_cv_prog_cc_c89" != xno; then :
4920 ac_cpp='$CPP $CPPFLAGS'
4921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4926 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4927 if ${ac_cv_prog_cc_c99+:} false; then :
4928 $as_echo_n "(cached) " >&6
4930 ac_cv_prog_cc_c99=no
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4935 #include <stdbool.h>
4940 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4941 #define debug(...) fprintf (stderr, __VA_ARGS__)
4942 #define showlist(...) puts (#__VA_ARGS__)
4943 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4945 test_varargs_macros (void)
4950 debug ("X = %d\n", x);
4951 showlist (The first, second, and third items.);
4952 report (x>y, "x is %d but y is %d", x, y);
4955 // Check long long types.
4956 #define BIG64 18446744073709551615ull
4957 #define BIG32 4294967295ul
4958 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4960 your preprocessor is broken;
4964 your preprocessor is broken;
4966 static long long int bignum = -9223372036854775807LL;
4967 static unsigned long long int ubignum = BIG64;
4969 struct incomplete_array
4977 const wchar_t *name;
4981 typedef const char *ccp;
4984 test_restrict (ccp restrict text)
4986 // See if C++-style comments work.
4987 // Iterate through items via the restricted pointer.
4988 // Also check for declarations in for loops.
4989 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4994 // Check varargs and va_copy.
4996 test_varargs (const char *format, ...)
4999 va_start (args, format);
5001 va_copy (args_copy, args);
5012 str = va_arg (args_copy, const char *);
5015 number = va_arg (args_copy, int);
5018 fnumber = va_arg (args_copy, double);
5033 _Bool success = false;
5036 if (test_restrict ("String literal") == 0)
5038 char *restrict newvar = "Another string";
5041 test_varargs ("s, d' f .", "string", 65, 34.234);
5042 test_varargs_macros ();
5044 // Check flexible array members.
5045 struct incomplete_array *ia =
5046 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5048 for (int i = 0; i < ia->datasize; ++i)
5049 ia->data[i] = i * 1.234;
5051 // Check named initializers.
5052 struct named_init ni = {
5054 .name = L"Test wide string",
5055 .average = 543.34343,
5060 int dynamic_array[ni.number];
5061 dynamic_array[ni.number - 1] = 543;
5063 // work around unused variable warnings
5064 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5065 || dynamic_array[ni.number - 1] != 543);
5071 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5073 CC="$ac_save_CC $ac_arg"
5074 if ac_fn_c_try_compile "$LINENO"; then :
5075 ac_cv_prog_cc_c99=$ac_arg
5077 rm -f core conftest.err conftest.$ac_objext
5078 test "x$ac_cv_prog_cc_c99" != "xno" && break
5080 rm -f conftest.$ac_ext
5085 case "x$ac_cv_prog_cc_c99" in
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5088 $as_echo "none needed" >&6; } ;;
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5091 $as_echo "unsupported" >&6; } ;;
5093 CC="$CC $ac_cv_prog_cc_c99"
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5095 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5097 if test "x$ac_cv_prog_cc_c99" != xno; then :
5103 ac_cpp='$CXXCPP $CPPFLAGS'
5104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5107 if test -z "$CXX"; then
5108 if test -n "$CCC"; then
5111 if test -n "$ac_tool_prefix"; then
5112 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_CXX+:} false; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$CXX"; then
5122 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 if test -n "$CXX"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5144 $as_echo "$CXX" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 test -n "$CXX" && break
5154 if test -z "$CXX"; then
5156 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5158 # Extract the first word of "$ac_prog", so it can be a program name with args.
5159 set dummy $ac_prog; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$ac_ct_CXX"; then
5166 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_ac_ct_CXX="$ac_prog"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5186 if test -n "$ac_ct_CXX"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5188 $as_echo "$ac_ct_CXX" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5195 test -n "$ac_ct_CXX" && break
5198 if test "x$ac_ct_CXX" = x; then
5201 case $cross_compiling:$ac_tool_warned in
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5205 ac_tool_warned=yes ;;
5213 # Provide some information about the compiler.
5214 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5217 for ac_option in --version -v -V -qversion; do
5218 { { ac_try="$ac_compiler $ac_option >&5"
5220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5221 *) ac_try_echo
=$ac_try;;
5223 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5224 $as_echo "$ac_try_echo"; } >&5
5225 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5227 if test -s conftest.err
; then
5229 ... rest of stderr output deleted ...
5230 10q' conftest.err
>conftest.er1
5231 cat conftest.er1
>&5
5233 rm -f conftest.er1 conftest.err
5234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5235 test $ac_status = 0; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5239 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5240 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5241 $as_echo_n "(cached) " >&6
5243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5257 if ac_fn_cxx_try_compile
"$LINENO"; then :
5262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5263 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5267 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5268 if test $ac_compiler_gnu = yes; then
5273 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5274 ac_save_CXXFLAGS
=$CXXFLAGS
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5276 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5277 if ${ac_cv_prog_cxx_g+:} false
; then :
5278 $as_echo_n "(cached) " >&6
5280 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5281 ac_cxx_werror_flag
=yes
5284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5295 if ac_fn_cxx_try_compile
"$LINENO"; then :
5296 ac_cv_prog_cxx_g
=yes
5299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5310 if ac_fn_cxx_try_compile
"$LINENO"; then :
5313 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5326 if ac_fn_cxx_try_compile
"$LINENO"; then :
5327 ac_cv_prog_cxx_g
=yes
5329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5334 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5337 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5338 if test "$ac_test_CXXFLAGS" = set; then
5339 CXXFLAGS
=$ac_save_CXXFLAGS
5340 elif test $ac_cv_prog_cxx_g = yes; then
5341 if test "$GXX" = yes; then
5347 if test "$GXX" = yes; then
5354 ac_cpp
='$CPP $CPPFLAGS'
5355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5360 # We must set the default linker to the linker used by gcc for the correct
5361 # operation of libtool. If LD is not defined and we are using gcc, try to
5362 # set the LD default to the ld used by gcc.
5363 if test -z "$LD"; then
5364 if test "$GCC" = yes; then
5367 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5369 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5371 case $gcc_prog_ld in
5372 # Accept absolute paths.
5373 [\\/]* |
[A-Za-z
]:[\\/]*)
5374 LD
="$gcc_prog_ld" ;;
5379 # Check whether -static-libstdc++ -static-libgcc is supported.
5381 if test "$GCC" = yes; then
5382 saved_LDFLAGS
="$LDFLAGS"
5384 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5386 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5388 ac_cpp
='$CXXCPP $CPPFLAGS'
5389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5397 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5398 #error -static-libstdc++ not implemented
5402 if ac_fn_cxx_try_link
"$LINENO"; then :
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5404 $as_echo "yes" >&6; }; have_static_libs
=yes
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5409 rm -f core conftest.err conftest.
$ac_objext \
5410 conftest
$ac_exeext conftest.
$ac_ext
5412 ac_cpp
='$CPP $CPPFLAGS'
5413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5418 LDFLAGS
="$saved_LDFLAGS"
5424 if test -n "$ac_tool_prefix"; then
5425 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5426 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_GNATBIND+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$GNATBIND"; then
5433 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 GNATBIND
=$ac_cv_prog_GNATBIND
5453 if test -n "$GNATBIND"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5455 $as_echo "$GNATBIND" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5463 if test -z "$ac_cv_prog_GNATBIND"; then
5464 ac_ct_GNATBIND
=$GNATBIND
5465 # Extract the first word of "gnatbind", so it can be a program name with args.
5466 set dummy gnatbind
; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$ac_ct_GNATBIND"; then
5473 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5493 if test -n "$ac_ct_GNATBIND"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5495 $as_echo "$ac_ct_GNATBIND" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5501 if test "x$ac_ct_GNATBIND" = x
; then
5504 case $cross_compiling:$ac_tool_warned in
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5508 ac_tool_warned
=yes ;;
5510 GNATBIND
=$ac_ct_GNATBIND
5513 GNATBIND
="$ac_cv_prog_GNATBIND"
5516 if test -n "$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5518 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n "$GNATMAKE"; then
5525 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 GNATMAKE
=$ac_cv_prog_GNATMAKE
5545 if test -n "$GNATMAKE"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5547 $as_echo "$GNATMAKE" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if test -z "$ac_cv_prog_GNATMAKE"; then
5556 ac_ct_GNATMAKE
=$GNATMAKE
5557 # Extract the first word of "gnatmake", so it can be a program name with args.
5558 set dummy gnatmake
; ac_word
=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5562 $as_echo_n "(cached) " >&6
5564 if test -n "$ac_ct_GNATMAKE"; then
5565 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5585 if test -n "$ac_ct_GNATMAKE"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5587 $as_echo "$ac_ct_GNATMAKE" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5593 if test "x$ac_ct_GNATMAKE" = x
; then
5596 case $cross_compiling:$ac_tool_warned in
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600 ac_tool_warned
=yes ;;
5602 GNATMAKE
=$ac_ct_GNATMAKE
5605 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5609 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5610 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5611 $as_echo_n "(cached) " >&6
5613 cat >conftest.adb
<<EOF
5614 procedure conftest is begin null; end conftest;
5616 acx_cv_cc_gcc_supports_ada
=no
5617 # There is a bug in old released versions of GCC which causes the
5618 # driver to exit successfully when the appropriate language module
5619 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5620 # Therefore we must check for the error message as well as an
5621 # unsuccessful exit.
5622 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5623 # given a .adb file, but produce no object file. So we must check
5624 # if an object file was really produced to guard against this.
5625 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5626 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5627 acx_cv_cc_gcc_supports_ada
=yes
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5632 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5634 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5642 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5644 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_GDC+:} false
; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -n "$GDC"; then
5651 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
5653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir
=.
5658 for ac_exec_ext
in '' $ac_executable_extensions; do
5659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 if test -n "$GDC"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5673 $as_echo "$GDC" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5681 if test -z "$ac_cv_prog_GDC"; then
5683 # Extract the first word of "gdc", so it can be a program name with args.
5684 set dummy gdc
; ac_word
=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_ac_ct_GDC+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 if test -n "$ac_ct_GDC"; then
5691 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
5693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5697 test -z "$as_dir" && as_dir
=.
5698 for ac_exec_ext
in '' $ac_executable_extensions; do
5699 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_GDC
="gdc"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
5711 if test -n "$ac_ct_GDC"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5713 $as_echo "$ac_ct_GDC" >&6; }
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5719 if test "x$ac_ct_GDC" = x
; then
5722 case $cross_compiling:$ac_tool_warned in
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5726 ac_tool_warned
=yes ;;
5731 GDC
="$ac_cv_prog_GDC"
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the D compiler works" >&5
5735 $as_echo_n "checking whether the D compiler works... " >&6; }
5736 if ${acx_cv_d_compiler_works+:} false
; then :
5737 $as_echo_n "(cached) " >&6
5739 cat >conftest.d
<<EOF
5740 module conftest; int main() { return 0; }
5742 acx_cv_d_compiler_works
=no
5743 if test "x$GDC" != xno
; then
5744 errors
=`(${GDC} -c conftest.d) 2>&1 || echo failure`
5745 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5746 acx_cv_d_compiler_works
=yes
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_d_compiler_works" >&5
5752 $as_echo "$acx_cv_d_compiler_works" >&6; }
5753 if test "x$GDC" != xno
&& test x
$acx_cv_d_compiler_works != xno
; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5760 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5761 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5762 $as_echo_n "(cached) " >&6
5766 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5767 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5768 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5771 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5774 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5775 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5778 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5785 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5786 do_compare
="$gcc_cv_prog_cmp_skip"
5790 # Check whether --enable-bootstrap was given.
5791 if test "${enable_bootstrap+set}" = set; then :
5792 enableval
=$enable_bootstrap;
5794 enable_bootstrap
=default
5798 # Issue errors and warnings for invalid/strange bootstrap combinations.
5799 if test -r $srcdir/gcc
/configure
; then
5805 case "$have_compiler:$host:$target:$enable_bootstrap" in
5808 # Default behavior. Enable bootstrap if we have a compiler
5809 # and we are in a native configuration.
5810 yes:$build:$build:default
)
5811 enable_bootstrap
=yes ;;
5814 enable_bootstrap
=no
;;
5816 # We have a compiler and we are in a native configuration, bootstrap is ok
5817 yes:$build:$build:yes)
5820 # Other configurations, but we have a compiler. Assume the user knows
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5824 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5827 # No compiler: if they passed --enable-bootstrap explicitly, fail
5829 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5831 # Fail if wrong command line
5833 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5837 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5838 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5839 # require C++11 (or higher).
5840 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5841 CXX
="$CXX -std=c++11"
5842 elif test "$have_compiler" = yes; then
5843 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5845 ac_cpp
='$CXXCPP $CPPFLAGS'
5846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5852 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5853 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5854 $as_echo_n "(cached) " >&6
5856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5857 /* end confdefs.h. */
5860 // If the compiler admits that it is not ready for C++11, why torture it?
5861 // Hopefully, this will speed up the test.
5865 #error "This is not a C++ compiler"
5867 #elif __cplusplus < 201103L
5869 #error "This is not a C++11 compiler"
5876 namespace test_static_assert
5879 template <typename T>
5882 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5887 namespace test_final_override
5896 struct Derived : public Base
5898 virtual ~Derived() override {}
5899 virtual void f() override {}
5904 namespace test_double_right_angle_brackets
5907 template < typename T >
5910 typedef check<void> single_type;
5911 typedef check<check<void>> double_type;
5912 typedef check<check<check<void>>> triple_type;
5913 typedef check<check<check<check<void>>>> quadruple_type;
5917 namespace test_decltype
5930 namespace test_type_deduction
5933 template < typename T1, typename T2 >
5936 static const bool value = false;
5939 template < typename T >
5940 struct is_same<T, T>
5942 static const bool value = true;
5945 template < typename T1, typename T2 >
5947 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5953 test(const int c, volatile int v)
5955 static_assert(is_same<int, decltype(0)>::value == true, "");
5956 static_assert(is_same<int, decltype(c)>::value == false, "");
5957 static_assert(is_same<int, decltype(v)>::value == false, "");
5960 auto sumi = ac + av + 'x';
5961 auto sumf = ac + av + 1.0;
5962 static_assert(is_same<int, decltype(ac)>::value == true, "");
5963 static_assert(is_same<int, decltype(av)>::value == true, "");
5964 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5965 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5966 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5967 return (sumf > 0.0) ? sumi : add(c, v);
5972 namespace test_noexcept
5975 int f() { return 0; }
5976 int g() noexcept { return 0; }
5978 static_assert(noexcept(f()) == false, "");
5979 static_assert(noexcept(g()) == true, "");
5983 namespace test_constexpr
5986 template < typename CharT >
5987 unsigned long constexpr
5988 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5990 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5993 template < typename CharT >
5994 unsigned long constexpr
5995 strlen_c(const CharT *const s) noexcept
5997 return strlen_c_r(s, 0UL);
6000 static_assert(strlen_c("") == 0UL, "");
6001 static_assert(strlen_c("1") == 1UL, "");
6002 static_assert(strlen_c("example") == 7UL, "");
6003 static_assert(strlen_c("another\0example") == 7UL, "");
6007 namespace test_rvalue_references
6013 static constexpr int value = N;
6016 answer<1> f(int&) { return answer<1>(); }
6017 answer<2> f(const int&) { return answer<2>(); }
6018 answer<3> f(int&&) { return answer<3>(); }
6025 static_assert(decltype(f(i))::value == 1, "");
6026 static_assert(decltype(f(c))::value == 2, "");
6027 static_assert(decltype(f(0))::value == 3, "");
6032 namespace test_uniform_initialization
6037 static const int zero {};
6038 static const int one {1};
6041 static_assert(test::zero == 0, "");
6042 static_assert(test::one == 1, "");
6046 namespace test_lambdas
6052 auto lambda1 = [](){};
6053 auto lambda2 = lambda1;
6061 auto a = [](int i, int j){ return i + j; }(1, 2);
6062 auto b = []() -> int { return '0'; }();
6063 auto c = [=](){ return a + b; }();
6064 auto d = [&](){ return c; }();
6065 auto e = [a, &b](int x) mutable {
6066 const auto identity = [](int y){ return y; };
6067 for (auto i = 0; i < a; ++i)
6069 return x + identity(a + b);
6071 return a + b + c + d + e;
6077 const auto nullary = [](){ return 0; };
6078 const auto unary = [](int x){ return x; };
6079 using nullary_t = decltype(nullary);
6080 using unary_t = decltype(unary);
6081 const auto higher1st = [](nullary_t f){ return f(); };
6082 const auto higher2nd = [unary](nullary_t f1){
6083 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6085 return higher1st(nullary) + higher2nd(nullary)(unary);
6090 namespace test_variadic_templates
6096 template <int N0, int... N1toN>
6097 struct sum<N0, N1toN...>
6099 static constexpr auto value = N0 + sum<N1toN...>::value;
6105 static constexpr auto value = 0;
6108 static_assert(sum<>::value == 0, "");
6109 static_assert(sum<1>::value == 1, "");
6110 static_assert(sum<23>::value == 23, "");
6111 static_assert(sum<1, 2>::value == 3, "");
6112 static_assert(sum<5, 5, 11>::value == 21, "");
6113 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6117 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6118 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6120 namespace test_template_alias_sfinae
6125 template<typename T>
6126 using member = typename T::member_type;
6128 template<typename T>
6131 template<typename T>
6132 void func(member<T>*) {}
6136 void test() { func<foo>(0); }
6140 } // namespace cxx11
6142 #endif // __cplusplus >= 201103L
6147 if ac_fn_cxx_try_compile
"$LINENO"; then :
6148 ax_cv_cxx_compile_cxx11
=yes
6150 ax_cv_cxx_compile_cxx11
=no
6152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
6155 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
6156 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
6160 if test x
$ac_success = xno
; then
6161 for alternative
in ${ax_cxx_compile_alternatives}; do
6162 switch
="-std=gnu++${alternative}"
6163 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6165 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6166 if eval \
${$cachevar+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6175 // If the compiler admits that it is not ready for C++11, why torture it?
6176 // Hopefully, this will speed up the test.
6180 #error "This is not a C++ compiler"
6182 #elif __cplusplus < 201103L
6184 #error "This is not a C++11 compiler"
6191 namespace test_static_assert
6194 template <typename T>
6197 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6202 namespace test_final_override
6211 struct Derived : public Base
6213 virtual ~Derived() override {}
6214 virtual void f() override {}
6219 namespace test_double_right_angle_brackets
6222 template < typename T >
6225 typedef check<void> single_type;
6226 typedef check<check<void>> double_type;
6227 typedef check<check<check<void>>> triple_type;
6228 typedef check<check<check<check<void>>>> quadruple_type;
6232 namespace test_decltype
6245 namespace test_type_deduction
6248 template < typename T1, typename T2 >
6251 static const bool value = false;
6254 template < typename T >
6255 struct is_same<T, T>
6257 static const bool value = true;
6260 template < typename T1, typename T2 >
6262 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6268 test(const int c, volatile int v)
6270 static_assert(is_same<int, decltype(0)>::value == true, "");
6271 static_assert(is_same<int, decltype(c)>::value == false, "");
6272 static_assert(is_same<int, decltype(v)>::value == false, "");
6275 auto sumi = ac + av + 'x';
6276 auto sumf = ac + av + 1.0;
6277 static_assert(is_same<int, decltype(ac)>::value == true, "");
6278 static_assert(is_same<int, decltype(av)>::value == true, "");
6279 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6280 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6281 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6282 return (sumf > 0.0) ? sumi : add(c, v);
6287 namespace test_noexcept
6290 int f() { return 0; }
6291 int g() noexcept { return 0; }
6293 static_assert(noexcept(f()) == false, "");
6294 static_assert(noexcept(g()) == true, "");
6298 namespace test_constexpr
6301 template < typename CharT >
6302 unsigned long constexpr
6303 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6305 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6308 template < typename CharT >
6309 unsigned long constexpr
6310 strlen_c(const CharT *const s) noexcept
6312 return strlen_c_r(s, 0UL);
6315 static_assert(strlen_c("") == 0UL, "");
6316 static_assert(strlen_c("1") == 1UL, "");
6317 static_assert(strlen_c("example") == 7UL, "");
6318 static_assert(strlen_c("another\0example") == 7UL, "");
6322 namespace test_rvalue_references
6328 static constexpr int value = N;
6331 answer<1> f(int&) { return answer<1>(); }
6332 answer<2> f(const int&) { return answer<2>(); }
6333 answer<3> f(int&&) { return answer<3>(); }
6340 static_assert(decltype(f(i))::value == 1, "");
6341 static_assert(decltype(f(c))::value == 2, "");
6342 static_assert(decltype(f(0))::value == 3, "");
6347 namespace test_uniform_initialization
6352 static const int zero {};
6353 static const int one {1};
6356 static_assert(test::zero == 0, "");
6357 static_assert(test::one == 1, "");
6361 namespace test_lambdas
6367 auto lambda1 = [](){};
6368 auto lambda2 = lambda1;
6376 auto a = [](int i, int j){ return i + j; }(1, 2);
6377 auto b = []() -> int { return '0'; }();
6378 auto c = [=](){ return a + b; }();
6379 auto d = [&](){ return c; }();
6380 auto e = [a, &b](int x) mutable {
6381 const auto identity = [](int y){ return y; };
6382 for (auto i = 0; i < a; ++i)
6384 return x + identity(a + b);
6386 return a + b + c + d + e;
6392 const auto nullary = [](){ return 0; };
6393 const auto unary = [](int x){ return x; };
6394 using nullary_t = decltype(nullary);
6395 using unary_t = decltype(unary);
6396 const auto higher1st = [](nullary_t f){ return f(); };
6397 const auto higher2nd = [unary](nullary_t f1){
6398 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6400 return higher1st(nullary) + higher2nd(nullary)(unary);
6405 namespace test_variadic_templates
6411 template <int N0, int... N1toN>
6412 struct sum<N0, N1toN...>
6414 static constexpr auto value = N0 + sum<N1toN...>::value;
6420 static constexpr auto value = 0;
6423 static_assert(sum<>::value == 0, "");
6424 static_assert(sum<1>::value == 1, "");
6425 static_assert(sum<23>::value == 23, "");
6426 static_assert(sum<1, 2>::value == 3, "");
6427 static_assert(sum<5, 5, 11>::value == 21, "");
6428 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6432 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6433 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6435 namespace test_template_alias_sfinae
6440 template<typename T>
6441 using member = typename T::member_type;
6443 template<typename T>
6446 template<typename T>
6447 void func(member<T>*) {}
6451 void test() { func<foo>(0); }
6455 } // namespace cxx11
6457 #endif // __cplusplus >= 201103L
6462 if ac_fn_cxx_try_compile
"$LINENO"; then :
6467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6470 eval ac_res
=\$
$cachevar
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6472 $as_echo "$ac_res" >&6; }
6473 if eval test x\$
$cachevar = xyes
; then
6475 if test -n "$CXXCPP" ; then
6476 CXXCPP
="$CXXCPP $switch"
6484 if test x
$ac_success = xno
; then
6485 for alternative
in ${ax_cxx_compile_alternatives}; do
6486 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6487 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6489 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6490 if eval \${$cachevar+:} false; then :
6491 $as_echo_n "(cached
) " >&6
6495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6499 // If the compiler admits that it is not ready for C++11, why torture it?
6500 // Hopefully, this will speed up the test.
6504 #error "This is not a C
++ compiler
"
6506 #elif __cplusplus < 201103L
6508 #error "This is not a C
++11 compiler
"
6515 namespace test_static_assert
6518 template <typename T>
6521 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6526 namespace test_final_override
6535 struct Derived : public Base
6537 virtual ~Derived() override {}
6538 virtual void f() override {}
6543 namespace test_double_right_angle_brackets
6546 template < typename T >
6549 typedef check<void> single_type;
6550 typedef check<check<void>> double_type;
6551 typedef check<check<check<void>>> triple_type;
6552 typedef check<check<check<check<void>>>> quadruple_type;
6556 namespace test_decltype
6569 namespace test_type_deduction
6572 template < typename T1, typename T2 >
6575 static const bool value = false;
6578 template < typename T >
6579 struct is_same<T, T>
6581 static const bool value = true;
6584 template < typename T1, typename T2 >
6586 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6592 test(const int c, volatile int v)
6594 static_assert(is_same<int, decltype(0)>::value == true, "");
6595 static_assert(is_same<int, decltype(c)>::value == false, "");
6596 static_assert(is_same<int, decltype(v)>::value == false, "");
6599 auto sumi = ac + av + 'x';
6600 auto sumf = ac + av + 1.0;
6601 static_assert(is_same<int, decltype(ac)>::value == true, "");
6602 static_assert(is_same<int, decltype(av)>::value == true, "");
6603 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6604 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6605 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6606 return (sumf > 0.0) ? sumi : add(c, v);
6611 namespace test_noexcept
6614 int f() { return 0; }
6615 int g() noexcept { return 0; }
6617 static_assert(noexcept(f()) == false, "");
6618 static_assert(noexcept(g()) == true, "");
6622 namespace test_constexpr
6625 template < typename CharT >
6626 unsigned long constexpr
6627 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6629 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6632 template < typename CharT >
6633 unsigned long constexpr
6634 strlen_c(const CharT *const s) noexcept
6636 return strlen_c_r(s, 0UL);
6639 static_assert(strlen_c("") == 0UL, "");
6640 static_assert(strlen_c("1") == 1UL, "");
6641 static_assert(strlen_c("example
") == 7UL, "");
6642 static_assert(strlen_c("another\
0example
") == 7UL, "");
6646 namespace test_rvalue_references
6652 static constexpr int value = N;
6655 answer<1> f(int&) { return answer<1>(); }
6656 answer<2> f(const int&) { return answer<2>(); }
6657 answer<3> f(int&&) { return answer<3>(); }
6664 static_assert(decltype(f(i))::value == 1, "");
6665 static_assert(decltype(f(c))::value == 2, "");
6666 static_assert(decltype(f(0))::value == 3, "");
6671 namespace test_uniform_initialization
6676 static const int zero {};
6677 static const int one {1};
6680 static_assert(test::zero == 0, "");
6681 static_assert(test::one == 1, "");
6685 namespace test_lambdas
6691 auto lambda1 = [](){};
6692 auto lambda2 = lambda1;
6700 auto a = [](int i, int j){ return i + j; }(1, 2);
6701 auto b = []() -> int { return '0'; }();
6702 auto c = [=](){ return a + b; }();
6703 auto d = [&](){ return c; }();
6704 auto e = [a, &b](int x) mutable {
6705 const auto identity = [](int y){ return y; };
6706 for (auto i = 0; i < a; ++i)
6708 return x + identity(a + b);
6710 return a + b + c + d + e;
6716 const auto nullary = [](){ return 0; };
6717 const auto unary = [](int x){ return x; };
6718 using nullary_t = decltype(nullary);
6719 using unary_t = decltype(unary);
6720 const auto higher1st = [](nullary_t f){ return f(); };
6721 const auto higher2nd = [unary](nullary_t f1){
6722 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6724 return higher1st(nullary) + higher2nd(nullary)(unary);
6729 namespace test_variadic_templates
6735 template <int N0, int... N1toN>
6736 struct sum<N0, N1toN...>
6738 static constexpr auto value = N0 + sum<N1toN...>::value;
6744 static constexpr auto value = 0;
6747 static_assert(sum<>::value == 0, "");
6748 static_assert(sum<1>::value == 1, "");
6749 static_assert(sum<23>::value == 23, "");
6750 static_assert(sum<1, 2>::value == 3, "");
6751 static_assert(sum<5, 5, 11>::value == 21, "");
6752 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6756 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6757 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6759 namespace test_template_alias_sfinae
6764 template<typename T>
6765 using member = typename T::member_type;
6767 template<typename T>
6770 template<typename T>
6771 void func(member<T>*) {}
6775 void test() { func<foo>(0); }
6779 } // namespace cxx11
6781 #endif // __cplusplus >= 201103L
6786 if ac_fn_cxx_try_compile "$LINENO"; then :
6791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6794 eval ac_res=\$$cachevar
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6796 $as_echo "$ac_res" >&6; }
6797 if eval test x\$$cachevar = xyes; then
6799 if test -n "$CXXCPP" ; then
6800 CXXCPP="$CXXCPP $switch"
6806 if test x$ac_success = xyes; then
6813 ac_cpp='$CPP $CPPFLAGS'
6814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6818 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6819 if test x$ac_success = xno; then
6820 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6823 if test x$ac_success = xno; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6826 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6830 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6836 if test "${build}" != "${host}"; then
6837 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6839 ac_cpp
='$CXXCPP $CPPFLAGS'
6840 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6841 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6842 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6844 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6845 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6846 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6847 CXX
="$CXX_FOR_BUILD"
6848 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6849 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6851 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6852 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6853 $as_echo_n "(cached) " >&6
6855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6856 /* end confdefs.h. */
6859 // If the compiler admits that it is not ready for C++11, why torture it?
6860 // Hopefully, this will speed up the test.
6864 #error "This is not a C++ compiler"
6866 #elif __cplusplus < 201103L
6868 #error "This is not a C++11 compiler"
6875 namespace test_static_assert
6878 template <typename T>
6881 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6886 namespace test_final_override
6895 struct Derived : public Base
6897 virtual ~Derived() override {}
6898 virtual void f() override {}
6903 namespace test_double_right_angle_brackets
6906 template < typename T >
6909 typedef check<void> single_type;
6910 typedef check<check<void>> double_type;
6911 typedef check<check<check<void>>> triple_type;
6912 typedef check<check<check<check<void>>>> quadruple_type;
6916 namespace test_decltype
6929 namespace test_type_deduction
6932 template < typename T1, typename T2 >
6935 static const bool value = false;
6938 template < typename T >
6939 struct is_same<T, T>
6941 static const bool value = true;
6944 template < typename T1, typename T2 >
6946 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6952 test(const int c, volatile int v)
6954 static_assert(is_same<int, decltype(0)>::value == true, "");
6955 static_assert(is_same<int, decltype(c)>::value == false, "");
6956 static_assert(is_same<int, decltype(v)>::value == false, "");
6959 auto sumi = ac + av + 'x';
6960 auto sumf = ac + av + 1.0;
6961 static_assert(is_same<int, decltype(ac)>::value == true, "");
6962 static_assert(is_same<int, decltype(av)>::value == true, "");
6963 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6964 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6965 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6966 return (sumf > 0.0) ? sumi : add(c, v);
6971 namespace test_noexcept
6974 int f() { return 0; }
6975 int g() noexcept { return 0; }
6977 static_assert(noexcept(f()) == false, "");
6978 static_assert(noexcept(g()) == true, "");
6982 namespace test_constexpr
6985 template < typename CharT >
6986 unsigned long constexpr
6987 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6989 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6992 template < typename CharT >
6993 unsigned long constexpr
6994 strlen_c(const CharT *const s) noexcept
6996 return strlen_c_r(s, 0UL);
6999 static_assert(strlen_c("") == 0UL, "");
7000 static_assert(strlen_c("1") == 1UL, "");
7001 static_assert(strlen_c("example") == 7UL, "");
7002 static_assert(strlen_c("another\0example") == 7UL, "");
7006 namespace test_rvalue_references
7012 static constexpr int value = N;
7015 answer<1> f(int&) { return answer<1>(); }
7016 answer<2> f(const int&) { return answer<2>(); }
7017 answer<3> f(int&&) { return answer<3>(); }
7024 static_assert(decltype(f(i))::value == 1, "");
7025 static_assert(decltype(f(c))::value == 2, "");
7026 static_assert(decltype(f(0))::value == 3, "");
7031 namespace test_uniform_initialization
7036 static const int zero {};
7037 static const int one {1};
7040 static_assert(test::zero == 0, "");
7041 static_assert(test::one == 1, "");
7045 namespace test_lambdas
7051 auto lambda1 = [](){};
7052 auto lambda2 = lambda1;
7060 auto a = [](int i, int j){ return i + j; }(1, 2);
7061 auto b = []() -> int { return '0'; }();
7062 auto c = [=](){ return a + b; }();
7063 auto d = [&](){ return c; }();
7064 auto e = [a, &b](int x) mutable {
7065 const auto identity = [](int y){ return y; };
7066 for (auto i = 0; i < a; ++i)
7068 return x + identity(a + b);
7070 return a + b + c + d + e;
7076 const auto nullary = [](){ return 0; };
7077 const auto unary = [](int x){ return x; };
7078 using nullary_t = decltype(nullary);
7079 using unary_t = decltype(unary);
7080 const auto higher1st = [](nullary_t f){ return f(); };
7081 const auto higher2nd = [unary](nullary_t f1){
7082 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7084 return higher1st(nullary) + higher2nd(nullary)(unary);
7089 namespace test_variadic_templates
7095 template <int N0, int... N1toN>
7096 struct sum<N0, N1toN...>
7098 static constexpr auto value = N0 + sum<N1toN...>::value;
7104 static constexpr auto value = 0;
7107 static_assert(sum<>::value == 0, "");
7108 static_assert(sum<1>::value == 1, "");
7109 static_assert(sum<23>::value == 23, "");
7110 static_assert(sum<1, 2>::value == 3, "");
7111 static_assert(sum<5, 5, 11>::value == 21, "");
7112 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7116 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7117 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7119 namespace test_template_alias_sfinae
7124 template<typename T>
7125 using member = typename T::member_type;
7127 template<typename T>
7130 template<typename T>
7131 void func(member<T>*) {}
7135 void test() { func<foo>(0); }
7139 } // namespace cxx11
7141 #endif // __cplusplus >= 201103L
7146 if ac_fn_cxx_try_compile
"$LINENO"; then :
7147 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
7149 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
7151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
7154 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
7155 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
7159 if test x
$ac_success = xno
; then
7160 for alternative
in ${ax_cxx_compile_alternatives}; do
7161 switch
="-std=gnu++${alternative}"
7162 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7164 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
7165 if eval \
${$cachevar+:} false
; then :
7166 $as_echo_n "(cached) " >&6
7170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7171 /* end confdefs.h. */
7174 // If the compiler admits that it is not ready for C++11, why torture it?
7175 // Hopefully, this will speed up the test.
7179 #error "This is not a C++ compiler"
7181 #elif __cplusplus < 201103L
7183 #error "This is not a C++11 compiler"
7190 namespace test_static_assert
7193 template <typename T>
7196 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7201 namespace test_final_override
7210 struct Derived : public Base
7212 virtual ~Derived() override {}
7213 virtual void f() override {}
7218 namespace test_double_right_angle_brackets
7221 template < typename T >
7224 typedef check<void> single_type;
7225 typedef check<check<void>> double_type;
7226 typedef check<check<check<void>>> triple_type;
7227 typedef check<check<check<check<void>>>> quadruple_type;
7231 namespace test_decltype
7244 namespace test_type_deduction
7247 template < typename T1, typename T2 >
7250 static const bool value = false;
7253 template < typename T >
7254 struct is_same<T, T>
7256 static const bool value = true;
7259 template < typename T1, typename T2 >
7261 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7267 test(const int c, volatile int v)
7269 static_assert(is_same<int, decltype(0)>::value == true, "");
7270 static_assert(is_same<int, decltype(c)>::value == false, "");
7271 static_assert(is_same<int, decltype(v)>::value == false, "");
7274 auto sumi = ac + av + 'x';
7275 auto sumf = ac + av + 1.0;
7276 static_assert(is_same<int, decltype(ac)>::value == true, "");
7277 static_assert(is_same<int, decltype(av)>::value == true, "");
7278 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7279 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7280 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7281 return (sumf > 0.0) ? sumi : add(c, v);
7286 namespace test_noexcept
7289 int f() { return 0; }
7290 int g() noexcept { return 0; }
7292 static_assert(noexcept(f()) == false, "");
7293 static_assert(noexcept(g()) == true, "");
7297 namespace test_constexpr
7300 template < typename CharT >
7301 unsigned long constexpr
7302 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7304 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7307 template < typename CharT >
7308 unsigned long constexpr
7309 strlen_c(const CharT *const s) noexcept
7311 return strlen_c_r(s, 0UL);
7314 static_assert(strlen_c("") == 0UL, "");
7315 static_assert(strlen_c("1") == 1UL, "");
7316 static_assert(strlen_c("example") == 7UL, "");
7317 static_assert(strlen_c("another\0example") == 7UL, "");
7321 namespace test_rvalue_references
7327 static constexpr int value = N;
7330 answer<1> f(int&) { return answer<1>(); }
7331 answer<2> f(const int&) { return answer<2>(); }
7332 answer<3> f(int&&) { return answer<3>(); }
7339 static_assert(decltype(f(i))::value == 1, "");
7340 static_assert(decltype(f(c))::value == 2, "");
7341 static_assert(decltype(f(0))::value == 3, "");
7346 namespace test_uniform_initialization
7351 static const int zero {};
7352 static const int one {1};
7355 static_assert(test::zero == 0, "");
7356 static_assert(test::one == 1, "");
7360 namespace test_lambdas
7366 auto lambda1 = [](){};
7367 auto lambda2 = lambda1;
7375 auto a = [](int i, int j){ return i + j; }(1, 2);
7376 auto b = []() -> int { return '0'; }();
7377 auto c = [=](){ return a + b; }();
7378 auto d = [&](){ return c; }();
7379 auto e = [a, &b](int x) mutable {
7380 const auto identity = [](int y){ return y; };
7381 for (auto i = 0; i < a; ++i)
7383 return x + identity(a + b);
7385 return a + b + c + d + e;
7391 const auto nullary = [](){ return 0; };
7392 const auto unary = [](int x){ return x; };
7393 using nullary_t = decltype(nullary);
7394 using unary_t = decltype(unary);
7395 const auto higher1st = [](nullary_t f){ return f(); };
7396 const auto higher2nd = [unary](nullary_t f1){
7397 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7399 return higher1st(nullary) + higher2nd(nullary)(unary);
7404 namespace test_variadic_templates
7410 template <int N0, int... N1toN>
7411 struct sum<N0, N1toN...>
7413 static constexpr auto value = N0 + sum<N1toN...>::value;
7419 static constexpr auto value = 0;
7422 static_assert(sum<>::value == 0, "");
7423 static_assert(sum<1>::value == 1, "");
7424 static_assert(sum<23>::value == 23, "");
7425 static_assert(sum<1, 2>::value == 3, "");
7426 static_assert(sum<5, 5, 11>::value == 21, "");
7427 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7431 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7432 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7434 namespace test_template_alias_sfinae
7439 template<typename T>
7440 using member = typename T::member_type;
7442 template<typename T>
7445 template<typename T>
7446 void func(member<T>*) {}
7450 void test() { func<foo>(0); }
7454 } // namespace cxx11
7456 #endif // __cplusplus >= 201103L
7461 if ac_fn_cxx_try_compile
"$LINENO"; then :
7466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7469 eval ac_res
=\$
$cachevar
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7471 $as_echo "$ac_res" >&6; }
7472 if eval test x\$
$cachevar = xyes
; then
7474 if test -n "$CXXCPP" ; then
7475 CXXCPP
="$CXXCPP $switch"
7483 if test x
$ac_success = xno
; then
7484 for alternative
in ${ax_cxx_compile_alternatives}; do
7485 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7486 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7488 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7489 if eval \${$cachevar+:} false; then :
7490 $as_echo_n "(cached
) " >&6
7494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h. */
7498 // If the compiler admits that it is not ready for C++11, why torture it?
7499 // Hopefully, this will speed up the test.
7503 #error "This is not a C
++ compiler
"
7505 #elif __cplusplus < 201103L
7507 #error "This is not a C
++11 compiler
"
7514 namespace test_static_assert
7517 template <typename T>
7520 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7525 namespace test_final_override
7534 struct Derived : public Base
7536 virtual ~Derived() override {}
7537 virtual void f() override {}
7542 namespace test_double_right_angle_brackets
7545 template < typename T >
7548 typedef check<void> single_type;
7549 typedef check<check<void>> double_type;
7550 typedef check<check<check<void>>> triple_type;
7551 typedef check<check<check<check<void>>>> quadruple_type;
7555 namespace test_decltype
7568 namespace test_type_deduction
7571 template < typename T1, typename T2 >
7574 static const bool value = false;
7577 template < typename T >
7578 struct is_same<T, T>
7580 static const bool value = true;
7583 template < typename T1, typename T2 >
7585 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7591 test(const int c, volatile int v)
7593 static_assert(is_same<int, decltype(0)>::value == true, "");
7594 static_assert(is_same<int, decltype(c)>::value == false, "");
7595 static_assert(is_same<int, decltype(v)>::value == false, "");
7598 auto sumi = ac + av + 'x';
7599 auto sumf = ac + av + 1.0;
7600 static_assert(is_same<int, decltype(ac)>::value == true, "");
7601 static_assert(is_same<int, decltype(av)>::value == true, "");
7602 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7603 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7604 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7605 return (sumf > 0.0) ? sumi : add(c, v);
7610 namespace test_noexcept
7613 int f() { return 0; }
7614 int g() noexcept { return 0; }
7616 static_assert(noexcept(f()) == false, "");
7617 static_assert(noexcept(g()) == true, "");
7621 namespace test_constexpr
7624 template < typename CharT >
7625 unsigned long constexpr
7626 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7628 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7631 template < typename CharT >
7632 unsigned long constexpr
7633 strlen_c(const CharT *const s) noexcept
7635 return strlen_c_r(s, 0UL);
7638 static_assert(strlen_c("") == 0UL, "");
7639 static_assert(strlen_c("1") == 1UL, "");
7640 static_assert(strlen_c("example
") == 7UL, "");
7641 static_assert(strlen_c("another\
0example
") == 7UL, "");
7645 namespace test_rvalue_references
7651 static constexpr int value = N;
7654 answer<1> f(int&) { return answer<1>(); }
7655 answer<2> f(const int&) { return answer<2>(); }
7656 answer<3> f(int&&) { return answer<3>(); }
7663 static_assert(decltype(f(i))::value == 1, "");
7664 static_assert(decltype(f(c))::value == 2, "");
7665 static_assert(decltype(f(0))::value == 3, "");
7670 namespace test_uniform_initialization
7675 static const int zero {};
7676 static const int one {1};
7679 static_assert(test::zero == 0, "");
7680 static_assert(test::one == 1, "");
7684 namespace test_lambdas
7690 auto lambda1 = [](){};
7691 auto lambda2 = lambda1;
7699 auto a = [](int i, int j){ return i + j; }(1, 2);
7700 auto b = []() -> int { return '0'; }();
7701 auto c = [=](){ return a + b; }();
7702 auto d = [&](){ return c; }();
7703 auto e = [a, &b](int x) mutable {
7704 const auto identity = [](int y){ return y; };
7705 for (auto i = 0; i < a; ++i)
7707 return x + identity(a + b);
7709 return a + b + c + d + e;
7715 const auto nullary = [](){ return 0; };
7716 const auto unary = [](int x){ return x; };
7717 using nullary_t = decltype(nullary);
7718 using unary_t = decltype(unary);
7719 const auto higher1st = [](nullary_t f){ return f(); };
7720 const auto higher2nd = [unary](nullary_t f1){
7721 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7723 return higher1st(nullary) + higher2nd(nullary)(unary);
7728 namespace test_variadic_templates
7734 template <int N0, int... N1toN>
7735 struct sum<N0, N1toN...>
7737 static constexpr auto value = N0 + sum<N1toN...>::value;
7743 static constexpr auto value = 0;
7746 static_assert(sum<>::value == 0, "");
7747 static_assert(sum<1>::value == 1, "");
7748 static_assert(sum<23>::value == 23, "");
7749 static_assert(sum<1, 2>::value == 3, "");
7750 static_assert(sum<5, 5, 11>::value == 21, "");
7751 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7755 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7756 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7758 namespace test_template_alias_sfinae
7763 template<typename T>
7764 using member = typename T::member_type;
7766 template<typename T>
7769 template<typename T>
7770 void func(member<T>*) {}
7774 void test() { func<foo>(0); }
7778 } // namespace cxx11
7780 #endif // __cplusplus >= 201103L
7785 if ac_fn_cxx_try_compile "$LINENO"; then :
7790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7793 eval ac_res=\$$cachevar
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7795 $as_echo "$ac_res" >&6; }
7796 if eval test x\$$cachevar = xyes; then
7798 if test -n "$CXXCPP" ; then
7799 CXXCPP="$CXXCPP $switch"
7805 if test x$ac_success = xyes; then
7810 CXX_FOR_BUILD="$CXX"
7811 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7812 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7813 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7814 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7815 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7817 ac_cpp='$CPP $CPPFLAGS'
7818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7822 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7823 if test x$ac_success = xno; then
7824 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7827 if test x$ac_success = xno; then
7828 HAVE_CXX11_FOR_BUILD=0
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7830 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7832 HAVE_CXX11_FOR_BUILD=1
7834 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7842 # Check whether --enable-pgo-build was given.
7843 if test "${enable_pgo_build+set}" = set; then :
7844 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
7850 # Issue errors and warnings for invalid/strange PGO build combinations.
7851 case "$have_compiler:$host:$target:$enable_pgo_build" in
7854 # Allow the PGO build only if we aren't building a compiler and
7855 # we are in a native configuration.
7856 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
7858 # Disallow the PGO bootstrap if we are building a compiler.
7859 yes:*:*:yes |
yes:*:*:lto
)
7860 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7863 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
7867 if test "$enable_pgo_build" != "no"; then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
7869 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
7870 old_CFLAGS
="$CFLAGS"
7871 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
7872 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
7874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7878 if ac_fn_c_try_compile
"$LINENO"; then :
7881 PGO_BUILD_GEN_CFLAGS
=
7883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7884 CFLAGS
="$old_CFLAGS"
7885 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7887 $as_echo "yes" >&6; }
7888 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7892 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7895 if test "$enable_pgo_build" = "lto"; then
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
7897 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
7898 old_CFLAGS
="$CFLAGS"
7899 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
7900 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
7901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7905 if ac_fn_c_try_compile
"$LINENO"; then :
7908 PGO_BUILD_LTO_CFLAGS
=
7910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7911 CFLAGS
="$old_CFLAGS"
7912 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7914 $as_echo "yes" >&6; }
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
7919 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
7927 # Used for setting $lt_cv_objdir
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7929 $as_echo_n "checking for objdir... " >&6; }
7930 if ${lt_cv_objdir+:} false
; then :
7931 $as_echo_n "(cached) " >&6
7933 rm -f .libs
2>/dev
/null
7934 mkdir .libs
2>/dev
/null
7935 if test -d .libs
; then
7938 # MS-DOS does not allow filenames that begin with a dot.
7941 rmdir .libs
2>/dev
/null
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7944 $as_echo "$lt_cv_objdir" >&6; }
7945 objdir
=$lt_cv_objdir
7951 cat >>confdefs.h
<<_ACEOF
7952 #define LT_OBJDIR "$lt_cv_objdir/"
7957 # Check for GMP, MPFR and MPC
7958 gmplibs
="-lmpc -lmpfr -lgmp"
7962 # Specify a location for mpc
7963 # check for this first so it ends up on the link line before mpfr.
7965 # Check whether --with-mpc was given.
7966 if test "${with_mpc+set}" = set; then :
7971 # Check whether --with-mpc-include was given.
7972 if test "${with_mpc_include+set}" = set; then :
7973 withval
=$with_mpc_include;
7977 # Check whether --with-mpc-lib was given.
7978 if test "${with_mpc_lib+set}" = set; then :
7979 withval
=$with_mpc_lib;
7983 if test "x$with_mpc" != x
; then
7984 gmplibs
="-L$with_mpc/lib $gmplibs"
7985 gmpinc
="-I$with_mpc/include $gmpinc"
7987 if test "x$with_mpc_include" != x
; then
7988 gmpinc
="-I$with_mpc_include $gmpinc"
7990 if test "x$with_mpc_lib" != x
; then
7991 gmplibs
="-L$with_mpc_lib $gmplibs"
7993 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
7994 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
7995 gmpinc
='-I$$s/mpc/src '"$gmpinc"
7996 # Do not test the mpc version. Assume that it is sufficient, since
7997 # it is in the source tree, and the library has not been built yet
7998 # but it would be included on the link line in the version check below
7999 # hence making the test fail.
8003 # Specify a location for mpfr
8004 # check for this first so it ends up on the link line before gmp.
8006 # Check whether --with-mpfr was given.
8007 if test "${with_mpfr+set}" = set; then :
8012 # Check whether --with-mpfr-include was given.
8013 if test "${with_mpfr_include+set}" = set; then :
8014 withval
=$with_mpfr_include;
8018 # Check whether --with-mpfr-lib was given.
8019 if test "${with_mpfr_lib+set}" = set; then :
8020 withval
=$with_mpfr_lib;
8024 if test "x$with_mpfr" != x
; then
8025 gmplibs
="-L$with_mpfr/lib $gmplibs"
8026 gmpinc
="-I$with_mpfr/include $gmpinc"
8028 if test "x$with_mpfr_include" != x
; then
8029 gmpinc
="-I$with_mpfr_include $gmpinc"
8031 if test "x$with_mpfr_lib" != x
; then
8032 gmplibs
="-L$with_mpfr_lib $gmplibs"
8034 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
8035 # MPFR v3.1.0 moved the sources into a src sub-directory.
8036 if ! test -d ${srcdir}/mpfr
/src
; then
8037 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
8039 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
8040 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
8041 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
8042 # Do not test the mpfr version. Assume that it is sufficient, since
8043 # it is in the source tree, and the library has not been built yet
8044 # but it would be included on the link line in the version check below
8045 # hence making the test fail.
8049 # Specify a location for gmp
8051 # Check whether --with-gmp was given.
8052 if test "${with_gmp+set}" = set; then :
8057 # Check whether --with-gmp-include was given.
8058 if test "${with_gmp_include+set}" = set; then :
8059 withval
=$with_gmp_include;
8063 # Check whether --with-gmp-lib was given.
8064 if test "${with_gmp_lib+set}" = set; then :
8065 withval
=$with_gmp_lib;
8070 if test "x$with_gmp" != x
; then
8071 gmplibs
="-L$with_gmp/lib $gmplibs"
8072 gmpinc
="-I$with_gmp/include $gmpinc"
8074 if test "x$with_gmp_include" != x
; then
8075 gmpinc
="-I$with_gmp_include $gmpinc"
8077 if test "x$with_gmp_lib" != x
; then
8078 gmplibs
="-L$with_gmp_lib $gmplibs"
8080 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
8081 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
8082 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
8083 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8084 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8085 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
8086 # Do not test the gmp version. Assume that it is sufficient, since
8087 # it is in the source tree, and the library has not been built yet
8088 # but it would be included on the link line in the version check below
8089 # hence making the test fail.
8093 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
8095 saved_CFLAGS
="$CFLAGS"
8096 CFLAGS
="$CFLAGS $gmpinc"
8097 # Check for the recommended and required versions of GMP.
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
8099 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
8100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8107 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8108 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8109 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
8117 if ac_fn_c_try_compile
"$LINENO"; then :
8118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8125 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8126 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8127 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
8135 if ac_fn_c_try_compile
"$LINENO"; then :
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8137 $as_echo "yes" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8140 $as_echo "buggy but acceptable" >&6; }
8142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }; have_gmp
=no
8147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8149 # If we have GMP, check the MPFR version.
8150 if test x
"$have_gmp" = xyes
; then
8151 # Check for the recommended and required versions of MPFR.
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
8153 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
8154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h. */
8162 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
8170 if ac_fn_c_try_compile
"$LINENO"; then :
8171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8179 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
8187 if ac_fn_c_try_compile
"$LINENO"; then :
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8189 $as_echo "yes" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8192 $as_echo "buggy but acceptable" >&6; }
8194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }; have_gmp
=no
8199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8202 # Check for the MPC header version.
8203 if test x
"$have_gmp" = xyes
; then
8204 # Check for the recommended and required versions of MPC.
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
8206 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
8207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8214 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
8222 if ac_fn_c_try_compile
"$LINENO"; then :
8223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8230 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
8238 if ac_fn_c_try_compile
"$LINENO"; then :
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8240 $as_echo "yes" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8243 $as_echo "buggy but acceptable" >&6; }
8245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }; have_gmp
=no
8250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8253 # Now check the MPFR library.
8254 if test x
"$have_gmp" = xyes
; then
8256 LIBS
="$LIBS $gmplibs"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
8258 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
8259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8272 mpfr_atan2 (n, n, x, MPFR_RNDN);
8273 mpfr_erfc (n, x, MPFR_RNDN);
8274 mpfr_subnormalize (x, t, MPFR_RNDN);
8278 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
8279 mpc_cosh (c, c, MPC_RNDNN);
8280 mpc_pow (c, c, c, MPC_RNDNN);
8281 mpc_acosh (c, c, MPC_RNDNN);
8288 if ac_fn_c_try_link
"$LINENO"; then :
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8290 $as_echo "yes" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }; have_gmp
=no
8295 rm -f core conftest.err conftest.
$ac_objext \
8296 conftest
$ac_exeext conftest.
$ac_ext
8300 CFLAGS
="$saved_CFLAGS"
8302 # The library versions listed in the error message below should match
8303 # the HARD-minimums enforced above.
8304 if test x
$have_gmp != xyes
; then
8305 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
8306 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
8307 their locations. Source code for these libraries can be found at
8308 their respective hosting sites as well as at
8309 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
8310 http://gcc.gnu.org/install/prerequisites.html for additional info. If
8311 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
8312 make sure that you have installed both the libraries and the header
8313 files. They may be located in separate packages." "$LINENO" 5
8317 # Flags needed for both GMP, MPFR and/or MPC.
8325 # Libraries to use for stage1 or when not bootstrapping.
8327 # Check whether --with-stage1-libs was given.
8328 if test "${with_stage1_libs+set}" = set; then :
8329 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8332 stage1_libs
=$withval
8340 # Whether or not to use -static-libstdc++ and -static-libgcc. The
8341 # default is yes if gcc is being built; no otherwise. The reason for
8342 # this default is that gdb is sometimes linked against GNU Source
8343 # Highlight, which is a shared library that uses C++ exceptions. In
8344 # this case, -static-libstdc++ will cause crashes.
8346 # Check whether --with-static-standard-libraries was given.
8347 if test "${with_static_standard_libraries+set}" = set; then :
8348 withval
=$with_static_standard_libraries;
8350 with_static_standard_libraries
=auto
8353 if test "$with_static_standard_libraries" = auto
; then
8354 with_static_standard_libraries
=$have_compiler
8357 # Linker flags to use for stage1 or when not bootstrapping.
8359 # Check whether --with-stage1-ldflags was given.
8360 if test "${with_stage1_ldflags+set}" = set; then :
8361 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8364 stage1_ldflags
=$withval
8368 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8369 # if supported. But if the user explicitly specified the libraries to use,
8370 # trust that they are doing what they want.
8371 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8372 -a "$have_static_libs" = yes; then
8373 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8379 # Libraries to use for stage2 and later builds.
8381 # Check whether --with-boot-libs was given.
8382 if test "${with_boot_libs+set}" = set; then :
8383 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8386 poststage1_libs
=$withval
8394 # Linker flags to use for stage2 and later builds.
8396 # Check whether --with-boot-ldflags was given.
8397 if test "${with_boot_ldflags+set}" = set; then :
8398 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8401 poststage1_ldflags
=$withval
8405 # In stages 2 and 3, default to linking libstdc++ and libgcc
8406 # statically. But if the user explicitly specified the libraries to
8407 # use, trust that they are doing what they want.
8408 if test "$poststage1_libs" = ""; then
8409 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8415 # GCC GRAPHITE dependency isl.
8416 # Basic setup is inlined here, actual checks are in config/isl.m4
8419 # Check whether --with-isl was given.
8420 if test "${with_isl+set}" = set; then :
8425 # Treat --without-isl as a request to disable
8426 # GRAPHITE support and skip all following checks.
8427 if test "x$with_isl" != "xno"; then
8431 # Check whether --with-isl-include was given.
8432 if test "${with_isl_include+set}" = set; then :
8433 withval
=$with_isl_include;
8437 # Check whether --with-isl-lib was given.
8438 if test "${with_isl_lib+set}" = set; then :
8439 withval
=$with_isl_lib;
8443 # Check whether --enable-isl-version-check was given.
8444 if test "${enable_isl_version_check+set}" = set; then :
8445 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8447 ENABLE_ISL_CHECK
=yes
8451 # Initialize isllibs and islinc.
8460 isllibs
="-L$with_isl/lib"
8461 islinc
="-I$with_isl/include"
8464 if test "x${with_isl_include}" != x
; then
8465 islinc
="-I$with_isl_include"
8467 if test "x${with_isl_lib}" != x
; then
8468 isllibs
="-L$with_isl_lib"
8470 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8471 && test -d ${srcdir}/isl
; then
8472 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8473 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8476 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8479 isllibs
="${isllibs} -lisl"
8483 if test "${ENABLE_ISL_CHECK}" = yes ; then
8484 _isl_saved_CFLAGS
=$CFLAGS
8485 _isl_saved_LDFLAGS
=$LDFLAGS
8486 _isl_saved_LIBS
=$LIBS
8488 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8489 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8490 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8493 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 #include <isl/schedule.h>
8500 isl_options_set_schedule_serialize_sccs (NULL, 0);
8505 if ac_fn_c_try_link
"$LINENO"; then :
8510 rm -f core conftest.err conftest.
$ac_objext \
8511 conftest
$ac_exeext conftest.
$ac_ext
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8513 $as_echo "$gcc_cv_isl" >&6; }
8515 if test "${gcc_cv_isl}" = no
; then
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8517 $as_echo "required isl version is 0.15 or later" >&6; }
8520 CFLAGS
=$_isl_saved_CFLAGS
8521 LDFLAGS
=$_isl_saved_LDFLAGS
8522 LIBS
=$_isl_saved_LIBS
8530 if test "x${with_isl}" = xno
; then
8531 graphite_requested
=no
8532 elif test "x${with_isl}" != x \
8533 ||
test "x${with_isl_include}" != x \
8534 ||
test "x${with_isl_lib}" != x
; then
8535 graphite_requested
=yes
8537 graphite_requested
=no
8542 if test "${gcc_cv_isl}" = no
; then
8547 if test "${graphite_requested}" = yes \
8548 && test "x${isllibs}" = x \
8549 && test "x${islinc}" = x
; then
8551 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8557 # If the isl check failed, disable builds of in-tree variant of isl
8558 if test "x$with_isl" = xno ||
8559 test "x$gcc_cv_isl" = xno
; then
8560 noconfigdirs
="$noconfigdirs isl"
8567 # Check for LTO support.
8568 # Check whether --enable-lto was given.
8569 if test "${enable_lto+set}" = set; then :
8570 enableval
=$enable_lto; enable_lto
=$enableval
8572 enable_lto
=yes; default_enable_lto
=yes
8581 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8582 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8583 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8592 if test $target_elf = yes; then :
8593 # ELF platforms build the lto-plugin always.
8594 build_lto_plugin
=yes
8597 if test x
"$default_enable_lto" = x
"yes" ; then
8599 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8600 # On other non-ELF platforms, LTO has yet to be validated.
8604 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8605 # It would also be nice to check the binutils support, but we don't
8606 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8607 # warn during gcc/ subconfigure; unless you're bootstrapping with
8608 # -flto it won't be needed until after installation anyway.
8610 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8611 *) if test x
"$enable_lto" = x
"yes"; then
8612 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8617 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8618 # Build it unless LTO was explicitly disabled.
8620 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8627 # Check whether --enable-linker-plugin-configure-flags was given.
8628 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8629 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8631 extra_linker_plugin_configure_flags
=
8635 # Check whether --enable-linker-plugin-flags was given.
8636 if test "${enable_linker_plugin_flags+set}" = set; then :
8637 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8639 extra_linker_plugin_flags
=
8644 # Enable --enable-host-shared.
8645 # Checked early to determine whether jit is an 'all' language
8646 # Check whether --enable-host-shared was given.
8647 if test "${enable_host_shared+set}" = set; then :
8648 enableval
=$enable_host_shared; host_shared
=$enableval
8650 x86_64-
*-darwin* | aarch64-
*-darwin*)
8651 if test x
$host_shared != xyes
; then
8652 # PIC is the default, and actually cannot be switched off.
8653 echo configure.ac
: warning
: PIC code is required
for the configured target
, host-shared setting ignored.
1>&2
8660 x86_64-
*-darwin* | aarch64-
*-darwin*) host_shared
=yes ;;
8661 *) host_shared
=no
;;
8667 # By default, C and C++ are the only stage 1 languages.
8668 stage1_languages
=,c
,
8670 # Target libraries that we bootstrap.
8671 bootstrap_target_libs
=,target-libgcc
,
8673 # Figure out what language subdirectories are present.
8674 # Look if the user specified --enable-languages="..."; if not, use
8675 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8677 # NB: embedded tabs in this IF block -- do not untabify
8678 if test -d ${srcdir}/gcc
; then
8679 if test x
"${enable_languages+set}" != xset
; then
8680 if test x
"${LANGUAGES+set}" = xset
; then
8681 enable_languages
="${LANGUAGES}"
8682 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8684 enable_languages
=default
8687 if test x
"${enable_languages}" = x ||
8688 test x
"${enable_languages}" = xyes
;
8690 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8694 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8696 # 'f95' is the old name for the 'fortran' language. We issue a warning
8697 # and make the substitution.
8698 case ,${enable_languages}, in
8700 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8701 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8705 # If bootstrapping, C++ must be enabled.
8706 case ",$enable_languages,:$enable_bootstrap" in
8709 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8710 enable_languages
="${enable_languages},c++"
8712 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8717 # First scan to see if an enabled language requires some other language.
8718 # We assume that a given config-lang.in will list all the language
8719 # front ends it requires, even if some are required indirectly.
8720 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8721 case ${lang_frag} in
8723 # The odd quoting in the next line works around
8724 # an apparent bug in bash 1.12 on linux.
8725 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8727 # From the config-lang.in, get $language, $lang_requires, and
8728 # $lang_requires_boot_languages.
8731 lang_requires_boot_languages
=
8732 # set srcdir during sourcing lang_frag to the gcc dir.
8733 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8734 # polutes this shell
8735 saved_srcdir
=${srcdir}
8736 srcdir
=${srcdir}/gcc .
${lang_frag}
8737 srcdir
=${saved_srcdir}
8738 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8739 case ,${enable_languages}, in
8744 echo " \`$other' language required by \`$language'; enabling" 1>&2
8745 enable_languages
="${enable_languages},${other}"
8749 for other
in ${lang_requires_boot_languages} ; do
8750 if test "$other" != "c"; then
8751 case ,${enable_stage1_languages}, in
8756 case ,${enable_languages}, in
8758 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8759 enable_stage1_languages
="$enable_stage1_languages,${other}"
8770 new_enable_languages
=,c
,
8772 # If LTO is enabled, add the LTO front end.
8773 if test "$enable_lto" = "yes" ; then
8774 case ,${enable_languages}, in
8776 *) enable_languages
="${enable_languages},lto" ;;
8778 if test "${build_lto_plugin}" = "yes" ; then
8779 configdirs
="$configdirs lto-plugin"
8783 # If we're building an offloading compiler, add the LTO front end.
8784 if test x
"$enable_as_accelerator_for" != x
; then
8785 case ,${enable_languages}, in
8787 *) enable_languages
="${enable_languages},lto" ;;
8791 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8792 potential_languages
=,c
,
8794 enabled_target_libs
=
8795 disabled_target_libs
=
8797 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8798 case ${lang_frag} in
8800 # The odd quoting in the next line works around
8801 # an apparent bug in bash 1.12 on linux.
8802 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8804 # From the config-lang.in, get $language, $target_libs,
8805 # $lang_dirs, $boot_language, and $build_by_default
8811 build_by_default
=yes
8812 # set srcdir during sourcing. See above about save & restore
8813 saved_srcdir
=${srcdir}
8814 srcdir
=${srcdir}/gcc .
${lang_frag}
8815 srcdir
=${saved_srcdir}
8816 if test x
${language} = x
; then
8817 echo "${lang_frag} doesn't set \$language." 1>&2
8821 if test "$language" = "c++"; then
8826 # C is always enabled, so no need to add it again
8827 if test "$language" != "c"; then
8828 case ,${enable_languages}, in
8830 # Language was explicitly selected; include it
8834 # All languages are enabled
8838 # 'default' was selected, select it if it is a default language
8839 add_this_lang
=${build_by_default}
8844 # Disable languages that need other directories if these aren't available.
8845 for i
in $subdir_requires; do
8846 test -f "$srcdir/gcc/$i/config-lang.in" && continue
8847 case ${add_this_lang} in
8849 # Specifically requested language; tell them.
8850 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
8854 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
8855 add_this_lang
=unsupported
8859 add_this_lang
=unsupported
8864 # Disable Ada if no preexisting GNAT is available.
8865 case ${add_this_lang}:${language}:${have_gnat} in
8867 # Specifically requested language; tell them.
8868 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
8872 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
8873 add_this_lang
=unsupported
8877 add_this_lang
=unsupported
8881 # Disable D if no preexisting GDC is available.
8882 case ${add_this_lang}:${language}:${have_gdc} in
8884 # Specifically requested language; tell them.
8885 as_fn_error $?
"GDC is required to build $language" "$LINENO" 5
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GDC is required to build $language" >&5
8889 $as_echo "$as_me: WARNING: GDC is required to build $language" >&2;}
8890 add_this_lang
=unsupported
8894 add_this_lang
=unsupported
8898 # Disable jit if -enable-host-shared not specified
8899 # but not if building for Mingw. All code in Windows
8900 # is position independent code (PIC).
8904 case ${add_this_lang}:${language}:${host_shared} in
8906 # PR jit/64780: explicitly specify --enable-host-shared
8908 Enabling language \"jit\" requires --enable-host-shared.
8910 --enable-host-shared typically slows the rest of the compiler down by
8911 a few %, so you must explicitly enable it.
8913 If you want to build both the jit and the regular compiler, it is often
8914 best to do this via two separate configure/builds, in separate
8915 directories, to avoid imposing the performance cost of
8916 --enable-host-shared on the regular compiler." "$LINENO" 5
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
8920 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
8921 add_this_lang
=unsupported
8925 add_this_lang
=unsupported
8931 # Disable a language that is unsupported by the target.
8932 case "${add_this_lang}: $unsupported_languages " in
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
8937 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
8938 add_this_lang
=unsupported
8942 case $add_this_lang in
8944 # Remove language-dependent dirs.
8945 disabled_target_libs
="$disabled_target_libs $target_libs"
8946 noconfigdirs
="$noconfigdirs $lang_dirs"
8949 # Remove language-dependent dirs; still show language as supported.
8950 disabled_target_libs
="$disabled_target_libs $target_libs"
8951 noconfigdirs
="$noconfigdirs $lang_dirs"
8952 potential_languages
="${potential_languages}${language},"
8955 new_enable_languages
="${new_enable_languages}${language},"
8956 potential_languages
="${potential_languages}${language},"
8957 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
8958 enabled_target_libs
="$enabled_target_libs $target_libs"
8959 case "${boot_language}:,$enable_stage1_languages," in
8960 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
8961 # Add to (comma-separated) list of stage 1 languages.
8962 case ",$stage1_languages," in
8963 *,$language,* |
,yes, |
,all
,) ;;
8964 *) stage1_languages
="${stage1_languages}${language}," ;;
8966 # We need to bootstrap any supporting libraries.
8967 bootstrap_target_libs
=`echo "${bootstrap_target_libs}${target_libs}," | sed "s/ /,/g"`
8976 # Add target libraries which are only needed for disabled languages
8978 if test -n "$disabled_target_libs"; then
8979 for dir
in $disabled_target_libs; do
8980 case " $enabled_target_libs " in
8982 *) noconfigdirs
="$noconfigdirs $dir" ;;
8987 # Check whether --enable-stage1-languages was given.
8988 if test "${enable_stage1_languages+set}" = set; then :
8989 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
8991 # Set it to something that will have no effect in the loop below
8992 enable_stage1_languages
=c
;;
8994 enable_stage1_languages
=`echo $new_enable_languages | \
8995 sed -e "s/^,//" -e "s/,$//" ` ;;
8997 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
8998 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
9001 # Add "good" languages from enable_stage1_languages to stage1_languages,
9002 # while "bad" languages go in missing_languages. Leave no duplicates.
9003 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
9004 case $potential_languages in
9006 case $stage1_languages in
9008 *) stage1_languages
="$stage1_languages$i," ;;
9011 case $missing_languages in
9013 *) missing_languages
="$missing_languages$i," ;;
9020 # Remove leading/trailing commas that were added for simplicity
9021 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
9022 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
9023 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
9024 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
9026 if test "x$missing_languages" != x
; then
9028 The following requested languages could not be built: ${missing_languages}
9029 Supported languages are: ${potential_languages}" "$LINENO" 5
9031 if test "x$new_enable_languages" != "x$enable_languages"; then
9032 echo The following languages will be built
: ${new_enable_languages}
9033 enable_languages
="$new_enable_languages"
9037 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
9040 # Handle --disable-<component> generically.
9041 for dir
in $configdirs $build_configdirs $target_configdirs ; do
9042 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
9043 varname
=`echo $dirname | sed -e s/+/_/g`
9044 if eval test x\
${enable_${varname}} "=" xno
; then
9045 noconfigdirs
="$noconfigdirs $dir"
9049 # Check for Boehm's garbage collector
9050 # Check whether --enable-objc-gc was given.
9051 if test "${enable_objc_gc+set}" = set; then :
9052 enableval
=$enable_objc_gc;
9056 # Check whether --with-target-bdw-gc was given.
9057 if test "${with_target_bdw_gc+set}" = set; then :
9058 withval
=$with_target_bdw_gc;
9062 # Check whether --with-target-bdw-gc-include was given.
9063 if test "${with_target_bdw_gc_include+set}" = set; then :
9064 withval
=$with_target_bdw_gc_include;
9068 # Check whether --with-target-bdw-gc-lib was given.
9069 if test "${with_target_bdw_gc_lib+set}" = set; then :
9070 withval
=$with_target_bdw_gc_lib;
9074 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
9076 $as_echo_n "checking for bdw garbage collector... " >&6; }
9077 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
9079 $as_echo "using bdw-gc in default locations" >&6; }
9081 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
9082 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
9083 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
9084 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
9087 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
9092 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
9093 case ,${enable_languages}, in
9095 # Disable libitm, libsanitizer if we're not building libstdc++
9096 case "${noconfigdirs}" in
9097 *target-libstdc
++-v3*)
9098 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
9104 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
9108 # If gcc/ is not in the source tree then we'll not be building a
9109 # target compiler, assume in that case we don't want to build any
9110 # target libraries or tools.
9112 # This was added primarily for the benefit for binutils-gdb who reuse
9113 # this configure script, but don't always have target tools available.
9114 if test ! -d ${srcdir}/gcc
; then
9115 skipdirs
="${skipdirs} ${target_configdirs}"
9118 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
9119 # $build_configdirs and $target_configdirs.
9120 # If we have the source for $noconfigdirs entries, add them to $notsupp.
9123 for dir
in .
$skipdirs $noconfigdirs ; do
9124 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
9125 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9126 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
9127 if test -r $srcdir/$dirname/configure
; then
9128 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9131 notsupp
="$notsupp $dir"
9135 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9136 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
9137 if test -r $srcdir/$dirname/configure
; then
9138 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9141 notsupp
="$notsupp $dir"
9145 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9146 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
9147 if test -r $srcdir/$dirname/configure
; then
9148 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9151 notsupp
="$notsupp $dir"
9157 # Quietly strip out all directories which aren't configurable in this tree.
9158 # This relies on all configurable subdirectories being autoconfiscated, which
9160 build_configdirs_all
="$build_configdirs"
9162 for i
in ${build_configdirs_all} ; do
9163 j
=`echo $i | sed -e s/build-//g`
9164 if test -f ${srcdir}/$j/configure
; then
9165 build_configdirs
="${build_configdirs} $i"
9169 configdirs_all
="$configdirs"
9171 for i
in ${configdirs_all} ; do
9172 if test -f ${srcdir}/$i/configure
; then
9173 configdirs
="${configdirs} $i"
9177 target_configdirs_all
="$target_configdirs"
9179 for i
in ${target_configdirs_all} ; do
9180 j
=`echo $i | sed -e s/target-//g`
9181 if test -f ${srcdir}/$j/configure
; then
9182 target_configdirs
="${target_configdirs} $i"
9186 # libiberty-linker-plugin is special: it doesn't have its own source directory,
9187 # so we have to add it after the preceding checks.
9188 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
9190 case " $configdirs " in
9192 # If we can build libiberty, we can also build libiberty-linker-plugin.
9193 configdirs
="$configdirs libiberty-linker-plugin"
9194 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
9195 --with-libiberty=../libiberty-linker-plugin";;
9197 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
9201 # Sometimes we have special requirements for the host libiberty.
9202 extra_host_libiberty_configure_flags
=
9203 extra_host_zlib_configure_flags
=
9204 case " $configdirs " in
9205 *" lto-plugin "* |
*" libcc1 "*)
9206 # When these are to be built as shared libraries, the same applies to
9208 extra_host_libiberty_configure_flags
=--enable-shared
9211 # When bfd is to be built as a shared library, the same applies to
9213 if test "$enable_shared" = "yes"; then
9214 extra_host_zlib_configure_flags
=--enable-host-shared
9221 # Produce a warning message for the subdirs we can't configure.
9222 # This isn't especially interesting in the Cygnus tree, but in the individual
9223 # FSF releases, it's important to let people know when their machine isn't
9224 # supported by the one or two programs in a package.
9226 if test -n "${notsupp}" && test -z "${norecursion}" ; then
9227 # If $appdirs is non-empty, at least one of those directories must still
9228 # be configured, or we error out. (E.g., if the gas release supports a
9229 # specified target in some subdirs but not the gas subdir, we shouldn't
9230 # pretend that all is well.)
9231 if test -n "$appdirs" ; then
9232 for dir
in $appdirs ; do
9233 if test -r $dir/Makefile.
in ; then
9234 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9238 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
9244 if test -n "$appdirs" ; then
9245 echo "*** This configuration is not supported by this package." 1>&2
9249 # Okay, some application will build, or we don't care to check. Still
9250 # notify of subdirs not getting built.
9251 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
9252 echo " ${notsupp}" 1>&2
9253 echo " (Any other directories should still work fine.)" 1>&2
9261 # To find our prefix, in gcc_cv_tool_prefix.
9263 # The user is always right.
9264 if test "${PATH_SEPARATOR+set}" != set; then
9265 echo "#! /bin/sh" >conf$$.sh
9266 echo "exit 0" >>conf$$.sh
9268 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9277 get_gcc_base_ver
="cat"
9279 # Check whether --with-gcc-major-version-only was given.
9280 if test "${with_gcc_major_version_only+set}" = set; then :
9281 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
9282 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
9292 if test "x$exec_prefix" = xNONE
; then
9293 if test "x$prefix" = xNONE
; then
9294 gcc_cv_tool_prefix
=$ac_default_prefix
9296 gcc_cv_tool_prefix
=$prefix
9299 gcc_cv_tool_prefix
=$exec_prefix
9302 # If there is no compiler in the tree, use the PATH only. In any
9303 # case, if there is no compiler in the tree nobody should use
9304 # AS_FOR_TARGET and LD_FOR_TARGET.
9305 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
9306 if test x
$with_gcc_major_version_only = xyes
; then
9307 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
9309 gcc_version
=`cat $srcdir/gcc/BASE-VER`
9311 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9312 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
9313 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9314 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
9315 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9316 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
9321 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
9322 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
9330 # Check whether --with-build-sysroot was given.
9331 if test "${with_build_sysroot+set}" = set; then :
9332 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
9333 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
9336 SYSROOT_CFLAGS_FOR_TARGET
=
9342 # Check whether --with-debug-prefix-map was given.
9343 if test "${with_debug_prefix_map+set}" = set; then :
9344 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
9345 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9346 for debug_map
in $withval; do
9347 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
9351 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9356 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
9357 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
9358 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
9359 # We want to ensure that TARGET libraries (which we know are built with
9360 # gcc) are built with "-O2 -g", so include those options when setting
9361 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
9362 if test "x$CFLAGS_FOR_TARGET" = x
; then
9363 if test "x${is_cross_compiler}" = xyes
; then
9364 CFLAGS_FOR_TARGET
="-g -O2"
9366 CFLAGS_FOR_TARGET
=$CFLAGS
9369 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
9372 *" -g "* |
*" -g3 "*) ;;
9373 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
9379 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
9380 if test "x${is_cross_compiler}" = xyes
; then
9381 CXXFLAGS_FOR_TARGET
="-g -O2"
9383 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
9384 case " $CXXFLAGS " in
9386 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
9388 case " $CXXFLAGS " in
9389 *" -g "* |
*" -g3 "*) ;;
9390 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
9398 # Handle --with-headers=XXX. If the value is not "yes", the contents of
9399 # the named directory are copied to $(tooldir)/sys-include.
9400 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
9401 if test x
${is_cross_compiler} = xno
; then
9402 echo 1>&2 '***' --with-headers is only supported when cross compiling
9405 if test x
"${with_headers}" != xyes
; then
9406 x
=${gcc_cv_tool_prefix}
9407 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9411 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9412 # the name directories are copied to $(tooldir)/lib. Multiple directories
9414 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9415 if test x
${is_cross_compiler} = xno
; then
9416 echo 1>&2 '***' --with-libs is only supported when cross compiling
9419 if test x
"${with_libs}" != xyes
; then
9420 # Copy the libraries in reverse order, so that files in the first named
9421 # library override files in subsequent libraries.
9422 x
=${gcc_cv_tool_prefix}
9423 for l
in ${with_libs}; do
9424 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9429 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9431 # This is done by determining whether or not the appropriate directory
9432 # is available, and by checking whether or not specific configurations
9433 # have requested that this magic not happen.
9435 # The command line options always override the explicit settings in
9436 # configure.ac, and the settings in configure.ac override this magic.
9438 # If the default for a toolchain is to use GNU as and ld, and you don't
9439 # want to do that, then you should use the --without-gnu-as and
9440 # --without-gnu-ld options for the configure script. Similarly, if
9441 # the default is to use the included zlib and you don't want to do that,
9442 # you should use the --with-system-zlib option for the configure script.
9444 if test x
${use_gnu_as} = x
&&
9445 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9447 extra_host_args
="$extra_host_args --with-gnu-as"
9450 if test x
${use_gnu_ld} = x
&&
9451 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9453 extra_host_args
="$extra_host_args --with-gnu-ld"
9456 if test x
${use_included_zlib} = x
&&
9457 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9460 with_system_zlib
=yes
9461 extra_host_args
="$extra_host_args --with-system-zlib"
9464 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9465 # can detect this case.
9467 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9469 extra_host_args
="$extra_host_args --with-newlib"
9472 # Handle ${copy_dirs}
9473 set fnord
${copy_dirs}
9475 while test $# != 0 ; do
9476 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9479 echo Copying
$1 to
$2
9481 # Use the install script to create the directory and all required
9482 # parent directories.
9483 if test -d $2 ; then
9487 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9490 # Copy the directory, assuming we have tar.
9491 # FIXME: Should we use B in the second tar? Not all systems support it.
9492 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9494 # It is the responsibility of the user to correctly adjust all
9495 # symlinks. If somebody can figure out how to handle them correctly
9496 # here, feel free to add the code.
9503 # Determine a target-dependent exec_prefix that the installed
9504 # gcc will search in. Keep this list sorted by triplet, with
9505 # the *-*-osname triplets last.
9508 i
[34567]86-pc-msdosdjgpp*)
9509 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9514 md_exec_prefix
=/usr
/ccs
/bin
9518 extra_arflags_for_target
=
9519 extra_nmflags_for_target
=
9520 extra_ranlibflags_for_target
=
9521 target_makefile_frag
=/dev
/null
9524 target_makefile_frag
="config/mt-spu"
9526 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9527 target_makefile_frag
="config/mt-sde"
9529 mipsisa
*-*-elfoabi*)
9530 target_makefile_frag
="config/mt-mips-elfoabi"
9532 mips
*-*-*linux
* | mips
*-*-gnu*)
9533 target_makefile_frag
="config/mt-mips-gnu"
9536 target_makefile_frag
="config/mt-nios2-elf"
9539 target_makefile_frag
="config/mt-android"
9541 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9542 target_makefile_frag
="config/mt-gnu"
9544 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9545 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9546 # commands to handle both 32-bit and 64-bit objects. These flags are
9547 # harmless if we're using GNU nm or ar.
9548 extra_arflags_for_target
=" -X32_64"
9549 extra_nmflags_for_target
=" -B -X32_64"
9553 alphaieee_frag
=/dev
/null
9556 # This just makes sure to use the -mieee option to build target libs.
9557 # This should probably be set individually by each library.
9558 alphaieee_frag
="config/mt-alphaieee"
9562 # If --enable-target-optspace always use -Os instead of -O2 to build
9563 # the target libraries, similarly if it is not specified, use -Os
9564 # on selected platforms.
9565 ospace_frag
=/dev
/null
9566 case "${enable_target_optspace}:${target}" in
9568 ospace_frag
="config/mt-ospace"
9571 ospace_frag
="config/mt-d30v"
9573 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9574 ospace_frag
="config/mt-ospace"
9579 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9583 # Some systems (e.g., one of the i386-aix systems the gas testers are
9584 # using) don't handle "\$" correctly, so don't use it here.
9585 tooldir
='${exec_prefix}'/${target_noncanonical}
9586 build_tooldir
=${tooldir}
9588 # Create a .gdbinit file which runs the one in srcdir
9589 # and tells GDB to look there for source files.
9591 if test -r ${srcdir}/.gdbinit
; then
9594 *) cat > .
/.gdbinit
<<EOF
9598 source ${srcdir}/.gdbinit
9604 # Make sure that the compiler is able to generate an executable. If it
9605 # can't, we are probably in trouble. We don't care whether we can run the
9606 # executable--we might be using a cross compiler--we only care whether it
9607 # can be created. At this point the main configure script has set CC.
9609 echo "int main () { return 0; }" > conftest.c
9610 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9611 if test $?
= 0 ; then
9612 if test -s conftest ||
test -s conftest.exe
; then
9618 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9619 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9626 # Decide which environment variable is used to find dynamic libraries.
9628 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9629 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9630 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9631 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9634 # On systems where the dynamic library environment variable is PATH,
9635 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9636 # built executables to PATH.
9637 if test "$RPATH_ENVVAR" = PATH
; then
9638 GCC_SHLIB_SUBDIR
=/shlib
9643 # Adjust the toplevel makefile according to whether bootstrap was selected.
9644 case $enable_bootstrap in
9646 bootstrap_suffix
=bootstrap
9647 BUILD_CONFIG
=bootstrap-debug
9650 bootstrap_suffix
=no-bootstrap
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9656 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9659 # Check whether --with-build-config was given.
9660 if test "${with_build_config+set}" = set; then :
9661 withval
=$with_build_config; case $with_build_config in
9662 yes) with_build_config
= ;;
9663 no
) with_build_config
= BUILD_CONFIG
= ;;
9668 if test "x${with_build_config}" != x
; then
9669 BUILD_CONFIG
=$with_build_config
9671 case $BUILD_CONFIG in
9673 if echo "int f (void) { return 0; }" > conftest.c
&&
9674 ${CC} -c conftest.c
&&
9675 mv conftest.o conftest.o.g0
&&
9676 ${CC} -c -g conftest.c
&&
9677 mv conftest.o conftest.o.g
&&
9678 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9683 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9688 $as_echo "$BUILD_CONFIG" >&6; }
9691 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9693 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9694 # Check whether --enable-vtable-verify was given.
9695 if test "${enable_vtable_verify+set}" = set; then :
9696 enableval
=$enable_vtable_verify; case "$enableval" in
9697 yes) enable_vtable_verify
=yes ;;
9698 no
) enable_vtable_verify
=no
;;
9699 *) enable_vtable_verify
=no
;;
9702 enable_vtable_verify
=no
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9706 $as_echo "$enable_vtable_verify" >&6; }
9708 # Record target_configdirs and the configure arguments for target and
9709 # build configuration in Makefile.
9710 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9711 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9712 bootstrap_fixincludes
=no
9714 # If we are building libgomp, bootstrap it.
9715 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9716 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9719 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9720 # or bootstrap-ubsan, bootstrap it.
9721 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9722 case "$BUILD_CONFIG" in
9723 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9724 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9725 bootstrap_fixincludes
=yes
9730 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9731 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9732 test "$enable_vtable_verify" != no
; then
9733 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9736 # If we are building libatomic and the list of enabled languages includes the
9737 # D frontend, bootstrap it.
9738 if echo " ${target_configdirs} " |
grep " libatomic " > /dev
/null
2>&1; then
9739 case ,${enable_languages}, in
9741 bootstrap_target_libs
=${bootstrap_target_libs}target-libatomic
,
9746 # Determine whether gdb needs tk/tcl or not.
9747 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9748 # and in that case we want gdb to be built without tk. Ugh!
9749 # In fact I believe gdb is the *only* package directly dependent on tk,
9750 # so we should be able to put the 'maybe's in unconditionally and
9751 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9752 # 100% sure that that's safe though.
9754 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9755 case "$enable_gdbtk" in
9759 GDB_TK
="${gdb_tk}" ;;
9761 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9762 # distro. Eventually someone will fix this and move Insight, nee
9763 # gdbtk to a separate directory.
9764 if test -d ${srcdir}/gdb
/gdbtk
; then
9771 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9772 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9774 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9775 # else does, only include them if one of these is built. The Makefile
9776 # provides the ordering, so it's enough here to add to the list.
9777 case " ${configdirs} " in
9779 configdirs
="${configdirs} gnulib gdbsupport"
9782 configdirs
="${configdirs} gnulib gdbsupport"
9785 configdirs
="${configdirs} gnulib"
9789 # Strip out unwanted targets.
9791 # While at that, we remove Makefiles if we were started for recursive
9792 # configuration, so that the top-level Makefile reconfigures them,
9793 # like we used to do when configure itself was recursive.
9795 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
9796 # but now we're fixing up the Makefile ourselves with the additional
9797 # commands passed to AC_CONFIG_FILES. Use separate variables
9798 # extrasub-{build,host,target} not because there is any reason to split
9799 # the substitutions up that way, but only to remain below the limit of
9800 # 99 commands in a script, for HP-UX sed.
9802 # Do not nest @if/@endif or @unless/@endunless pairs, because
9803 # configure will not warn you at all.
9805 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
9806 yes:yes:*\ gold\
*:*,c
++,*) ;;
9807 yes:yes:*\ gold\
*:*)
9808 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
9813 for module
in ${build_configdirs} ; do
9814 if test -z "${no_recursion}" \
9815 && test -f ${build_subdir}/${module}/Makefile
; then
9816 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
9817 rm -f ${build_subdir}/${module}/Makefile
9819 extrasub_build
="$extrasub_build
9820 /^@if build-$module\$/d
9821 /^@endif build-$module\$/d
9822 /^@unless build-$module\$/,/^@endunless build-$module\$/d
9823 /^@if build-$module-$bootstrap_suffix\$/d
9824 /^@endif build-$module-$bootstrap_suffix\$/d
9825 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
9828 for module
in ${configdirs} ; do
9829 if test -z "${no_recursion}"; then
9830 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
9831 if test -f ${file}; then
9832 echo 1>&2 "*** removing ${file} to force reconfigure"
9837 case ${module},${bootstrap_fixincludes} in
9838 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
9839 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
9841 extrasub_host
="$extrasub_host
9843 /^@endif $module\$/d
9844 /^@unless $module\$/,/^@endunless $module\$/d
9845 /^@if $module-$host_bootstrap_suffix\$/d
9846 /^@endif $module-$host_bootstrap_suffix\$/d
9847 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
9850 for module
in ${target_configdirs} ; do
9851 if test -z "${no_recursion}" \
9852 && test -f ${target_subdir}/${module}/Makefile
; then
9853 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
9854 rm -f ${target_subdir}/${module}/Makefile
9857 # We only bootstrap target libraries listed in bootstrap_target_libs.
9858 case $bootstrap_target_libs in
9859 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
9860 *) target_bootstrap_suffix
=no-bootstrap
;;
9863 extrasub_target
="$extrasub_target
9864 /^@if target-$module\$/d
9865 /^@endif target-$module\$/d
9866 /^@unless target-$module\$/,/^@endunless target-$module\$/d
9867 /^@if target-$module-$target_bootstrap_suffix\$/d
9868 /^@endif target-$module-$target_bootstrap_suffix\$/d
9869 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
9872 # Do the final fixup along with target modules.
9873 extrasub_target
="$extrasub_target
9878 if test "$enable_pgo_build" != "no"; then
9879 extrasub_build
="$extrasub_build
9881 /^@endif pgo-build\$/d"
9884 # Create the serialization dependencies. This uses a temporary file.
9886 # Check whether --enable-serial-configure was given.
9887 if test "${enable_serial_configure+set}" = set; then :
9888 enableval
=$enable_serial_configure;
9892 case ${enable_serial_configure} in
9894 enable_serial_build_configure
=yes
9895 enable_serial_host_configure
=yes
9896 enable_serial_target_configure
=yes
9900 # These force 'configure's to be done one at a time, to avoid problems
9901 # with contention over a shared config.cache.
9903 echo '# serdep.tmp' > serdep.tmp
9905 test "x${enable_serial_build_configure}" = xyes
&&
9906 for item
in ${build_configdirs} ; do
9909 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
9914 test "x${enable_serial_host_configure}" = xyes
&&
9915 for item
in ${configdirs} ; do
9918 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
9923 test "x${enable_serial_target_configure}" = xyes
&&
9924 for item
in ${target_configdirs} ; do
9927 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
9931 serialization_dependencies
=serdep.tmp
9934 # Base args. Strip norecursion, cache-file, srcdir, host, build,
9935 # target, nonopt, and variable assignments. These are the ones we
9936 # might not want to pass down to subconfigures. The exception being
9937 # --cache-file=/dev/null, which is used to turn off the use of cache
9938 # files altogether, and which should be passed on to subconfigures.
9939 # Also strip program-prefix, program-suffix, and program-transform-name,
9940 # so that we can pass down a consistent program-transform-name.
9945 eval "set -- $ac_configure_args"
9948 if test X
"$skip_next" = X
"yes"; then
9952 if test X
"$keep_next" = X
"yes"; then
9955 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9957 baseargs
="$baseargs '$ac_arg'"
9958 tbaseargs
="$tbaseargs '$ac_arg'"
9963 # Handle separated arguments. Based on the logic generated by
9966 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
9967 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
9968 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
9969 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
9983 --with-* |
--without-*)
9984 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
9988 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
9991 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
10000 mpc | mpfr | gmp | isl
)
10001 # If we're processing --with-$lib, --with-$lib-include or
10002 # --with-$lib-lib, for one of the libs above, and target is
10003 # different from host, don't pass the current argument to any
10004 # target library's configure.
10005 if test x
$is_cross_compiler = xyes
; then
10014 --cache-file=/dev
/null | \
10015 -cache-file=/dev
/null
)
10016 # Handled here to avoid the test to skip args below.
10017 baseargs
="$baseargs '$ac_arg'"
10018 tbaseargs
="$tbaseargs '$ac_arg'"
10019 # Assert: $separate_arg should always be no.
10020 keep_next
=$separate_arg
10036 -program-prefix* | \
10037 -program-suffix* | \
10038 -program-transform-name* )
10039 skip_next
=$separate_arg
10043 # An option. Add it.
10046 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10048 baseargs
="$baseargs '$ac_arg'"
10049 if test X
"$skip_targ" = Xno
; then
10050 tbaseargs
="$tbaseargs '$ac_arg'"
10052 keep_next
=$separate_arg
10055 # Either a variable assignment, or a nonopt (triplet). Don't
10056 # pass it down; let the Makefile handle this.
10061 # Remove the initial space we just introduced and, as these will be
10062 # expanded by make, quote '$'.
10063 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
10065 # Add in --program-transform-name, after --program-prefix and
10066 # --program-suffix have been applied to it. Autoconf has already
10067 # doubled dollar signs and backslashes in program_transform_name; we want
10068 # the backslashes un-doubled, and then the entire thing wrapped in single
10069 # quotes, because this will be expanded first by make and then by the shell.
10070 # Also, because we want to override the logic in subdir configure scripts to
10071 # choose program_transform_name, replace any s,x,x, with s,y,y,.
10072 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
10073 ${program_transform_name}
10075 gcc_transform_name
=`cat conftestsed.out`
10076 rm -f conftestsed.out
10077 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
10078 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
10079 if test "$silent" = yes; then
10080 baseargs
="$baseargs --silent"
10081 tbaseargs
="$tbaseargs --silent"
10083 baseargs
="$baseargs --disable-option-checking"
10084 tbaseargs
="$tbaseargs --disable-option-checking"
10086 # Record and document user additions to sub configure arguments.
10091 # For the build-side libraries, we just need to pretend we're native,
10092 # and not use the same cache file. Multilibs are neither needed nor
10093 # desired. We can't even use the same cache file for all build-side
10094 # libraries, as they're compiled differently; some with C, some with
10095 # C++ or with different feature-enabling options.
10096 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
10098 # For host modules, accept cache file option, or specification as blank.
10099 case "${cache_file}" in
10101 cache_file_option
="" ;;
10102 /* |
[A-Za-z
]:[\\/]* ) # absolute path
10103 cache_file_option
="--cache-file=${cache_file}" ;;
10105 cache_file_option
="--cache-file=../${cache_file}" ;;
10108 # Host dirs don't like to share a cache file either, horribly enough.
10109 # This seems to be due to autoconf 2.5x stupidity.
10110 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
10112 target_configargs
="$target_configargs ${tbaseargs}"
10114 # Passing a --with-cross-host argument lets the target libraries know
10115 # whether they are being built with a cross-compiler or being built
10116 # native. However, it would be better to use other mechanisms to make the
10117 # sorts of decisions they want to make on this basis. Please consider
10118 # this option to be deprecated. FIXME.
10119 if test x
${is_cross_compiler} = xyes
; then
10120 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
10123 # Special user-friendly check for native x86_64-linux build, if
10124 # multilib is not explicitly enabled.
10125 case "$target:$have_compiler:$host:$target:$enable_multilib" in
10126 x86_64-
*linux
*:yes:$build:$build:)
10127 # Make sure we have a development environment that handles 32-bit
10129 echo "int main () { return 0; }" > conftest.c
10130 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
10131 if test $?
= 0 ; then
10132 if test -s conftest ||
test -s conftest.exe
; then
10137 if test x
${dev64} != xyes
; then
10138 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
10143 # Default to --enable-multilib.
10144 if test x
${enable_multilib} = x
; then
10145 target_configargs
="--enable-multilib ${target_configargs}"
10148 # Pass --with-newlib if appropriate. Note that target_configdirs has
10149 # changed from the earlier setting of with_newlib.
10150 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
10151 target_configargs
="--with-newlib ${target_configargs}"
10154 # Different target subdirs use different values of certain variables
10155 # (notably CXX). Worse, multilibs use *lots* of different values.
10156 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
10157 # it doesn't automatically accept command-line overrides of them.
10158 # This means it's not safe for target subdirs to share a cache file,
10159 # which is disgusting, but there you have it. Hopefully this can be
10160 # fixed in future. It's still worthwhile to use a cache file for each
10161 # directory. I think.
10163 # Pass the appropriate --build, --host, --target and --cache-file arguments.
10164 # We need to pass --target, as newer autoconf's requires consistency
10165 # for target_alias and gcc doesn't manage it consistently.
10166 target_configargs
="--cache-file=./config.cache ${target_configargs}"
10169 case " $target_configdirs " in
10171 case " $target_configargs " in
10172 *" --with-newlib "*)
10175 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
10179 # If we're not building GCC, don't discard standard headers.
10180 if test -d ${srcdir}/gcc
; then
10181 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
10183 if test "${build}" != "${host}"; then
10184 # On Canadian crosses, CC_FOR_TARGET will have already been set
10185 # by `configure', so we won't have an opportunity to add -Bgcc/
10186 # to it. This is right: we don't want to search that directory
10187 # for binaries, but we want the header files in there, so add
10189 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
10191 # Someone might think of using the pre-installed headers on
10192 # Canadian crosses, in case the installed compiler is not fully
10193 # compatible with the compiler being built. In this case, it
10194 # would be better to flag an error than risking having
10195 # incompatible object files being constructed. We can't
10196 # guarantee that an error will be flagged, but let's hope the
10197 # compiler will do it, when presented with incompatible header
10202 case "${target}-${is_cross_compiler}" in
10203 i
[3456789]86-*-linux*-no)
10204 # Here host == target, so we don't need to build gcc,
10205 # so we don't want to discard standard headers.
10206 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
10209 # If we're building newlib, use its generic headers last, but search
10210 # for any libc-related directories first (so make it the last -B
10212 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
10214 # If we're building libgloss, find the startup file, simulator library
10215 # and linker script.
10216 case " $target_configdirs " in
10218 # Look for startup file, simulator library and maybe linker script.
10219 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
10220 # Look for libnosys.a in case the target needs it.
10221 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
10222 # Most targets have the linker script in the source directory.
10223 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
10234 x86_64-
*mingw
* |
*-w64-mingw*)
10235 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
10236 # however, use a symlink named 'mingw' in ${prefix} .
10237 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
10240 # MinGW can't be handled as Cygwin above since it does not use newlib.
10241 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'
10245 # Allow the user to override the flags for
10246 # our build compiler if desired.
10247 if test x
"${build}" = x
"${host}" ; then
10248 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
10249 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
10250 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
10251 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
10254 # On Canadian crosses, we'll be searching the right directories for
10255 # the previously-installed cross compiler, so don't bother to add
10256 # flags for directories within the install tree of the compiler
10257 # being built; programs in there won't even run.
10258 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
10259 # Search for pre-installed headers if nothing else fits.
10260 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
10263 if test "x
${use_gnu_ld}" = x &&
10264 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
10265 # Arrange for us to find uninstalled linker scripts.
10266 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
10269 # Search for other target-specific linker scripts and such.
10270 case "${target}" in
10272 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
10276 # Makefile fragments.
10277 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
10279 eval fragval=\$$frag
10280 if test $fragval != /dev/null; then
10281 eval $frag=${srcdir}/$fragval
10289 # Miscellanea: directories, flags, etc.
10298 # Build module lists & subconfigure args.
10302 # Host module lists & subconfigure args.
10307 # Target module lists & subconfigure args.
10332 # Generate default definitions for YACC, M4, LEX and other programs that run
10333 # on the build machine. These are used if the Makefile can't locate these
10334 # programs in objdir.
10335 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
10337 for ac_prog in 'bison -y' byacc yacc
10339 # Extract the first word of "$ac_prog", so it can be a program name with args.
10340 set dummy $ac_prog; ac_word=$2
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10342 $as_echo_n "checking
for $ac_word...
" >&6; }
10343 if ${ac_cv_prog_YACC+:} false; then :
10344 $as_echo_n "(cached
) " >&6
10346 if test -n "$YACC"; then
10347 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10350 for as_dir in $PATH
10353 test -z "$as_dir" && as_dir=.
10354 for ac_exec_ext in '' $ac_executable_extensions; do
10355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10356 ac_cv_prog_YACC="$ac_prog"
10357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10366 YACC=$ac_cv_prog_YACC
10367 if test -n "$YACC"; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
10369 $as_echo "$YACC" >&6; }
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10372 $as_echo "no
" >&6; }
10376 test -n "$YACC" && break
10378 test -n "$YACC" || YACC="$MISSING bison
-y"
10380 case " $build_configdirs " in
10381 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
10384 for ac_prog in bison
10386 # Extract the first word of "$ac_prog", so it can be a program name with args.
10387 set dummy $ac_prog; ac_word=$2
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10389 $as_echo_n "checking
for $ac_word...
" >&6; }
10390 if ${ac_cv_prog_BISON+:} false; then :
10391 $as_echo_n "(cached
) " >&6
10393 if test -n "$BISON"; then
10394 ac_cv_prog_BISON="$BISON" # Let the user override the test.
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10400 test -z "$as_dir" && as_dir=.
10401 for ac_exec_ext in '' $ac_executable_extensions; do
10402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10403 ac_cv_prog_BISON="$ac_prog"
10404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10413 BISON=$ac_cv_prog_BISON
10414 if test -n "$BISON"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
10416 $as_echo "$BISON" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10419 $as_echo "no
" >&6; }
10423 test -n "$BISON" && break
10425 test -n "$BISON" || BISON="$MISSING bison
"
10427 case " $build_configdirs " in
10428 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10431 for ac_prog in gm4 gnum4 m4
10433 # Extract the first word of "$ac_prog", so it can be a program name with args.
10434 set dummy $ac_prog; ac_word=$2
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10436 $as_echo_n "checking
for $ac_word...
" >&6; }
10437 if ${ac_cv_prog_M4+:} false; then :
10438 $as_echo_n "(cached
) " >&6
10440 if test -n "$M4"; then
10441 ac_cv_prog_M4="$M4" # Let the user override the test.
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10447 test -z "$as_dir" && as_dir=.
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10450 ac_cv_prog_M4="$ac_prog"
10451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10461 if test -n "$M4"; then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10463 $as_echo "$M4" >&6; }
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10466 $as_echo "no
" >&6; }
10470 test -n "$M4" && break
10472 test -n "$M4" || M4="$MISSING m4"
10474 case " $build_configdirs " in
10475 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10478 for ac_prog in flex lex
10480 # Extract the first word of "$ac_prog", so it can be a program name with args.
10481 set dummy $ac_prog; ac_word=$2
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10483 $as_echo_n "checking
for $ac_word...
" >&6; }
10484 if ${ac_cv_prog_LEX+:} false; then :
10485 $as_echo_n "(cached
) " >&6
10487 if test -n "$LEX"; then
10488 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10494 test -z "$as_dir" && as_dir=.
10495 for ac_exec_ext in '' $ac_executable_extensions; do
10496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10497 ac_cv_prog_LEX="$ac_prog"
10498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10507 LEX=$ac_cv_prog_LEX
10508 if test -n "$LEX"; then
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10510 $as_echo "$LEX" >&6; }
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10513 $as_echo "no
" >&6; }
10517 test -n "$LEX" && break
10519 test -n "$LEX" || LEX="$MISSING flex
"
10521 case " $build_configdirs " in
10522 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10523 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10526 for ac_prog in flex
10528 # Extract the first word of "$ac_prog", so it can be a program name with args.
10529 set dummy $ac_prog; ac_word=$2
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10531 $as_echo_n "checking
for $ac_word...
" >&6; }
10532 if ${ac_cv_prog_FLEX+:} false; then :
10533 $as_echo_n "(cached
) " >&6
10535 if test -n "$FLEX"; then
10536 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10539 for as_dir in $PATH
10542 test -z "$as_dir" && as_dir=.
10543 for ac_exec_ext in '' $ac_executable_extensions; do
10544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10545 ac_cv_prog_FLEX="$ac_prog"
10546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10555 FLEX=$ac_cv_prog_FLEX
10556 if test -n "$FLEX"; then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10558 $as_echo "$FLEX" >&6; }
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10561 $as_echo "no
" >&6; }
10565 test -n "$FLEX" && break
10567 test -n "$FLEX" || FLEX="$MISSING flex
"
10569 case " $build_configdirs " in
10570 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10573 for ac_prog in makeinfo
10575 # Extract the first word of "$ac_prog", so it can be a program name with args.
10576 set dummy $ac_prog; ac_word=$2
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10578 $as_echo_n "checking
for $ac_word...
" >&6; }
10579 if ${ac_cv_prog_MAKEINFO+:} false; then :
10580 $as_echo_n "(cached
) " >&6
10582 if test -n "$MAKEINFO"; then
10583 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10586 for as_dir in $PATH
10589 test -z "$as_dir" && as_dir=.
10590 for ac_exec_ext in '' $ac_executable_extensions; do
10591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10592 ac_cv_prog_MAKEINFO="$ac_prog"
10593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10602 MAKEINFO=$ac_cv_prog_MAKEINFO
10603 if test -n "$MAKEINFO"; then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10605 $as_echo "$MAKEINFO" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10608 $as_echo "no
" >&6; }
10612 test -n "$MAKEINFO" && break
10614 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10616 case " $build_configdirs " in
10617 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10620 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10621 # higher, else we use the "missing
" dummy.
10622 if ${MAKEINFO} --version \
10623 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10626 MAKEINFO="$MISSING makeinfo
"
10632 # FIXME: expect and dejagnu may become build tools?
10634 for ac_prog in expect
10636 # Extract the first word of "$ac_prog", so it can be a program name with args.
10637 set dummy $ac_prog; ac_word=$2
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10639 $as_echo_n "checking
for $ac_word...
" >&6; }
10640 if ${ac_cv_prog_EXPECT+:} false; then :
10641 $as_echo_n "(cached
) " >&6
10643 if test -n "$EXPECT"; then
10644 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10647 for as_dir in $PATH
10650 test -z "$as_dir" && as_dir=.
10651 for ac_exec_ext in '' $ac_executable_extensions; do
10652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10653 ac_cv_prog_EXPECT="$ac_prog"
10654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10663 EXPECT=$ac_cv_prog_EXPECT
10664 if test -n "$EXPECT"; then
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10666 $as_echo "$EXPECT" >&6; }
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10669 $as_echo "no
" >&6; }
10673 test -n "$EXPECT" && break
10675 test -n "$EXPECT" || EXPECT="expect
"
10677 case " $configdirs " in
10679 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10683 for ac_prog in runtest
10685 # Extract the first word of "$ac_prog", so it can be a program name with args.
10686 set dummy $ac_prog; ac_word=$2
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10688 $as_echo_n "checking
for $ac_word...
" >&6; }
10689 if ${ac_cv_prog_RUNTEST+:} false; then :
10690 $as_echo_n "(cached
) " >&6
10692 if test -n "$RUNTEST"; then
10693 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10696 for as_dir in $PATH
10699 test -z "$as_dir" && as_dir=.
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10702 ac_cv_prog_RUNTEST="$ac_prog"
10703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10712 RUNTEST=$ac_cv_prog_RUNTEST
10713 if test -n "$RUNTEST"; then
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10715 $as_echo "$RUNTEST" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10718 $as_echo "no
" >&6; }
10722 test -n "$RUNTEST" && break
10724 test -n "$RUNTEST" || RUNTEST="runtest
"
10726 case " $configdirs " in
10728 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10735 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10736 ncn_target_tool_prefix=
10737 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10741 if test -n "$AR"; then
10743 elif test -n "$ac_cv_prog_AR"; then
10747 if test -n "$ac_cv_prog_AR"; then
10748 for ncn_progname in ar; do
10749 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10750 set dummy ${ncn_progname}; ac_word=$2
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10752 $as_echo_n "checking
for $ac_word...
" >&6; }
10753 if ${ac_cv_prog_AR+:} false; then :
10754 $as_echo_n "(cached
) " >&6
10756 if test -n "$AR"; then
10757 ac_cv_prog_AR="$AR" # Let the user override the test.
10759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10760 for as_dir in $PATH
10763 test -z "$as_dir" && as_dir=.
10764 for ac_exec_ext in '' $ac_executable_extensions; do
10765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10766 ac_cv_prog_AR="${ncn_progname}"
10767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10777 if test -n "$AR"; then
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10779 $as_echo "$AR" >&6; }
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10782 $as_echo "no
" >&6; }
10789 for ncn_progname in ar; do
10790 if test -n "$ncn_tool_prefix"; then
10791 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10792 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10794 $as_echo_n "checking
for $ac_word...
" >&6; }
10795 if ${ac_cv_prog_AR+:} false; then :
10796 $as_echo_n "(cached
) " >&6
10798 if test -n "$AR"; then
10799 ac_cv_prog_AR="$AR" # Let the user override the test.
10801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10802 for as_dir in $PATH
10805 test -z "$as_dir" && as_dir=.
10806 for ac_exec_ext in '' $ac_executable_extensions; do
10807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10808 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
10809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10819 if test -n "$AR"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10821 $as_echo "$AR" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10824 $as_echo "no
" >&6; }
10829 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
10830 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10831 set dummy ${ncn_progname}; ac_word=$2
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10833 $as_echo_n "checking
for $ac_word...
" >&6; }
10834 if ${ac_cv_prog_AR+:} false; then :
10835 $as_echo_n "(cached
) " >&6
10837 if test -n "$AR"; then
10838 ac_cv_prog_AR="$AR" # Let the user override the test.
10840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10841 for as_dir in $PATH
10844 test -z "$as_dir" && as_dir=.
10845 for ac_exec_ext in '' $ac_executable_extensions; do
10846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10847 ac_cv_prog_AR="${ncn_progname}"
10848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10858 if test -n "$AR"; then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10860 $as_echo "$AR" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10863 $as_echo "no
" >&6; }
10868 test -n "$ac_cv_prog_AR" && break
10871 if test -z "$ac_cv_prog_AR" ; then
10873 if test $build = $host ; then
10876 AR="${ncn_tool_prefix}$2"
10882 if test -n "$AS"; then
10884 elif test -n "$ac_cv_prog_AS"; then
10888 if test -n "$ac_cv_prog_AS"; then
10889 for ncn_progname in as; do
10890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10891 set dummy ${ncn_progname}; ac_word=$2
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10893 $as_echo_n "checking
for $ac_word...
" >&6; }
10894 if ${ac_cv_prog_AS+:} false; then :
10895 $as_echo_n "(cached
) " >&6
10897 if test -n "$AS"; then
10898 ac_cv_prog_AS="$AS" # Let the user override the test.
10900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10901 for as_dir in $PATH
10904 test -z "$as_dir" && as_dir=.
10905 for ac_exec_ext in '' $ac_executable_extensions; do
10906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10907 ac_cv_prog_AS="${ncn_progname}"
10908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10918 if test -n "$AS"; then
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10920 $as_echo "$AS" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10923 $as_echo "no
" >&6; }
10930 for ncn_progname in as; do
10931 if test -n "$ncn_tool_prefix"; then
10932 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10933 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10935 $as_echo_n "checking
for $ac_word...
" >&6; }
10936 if ${ac_cv_prog_AS+:} false; then :
10937 $as_echo_n "(cached
) " >&6
10939 if test -n "$AS"; then
10940 ac_cv_prog_AS="$AS" # Let the user override the test.
10942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10943 for as_dir in $PATH
10946 test -z "$as_dir" && as_dir=.
10947 for ac_exec_ext in '' $ac_executable_extensions; do
10948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10949 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
10950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10960 if test -n "$AS"; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10962 $as_echo "$AS" >&6; }
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10965 $as_echo "no
" >&6; }
10970 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
10971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10972 set dummy ${ncn_progname}; ac_word=$2
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10974 $as_echo_n "checking
for $ac_word...
" >&6; }
10975 if ${ac_cv_prog_AS+:} false; then :
10976 $as_echo_n "(cached
) " >&6
10978 if test -n "$AS"; then
10979 ac_cv_prog_AS="$AS" # Let the user override the test.
10981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10982 for as_dir in $PATH
10985 test -z "$as_dir" && as_dir=.
10986 for ac_exec_ext in '' $ac_executable_extensions; do
10987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10988 ac_cv_prog_AS="${ncn_progname}"
10989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10999 if test -n "$AS"; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
11001 $as_echo "$AS" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11004 $as_echo "no
" >&6; }
11009 test -n "$ac_cv_prog_AS" && break
11012 if test -z "$ac_cv_prog_AS" ; then
11014 if test $build = $host ; then
11017 AS="${ncn_tool_prefix}$2"
11023 if test -n "$DLLTOOL"; then
11024 ac_cv_prog_DLLTOOL=$DLLTOOL
11025 elif test -n "$ac_cv_prog_DLLTOOL"; then
11026 DLLTOOL=$ac_cv_prog_DLLTOOL
11029 if test -n "$ac_cv_prog_DLLTOOL"; then
11030 for ncn_progname in dlltool; do
11031 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11032 set dummy ${ncn_progname}; ac_word=$2
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11034 $as_echo_n "checking
for $ac_word...
" >&6; }
11035 if ${ac_cv_prog_DLLTOOL+:} false; then :
11036 $as_echo_n "(cached
) " >&6
11038 if test -n "$DLLTOOL"; then
11039 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11045 test -z "$as_dir" && as_dir=.
11046 for ac_exec_ext in '' $ac_executable_extensions; do
11047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11048 ac_cv_prog_DLLTOOL="${ncn_progname}"
11049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11058 DLLTOOL=$ac_cv_prog_DLLTOOL
11059 if test -n "$DLLTOOL"; then
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11061 $as_echo "$DLLTOOL" >&6; }
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11064 $as_echo "no
" >&6; }
11071 for ncn_progname in dlltool; do
11072 if test -n "$ncn_tool_prefix"; then
11073 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11074 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11076 $as_echo_n "checking
for $ac_word...
" >&6; }
11077 if ${ac_cv_prog_DLLTOOL+:} false; then :
11078 $as_echo_n "(cached
) " >&6
11080 if test -n "$DLLTOOL"; then
11081 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11084 for as_dir in $PATH
11087 test -z "$as_dir" && as_dir=.
11088 for ac_exec_ext in '' $ac_executable_extensions; do
11089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11090 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
11091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11100 DLLTOOL=$ac_cv_prog_DLLTOOL
11101 if test -n "$DLLTOOL"; then
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11103 $as_echo "$DLLTOOL" >&6; }
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11106 $as_echo "no
" >&6; }
11111 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
11112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11113 set dummy ${ncn_progname}; ac_word=$2
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11115 $as_echo_n "checking
for $ac_word...
" >&6; }
11116 if ${ac_cv_prog_DLLTOOL+:} false; then :
11117 $as_echo_n "(cached
) " >&6
11119 if test -n "$DLLTOOL"; then
11120 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11123 for as_dir in $PATH
11126 test -z "$as_dir" && as_dir=.
11127 for ac_exec_ext in '' $ac_executable_extensions; do
11128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11129 ac_cv_prog_DLLTOOL="${ncn_progname}"
11130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11139 DLLTOOL=$ac_cv_prog_DLLTOOL
11140 if test -n "$DLLTOOL"; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11142 $as_echo "$DLLTOOL" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11145 $as_echo "no
" >&6; }
11150 test -n "$ac_cv_prog_DLLTOOL" && break
11153 if test -z "$ac_cv_prog_DLLTOOL" ; then
11155 if test $build = $host ; then
11158 DLLTOOL="${ncn_tool_prefix}$2"
11164 if test -n "$DSYMUTIL"; then
11165 ac_cv_prog_DSYMUTIL=$DSYMUTIL
11166 elif test -n "$ac_cv_prog_DSYMUTIL"; then
11167 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11170 if test -n "$ac_cv_prog_DSYMUTIL"; then
11171 for ncn_progname in dsymutil; do
11172 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11173 set dummy ${ncn_progname}; ac_word=$2
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11175 $as_echo_n "checking
for $ac_word...
" >&6; }
11176 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11177 $as_echo_n "(cached
) " >&6
11179 if test -n "$DSYMUTIL"; then
11180 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11183 for as_dir in $PATH
11186 test -z "$as_dir" && as_dir=.
11187 for ac_exec_ext in '' $ac_executable_extensions; do
11188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11189 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11199 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11200 if test -n "$DSYMUTIL"; then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11202 $as_echo "$DSYMUTIL" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11205 $as_echo "no
" >&6; }
11212 for ncn_progname in dsymutil; do
11213 if test -n "$ncn_tool_prefix"; then
11214 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11215 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11217 $as_echo_n "checking
for $ac_word...
" >&6; }
11218 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11219 $as_echo_n "(cached
) " >&6
11221 if test -n "$DSYMUTIL"; then
11222 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11225 for as_dir in $PATH
11228 test -z "$as_dir" && as_dir=.
11229 for ac_exec_ext in '' $ac_executable_extensions; do
11230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11231 ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
11232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11241 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11242 if test -n "$DSYMUTIL"; then
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11244 $as_echo "$DSYMUTIL" >&6; }
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11247 $as_echo "no
" >&6; }
11252 if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
11253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11254 set dummy ${ncn_progname}; ac_word=$2
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11256 $as_echo_n "checking
for $ac_word...
" >&6; }
11257 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11258 $as_echo_n "(cached
) " >&6
11260 if test -n "$DSYMUTIL"; then
11261 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11264 for as_dir in $PATH
11267 test -z "$as_dir" && as_dir=.
11268 for ac_exec_ext in '' $ac_executable_extensions; do
11269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11270 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11280 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11281 if test -n "$DSYMUTIL"; then
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11283 $as_echo "$DSYMUTIL" >&6; }
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11286 $as_echo "no
" >&6; }
11291 test -n "$ac_cv_prog_DSYMUTIL" && break
11294 if test -z "$ac_cv_prog_DSYMUTIL" ; then
11296 if test $build = $host ; then
11299 DSYMUTIL="${ncn_tool_prefix}$2"
11305 if test -n "$LD"; then
11307 elif test -n "$ac_cv_prog_LD"; then
11311 if test -n "$ac_cv_prog_LD"; then
11312 for ncn_progname in ld; do
11313 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11314 set dummy ${ncn_progname}; ac_word=$2
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11316 $as_echo_n "checking
for $ac_word...
" >&6; }
11317 if ${ac_cv_prog_LD+:} false; then :
11318 $as_echo_n "(cached
) " >&6
11320 if test -n "$LD"; then
11321 ac_cv_prog_LD="$LD" # Let the user override the test.
11323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11324 for as_dir in $PATH
11327 test -z "$as_dir" && as_dir=.
11328 for ac_exec_ext in '' $ac_executable_extensions; do
11329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11330 ac_cv_prog_LD="${ncn_progname}"
11331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11341 if test -n "$LD"; then
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11343 $as_echo "$LD" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11346 $as_echo "no
" >&6; }
11353 for ncn_progname in ld; do
11354 if test -n "$ncn_tool_prefix"; then
11355 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11356 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11358 $as_echo_n "checking
for $ac_word...
" >&6; }
11359 if ${ac_cv_prog_LD+:} false; then :
11360 $as_echo_n "(cached
) " >&6
11362 if test -n "$LD"; then
11363 ac_cv_prog_LD="$LD" # Let the user override the test.
11365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11366 for as_dir in $PATH
11369 test -z "$as_dir" && as_dir=.
11370 for ac_exec_ext in '' $ac_executable_extensions; do
11371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11372 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
11373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11383 if test -n "$LD"; then
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11385 $as_echo "$LD" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11388 $as_echo "no
" >&6; }
11393 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
11394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11395 set dummy ${ncn_progname}; ac_word=$2
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11397 $as_echo_n "checking
for $ac_word...
" >&6; }
11398 if ${ac_cv_prog_LD+:} false; then :
11399 $as_echo_n "(cached
) " >&6
11401 if test -n "$LD"; then
11402 ac_cv_prog_LD="$LD" # Let the user override the test.
11404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11405 for as_dir in $PATH
11408 test -z "$as_dir" && as_dir=.
11409 for ac_exec_ext in '' $ac_executable_extensions; do
11410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11411 ac_cv_prog_LD="${ncn_progname}"
11412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11422 if test -n "$LD"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11424 $as_echo "$LD" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11427 $as_echo "no
" >&6; }
11432 test -n "$ac_cv_prog_LD" && break
11435 if test -z "$ac_cv_prog_LD" ; then
11437 if test $build = $host ; then
11440 LD="${ncn_tool_prefix}$2"
11446 if test -n "$LIPO"; then
11447 ac_cv_prog_LIPO=$LIPO
11448 elif test -n "$ac_cv_prog_LIPO"; then
11449 LIPO=$ac_cv_prog_LIPO
11452 if test -n "$ac_cv_prog_LIPO"; then
11453 for ncn_progname in lipo; do
11454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11455 set dummy ${ncn_progname}; ac_word=$2
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11457 $as_echo_n "checking
for $ac_word...
" >&6; }
11458 if ${ac_cv_prog_LIPO+:} false; then :
11459 $as_echo_n "(cached
) " >&6
11461 if test -n "$LIPO"; then
11462 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11465 for as_dir in $PATH
11468 test -z "$as_dir" && as_dir=.
11469 for ac_exec_ext in '' $ac_executable_extensions; do
11470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11471 ac_cv_prog_LIPO="${ncn_progname}"
11472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11481 LIPO=$ac_cv_prog_LIPO
11482 if test -n "$LIPO"; then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11484 $as_echo "$LIPO" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11487 $as_echo "no
" >&6; }
11494 for ncn_progname in lipo; do
11495 if test -n "$ncn_tool_prefix"; then
11496 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11497 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11499 $as_echo_n "checking
for $ac_word...
" >&6; }
11500 if ${ac_cv_prog_LIPO+:} false; then :
11501 $as_echo_n "(cached
) " >&6
11503 if test -n "$LIPO"; then
11504 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11507 for as_dir in $PATH
11510 test -z "$as_dir" && as_dir=.
11511 for ac_exec_ext in '' $ac_executable_extensions; do
11512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11513 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
11514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11523 LIPO=$ac_cv_prog_LIPO
11524 if test -n "$LIPO"; then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11526 $as_echo "$LIPO" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11529 $as_echo "no
" >&6; }
11534 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
11535 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11536 set dummy ${ncn_progname}; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11538 $as_echo_n "checking
for $ac_word...
" >&6; }
11539 if ${ac_cv_prog_LIPO+:} false; then :
11540 $as_echo_n "(cached
) " >&6
11542 if test -n "$LIPO"; then
11543 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546 for as_dir in $PATH
11549 test -z "$as_dir" && as_dir=.
11550 for ac_exec_ext in '' $ac_executable_extensions; do
11551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_prog_LIPO="${ncn_progname}"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11562 LIPO=$ac_cv_prog_LIPO
11563 if test -n "$LIPO"; then
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11565 $as_echo "$LIPO" >&6; }
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11568 $as_echo "no
" >&6; }
11573 test -n "$ac_cv_prog_LIPO" && break
11576 if test -z "$ac_cv_prog_LIPO" ; then
11578 if test $build = $host ; then
11581 LIPO="${ncn_tool_prefix}$2"
11587 if test -n "$NM"; then
11589 elif test -n "$ac_cv_prog_NM"; then
11593 if test -n "$ac_cv_prog_NM"; then
11594 for ncn_progname in nm; do
11595 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11596 set dummy ${ncn_progname}; ac_word=$2
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11598 $as_echo_n "checking
for $ac_word...
" >&6; }
11599 if ${ac_cv_prog_NM+:} false; then :
11600 $as_echo_n "(cached
) " >&6
11602 if test -n "$NM"; then
11603 ac_cv_prog_NM="$NM" # Let the user override the test.
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11609 test -z "$as_dir" && as_dir=.
11610 for ac_exec_ext in '' $ac_executable_extensions; do
11611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11612 ac_cv_prog_NM="${ncn_progname}"
11613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11623 if test -n "$NM"; then
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11625 $as_echo "$NM" >&6; }
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11628 $as_echo "no
" >&6; }
11635 for ncn_progname in nm; do
11636 if test -n "$ncn_tool_prefix"; then
11637 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11638 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11640 $as_echo_n "checking
for $ac_word...
" >&6; }
11641 if ${ac_cv_prog_NM+:} false; then :
11642 $as_echo_n "(cached
) " >&6
11644 if test -n "$NM"; then
11645 ac_cv_prog_NM="$NM" # Let the user override the test.
11647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11648 for as_dir in $PATH
11651 test -z "$as_dir" && as_dir=.
11652 for ac_exec_ext in '' $ac_executable_extensions; do
11653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11654 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11665 if test -n "$NM"; then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11667 $as_echo "$NM" >&6; }
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11670 $as_echo "no
" >&6; }
11675 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11677 set dummy ${ncn_progname}; ac_word=$2
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11679 $as_echo_n "checking
for $ac_word...
" >&6; }
11680 if ${ac_cv_prog_NM+:} false; then :
11681 $as_echo_n "(cached
) " >&6
11683 if test -n "$NM"; then
11684 ac_cv_prog_NM="$NM" # Let the user override the test.
11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11687 for as_dir in $PATH
11690 test -z "$as_dir" && as_dir=.
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11693 ac_cv_prog_NM="${ncn_progname}"
11694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11704 if test -n "$NM"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11706 $as_echo "$NM" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11709 $as_echo "no
" >&6; }
11714 test -n "$ac_cv_prog_NM" && break
11717 if test -z "$ac_cv_prog_NM" ; then
11719 if test $build = $host ; then
11722 NM="${ncn_tool_prefix}$2"
11728 if test -n "$RANLIB"; then
11729 ac_cv_prog_RANLIB=$RANLIB
11730 elif test -n "$ac_cv_prog_RANLIB"; then
11731 RANLIB=$ac_cv_prog_RANLIB
11734 if test -n "$ac_cv_prog_RANLIB"; then
11735 for ncn_progname in ranlib; do
11736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11737 set dummy ${ncn_progname}; ac_word=$2
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11739 $as_echo_n "checking
for $ac_word...
" >&6; }
11740 if ${ac_cv_prog_RANLIB+:} false; then :
11741 $as_echo_n "(cached
) " >&6
11743 if test -n "$RANLIB"; then
11744 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11753 ac_cv_prog_RANLIB="${ncn_progname}"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11763 RANLIB=$ac_cv_prog_RANLIB
11764 if test -n "$RANLIB"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11766 $as_echo "$RANLIB" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11769 $as_echo "no
" >&6; }
11776 for ncn_progname in ranlib; do
11777 if test -n "$ncn_tool_prefix"; then
11778 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11779 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11781 $as_echo_n "checking
for $ac_word...
" >&6; }
11782 if ${ac_cv_prog_RANLIB+:} false; then :
11783 $as_echo_n "(cached
) " >&6
11785 if test -n "$RANLIB"; then
11786 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789 for as_dir in $PATH
11792 test -z "$as_dir" && as_dir=.
11793 for ac_exec_ext in '' $ac_executable_extensions; do
11794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11795 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
11796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11805 RANLIB=$ac_cv_prog_RANLIB
11806 if test -n "$RANLIB"; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11808 $as_echo "$RANLIB" >&6; }
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11811 $as_echo "no
" >&6; }
11816 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
11817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11818 set dummy ${ncn_progname}; ac_word=$2
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11820 $as_echo_n "checking
for $ac_word...
" >&6; }
11821 if ${ac_cv_prog_RANLIB+:} false; then :
11822 $as_echo_n "(cached
) " >&6
11824 if test -n "$RANLIB"; then
11825 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11828 for as_dir in $PATH
11831 test -z "$as_dir" && as_dir=.
11832 for ac_exec_ext in '' $ac_executable_extensions; do
11833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11834 ac_cv_prog_RANLIB="${ncn_progname}"
11835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11844 RANLIB=$ac_cv_prog_RANLIB
11845 if test -n "$RANLIB"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11847 $as_echo "$RANLIB" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11850 $as_echo "no
" >&6; }
11855 test -n "$ac_cv_prog_RANLIB" && break
11858 if test -z "$ac_cv_prog_RANLIB" ; then
11864 if test -n "$STRIP"; then
11865 ac_cv_prog_STRIP=$STRIP
11866 elif test -n "$ac_cv_prog_STRIP"; then
11867 STRIP=$ac_cv_prog_STRIP
11870 if test -n "$ac_cv_prog_STRIP"; then
11871 for ncn_progname in strip; do
11872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11873 set dummy ${ncn_progname}; ac_word=$2
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11875 $as_echo_n "checking
for $ac_word...
" >&6; }
11876 if ${ac_cv_prog_STRIP+:} false; then :
11877 $as_echo_n "(cached
) " >&6
11879 if test -n "$STRIP"; then
11880 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11883 for as_dir in $PATH
11886 test -z "$as_dir" && as_dir=.
11887 for ac_exec_ext in '' $ac_executable_extensions; do
11888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889 ac_cv_prog_STRIP="${ncn_progname}"
11890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11899 STRIP=$ac_cv_prog_STRIP
11900 if test -n "$STRIP"; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11902 $as_echo "$STRIP" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11905 $as_echo "no
" >&6; }
11912 for ncn_progname in strip; do
11913 if test -n "$ncn_tool_prefix"; then
11914 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11915 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11917 $as_echo_n "checking
for $ac_word...
" >&6; }
11918 if ${ac_cv_prog_STRIP+:} false; then :
11919 $as_echo_n "(cached
) " >&6
11921 if test -n "$STRIP"; then
11922 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11925 for as_dir in $PATH
11928 test -z "$as_dir" && as_dir=.
11929 for ac_exec_ext in '' $ac_executable_extensions; do
11930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11931 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
11932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11941 STRIP=$ac_cv_prog_STRIP
11942 if test -n "$STRIP"; then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11944 $as_echo "$STRIP" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11947 $as_echo "no
" >&6; }
11952 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
11953 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11954 set dummy ${ncn_progname}; ac_word=$2
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11956 $as_echo_n "checking
for $ac_word...
" >&6; }
11957 if ${ac_cv_prog_STRIP+:} false; then :
11958 $as_echo_n "(cached
) " >&6
11960 if test -n "$STRIP"; then
11961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11964 for as_dir in $PATH
11967 test -z "$as_dir" && as_dir=.
11968 for ac_exec_ext in '' $ac_executable_extensions; do
11969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11970 ac_cv_prog_STRIP="${ncn_progname}"
11971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11980 STRIP=$ac_cv_prog_STRIP
11981 if test -n "$STRIP"; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11983 $as_echo "$STRIP" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11986 $as_echo "no
" >&6; }
11991 test -n "$ac_cv_prog_STRIP" && break
11994 if test -z "$ac_cv_prog_STRIP" ; then
12000 if test -n "$WINDRES"; then
12001 ac_cv_prog_WINDRES=$WINDRES
12002 elif test -n "$ac_cv_prog_WINDRES"; then
12003 WINDRES=$ac_cv_prog_WINDRES
12006 if test -n "$ac_cv_prog_WINDRES"; then
12007 for ncn_progname in windres; do
12008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12009 set dummy ${ncn_progname}; ac_word=$2
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12011 $as_echo_n "checking
for $ac_word...
" >&6; }
12012 if ${ac_cv_prog_WINDRES+:} false; then :
12013 $as_echo_n "(cached
) " >&6
12015 if test -n "$WINDRES"; then
12016 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12019 for as_dir in $PATH
12022 test -z "$as_dir" && as_dir=.
12023 for ac_exec_ext in '' $ac_executable_extensions; do
12024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12025 ac_cv_prog_WINDRES="${ncn_progname}"
12026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12035 WINDRES=$ac_cv_prog_WINDRES
12036 if test -n "$WINDRES"; then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12038 $as_echo "$WINDRES" >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12041 $as_echo "no
" >&6; }
12048 for ncn_progname in windres; do
12049 if test -n "$ncn_tool_prefix"; then
12050 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12051 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12053 $as_echo_n "checking
for $ac_word...
" >&6; }
12054 if ${ac_cv_prog_WINDRES+:} false; then :
12055 $as_echo_n "(cached
) " >&6
12057 if test -n "$WINDRES"; then
12058 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12061 for as_dir in $PATH
12064 test -z "$as_dir" && as_dir=.
12065 for ac_exec_ext in '' $ac_executable_extensions; do
12066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12067 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
12068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12077 WINDRES=$ac_cv_prog_WINDRES
12078 if test -n "$WINDRES"; then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12080 $as_echo "$WINDRES" >&6; }
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12083 $as_echo "no
" >&6; }
12088 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
12089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12090 set dummy ${ncn_progname}; ac_word=$2
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12092 $as_echo_n "checking
for $ac_word...
" >&6; }
12093 if ${ac_cv_prog_WINDRES+:} false; then :
12094 $as_echo_n "(cached
) " >&6
12096 if test -n "$WINDRES"; then
12097 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100 for as_dir in $PATH
12103 test -z "$as_dir" && as_dir=.
12104 for ac_exec_ext in '' $ac_executable_extensions; do
12105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12106 ac_cv_prog_WINDRES="${ncn_progname}"
12107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12116 WINDRES=$ac_cv_prog_WINDRES
12117 if test -n "$WINDRES"; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12119 $as_echo "$WINDRES" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12122 $as_echo "no
" >&6; }
12127 test -n "$ac_cv_prog_WINDRES" && break
12130 if test -z "$ac_cv_prog_WINDRES" ; then
12132 if test $build = $host ; then
12135 WINDRES="${ncn_tool_prefix}$2"
12141 if test -n "$WINDMC"; then
12142 ac_cv_prog_WINDMC=$WINDMC
12143 elif test -n "$ac_cv_prog_WINDMC"; then
12144 WINDMC=$ac_cv_prog_WINDMC
12147 if test -n "$ac_cv_prog_WINDMC"; then
12148 for ncn_progname in windmc; do
12149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12150 set dummy ${ncn_progname}; ac_word=$2
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12152 $as_echo_n "checking
for $ac_word...
" >&6; }
12153 if ${ac_cv_prog_WINDMC+:} false; then :
12154 $as_echo_n "(cached
) " >&6
12156 if test -n "$WINDMC"; then
12157 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12160 for as_dir in $PATH
12163 test -z "$as_dir" && as_dir=.
12164 for ac_exec_ext in '' $ac_executable_extensions; do
12165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12166 ac_cv_prog_WINDMC="${ncn_progname}"
12167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12176 WINDMC=$ac_cv_prog_WINDMC
12177 if test -n "$WINDMC"; then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12179 $as_echo "$WINDMC" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12182 $as_echo "no
" >&6; }
12189 for ncn_progname in windmc; do
12190 if test -n "$ncn_tool_prefix"; then
12191 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12192 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12194 $as_echo_n "checking
for $ac_word...
" >&6; }
12195 if ${ac_cv_prog_WINDMC+:} false; then :
12196 $as_echo_n "(cached
) " >&6
12198 if test -n "$WINDMC"; then
12199 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12202 for as_dir in $PATH
12205 test -z "$as_dir" && as_dir=.
12206 for ac_exec_ext in '' $ac_executable_extensions; do
12207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12208 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
12209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12218 WINDMC=$ac_cv_prog_WINDMC
12219 if test -n "$WINDMC"; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12221 $as_echo "$WINDMC" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12224 $as_echo "no
" >&6; }
12229 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
12230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12231 set dummy ${ncn_progname}; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12233 $as_echo_n "checking
for $ac_word...
" >&6; }
12234 if ${ac_cv_prog_WINDMC+:} false; then :
12235 $as_echo_n "(cached
) " >&6
12237 if test -n "$WINDMC"; then
12238 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12244 test -z "$as_dir" && as_dir=.
12245 for ac_exec_ext in '' $ac_executable_extensions; do
12246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12247 ac_cv_prog_WINDMC="${ncn_progname}"
12248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12257 WINDMC=$ac_cv_prog_WINDMC
12258 if test -n "$WINDMC"; then
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12260 $as_echo "$WINDMC" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12263 $as_echo "no
" >&6; }
12268 test -n "$ac_cv_prog_WINDMC" && break
12271 if test -z "$ac_cv_prog_WINDMC" ; then
12273 if test $build = $host ; then
12276 WINDMC="${ncn_tool_prefix}$2"
12282 if test -n "$OBJCOPY"; then
12283 ac_cv_prog_OBJCOPY=$OBJCOPY
12284 elif test -n "$ac_cv_prog_OBJCOPY"; then
12285 OBJCOPY=$ac_cv_prog_OBJCOPY
12288 if test -n "$ac_cv_prog_OBJCOPY"; then
12289 for ncn_progname in objcopy; do
12290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12291 set dummy ${ncn_progname}; ac_word=$2
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12293 $as_echo_n "checking
for $ac_word...
" >&6; }
12294 if ${ac_cv_prog_OBJCOPY+:} false; then :
12295 $as_echo_n "(cached
) " >&6
12297 if test -n "$OBJCOPY"; then
12298 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12301 for as_dir in $PATH
12304 test -z "$as_dir" && as_dir=.
12305 for ac_exec_ext in '' $ac_executable_extensions; do
12306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12307 ac_cv_prog_OBJCOPY="${ncn_progname}"
12308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12317 OBJCOPY=$ac_cv_prog_OBJCOPY
12318 if test -n "$OBJCOPY"; then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12320 $as_echo "$OBJCOPY" >&6; }
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12323 $as_echo "no
" >&6; }
12330 for ncn_progname in objcopy; do
12331 if test -n "$ncn_tool_prefix"; then
12332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12333 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12335 $as_echo_n "checking
for $ac_word...
" >&6; }
12336 if ${ac_cv_prog_OBJCOPY+:} false; then :
12337 $as_echo_n "(cached
) " >&6
12339 if test -n "$OBJCOPY"; then
12340 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12343 for as_dir in $PATH
12346 test -z "$as_dir" && as_dir=.
12347 for ac_exec_ext in '' $ac_executable_extensions; do
12348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12349 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
12350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12359 OBJCOPY=$ac_cv_prog_OBJCOPY
12360 if test -n "$OBJCOPY"; then
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12362 $as_echo "$OBJCOPY" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12365 $as_echo "no
" >&6; }
12370 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
12371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12372 set dummy ${ncn_progname}; ac_word=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12374 $as_echo_n "checking
for $ac_word...
" >&6; }
12375 if ${ac_cv_prog_OBJCOPY+:} false; then :
12376 $as_echo_n "(cached
) " >&6
12378 if test -n "$OBJCOPY"; then
12379 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12382 for as_dir in $PATH
12385 test -z "$as_dir" && as_dir=.
12386 for ac_exec_ext in '' $ac_executable_extensions; do
12387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12388 ac_cv_prog_OBJCOPY="${ncn_progname}"
12389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12398 OBJCOPY=$ac_cv_prog_OBJCOPY
12399 if test -n "$OBJCOPY"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12401 $as_echo "$OBJCOPY" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12404 $as_echo "no
" >&6; }
12409 test -n "$ac_cv_prog_OBJCOPY" && break
12412 if test -z "$ac_cv_prog_OBJCOPY" ; then
12414 if test $build = $host ; then
12417 OBJCOPY="${ncn_tool_prefix}$2"
12423 if test -n "$OBJDUMP"; then
12424 ac_cv_prog_OBJDUMP=$OBJDUMP
12425 elif test -n "$ac_cv_prog_OBJDUMP"; then
12426 OBJDUMP=$ac_cv_prog_OBJDUMP
12429 if test -n "$ac_cv_prog_OBJDUMP"; then
12430 for ncn_progname in objdump; do
12431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12432 set dummy ${ncn_progname}; ac_word=$2
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12434 $as_echo_n "checking
for $ac_word...
" >&6; }
12435 if ${ac_cv_prog_OBJDUMP+:} false; then :
12436 $as_echo_n "(cached
) " >&6
12438 if test -n "$OBJDUMP"; then
12439 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12442 for as_dir in $PATH
12445 test -z "$as_dir" && as_dir=.
12446 for ac_exec_ext in '' $ac_executable_extensions; do
12447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12448 ac_cv_prog_OBJDUMP="${ncn_progname}"
12449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12458 OBJDUMP=$ac_cv_prog_OBJDUMP
12459 if test -n "$OBJDUMP"; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12461 $as_echo "$OBJDUMP" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12464 $as_echo "no
" >&6; }
12471 for ncn_progname in objdump; do
12472 if test -n "$ncn_tool_prefix"; then
12473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12474 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12476 $as_echo_n "checking
for $ac_word...
" >&6; }
12477 if ${ac_cv_prog_OBJDUMP+:} false; then :
12478 $as_echo_n "(cached
) " >&6
12480 if test -n "$OBJDUMP"; then
12481 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12484 for as_dir in $PATH
12487 test -z "$as_dir" && as_dir=.
12488 for ac_exec_ext in '' $ac_executable_extensions; do
12489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12490 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
12491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12500 OBJDUMP=$ac_cv_prog_OBJDUMP
12501 if test -n "$OBJDUMP"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12503 $as_echo "$OBJDUMP" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12506 $as_echo "no
" >&6; }
12511 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
12512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12513 set dummy ${ncn_progname}; ac_word=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12515 $as_echo_n "checking
for $ac_word...
" >&6; }
12516 if ${ac_cv_prog_OBJDUMP+:} false; then :
12517 $as_echo_n "(cached
) " >&6
12519 if test -n "$OBJDUMP"; then
12520 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12523 for as_dir in $PATH
12526 test -z "$as_dir" && as_dir=.
12527 for ac_exec_ext in '' $ac_executable_extensions; do
12528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12529 ac_cv_prog_OBJDUMP="${ncn_progname}"
12530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12539 OBJDUMP=$ac_cv_prog_OBJDUMP
12540 if test -n "$OBJDUMP"; then
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12542 $as_echo "$OBJDUMP" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12545 $as_echo "no
" >&6; }
12550 test -n "$ac_cv_prog_OBJDUMP" && break
12553 if test -z "$ac_cv_prog_OBJDUMP" ; then
12555 if test $build = $host ; then
12558 OBJDUMP="${ncn_tool_prefix}$2"
12564 if test -n "$OTOOL"; then
12565 ac_cv_prog_OTOOL=$OTOOL
12566 elif test -n "$ac_cv_prog_OTOOL"; then
12567 OTOOL=$ac_cv_prog_OTOOL
12570 if test -n "$ac_cv_prog_OTOOL"; then
12571 for ncn_progname in otool; do
12572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12573 set dummy ${ncn_progname}; ac_word=$2
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12575 $as_echo_n "checking
for $ac_word...
" >&6; }
12576 if ${ac_cv_prog_OTOOL+:} false; then :
12577 $as_echo_n "(cached
) " >&6
12579 if test -n "$OTOOL"; then
12580 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12586 test -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12589 ac_cv_prog_OTOOL="${ncn_progname}"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12599 OTOOL=$ac_cv_prog_OTOOL
12600 if test -n "$OTOOL"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12602 $as_echo "$OTOOL" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12605 $as_echo "no
" >&6; }
12612 for ncn_progname in otool; do
12613 if test -n "$ncn_tool_prefix"; then
12614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12615 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12617 $as_echo_n "checking
for $ac_word...
" >&6; }
12618 if ${ac_cv_prog_OTOOL+:} false; then :
12619 $as_echo_n "(cached
) " >&6
12621 if test -n "$OTOOL"; then
12622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12625 for as_dir in $PATH
12628 test -z "$as_dir" && as_dir=.
12629 for ac_exec_ext in '' $ac_executable_extensions; do
12630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12631 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12641 OTOOL=$ac_cv_prog_OTOOL
12642 if test -n "$OTOOL"; then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12644 $as_echo "$OTOOL" >&6; }
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12647 $as_echo "no
" >&6; }
12652 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12654 set dummy ${ncn_progname}; ac_word=$2
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12656 $as_echo_n "checking
for $ac_word...
" >&6; }
12657 if ${ac_cv_prog_OTOOL+:} false; then :
12658 $as_echo_n "(cached
) " >&6
12660 if test -n "$OTOOL"; then
12661 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12664 for as_dir in $PATH
12667 test -z "$as_dir" && as_dir=.
12668 for ac_exec_ext in '' $ac_executable_extensions; do
12669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12670 ac_cv_prog_OTOOL="${ncn_progname}"
12671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12680 OTOOL=$ac_cv_prog_OTOOL
12681 if test -n "$OTOOL"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12683 $as_echo "$OTOOL" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12686 $as_echo "no
" >&6; }
12691 test -n "$ac_cv_prog_OTOOL" && break
12694 if test -z "$ac_cv_prog_OTOOL" ; then
12696 if test $build = $host ; then
12699 OTOOL="${ncn_tool_prefix}$2"
12705 if test -n "$READELF"; then
12706 ac_cv_prog_READELF=$READELF
12707 elif test -n "$ac_cv_prog_READELF"; then
12708 READELF=$ac_cv_prog_READELF
12711 if test -n "$ac_cv_prog_READELF"; then
12712 for ncn_progname in readelf; do
12713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12714 set dummy ${ncn_progname}; ac_word=$2
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12716 $as_echo_n "checking
for $ac_word...
" >&6; }
12717 if ${ac_cv_prog_READELF+:} false; then :
12718 $as_echo_n "(cached
) " >&6
12720 if test -n "$READELF"; then
12721 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12724 for as_dir in $PATH
12727 test -z "$as_dir" && as_dir=.
12728 for ac_exec_ext in '' $ac_executable_extensions; do
12729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12730 ac_cv_prog_READELF="${ncn_progname}"
12731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12740 READELF=$ac_cv_prog_READELF
12741 if test -n "$READELF"; then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12743 $as_echo "$READELF" >&6; }
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12746 $as_echo "no
" >&6; }
12753 for ncn_progname in readelf; do
12754 if test -n "$ncn_tool_prefix"; then
12755 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12756 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12758 $as_echo_n "checking
for $ac_word...
" >&6; }
12759 if ${ac_cv_prog_READELF+:} false; then :
12760 $as_echo_n "(cached
) " >&6
12762 if test -n "$READELF"; then
12763 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12766 for as_dir in $PATH
12769 test -z "$as_dir" && as_dir=.
12770 for ac_exec_ext in '' $ac_executable_extensions; do
12771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12772 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
12773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12782 READELF=$ac_cv_prog_READELF
12783 if test -n "$READELF"; then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12785 $as_echo "$READELF" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12788 $as_echo "no
" >&6; }
12793 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
12794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12795 set dummy ${ncn_progname}; ac_word=$2
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12797 $as_echo_n "checking
for $ac_word...
" >&6; }
12798 if ${ac_cv_prog_READELF+:} false; then :
12799 $as_echo_n "(cached
) " >&6
12801 if test -n "$READELF"; then
12802 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12805 for as_dir in $PATH
12808 test -z "$as_dir" && as_dir=.
12809 for ac_exec_ext in '' $ac_executable_extensions; do
12810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12811 ac_cv_prog_READELF="${ncn_progname}"
12812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12821 READELF=$ac_cv_prog_READELF
12822 if test -n "$READELF"; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12824 $as_echo "$READELF" >&6; }
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12827 $as_echo "no
" >&6; }
12832 test -n "$ac_cv_prog_READELF" && break
12835 if test -z "$ac_cv_prog_READELF" ; then
12837 if test $build = $host ; then
12840 READELF="${ncn_tool_prefix}$2"
12853 # Check whether --with-build-time-tools was given.
12854 if test "${with_build_time_tools+set}" = set; then :
12855 withval=$with_build_time_tools; case x"$withval" in
12858 with_build_time_tools=
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
12860 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
12864 with_build_time_tools=
12870 if test -n "$CC_FOR_TARGET"; then
12871 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
12872 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12873 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12876 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12877 for ncn_progname in cc gcc; do
12878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12879 set dummy ${ncn_progname}; ac_word=$2
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12881 $as_echo_n "checking
for $ac_word...
" >&6; }
12882 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12883 $as_echo_n "(cached
) " >&6
12885 if test -n "$CC_FOR_TARGET"; then
12886 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12889 for as_dir in $PATH
12892 test -z "$as_dir" && as_dir=.
12893 for ac_exec_ext in '' $ac_executable_extensions; do
12894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12895 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12905 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12906 if test -n "$CC_FOR_TARGET"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12908 $as_echo "$CC_FOR_TARGET" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12911 $as_echo "no
" >&6; }
12918 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12919 for ncn_progname in cc gcc; do
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12921 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12922 if test -x $with_build_time_tools/${ncn_progname}; then
12923 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12925 $as_echo "yes" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12929 $as_echo "no
" >&6; }
12934 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
12935 for ncn_progname in cc gcc; do
12936 if test -n "$ncn_target_tool_prefix"; then
12937 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12938 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12940 $as_echo_n "checking
for $ac_word...
" >&6; }
12941 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12942 $as_echo_n "(cached
) " >&6
12944 if test -n "$CC_FOR_TARGET"; then
12945 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12954 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12964 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12965 if test -n "$CC_FOR_TARGET"; then
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12967 $as_echo "$CC_FOR_TARGET" >&6; }
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12970 $as_echo "no
" >&6; }
12975 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
12976 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12977 set dummy ${ncn_progname}; ac_word=$2
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12979 $as_echo_n "checking
for $ac_word...
" >&6; }
12980 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12981 $as_echo_n "(cached
) " >&6
12983 if test -n "$CC_FOR_TARGET"; then
12984 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12987 for as_dir in $PATH
12990 test -z "$as_dir" && as_dir=.
12991 for ac_exec_ext in '' $ac_executable_extensions; do
12992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12993 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13003 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
13004 if test -n "$CC_FOR_TARGET"; then
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
13006 $as_echo "$CC_FOR_TARGET" >&6; }
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13009 $as_echo "no
" >&6; }
13014 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
13018 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
13020 if test $build = $target ; then
13023 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13026 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
13031 if test -n "$CXX_FOR_TARGET"; then
13032 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
13033 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13034 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13037 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13038 for ncn_progname in c++ g++ cxx gxx; do
13039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13040 set dummy ${ncn_progname}; ac_word=$2
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13042 $as_echo_n "checking
for $ac_word...
" >&6; }
13043 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13044 $as_echo_n "(cached
) " >&6
13046 if test -n "$CXX_FOR_TARGET"; then
13047 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13050 for as_dir in $PATH
13053 test -z "$as_dir" && as_dir=.
13054 for ac_exec_ext in '' $ac_executable_extensions; do
13055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13056 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13066 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13067 if test -n "$CXX_FOR_TARGET"; then
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13069 $as_echo "$CXX_FOR_TARGET" >&6; }
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13072 $as_echo "no
" >&6; }
13079 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
13080 for ncn_progname in c++ g++ cxx gxx; do
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13082 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13083 if test -x $with_build_time_tools/${ncn_progname}; then
13084 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13086 $as_echo "yes" >&6; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13090 $as_echo "no
" >&6; }
13095 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
13096 for ncn_progname in c++ g++ cxx gxx; do
13097 if test -n "$ncn_target_tool_prefix"; then
13098 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13099 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13101 $as_echo_n "checking
for $ac_word...
" >&6; }
13102 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13103 $as_echo_n "(cached
) " >&6
13105 if test -n "$CXX_FOR_TARGET"; then
13106 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13109 for as_dir in $PATH
13112 test -z "$as_dir" && as_dir=.
13113 for ac_exec_ext in '' $ac_executable_extensions; do
13114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13115 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13125 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13126 if test -n "$CXX_FOR_TARGET"; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13128 $as_echo "$CXX_FOR_TARGET" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13131 $as_echo "no
" >&6; }
13136 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
13137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13138 set dummy ${ncn_progname}; ac_word=$2
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13140 $as_echo_n "checking
for $ac_word...
" >&6; }
13141 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13142 $as_echo_n "(cached
) " >&6
13144 if test -n "$CXX_FOR_TARGET"; then
13145 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13148 for as_dir in $PATH
13151 test -z "$as_dir" && as_dir=.
13152 for ac_exec_ext in '' $ac_executable_extensions; do
13153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13154 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13164 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13165 if test -n "$CXX_FOR_TARGET"; then
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13167 $as_echo "$CXX_FOR_TARGET" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13170 $as_echo "no
" >&6; }
13175 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
13179 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
13180 set dummy c++ g++ cxx gxx
13181 if test $build = $target ; then
13182 CXX_FOR_TARGET="$2"
13184 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
13187 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
13192 if test -n "$GCC_FOR_TARGET"; then
13193 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
13194 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13195 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13198 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13199 for ncn_progname in gcc; do
13200 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13201 set dummy ${ncn_progname}; ac_word=$2
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13203 $as_echo_n "checking
for $ac_word...
" >&6; }
13204 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13205 $as_echo_n "(cached
) " >&6
13207 if test -n "$GCC_FOR_TARGET"; then
13208 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13217 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13227 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13228 if test -n "$GCC_FOR_TARGET"; then
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13230 $as_echo "$GCC_FOR_TARGET" >&6; }
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13233 $as_echo "no
" >&6; }
13240 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13241 for ncn_progname in gcc; do
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13243 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13244 if test -x $with_build_time_tools/${ncn_progname}; then
13245 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13247 $as_echo "yes" >&6; }
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13251 $as_echo "no
" >&6; }
13256 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
13257 for ncn_progname in gcc; do
13258 if test -n "$ncn_target_tool_prefix"; then
13259 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13260 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13262 $as_echo_n "checking
for $ac_word...
" >&6; }
13263 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13264 $as_echo_n "(cached
) " >&6
13266 if test -n "$GCC_FOR_TARGET"; then
13267 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13270 for as_dir in $PATH
13273 test -z "$as_dir" && as_dir=.
13274 for ac_exec_ext in '' $ac_executable_extensions; do
13275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13276 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13286 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13287 if test -n "$GCC_FOR_TARGET"; then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13289 $as_echo "$GCC_FOR_TARGET" >&6; }
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13292 $as_echo "no
" >&6; }
13297 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
13298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13299 set dummy ${ncn_progname}; ac_word=$2
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13301 $as_echo_n "checking
for $ac_word...
" >&6; }
13302 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13303 $as_echo_n "(cached
) " >&6
13305 if test -n "$GCC_FOR_TARGET"; then
13306 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13309 for as_dir in $PATH
13312 test -z "$as_dir" && as_dir=.
13313 for ac_exec_ext in '' $ac_executable_extensions; do
13314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13315 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13325 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13326 if test -n "$GCC_FOR_TARGET"; then
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13328 $as_echo "$GCC_FOR_TARGET" >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13331 $as_echo "no
" >&6; }
13336 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
13340 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
13341 GCC_FOR_TARGET="${CC_FOR_TARGET}"
13343 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
13348 if test -n "$GFORTRAN_FOR_TARGET"; then
13349 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
13350 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13351 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13354 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13355 for ncn_progname in gfortran; do
13356 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13357 set dummy ${ncn_progname}; ac_word=$2
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13359 $as_echo_n "checking
for $ac_word...
" >&6; }
13360 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13361 $as_echo_n "(cached
) " >&6
13363 if test -n "$GFORTRAN_FOR_TARGET"; then
13364 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13367 for as_dir in $PATH
13370 test -z "$as_dir" && as_dir=.
13371 for ac_exec_ext in '' $ac_executable_extensions; do
13372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13373 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13383 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13384 if test -n "$GFORTRAN_FOR_TARGET"; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13386 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13389 $as_echo "no
" >&6; }
13396 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
13397 for ncn_progname in gfortran; do
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13399 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13400 if test -x $with_build_time_tools/${ncn_progname}; then
13401 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13403 $as_echo "yes" >&6; }
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13407 $as_echo "no
" >&6; }
13412 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13413 for ncn_progname in gfortran; do
13414 if test -n "$ncn_target_tool_prefix"; then
13415 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13416 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13418 $as_echo_n "checking
for $ac_word...
" >&6; }
13419 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13420 $as_echo_n "(cached
) " >&6
13422 if test -n "$GFORTRAN_FOR_TARGET"; then
13423 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13426 for as_dir in $PATH
13429 test -z "$as_dir" && as_dir=.
13430 for ac_exec_ext in '' $ac_executable_extensions; do
13431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13432 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13442 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13443 if test -n "$GFORTRAN_FOR_TARGET"; then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13445 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13448 $as_echo "no
" >&6; }
13453 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
13454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13455 set dummy ${ncn_progname}; ac_word=$2
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13457 $as_echo_n "checking
for $ac_word...
" >&6; }
13458 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13459 $as_echo_n "(cached
) " >&6
13461 if test -n "$GFORTRAN_FOR_TARGET"; then
13462 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13465 for as_dir in $PATH
13468 test -z "$as_dir" && as_dir=.
13469 for ac_exec_ext in '' $ac_executable_extensions; do
13470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13471 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13481 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13482 if test -n "$GFORTRAN_FOR_TARGET"; then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13484 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13487 $as_echo "no
" >&6; }
13492 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
13496 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
13498 if test $build = $target ; then
13499 GFORTRAN_FOR_TARGET="$2"
13501 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
13504 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
13509 if test -n "$GOC_FOR_TARGET"; then
13510 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
13511 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13512 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13515 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13516 for ncn_progname in gccgo; do
13517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13518 set dummy ${ncn_progname}; ac_word=$2
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13520 $as_echo_n "checking
for $ac_word...
" >&6; }
13521 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13522 $as_echo_n "(cached
) " >&6
13524 if test -n "$GOC_FOR_TARGET"; then
13525 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in $PATH
13531 test -z "$as_dir" && as_dir=.
13532 for ac_exec_ext in '' $ac_executable_extensions; do
13533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13534 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13544 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13545 if test -n "$GOC_FOR_TARGET"; then
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13547 $as_echo "$GOC_FOR_TARGET" >&6; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13550 $as_echo "no
" >&6; }
13557 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13558 for ncn_progname in gccgo; do
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13560 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13561 if test -x $with_build_time_tools/${ncn_progname}; then
13562 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13564 $as_echo "yes" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13568 $as_echo "no
" >&6; }
13573 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13574 for ncn_progname in gccgo; do
13575 if test -n "$ncn_target_tool_prefix"; then
13576 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13577 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13579 $as_echo_n "checking
for $ac_word...
" >&6; }
13580 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13581 $as_echo_n "(cached
) " >&6
13583 if test -n "$GOC_FOR_TARGET"; then
13584 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13587 for as_dir in $PATH
13590 test -z "$as_dir" && as_dir=.
13591 for ac_exec_ext in '' $ac_executable_extensions; do
13592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13593 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13603 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13604 if test -n "$GOC_FOR_TARGET"; then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13606 $as_echo "$GOC_FOR_TARGET" >&6; }
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13609 $as_echo "no
" >&6; }
13614 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
13615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13616 set dummy ${ncn_progname}; ac_word=$2
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13618 $as_echo_n "checking
for $ac_word...
" >&6; }
13619 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13620 $as_echo_n "(cached
) " >&6
13622 if test -n "$GOC_FOR_TARGET"; then
13623 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13626 for as_dir in $PATH
13629 test -z "$as_dir" && as_dir=.
13630 for ac_exec_ext in '' $ac_executable_extensions; do
13631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13632 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13642 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13643 if test -n "$GOC_FOR_TARGET"; then
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13645 $as_echo "$GOC_FOR_TARGET" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13648 $as_echo "no
" >&6; }
13653 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
13657 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
13659 if test $build = $target ; then
13660 GOC_FOR_TARGET="$2"
13662 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13665 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
13670 if test -n "$GDC_FOR_TARGET"; then
13671 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
13672 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13673 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13676 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13677 for ncn_progname in gdc; do
13678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13679 set dummy ${ncn_progname}; ac_word=$2
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13681 $as_echo_n "checking
for $ac_word...
" >&6; }
13682 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13683 $as_echo_n "(cached
) " >&6
13685 if test -n "$GDC_FOR_TARGET"; then
13686 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13689 for as_dir in $PATH
13692 test -z "$as_dir" && as_dir=.
13693 for ac_exec_ext in '' $ac_executable_extensions; do
13694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13695 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13705 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13706 if test -n "$GDC_FOR_TARGET"; then
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13708 $as_echo "$GDC_FOR_TARGET" >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13711 $as_echo "no
" >&6; }
13718 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13719 for ncn_progname in gdc; do
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13721 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13722 if test -x $with_build_time_tools/${ncn_progname}; then
13723 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13725 $as_echo "yes" >&6; }
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13729 $as_echo "no
" >&6; }
13734 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
13735 for ncn_progname in gdc; do
13736 if test -n "$ncn_target_tool_prefix"; then
13737 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13738 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13740 $as_echo_n "checking
for $ac_word...
" >&6; }
13741 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13742 $as_echo_n "(cached
) " >&6
13744 if test -n "$GDC_FOR_TARGET"; then
13745 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13748 for as_dir in $PATH
13751 test -z "$as_dir" && as_dir=.
13752 for ac_exec_ext in '' $ac_executable_extensions; do
13753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13754 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13764 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13765 if test -n "$GDC_FOR_TARGET"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13767 $as_echo "$GDC_FOR_TARGET" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13770 $as_echo "no
" >&6; }
13775 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
13776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13777 set dummy ${ncn_progname}; ac_word=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13779 $as_echo_n "checking
for $ac_word...
" >&6; }
13780 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13781 $as_echo_n "(cached
) " >&6
13783 if test -n "$GDC_FOR_TARGET"; then
13784 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13787 for as_dir in $PATH
13790 test -z "$as_dir" && as_dir=.
13791 for ac_exec_ext in '' $ac_executable_extensions; do
13792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13793 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13803 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13804 if test -n "$GDC_FOR_TARGET"; then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13806 $as_echo "$GDC_FOR_TARGET" >&6; }
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13809 $as_echo "no
" >&6; }
13814 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
13818 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
13820 if test $build = $target ; then
13821 GDC_FOR_TARGET="$2"
13823 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13826 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
13831 cat > conftest.c << \EOF
13836 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
13837 have_gcc_for_target=yes
13839 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
13840 have_gcc_for_target=no
13847 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13848 if test -n "$with_build_time_tools"; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
13850 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
13851 if test -x $with_build_time_tools/ar; then
13852 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
13853 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
13855 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13858 $as_echo "no
" >&6; }
13860 elif test $build != $host && test $have_gcc_for_target = yes; then
13861 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
13862 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
13863 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13866 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13867 # Extract the first word of "ar", so it can be a program name with args.
13868 set dummy ar; ac_word=$2
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13870 $as_echo_n "checking
for $ac_word...
" >&6; }
13871 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
13872 $as_echo_n "(cached
) " >&6
13874 case $AR_FOR_TARGET in
13876 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
13879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13880 for as_dir in $gcc_cv_tool_dirs
13883 test -z "$as_dir" && as_dir=.
13884 for ac_exec_ext in '' $ac_executable_extensions; do
13885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13886 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13897 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13898 if test -n "$AR_FOR_TARGET"; then
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13900 $as_echo "$AR_FOR_TARGET" >&6; }
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13903 $as_echo "no
" >&6; }
13908 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13911 if test -n "$AR_FOR_TARGET"; then
13912 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
13913 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13914 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13917 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13918 for ncn_progname in ar; do
13919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13920 set dummy ${ncn_progname}; ac_word=$2
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13922 $as_echo_n "checking
for $ac_word...
" >&6; }
13923 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13924 $as_echo_n "(cached
) " >&6
13926 if test -n "$AR_FOR_TARGET"; then
13927 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13930 for as_dir in $PATH
13933 test -z "$as_dir" && as_dir=.
13934 for ac_exec_ext in '' $ac_executable_extensions; do
13935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13936 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13946 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13947 if test -n "$AR_FOR_TARGET"; then
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13949 $as_echo "$AR_FOR_TARGET" >&6; }
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13952 $as_echo "no
" >&6; }
13959 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
13960 for ncn_progname in ar; do
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13962 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13963 if test -x $with_build_time_tools/${ncn_progname}; then
13964 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13966 $as_echo "yes" >&6; }
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13970 $as_echo "no
" >&6; }
13975 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
13976 for ncn_progname in ar; do
13977 if test -n "$ncn_target_tool_prefix"; then
13978 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13979 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13981 $as_echo_n "checking
for $ac_word...
" >&6; }
13982 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13983 $as_echo_n "(cached
) " >&6
13985 if test -n "$AR_FOR_TARGET"; then
13986 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13989 for as_dir in $PATH
13992 test -z "$as_dir" && as_dir=.
13993 for ac_exec_ext in '' $ac_executable_extensions; do
13994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13995 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14005 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14006 if test -n "$AR_FOR_TARGET"; then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14008 $as_echo "$AR_FOR_TARGET" >&6; }
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14011 $as_echo "no
" >&6; }
14016 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
14017 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14018 set dummy ${ncn_progname}; ac_word=$2
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14020 $as_echo_n "checking
for $ac_word...
" >&6; }
14021 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14022 $as_echo_n "(cached
) " >&6
14024 if test -n "$AR_FOR_TARGET"; then
14025 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028 for as_dir in $PATH
14031 test -z "$as_dir" && as_dir=.
14032 for ac_exec_ext in '' $ac_executable_extensions; do
14033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14034 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
14035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14044 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14045 if test -n "$AR_FOR_TARGET"; then
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14047 $as_echo "$AR_FOR_TARGET" >&6; }
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14050 $as_echo "no
" >&6; }
14055 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
14059 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
14061 if test $build = $target ; then
14064 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
14067 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
14071 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
14077 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14078 if test -n "$with_build_time_tools"; then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
14080 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
14081 if test -x $with_build_time_tools/as; then
14082 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
14083 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
14085 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14088 $as_echo "no
" >&6; }
14090 elif test $build != $host && test $have_gcc_for_target = yes; then
14091 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
14092 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
14093 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14096 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14097 # Extract the first word of "as
", so it can be a program name with args.
14098 set dummy as; ac_word=$2
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14100 $as_echo_n "checking
for $ac_word...
" >&6; }
14101 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
14102 $as_echo_n "(cached
) " >&6
14104 case $AS_FOR_TARGET in
14106 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
14109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14110 for as_dir in $gcc_cv_tool_dirs
14113 test -z "$as_dir" && as_dir=.
14114 for ac_exec_ext in '' $ac_executable_extensions; do
14115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14116 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14127 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14128 if test -n "$AS_FOR_TARGET"; then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14130 $as_echo "$AS_FOR_TARGET" >&6; }
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14133 $as_echo "no
" >&6; }
14138 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14141 if test -n "$AS_FOR_TARGET"; then
14142 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
14143 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14144 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14147 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14148 for ncn_progname in as; do
14149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14150 set dummy ${ncn_progname}; ac_word=$2
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14152 $as_echo_n "checking
for $ac_word...
" >&6; }
14153 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14154 $as_echo_n "(cached
) " >&6
14156 if test -n "$AS_FOR_TARGET"; then
14157 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14160 for as_dir in $PATH
14163 test -z "$as_dir" && as_dir=.
14164 for ac_exec_ext in '' $ac_executable_extensions; do
14165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14166 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14176 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14177 if test -n "$AS_FOR_TARGET"; then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14179 $as_echo "$AS_FOR_TARGET" >&6; }
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14182 $as_echo "no
" >&6; }
14189 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
14190 for ncn_progname in as; do
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14192 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14193 if test -x $with_build_time_tools/${ncn_progname}; then
14194 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14196 $as_echo "yes" >&6; }
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14200 $as_echo "no
" >&6; }
14205 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
14206 for ncn_progname in as; do
14207 if test -n "$ncn_target_tool_prefix"; then
14208 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14209 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14211 $as_echo_n "checking
for $ac_word...
" >&6; }
14212 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14213 $as_echo_n "(cached
) " >&6
14215 if test -n "$AS_FOR_TARGET"; then
14216 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14219 for as_dir in $PATH
14222 test -z "$as_dir" && as_dir=.
14223 for ac_exec_ext in '' $ac_executable_extensions; do
14224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14225 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14235 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14236 if test -n "$AS_FOR_TARGET"; then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14238 $as_echo "$AS_FOR_TARGET" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14241 $as_echo "no
" >&6; }
14246 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
14247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14248 set dummy ${ncn_progname}; ac_word=$2
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14250 $as_echo_n "checking
for $ac_word...
" >&6; }
14251 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14252 $as_echo_n "(cached
) " >&6
14254 if test -n "$AS_FOR_TARGET"; then
14255 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14258 for as_dir in $PATH
14261 test -z "$as_dir" && as_dir=.
14262 for ac_exec_ext in '' $ac_executable_extensions; do
14263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14264 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14274 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14275 if test -n "$AS_FOR_TARGET"; then
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14277 $as_echo "$AS_FOR_TARGET" >&6; }
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14280 $as_echo "no
" >&6; }
14285 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
14289 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
14291 if test $build = $target ; then
14294 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
14297 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
14301 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14307 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14308 if test -n "$with_build_time_tools"; then
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
14310 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
14311 if test -x $with_build_time_tools/dlltool; then
14312 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
14313 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
14315 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14318 $as_echo "no
" >&6; }
14320 elif test $build != $host && test $have_gcc_for_target = yes; then
14321 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
14322 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
14323 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14326 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14327 # Extract the first word of "dlltool
", so it can be a program name with args.
14328 set dummy dlltool; ac_word=$2
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14330 $as_echo_n "checking
for $ac_word...
" >&6; }
14331 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
14332 $as_echo_n "(cached
) " >&6
14334 case $DLLTOOL_FOR_TARGET in
14336 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
14339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14340 for as_dir in $gcc_cv_tool_dirs
14343 test -z "$as_dir" && as_dir=.
14344 for ac_exec_ext in '' $ac_executable_extensions; do
14345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14346 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14357 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14358 if test -n "$DLLTOOL_FOR_TARGET"; then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14360 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14363 $as_echo "no
" >&6; }
14368 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14371 if test -n "$DLLTOOL_FOR_TARGET"; then
14372 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14373 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14374 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14377 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14378 for ncn_progname in dlltool; do
14379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14380 set dummy ${ncn_progname}; ac_word=$2
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14382 $as_echo_n "checking
for $ac_word...
" >&6; }
14383 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14384 $as_echo_n "(cached
) " >&6
14386 if test -n "$DLLTOOL_FOR_TARGET"; then
14387 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14390 for as_dir in $PATH
14393 test -z "$as_dir" && as_dir=.
14394 for ac_exec_ext in '' $ac_executable_extensions; do
14395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14396 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14406 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14407 if test -n "$DLLTOOL_FOR_TARGET"; then
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14409 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14412 $as_echo "no
" >&6; }
14419 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14420 for ncn_progname in dlltool; do
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14422 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14423 if test -x $with_build_time_tools/${ncn_progname}; then
14424 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14426 $as_echo "yes" >&6; }
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14430 $as_echo "no
" >&6; }
14435 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14436 for ncn_progname in dlltool; do
14437 if test -n "$ncn_target_tool_prefix"; then
14438 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14439 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14441 $as_echo_n "checking
for $ac_word...
" >&6; }
14442 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14443 $as_echo_n "(cached
) " >&6
14445 if test -n "$DLLTOOL_FOR_TARGET"; then
14446 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14449 for as_dir in $PATH
14452 test -z "$as_dir" && as_dir=.
14453 for ac_exec_ext in '' $ac_executable_extensions; do
14454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14455 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14465 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14466 if test -n "$DLLTOOL_FOR_TARGET"; then
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14468 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14471 $as_echo "no
" >&6; }
14476 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
14477 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14478 set dummy ${ncn_progname}; ac_word=$2
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14480 $as_echo_n "checking
for $ac_word...
" >&6; }
14481 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14482 $as_echo_n "(cached
) " >&6
14484 if test -n "$DLLTOOL_FOR_TARGET"; then
14485 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14488 for as_dir in $PATH
14491 test -z "$as_dir" && as_dir=.
14492 for ac_exec_ext in '' $ac_executable_extensions; do
14493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14494 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14504 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14505 if test -n "$DLLTOOL_FOR_TARGET"; then
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14507 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14510 $as_echo "no
" >&6; }
14515 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
14519 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
14521 if test $build = $target ; then
14522 DLLTOOL_FOR_TARGET="$2"
14524 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14527 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
14531 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14537 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14538 if test -n "$with_build_time_tools"; then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dsymutil
in $with_build_time_tools" >&5
14540 $as_echo_n "checking
for dsymutil
in $with_build_time_tools...
" >&6; }
14541 if test -x $with_build_time_tools/dsymutil; then
14542 DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
14543 ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
14545 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14548 $as_echo "no
" >&6; }
14550 elif test $build != $host && test $have_gcc_for_target = yes; then
14551 DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
14552 test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
14553 test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14556 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14557 # Extract the first word of "dsymutil
", so it can be a program name with args.
14558 set dummy dsymutil; ac_word=$2
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14560 $as_echo_n "checking
for $ac_word...
" >&6; }
14561 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
14562 $as_echo_n "(cached
) " >&6
14564 case $DSYMUTIL_FOR_TARGET in
14566 ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
14569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14570 for as_dir in $gcc_cv_tool_dirs
14573 test -z "$as_dir" && as_dir=.
14574 for ac_exec_ext in '' $ac_executable_extensions; do
14575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14576 ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14587 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14588 if test -n "$DSYMUTIL_FOR_TARGET"; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14590 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14593 $as_echo "no
" >&6; }
14598 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14601 if test -n "$DSYMUTIL_FOR_TARGET"; then
14602 ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14603 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14604 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14607 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14608 for ncn_progname in dsymutil; do
14609 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14610 set dummy ${ncn_progname}; ac_word=$2
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14612 $as_echo_n "checking
for $ac_word...
" >&6; }
14613 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14614 $as_echo_n "(cached
) " >&6
14616 if test -n "$DSYMUTIL_FOR_TARGET"; then
14617 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14620 for as_dir in $PATH
14623 test -z "$as_dir" && as_dir=.
14624 for ac_exec_ext in '' $ac_executable_extensions; do
14625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14626 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14636 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14637 if test -n "$DSYMUTIL_FOR_TARGET"; then
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14639 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14642 $as_echo "no
" >&6; }
14649 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14650 for ncn_progname in dsymutil; do
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14652 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14653 if test -x $with_build_time_tools/${ncn_progname}; then
14654 ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14656 $as_echo "yes" >&6; }
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14660 $as_echo "no
" >&6; }
14665 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14666 for ncn_progname in dsymutil; do
14667 if test -n "$ncn_target_tool_prefix"; then
14668 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14669 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14671 $as_echo_n "checking
for $ac_word...
" >&6; }
14672 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14673 $as_echo_n "(cached
) " >&6
14675 if test -n "$DSYMUTIL_FOR_TARGET"; then
14676 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14679 for as_dir in $PATH
14682 test -z "$as_dir" && as_dir=.
14683 for ac_exec_ext in '' $ac_executable_extensions; do
14684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14685 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14695 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14696 if test -n "$DSYMUTIL_FOR_TARGET"; then
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14698 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14701 $as_echo "no
" >&6; }
14706 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
14707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14708 set dummy ${ncn_progname}; ac_word=$2
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14710 $as_echo_n "checking
for $ac_word...
" >&6; }
14711 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14712 $as_echo_n "(cached
) " >&6
14714 if test -n "$DSYMUTIL_FOR_TARGET"; then
14715 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14718 for as_dir in $PATH
14721 test -z "$as_dir" && as_dir=.
14722 for ac_exec_ext in '' $ac_executable_extensions; do
14723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14724 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14734 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14735 if test -n "$DSYMUTIL_FOR_TARGET"; then
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14737 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14740 $as_echo "no
" >&6; }
14745 test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
14749 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
14751 if test $build = $target ; then
14752 DSYMUTIL_FOR_TARGET="$2"
14754 DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14757 DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
14761 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14767 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14768 if test -n "$with_build_time_tools"; then
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
14770 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
14771 if test -x $with_build_time_tools/ld; then
14772 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
14773 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
14775 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14778 $as_echo "no
" >&6; }
14780 elif test $build != $host && test $have_gcc_for_target = yes; then
14781 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
14782 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
14783 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14786 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14787 # Extract the first word of "ld
", so it can be a program name with args.
14788 set dummy ld; ac_word=$2
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14790 $as_echo_n "checking
for $ac_word...
" >&6; }
14791 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
14792 $as_echo_n "(cached
) " >&6
14794 case $LD_FOR_TARGET in
14796 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
14799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14800 for as_dir in $gcc_cv_tool_dirs
14803 test -z "$as_dir" && as_dir=.
14804 for ac_exec_ext in '' $ac_executable_extensions; do
14805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14806 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14817 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14818 if test -n "$LD_FOR_TARGET"; then
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14820 $as_echo "$LD_FOR_TARGET" >&6; }
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14823 $as_echo "no
" >&6; }
14828 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14831 if test -n "$LD_FOR_TARGET"; then
14832 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
14833 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14834 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14837 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14838 for ncn_progname in ld; do
14839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14840 set dummy ${ncn_progname}; ac_word=$2
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14842 $as_echo_n "checking
for $ac_word...
" >&6; }
14843 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14844 $as_echo_n "(cached
) " >&6
14846 if test -n "$LD_FOR_TARGET"; then
14847 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14850 for as_dir in $PATH
14853 test -z "$as_dir" && as_dir=.
14854 for ac_exec_ext in '' $ac_executable_extensions; do
14855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14856 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14866 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14867 if test -n "$LD_FOR_TARGET"; then
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14869 $as_echo "$LD_FOR_TARGET" >&6; }
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14872 $as_echo "no
" >&6; }
14879 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
14880 for ncn_progname in ld; do
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14882 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14883 if test -x $with_build_time_tools/${ncn_progname}; then
14884 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14886 $as_echo "yes" >&6; }
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14890 $as_echo "no
" >&6; }
14895 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
14896 for ncn_progname in ld; do
14897 if test -n "$ncn_target_tool_prefix"; then
14898 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14899 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14901 $as_echo_n "checking
for $ac_word...
" >&6; }
14902 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14903 $as_echo_n "(cached
) " >&6
14905 if test -n "$LD_FOR_TARGET"; then
14906 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14909 for as_dir in $PATH
14912 test -z "$as_dir" && as_dir=.
14913 for ac_exec_ext in '' $ac_executable_extensions; do
14914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14915 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14925 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14926 if test -n "$LD_FOR_TARGET"; then
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14928 $as_echo "$LD_FOR_TARGET" >&6; }
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14931 $as_echo "no
" >&6; }
14936 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
14937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14938 set dummy ${ncn_progname}; ac_word=$2
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14940 $as_echo_n "checking
for $ac_word...
" >&6; }
14941 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14942 $as_echo_n "(cached
) " >&6
14944 if test -n "$LD_FOR_TARGET"; then
14945 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14948 for as_dir in $PATH
14951 test -z "$as_dir" && as_dir=.
14952 for ac_exec_ext in '' $ac_executable_extensions; do
14953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14954 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14964 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14965 if test -n "$LD_FOR_TARGET"; then
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14967 $as_echo "$LD_FOR_TARGET" >&6; }
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14970 $as_echo "no
" >&6; }
14975 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
14979 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
14981 if test $build = $target ; then
14984 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
14987 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
14991 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14997 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14998 if test -n "$with_build_time_tools"; then
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
15000 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
15001 if test -x $with_build_time_tools/lipo; then
15002 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
15003 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
15005 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15008 $as_echo "no
" >&6; }
15010 elif test $build != $host && test $have_gcc_for_target = yes; then
15011 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
15012 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
15013 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15016 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15017 # Extract the first word of "lipo
", so it can be a program name with args.
15018 set dummy lipo; ac_word=$2
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15020 $as_echo_n "checking
for $ac_word...
" >&6; }
15021 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
15022 $as_echo_n "(cached
) " >&6
15024 case $LIPO_FOR_TARGET in
15026 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
15029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15030 for as_dir in $gcc_cv_tool_dirs
15033 test -z "$as_dir" && as_dir=.
15034 for ac_exec_ext in '' $ac_executable_extensions; do
15035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15036 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15047 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15048 if test -n "$LIPO_FOR_TARGET"; then
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15050 $as_echo "$LIPO_FOR_TARGET" >&6; }
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15053 $as_echo "no
" >&6; }
15058 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15061 if test -n "$LIPO_FOR_TARGET"; then
15062 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15063 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15064 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15067 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15068 for ncn_progname in lipo; do
15069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15070 set dummy ${ncn_progname}; ac_word=$2
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15072 $as_echo_n "checking
for $ac_word...
" >&6; }
15073 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15074 $as_echo_n "(cached
) " >&6
15076 if test -n "$LIPO_FOR_TARGET"; then
15077 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15080 for as_dir in $PATH
15083 test -z "$as_dir" && as_dir=.
15084 for ac_exec_ext in '' $ac_executable_extensions; do
15085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15096 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15097 if test -n "$LIPO_FOR_TARGET"; then
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15099 $as_echo "$LIPO_FOR_TARGET" >&6; }
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15102 $as_echo "no
" >&6; }
15109 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
15110 for ncn_progname in lipo; do
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15112 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15113 if test -x $with_build_time_tools/${ncn_progname}; then
15114 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15116 $as_echo "yes" >&6; }
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15120 $as_echo "no
" >&6; }
15125 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
15126 for ncn_progname in lipo; do
15127 if test -n "$ncn_target_tool_prefix"; then
15128 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15129 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15131 $as_echo_n "checking
for $ac_word...
" >&6; }
15132 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15133 $as_echo_n "(cached
) " >&6
15135 if test -n "$LIPO_FOR_TARGET"; then
15136 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15139 for as_dir in $PATH
15142 test -z "$as_dir" && as_dir=.
15143 for ac_exec_ext in '' $ac_executable_extensions; do
15144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15145 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15155 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15156 if test -n "$LIPO_FOR_TARGET"; then
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15158 $as_echo "$LIPO_FOR_TARGET" >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15161 $as_echo "no
" >&6; }
15166 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
15167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15168 set dummy ${ncn_progname}; ac_word=$2
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15170 $as_echo_n "checking
for $ac_word...
" >&6; }
15171 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15172 $as_echo_n "(cached
) " >&6
15174 if test -n "$LIPO_FOR_TARGET"; then
15175 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15178 for as_dir in $PATH
15181 test -z "$as_dir" && as_dir=.
15182 for ac_exec_ext in '' $ac_executable_extensions; do
15183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15184 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15194 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15195 if test -n "$LIPO_FOR_TARGET"; then
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15197 $as_echo "$LIPO_FOR_TARGET" >&6; }
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15200 $as_echo "no
" >&6; }
15205 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
15209 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
15211 if test $build = $target ; then
15212 LIPO_FOR_TARGET="$2"
15214 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
15217 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
15221 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15227 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15228 if test -n "$with_build_time_tools"; then
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
15230 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
15231 if test -x $with_build_time_tools/nm; then
15232 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
15233 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
15235 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15238 $as_echo "no
" >&6; }
15240 elif test $build != $host && test $have_gcc_for_target = yes; then
15241 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
15242 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
15243 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15246 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15247 # Extract the first word of "nm
", so it can be a program name with args.
15248 set dummy nm; ac_word=$2
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15250 $as_echo_n "checking
for $ac_word...
" >&6; }
15251 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
15252 $as_echo_n "(cached
) " >&6
15254 case $NM_FOR_TARGET in
15256 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
15259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15260 for as_dir in $gcc_cv_tool_dirs
15263 test -z "$as_dir" && as_dir=.
15264 for ac_exec_ext in '' $ac_executable_extensions; do
15265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15266 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15277 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15278 if test -n "$NM_FOR_TARGET"; then
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15280 $as_echo "$NM_FOR_TARGET" >&6; }
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15283 $as_echo "no
" >&6; }
15288 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15291 if test -n "$NM_FOR_TARGET"; then
15292 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
15293 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15294 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15297 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15298 for ncn_progname in nm; do
15299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15300 set dummy ${ncn_progname}; ac_word=$2
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15302 $as_echo_n "checking
for $ac_word...
" >&6; }
15303 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15304 $as_echo_n "(cached
) " >&6
15306 if test -n "$NM_FOR_TARGET"; then
15307 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15310 for as_dir in $PATH
15313 test -z "$as_dir" && as_dir=.
15314 for ac_exec_ext in '' $ac_executable_extensions; do
15315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15316 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15326 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15327 if test -n "$NM_FOR_TARGET"; then
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15329 $as_echo "$NM_FOR_TARGET" >&6; }
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15332 $as_echo "no
" >&6; }
15339 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
15340 for ncn_progname in nm; do
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15342 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15343 if test -x $with_build_time_tools/${ncn_progname}; then
15344 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15346 $as_echo "yes" >&6; }
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15350 $as_echo "no
" >&6; }
15355 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
15356 for ncn_progname in nm; do
15357 if test -n "$ncn_target_tool_prefix"; then
15358 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15359 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15361 $as_echo_n "checking
for $ac_word...
" >&6; }
15362 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15363 $as_echo_n "(cached
) " >&6
15365 if test -n "$NM_FOR_TARGET"; then
15366 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15369 for as_dir in $PATH
15372 test -z "$as_dir" && as_dir=.
15373 for ac_exec_ext in '' $ac_executable_extensions; do
15374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15375 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15385 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15386 if test -n "$NM_FOR_TARGET"; then
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15388 $as_echo "$NM_FOR_TARGET" >&6; }
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15391 $as_echo "no
" >&6; }
15396 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
15397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15398 set dummy ${ncn_progname}; ac_word=$2
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15400 $as_echo_n "checking
for $ac_word...
" >&6; }
15401 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15402 $as_echo_n "(cached
) " >&6
15404 if test -n "$NM_FOR_TARGET"; then
15405 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15408 for as_dir in $PATH
15411 test -z "$as_dir" && as_dir=.
15412 for ac_exec_ext in '' $ac_executable_extensions; do
15413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15414 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15424 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15425 if test -n "$NM_FOR_TARGET"; then
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15427 $as_echo "$NM_FOR_TARGET" >&6; }
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15430 $as_echo "no
" >&6; }
15435 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
15439 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
15441 if test $build = $target ; then
15444 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
15447 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
15451 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15457 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15458 if test -n "$with_build_time_tools"; then
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
15460 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
15461 if test -x $with_build_time_tools/objcopy; then
15462 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
15463 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
15465 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15468 $as_echo "no
" >&6; }
15470 elif test $build != $host && test $have_gcc_for_target = yes; then
15471 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
15472 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
15473 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15476 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15477 # Extract the first word of "objcopy
", so it can be a program name with args.
15478 set dummy objcopy; ac_word=$2
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15480 $as_echo_n "checking
for $ac_word...
" >&6; }
15481 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
15482 $as_echo_n "(cached
) " >&6
15484 case $OBJCOPY_FOR_TARGET in
15486 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
15489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15490 for as_dir in $gcc_cv_tool_dirs
15493 test -z "$as_dir" && as_dir=.
15494 for ac_exec_ext in '' $ac_executable_extensions; do
15495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15496 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15507 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15508 if test -n "$OBJCOPY_FOR_TARGET"; then
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15510 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15513 $as_echo "no
" >&6; }
15518 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15521 if test -n "$OBJCOPY_FOR_TARGET"; then
15522 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15523 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15524 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15527 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15528 for ncn_progname in objcopy; do
15529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15530 set dummy ${ncn_progname}; ac_word=$2
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15532 $as_echo_n "checking
for $ac_word...
" >&6; }
15533 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15534 $as_echo_n "(cached
) " >&6
15536 if test -n "$OBJCOPY_FOR_TARGET"; then
15537 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15540 for as_dir in $PATH
15543 test -z "$as_dir" && as_dir=.
15544 for ac_exec_ext in '' $ac_executable_extensions; do
15545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15546 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15556 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15557 if test -n "$OBJCOPY_FOR_TARGET"; then
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15559 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15562 $as_echo "no
" >&6; }
15569 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
15570 for ncn_progname in objcopy; do
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15572 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15573 if test -x $with_build_time_tools/${ncn_progname}; then
15574 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15576 $as_echo "yes" >&6; }
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15580 $as_echo "no
" >&6; }
15585 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15586 for ncn_progname in objcopy; do
15587 if test -n "$ncn_target_tool_prefix"; then
15588 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15589 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15591 $as_echo_n "checking
for $ac_word...
" >&6; }
15592 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15593 $as_echo_n "(cached
) " >&6
15595 if test -n "$OBJCOPY_FOR_TARGET"; then
15596 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15599 for as_dir in $PATH
15602 test -z "$as_dir" && as_dir=.
15603 for ac_exec_ext in '' $ac_executable_extensions; do
15604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15605 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15615 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15616 if test -n "$OBJCOPY_FOR_TARGET"; then
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15618 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15621 $as_echo "no
" >&6; }
15626 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
15627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15628 set dummy ${ncn_progname}; ac_word=$2
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15630 $as_echo_n "checking
for $ac_word...
" >&6; }
15631 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15632 $as_echo_n "(cached
) " >&6
15634 if test -n "$OBJCOPY_FOR_TARGET"; then
15635 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15638 for as_dir in $PATH
15641 test -z "$as_dir" && as_dir=.
15642 for ac_exec_ext in '' $ac_executable_extensions; do
15643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15644 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15654 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15655 if test -n "$OBJCOPY_FOR_TARGET"; then
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15657 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15660 $as_echo "no
" >&6; }
15665 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
15669 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
15671 if test $build = $target ; then
15672 OBJCOPY_FOR_TARGET="$2"
15674 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
15677 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
15681 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15687 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15688 if test -n "$with_build_time_tools"; then
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
15690 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
15691 if test -x $with_build_time_tools/objdump; then
15692 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
15693 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
15695 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15698 $as_echo "no
" >&6; }
15700 elif test $build != $host && test $have_gcc_for_target = yes; then
15701 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
15702 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
15703 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15706 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15707 # Extract the first word of "objdump
", so it can be a program name with args.
15708 set dummy objdump; ac_word=$2
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15710 $as_echo_n "checking
for $ac_word...
" >&6; }
15711 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
15712 $as_echo_n "(cached
) " >&6
15714 case $OBJDUMP_FOR_TARGET in
15716 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
15719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15720 for as_dir in $gcc_cv_tool_dirs
15723 test -z "$as_dir" && as_dir=.
15724 for ac_exec_ext in '' $ac_executable_extensions; do
15725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15726 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15737 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15738 if test -n "$OBJDUMP_FOR_TARGET"; then
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15740 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15743 $as_echo "no
" >&6; }
15748 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15751 if test -n "$OBJDUMP_FOR_TARGET"; then
15752 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15753 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15754 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15757 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15758 for ncn_progname in objdump; do
15759 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15760 set dummy ${ncn_progname}; ac_word=$2
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15762 $as_echo_n "checking
for $ac_word...
" >&6; }
15763 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15764 $as_echo_n "(cached
) " >&6
15766 if test -n "$OBJDUMP_FOR_TARGET"; then
15767 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15770 for as_dir in $PATH
15773 test -z "$as_dir" && as_dir=.
15774 for ac_exec_ext in '' $ac_executable_extensions; do
15775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15776 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15786 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15787 if test -n "$OBJDUMP_FOR_TARGET"; then
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15789 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15792 $as_echo "no
" >&6; }
15799 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15800 for ncn_progname in objdump; do
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15802 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15803 if test -x $with_build_time_tools/${ncn_progname}; then
15804 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15806 $as_echo "yes" >&6; }
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15810 $as_echo "no
" >&6; }
15815 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15816 for ncn_progname in objdump; do
15817 if test -n "$ncn_target_tool_prefix"; then
15818 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15819 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15821 $as_echo_n "checking
for $ac_word...
" >&6; }
15822 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15823 $as_echo_n "(cached
) " >&6
15825 if test -n "$OBJDUMP_FOR_TARGET"; then
15826 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15829 for as_dir in $PATH
15832 test -z "$as_dir" && as_dir=.
15833 for ac_exec_ext in '' $ac_executable_extensions; do
15834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15835 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15845 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15846 if test -n "$OBJDUMP_FOR_TARGET"; then
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15848 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15851 $as_echo "no
" >&6; }
15856 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
15857 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15858 set dummy ${ncn_progname}; ac_word=$2
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15860 $as_echo_n "checking
for $ac_word...
" >&6; }
15861 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15862 $as_echo_n "(cached
) " >&6
15864 if test -n "$OBJDUMP_FOR_TARGET"; then
15865 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15868 for as_dir in $PATH
15871 test -z "$as_dir" && as_dir=.
15872 for ac_exec_ext in '' $ac_executable_extensions; do
15873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15874 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15884 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15885 if test -n "$OBJDUMP_FOR_TARGET"; then
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15887 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15890 $as_echo "no
" >&6; }
15895 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
15899 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
15901 if test $build = $target ; then
15902 OBJDUMP_FOR_TARGET="$2"
15904 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
15907 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
15911 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15917 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15918 if test -n "$with_build_time_tools"; then
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
15920 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
15921 if test -x $with_build_time_tools/otool; then
15922 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
15923 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
15925 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15928 $as_echo "no
" >&6; }
15930 elif test $build != $host && test $have_gcc_for_target = yes; then
15931 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
15932 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
15933 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15936 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15937 # Extract the first word of "otool
", so it can be a program name with args.
15938 set dummy otool; ac_word=$2
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15940 $as_echo_n "checking
for $ac_word...
" >&6; }
15941 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
15942 $as_echo_n "(cached
) " >&6
15944 case $OTOOL_FOR_TARGET in
15946 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
15949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15950 for as_dir in $gcc_cv_tool_dirs
15953 test -z "$as_dir" && as_dir=.
15954 for ac_exec_ext in '' $ac_executable_extensions; do
15955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15956 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15967 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15968 if test -n "$OTOOL_FOR_TARGET"; then
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15970 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15973 $as_echo "no
" >&6; }
15978 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15981 if test -n "$OTOOL_FOR_TARGET"; then
15982 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15983 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15984 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15987 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15988 for ncn_progname in otool; do
15989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15990 set dummy ${ncn_progname}; ac_word=$2
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15992 $as_echo_n "checking
for $ac_word...
" >&6; }
15993 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15994 $as_echo_n "(cached
) " >&6
15996 if test -n "$OTOOL_FOR_TARGET"; then
15997 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16000 for as_dir in $PATH
16003 test -z "$as_dir" && as_dir=.
16004 for ac_exec_ext in '' $ac_executable_extensions; do
16005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16006 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16016 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16017 if test -n "$OTOOL_FOR_TARGET"; then
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16019 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16022 $as_echo "no
" >&6; }
16029 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
16030 for ncn_progname in otool; do
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16032 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16033 if test -x $with_build_time_tools/${ncn_progname}; then
16034 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16036 $as_echo "yes" >&6; }
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16040 $as_echo "no
" >&6; }
16045 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16046 for ncn_progname in otool; do
16047 if test -n "$ncn_target_tool_prefix"; then
16048 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16049 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16051 $as_echo_n "checking
for $ac_word...
" >&6; }
16052 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16053 $as_echo_n "(cached
) " >&6
16055 if test -n "$OTOOL_FOR_TARGET"; then
16056 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16059 for as_dir in $PATH
16062 test -z "$as_dir" && as_dir=.
16063 for ac_exec_ext in '' $ac_executable_extensions; do
16064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16065 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16075 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16076 if test -n "$OTOOL_FOR_TARGET"; then
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16078 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16081 $as_echo "no
" >&6; }
16086 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
16087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16088 set dummy ${ncn_progname}; ac_word=$2
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16090 $as_echo_n "checking
for $ac_word...
" >&6; }
16091 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16092 $as_echo_n "(cached
) " >&6
16094 if test -n "$OTOOL_FOR_TARGET"; then
16095 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16098 for as_dir in $PATH
16101 test -z "$as_dir" && as_dir=.
16102 for ac_exec_ext in '' $ac_executable_extensions; do
16103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16104 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16114 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16115 if test -n "$OTOOL_FOR_TARGET"; then
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16117 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16120 $as_echo "no
" >&6; }
16125 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
16129 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
16131 if test $build = $target ; then
16132 OTOOL_FOR_TARGET="$2"
16134 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
16137 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
16141 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
16147 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16148 if test -n "$with_build_time_tools"; then
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
16150 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
16151 if test -x $with_build_time_tools/ranlib; then
16152 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
16153 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
16155 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16158 $as_echo "no
" >&6; }
16160 elif test $build != $host && test $have_gcc_for_target = yes; then
16161 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
16162 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
16163 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16166 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16167 # Extract the first word of "ranlib
", so it can be a program name with args.
16168 set dummy ranlib; ac_word=$2
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16170 $as_echo_n "checking
for $ac_word...
" >&6; }
16171 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
16172 $as_echo_n "(cached
) " >&6
16174 case $RANLIB_FOR_TARGET in
16176 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
16179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16180 for as_dir in $gcc_cv_tool_dirs
16183 test -z "$as_dir" && as_dir=.
16184 for ac_exec_ext in '' $ac_executable_extensions; do
16185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16186 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16197 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16198 if test -n "$RANLIB_FOR_TARGET"; then
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16200 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16203 $as_echo "no
" >&6; }
16208 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16211 if test -n "$RANLIB_FOR_TARGET"; then
16212 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16213 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16214 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16217 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16218 for ncn_progname in ranlib; do
16219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16220 set dummy ${ncn_progname}; ac_word=$2
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16222 $as_echo_n "checking
for $ac_word...
" >&6; }
16223 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16224 $as_echo_n "(cached
) " >&6
16226 if test -n "$RANLIB_FOR_TARGET"; then
16227 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16230 for as_dir in $PATH
16233 test -z "$as_dir" && as_dir=.
16234 for ac_exec_ext in '' $ac_executable_extensions; do
16235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16236 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16246 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16247 if test -n "$RANLIB_FOR_TARGET"; then
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16249 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16252 $as_echo "no
" >&6; }
16259 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
16260 for ncn_progname in ranlib; do
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16262 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16263 if test -x $with_build_time_tools/${ncn_progname}; then
16264 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16266 $as_echo "yes" >&6; }
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16270 $as_echo "no
" >&6; }
16275 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16276 for ncn_progname in ranlib; do
16277 if test -n "$ncn_target_tool_prefix"; then
16278 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16279 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16281 $as_echo_n "checking
for $ac_word...
" >&6; }
16282 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16283 $as_echo_n "(cached
) " >&6
16285 if test -n "$RANLIB_FOR_TARGET"; then
16286 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16289 for as_dir in $PATH
16292 test -z "$as_dir" && as_dir=.
16293 for ac_exec_ext in '' $ac_executable_extensions; do
16294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16295 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16305 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16306 if test -n "$RANLIB_FOR_TARGET"; then
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16308 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16311 $as_echo "no
" >&6; }
16316 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
16317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16318 set dummy ${ncn_progname}; ac_word=$2
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16320 $as_echo_n "checking
for $ac_word...
" >&6; }
16321 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16322 $as_echo_n "(cached
) " >&6
16324 if test -n "$RANLIB_FOR_TARGET"; then
16325 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16328 for as_dir in $PATH
16331 test -z "$as_dir" && as_dir=.
16332 for ac_exec_ext in '' $ac_executable_extensions; do
16333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16334 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16344 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16345 if test -n "$RANLIB_FOR_TARGET"; then
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16347 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16350 $as_echo "no
" >&6; }
16355 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
16359 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
16361 if test $build = $target ; then
16362 RANLIB_FOR_TARGET="$2"
16364 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
16367 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
16371 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16377 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16378 if test -n "$with_build_time_tools"; then
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
16380 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
16381 if test -x $with_build_time_tools/readelf; then
16382 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
16383 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
16385 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16388 $as_echo "no
" >&6; }
16390 elif test $build != $host && test $have_gcc_for_target = yes; then
16391 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
16392 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
16393 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16396 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16397 # Extract the first word of "readelf
", so it can be a program name with args.
16398 set dummy readelf; ac_word=$2
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16400 $as_echo_n "checking
for $ac_word...
" >&6; }
16401 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
16402 $as_echo_n "(cached
) " >&6
16404 case $READELF_FOR_TARGET in
16406 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
16409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16410 for as_dir in $gcc_cv_tool_dirs
16413 test -z "$as_dir" && as_dir=.
16414 for ac_exec_ext in '' $ac_executable_extensions; do
16415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16416 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16427 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16428 if test -n "$READELF_FOR_TARGET"; then
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16430 $as_echo "$READELF_FOR_TARGET" >&6; }
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16433 $as_echo "no
" >&6; }
16438 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16441 if test -n "$READELF_FOR_TARGET"; then
16442 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
16443 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16444 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16447 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16448 for ncn_progname in readelf; do
16449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16450 set dummy ${ncn_progname}; ac_word=$2
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16452 $as_echo_n "checking
for $ac_word...
" >&6; }
16453 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16454 $as_echo_n "(cached
) " >&6
16456 if test -n "$READELF_FOR_TARGET"; then
16457 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16460 for as_dir in $PATH
16463 test -z "$as_dir" && as_dir=.
16464 for ac_exec_ext in '' $ac_executable_extensions; do
16465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16466 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16476 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16477 if test -n "$READELF_FOR_TARGET"; then
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16479 $as_echo "$READELF_FOR_TARGET" >&6; }
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16482 $as_echo "no
" >&6; }
16489 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
16490 for ncn_progname in readelf; do
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16492 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16493 if test -x $with_build_time_tools/${ncn_progname}; then
16494 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16496 $as_echo "yes" >&6; }
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16500 $as_echo "no
" >&6; }
16505 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
16506 for ncn_progname in readelf; do
16507 if test -n "$ncn_target_tool_prefix"; then
16508 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16509 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16511 $as_echo_n "checking
for $ac_word...
" >&6; }
16512 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16513 $as_echo_n "(cached
) " >&6
16515 if test -n "$READELF_FOR_TARGET"; then
16516 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16519 for as_dir in $PATH
16522 test -z "$as_dir" && as_dir=.
16523 for ac_exec_ext in '' $ac_executable_extensions; do
16524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16525 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16535 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16536 if test -n "$READELF_FOR_TARGET"; then
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16538 $as_echo "$READELF_FOR_TARGET" >&6; }
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16541 $as_echo "no
" >&6; }
16546 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
16547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16548 set dummy ${ncn_progname}; ac_word=$2
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16550 $as_echo_n "checking
for $ac_word...
" >&6; }
16551 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16552 $as_echo_n "(cached
) " >&6
16554 if test -n "$READELF_FOR_TARGET"; then
16555 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16558 for as_dir in $PATH
16561 test -z "$as_dir" && as_dir=.
16562 for ac_exec_ext in '' $ac_executable_extensions; do
16563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16564 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16574 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16575 if test -n "$READELF_FOR_TARGET"; then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16577 $as_echo "$READELF_FOR_TARGET" >&6; }
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16580 $as_echo "no
" >&6; }
16585 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
16589 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
16591 if test $build = $target ; then
16592 READELF_FOR_TARGET="$2"
16594 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
16597 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
16601 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16607 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16608 if test -n "$with_build_time_tools"; then
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
16610 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
16611 if test -x $with_build_time_tools/strip; then
16612 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
16613 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
16615 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16618 $as_echo "no
" >&6; }
16620 elif test $build != $host && test $have_gcc_for_target = yes; then
16621 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
16622 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
16623 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16626 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16627 # Extract the first word of "strip
", so it can be a program name with args.
16628 set dummy strip; ac_word=$2
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16630 $as_echo_n "checking
for $ac_word...
" >&6; }
16631 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
16632 $as_echo_n "(cached
) " >&6
16634 case $STRIP_FOR_TARGET in
16636 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
16639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16640 for as_dir in $gcc_cv_tool_dirs
16643 test -z "$as_dir" && as_dir=.
16644 for ac_exec_ext in '' $ac_executable_extensions; do
16645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16646 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16657 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16658 if test -n "$STRIP_FOR_TARGET"; then
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16660 $as_echo "$STRIP_FOR_TARGET" >&6; }
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16663 $as_echo "no
" >&6; }
16668 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16671 if test -n "$STRIP_FOR_TARGET"; then
16672 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16673 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16674 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16677 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16678 for ncn_progname in strip; do
16679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16680 set dummy ${ncn_progname}; ac_word=$2
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16682 $as_echo_n "checking
for $ac_word...
" >&6; }
16683 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16684 $as_echo_n "(cached
) " >&6
16686 if test -n "$STRIP_FOR_TARGET"; then
16687 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16690 for as_dir in $PATH
16693 test -z "$as_dir" && as_dir=.
16694 for ac_exec_ext in '' $ac_executable_extensions; do
16695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16696 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16706 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16707 if test -n "$STRIP_FOR_TARGET"; then
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16709 $as_echo "$STRIP_FOR_TARGET" >&6; }
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16712 $as_echo "no
" >&6; }
16719 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
16720 for ncn_progname in strip; do
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16722 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16723 if test -x $with_build_time_tools/${ncn_progname}; then
16724 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16726 $as_echo "yes" >&6; }
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16730 $as_echo "no
" >&6; }
16735 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
16736 for ncn_progname in strip; do
16737 if test -n "$ncn_target_tool_prefix"; then
16738 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16739 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16741 $as_echo_n "checking
for $ac_word...
" >&6; }
16742 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16743 $as_echo_n "(cached
) " >&6
16745 if test -n "$STRIP_FOR_TARGET"; then
16746 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16749 for as_dir in $PATH
16752 test -z "$as_dir" && as_dir=.
16753 for ac_exec_ext in '' $ac_executable_extensions; do
16754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16755 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16765 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16766 if test -n "$STRIP_FOR_TARGET"; then
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16768 $as_echo "$STRIP_FOR_TARGET" >&6; }
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16771 $as_echo "no
" >&6; }
16776 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
16777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16778 set dummy ${ncn_progname}; ac_word=$2
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16780 $as_echo_n "checking
for $ac_word...
" >&6; }
16781 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16782 $as_echo_n "(cached
) " >&6
16784 if test -n "$STRIP_FOR_TARGET"; then
16785 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16788 for as_dir in $PATH
16791 test -z "$as_dir" && as_dir=.
16792 for ac_exec_ext in '' $ac_executable_extensions; do
16793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16794 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16804 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16805 if test -n "$STRIP_FOR_TARGET"; then
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16807 $as_echo "$STRIP_FOR_TARGET" >&6; }
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16810 $as_echo "no
" >&6; }
16815 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
16819 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
16821 if test $build = $target ; then
16822 STRIP_FOR_TARGET="$2"
16824 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16827 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
16831 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16837 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16838 if test -n "$with_build_time_tools"; then
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
16840 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
16841 if test -x $with_build_time_tools/windres; then
16842 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
16843 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
16845 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16848 $as_echo "no
" >&6; }
16850 elif test $build != $host && test $have_gcc_for_target = yes; then
16851 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
16852 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
16853 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16856 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16857 # Extract the first word of "windres
", so it can be a program name with args.
16858 set dummy windres; ac_word=$2
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16860 $as_echo_n "checking
for $ac_word...
" >&6; }
16861 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
16862 $as_echo_n "(cached
) " >&6
16864 case $WINDRES_FOR_TARGET in
16866 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
16869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16870 for as_dir in $gcc_cv_tool_dirs
16873 test -z "$as_dir" && as_dir=.
16874 for ac_exec_ext in '' $ac_executable_extensions; do
16875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16876 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16887 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16888 if test -n "$WINDRES_FOR_TARGET"; then
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16890 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16893 $as_echo "no
" >&6; }
16898 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16901 if test -n "$WINDRES_FOR_TARGET"; then
16902 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16903 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16904 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16907 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16908 for ncn_progname in windres; do
16909 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16910 set dummy ${ncn_progname}; ac_word=$2
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16912 $as_echo_n "checking
for $ac_word...
" >&6; }
16913 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16914 $as_echo_n "(cached
) " >&6
16916 if test -n "$WINDRES_FOR_TARGET"; then
16917 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16920 for as_dir in $PATH
16923 test -z "$as_dir" && as_dir=.
16924 for ac_exec_ext in '' $ac_executable_extensions; do
16925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16926 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16936 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16937 if test -n "$WINDRES_FOR_TARGET"; then
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16939 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16942 $as_echo "no
" >&6; }
16949 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
16950 for ncn_progname in windres; do
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16952 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16953 if test -x $with_build_time_tools/${ncn_progname}; then
16954 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16956 $as_echo "yes" >&6; }
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16960 $as_echo "no
" >&6; }
16965 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16966 for ncn_progname in windres; do
16967 if test -n "$ncn_target_tool_prefix"; then
16968 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16969 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16971 $as_echo_n "checking
for $ac_word...
" >&6; }
16972 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16973 $as_echo_n "(cached
) " >&6
16975 if test -n "$WINDRES_FOR_TARGET"; then
16976 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16979 for as_dir in $PATH
16982 test -z "$as_dir" && as_dir=.
16983 for ac_exec_ext in '' $ac_executable_extensions; do
16984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16985 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16995 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16996 if test -n "$WINDRES_FOR_TARGET"; then
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16998 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17001 $as_echo "no
" >&6; }
17006 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
17007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17008 set dummy ${ncn_progname}; ac_word=$2
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17010 $as_echo_n "checking
for $ac_word...
" >&6; }
17011 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17012 $as_echo_n "(cached
) " >&6
17014 if test -n "$WINDRES_FOR_TARGET"; then
17015 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17018 for as_dir in $PATH
17021 test -z "$as_dir" && as_dir=.
17022 for ac_exec_ext in '' $ac_executable_extensions; do
17023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17024 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
17025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17034 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17035 if test -n "$WINDRES_FOR_TARGET"; then
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17037 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17040 $as_echo "no
" >&6; }
17045 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
17049 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
17051 if test $build = $target ; then
17052 WINDRES_FOR_TARGET="$2"
17054 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
17057 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
17061 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
17067 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17068 if test -n "$with_build_time_tools"; then
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
17070 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
17071 if test -x $with_build_time_tools/windmc; then
17072 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
17073 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
17075 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17078 $as_echo "no
" >&6; }
17080 elif test $build != $host && test $have_gcc_for_target = yes; then
17081 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
17082 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
17083 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17086 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
17087 # Extract the first word of "windmc
", so it can be a program name with args.
17088 set dummy windmc; ac_word=$2
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17090 $as_echo_n "checking
for $ac_word...
" >&6; }
17091 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
17092 $as_echo_n "(cached
) " >&6
17094 case $WINDMC_FOR_TARGET in
17096 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
17099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17100 for as_dir in $gcc_cv_tool_dirs
17103 test -z "$as_dir" && as_dir=.
17104 for ac_exec_ext in '' $ac_executable_extensions; do
17105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17106 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17117 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17118 if test -n "$WINDMC_FOR_TARGET"; then
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17120 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17123 $as_echo "no
" >&6; }
17128 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17131 if test -n "$WINDMC_FOR_TARGET"; then
17132 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17133 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17134 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17137 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17138 for ncn_progname in windmc; do
17139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17140 set dummy ${ncn_progname}; ac_word=$2
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17142 $as_echo_n "checking
for $ac_word...
" >&6; }
17143 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17144 $as_echo_n "(cached
) " >&6
17146 if test -n "$WINDMC_FOR_TARGET"; then
17147 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17150 for as_dir in $PATH
17153 test -z "$as_dir" && as_dir=.
17154 for ac_exec_ext in '' $ac_executable_extensions; do
17155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17156 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17166 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17167 if test -n "$WINDMC_FOR_TARGET"; then
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17169 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17172 $as_echo "no
" >&6; }
17179 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
17180 for ncn_progname in windmc; do
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17182 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17183 if test -x $with_build_time_tools/${ncn_progname}; then
17184 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17186 $as_echo "yes" >&6; }
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17190 $as_echo "no
" >&6; }
17195 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17196 for ncn_progname in windmc; do
17197 if test -n "$ncn_target_tool_prefix"; then
17198 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17199 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17201 $as_echo_n "checking
for $ac_word...
" >&6; }
17202 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17203 $as_echo_n "(cached
) " >&6
17205 if test -n "$WINDMC_FOR_TARGET"; then
17206 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17209 for as_dir in $PATH
17212 test -z "$as_dir" && as_dir=.
17213 for ac_exec_ext in '' $ac_executable_extensions; do
17214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17215 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17225 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17226 if test -n "$WINDMC_FOR_TARGET"; then
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17228 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17231 $as_echo "no
" >&6; }
17236 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
17237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17238 set dummy ${ncn_progname}; ac_word=$2
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17240 $as_echo_n "checking
for $ac_word...
" >&6; }
17241 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17242 $as_echo_n "(cached
) " >&6
17244 if test -n "$WINDMC_FOR_TARGET"; then
17245 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17248 for as_dir in $PATH
17251 test -z "$as_dir" && as_dir=.
17252 for ac_exec_ext in '' $ac_executable_extensions; do
17253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17254 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17264 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17265 if test -n "$WINDMC_FOR_TARGET"; then
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17267 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17270 $as_echo "no
" >&6; }
17275 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
17279 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
17281 if test $build = $target ; then
17282 WINDMC_FOR_TARGET="$2"
17284 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
17287 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
17291 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17295 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
17298 $as_echo_n "checking where to
find the target
ar...
" >&6; }
17299 if test "x
${build}" != "x
${host}" ; then
17300 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17301 # We already found the complete path
17302 ac_dir=`dirname $AR_FOR_TARGET`
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17304 $as_echo "pre-installed
in $ac_dir" >&6; }
17306 # Canadian cross, just use what we found
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17308 $as_echo "pre-installed
" >&6; }
17312 case " ${configdirs} " in
17317 if test $ok = yes; then
17318 # An in-tree tool is available and we can use it
17319 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17321 $as_echo "just compiled
" >&6; }
17322 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17323 # We already found the complete path
17324 ac_dir=`dirname $AR_FOR_TARGET`
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17326 $as_echo "pre-installed
in $ac_dir" >&6; }
17327 elif test "x
$target" = "x
$host"; then
17328 # We can use an host tool
17329 AR_FOR_TARGET='$(AR)'
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17331 $as_echo "host tool
" >&6; }
17333 # We need a cross tool
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17335 $as_echo "pre-installed
" >&6; }
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
17340 $as_echo_n "checking where to
find the target as...
" >&6; }
17341 if test "x
${build}" != "x
${host}" ; then
17342 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17343 # We already found the complete path
17344 ac_dir=`dirname $AS_FOR_TARGET`
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17346 $as_echo "pre-installed
in $ac_dir" >&6; }
17348 # Canadian cross, just use what we found
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17350 $as_echo "pre-installed
" >&6; }
17354 case " ${configdirs} " in
17359 if test $ok = yes; then
17360 # An in-tree tool is available and we can use it
17361 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17363 $as_echo "just compiled
" >&6; }
17364 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17365 # We already found the complete path
17366 ac_dir=`dirname $AS_FOR_TARGET`
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17368 $as_echo "pre-installed
in $ac_dir" >&6; }
17369 elif test "x
$target" = "x
$host"; then
17370 # We can use an host tool
17371 AS_FOR_TARGET='$(AS)'
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17373 $as_echo "host tool
" >&6; }
17375 # We need a cross tool
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17377 $as_echo "pre-installed
" >&6; }
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
17382 $as_echo_n "checking where to
find the target cc...
" >&6; }
17383 if test "x
${build}" != "x
${host}" ; then
17384 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17385 # We already found the complete path
17386 ac_dir=`dirname $CC_FOR_TARGET`
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17388 $as_echo "pre-installed
in $ac_dir" >&6; }
17390 # Canadian cross, just use what we found
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17392 $as_echo "pre-installed
" >&6; }
17396 case " ${configdirs} " in
17401 if test $ok = yes; then
17402 # An in-tree tool is available and we can use it
17403 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17405 $as_echo "just compiled
" >&6; }
17406 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17407 # We already found the complete path
17408 ac_dir=`dirname $CC_FOR_TARGET`
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17410 $as_echo "pre-installed
in $ac_dir" >&6; }
17411 elif test "x
$target" = "x
$host"; then
17412 # We can use an host tool
17413 CC_FOR_TARGET='$(CC)'
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17415 $as_echo "host tool
" >&6; }
17417 # We need a cross tool
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17419 $as_echo "pre-installed
" >&6; }
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
17424 $as_echo_n "checking where to
find the target c
++...
" >&6; }
17425 if test "x
${build}" != "x
${host}" ; then
17426 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17427 # We already found the complete path
17428 ac_dir=`dirname $CXX_FOR_TARGET`
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17430 $as_echo "pre-installed
in $ac_dir" >&6; }
17432 # Canadian cross, just use what we found
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17434 $as_echo "pre-installed
" >&6; }
17438 case " ${configdirs} " in
17442 case ,${enable_languages}, in
17446 if test $ok = yes; then
17447 # An in-tree tool is available and we can use it
17448 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'
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17450 $as_echo "just compiled
" >&6; }
17451 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17452 # We already found the complete path
17453 ac_dir=`dirname $CXX_FOR_TARGET`
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17455 $as_echo "pre-installed
in $ac_dir" >&6; }
17456 elif test "x
$target" = "x
$host"; then
17457 # We can use an host tool
17458 CXX_FOR_TARGET='$(CXX)'
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17460 $as_echo "host tool
" >&6; }
17462 # We need a cross tool
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17464 $as_echo "pre-installed
" >&6; }
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
17469 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
17470 if test "x
${build}" != "x
${host}" ; then
17471 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17472 # We already found the complete path
17473 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17475 $as_echo "pre-installed
in $ac_dir" >&6; }
17477 # Canadian cross, just use what we found
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17479 $as_echo "pre-installed
" >&6; }
17483 case " ${configdirs} " in
17487 case ,${enable_languages}, in
17491 if test $ok = yes; then
17492 # An in-tree tool is available and we can use it
17493 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'
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17495 $as_echo "just compiled
" >&6; }
17496 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17497 # We already found the complete path
17498 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17500 $as_echo "pre-installed
in $ac_dir" >&6; }
17501 elif test "x
$target" = "x
$host"; then
17502 # We can use an host tool
17503 RAW_CXX_FOR_TARGET='$(CXX)'
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17505 $as_echo "host tool
" >&6; }
17507 # We need a cross tool
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17509 $as_echo "pre-installed
" >&6; }
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
17514 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
17515 if test "x
${build}" != "x
${host}" ; then
17516 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17517 # We already found the complete path
17518 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17520 $as_echo "pre-installed
in $ac_dir" >&6; }
17522 # Canadian cross, just use what we found
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17524 $as_echo "pre-installed
" >&6; }
17528 case " ${configdirs} " in
17533 if test $ok = yes; then
17534 # An in-tree tool is available and we can use it
17535 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17537 $as_echo "just compiled
" >&6; }
17538 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17539 # We already found the complete path
17540 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17542 $as_echo "pre-installed
in $ac_dir" >&6; }
17543 elif test "x
$target" = "x
$host"; then
17544 # We can use an host tool
17545 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17547 $as_echo "host tool
" >&6; }
17549 # We need a cross tool
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17551 $as_echo "pre-installed
" >&6; }
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dsymutil
" >&5
17556 $as_echo_n "checking where to
find the target dsymutil...
" >&6; }
17557 if test "x
${build}" != "x
${host}" ; then
17558 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17559 # We already found the complete path
17560 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17562 $as_echo "pre-installed
in $ac_dir" >&6; }
17564 # Canadian cross, just use what we found
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17566 $as_echo "pre-installed
" >&6; }
17569 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17570 # We already found the complete path
17571 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17573 $as_echo "pre-installed
in $ac_dir" >&6; }
17574 elif test "x
$target" = "x
$host"; then
17575 # We can use an host tool
17576 DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17578 $as_echo "host tool
" >&6; }
17580 # We need a cross tool
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17582 $as_echo "pre-installed
" >&6; }
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
17587 $as_echo_n "checking where to
find the target gcc...
" >&6; }
17588 if test "x
${build}" != "x
${host}" ; then
17589 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17590 # We already found the complete path
17591 ac_dir=`dirname $GCC_FOR_TARGET`
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17593 $as_echo "pre-installed
in $ac_dir" >&6; }
17595 # Canadian cross, just use what we found
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17597 $as_echo "pre-installed
" >&6; }
17601 case " ${configdirs} " in
17606 if test $ok = yes; then
17607 # An in-tree tool is available and we can use it
17608 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17610 $as_echo "just compiled
" >&6; }
17611 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17612 # We already found the complete path
17613 ac_dir=`dirname $GCC_FOR_TARGET`
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17615 $as_echo "pre-installed
in $ac_dir" >&6; }
17616 elif test "x
$target" = "x
$host"; then
17617 # We can use an host tool
17618 GCC_FOR_TARGET='$()'
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17620 $as_echo "host tool
" >&6; }
17622 # We need a cross tool
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17624 $as_echo "pre-installed
" >&6; }
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
17629 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
17630 if test "x
${build}" != "x
${host}" ; then
17631 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17632 # We already found the complete path
17633 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17635 $as_echo "pre-installed
in $ac_dir" >&6; }
17637 # Canadian cross, just use what we found
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17639 $as_echo "pre-installed
" >&6; }
17643 case " ${configdirs} " in
17647 case ,${enable_languages}, in
17651 if test $ok = yes; then
17652 # An in-tree tool is available and we can use it
17653 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17655 $as_echo "just compiled
" >&6; }
17656 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17657 # We already found the complete path
17658 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17660 $as_echo "pre-installed
in $ac_dir" >&6; }
17661 elif test "x
$target" = "x
$host"; then
17662 # We can use an host tool
17663 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17665 $as_echo "host tool
" >&6; }
17667 # We need a cross tool
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17669 $as_echo "pre-installed
" >&6; }
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
17674 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
17675 if test "x
${build}" != "x
${host}" ; then
17676 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17677 # We already found the complete path
17678 ac_dir=`dirname $GOC_FOR_TARGET`
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17680 $as_echo "pre-installed
in $ac_dir" >&6; }
17682 # Canadian cross, just use what we found
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17684 $as_echo "pre-installed
" >&6; }
17688 case " ${configdirs} " in
17692 case ,${enable_languages}, in
17696 if test $ok = yes; then
17697 # An in-tree tool is available and we can use it
17698 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17700 $as_echo "just compiled
" >&6; }
17701 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17702 # We already found the complete path
17703 ac_dir=`dirname $GOC_FOR_TARGET`
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17705 $as_echo "pre-installed
in $ac_dir" >&6; }
17706 elif test "x
$target" = "x
$host"; then
17707 # We can use an host tool
17708 GOC_FOR_TARGET='$(GOC)'
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17710 $as_echo "host tool
" >&6; }
17712 # We need a cross tool
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17714 $as_echo "pre-installed
" >&6; }
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
17719 $as_echo_n "checking where to
find the target gdc...
" >&6; }
17720 if test "x
${build}" != "x
${host}" ; then
17721 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17722 # We already found the complete path
17723 ac_dir=`dirname $GDC_FOR_TARGET`
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17725 $as_echo "pre-installed
in $ac_dir" >&6; }
17727 # Canadian cross, just use what we found
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17729 $as_echo "pre-installed
" >&6; }
17733 case " ${configdirs} " in
17737 case ,${enable_languages}, in
17741 if test $ok = yes; then
17742 # An in-tree tool is available and we can use it
17743 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17745 $as_echo "just compiled
" >&6; }
17746 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17747 # We already found the complete path
17748 ac_dir=`dirname $GDC_FOR_TARGET`
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17750 $as_echo "pre-installed
in $ac_dir" >&6; }
17751 elif test "x
$target" = "x
$host"; then
17752 # We can use an host tool
17753 GDC_FOR_TARGET='$(GDC)'
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17755 $as_echo "host tool
" >&6; }
17757 # We need a cross tool
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17759 $as_echo "pre-installed
" >&6; }
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
17764 $as_echo_n "checking where to
find the target ld...
" >&6; }
17765 if test "x
${build}" != "x
${host}" ; then
17766 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17767 # We already found the complete path
17768 ac_dir=`dirname $LD_FOR_TARGET`
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17770 $as_echo "pre-installed
in $ac_dir" >&6; }
17772 # Canadian cross, just use what we found
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17774 $as_echo "pre-installed
" >&6; }
17778 case " ${configdirs} " in
17783 if test $ok = yes; then
17784 # An in-tree tool is available and we can use it
17785 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17787 $as_echo "just compiled
" >&6; }
17788 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17789 # We already found the complete path
17790 ac_dir=`dirname $LD_FOR_TARGET`
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17792 $as_echo "pre-installed
in $ac_dir" >&6; }
17793 elif test "x
$target" = "x
$host"; then
17794 # We can use an host tool
17795 LD_FOR_TARGET='$(LD)'
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17797 $as_echo "host tool
" >&6; }
17799 # We need a cross tool
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17801 $as_echo "pre-installed
" >&6; }
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
17806 $as_echo_n "checking where to
find the target lipo...
" >&6; }
17807 if test "x
${build}" != "x
${host}" ; then
17808 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17809 # We already found the complete path
17810 ac_dir=`dirname $LIPO_FOR_TARGET`
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17812 $as_echo "pre-installed
in $ac_dir" >&6; }
17814 # Canadian cross, just use what we found
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17816 $as_echo "pre-installed
" >&6; }
17819 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17820 # We already found the complete path
17821 ac_dir=`dirname $LIPO_FOR_TARGET`
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17823 $as_echo "pre-installed
in $ac_dir" >&6; }
17824 elif test "x
$target" = "x
$host"; then
17825 # We can use an host tool
17826 LIPO_FOR_TARGET='$(LIPO)'
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17828 $as_echo "host tool
" >&6; }
17830 # We need a cross tool
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17832 $as_echo "pre-installed
" >&6; }
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
17837 $as_echo_n "checking where to
find the target nm...
" >&6; }
17838 if test "x
${build}" != "x
${host}" ; then
17839 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17840 # We already found the complete path
17841 ac_dir=`dirname $NM_FOR_TARGET`
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17843 $as_echo "pre-installed
in $ac_dir" >&6; }
17845 # Canadian cross, just use what we found
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17847 $as_echo "pre-installed
" >&6; }
17851 case " ${configdirs} " in
17856 if test $ok = yes; then
17857 # An in-tree tool is available and we can use it
17858 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17860 $as_echo "just compiled
" >&6; }
17861 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17862 # We already found the complete path
17863 ac_dir=`dirname $NM_FOR_TARGET`
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17865 $as_echo "pre-installed
in $ac_dir" >&6; }
17866 elif test "x
$target" = "x
$host"; then
17867 # We can use an host tool
17868 NM_FOR_TARGET='$(NM)'
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17870 $as_echo "host tool
" >&6; }
17872 # We need a cross tool
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17874 $as_echo "pre-installed
" >&6; }
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
17879 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
17880 if test "x
${build}" != "x
${host}" ; then
17881 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17882 # We already found the complete path
17883 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17885 $as_echo "pre-installed
in $ac_dir" >&6; }
17887 # Canadian cross, just use what we found
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17889 $as_echo "pre-installed
" >&6; }
17893 case " ${configdirs} " in
17898 if test $ok = yes; then
17899 # An in-tree tool is available and we can use it
17900 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17902 $as_echo "just compiled
" >&6; }
17903 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17904 # We already found the complete path
17905 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17907 $as_echo "pre-installed
in $ac_dir" >&6; }
17908 elif test "x
$target" = "x
$host"; then
17909 # We can use an host tool
17910 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17912 $as_echo "host tool
" >&6; }
17914 # We need a cross tool
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17916 $as_echo "pre-installed
" >&6; }
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
17921 $as_echo_n "checking where to
find the target objdump...
" >&6; }
17922 if test "x
${build}" != "x
${host}" ; then
17923 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17924 # We already found the complete path
17925 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17927 $as_echo "pre-installed
in $ac_dir" >&6; }
17929 # Canadian cross, just use what we found
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17931 $as_echo "pre-installed
" >&6; }
17935 case " ${configdirs} " in
17940 if test $ok = yes; then
17941 # An in-tree tool is available and we can use it
17942 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17944 $as_echo "just compiled
" >&6; }
17945 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17946 # We already found the complete path
17947 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17949 $as_echo "pre-installed
in $ac_dir" >&6; }
17950 elif test "x
$target" = "x
$host"; then
17951 # We can use an host tool
17952 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17954 $as_echo "host tool
" >&6; }
17956 # We need a cross tool
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17958 $as_echo "pre-installed
" >&6; }
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
17963 $as_echo_n "checking where to
find the target otool...
" >&6; }
17964 if test "x
${build}" != "x
${host}" ; then
17965 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17966 # We already found the complete path
17967 ac_dir=`dirname $OTOOL_FOR_TARGET`
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17969 $as_echo "pre-installed
in $ac_dir" >&6; }
17971 # Canadian cross, just use what we found
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17973 $as_echo "pre-installed
" >&6; }
17976 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17977 # We already found the complete path
17978 ac_dir=`dirname $OTOOL_FOR_TARGET`
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17980 $as_echo "pre-installed
in $ac_dir" >&6; }
17981 elif test "x
$target" = "x
$host"; then
17982 # We can use an host tool
17983 OTOOL_FOR_TARGET='$(OTOOL)'
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17985 $as_echo "host tool
" >&6; }
17987 # We need a cross tool
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17989 $as_echo "pre-installed
" >&6; }
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
17994 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
17995 if test "x
${build}" != "x
${host}" ; then
17996 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17997 # We already found the complete path
17998 ac_dir=`dirname $RANLIB_FOR_TARGET`
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18000 $as_echo "pre-installed
in $ac_dir" >&6; }
18002 # Canadian cross, just use what we found
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18004 $as_echo "pre-installed
" >&6; }
18008 case " ${configdirs} " in
18013 if test $ok = yes; then
18014 # An in-tree tool is available and we can use it
18015 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18017 $as_echo "just compiled
" >&6; }
18018 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18019 # We already found the complete path
18020 ac_dir=`dirname $RANLIB_FOR_TARGET`
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18022 $as_echo "pre-installed
in $ac_dir" >&6; }
18023 elif test "x
$target" = "x
$host"; then
18024 # We can use an host tool
18025 RANLIB_FOR_TARGET='$(RANLIB)'
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18027 $as_echo "host tool
" >&6; }
18029 # We need a cross tool
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18031 $as_echo "pre-installed
" >&6; }
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
18036 $as_echo_n "checking where to
find the target readelf...
" >&6; }
18037 if test "x
${build}" != "x
${host}" ; then
18038 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18039 # We already found the complete path
18040 ac_dir=`dirname $READELF_FOR_TARGET`
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18042 $as_echo "pre-installed
in $ac_dir" >&6; }
18044 # Canadian cross, just use what we found
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18046 $as_echo "pre-installed
" >&6; }
18050 case " ${configdirs} " in
18055 if test $ok = yes; then
18056 # An in-tree tool is available and we can use it
18057 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18059 $as_echo "just compiled
" >&6; }
18060 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18061 # We already found the complete path
18062 ac_dir=`dirname $READELF_FOR_TARGET`
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18064 $as_echo "pre-installed
in $ac_dir" >&6; }
18065 elif test "x
$target" = "x
$host"; then
18066 # We can use an host tool
18067 READELF_FOR_TARGET='$(READELF)'
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18069 $as_echo "host tool
" >&6; }
18071 # We need a cross tool
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18073 $as_echo "pre-installed
" >&6; }
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
18078 $as_echo_n "checking where to
find the target strip...
" >&6; }
18079 if test "x
${build}" != "x
${host}" ; then
18080 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18081 # We already found the complete path
18082 ac_dir=`dirname $STRIP_FOR_TARGET`
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18084 $as_echo "pre-installed
in $ac_dir" >&6; }
18086 # Canadian cross, just use what we found
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18088 $as_echo "pre-installed
" >&6; }
18092 case " ${configdirs} " in
18097 if test $ok = yes; then
18098 # An in-tree tool is available and we can use it
18099 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18101 $as_echo "just compiled
" >&6; }
18102 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18103 # We already found the complete path
18104 ac_dir=`dirname $STRIP_FOR_TARGET`
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18106 $as_echo "pre-installed
in $ac_dir" >&6; }
18107 elif test "x
$target" = "x
$host"; then
18108 # We can use an host tool
18109 STRIP_FOR_TARGET='$(STRIP)'
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18111 $as_echo "host tool
" >&6; }
18113 # We need a cross tool
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18115 $as_echo "pre-installed
" >&6; }
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
18120 $as_echo_n "checking where to
find the target windres...
" >&6; }
18121 if test "x
${build}" != "x
${host}" ; then
18122 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18123 # We already found the complete path
18124 ac_dir=`dirname $WINDRES_FOR_TARGET`
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18126 $as_echo "pre-installed
in $ac_dir" >&6; }
18128 # Canadian cross, just use what we found
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18130 $as_echo "pre-installed
" >&6; }
18134 case " ${configdirs} " in
18139 if test $ok = yes; then
18140 # An in-tree tool is available and we can use it
18141 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18143 $as_echo "just compiled
" >&6; }
18144 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18145 # We already found the complete path
18146 ac_dir=`dirname $WINDRES_FOR_TARGET`
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18148 $as_echo "pre-installed
in $ac_dir" >&6; }
18149 elif test "x
$target" = "x
$host"; then
18150 # We can use an host tool
18151 WINDRES_FOR_TARGET='$(WINDRES)'
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18153 $as_echo "host tool
" >&6; }
18155 # We need a cross tool
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18157 $as_echo "pre-installed
" >&6; }
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
18162 $as_echo_n "checking where to
find the target windmc...
" >&6; }
18163 if test "x
${build}" != "x
${host}" ; then
18164 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18165 # We already found the complete path
18166 ac_dir=`dirname $WINDMC_FOR_TARGET`
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18168 $as_echo "pre-installed
in $ac_dir" >&6; }
18170 # Canadian cross, just use what we found
18171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18172 $as_echo "pre-installed
" >&6; }
18176 case " ${configdirs} " in
18181 if test $ok = yes; then
18182 # An in-tree tool is available and we can use it
18183 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18185 $as_echo "just compiled
" >&6; }
18186 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18187 # We already found the complete path
18188 ac_dir=`dirname $WINDMC_FOR_TARGET`
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18190 $as_echo "pre-installed
in $ac_dir" >&6; }
18191 elif test "x
$target" = "x
$host"; then
18192 # We can use an host tool
18193 WINDMC_FOR_TARGET='$(WINDMC)'
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18195 $as_echo "host tool
" >&6; }
18197 # We need a cross tool
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18199 $as_echo "pre-installed
" >&6; }
18207 # Certain tools may need extra flags.
18208 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
18209 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
18210 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
18212 # When building target libraries, except in a Canadian cross, we use
18213 # the same toolchain as the compiler we just built.
18214 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
18215 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
18216 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
18217 if test $host = $build; then
18218 case " $configdirs " in
18220 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
18221 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
18222 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
18232 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
18233 # Check whether --enable-maintainer-mode was given.
18234 if test "${enable_maintainer_mode+set}" = set; then :
18235 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18237 USE_MAINTAINER_MODE=no
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
18241 $as_echo "$USE_MAINTAINER_MODE" >&6; }
18244 if test "$USE_MAINTAINER_MODE" = yes; then
18245 MAINTAINER_MODE_TRUE=
18246 MAINTAINER_MODE_FALSE='#'
18248 MAINTAINER_MODE_TRUE='#'
18249 MAINTAINER_MODE_FALSE=
18251 MAINT=$MAINTAINER_MODE_TRUE
18253 # ---------------------
18254 # GCC bootstrap support
18255 # ---------------------
18257 # Stage specific cflags for build.
18262 yes) stage1_cflags="-g -Wa,-J" ;;
18263 *) stage1_cflags="-g -J" ;;
18269 # Enable --enable-checking in stage1 of the compiler.
18270 # Check whether --enable-stage1-checking was given.
18271 if test "${enable_stage1_checking+set}" = set; then :
18272 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
18274 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
18275 # For --disable-checking or implicit --enable-checking=release, avoid
18276 # setting --enable-checking=gc in the default stage1 checking for LTO
18277 # bootstraps. See PR62077.
18278 case $BUILD_CONFIG in
18280 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
18282 stage1_checking=--enable-checking=yes,types;;
18284 if test "x
$enable_checking" = x && \
18285 test -d ${srcdir}/gcc && \
18286 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
18287 stage1_checking=--enable-checking=yes,types,extra
18290 stage1_checking=--enable-checking=$enable_checking,types
18296 # Enable -Werror in bootstrap stage2 and later.
18297 # Check whether --enable-werror was given.
18298 if test "${enable_werror+set}" = set; then :
18299 enableval=$enable_werror;
18300 case ${enable_werror} in
18301 yes) stage2_werror_flag="--enable-werror-always" ;;
18302 *) stage2_werror_flag="" ;;
18307 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
18308 case $BUILD_CONFIG in
18310 stage2_werror_flag="--enable-werror-always" ;;
18312 stage2_werror_flag="--enable-werror-always" ;;
18321 # Specify what files to not compare during bootstrap.
18323 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
18325 hppa*64*-*-hpux*) ;;
18326 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
18327 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
18331 ac_config_files="$ac_config_files Makefile
"
18333 cat >confcache <<\_ACEOF
18334 # This file is a shell script that caches the results of configure
18335 # tests run on this system so they can be shared between configure
18336 # scripts and configure runs, see configure's option --config-cache.
18337 # It is not useful on other systems. If it contains results you don't
18338 # want to keep, you may remove or edit it.
18340 # config.status only pays attention to the cache file if you give it
18341 # the --recheck option to rerun configure.
18343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18345 # following values.
18349 # The following way of writing the cache mishandles newlines in values,
18350 # but we know of no workaround that is simple, portable, and efficient.
18351 # So, we kill variables containing newlines.
18352 # Ultrix sh set writes to stderr and can't be redirected directly,
18353 # and sets the high bit in the cache file unless we assign to the vars.
18355 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18356 eval ac_val=\$$ac_var
18360 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
18361 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
18364 _ | IFS | as_nl) ;; #(
18365 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18366 *) { eval $ac_var=; unset $ac_var;} ;;
18372 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18373 *${as_nl}ac_space=\ *)
18374 # `set' does not quote correctly, so add quotes: double-quote
18375 # substitution turns \\\\ into \\, and sed turns \\ into \.
18378 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
18381 # `set' quotes correctly as required by POSIX, so do not add quotes.
18382 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
18391 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18393 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18395 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18396 if test -w "$cache_file"; then
18397 if test "x
$cache_file" != "x
/dev
/null
"; then
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
18399 $as_echo "$as_me: updating cache
$cache_file" >&6;}
18400 if test ! -f "$cache_file" || test -h "$cache_file"; then
18401 cat confcache >"$cache_file"
18403 case $cache_file in #(
18405 mv -f confcache "$cache_file"$$ &&
18406 mv -f "$cache_file"$$ "$cache_file" ;; #(
18408 mv -f confcache "$cache_file" ;;
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
18414 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
18419 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
18420 # Let make expand exec_prefix.
18421 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
18423 # Transform confdefs.h into DEFS.
18424 # Protect against shell expansion while executing Makefile rules.
18425 # Protect against Makefile macro expansion.
18427 # If the first sed substitution is executed (which looks for macros that
18428 # take arguments), then branch to the quote section. Otherwise,
18429 # look for a macro that doesn't take arguments.
18439 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18441 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18445 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
18458 DEFS=`sed -n "$ac_script" confdefs.h`
18464 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18465 # 1. Remove the extension, and $U if already installed.
18466 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
18467 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18469 # will be set to the directory where LIBOBJS objects are built.
18470 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18471 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
18473 LIBOBJS=$ac_libobjs
18475 LTLIBOBJS=$ac_ltlibobjs
18479 : "${CONFIG_STATUS=./config.status}"
18481 ac_clean_files_save=$ac_clean_files
18482 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18484 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18486 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18488 # Generated by $as_me.
18489 # Run this file to recreate the current configuration.
18490 # Compiler output produced by configure, useful for debugging
18491 # configure, is in config.log if it exists.
18494 ac_cs_recheck=false
18497 SHELL=\${CONFIG_SHELL-$SHELL}
18500 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18501 ## -------------------- ##
18502 ## M4sh Initialization. ##
18503 ## -------------------- ##
18505 # Be more Bourne compatible
18506 DUALCASE=1; export DUALCASE # for MKS sh
18507 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18510 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18511 # is contrary to our usage. Disable this feature.
18512 alias -g '${1+"$@"}'='"$@"'
18513 setopt NO_GLOB_SUBST
18515 case `(set -o) 2>/dev/null` in #(
18527 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18528 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18529 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
18530 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18531 # Prefer a ksh shell builtin over an external printf program on Solaris,
18532 # but without wasting forks for bash or zsh.
18533 if test -z "$BASH_VERSION$ZSH_VERSION" \
18534 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18535 as_echo
='print -r --'
18536 as_echo_n
='print -rn --'
18537 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18538 as_echo
='printf %s\n'
18539 as_echo_n
='printf %s'
18541 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18542 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
18543 as_echo_n
='/usr/ucb/echo -n'
18545 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
18546 as_echo_n_body
='eval
18550 expr "X$arg" : "X\\(.*\\)$as_nl";
18551 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18553 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18555 export as_echo_n_body
18556 as_echo_n
='sh -c $as_echo_n_body as_echo'
18558 export as_echo_body
18559 as_echo
='sh -c $as_echo_body as_echo'
18562 # The user is always right.
18563 if test "${PATH_SEPARATOR+set}" != set; then
18565 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
18566 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
18573 # We need space, tab and new line, in precisely that order. Quoting is
18574 # there to prevent editors from complaining about space-tab.
18575 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18576 # splitting by setting IFS to empty value.)
18579 # Find who we are. Look in the path if we contain no directory separator.
18582 *[\\/]* ) as_myself
=$0 ;;
18583 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18584 for as_dir
in $PATH
18587 test -z "$as_dir" && as_dir
=.
18588 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18594 # We did not find ourselves, most probably we were run as `sh COMMAND'
18595 # in which case we are not to be found in the path.
18596 if test "x$as_myself" = x
; then
18599 if test ! -f "$as_myself"; then
18600 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18604 # Unset variables that we do not need and which cause bugs (e.g. in
18605 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18606 # suppresses any "Segmentation fault" message there. '((' could
18607 # trigger a bug in pdksh 5.2.14.
18608 for as_var
in BASH_ENV ENV MAIL MAILPATH
18609 do eval test x\
${$as_var+set} = xset \
18610 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18623 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18626 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18627 # ----------------------------------------
18628 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18629 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18630 # script with STATUS, using 1 if that was 0.
18633 as_status
=$1; test $as_status -eq 0 && as_status
=1
18635 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18636 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18638 $as_echo "$as_me: error: $2" >&2
18639 as_fn_exit
$as_status
18643 # as_fn_set_status STATUS
18644 # -----------------------
18645 # Set $? to STATUS, without forking.
18646 as_fn_set_status
()
18649 } # as_fn_set_status
18651 # as_fn_exit STATUS
18652 # -----------------
18653 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18657 as_fn_set_status
$1
18663 # Portably unset VAR.
18666 { eval $1=; unset $1;}
18668 as_unset
=as_fn_unset
18669 # as_fn_append VAR VALUE
18670 # ----------------------
18671 # Append the text in VALUE to the end of the definition contained in VAR. Take
18672 # advantage of any shell optimizations that allow amortized linear growth over
18673 # repeated appends, instead of the typical quadratic growth present in naive
18675 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18676 eval 'as_fn_append ()
18687 # as_fn_arith ARG...
18688 # ------------------
18689 # Perform arithmetic evaluation on the ARGs, and store the result in the
18690 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18691 # must be portable across $(()) and expr.
18692 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18693 eval 'as_fn_arith ()
18700 as_val
=`expr "$@" || test $? -eq 1`
18705 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18706 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18712 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18713 as_basename
=basename
18718 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18724 as_me
=`$as_basename -- "$0" ||
18725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18726 X"$0" : 'X\(//\)$' \| \
18727 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18729 sed '/^.*\/\([^/][^/]*\)\/*$/{
18743 # Avoid depending upon Character Ranges.
18744 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18745 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18746 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18747 as_cr_digits
='0123456789'
18748 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18750 ECHO_C
= ECHO_N
= ECHO_T
=
18751 case `echo -n x` in #(((((
18753 case `echo 'xy\c'` in
18754 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18756 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18763 rm -f conf$$ conf$$.exe conf$$.
file
18764 if test -d conf$$.dir
; then
18765 rm -f conf$$.dir
/conf$$.
file
18768 mkdir conf$$.dir
2>/dev
/null
18770 if (echo >conf$$.
file) 2>/dev
/null
; then
18771 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18773 # ... but there are two gotchas:
18774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18776 # In both cases, we have to default to `cp -pR'.
18777 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18779 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18787 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18788 rmdir conf$$.dir
2>/dev
/null
18793 # Create "$as_dir" as a directory, including parents if necessary.
18798 -*) as_dir
=.
/$as_dir;;
18800 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18804 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18805 *) as_qdir
=$as_dir;;
18807 as_dirs
="'$as_qdir' $as_dirs"
18808 as_dir
=`$as_dirname -- "$as_dir" ||
18809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18810 X"$as_dir" : 'X\(//\)[^/]' \| \
18811 X"$as_dir" : 'X\(//\)$' \| \
18812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18813 $as_echo X"$as_dir" |
18814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18818 /^X\(\/\/\)[^/].*/{
18831 test -d "$as_dir" && break
18833 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18834 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18838 if mkdir
-p .
2>/dev
/null
; then
18839 as_mkdir_p
='mkdir -p "$as_dir"'
18841 test -d .
/-p && rmdir .
/-p
18846 # as_fn_executable_p FILE
18847 # -----------------------
18848 # Test if FILE is an executable regular file.
18849 as_fn_executable_p
()
18851 test -f "$1" && test -x "$1"
18852 } # as_fn_executable_p
18853 as_test_x
='test -x'
18854 as_executable_p
=as_fn_executable_p
18856 # Sed expression to map a string onto a valid CPP name.
18857 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18859 # Sed expression to map a string onto a valid variable name.
18860 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18864 ## ----------------------------------- ##
18865 ## Main body of $CONFIG_STATUS script. ##
18866 ## ----------------------------------- ##
18868 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18871 # Save the log message, to keep $0 and so on meaningful, and to
18872 # report actual input values of CONFIG_FILES etc. instead of their
18873 # values after options handling.
18875 This file was extended by $as_me, which was
18876 generated by GNU Autoconf 2.69. Invocation command line was
18878 CONFIG_FILES = $CONFIG_FILES
18879 CONFIG_HEADERS = $CONFIG_HEADERS
18880 CONFIG_LINKS = $CONFIG_LINKS
18881 CONFIG_COMMANDS = $CONFIG_COMMANDS
18884 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18889 case $ac_config_files in *"
18890 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18896 # Files that config.status was made for.
18897 config_files="$ac_config_files"
18901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18903 \`$as_me' instantiates files and other configuration actions
18904 from templates according to the current configuration. Unless the files
18905 and actions are specified as TAGs, all are instantiated by default.
18907 Usage: $0 [OPTION]... [TAG]...
18909 -h, --help print this help, then exit
18910 -V, --version print version number and configuration settings, then exit
18911 --config print configuration, then exit
18912 -q, --quiet, --silent
18913 do not print progress messages
18914 -d, --debug don't remove temporary files
18915 --recheck update $as_me by reconfiguring in the same conditions
18916 --file=FILE[:TEMPLATE]
18917 instantiate the configuration file FILE
18919 Configuration files:
18922 Report bugs to the package provider."
18925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18926 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18929 configured by $0, generated by GNU Autoconf 2.69,
18930 with options \\"\$ac_cs_config\\"
18932 Copyright (C) 2012 Free Software Foundation, Inc.
18933 This config.status script is free software; the Free Software Foundation
18934 gives unlimited permission to copy, distribute and modify it."
18940 test -n "\$AWK" || AWK=awk
18943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18944 # The default lists apply if the user does not specify any file.
18950 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18951 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18955 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18967 # Handling of the options.
18968 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18970 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18971 $as_echo "$ac_cs_version"; exit ;;
18972 --config |
--confi |
--conf |
--con |
--co |
--c )
18973 $as_echo "$ac_cs_config"; exit ;;
18974 --debug |
--debu |
--deb |
--de |
--d |
-d )
18976 --file |
--fil |
--fi |
--f )
18979 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18980 '') as_fn_error $?
"missing file argument" ;;
18982 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18983 ac_need_defaults
=false
;;
18984 --he |
--h |
--help |
--hel |
-h )
18985 $as_echo "$ac_cs_usage"; exit ;;
18986 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18987 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18990 # This is an error.
18991 -*) as_fn_error $?
"unrecognized option: \`$1'
18992 Try \`$0 --help' for more information." ;;
18994 *) as_fn_append ac_config_targets
" $1"
18995 ac_need_defaults
=false
;;
19001 ac_configure_extra_args
=
19003 if $ac_cs_silent; then
19005 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19010 if \$ac_cs_recheck; then
19011 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19013 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19014 CONFIG_SHELL='$SHELL'
19015 export CONFIG_SHELL
19020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19024 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19025 ## Running $as_me. ##
19031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19035 extrasub_build="$extrasub_build"
19036 extrasub_host="$extrasub_host"
19037 extrasub_target="$extrasub_target"
19041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19043 # Handling of arguments.
19044 for ac_config_target
in $ac_config_targets
19046 case $ac_config_target in
19047 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19049 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19054 # If the user did not use the arguments to specify the items to instantiate,
19055 # then the envvar interface is used. Set only those that are not.
19056 # We use the long form for the default assignment because of an extremely
19057 # bizarre bug on SunOS 4.1.3.
19058 if $ac_need_defaults; then
19059 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19062 # Have a temporary directory for convenience. Make it in the build tree
19063 # simply because there is no reason against having it here, and in addition,
19064 # creating and moving files from /tmp can sometimes cause problems.
19065 # Hook for its removal unless debugging.
19066 # Note that there is a small window in which the directory will not be cleaned:
19067 # after its creation but before its name has been assigned to `$tmp'.
19071 trap 'exit_status=$?
19072 : "${ac_tmp:=$tmp}"
19073 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19075 trap 'as_fn_exit 1' 1 2 13 15
19077 # Create a (secure) tmp directory for tmp files.
19080 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19084 tmp
=.
/conf$$
-$RANDOM
19085 (umask 077 && mkdir
"$tmp")
19086 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19089 # Set up the scripts for CONFIG_FILES section.
19090 # No need to generate them if there are no CONFIG_FILES.
19091 # This happens for instance with `./config.status config.h'.
19092 if test -n "$CONFIG_FILES"; then
19094 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
19095 ac_cs_awk_getline
=:
19096 ac_cs_awk_pipe_init
=
19097 ac_cs_awk_read_file
='
19098 while ((getline aline < (F[key])) > 0)
19101 ac_cs_awk_pipe_fini
=
19103 ac_cs_awk_getline
=false
19104 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
19105 ac_cs_awk_read_file
='
19107 print "cat " F[key] " &&"
19108 '$ac_cs_awk_pipe_init
19109 # The final `:' finishes the AND list.
19110 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
19112 ac_cr
=`echo X | tr X '\015'`
19113 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19114 # But we know of no other shell where ac_cr would be empty at this
19115 # point, so we can use a bashism as a fallback.
19116 if test "x$ac_cr" = x
; then
19117 eval ac_cr
=\$
\'\\r
\'
19119 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19120 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19123 ac_cs_awk_cr
=$ac_cr
19126 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19129 # Create commands to substitute file output variables.
19131 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
19132 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
19133 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
19136 } >conf$
$files.sh
&&
19137 . .
/conf$
$files.sh ||
19138 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
19139 rm -f conf$
$files.sh
19142 echo "cat >conf$$subs.awk <<_ACEOF" &&
19143 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19145 } >conf$$subs.sh ||
19146 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19147 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19149 for ac_last_try in false false false false false :; do
19150 . ./conf$$subs.sh ||
19151 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19153 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19154 if test $ac_delim_n = $ac_delim_num; then
19156 elif $ac_last_try; then
19157 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19159 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19162 rm -f conf$$subs.sh
19164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19165 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19169 s/^/S["/; s
/!.
*/"]=/
19179 s/\(.\{148\}\)..*/\1/
19181 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19186 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19193 s/\(.\{148\}\)..*/\1/
19195 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19199 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19204 ' <conf$$subs.awk | sed '
19209 ' >>$CONFIG_STATUS || ac_write_fail=1
19210 rm -f conf$$subs.awk
19211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19213 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19214 for (key in S) S_is_set[key] = 1
19216 \$ac_cs_awk_pipe_init
19220 nfields = split(line, field, "@
")
19222 len = length(field[1])
19223 for (i = 2; i < nfields; i++) {
19225 keylen = length(key)
19226 if (S_is_set[key]) {
19228 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19229 len += length(value) + length(field[++i])
19234 if (nfields == 3 && !substed) {
19236 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
19237 \$ac_cs_awk_read_file
19243 \$ac_cs_awk_pipe_fini
19246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19247 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19248 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19251 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19252 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19255 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19256 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19257 # trailing colons and then remove the whole line if VPATH becomes empty
19258 # (actually we leave an empty line to preserve line numbers).
19259 if test "x
$srcdir" = x.; then
19260 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19279 fi # test -n "$CONFIG_FILES"
19282 eval set X " :F
$CONFIG_FILES "
19287 :[FHLC]) ac_mode=$ac_tag; continue;;
19289 case $ac_mode$ac_tag in
19291 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19292 :[FH]-) ac_tag=-:-;;
19293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19310 -) ac_f="$ac_tmp/stdin";;
19311 *) # Look for the file first in the build tree, then in the source tree
19312 # (if the path is not absolute). The absolute path cannot be DOS-style,
19313 # because $ac_f cannot contain `:'.
19317 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19319 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19321 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19322 as_fn_append ac_file_inputs " '$ac_f'"
19325 # Let's still pretend it is `configure' which instantiates (i.e., don't
19326 # use $as_me), people would be surprised to read:
19327 # /* config.h. Generated by config.status. */
19328 configure_input='Generated from '`
19329 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19331 if test x"$ac_file" != x-; then
19332 configure_input="$ac_file.
$configure_input"
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19334 $as_echo "$as_me: creating
$ac_file" >&6;}
19336 # Neutralize special characters interpreted by sed in replacement strings.
19337 case $configure_input in #(
19338 *\&* | *\|* | *\\* )
19339 ac_sed_conf_input=`$as_echo "$configure_input" |
19340 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19341 *) ac_sed_conf_input=$configure_input;;
19345 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
19346 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
19351 ac_dir=`$as_dirname -- "$ac_file" ||
19352 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19353 X"$ac_file" : 'X\(//\)[^/]' \| \
19354 X"$ac_file" : 'X\(//\)$' \| \
19355 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19356 $as_echo X"$ac_file" |
19357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19361 /^X\(\/\/\)[^/].*/{
19374 as_dir="$ac_dir"; as_fn_mkdir_p
19378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19381 # A "..
" for each directory in $ac_dir_suffix.
19382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19383 case $ac_top_builddir_sub in
19384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19388 ac_abs_top_builddir=$ac_pwd
19389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19390 # for backward compatibility:
19391 ac_top_builddir=$ac_top_build_prefix
19394 .) # We are building in place.
19396 ac_top_srcdir=$ac_top_builddir_sub
19397 ac_abs_top_srcdir=$ac_pwd ;;
19398 [\\/]* | ?:[\\/]* ) # Absolute name.
19399 ac_srcdir=$srcdir$ac_dir_suffix;
19400 ac_top_srcdir=$srcdir
19401 ac_abs_top_srcdir=$srcdir ;;
19402 *) # Relative name.
19403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19404 ac_top_srcdir=$ac_top_build_prefix$srcdir
19405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19417 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19418 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19423 # If the template does not know about datarootdir, expand it.
19424 # FIXME: This hack should be removed a few years after 2.60.
19425 ac_datarootdir_hack=; ac_datarootdir_seen=
19436 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19437 *datarootdir*) ac_datarootdir_seen=yes;;
19438 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19440 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19443 ac_datarootdir_hack='
19444 s&@datadir@&$datadir&g
19445 s&@docdir@&$docdir&g
19446 s&@infodir@&$infodir&g
19447 s&@localedir@&$localedir&g
19448 s&@mandir@&$mandir&g
19449 s&\\\${datarootdir}&$datarootdir&g' ;;
19453 # Neutralize VPATH when `$srcdir' = `.'.
19454 # Shell code in configure.ac might set extrasub.
19455 # FIXME: do we really want to maintain this feature?
19456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19457 ac_sed_extra="$ac_vpsub
19460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19462 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19463 s|@configure_input@|
$ac_sed_conf_input|
;t t
19464 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19465 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19466 s
&@srcdir@
&$ac_srcdir&;t t
19467 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19468 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19469 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19470 s
&@builddir@
&$ac_builddir&;t t
19471 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19472 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19473 s
&@INSTALL@
&$ac_INSTALL&;t t
19474 $ac_datarootdir_hack
19476 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
19477 if $ac_cs_awk_getline; then
19478 $AWK -f "$ac_tmp/subs.
awk"
19480 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
19482 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19485 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19486 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19487 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19489 which seems to be undefined. Please make sure it is defined" >&5
19490 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19491 which seems to be undefined. Please make sure it is defined" >&2;}
19493 rm -f "$ac_tmp/stdin"
19495 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19496 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19506 case $ac_file$ac_mode in
19507 "Makefile":F) sed "$extrasub_build" Makefile |
19508 sed "$extrasub_host" |
19509 sed "$extrasub_target" > mf$$
19510 mv -f mf$$ Makefile ;;
19518 ac_clean_files=$ac_clean_files_save
19520 test $ac_write_fail = 0 ||
19521 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19524 # configure is writing to config.log, and then calls config.status.
19525 # config.status does its own redirection, appending to config.log.
19526 # Unfortunately, on DOS this fails, as config.log is still kept open
19527 # by configure, so config.status won't be able to
write to it
; its
19528 # output is simply discarded. So we exec the FD to /dev/null,
19529 # effectively closing config.log, so it can be properly (re)opened and
19530 # appended to by config.status. When coming back to configure, we
19531 # need to make the FD available again.
19532 if test "$no_create" != yes; then
19534 ac_config_status_args
=
19535 test "$silent" = yes &&
19536 ac_config_status_args
="$ac_config_status_args --quiet"
19538 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19540 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19541 # would make configure fail if this is the last instruction.
19542 $ac_cs_success || as_fn_exit
1
19544 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19546 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}