2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
676 DEBUG_PREFIX_CFLAGS_FOR_TARGET
677 SYSROOT_CFLAGS_FOR_TARGET
679 extra_host_zlib_configure_flags
680 extra_host_libiberty_configure_flags
683 extra_linker_plugin_flags
684 extra_linker_plugin_configure_flags
691 extra_isl_gmp_configure_flags
692 extra_mpc_mpfr_configure_flags
693 extra_mpc_gmp_configure_flags
694 extra_mpfr_configure_flags
712 extra_liboffloadmic_configure_flags
739 TOPLEVEL_CONFIGURE_ARGUMENTS
767 program_transform_name
778 ac_subst_files
='serialization_dependencies
784 enable_option_checking
787 enable_as_accelerator_for
788 enable_offload_targets
789 enable_offload_defaulted
792 enable_compressed_debug_sections
794 enable_libquadmath_support
812 with_static_standard_libraries
819 enable_isl_version_check
821 enable_linker_plugin_configure_flags
822 enable_linker_plugin_flags
824 enable_stage1_languages
827 with_target_bdw_gc_include
828 with_target_bdw_gc_lib
829 with_gcc_major_version_only
831 with_debug_prefix_map
834 enable_serial_configure
835 with_build_time_tools
836 enable_maintainer_mode
837 enable_stage1_checking
840 ac_precious_vars
='build_alias
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
963 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
966 -build |
--build |
--buil |
--bui |
--bu)
967 ac_prev
=build_alias
;;
968 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
969 build_alias
=$ac_optarg ;;
971 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
972 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
973 ac_prev
=cache_file
;;
974 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
975 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
976 cache_file
=$ac_optarg ;;
979 cache_file
=config.cache
;;
981 -datadir |
--datadir |
--datadi |
--datad)
983 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
984 datadir
=$ac_optarg ;;
986 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
987 |
--dataroo |
--dataro |
--datar)
988 ac_prev
=datarootdir
;;
989 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
990 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
991 datarootdir
=$ac_optarg ;;
993 -disable-* |
--disable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=no
;;
1009 -docdir |
--docdir |
--docdi |
--doc |
--do)
1011 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1012 docdir
=$ac_optarg ;;
1014 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1016 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1017 dvidir
=$ac_optarg ;;
1019 -enable-* |
--enable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=\
$ac_optarg ;;
1035 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1036 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1037 |
--exec |
--exe |
--ex)
1038 ac_prev
=exec_prefix
;;
1039 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1040 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1041 |
--exec=* |
--exe=* |
--ex=*)
1042 exec_prefix
=$ac_optarg ;;
1044 -gas |
--gas |
--ga |
--g)
1045 # Obsolete; use --with-gas.
1048 -help |
--help |
--hel |
--he |
-h)
1049 ac_init_help
=long
;;
1050 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1051 ac_init_help
=recursive
;;
1052 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1053 ac_init_help
=short
;;
1055 -host |
--host |
--hos |
--ho)
1056 ac_prev
=host_alias
;;
1057 -host=* |
--host=* |
--hos=* |
--ho=*)
1058 host_alias
=$ac_optarg ;;
1060 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1062 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1064 htmldir
=$ac_optarg ;;
1066 -includedir |
--includedir |
--includedi |
--included |
--include \
1067 |
--includ |
--inclu |
--incl |
--inc)
1068 ac_prev
=includedir
;;
1069 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1070 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1071 includedir
=$ac_optarg ;;
1073 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1075 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1076 infodir
=$ac_optarg ;;
1078 -libdir |
--libdir |
--libdi |
--libd)
1080 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1081 libdir
=$ac_optarg ;;
1083 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1084 |
--libexe |
--libex |
--libe)
1085 ac_prev
=libexecdir
;;
1086 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1087 |
--libexe=* |
--libex=* |
--libe=*)
1088 libexecdir
=$ac_optarg ;;
1090 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1091 ac_prev
=localedir
;;
1092 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1093 localedir
=$ac_optarg ;;
1095 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1096 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1097 ac_prev
=localstatedir
;;
1098 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1099 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1100 localstatedir
=$ac_optarg ;;
1102 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1104 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1105 mandir
=$ac_optarg ;;
1107 -nfp |
--nfp |
--nf)
1108 # Obsolete; use --without-fp.
1111 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1112 |
--no-cr |
--no-c |
-n)
1115 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1116 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1119 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1120 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1121 |
--oldin |
--oldi |
--old |
--ol |
--o)
1122 ac_prev
=oldincludedir
;;
1123 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1124 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1125 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1126 oldincludedir
=$ac_optarg ;;
1128 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1130 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1131 prefix
=$ac_optarg ;;
1133 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1134 |
--program-pre |
--program-pr |
--program-p)
1135 ac_prev
=program_prefix
;;
1136 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1137 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1138 program_prefix
=$ac_optarg ;;
1140 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1141 |
--program-suf |
--program-su |
--program-s)
1142 ac_prev
=program_suffix
;;
1143 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1144 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1145 program_suffix
=$ac_optarg ;;
1147 -program-transform-name |
--program-transform-name \
1148 |
--program-transform-nam |
--program-transform-na \
1149 |
--program-transform-n |
--program-transform- \
1150 |
--program-transform |
--program-transfor \
1151 |
--program-transfo |
--program-transf \
1152 |
--program-trans |
--program-tran \
1153 |
--progr-tra |
--program-tr |
--program-t)
1154 ac_prev
=program_transform_name
;;
1155 -program-transform-name=* |
--program-transform-name=* \
1156 |
--program-transform-nam=* |
--program-transform-na=* \
1157 |
--program-transform-n=* |
--program-transform-=* \
1158 |
--program-transform=* |
--program-transfor=* \
1159 |
--program-transfo=* |
--program-transf=* \
1160 |
--program-trans=* |
--program-tran=* \
1161 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1162 program_transform_name
=$ac_optarg ;;
1164 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1166 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1167 pdfdir
=$ac_optarg ;;
1169 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1171 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1174 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1175 |
-silent |
--silent |
--silen |
--sile |
--sil)
1178 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1180 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1182 sbindir
=$ac_optarg ;;
1184 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1185 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1186 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1188 ac_prev
=sharedstatedir
;;
1189 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1190 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1191 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1193 sharedstatedir
=$ac_optarg ;;
1195 -site |
--site |
--sit)
1197 -site=* |
--site=* |
--sit=*)
1200 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1202 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1203 srcdir
=$ac_optarg ;;
1205 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1206 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1207 ac_prev
=sysconfdir
;;
1208 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1209 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1210 sysconfdir
=$ac_optarg ;;
1212 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1213 ac_prev
=target_alias
;;
1214 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1215 target_alias
=$ac_optarg ;;
1217 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1220 -version |
--version |
--versio |
--versi |
--vers |
-V)
1221 ac_init_version
=: ;;
1224 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1227 as_fn_error $?
"invalid package name: $ac_useropt"
1228 ac_useropt_orig
=$ac_useropt
1229 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1230 case $ac_user_opts in
1234 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1235 ac_unrecognized_sep
=', ';;
1237 eval with_
$ac_useropt=\
$ac_optarg ;;
1239 -without-* |
--without-*)
1240 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1241 # Reject names that are not valid shell variable names.
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1243 as_fn_error $?
"invalid package name: $ac_useropt"
1244 ac_useropt_orig
=$ac_useropt
1245 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246 case $ac_user_opts in
1250 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1251 ac_unrecognized_sep
=', ';;
1253 eval with_
$ac_useropt=no
;;
1256 # Obsolete; use --with-x.
1259 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1260 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1261 ac_prev
=x_includes
;;
1262 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1263 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1264 x_includes
=$ac_optarg ;;
1266 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1267 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1268 ac_prev
=x_libraries
;;
1269 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1270 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1271 x_libraries
=$ac_optarg ;;
1273 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1274 Try \`$0 --help' for more information"
1278 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1279 # Reject names that are not valid shell variable names.
1280 case $ac_envvar in #(
1281 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1282 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1284 eval $ac_envvar=\
$ac_optarg
1285 export $ac_envvar ;;
1288 # FIXME: should be removed in autoconf 3.0.
1289 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1290 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1291 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1292 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1298 if test -n "$ac_prev"; then
1299 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1300 as_fn_error $?
"missing argument to $ac_option"
1303 if test -n "$ac_unrecognized_opts"; then
1304 case $enable_option_checking in
1306 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1307 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311 # Check all directory arguments for consistency.
1312 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val
=\$
$ac_var
1318 # Remove trailing slashes.
1321 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1322 eval $ac_var=\
$ac_val;;
1324 # Be sure to have absolute directory names.
1326 [\\/$
]* | ?
:[\\/]* ) continue;;
1327 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1329 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target
=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x
; then
1341 if test "x$build_alias" = x
; then
1342 cross_compiling
=maybe
1343 elif test "x$build_alias" != "x$host_alias"; then
1349 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1351 test "$silent" = yes && exec 6>/dev
/null
1354 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1355 ac_ls_di
=`ls -di .` &&
1356 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1357 as_fn_error $?
"working directory cannot be determined"
1358 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359 as_fn_error $?
"pwd does not report name of working directory"
1362 # Find the source files, if location was not specified.
1363 if test -z "$srcdir"; then
1364 ac_srcdir_defaulted
=yes
1365 # Try the directory containing this script, then the parent directory.
1366 ac_confdir
=`$as_dirname -- "$as_myself" ||
1367 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368 X"$as_myself" : 'X\(//\)[^/]' \| \
1369 X"$as_myself" : 'X\(//\)$' \| \
1370 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371 $as_echo X"$as_myself" |
1372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1394 ac_srcdir_defaulted
=no
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1397 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1398 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1400 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1402 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 as_fn_error $?
"path to source, $srcdir, contains spaces"
1419 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1421 for ac_var
in $ac_precious_vars; do
1422 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1423 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1424 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1429 # Report the --help message.
1431 if test "$ac_init_help" = "long"; then
1432 # Omit some internal or obsolete options to make the list less imposing.
1433 # This message is too long to be a string in the A/UX 3.1 sh.
1435 \`configure' configures this package to adapt to many kinds of systems.
1437 Usage: $0 [OPTION]... [VAR=VALUE]...
1439 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440 VAR=VALUE. See below for descriptions of some of the useful variables.
1442 Defaults for the options are specified in brackets.
1445 -h, --help display this help and exit
1446 --help=short display options specific to this package
1447 --help=recursive display the short help of all the included packages
1448 -V, --version display version information and exit
1449 -q, --quiet, --silent do not print \`checking ...' messages
1450 --cache-file=FILE cache test results in FILE [disabled]
1451 -C, --config-cache alias for \`--cache-file=config.cache'
1452 -n, --no-create do not create output files
1453 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455 Installation directories:
1456 --prefix=PREFIX install architecture-independent files in PREFIX
1457 [$ac_default_prefix]
1458 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1461 By default, \`make install' will install all the files in
1462 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1463 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464 for instance \`--prefix=\$HOME'.
1466 For better control, use the options below.
1468 Fine tuning of the installation directories:
1469 --bindir=DIR user executables [EPREFIX/bin]
1470 --sbindir=DIR system admin executables [EPREFIX/sbin]
1471 --libexecdir=DIR program executables [EPREFIX/libexec]
1472 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1473 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1474 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1475 --libdir=DIR object code libraries [EPREFIX/lib]
1476 --includedir=DIR C header files [PREFIX/include]
1477 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1478 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1479 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1480 --infodir=DIR info documentation [DATAROOTDIR/info]
1481 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1482 --mandir=DIR man documentation [DATAROOTDIR/man]
1483 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1484 --htmldir=DIR html documentation [DOCDIR]
1485 --dvidir=DIR dvi documentation [DOCDIR]
1486 --pdfdir=DIR pdf documentation [DOCDIR]
1487 --psdir=DIR ps documentation [DOCDIR]
1493 --program-prefix=PREFIX prepend PREFIX to installed program names
1494 --program-suffix=SUFFIX append SUFFIX to installed program names
1495 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1498 --build=BUILD configure
for building on BUILD
[guessed
]
1499 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1500 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1504 if test -n "$ac_init_help"; then
1509 --disable-option-checking ignore unrecognized
--enable/--with options
1510 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1511 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1512 --enable-as-accelerator-for=ARG
1513 build as offload target compiler. Specify offload
1515 --enable-offload-targets=LIST
1516 enable offloading to devices from comma-separated
1517 LIST of TARGET
[=DIR
]. Use optional path to
find
1518 offload target compiler during the build
1519 --enable-offload-defaulted
1520 If enabled
, configured but not installed offload compilers and
1521 libgomp plugins are silently ignored. Useful
for distribution
1522 compilers where those are
in separate optional packages.
1524 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1525 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1526 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1527 Enable compressed debug sections
for gas
, gold or ld
1529 --disable-libquadmath do not build libquadmath directory
1530 --disable-libquadmath-support
1531 disable libquadmath support
for Fortran
1532 --enable-libada build libada directory
1533 --enable-libssp build libssp directory
1534 --disable-libstdcxx do not build libstdc
++-v3 directory
1535 --enable-liboffloadmic=ARG
1536 build liboffloadmic
[ARG
={no
,host,target
}]
1537 --enable-bootstrap enable bootstrapping
[yes if native build
]
1538 --disable-isl-version-check
1539 disable check
for isl version
1540 --enable-lto enable link
time optimization support
1541 --enable-linker-plugin-configure-flags=FLAGS
1542 additional flags
for configuring linker plugins
1544 --enable-linker-plugin-flags=FLAGS
1545 additional flags
for configuring and building linker
1547 --enable-host-shared build
host code as shared libraries
1548 --enable-stage1-languages[=all
]
1549 choose additional languages to build during stage1.
1550 Mostly useful
for compiler development
1551 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1553 --enable-vtable-verify Enable vtable verification feature
1554 --enable-serial-[{host,target,build}-]configure
1555 force sequential configuration of sub-packages for
1556 the host, target or build machine, or all
1558 --enable-maintainer-mode
1559 enable make rules and dependencies not useful (and
1560 sometimes confusing) to the casual installer
1561 --enable-stage1-checking[=all]
1562 choose additional checking for stage1 of the
1564 --enable-werror enable -Werror in bootstrap stage2 and later
1567 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1568 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1569 --with-build-libsubdir=DIR Directory where to find libraries for build system
1570 --with-system-zlib use installed libz
1571 --with-mpc=PATH specify prefix directory for installed MPC package.
1572 Equivalent to --with-mpc-include=PATH/include plus
1573 --with-mpc-lib=PATH/lib
1574 --with-mpc-include=PATH specify directory for installed MPC include files
1575 --with-mpc-lib=PATH specify directory for the installed MPC library
1576 --with-mpfr-dir=PATH this option has been REMOVED
1577 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1578 Equivalent to --with-mpfr-include=PATH/include plus
1579 --with-mpfr-lib=PATH/lib
1580 --with-mpfr-include=PATH
1581 specify directory for installed MPFR include files
1582 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1583 --with-gmp-dir=PATH this option has been REMOVED
1584 --with-gmp=PATH specify prefix directory for the installed GMP
1585 package. Equivalent to
1586 --with-gmp-include=PATH/include plus
1587 --with-gmp-lib=PATH/lib
1588 --with-gmp-include=PATH specify directory for installed GMP include files
1589 --with-gmp-lib=PATH specify directory for the installed GMP library
1590 --with-stage1-libs=LIBS libraries for stage1
1591 --with-static-standard-libraries
1592 use -static-libstdc++ and -static-libgcc
1594 --with-stage1-ldflags=FLAGS
1595 linker flags for stage1
1596 --with-boot-libs=LIBS libraries for stage2 and later
1597 --with-boot-ldflags=FLAGS
1598 linker flags for stage2 and later
1599 --with-isl=PATH Specify prefix directory for the installed isl
1600 package. Equivalent to
1601 --with-isl-include=PATH/include plus
1602 --with-isl-lib=PATH/lib
1603 --with-isl-include=PATH Specify directory for installed isl include files
1604 --with-isl-lib=PATH Specify the directory for the installed isl library
1605 --with-target-bdw-gc=PATHLIST
1606 specify prefix directory for installed bdw-gc
1607 package. Equivalent to
1608 --with-target-bdw-gc-include=PATH/include plus
1609 --with-target-bdw-gc-lib=PATH/lib
1610 --with-target-bdw-gc-include=PATHLIST
1611 specify directories for installed bdw-gc include
1613 --with-target-bdw-gc-lib=PATHLIST
1614 specify directories for installed bdw-gc library
1615 --with-gcc-major-version-only
1616 use only GCC major number in filesystem paths
1617 --with-build-sysroot=SYSROOT
1618 use sysroot as the system root during the build
1619 --with-debug-prefix-map='A
=B C
=D ...
'
1620 map A to B, C to D ... in debug information
1621 --with-build-config='NAME NAME2...
'
1622 use config/NAME.mk build configuration
1623 --with-build-time-tools=PATH
1624 use given path to find target tools during the build
1626 Some influential environment variables:
1627 CC C compiler command
1628 CFLAGS C compiler flags
1629 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1630 nonstandard directory <lib dir>
1631 LIBS libraries to pass to the linker, e.g. -l<library>
1632 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1633 you have headers in a nonstandard directory <include dir>
1634 CXX C++ compiler command
1635 CXXFLAGS C++ compiler flags
1637 additional configure arguments for build directories
1639 additional configure arguments for host directories
1641 additional configure arguments for target directories
1644 DLLTOOL DLLTOOL for the host
1646 LIPO LIPO for the host
1648 RANLIB RANLIB for the host
1649 STRIP STRIP for the host
1650 WINDRES WINDRES for the host
1651 WINDMC WINDMC for the host
1652 OBJCOPY OBJCOPY for the host
1653 OBJDUMP OBJDUMP for the host
1654 OTOOL OTOOL for the host
1655 READELF READELF for the host
1663 GFORTRAN for the target
1673 DLLTOOL for the target
1681 OBJCOPY for the target
1683 OBJDUMP for the target
1685 OTOOL for the target
1687 RANLIB for the target
1689 READELF for the target
1691 STRIP for the target
1693 WINDRES for the target
1695 WINDMC for the target
1697 Use these variables to override the choices made by `configure' or to
help
1698 it to
find libraries and programs with nonstandard names
/locations.
1700 Report bugs to the package provider.
1705 if test "$ac_init_help" = "recursive"; then
1706 # If there are subdirs, report their specific --help.
1707 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1708 test -d "$ac_dir" ||
1709 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1714 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1716 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1717 # A ".." for each directory in $ac_dir_suffix.
1718 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1719 case $ac_top_builddir_sub in
1720 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1721 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1724 ac_abs_top_builddir
=$ac_pwd
1725 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1726 # for backward compatibility:
1727 ac_top_builddir
=$ac_top_build_prefix
1730 .
) # We are building in place.
1732 ac_top_srcdir
=$ac_top_builddir_sub
1733 ac_abs_top_srcdir
=$ac_pwd ;;
1734 [\\/]* | ?
:[\\/]* ) # Absolute name.
1735 ac_srcdir
=$srcdir$ac_dir_suffix;
1736 ac_top_srcdir
=$srcdir
1737 ac_abs_top_srcdir
=$srcdir ;;
1739 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1740 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1741 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1743 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1745 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1746 # Check for guested configure.
1747 if test -f "$ac_srcdir/configure.gnu"; then
1749 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1750 elif test -f "$ac_srcdir/configure"; then
1752 $SHELL "$ac_srcdir/configure" --help=recursive
1754 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1756 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1760 test -n "$ac_init_help" && exit $ac_status
1761 if $ac_init_version; then
1764 generated by GNU Autoconf
2.69
1766 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1767 This configure
script is free software
; the Free Software Foundation
1768 gives unlimited permission to copy
, distribute and modify it.
1773 ## ------------------------ ##
1774 ## Autoconf initialization. ##
1775 ## ------------------------ ##
1777 # ac_fn_c_try_compile LINENO
1778 # --------------------------
1779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1780 ac_fn_c_try_compile
()
1782 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1783 rm -f conftest.
$ac_objext
1784 if { { ac_try
="$ac_compile"
1786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_compile") 2>conftest.err
1793 if test -s conftest.err; then
1794 grep -v '^ *+' conftest.err >conftest.er1
1795 cat conftest.er1 >&5
1796 mv -f conftest.er1 conftest.err
1798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799 test $ac_status = 0; } && {
1800 test -z "$ac_c_werror_flag" ||
1801 test ! -s conftest.err
1802 } && test -s conftest.$ac_objext; then :
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1813 } # ac_fn_c_try_compile
1815 # ac_fn_cxx_try_compile LINENO
1816 # ----------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_cxx_try_compile ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext
1822 if { { ac_try="$ac_compile"
1824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1825 *) ac_try_echo
=$ac_try;;
1827 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_compile") 2>conftest.err
1831 if test -s conftest.err
; then
1832 grep -v '^ *+' conftest.err
>conftest.er1
1833 cat conftest.er1
>&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_cxx_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest.
$ac_objext; then :
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status
$ac_retval
1851 } # ac_fn_cxx_try_compile
1853 # ac_fn_cxx_try_link LINENO
1854 # -------------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_cxx_try_link
()
1858 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1859 rm -f conftest.
$ac_objext conftest
$ac_exeext
1860 if { { ac_try
="$ac_link"
1862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_link") 2>conftest.err
1869 if test -s conftest.err; then
1870 grep -v '^ *+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_cxx_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest$ac_exeext && {
1879 test "$cross_compiling" = yes ||
1880 test -x conftest$ac_exeext
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1889 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1890 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1891 # interfere with the next link command; also delete a directory that is
1892 # left behind by Apple's compiler. We do this before executing the actions.
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 as_fn_set_status $ac_retval
1897 } # ac_fn_cxx_try_link
1899 # ac_fn_c_try_link LINENO
1900 # -----------------------
1901 # Try to link conftest.$ac_ext, and return whether this succeeded.
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 rm -f conftest.$ac_objext conftest$ac_exeext
1906 if { { ac_try="$ac_link"
1908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1909 *) ac_try_echo
=$ac_try;;
1911 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_link") 2>conftest.err
1915 if test -s conftest.err
; then
1916 grep -v '^ *+' conftest.err
>conftest.er1
1917 cat conftest.er1
>&5
1918 mv -f conftest.er1 conftest.err
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && {
1922 test -z "$ac_c_werror_flag" ||
1923 test ! -s conftest.err
1924 } && test -s conftest
$ac_exeext && {
1925 test "$cross_compiling" = yes ||
1926 test -x conftest
$ac_exeext
1930 $as_echo "$as_me: failed program was:" >&5
1931 sed 's/^/| /' conftest.
$ac_ext >&5
1935 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1936 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1937 # interfere with the next link command; also delete a directory that is
1938 # left behind by Apple's compiler. We do this before executing the actions.
1939 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1940 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 as_fn_set_status
$ac_retval
1943 } # ac_fn_c_try_link
1944 cat >config.log
<<_ACEOF
1945 This file contains any messages produced by compilers while
1946 running configure, to aid debugging if configure makes a mistake.
1948 It was created by $as_me, which was
1949 generated by GNU Autoconf 2.69. Invocation command line was
1961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1973 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir
=.
1985 $as_echo "PATH: $as_dir"
2001 # Keep a trace of the command line.
2002 # Strip out --no-create and --no-recursion so they do not pile up.
2003 # Strip out --silent because we don't want to record it for future runs.
2004 # Also quote any args containing shell meta-characters.
2005 # Make two passes to allow for proper duplicate-argument suppression.
2009 ac_must_keep_next
=false
2015 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2017 |
-silent |
--silent |
--silen |
--sile |
--sil)
2020 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2023 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2025 as_fn_append ac_configure_args1
" '$ac_arg'"
2026 if test $ac_must_keep_next = true
; then
2027 ac_must_keep_next
=false
# Got value, back to normal.
2030 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2031 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2032 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2033 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2034 case "$ac_configure_args0 " in
2035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2038 -* ) ac_must_keep_next
=true
;;
2041 as_fn_append ac_configure_args
" '$ac_arg'"
2046 { ac_configure_args0
=; unset ac_configure_args0
;}
2047 { ac_configure_args1
=; unset ac_configure_args1
;}
2049 # When interrupted or exit'd, cleanup temporary files, and complete
2050 # config.log. We remove comments because anyway the quotes in there
2051 # would cause problems or look ugly.
2052 # WARNING: Use '\'' to represent an apostrophe within the trap.
2053 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2054 trap 'exit_status=$?
2055 # Save into config.log some information that might help in debugging.
2059 $as_echo "## ---------------- ##
2060 ## Cache variables. ##
2061 ## ---------------- ##"
2063 # The following way of writing the cache mishandles newlines in values,
2065 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2066 eval ac_val=\$$ac_var
2070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2074 _ | IFS | as_nl) ;; #(
2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2076 *) { eval $ac_var=; unset $ac_var;} ;;
2081 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2082 *${as_nl}ac_space=\ *)
2084 "s/'\''/'\''\\\\'\'''\''/g;
2085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2095 $as_echo "## ----------------- ##
2096 ## Output variables. ##
2097 ## ----------------- ##"
2099 for ac_var in $ac_subst_vars
2101 eval ac_val=\$$ac_var
2103 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2109 if test -n "$ac_subst_files"; then
2110 $as_echo "## ------------------- ##
2111 ## File substitutions. ##
2112 ## ------------------- ##"
2114 for ac_var
in $ac_subst_files
2116 eval ac_val
=\$
$ac_var
2118 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2120 $as_echo "$ac_var='\''$ac_val'\''"
2125 if test -s confdefs.h; then
2126 $as_echo "## ----------- ##
2133 test "$ac_signal" != 0 &&
2134 $as_echo "$as_me: caught signal $ac_signal"
2135 $as_echo "$as_me: exit $exit_status"
2137 rm -f core *.core core.conftest.* &&
2138 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2141 for ac_signal
in 1 2 13 15; do
2142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2147 rm -f -r conftest
* confdefs.h
2149 $as_echo "/* confdefs.h */" > confdefs.h
2151 # Predefined preprocessor variables.
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_NAME "$PACKAGE_NAME"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_STRING "$PACKAGE_STRING"
2169 cat >>confdefs.h
<<_ACEOF
2170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2173 cat >>confdefs.h
<<_ACEOF
2174 #define PACKAGE_URL "$PACKAGE_URL"
2178 # Let the site file select an alternate cache file if it wants to.
2179 # Prefer an explicitly selected file to automatically selected ones.
2182 if test -n "$CONFIG_SITE"; then
2183 # We do not want a PATH search for config.site.
2184 case $CONFIG_SITE in #((
2185 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2186 */*) ac_site_file1
=$CONFIG_SITE;;
2187 *) ac_site_file1
=.
/$CONFIG_SITE;;
2189 elif test "x$prefix" != xNONE
; then
2190 ac_site_file1
=$prefix/share
/config.site
2191 ac_site_file2
=$prefix/etc
/config.site
2193 ac_site_file1
=$ac_default_prefix/share
/config.site
2194 ac_site_file2
=$ac_default_prefix/etc
/config.site
2196 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2198 test "x$ac_site_file" = xNONE
&& continue
2199 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2202 sed 's/^/| /' "$ac_site_file" >&5
2204 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 as_fn_error $?
"failed to load site script $ac_site_file
2207 See \`config.log' for more details" "$LINENO" 5; }
2211 if test -r "$cache_file"; then
2212 # Some versions of bash will fail to source /dev/null (special files
2213 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2214 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2216 $as_echo "$as_me: loading cache $cache_file" >&6;}
2218 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2219 *) .
"./$cache_file";;
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2224 $as_echo "$as_me: creating cache $cache_file" >&6;}
2228 # Check that the precious variables saved in the cache have kept the same
2230 ac_cache_corrupted
=false
2231 for ac_var
in $ac_precious_vars; do
2232 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2233 eval ac_new_set
=\
$ac_env_${ac_var}_set
2234 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2235 eval ac_new_val
=\
$ac_env_${ac_var}_value
2236 case $ac_old_set,$ac_new_set in
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2240 ac_cache_corrupted
=: ;;
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2244 ac_cache_corrupted
=: ;;
2247 if test "x$ac_old_val" != "x$ac_new_val"; then
2248 # differences in whitespace do not lead to failure.
2249 ac_old_val_w
=`echo x $ac_old_val`
2250 ac_new_val_w
=`echo x $ac_new_val`
2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2254 ac_cache_corrupted
=:
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2258 eval $ac_var=\
$ac_old_val
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2266 # Pass precious variables to config.status.
2267 if test "$ac_new_set" = set; then
2269 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2270 *) ac_arg
=$ac_var=$ac_new_val ;;
2272 case " $ac_configure_args " in
2273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2274 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2278 if $ac_cache_corrupted; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2283 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2285 ## -------------------- ##
2286 ## Main body of script. ##
2287 ## -------------------- ##
2290 ac_cpp
='$CPP $CPPFLAGS'
2291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2303 # if PWD already has a value, it is probably wrong.
2304 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2306 # Export original configure arguments for use by sub-configures.
2307 # Quote arguments with shell meta charatcers.
2308 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2309 set -- "$progname" "$@"
2313 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2314 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2315 # if the argument is of the form -foo=baz, quote the baz part only
2316 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2319 # Add the quoted argument to the list.
2320 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2322 if test "$silent" = yes; then
2323 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2325 # Remove the initial space we just introduced and, as these will be
2326 # expanded by make, quote '$'.
2327 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2330 # Find the build, host, and target systems.
2332 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2333 if test -f "$ac_dir/install-sh"; then
2335 ac_install_sh
="$ac_aux_dir/install-sh -c"
2337 elif test -f "$ac_dir/install.sh"; then
2339 ac_install_sh
="$ac_aux_dir/install.sh -c"
2341 elif test -f "$ac_dir/shtool"; then
2343 ac_install_sh
="$ac_aux_dir/shtool install -c"
2347 if test -z "$ac_aux_dir"; then
2348 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2351 # These three variables are undocumented and unsupported,
2352 # and are intended to be withdrawn in a future Autoconf release.
2353 # They can cause serious problems if a builder's source tree is in a directory
2354 # whose full name contains unusual characters.
2355 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2356 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2357 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2360 # Make sure we can run config.sub.
2361 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2362 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2365 $as_echo_n "checking build system type... " >&6; }
2366 if ${ac_cv_build+:} false
; then :
2367 $as_echo_n "(cached) " >&6
2369 ac_build_alias
=$build_alias
2370 test "x$ac_build_alias" = x
&&
2371 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2372 test "x$ac_build_alias" = x
&&
2373 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2374 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2375 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2379 $as_echo "$ac_cv_build" >&6; }
2380 case $ac_cv_build in
2382 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2385 ac_save_IFS
=$IFS; IFS
='-'
2391 # Remember, the first character of IFS is used to create $*,
2392 # except with old shells:
2395 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2398 case ${build_alias} in
2399 "") build_noncanonical
=${build} ;;
2400 *) build_noncanonical
=${build_alias} ;;
2405 case ${host_alias} in
2406 "") host_noncanonical
=${build_noncanonical} ;;
2407 *) host_noncanonical
=${host_alias} ;;
2412 case ${target_alias} in
2413 "") target_noncanonical
=${host_noncanonical} ;;
2414 *) target_noncanonical
=${target_alias} ;;
2420 test "$host_noncanonical" = "$target_noncanonical" &&
2421 test "$program_prefix$program_suffix$program_transform_name" = \
2423 program_transform_name
=s
,y
,y
,
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2426 $as_echo_n "checking host system type... " >&6; }
2427 if ${ac_cv_host+:} false
; then :
2428 $as_echo_n "(cached) " >&6
2430 if test "x$host_alias" = x
; then
2431 ac_cv_host
=$ac_cv_build
2433 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2434 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2439 $as_echo "$ac_cv_host" >&6; }
2442 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2445 ac_save_IFS
=$IFS; IFS
='-'
2451 # Remember, the first character of IFS is used to create $*,
2452 # except with old shells:
2455 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2459 $as_echo_n "checking target system type... " >&6; }
2460 if ${ac_cv_target+:} false
; then :
2461 $as_echo_n "(cached) " >&6
2463 if test "x$target_alias" = x
; then
2464 ac_cv_target
=$ac_cv_host
2466 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2467 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2472 $as_echo "$ac_cv_target" >&6; }
2473 case $ac_cv_target in
2475 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2477 target
=$ac_cv_target
2478 ac_save_IFS
=$IFS; IFS
='-'
2484 # Remember, the first character of IFS is used to create $*,
2485 # except with old shells:
2488 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2491 # The aliases save the names the user supplied, while $host etc.
2492 # will get canonicalized.
2493 test -n "$target_alias" &&
2494 test "$program_prefix$program_suffix$program_transform_name" = \
2496 program_prefix
=${target_alias}-
2498 test "$program_prefix" != NONE
&&
2499 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2500 # Use a double $ so make ignores it.
2501 test "$program_suffix" != NONE
&&
2502 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2503 # Double any \ or $.
2504 # By default was `s,x,x', remove it if useless.
2505 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2506 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2510 # Get 'install' or 'install-sh' and its variants.
2511 # Find a good install program. We prefer a C program (faster),
2512 # so one script is as good as another. But avoid the broken or
2513 # incompatible versions:
2514 # SysV /etc/install, /usr/sbin/install
2515 # SunOS /usr/etc/install
2516 # IRIX /sbin/install
2518 # AmigaOS /C/install, which installs bootblocks on floppy discs
2519 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2520 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2521 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2522 # OS/2's system install, which has a completely different semantic
2523 # ./install, which can be erroneously created by make from ./install.sh.
2524 # Reject install programs that cannot install multiple files.
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2526 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2527 if test -z "$INSTALL"; then
2528 if ${ac_cv_path_install+:} false
; then :
2529 $as_echo_n "(cached) " >&6
2531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir
=.
2536 # Account for people who put trailing slashes in PATH elements.
2537 case $as_dir/ in #((
2538 .
/ | .
// |
/[cC
]/* | \
2539 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2540 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2543 # OSF1 and SCO ODT 3.0 have their own names for install.
2544 # Don't use installbsd from OSF since it installs stuff as root
2546 for ac_prog
in ginstall scoinst
install; do
2547 for ac_exec_ext
in '' $ac_executable_extensions; do
2548 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2549 if test $ac_prog = install &&
2550 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2551 # AIX install. It has an incompatible calling convention.
2553 elif test $ac_prog = install &&
2554 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2555 # program-specific install script used by HP pwplus--don't use.
2558 rm -rf conftest.one conftest.two conftest.dir
2559 echo one
> conftest.one
2560 echo two
> conftest.two
2562 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2563 test -s conftest.one
&& test -s conftest.two
&&
2564 test -s conftest.dir
/conftest.one
&&
2565 test -s conftest.dir
/conftest.two
2567 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2580 rm -rf conftest.one conftest.two conftest.dir
2583 if test "${ac_cv_path_install+set}" = set; then
2584 INSTALL
=$ac_cv_path_install
2586 # As a last resort, use the slow shell script. Don't cache a
2587 # value for INSTALL within a source directory, because that will
2588 # break other packages using the cache if that directory is
2589 # removed, or if the value is a relative name.
2590 INSTALL
=$ac_install_sh
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2594 $as_echo "$INSTALL" >&6; }
2596 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2597 # It thinks the first close brace ends the variable substitution.
2598 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2600 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2602 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2605 $as_echo_n "checking whether ln works... " >&6; }
2606 if ${acx_cv_prog_LN+:} false
; then :
2607 $as_echo_n "(cached) " >&6
2609 rm -f conftestdata_t
2610 echo >conftestdata_f
2611 if ln conftestdata_f conftestdata_t
2>/dev
/null
2617 rm -f conftestdata_f conftestdata_t
2620 if test $acx_cv_prog_LN = no
; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2623 $as_echo "no, using $LN" >&6; }
2625 LN
="$acx_cv_prog_LN"
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2631 $as_echo_n "checking whether ln -s works... " >&6; }
2633 if test "$LN_S" = "ln -s"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635 $as_echo "yes" >&6; }
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2638 $as_echo "no, using $LN_S" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2642 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2643 if ${ac_cv_path_SED+:} false
; then :
2644 $as_echo_n "(cached) " >&6
2646 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2647 for ac_i
in 1 2 3 4 5 6 7; do
2648 ac_script
="$ac_script$as_nl$ac_script"
2650 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2651 { ac_script
=; unset ac_script
;}
2652 if test -z "$SED"; then
2653 ac_path_SED_found
=false
2654 # Loop through the user's path and test for each of PROGNAME-LIST
2655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir
=.
2660 for ac_prog
in sed gsed
; do
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2663 as_fn_executable_p
"$ac_path_SED" ||
continue
2664 # Check for GNU ac_path_SED and select it if it is found.
2665 # Check for GNU $ac_path_SED
2666 case `"$ac_path_SED" --version 2>&1` in
2668 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2671 $as_echo_n 0123456789 >"conftest.in"
2674 cat "conftest.in" "conftest.in" >"conftest.tmp"
2675 mv "conftest.tmp" "conftest.in"
2676 cp "conftest.in" "conftest.nl"
2677 $as_echo '' >> "conftest.nl"
2678 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2679 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2680 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2681 if test $ac_count -gt ${ac_path_SED_max-0}; then
2682 # Best one so far, save it but keep looking for a better one
2683 ac_cv_path_SED
="$ac_path_SED"
2684 ac_path_SED_max
=$ac_count
2686 # 10*(2^10) chars as input seems more than enough
2687 test $ac_count -gt 10 && break
2689 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2692 $ac_path_SED_found && break 3
2697 if test -z "$ac_cv_path_SED"; then
2698 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2706 $as_echo "$ac_cv_path_SED" >&6; }
2707 SED
="$ac_cv_path_SED"
2710 for ac_prog
in gawk mawk nawk
awk
2712 # Extract the first word of "$ac_prog", so it can be a program name with args.
2713 set dummy
$ac_prog; ac_word
=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if ${ac_cv_prog_AWK+:} false
; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$AWK"; then
2720 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2729 ac_cv_prog_AWK
="$ac_prog"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 if test -n "$AWK"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2742 $as_echo "$AWK" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2749 test -n "$AWK" && break
2753 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2755 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2757 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2758 INSTALL
="${srcpwd}/install-sh -c"
2761 # Set srcdir to "." if that's what it is.
2762 # This is important for multilib support.
2764 if test "${pwd}" = "${srcpwd}" ; then
2772 ### To add a new directory to the tree, first choose whether it is a target
2773 ### or a host dependent tool. Then put it into the appropriate list
2774 ### (library or tools, host or target), doing a dependency sort.
2776 # Subdirs will be configured in the order listed in build_configdirs,
2777 # configdirs, or target_configdirs; see the serialization section below.
2779 # Dependency sorting is only needed when *configuration* must be done in
2780 # a particular order. In all cases a dependency should be specified in
2781 # the Makefile, whether or not it's implicitly specified here.
2783 # Double entries in build_configdirs, configdirs, or target_configdirs may
2784 # cause circular dependencies and break everything horribly.
2786 # these library is used by various programs built for the build
2789 build_libs
="build-libiberty build-libcpp"
2791 # these tools are built for the build environment
2792 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2794 # these libraries are used by various programs built for the host environment
2796 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2798 # these tools are built for the host environment
2799 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2800 # know that we are building the simulator.
2801 # binutils, gas and ld appear in that order because it makes sense to run
2802 # "make check" in that particular order.
2803 # If --enable-gold is used, "gold" may replace "ld".
2804 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"
2806 # these libraries are built for the target environment, and are built after
2807 # the host libraries and the host tools (which may be a cross compiler)
2808 # Note that libiberty is not a target library.
2809 target_libraries
="target-libgcc \
2810 target-libbacktrace \
2814 target-liboffloadmic \
2815 target-libhsail-rt \
2818 target-libstdc++-v3 \
2819 target-libsanitizer \
2822 target-libquadmath \
2823 target-libgfortran \
2831 # these tools are built using the target libraries, and are intended to
2832 # run only in the target environment
2834 # note: any program that *uses* libraries that are in the "target_libraries"
2835 # list belongs in this list.
2837 target_tools
="target-rda"
2839 ################################################################################
2841 ## All tools belong in one of the four categories, and are assigned above
2842 ## We assign ${configdirs} this way to remove all embedded newlines. This
2843 ## is important because configure will choke if they ever get through.
2844 ## ${configdirs} is directories we build using the host tools.
2845 ## ${target_configdirs} is directories we build using the target tools.
2846 configdirs
=`echo ${host_libs} ${host_tools}`
2847 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2848 build_configdirs
=`echo ${build_libs} ${build_tools}`
2852 ################################################################################
2854 srcname
="gnu development package"
2856 # This gets set non-empty for some net releases of packages.
2859 # Define is_cross_compiler to save on calls to 'test'.
2861 if test x
"${host}" = x
"${target}" ; then
2862 is_cross_compiler
=no
2864 is_cross_compiler
=yes
2867 # Find the build and target subdir names.
2869 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2870 # have matching libraries, they should use host libraries: Makefile.tpl
2871 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2872 # However, they still use the build modules, because the corresponding
2873 # host modules (e.g. bison) are only built for the host when bootstrap
2875 # - build_subdir is where we find build modules, and never changes.
2876 # - build_libsubdir is where we find build libraries, and can be overridden.
2878 # Prefix 'build-' so this never conflicts with target_subdir.
2879 build_subdir
="build-${build_noncanonical}"
2881 # Check whether --with-build-libsubdir was given.
2882 if test "${with_build_libsubdir+set}" = set; then :
2883 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2885 build_libsubdir
="$build_subdir"
2888 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2889 if ( test $srcdir = .
&& test -d gcc
) \
2890 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2891 host_subdir
="host-${host_noncanonical}"
2896 target_subdir
=${target_noncanonical}
2898 # Be sure to cover against remnants of an in-tree build.
2899 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2900 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2901 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2904 # Skipdirs are removed silently.
2906 # Noconfigdirs are removed loudly.
2910 # Make sure we don't let GNU ld be added if we didn't want it.
2911 if test x
$with_gnu_ld = xno
; then
2913 noconfigdirs
="$noconfigdirs ld gold"
2917 # Make sure we don't let GNU as be added if we didn't want it.
2918 if test x
$with_gnu_as = xno
; then
2920 noconfigdirs
="$noconfigdirs gas"
2925 # Check whether --with-system-zlib was given.
2926 if test "${with_system_zlib+set}" = set; then :
2927 withval
=$with_system_zlib;
2930 # Make sure we don't let ZLIB be added if we didn't want it.
2931 if test x
$with_system_zlib = xyes
; then
2932 use_included_zlib
=no
2933 noconfigdirs
="$noconfigdirs zlib"
2936 # some tools are so dependent upon X11 that if we're not building with X,
2937 # it's not even worth trying to configure, much less build, that tool.
2940 yes |
"") ;; # the default value for this tree is that X11 is available
2942 skipdirs
="${skipdirs} tk itcl libgui"
2943 # We won't be able to build gdbtk without X.
2946 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2949 # Some are only suitable for cross toolchains.
2950 # Remove these if host=target.
2951 cross_only
="target-libgloss target-newlib target-opcodes"
2953 case $is_cross_compiler in
2954 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2957 # If both --with-headers and --with-libs are specified, default to
2959 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2960 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2961 if test x
"${with_newlib}" = x
; then
2966 # Recognize --with-newlib/--without-newlib.
2967 case ${with_newlib} in
2968 no
) skipdirs
="${skipdirs} target-newlib" ;;
2969 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2972 # Check whether --enable-as-accelerator-for was given.
2973 if test "${enable_as_accelerator_for+set}" = set; then :
2974 enableval
=$enable_as_accelerator_for;
2978 # Check whether --enable-offload-targets was given.
2979 if test "${enable_offload_targets+set}" = set; then :
2980 enableval
=$enable_offload_targets;
2981 if test x
"$enable_offload_targets" = x
; then
2982 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2986 enable_offload_targets
=
2990 # Check whether --enable-offload-defaulted was given.
2991 if test "${enable_offload_defaulted+set}" = set; then :
2992 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
2994 enable_offload_defaulted
=
2998 # Handle --enable-gold, --enable-ld.
2999 # --disable-gold [--enable-ld]
3000 # Build only ld. Default option.
3001 # --enable-gold [--enable-ld]
3002 # Build both gold and ld. Install gold as "ld.gold", install ld
3003 # as "ld.bfd" and "ld".
3004 # --enable-gold=default [--enable-ld]
3005 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3006 # install ld as "ld.bfd".
3007 # --enable-gold[=default] --disable-ld
3008 # Build only gold, which is then installed as both "ld.gold" and "ld".
3009 # --enable-gold --enable-ld=default
3010 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3012 # In other words, ld is default
3013 # --enable-gold=default --enable-ld=default
3017 # Check whether --enable-gold was given.
3018 if test "${enable_gold+set}" = set; then :
3019 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3024 case "${ENABLE_GOLD}" in
3026 # Check for ELF target.
3029 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3030 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3031 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3032 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3034 *-*-linux*aout
* |
*-*-linux*oldld
*)
3042 if test "$is_elf" = "yes"; then
3043 # Check for target supported by gold.
3045 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3046 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3047 configdirs
="$configdirs gold"
3048 if test x
${ENABLE_GOLD} = xdefault
; then
3059 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3063 # Check whether --enable-ld was given.
3064 if test "${enable_ld+set}" = set; then :
3065 enableval
=$enable_ld; ENABLE_LD
=$enableval
3071 case "${ENABLE_LD}" in
3073 if test x
${default_ld} != x
; then
3074 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3080 if test x
${ENABLE_GOLD} != xyes
; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3082 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3084 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3087 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3092 # Decide the default method for compressing debug sections.
3093 # Provide a configure time option to override our default.
3094 # Check whether --enable-compressed_debug_sections was given.
3095 if test "${enable_compressed_debug_sections+set}" = set; then :
3096 enableval
=$enable_compressed_debug_sections;
3097 if test x
"$enable_compressed_debug_sections" = xyes
; then
3098 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3102 enable_compressed_debug_sections
=
3106 # Configure extra directories which are host specific
3110 configdirs
="$configdirs libtermcap" ;;
3113 # A target can indicate whether a language isn't supported for some reason.
3114 # Only spaces may be used in this macro; not newlines or tabs.
3115 unsupported_languages
=
3117 # Remove more programs from consideration, based on the host or
3118 # target this usually means that a port of the program doesn't
3122 i
[3456789]86-*-msdosdjgpp*)
3123 noconfigdirs
="$noconfigdirs tcl tk itcl"
3128 # Check whether --enable-libquadmath was given.
3129 if test "${enable_libquadmath+set}" = set; then :
3130 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3132 ENABLE_LIBQUADMATH
=yes
3135 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3136 noconfigdirs
="$noconfigdirs target-libquadmath"
3140 # Check whether --enable-libquadmath-support was given.
3141 if test "${enable_libquadmath_support+set}" = set; then :
3142 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3144 ENABLE_LIBQUADMATH_SUPPORT
=yes
3147 enable_libquadmath_support
=
3148 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3149 enable_libquadmath_support
=no
3153 # Check whether --enable-libada was given.
3154 if test "${enable_libada+set}" = set; then :
3155 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3160 if test "${ENABLE_LIBADA}" != "yes" ; then
3161 noconfigdirs
="$noconfigdirs gnattools"
3164 # Check whether --enable-libssp was given.
3165 if test "${enable_libssp+set}" = set; then :
3166 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3172 # Check whether --enable-libstdcxx was given.
3173 if test "${enable_libstdcxx+set}" = set; then :
3174 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3176 ENABLE_LIBSTDCXX
=default
3179 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3180 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3183 # If this is accelerator compiler and its target is intelmic we enable
3184 # target liboffloadmic by default. If this is compiler with offloading
3185 # for intelmic we enable host liboffloadmic by default. Otherwise
3186 # liboffloadmic is disabled by default.
3187 # Check whether --enable-liboffloadmic was given.
3188 if test "${enable_liboffloadmic+set}" = set; then :
3189 enableval
=$enable_liboffloadmic; case "$enableval" in
3191 enable_liboffloadmic
=$enableval ;;
3193 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3196 if test x
"$enable_as_accelerator_for" != x
; then
3198 *-intelmic-* |
*-intelmicemul-*)
3199 enable_liboffloadmic
=target
3200 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3203 enable_liboffloadmic
=no
3207 case "${enable_offload_targets}" in
3208 *-intelmic-* |
*-intelmicemul-*)
3209 enable_liboffloadmic
=host
3210 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3213 enable_liboffloadmic
=no
3221 # Enable libgomp by default on hosted POSIX systems, and a few others.
3222 if test x
$enable_libgomp = x
; then
3224 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3226 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3228 *-*-solaris2* |
*-*-hpux11*)
3230 *-*-darwin* |
*-*-aix*)
3232 nvptx
*-*-* | amdgcn
*-*-*)
3235 noconfigdirs
="$noconfigdirs target-libgomp"
3240 # Disable libatomic on unsupported systems.
3241 if test -d ${srcdir}/libatomic
; then
3242 if test x
$enable_libatomic = x
; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3244 $as_echo_n "checking for libatomic support... " >&6; }
3245 if (srcdir
=${srcdir}/libatomic
; \
3246 .
${srcdir}/configure.tgt
; \
3247 test -n "$UNSUPPORTED")
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3251 noconfigdirs
="$noconfigdirs target-libatomic"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3254 $as_echo "yes" >&6; }
3259 # Disable liboffloadmic on unsupported systems.
3260 if test -d ${srcdir}/liboffloadmic
; then
3261 if test x
$enable_liboffloadmic != xno
; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3263 $as_echo_n "checking for liboffloadmic support... " >&6; }
3264 if (srcdir
=${srcdir}/liboffloadmic
; \
3265 .
${srcdir}/configure.tgt
; \
3266 test -n "$UNSUPPORTED")
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3270 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3273 $as_echo "yes" >&6; }
3278 # Disable libitm on unsupported systems.
3279 if test -d ${srcdir}/libitm
; then
3280 if test x
$enable_libitm = x
; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3282 $as_echo_n "checking for libitm support... " >&6; }
3283 if (srcdir
=${srcdir}/libitm
; \
3284 .
${srcdir}/configure.tgt
; \
3285 test -n "$UNSUPPORTED")
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 noconfigdirs
="$noconfigdirs target-libitm"
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292 $as_echo "yes" >&6; }
3297 # Disable libsanitizer on unsupported systems.
3298 if test -d ${srcdir}/libsanitizer
; then
3299 if test x
$enable_libsanitizer = x
; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3301 $as_echo_n "checking for libsanitizer support... " >&6; }
3302 if (srcdir
=${srcdir}/libsanitizer
; \
3303 .
${srcdir}/configure.tgt
; \
3304 test -n "$UNSUPPORTED")
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3308 noconfigdirs
="$noconfigdirs target-libsanitizer"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3311 $as_echo "yes" >&6; }
3316 # Disable libvtv on unsupported systems.
3317 if test -d ${srcdir}/libvtv
; then
3318 if test x
$enable_libvtv = x
; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3320 $as_echo_n "checking for libvtv support... " >&6; }
3321 if (srcdir
=${srcdir}/libvtv
; \
3322 .
${srcdir}/configure.tgt
; \
3323 test "$VTV_SUPPORTED" != "yes")
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 noconfigdirs
="$noconfigdirs target-libvtv"
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330 $as_echo "yes" >&6; }
3336 # Disable libhsail-rt on unsupported systems.
3337 if test -d ${srcdir}/libhsail-rt
; then
3338 if test x
$enable_libhsail_rt = x
; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3340 $as_echo_n "checking for libhsail-rt support... " >&6; }
3341 if (srcdir
=${srcdir}/libhsail-rt
; \
3342 .
${srcdir}/configure.tgt
; \
3343 test -n "$UNSUPPORTED")
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3347 unsupported_languages
="$unsupported_languages brig"
3348 # This implicitly disables also target-libhsail-rt as it won't
3349 # get added to the build without BRIG FE.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3352 $as_echo "yes" >&6; }
3358 # Disable libquadmath for some systems.
3361 noconfigdirs
="$noconfigdirs target-libquadmath"
3363 # libquadmath is unused on AIX and libquadmath build process use of
3364 # LD_LIBRARY_PATH can break AIX bootstrap.
3365 powerpc-
*-aix* | rs6000-
*-aix*)
3366 noconfigdirs
="$noconfigdirs target-libquadmath"
3370 # Disable libssp for some systems.
3373 # No hosted I/O support.
3374 noconfigdirs
="$noconfigdirs target-libssp"
3377 noconfigdirs
="$noconfigdirs target-libssp"
3379 powerpc-
*-aix* | rs6000-
*-aix*)
3380 noconfigdirs
="$noconfigdirs target-libssp"
3383 # No hosted I/O support.
3384 noconfigdirs
="$noconfigdirs target-libssp"
3387 # libssp uses a misaligned load to trigger a fault, but the RL78
3388 # doesn't fault for those - instead, it gives a build-time error
3389 # for explicit misaligned loads.
3390 noconfigdirs
="$noconfigdirs target-libssp"
3393 # No hosted I/O support.
3394 noconfigdirs
="$noconfigdirs target-libssp"
3398 # Disable libstdc++-v3 for some systems.
3399 # Allow user to override this if they pass --enable-libstdc++-v3
3400 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3403 # VxWorks uses the Dinkumware C++ library.
3404 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3407 # Not ported/fails to build when using newlib.
3408 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3411 # the C++ libraries don't build on top of CE's C libraries
3412 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3415 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3418 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3421 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3426 # Disable C++ on systems where it is known to not work.
3427 # For testing, you can override this with --enable-languages=c++.
3428 case ,${enable_languages}, in
3434 unsupported_languages
="$unsupported_languages c++"
3440 # Disable Objc on systems where it is known to not work.
3441 # For testing, you can override this with --enable-languages=objc.
3442 case ,${enable_languages}, in
3448 unsupported_languages
="$unsupported_languages objc"
3454 # Disable D on systems where it is known to not work.
3455 # For testing, you can override this with --enable-languages=d.
3456 case ,${enable_languages}, in
3462 unsupported_languages
="$unsupported_languages d"
3468 # Disable libphobos on unsupported systems.
3469 # For testing, you can override this with --enable-libphobos.
3470 if test -d ${srcdir}/libphobos
; then
3471 if test x
$enable_libphobos = x
; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3473 $as_echo_n "checking for libphobos support... " >&6; }
3474 if (srcdir
=${srcdir}/libphobos
; \
3475 .
${srcdir}/configure.tgt
; \
3476 test "$LIBPHOBOS_SUPPORTED" != "yes")
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479 $as_echo "no" >&6; }
3480 noconfigdirs
="$noconfigdirs target-libphobos"
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3483 $as_echo "yes" >&6; }
3488 # Disable Fortran for some systems.
3491 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3492 unsupported_languages
="$unsupported_languages fortran"
3495 unsupported_languages
="$unsupported_languages fortran"
3499 # Disable libffi for some systems.
3503 i
[3456789]86-*-darwin*)
3505 x86_64-
*-darwin[912]*)
3508 noconfigdirs
="$noconfigdirs target-libffi"
3511 noconfigdirs
="$noconfigdirs target-libffi"
3514 noconfigdirs
="$noconfigdirs target-libffi"
3517 noconfigdirs
="$noconfigdirs target-libffi"
3520 noconfigdirs
="$noconfigdirs target-libffi"
3523 noconfigdirs
="$noconfigdirs target-libffi"
3526 noconfigdirs
="$noconfigdirs target-libffi"
3528 aarch64
*-*-freebsd*)
3529 noconfigdirs
="$noconfigdirs target-libffi"
3532 noconfigdirs
="$noconfigdirs target-libffi"
3535 noconfigdirs
="$noconfigdirs target-libffi"
3538 noconfigdirs
="$noconfigdirs target-libffi"
3541 noconfigdirs
="$noconfigdirs target-libffi"
3544 noconfigdirs
="$noconfigdirs target-libffi"
3546 cris-
*-* | crisv32-
*-*)
3550 *) # See PR46792 regarding target-libffi.
3551 noconfigdirs
="$noconfigdirs target-libffi";;
3555 noconfigdirs
="$noconfigdirs target-libffi"
3560 noconfigdirs
="$noconfigdirs target-libffi"
3563 noconfigdirs
="$noconfigdirs target-libffi"
3565 i
[3456789]86-w64-mingw*)
3566 noconfigdirs
="$noconfigdirs target-libffi"
3568 i
[3456789]86-*-mingw*)
3569 noconfigdirs
="$noconfigdirs target-libffi"
3572 noconfigdirs
="$noconfigdirs target-libffi"
3575 noconfigdirs
="$noconfigdirs target-libffi"
3582 noconfigdirs
="$noconfigdirs target-libffi"
3585 noconfigdirs
="$noconfigdirs target-libffi"
3589 # Disable the go frontend on systems where it is known to not work. Please keep
3590 # this in sync with contrib/config-list.mk.
3592 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3593 unsupported_languages
="$unsupported_languages go"
3597 # Only allow gdbserver on some systems.
3598 if test -d ${srcdir}/gdbserver
; then
3599 if test x
$enable_gdbserver = x
; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3601 $as_echo_n "checking for gdbserver support... " >&6; }
3602 if (srcdir
=${srcdir}/gdbserver
; \
3603 .
${srcdir}/configure.srv
; \
3604 test -n "$UNSUPPORTED")
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3608 noconfigdirs
="$noconfigdirs gdbserver"
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3611 $as_echo "yes" >&6; }
3616 # Disable libgo for some systems where it is known to not work.
3617 # For testing, you can easily override this with --enable-libgo.
3618 if test x
$enable_libgo = x
; then
3622 noconfigdirs
="$noconfigdirs target-libgo"
3624 *-*-cygwin* |
*-*-mingw*)
3625 noconfigdirs
="$noconfigdirs target-libgo"
3628 noconfigdirs
="$noconfigdirs target-libgo"
3633 # Default libgloss CPU subdirectory.
3634 libgloss_dir
="$target_cpu"
3637 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3641 libgloss_dir
=aarch64
3646 cris-
*-* | crisv32-
*-*)
3655 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3656 libgloss_dir
=m68hc11
3658 m68
*-*-* | fido-
*-*)
3675 # Disable newlib and libgloss for various target OSes.
3678 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3680 i
[3456789]86-*-linux*)
3681 # This section makes it possible to build newlib natively on linux.
3682 # If we are using a cross compiler then don't configure newlib.
3683 if test x
${is_cross_compiler} != xno
; then
3684 noconfigdirs
="$noconfigdirs target-newlib"
3686 noconfigdirs
="$noconfigdirs target-libgloss"
3687 # If we are not using a cross compiler, do configure newlib.
3688 # Note however, that newlib will only be configured in this situation
3689 # if the --with-newlib option has been given, because otherwise
3690 # 'target-newlib' will appear in skipdirs.
3692 i
[3456789]86-*-rdos*)
3693 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3695 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3699 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3702 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3705 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3708 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3711 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3714 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3717 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3720 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3723 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3726 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3729 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3732 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3735 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3738 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3741 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3749 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3750 noconfigdirs
="$noconfigdirs sim target-rda"
3755 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3756 noconfigdirs
="$noconfigdirs sim target-rda"
3759 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3760 noconfigdirs
="$noconfigdirs sim target-rda"
3762 i
[3456789]86-*-darwin*)
3763 noconfigdirs
="$noconfigdirs ld gprof"
3764 noconfigdirs
="$noconfigdirs sim target-rda"
3766 x86_64-
*-darwin[912]*)
3767 noconfigdirs
="$noconfigdirs ld gas gprof"
3768 noconfigdirs
="$noconfigdirs sim target-rda"
3771 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3772 noconfigdirs
="$noconfigdirs sim target-rda"
3777 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3778 && ! test -d ${srcdir}/gmp \
3779 && test -f /usr
/local
/include
/gmp.h
; then
3784 # Remove unsupported stuff on all kaOS configurations.
3785 noconfigdirs
="$noconfigdirs target-libgloss"
3792 noconfigdirs
="$noconfigdirs target-libgloss"
3795 noconfigdirs
="$noconfigdirs target-libgloss"
3797 # The tpf target doesn't support gdb yet.
3799 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3802 noconfigdirs
="$noconfigdirs target-rda"
3807 # ld works, but does not support shared libraries.
3808 # gas doesn't generate exception information.
3809 noconfigdirs
="$noconfigdirs gas ld"
3812 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3815 # newlib is not 64 bit ready
3816 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3819 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3821 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3822 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3825 noconfigdirs
="$noconfigdirs sim"
3828 noconfigdirs
="$noconfigdirs target-libgloss"
3831 noconfigdirs
="$noconfigdirs ld target-libgloss"
3834 if test x
${with_avrlibc} != xno
; then
3835 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3838 c4x-
*-* | tic4x-
*-*)
3839 noconfigdirs
="$noconfigdirs target-libgloss"
3842 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3845 noconfigdirs
="$noconfigdirs target-libgloss"
3848 noconfigdirs
="$noconfigdirs gdb"
3851 noconfigdirs
="$noconfigdirs gdb"
3854 noconfigdirs
="$noconfigdirs target-rda gprof"
3857 noconfigdirs
="$noconfigdirs"
3860 noconfigdirs
="$noconfigdirs target-libgloss"
3863 noconfigdirs
="$noconfigdirs target-libgloss"
3865 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3868 noconfigdirs
="$noconfigdirs gdb"
3871 noconfigdirs
="$noconfigdirs gdb ld"
3879 hppa
*-*-openbsd* | \
3885 noconfigdirs
="$noconfigdirs ld"
3888 noconfigdirs
="$noconfigdirs gdb"
3891 # No gdb support yet.
3892 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3895 # No ld support yet.
3896 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3899 # No ld support yet.
3900 noconfigdirs
="$noconfigdirs libgui itcl ld"
3902 i
[3456789]86-w64-mingw*)
3904 i
[3456789]86-*-mingw*)
3905 target_configdirs
="$target_configdirs target-winsup"
3908 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3909 noconfigdirs
="$noconfigdirs target-libgloss"
3910 # always build newlib if winsup directory is present.
3911 if test -d "$srcdir/winsup/cygwin"; then
3912 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3913 elif test -d "$srcdir/newlib"; then
3914 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3918 noconfigdirs
="$noconfigdirs target-libgloss"
3920 i
[3456789]86-*-sco3.2v5
*)
3921 # The linker does not yet know about weak symbols in COFF,
3922 # and is not configured to handle mixed ELF and COFF.
3923 noconfigdirs
="$noconfigdirs ld target-libgloss"
3925 i
[3456789]86-*-sco*)
3926 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3928 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3929 noconfigdirs
="$noconfigdirs target-libgloss"
3931 i
[3456789]86-*-sysv4*)
3932 noconfigdirs
="$noconfigdirs target-libgloss"
3934 i
[3456789]86-*-beos*)
3935 noconfigdirs
="$noconfigdirs gdb"
3937 i
[3456789]86-*-rdos*)
3938 noconfigdirs
="$noconfigdirs gdb"
3941 noconfigdirs
="$noconfigdirs gdb"
3944 noconfigdirs
="$noconfigdirs sim"
3947 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3948 noconfigdirs
="$noconfigdirs $target_libraries"
3951 noconfigdirs
="$noconfigdirs gdb gprof"
3954 # copied from rs6000-*-* entry
3955 noconfigdirs
="$noconfigdirs gprof"
3957 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3958 target_configdirs
="$target_configdirs target-winsup"
3959 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3960 # always build newlib.
3961 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3963 # This is temporary until we can link against shared libraries
3964 powerpcle-
*-solaris*)
3965 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3968 noconfigdirs
="$noconfigdirs gdb"
3971 noconfigdirs
="$noconfigdirs gprof"
3974 noconfigdirs
="$noconfigdirs gprof"
3977 noconfigdirs
="$noconfigdirs gprof"
3980 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3983 noconfigdirs
="$noconfigdirs gprof"
3985 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3986 if test x
$with_newlib = xyes
; then
3987 noconfigdirs
="$noconfigdirs gprof"
3991 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3994 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3997 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
4001 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
4002 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
4003 noconfigdirs
="$noconfigdirs ld gas gprof"
4006 noconfigdirs
="$noconfigdirs gprof"
4009 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4016 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4020 if test x
${is_cross_compiler} = xno
; then
4025 noconfigdirs
="$noconfigdirs sim"
4027 tilepro
*-*-* | tilegx
*-*-*)
4028 noconfigdirs
="$noconfigdirs sim"
4031 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4034 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4037 noconfigdirs
="$noconfigdirs ld"
4041 # If we aren't building newlib, then don't build libgloss, since libgloss
4042 # depends upon some newlib header files.
4043 case "${noconfigdirs}" in
4044 *target-libgloss
*) ;;
4045 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4048 # Work in distributions that contain no compiler tools, like Autoconf.
4049 host_makefile_frag
=/dev
/null
4050 if test -d ${srcdir}/config
; then
4052 i
[3456789]86-*-msdosdjgpp*)
4053 host_makefile_frag
="config/mh-djgpp"
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4058 $as_echo_n "checking to see if cat works as expected... " >&6; }
4059 echo a
>cygwin-cat-check
4060 if test `cat cygwin-cat-check` = a
; then
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4063 $as_echo "yes" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4068 as_fn_error $?
"The cat command does not ignore carriage return characters.
4069 Please either mount the build directory in binary mode or run the following
4070 commands before running any configure script:
4076 host_makefile_frag
="config/mh-cygwin"
4079 host_makefile_frag
="config/mh-mingw"
4082 host_makefile_frag
="config/mh-alpha-linux"
4085 host_makefile_frag
="config/mh-pa-hpux10"
4088 host_makefile_frag
="config/mh-pa"
4091 host_makefile_frag
="config/mh-pa"
4094 host_makefile_frag
="config/mh-darwin"
4097 host_makefile_frag
="config/mh-ppc-aix"
4100 host_makefile_frag
="config/mh-ppc-aix"
4105 if test "${build}" != "${host}" ; then
4106 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4107 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4108 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4109 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
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 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4125 GOC_FOR_BUILD
="\$(GOC)"
4126 GDC_FOR_BUILD
="\$(GDC)"
4127 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4128 LD_FOR_BUILD
="\$(LD)"
4129 NM_FOR_BUILD
="\$(NM)"
4130 RANLIB_FOR_BUILD
="\$(RANLIB)"
4131 WINDRES_FOR_BUILD
="\$(WINDRES)"
4132 WINDMC_FOR_BUILD
="\$(WINDMC)"
4136 ac_cpp
='$CPP $CPPFLAGS'
4137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4140 if test -n "$ac_tool_prefix"; then
4141 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4142 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4144 $as_echo_n "checking for $ac_word... " >&6; }
4145 if ${ac_cv_prog_CC+:} false
; then :
4146 $as_echo_n "(cached) " >&6
4148 if test -n "$CC"; then
4149 ac_cv_prog_CC
="$CC" # Let the user override the test.
4151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 test -z "$as_dir" && as_dir
=.
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4158 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 if test -n "$CC"; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4171 $as_echo "$CC" >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4179 if test -z "$ac_cv_prog_CC"; then
4181 # Extract the first word of "gcc", so it can be a program name with args.
4182 set dummy gcc
; ac_word
=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4186 $as_echo_n "(cached) " >&6
4188 if test -n "$ac_ct_CC"; then
4189 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir
=.
4196 for ac_exec_ext
in '' $ac_executable_extensions; do
4197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4198 ac_cv_prog_ac_ct_CC
="gcc"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4209 if test -n "$ac_ct_CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4211 $as_echo "$ac_ct_CC" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4217 if test "x$ac_ct_CC" = x
; then
4220 case $cross_compiling:$ac_tool_warned in
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4224 ac_tool_warned
=yes ;;
4232 if test -z "$CC"; then
4233 if test -n "$ac_tool_prefix"; then
4234 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4235 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if ${ac_cv_prog_CC+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$CC"; then
4242 ac_cv_prog_CC
="$CC" # Let the user override the test.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4251 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4262 if test -n "$CC"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4264 $as_echo "$CC" >&6; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4273 if test -z "$CC"; then
4274 # Extract the first word of "cc", so it can be a program name with args.
4275 set dummy cc
; ac_word
=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if ${ac_cv_prog_CC+:} false
; then :
4279 $as_echo_n "(cached) " >&6
4281 if test -n "$CC"; then
4282 ac_cv_prog_CC
="$CC" # Let the user override the test.
4285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4289 test -z "$as_dir" && as_dir
=.
4290 for ac_exec_ext
in '' $ac_executable_extensions; do
4291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4293 ac_prog_rejected
=yes
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 if test $ac_prog_rejected = yes; then
4305 # We found a bogon in the path, so make sure we never use it.
4306 set dummy
$ac_cv_prog_CC
4308 if test $# != 0; then
4309 # We chose a different compiler from the bogus one.
4310 # However, it has the same basename, so the bogon will be chosen
4311 # first if we set CC to just the basename; use the full file name.
4313 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4319 if test -n "$CC"; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4321 $as_echo "$CC" >&6; }
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4329 if test -z "$CC"; then
4330 if test -n "$ac_tool_prefix"; then
4331 for ac_prog
in cl.exe
4333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4334 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false
; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC
="$CC" # Let the user override the test.
4343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir
=.
4348 for ac_exec_ext
in '' $ac_executable_extensions; do
4349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 if test -n "$CC"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4363 $as_echo "$CC" >&6; }
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4370 test -n "$CC" && break
4373 if test -z "$CC"; then
4375 for ac_prog
in cl.exe
4377 # Extract the first word of "$ac_prog", so it can be a program name with args.
4378 set dummy
$ac_prog; ac_word
=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4382 $as_echo_n "(cached) " >&6
4384 if test -n "$ac_ct_CC"; then
4385 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_ac_ct_CC
="$ac_prog"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4405 if test -n "$ac_ct_CC"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4407 $as_echo "$ac_ct_CC" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4414 test -n "$ac_ct_CC" && break
4417 if test "x$ac_ct_CC" = x
; then
4420 case $cross_compiling:$ac_tool_warned in
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4424 ac_tool_warned
=yes ;;
4433 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4435 as_fn_error $?
"no acceptable C compiler found in \$PATH
4436 See \`config.log' for more details" "$LINENO" 5; }
4438 # Provide some information about the compiler.
4439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4442 for ac_option
in --version -v -V -qversion; do
4443 { { ac_try
="$ac_compiler $ac_option >&5"
4445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4452 if test -s conftest.err; then
4454 ... rest of stderr output deleted ...
4455 10q' conftest.err >conftest.er1
4456 cat conftest.er1 >&5
4458 rm -f conftest.er1 conftest.err
4459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4460 test $ac_status = 0; }
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4474 ac_clean_files_save=$ac_clean_files
4475 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4476 # Try to create an executable without -o first, disregard a.out.
4477 # It will help us diagnose broken compilers, and finding out an intuition
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4480 $as_echo_n "checking whether the C compiler works... " >&6; }
4481 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4483 # The possible output files:
4484 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4487 for ac_file in $ac_files
4490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4491 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4496 if { { ac_try="$ac_link_default"
4498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4499 *) ac_try_echo
=$ac_try;;
4501 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4502 $as_echo "$ac_try_echo"; } >&5
4503 (eval "$ac_link_default") 2>&5
4505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4506 test $ac_status = 0; }; then :
4507 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4508 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4509 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4510 # so that the user can short-circuit this test for compilers unknown to
4512 for ac_file
in $ac_files ''
4514 test -f "$ac_file" ||
continue
4516 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4519 # We found the default executable, but exeext='' is most
4523 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4527 # We set ac_cv_exeext here because the later test for it is not
4528 # safe: cross compilers may not add the suffix if given an `-o'
4529 # argument, so we may need to know it at that point already.
4530 # Even if this section looks crufty: it has the advantage of
4537 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4542 if test -z "$ac_file"; then :
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4545 $as_echo "$as_me: failed program was:" >&5
4546 sed 's/^/| /' conftest.
$ac_ext >&5
4548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4550 as_fn_error
77 "C compiler cannot create executables
4551 See \`config.log' for more details" "$LINENO" 5; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4554 $as_echo "yes" >&6; }
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4557 $as_echo_n "checking for C compiler default output file name... " >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4559 $as_echo "$ac_file" >&6; }
4560 ac_exeext
=$ac_cv_exeext
4562 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4563 ac_clean_files
=$ac_clean_files_save
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4565 $as_echo_n "checking for suffix of executables... " >&6; }
4566 if { { ac_try
="$ac_link"
4568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4572 $as_echo "$ac_try_echo"; } >&5
4573 (eval "$ac_link") 2>&5
4575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4576 test $ac_status = 0; }; then :
4577 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4578 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4579 # work properly (i.e., refer to `conftest.exe'), while it won't with
4581 for ac_file
in conftest.exe conftest conftest.
*; do
4582 test -f "$ac_file" ||
continue
4584 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4585 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4593 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4594 See \`config.log' for more details" "$LINENO" 5; }
4596 rm -f conftest conftest
$ac_cv_exeext
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4598 $as_echo "$ac_cv_exeext" >&6; }
4600 rm -f conftest.
$ac_ext
4601 EXEEXT
=$ac_cv_exeext
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4609 FILE *f = fopen ("conftest.out", "w");
4610 return ferror (f) || fclose (f) != 0;
4616 ac_clean_files
="$ac_clean_files conftest.out"
4617 # Check that the compiler produces executables we can run. If not, either
4618 # the compiler is broken, or we cross compile.
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4620 $as_echo_n "checking whether we are cross compiling... " >&6; }
4621 if test "$cross_compiling" != yes; then
4622 { { ac_try
="$ac_link"
4624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4625 *) ac_try_echo=$ac_try;;
4627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4628 $as_echo "$ac_try_echo"; } >&5
4629 (eval "$ac_link") 2>&5
4631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4632 test $ac_status = 0; }
4633 if { ac_try='./conftest$ac_cv_exeext'
4634 { { case "(($ac_try" in
4635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4636 *) ac_try_echo
=$ac_try;;
4638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4639 $as_echo "$ac_try_echo"; } >&5
4640 (eval "$ac_try") 2>&5
4642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4643 test $ac_status = 0; }; }; then
4646 if test "$cross_compiling" = maybe
; then
4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4651 as_fn_error $?
"cannot run C compiled programs.
4652 If you meant to cross compile, use \`--host'.
4653 See \`config.log' for more details" "$LINENO" 5; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4658 $as_echo "$cross_compiling" >&6; }
4660 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4661 ac_clean_files
=$ac_clean_files_save
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4663 $as_echo_n "checking for suffix of object files... " >&6; }
4664 if ${ac_cv_objext+:} false
; then :
4665 $as_echo_n "(cached) " >&6
4667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 rm -f conftest.o conftest.obj
4679 if { { ac_try
="$ac_compile"
4681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4685 $as_echo "$ac_try_echo"; } >&5
4686 (eval "$ac_compile") 2>&5
4688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4689 test $ac_status = 0; }; then :
4690 for ac_file in conftest.o conftest.obj conftest.*; do
4691 test -f "$ac_file" || continue;
4693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4694 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4699 $as_echo "$as_me: failed program was:" >&5
4700 sed 's/^/| /' conftest.$ac_ext >&5
4702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4704 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4705 See \
`config.log' for more details" "$LINENO" 5; }
4707 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4710 $as_echo "$ac_cv_objext" >&6; }
4711 OBJEXT=$ac_cv_objext
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4714 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4715 if ${ac_cv_c_compiler_gnu+:} false; then :
4716 $as_echo_n "(cached) " >&6
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4732 if ac_fn_c_try_compile "$LINENO"; then :
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4738 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4742 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4743 if test $ac_compiler_gnu = yes; then
4748 ac_test_CFLAGS=${CFLAGS+set}
4749 ac_save_CFLAGS=$CFLAGS
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4751 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4752 if ${ac_cv_prog_cc_g+:} false; then :
4753 $as_echo_n "(cached) " >&6
4755 ac_save_c_werror_flag=$ac_c_werror_flag
4756 ac_c_werror_flag=yes
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4770 if ac_fn_c_try_compile "$LINENO"; then :
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4785 if ac_fn_c_try_compile "$LINENO"; then :
4788 ac_c_werror_flag=$ac_save_c_werror_flag
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4801 if ac_fn_c_try_compile "$LINENO"; then :
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 ac_c_werror_flag=$ac_save_c_werror_flag
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4812 $as_echo "$ac_cv_prog_cc_g" >&6; }
4813 if test "$ac_test_CFLAGS" = set; then
4814 CFLAGS=$ac_save_CFLAGS
4815 elif test $ac_cv_prog_cc_g = yes; then
4816 if test "$GCC" = yes; then
4822 if test "$GCC" = yes; then
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4829 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4830 if ${ac_cv_prog_cc_c89+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 ac_cv_prog_cc_c89=no
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4840 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4841 struct buf { int x; };
4842 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4843 static char *e (p, i)
4849 static char *f (char * (*g) (char **, int), char **p, ...)
4854 s = g (p, va_arg (v,int));
4859 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4860 function prototypes and stuff, but not '\xHH' hex character constants.
4861 These don't provoke an error unfortunately, instead are silently treated
4862 as 'x'. The following induces an error, until -std is added to get
4863 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4864 array size at least. It's necessary to write '\x00'==0 to get something
4865 that's true only with -std. */
4866 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4868 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4869 inside strings and character constants. */
4871 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4873 int test (int i, double x);
4874 struct s1 {int (*f) (int a);};
4875 struct s2 {int (*f) (double a);};
4876 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4882 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4887 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4888 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4890 CC="$ac_save_CC $ac_arg"
4891 if ac_fn_c_try_compile "$LINENO"; then :
4892 ac_cv_prog_cc_c89=$ac_arg
4894 rm -f core conftest.err conftest.$ac_objext
4895 test "x$ac_cv_prog_cc_c89" != "xno" && break
4897 rm -f conftest.$ac_ext
4902 case "x$ac_cv_prog_cc_c89" in
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4905 $as_echo "none needed" >&6; } ;;
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4908 $as_echo "unsupported" >&6; } ;;
4910 CC="$CC $ac_cv_prog_cc_c89"
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4912 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4914 if test "x$ac_cv_prog_cc_c89" != xno; then :
4919 ac_cpp='$CPP $CPPFLAGS'
4920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4925 ac_cpp='$CXXCPP $CPPFLAGS'
4926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4929 if test -z "$CXX"; then
4930 if test -n "$CCC"; then
4933 if test -n "$ac_tool_prefix"; then
4934 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if ${ac_cv_prog_CXX+:} false; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$CXX"; then
4944 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4953 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 if test -n "$CXX"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4966 $as_echo "$CXX" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4973 test -n "$CXX" && break
4976 if test -z "$CXX"; then
4978 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4980 # Extract the first word of "$ac_prog", so it can be a program name with args.
4981 set dummy $ac_prog; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$ac_ct_CXX"; then
4988 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_ac_ct_CXX="$ac_prog"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5008 if test -n "$ac_ct_CXX"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5010 $as_echo "$ac_ct_CXX" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5017 test -n "$ac_ct_CXX" && break
5020 if test "x$ac_ct_CXX" = x; then
5023 case $cross_compiling:$ac_tool_warned in
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5027 ac_tool_warned=yes ;;
5035 # Provide some information about the compiler.
5036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5039 for ac_option in --version -v -V -qversion; do
5040 { { ac_try="$ac_compiler $ac_option >&5"
5042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5043 *) ac_try_echo
=$ac_try;;
5045 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5046 $as_echo "$ac_try_echo"; } >&5
5047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5049 if test -s conftest.err
; then
5051 ... rest of stderr output deleted ...
5052 10q' conftest.err
>conftest.er1
5053 cat conftest.er1
>&5
5055 rm -f conftest.er1 conftest.err
5056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5061 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5062 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5063 $as_echo_n "(cached) " >&6
5065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5079 if ac_fn_cxx_try_compile
"$LINENO"; then :
5084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5085 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5089 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5090 if test $ac_compiler_gnu = yes; then
5095 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5096 ac_save_CXXFLAGS
=$CXXFLAGS
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5098 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5099 if ${ac_cv_prog_cxx_g+:} false
; then :
5100 $as_echo_n "(cached) " >&6
5102 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5103 ac_cxx_werror_flag
=yes
5106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5117 if ac_fn_cxx_try_compile
"$LINENO"; then :
5118 ac_cv_prog_cxx_g
=yes
5121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5132 if ac_fn_cxx_try_compile
"$LINENO"; then :
5135 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5148 if ac_fn_cxx_try_compile
"$LINENO"; then :
5149 ac_cv_prog_cxx_g
=yes
5151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5156 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5159 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5160 if test "$ac_test_CXXFLAGS" = set; then
5161 CXXFLAGS
=$ac_save_CXXFLAGS
5162 elif test $ac_cv_prog_cxx_g = yes; then
5163 if test "$GXX" = yes; then
5169 if test "$GXX" = yes; then
5176 ac_cpp
='$CPP $CPPFLAGS'
5177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5182 # We must set the default linker to the linker used by gcc for the correct
5183 # operation of libtool. If LD is not defined and we are using gcc, try to
5184 # set the LD default to the ld used by gcc.
5185 if test -z "$LD"; then
5186 if test "$GCC" = yes; then
5189 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5191 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5193 case $gcc_prog_ld in
5194 # Accept absolute paths.
5195 [\\/]* |
[A-Za-z
]:[\\/]*)
5196 LD
="$gcc_prog_ld" ;;
5201 # Check whether -static-libstdc++ -static-libgcc is supported.
5203 if test "$GCC" = yes; then
5204 saved_LDFLAGS
="$LDFLAGS"
5206 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5208 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5210 ac_cpp
='$CXXCPP $CPPFLAGS'
5211 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5219 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5220 #error -static-libstdc++ not implemented
5224 if ac_fn_cxx_try_link
"$LINENO"; then :
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226 $as_echo "yes" >&6; }; have_static_libs
=yes
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5229 $as_echo "no" >&6; }
5231 rm -f core conftest.err conftest.
$ac_objext \
5232 conftest
$ac_exeext conftest.
$ac_ext
5234 ac_cpp
='$CPP $CPPFLAGS'
5235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5240 LDFLAGS
="$saved_LDFLAGS"
5246 if test -n "$ac_tool_prefix"; then
5247 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5248 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_GNATBIND+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$GNATBIND"; then
5255 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 GNATBIND
=$ac_cv_prog_GNATBIND
5275 if test -n "$GNATBIND"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5277 $as_echo "$GNATBIND" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5285 if test -z "$ac_cv_prog_GNATBIND"; then
5286 ac_ct_GNATBIND
=$GNATBIND
5287 # Extract the first word of "gnatbind", so it can be a program name with args.
5288 set dummy gnatbind
; ac_word
=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -n "$ac_ct_GNATBIND"; then
5295 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5315 if test -n "$ac_ct_GNATBIND"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5317 $as_echo "$ac_ct_GNATBIND" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5323 if test "x$ac_ct_GNATBIND" = x
; then
5326 case $cross_compiling:$ac_tool_warned in
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5330 ac_tool_warned
=yes ;;
5332 GNATBIND
=$ac_ct_GNATBIND
5335 GNATBIND
="$ac_cv_prog_GNATBIND"
5338 if test -n "$ac_tool_prefix"; then
5339 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5340 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$GNATMAKE"; then
5347 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 GNATMAKE
=$ac_cv_prog_GNATMAKE
5367 if test -n "$GNATMAKE"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5369 $as_echo "$GNATMAKE" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 if test -z "$ac_cv_prog_GNATMAKE"; then
5378 ac_ct_GNATMAKE
=$GNATMAKE
5379 # Extract the first word of "gnatmake", so it can be a program name with args.
5380 set dummy gnatmake
; ac_word
=$2
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382 $as_echo_n "checking for $ac_word... " >&6; }
5383 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5384 $as_echo_n "(cached) " >&6
5386 if test -n "$ac_ct_GNATMAKE"; then
5387 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 test -z "$as_dir" && as_dir
=.
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5396 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5407 if test -n "$ac_ct_GNATMAKE"; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5409 $as_echo "$ac_ct_GNATMAKE" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }
5415 if test "x$ac_ct_GNATMAKE" = x
; then
5418 case $cross_compiling:$ac_tool_warned in
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5422 ac_tool_warned
=yes ;;
5424 GNATMAKE
=$ac_ct_GNATMAKE
5427 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5431 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5432 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5433 $as_echo_n "(cached) " >&6
5435 cat >conftest.adb
<<EOF
5436 procedure conftest is begin null; end conftest;
5438 acx_cv_cc_gcc_supports_ada
=no
5439 # There is a bug in old released versions of GCC which causes the
5440 # driver to exit successfully when the appropriate language module
5441 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5442 # Therefore we must check for the error message as well as an
5443 # unsuccessful exit.
5444 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5445 # given a .adb file, but produce no object file. So we must check
5446 # if an object file was really produced to guard against this.
5447 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5448 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5449 acx_cv_cc_gcc_supports_ada
=yes
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5454 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5456 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5463 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5464 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5469 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5470 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5471 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5474 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5477 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5478 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5481 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5488 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5489 do_compare
="$gcc_cv_prog_cmp_skip"
5493 # Check whether --enable-bootstrap was given.
5494 if test "${enable_bootstrap+set}" = set; then :
5495 enableval
=$enable_bootstrap;
5497 enable_bootstrap
=default
5501 # Issue errors and warnings for invalid/strange bootstrap combinations.
5502 if test -r $srcdir/gcc
/configure
; then
5508 case "$have_compiler:$host:$target:$enable_bootstrap" in
5511 # Default behavior. Enable bootstrap if we have a compiler
5512 # and we are in a native configuration.
5513 yes:$build:$build:default
)
5514 enable_bootstrap
=yes ;;
5517 enable_bootstrap
=no
;;
5519 # We have a compiler and we are in a native configuration, bootstrap is ok
5520 yes:$build:$build:yes)
5523 # Other configurations, but we have a compiler. Assume the user knows
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5527 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5530 # No compiler: if they passed --enable-bootstrap explicitly, fail
5532 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5534 # Fail if wrong command line
5536 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5540 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5541 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5542 # require C++11 (or higher).
5543 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5544 CXX
="$CXX -std=c++11"
5545 elif test "$have_compiler" = yes; then
5546 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5548 ac_cpp
='$CXXCPP $CPPFLAGS'
5549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5555 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5556 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5557 $as_echo_n "(cached) " >&6
5559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5563 // If the compiler admits that it is not ready for C++11, why torture it?
5564 // Hopefully, this will speed up the test.
5568 #error "This is not a C++ compiler"
5570 #elif __cplusplus < 201103L
5572 #error "This is not a C++11 compiler"
5579 namespace test_static_assert
5582 template <typename T>
5585 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5590 namespace test_final_override
5599 struct Derived : public Base
5601 virtual ~Derived() override {}
5602 virtual void f() override {}
5607 namespace test_double_right_angle_brackets
5610 template < typename T >
5613 typedef check<void> single_type;
5614 typedef check<check<void>> double_type;
5615 typedef check<check<check<void>>> triple_type;
5616 typedef check<check<check<check<void>>>> quadruple_type;
5620 namespace test_decltype
5633 namespace test_type_deduction
5636 template < typename T1, typename T2 >
5639 static const bool value = false;
5642 template < typename T >
5643 struct is_same<T, T>
5645 static const bool value = true;
5648 template < typename T1, typename T2 >
5650 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5656 test(const int c, volatile int v)
5658 static_assert(is_same<int, decltype(0)>::value == true, "");
5659 static_assert(is_same<int, decltype(c)>::value == false, "");
5660 static_assert(is_same<int, decltype(v)>::value == false, "");
5663 auto sumi = ac + av + 'x';
5664 auto sumf = ac + av + 1.0;
5665 static_assert(is_same<int, decltype(ac)>::value == true, "");
5666 static_assert(is_same<int, decltype(av)>::value == true, "");
5667 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5668 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5669 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5670 return (sumf > 0.0) ? sumi : add(c, v);
5675 namespace test_noexcept
5678 int f() { return 0; }
5679 int g() noexcept { return 0; }
5681 static_assert(noexcept(f()) == false, "");
5682 static_assert(noexcept(g()) == true, "");
5686 namespace test_constexpr
5689 template < typename CharT >
5690 unsigned long constexpr
5691 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5693 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5696 template < typename CharT >
5697 unsigned long constexpr
5698 strlen_c(const CharT *const s) noexcept
5700 return strlen_c_r(s, 0UL);
5703 static_assert(strlen_c("") == 0UL, "");
5704 static_assert(strlen_c("1") == 1UL, "");
5705 static_assert(strlen_c("example") == 7UL, "");
5706 static_assert(strlen_c("another\0example") == 7UL, "");
5710 namespace test_rvalue_references
5716 static constexpr int value = N;
5719 answer<1> f(int&) { return answer<1>(); }
5720 answer<2> f(const int&) { return answer<2>(); }
5721 answer<3> f(int&&) { return answer<3>(); }
5728 static_assert(decltype(f(i))::value == 1, "");
5729 static_assert(decltype(f(c))::value == 2, "");
5730 static_assert(decltype(f(0))::value == 3, "");
5735 namespace test_uniform_initialization
5740 static const int zero {};
5741 static const int one {1};
5744 static_assert(test::zero == 0, "");
5745 static_assert(test::one == 1, "");
5749 namespace test_lambdas
5755 auto lambda1 = [](){};
5756 auto lambda2 = lambda1;
5764 auto a = [](int i, int j){ return i + j; }(1, 2);
5765 auto b = []() -> int { return '0'; }();
5766 auto c = [=](){ return a + b; }();
5767 auto d = [&](){ return c; }();
5768 auto e = [a, &b](int x) mutable {
5769 const auto identity = [](int y){ return y; };
5770 for (auto i = 0; i < a; ++i)
5772 return x + identity(a + b);
5774 return a + b + c + d + e;
5780 const auto nullary = [](){ return 0; };
5781 const auto unary = [](int x){ return x; };
5782 using nullary_t = decltype(nullary);
5783 using unary_t = decltype(unary);
5784 const auto higher1st = [](nullary_t f){ return f(); };
5785 const auto higher2nd = [unary](nullary_t f1){
5786 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5788 return higher1st(nullary) + higher2nd(nullary)(unary);
5793 namespace test_variadic_templates
5799 template <int N0, int... N1toN>
5800 struct sum<N0, N1toN...>
5802 static constexpr auto value = N0 + sum<N1toN...>::value;
5808 static constexpr auto value = 0;
5811 static_assert(sum<>::value == 0, "");
5812 static_assert(sum<1>::value == 1, "");
5813 static_assert(sum<23>::value == 23, "");
5814 static_assert(sum<1, 2>::value == 3, "");
5815 static_assert(sum<5, 5, 11>::value == 21, "");
5816 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5820 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5821 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5823 namespace test_template_alias_sfinae
5828 template<typename T>
5829 using member = typename T::member_type;
5831 template<typename T>
5834 template<typename T>
5835 void func(member<T>*) {}
5839 void test() { func<foo>(0); }
5843 } // namespace cxx11
5845 #endif // __cplusplus >= 201103L
5850 if ac_fn_cxx_try_compile
"$LINENO"; then :
5851 ax_cv_cxx_compile_cxx11
=yes
5853 ax_cv_cxx_compile_cxx11
=no
5855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
5858 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
5859 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
5863 if test x
$ac_success = xno
; then
5864 for alternative
in ${ax_cxx_compile_alternatives}; do
5865 switch
="-std=gnu++${alternative}"
5866 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
5868 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
5869 if eval \
${$cachevar+:} false
; then :
5870 $as_echo_n "(cached) " >&6
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5878 // If the compiler admits that it is not ready for C++11, why torture it?
5879 // Hopefully, this will speed up the test.
5883 #error "This is not a C++ compiler"
5885 #elif __cplusplus < 201103L
5887 #error "This is not a C++11 compiler"
5894 namespace test_static_assert
5897 template <typename T>
5900 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5905 namespace test_final_override
5914 struct Derived : public Base
5916 virtual ~Derived() override {}
5917 virtual void f() override {}
5922 namespace test_double_right_angle_brackets
5925 template < typename T >
5928 typedef check<void> single_type;
5929 typedef check<check<void>> double_type;
5930 typedef check<check<check<void>>> triple_type;
5931 typedef check<check<check<check<void>>>> quadruple_type;
5935 namespace test_decltype
5948 namespace test_type_deduction
5951 template < typename T1, typename T2 >
5954 static const bool value = false;
5957 template < typename T >
5958 struct is_same<T, T>
5960 static const bool value = true;
5963 template < typename T1, typename T2 >
5965 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5971 test(const int c, volatile int v)
5973 static_assert(is_same<int, decltype(0)>::value == true, "");
5974 static_assert(is_same<int, decltype(c)>::value == false, "");
5975 static_assert(is_same<int, decltype(v)>::value == false, "");
5978 auto sumi = ac + av + 'x';
5979 auto sumf = ac + av + 1.0;
5980 static_assert(is_same<int, decltype(ac)>::value == true, "");
5981 static_assert(is_same<int, decltype(av)>::value == true, "");
5982 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5983 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5984 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5985 return (sumf > 0.0) ? sumi : add(c, v);
5990 namespace test_noexcept
5993 int f() { return 0; }
5994 int g() noexcept { return 0; }
5996 static_assert(noexcept(f()) == false, "");
5997 static_assert(noexcept(g()) == true, "");
6001 namespace test_constexpr
6004 template < typename CharT >
6005 unsigned long constexpr
6006 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6008 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6011 template < typename CharT >
6012 unsigned long constexpr
6013 strlen_c(const CharT *const s) noexcept
6015 return strlen_c_r(s, 0UL);
6018 static_assert(strlen_c("") == 0UL, "");
6019 static_assert(strlen_c("1") == 1UL, "");
6020 static_assert(strlen_c("example") == 7UL, "");
6021 static_assert(strlen_c("another\0example") == 7UL, "");
6025 namespace test_rvalue_references
6031 static constexpr int value = N;
6034 answer<1> f(int&) { return answer<1>(); }
6035 answer<2> f(const int&) { return answer<2>(); }
6036 answer<3> f(int&&) { return answer<3>(); }
6043 static_assert(decltype(f(i))::value == 1, "");
6044 static_assert(decltype(f(c))::value == 2, "");
6045 static_assert(decltype(f(0))::value == 3, "");
6050 namespace test_uniform_initialization
6055 static const int zero {};
6056 static const int one {1};
6059 static_assert(test::zero == 0, "");
6060 static_assert(test::one == 1, "");
6064 namespace test_lambdas
6070 auto lambda1 = [](){};
6071 auto lambda2 = lambda1;
6079 auto a = [](int i, int j){ return i + j; }(1, 2);
6080 auto b = []() -> int { return '0'; }();
6081 auto c = [=](){ return a + b; }();
6082 auto d = [&](){ return c; }();
6083 auto e = [a, &b](int x) mutable {
6084 const auto identity = [](int y){ return y; };
6085 for (auto i = 0; i < a; ++i)
6087 return x + identity(a + b);
6089 return a + b + c + d + e;
6095 const auto nullary = [](){ return 0; };
6096 const auto unary = [](int x){ return x; };
6097 using nullary_t = decltype(nullary);
6098 using unary_t = decltype(unary);
6099 const auto higher1st = [](nullary_t f){ return f(); };
6100 const auto higher2nd = [unary](nullary_t f1){
6101 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6103 return higher1st(nullary) + higher2nd(nullary)(unary);
6108 namespace test_variadic_templates
6114 template <int N0, int... N1toN>
6115 struct sum<N0, N1toN...>
6117 static constexpr auto value = N0 + sum<N1toN...>::value;
6123 static constexpr auto value = 0;
6126 static_assert(sum<>::value == 0, "");
6127 static_assert(sum<1>::value == 1, "");
6128 static_assert(sum<23>::value == 23, "");
6129 static_assert(sum<1, 2>::value == 3, "");
6130 static_assert(sum<5, 5, 11>::value == 21, "");
6131 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6135 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6136 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6138 namespace test_template_alias_sfinae
6143 template<typename T>
6144 using member = typename T::member_type;
6146 template<typename T>
6149 template<typename T>
6150 void func(member<T>*) {}
6154 void test() { func<foo>(0); }
6158 } // namespace cxx11
6160 #endif // __cplusplus >= 201103L
6165 if ac_fn_cxx_try_compile
"$LINENO"; then :
6170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6173 eval ac_res
=\$
$cachevar
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6175 $as_echo "$ac_res" >&6; }
6176 if eval test x\$
$cachevar = xyes
; then
6178 if test -n "$CXXCPP" ; then
6179 CXXCPP
="$CXXCPP $switch"
6187 if test x
$ac_success = xno
; then
6188 for alternative
in ${ax_cxx_compile_alternatives}; do
6189 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6190 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6192 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6193 if eval \${$cachevar+:} false; then :
6194 $as_echo_n "(cached
) " >&6
6198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6202 // If the compiler admits that it is not ready for C++11, why torture it?
6203 // Hopefully, this will speed up the test.
6207 #error "This is not a C
++ compiler
"
6209 #elif __cplusplus < 201103L
6211 #error "This is not a C
++11 compiler
"
6218 namespace test_static_assert
6221 template <typename T>
6224 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6229 namespace test_final_override
6238 struct Derived : public Base
6240 virtual ~Derived() override {}
6241 virtual void f() override {}
6246 namespace test_double_right_angle_brackets
6249 template < typename T >
6252 typedef check<void> single_type;
6253 typedef check<check<void>> double_type;
6254 typedef check<check<check<void>>> triple_type;
6255 typedef check<check<check<check<void>>>> quadruple_type;
6259 namespace test_decltype
6272 namespace test_type_deduction
6275 template < typename T1, typename T2 >
6278 static const bool value = false;
6281 template < typename T >
6282 struct is_same<T, T>
6284 static const bool value = true;
6287 template < typename T1, typename T2 >
6289 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6295 test(const int c, volatile int v)
6297 static_assert(is_same<int, decltype(0)>::value == true, "");
6298 static_assert(is_same<int, decltype(c)>::value == false, "");
6299 static_assert(is_same<int, decltype(v)>::value == false, "");
6302 auto sumi = ac + av + 'x';
6303 auto sumf = ac + av + 1.0;
6304 static_assert(is_same<int, decltype(ac)>::value == true, "");
6305 static_assert(is_same<int, decltype(av)>::value == true, "");
6306 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6307 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6308 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6309 return (sumf > 0.0) ? sumi : add(c, v);
6314 namespace test_noexcept
6317 int f() { return 0; }
6318 int g() noexcept { return 0; }
6320 static_assert(noexcept(f()) == false, "");
6321 static_assert(noexcept(g()) == true, "");
6325 namespace test_constexpr
6328 template < typename CharT >
6329 unsigned long constexpr
6330 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6332 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6335 template < typename CharT >
6336 unsigned long constexpr
6337 strlen_c(const CharT *const s) noexcept
6339 return strlen_c_r(s, 0UL);
6342 static_assert(strlen_c("") == 0UL, "");
6343 static_assert(strlen_c("1") == 1UL, "");
6344 static_assert(strlen_c("example
") == 7UL, "");
6345 static_assert(strlen_c("another\
0example
") == 7UL, "");
6349 namespace test_rvalue_references
6355 static constexpr int value = N;
6358 answer<1> f(int&) { return answer<1>(); }
6359 answer<2> f(const int&) { return answer<2>(); }
6360 answer<3> f(int&&) { return answer<3>(); }
6367 static_assert(decltype(f(i))::value == 1, "");
6368 static_assert(decltype(f(c))::value == 2, "");
6369 static_assert(decltype(f(0))::value == 3, "");
6374 namespace test_uniform_initialization
6379 static const int zero {};
6380 static const int one {1};
6383 static_assert(test::zero == 0, "");
6384 static_assert(test::one == 1, "");
6388 namespace test_lambdas
6394 auto lambda1 = [](){};
6395 auto lambda2 = lambda1;
6403 auto a = [](int i, int j){ return i + j; }(1, 2);
6404 auto b = []() -> int { return '0'; }();
6405 auto c = [=](){ return a + b; }();
6406 auto d = [&](){ return c; }();
6407 auto e = [a, &b](int x) mutable {
6408 const auto identity = [](int y){ return y; };
6409 for (auto i = 0; i < a; ++i)
6411 return x + identity(a + b);
6413 return a + b + c + d + e;
6419 const auto nullary = [](){ return 0; };
6420 const auto unary = [](int x){ return x; };
6421 using nullary_t = decltype(nullary);
6422 using unary_t = decltype(unary);
6423 const auto higher1st = [](nullary_t f){ return f(); };
6424 const auto higher2nd = [unary](nullary_t f1){
6425 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6427 return higher1st(nullary) + higher2nd(nullary)(unary);
6432 namespace test_variadic_templates
6438 template <int N0, int... N1toN>
6439 struct sum<N0, N1toN...>
6441 static constexpr auto value = N0 + sum<N1toN...>::value;
6447 static constexpr auto value = 0;
6450 static_assert(sum<>::value == 0, "");
6451 static_assert(sum<1>::value == 1, "");
6452 static_assert(sum<23>::value == 23, "");
6453 static_assert(sum<1, 2>::value == 3, "");
6454 static_assert(sum<5, 5, 11>::value == 21, "");
6455 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6459 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6460 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6462 namespace test_template_alias_sfinae
6467 template<typename T>
6468 using member = typename T::member_type;
6470 template<typename T>
6473 template<typename T>
6474 void func(member<T>*) {}
6478 void test() { func<foo>(0); }
6482 } // namespace cxx11
6484 #endif // __cplusplus >= 201103L
6489 if ac_fn_cxx_try_compile "$LINENO"; then :
6494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6497 eval ac_res=\$$cachevar
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6499 $as_echo "$ac_res" >&6; }
6500 if eval test x\$$cachevar = xyes; then
6502 if test -n "$CXXCPP" ; then
6503 CXXCPP="$CXXCPP $switch"
6509 if test x$ac_success = xyes; then
6516 ac_cpp='$CPP $CPPFLAGS'
6517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6521 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6522 if test x$ac_success = xno; then
6523 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6526 if test x$ac_success = xno; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6529 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6533 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6539 if test "${build}" != "${host}"; then
6540 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6542 ac_cpp
='$CXXCPP $CPPFLAGS'
6543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6547 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6548 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6549 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6550 CXX
="$CXX_FOR_BUILD"
6551 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6552 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6554 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6555 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6556 $as_echo_n "(cached) " >&6
6558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6559 /* end confdefs.h. */
6562 // If the compiler admits that it is not ready for C++11, why torture it?
6563 // Hopefully, this will speed up the test.
6567 #error "This is not a C++ compiler"
6569 #elif __cplusplus < 201103L
6571 #error "This is not a C++11 compiler"
6578 namespace test_static_assert
6581 template <typename T>
6584 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6589 namespace test_final_override
6598 struct Derived : public Base
6600 virtual ~Derived() override {}
6601 virtual void f() override {}
6606 namespace test_double_right_angle_brackets
6609 template < typename T >
6612 typedef check<void> single_type;
6613 typedef check<check<void>> double_type;
6614 typedef check<check<check<void>>> triple_type;
6615 typedef check<check<check<check<void>>>> quadruple_type;
6619 namespace test_decltype
6632 namespace test_type_deduction
6635 template < typename T1, typename T2 >
6638 static const bool value = false;
6641 template < typename T >
6642 struct is_same<T, T>
6644 static const bool value = true;
6647 template < typename T1, typename T2 >
6649 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6655 test(const int c, volatile int v)
6657 static_assert(is_same<int, decltype(0)>::value == true, "");
6658 static_assert(is_same<int, decltype(c)>::value == false, "");
6659 static_assert(is_same<int, decltype(v)>::value == false, "");
6662 auto sumi = ac + av + 'x';
6663 auto sumf = ac + av + 1.0;
6664 static_assert(is_same<int, decltype(ac)>::value == true, "");
6665 static_assert(is_same<int, decltype(av)>::value == true, "");
6666 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6667 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6668 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6669 return (sumf > 0.0) ? sumi : add(c, v);
6674 namespace test_noexcept
6677 int f() { return 0; }
6678 int g() noexcept { return 0; }
6680 static_assert(noexcept(f()) == false, "");
6681 static_assert(noexcept(g()) == true, "");
6685 namespace test_constexpr
6688 template < typename CharT >
6689 unsigned long constexpr
6690 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6692 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6695 template < typename CharT >
6696 unsigned long constexpr
6697 strlen_c(const CharT *const s) noexcept
6699 return strlen_c_r(s, 0UL);
6702 static_assert(strlen_c("") == 0UL, "");
6703 static_assert(strlen_c("1") == 1UL, "");
6704 static_assert(strlen_c("example") == 7UL, "");
6705 static_assert(strlen_c("another\0example") == 7UL, "");
6709 namespace test_rvalue_references
6715 static constexpr int value = N;
6718 answer<1> f(int&) { return answer<1>(); }
6719 answer<2> f(const int&) { return answer<2>(); }
6720 answer<3> f(int&&) { return answer<3>(); }
6727 static_assert(decltype(f(i))::value == 1, "");
6728 static_assert(decltype(f(c))::value == 2, "");
6729 static_assert(decltype(f(0))::value == 3, "");
6734 namespace test_uniform_initialization
6739 static const int zero {};
6740 static const int one {1};
6743 static_assert(test::zero == 0, "");
6744 static_assert(test::one == 1, "");
6748 namespace test_lambdas
6754 auto lambda1 = [](){};
6755 auto lambda2 = lambda1;
6763 auto a = [](int i, int j){ return i + j; }(1, 2);
6764 auto b = []() -> int { return '0'; }();
6765 auto c = [=](){ return a + b; }();
6766 auto d = [&](){ return c; }();
6767 auto e = [a, &b](int x) mutable {
6768 const auto identity = [](int y){ return y; };
6769 for (auto i = 0; i < a; ++i)
6771 return x + identity(a + b);
6773 return a + b + c + d + e;
6779 const auto nullary = [](){ return 0; };
6780 const auto unary = [](int x){ return x; };
6781 using nullary_t = decltype(nullary);
6782 using unary_t = decltype(unary);
6783 const auto higher1st = [](nullary_t f){ return f(); };
6784 const auto higher2nd = [unary](nullary_t f1){
6785 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6787 return higher1st(nullary) + higher2nd(nullary)(unary);
6792 namespace test_variadic_templates
6798 template <int N0, int... N1toN>
6799 struct sum<N0, N1toN...>
6801 static constexpr auto value = N0 + sum<N1toN...>::value;
6807 static constexpr auto value = 0;
6810 static_assert(sum<>::value == 0, "");
6811 static_assert(sum<1>::value == 1, "");
6812 static_assert(sum<23>::value == 23, "");
6813 static_assert(sum<1, 2>::value == 3, "");
6814 static_assert(sum<5, 5, 11>::value == 21, "");
6815 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6819 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6820 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6822 namespace test_template_alias_sfinae
6827 template<typename T>
6828 using member = typename T::member_type;
6830 template<typename T>
6833 template<typename T>
6834 void func(member<T>*) {}
6838 void test() { func<foo>(0); }
6842 } // namespace cxx11
6844 #endif // __cplusplus >= 201103L
6849 if ac_fn_cxx_try_compile
"$LINENO"; then :
6850 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
6852 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
6854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
6857 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
6858 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
6862 if test x
$ac_success = xno
; then
6863 for alternative
in ${ax_cxx_compile_alternatives}; do
6864 switch
="-std=gnu++${alternative}"
6865 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6867 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6868 if eval \
${$cachevar+:} false
; then :
6869 $as_echo_n "(cached) " >&6
6873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6877 // If the compiler admits that it is not ready for C++11, why torture it?
6878 // Hopefully, this will speed up the test.
6882 #error "This is not a C++ compiler"
6884 #elif __cplusplus < 201103L
6886 #error "This is not a C++11 compiler"
6893 namespace test_static_assert
6896 template <typename T>
6899 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6904 namespace test_final_override
6913 struct Derived : public Base
6915 virtual ~Derived() override {}
6916 virtual void f() override {}
6921 namespace test_double_right_angle_brackets
6924 template < typename T >
6927 typedef check<void> single_type;
6928 typedef check<check<void>> double_type;
6929 typedef check<check<check<void>>> triple_type;
6930 typedef check<check<check<check<void>>>> quadruple_type;
6934 namespace test_decltype
6947 namespace test_type_deduction
6950 template < typename T1, typename T2 >
6953 static const bool value = false;
6956 template < typename T >
6957 struct is_same<T, T>
6959 static const bool value = true;
6962 template < typename T1, typename T2 >
6964 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6970 test(const int c, volatile int v)
6972 static_assert(is_same<int, decltype(0)>::value == true, "");
6973 static_assert(is_same<int, decltype(c)>::value == false, "");
6974 static_assert(is_same<int, decltype(v)>::value == false, "");
6977 auto sumi = ac + av + 'x';
6978 auto sumf = ac + av + 1.0;
6979 static_assert(is_same<int, decltype(ac)>::value == true, "");
6980 static_assert(is_same<int, decltype(av)>::value == true, "");
6981 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6982 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6983 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6984 return (sumf > 0.0) ? sumi : add(c, v);
6989 namespace test_noexcept
6992 int f() { return 0; }
6993 int g() noexcept { return 0; }
6995 static_assert(noexcept(f()) == false, "");
6996 static_assert(noexcept(g()) == true, "");
7000 namespace test_constexpr
7003 template < typename CharT >
7004 unsigned long constexpr
7005 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7007 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7010 template < typename CharT >
7011 unsigned long constexpr
7012 strlen_c(const CharT *const s) noexcept
7014 return strlen_c_r(s, 0UL);
7017 static_assert(strlen_c("") == 0UL, "");
7018 static_assert(strlen_c("1") == 1UL, "");
7019 static_assert(strlen_c("example") == 7UL, "");
7020 static_assert(strlen_c("another\0example") == 7UL, "");
7024 namespace test_rvalue_references
7030 static constexpr int value = N;
7033 answer<1> f(int&) { return answer<1>(); }
7034 answer<2> f(const int&) { return answer<2>(); }
7035 answer<3> f(int&&) { return answer<3>(); }
7042 static_assert(decltype(f(i))::value == 1, "");
7043 static_assert(decltype(f(c))::value == 2, "");
7044 static_assert(decltype(f(0))::value == 3, "");
7049 namespace test_uniform_initialization
7054 static const int zero {};
7055 static const int one {1};
7058 static_assert(test::zero == 0, "");
7059 static_assert(test::one == 1, "");
7063 namespace test_lambdas
7069 auto lambda1 = [](){};
7070 auto lambda2 = lambda1;
7078 auto a = [](int i, int j){ return i + j; }(1, 2);
7079 auto b = []() -> int { return '0'; }();
7080 auto c = [=](){ return a + b; }();
7081 auto d = [&](){ return c; }();
7082 auto e = [a, &b](int x) mutable {
7083 const auto identity = [](int y){ return y; };
7084 for (auto i = 0; i < a; ++i)
7086 return x + identity(a + b);
7088 return a + b + c + d + e;
7094 const auto nullary = [](){ return 0; };
7095 const auto unary = [](int x){ return x; };
7096 using nullary_t = decltype(nullary);
7097 using unary_t = decltype(unary);
7098 const auto higher1st = [](nullary_t f){ return f(); };
7099 const auto higher2nd = [unary](nullary_t f1){
7100 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7102 return higher1st(nullary) + higher2nd(nullary)(unary);
7107 namespace test_variadic_templates
7113 template <int N0, int... N1toN>
7114 struct sum<N0, N1toN...>
7116 static constexpr auto value = N0 + sum<N1toN...>::value;
7122 static constexpr auto value = 0;
7125 static_assert(sum<>::value == 0, "");
7126 static_assert(sum<1>::value == 1, "");
7127 static_assert(sum<23>::value == 23, "");
7128 static_assert(sum<1, 2>::value == 3, "");
7129 static_assert(sum<5, 5, 11>::value == 21, "");
7130 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7134 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7135 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7137 namespace test_template_alias_sfinae
7142 template<typename T>
7143 using member = typename T::member_type;
7145 template<typename T>
7148 template<typename T>
7149 void func(member<T>*) {}
7153 void test() { func<foo>(0); }
7157 } // namespace cxx11
7159 #endif // __cplusplus >= 201103L
7164 if ac_fn_cxx_try_compile
"$LINENO"; then :
7169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7172 eval ac_res
=\$
$cachevar
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7174 $as_echo "$ac_res" >&6; }
7175 if eval test x\$
$cachevar = xyes
; then
7177 if test -n "$CXXCPP" ; then
7178 CXXCPP
="$CXXCPP $switch"
7186 if test x
$ac_success = xno
; then
7187 for alternative
in ${ax_cxx_compile_alternatives}; do
7188 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7189 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7191 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7192 if eval \${$cachevar+:} false; then :
7193 $as_echo_n "(cached
) " >&6
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7201 // If the compiler admits that it is not ready for C++11, why torture it?
7202 // Hopefully, this will speed up the test.
7206 #error "This is not a C
++ compiler
"
7208 #elif __cplusplus < 201103L
7210 #error "This is not a C
++11 compiler
"
7217 namespace test_static_assert
7220 template <typename T>
7223 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7228 namespace test_final_override
7237 struct Derived : public Base
7239 virtual ~Derived() override {}
7240 virtual void f() override {}
7245 namespace test_double_right_angle_brackets
7248 template < typename T >
7251 typedef check<void> single_type;
7252 typedef check<check<void>> double_type;
7253 typedef check<check<check<void>>> triple_type;
7254 typedef check<check<check<check<void>>>> quadruple_type;
7258 namespace test_decltype
7271 namespace test_type_deduction
7274 template < typename T1, typename T2 >
7277 static const bool value = false;
7280 template < typename T >
7281 struct is_same<T, T>
7283 static const bool value = true;
7286 template < typename T1, typename T2 >
7288 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7294 test(const int c, volatile int v)
7296 static_assert(is_same<int, decltype(0)>::value == true, "");
7297 static_assert(is_same<int, decltype(c)>::value == false, "");
7298 static_assert(is_same<int, decltype(v)>::value == false, "");
7301 auto sumi = ac + av + 'x';
7302 auto sumf = ac + av + 1.0;
7303 static_assert(is_same<int, decltype(ac)>::value == true, "");
7304 static_assert(is_same<int, decltype(av)>::value == true, "");
7305 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7306 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7307 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7308 return (sumf > 0.0) ? sumi : add(c, v);
7313 namespace test_noexcept
7316 int f() { return 0; }
7317 int g() noexcept { return 0; }
7319 static_assert(noexcept(f()) == false, "");
7320 static_assert(noexcept(g()) == true, "");
7324 namespace test_constexpr
7327 template < typename CharT >
7328 unsigned long constexpr
7329 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7331 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7334 template < typename CharT >
7335 unsigned long constexpr
7336 strlen_c(const CharT *const s) noexcept
7338 return strlen_c_r(s, 0UL);
7341 static_assert(strlen_c("") == 0UL, "");
7342 static_assert(strlen_c("1") == 1UL, "");
7343 static_assert(strlen_c("example
") == 7UL, "");
7344 static_assert(strlen_c("another\
0example
") == 7UL, "");
7348 namespace test_rvalue_references
7354 static constexpr int value = N;
7357 answer<1> f(int&) { return answer<1>(); }
7358 answer<2> f(const int&) { return answer<2>(); }
7359 answer<3> f(int&&) { return answer<3>(); }
7366 static_assert(decltype(f(i))::value == 1, "");
7367 static_assert(decltype(f(c))::value == 2, "");
7368 static_assert(decltype(f(0))::value == 3, "");
7373 namespace test_uniform_initialization
7378 static const int zero {};
7379 static const int one {1};
7382 static_assert(test::zero == 0, "");
7383 static_assert(test::one == 1, "");
7387 namespace test_lambdas
7393 auto lambda1 = [](){};
7394 auto lambda2 = lambda1;
7402 auto a = [](int i, int j){ return i + j; }(1, 2);
7403 auto b = []() -> int { return '0'; }();
7404 auto c = [=](){ return a + b; }();
7405 auto d = [&](){ return c; }();
7406 auto e = [a, &b](int x) mutable {
7407 const auto identity = [](int y){ return y; };
7408 for (auto i = 0; i < a; ++i)
7410 return x + identity(a + b);
7412 return a + b + c + d + e;
7418 const auto nullary = [](){ return 0; };
7419 const auto unary = [](int x){ return x; };
7420 using nullary_t = decltype(nullary);
7421 using unary_t = decltype(unary);
7422 const auto higher1st = [](nullary_t f){ return f(); };
7423 const auto higher2nd = [unary](nullary_t f1){
7424 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7426 return higher1st(nullary) + higher2nd(nullary)(unary);
7431 namespace test_variadic_templates
7437 template <int N0, int... N1toN>
7438 struct sum<N0, N1toN...>
7440 static constexpr auto value = N0 + sum<N1toN...>::value;
7446 static constexpr auto value = 0;
7449 static_assert(sum<>::value == 0, "");
7450 static_assert(sum<1>::value == 1, "");
7451 static_assert(sum<23>::value == 23, "");
7452 static_assert(sum<1, 2>::value == 3, "");
7453 static_assert(sum<5, 5, 11>::value == 21, "");
7454 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7458 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7459 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7461 namespace test_template_alias_sfinae
7466 template<typename T>
7467 using member = typename T::member_type;
7469 template<typename T>
7472 template<typename T>
7473 void func(member<T>*) {}
7477 void test() { func<foo>(0); }
7481 } // namespace cxx11
7483 #endif // __cplusplus >= 201103L
7488 if ac_fn_cxx_try_compile "$LINENO"; then :
7493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7496 eval ac_res=\$$cachevar
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7498 $as_echo "$ac_res" >&6; }
7499 if eval test x\$$cachevar = xyes; then
7501 if test -n "$CXXCPP" ; then
7502 CXXCPP="$CXXCPP $switch"
7508 if test x$ac_success = xyes; then
7513 CXX_FOR_BUILD="$CXX"
7514 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7515 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7516 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7517 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7518 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7520 ac_cpp='$CPP $CPPFLAGS'
7521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7525 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7526 if test x$ac_success = xno; then
7527 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7530 if test x$ac_success = xno; then
7531 HAVE_CXX11_FOR_BUILD=0
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7533 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7535 HAVE_CXX11_FOR_BUILD=1
7537 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7545 # Used for setting $lt_cv_objdir
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7547 $as_echo_n "checking for objdir... " >&6; }
7548 if ${lt_cv_objdir+:} false
; then :
7549 $as_echo_n "(cached) " >&6
7551 rm -f .libs
2>/dev
/null
7552 mkdir .libs
2>/dev
/null
7553 if test -d .libs
; then
7556 # MS-DOS does not allow filenames that begin with a dot.
7559 rmdir .libs
2>/dev
/null
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7562 $as_echo "$lt_cv_objdir" >&6; }
7563 objdir
=$lt_cv_objdir
7569 cat >>confdefs.h
<<_ACEOF
7570 #define LT_OBJDIR "$lt_cv_objdir/"
7575 # Check for GMP, MPFR and MPC
7576 gmplibs
="-lmpc -lmpfr -lgmp"
7580 # Specify a location for mpc
7581 # check for this first so it ends up on the link line before mpfr.
7583 # Check whether --with-mpc was given.
7584 if test "${with_mpc+set}" = set; then :
7589 # Check whether --with-mpc-include was given.
7590 if test "${with_mpc_include+set}" = set; then :
7591 withval
=$with_mpc_include;
7595 # Check whether --with-mpc-lib was given.
7596 if test "${with_mpc_lib+set}" = set; then :
7597 withval
=$with_mpc_lib;
7601 if test "x$with_mpc" != x
; then
7602 gmplibs
="-L$with_mpc/lib $gmplibs"
7603 gmpinc
="-I$with_mpc/include $gmpinc"
7605 if test "x$with_mpc_include" != x
; then
7606 gmpinc
="-I$with_mpc_include $gmpinc"
7608 if test "x$with_mpc_lib" != x
; then
7609 gmplibs
="-L$with_mpc_lib $gmplibs"
7611 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
7612 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
7613 gmpinc
='-I$$s/mpc/src '"$gmpinc"
7614 # Do not test the mpc version. Assume that it is sufficient, since
7615 # it is in the source tree, and the library has not been built yet
7616 # but it would be included on the link line in the version check below
7617 # hence making the test fail.
7621 # Specify a location for mpfr
7622 # check for this first so it ends up on the link line before gmp.
7624 # Check whether --with-mpfr-dir was given.
7625 if test "${with_mpfr_dir+set}" = set; then :
7626 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
7627 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
7632 # Check whether --with-mpfr was given.
7633 if test "${with_mpfr+set}" = set; then :
7638 # Check whether --with-mpfr-include was given.
7639 if test "${with_mpfr_include+set}" = set; then :
7640 withval
=$with_mpfr_include;
7644 # Check whether --with-mpfr-lib was given.
7645 if test "${with_mpfr_lib+set}" = set; then :
7646 withval
=$with_mpfr_lib;
7650 if test "x$with_mpfr" != x
; then
7651 gmplibs
="-L$with_mpfr/lib $gmplibs"
7652 gmpinc
="-I$with_mpfr/include $gmpinc"
7654 if test "x$with_mpfr_include" != x
; then
7655 gmpinc
="-I$with_mpfr_include $gmpinc"
7657 if test "x$with_mpfr_lib" != x
; then
7658 gmplibs
="-L$with_mpfr_lib $gmplibs"
7660 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
7661 # MPFR v3.1.0 moved the sources into a src sub-directory.
7662 if ! test -d ${srcdir}/mpfr
/src
; then
7663 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
7665 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
7666 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
7667 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
7668 # Do not test the mpfr version. Assume that it is sufficient, since
7669 # it is in the source tree, and the library has not been built yet
7670 # but it would be included on the link line in the version check below
7671 # hence making the test fail.
7675 # Specify a location for gmp
7677 # Check whether --with-gmp-dir was given.
7678 if test "${with_gmp_dir+set}" = set; then :
7679 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
7680 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
7685 # Check whether --with-gmp was given.
7686 if test "${with_gmp+set}" = set; then :
7691 # Check whether --with-gmp-include was given.
7692 if test "${with_gmp_include+set}" = set; then :
7693 withval
=$with_gmp_include;
7697 # Check whether --with-gmp-lib was given.
7698 if test "${with_gmp_lib+set}" = set; then :
7699 withval
=$with_gmp_lib;
7704 if test "x$with_gmp" != x
; then
7705 gmplibs
="-L$with_gmp/lib $gmplibs"
7706 gmpinc
="-I$with_gmp/include $gmpinc"
7708 if test "x$with_gmp_include" != x
; then
7709 gmpinc
="-I$with_gmp_include $gmpinc"
7711 if test "x$with_gmp_lib" != x
; then
7712 gmplibs
="-L$with_gmp_lib $gmplibs"
7714 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
7715 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
7716 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
7717 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
7718 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
7719 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
7720 # Do not test the gmp version. Assume that it is sufficient, since
7721 # it is in the source tree, and the library has not been built yet
7722 # but it would be included on the link line in the version check below
7723 # hence making the test fail.
7727 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
7729 saved_CFLAGS
="$CFLAGS"
7730 CFLAGS
="$CFLAGS $gmpinc"
7731 # Check for the recommended and required versions of GMP.
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
7733 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
7735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7736 /* end confdefs.h. */
7742 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
7743 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
7744 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
7752 if ac_fn_c_try_compile
"$LINENO"; then :
7753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7754 /* end confdefs.h. */
7760 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
7761 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
7762 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
7770 if ac_fn_c_try_compile
"$LINENO"; then :
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7772 $as_echo "yes" >&6; }
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7775 $as_echo "buggy but acceptable" >&6; }
7777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }; have_gmp
=no
7782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7784 # If we have GMP, check the MPFR version.
7785 if test x
"$have_gmp" = xyes
; then
7786 # Check for the recommended and required versions of MPFR.
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
7788 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7797 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
7805 if ac_fn_c_try_compile
"$LINENO"; then :
7806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7814 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
7822 if ac_fn_c_try_compile
"$LINENO"; then :
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7824 $as_echo "yes" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7827 $as_echo "buggy but acceptable" >&6; }
7829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7832 $as_echo "no" >&6; }; have_gmp
=no
7834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7837 # Check for the MPC header version.
7838 if test x
"$have_gmp" = xyes
; then
7839 # Check for the recommended and required versions of MPC.
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
7841 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
7842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7849 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
7857 if ac_fn_c_try_compile
"$LINENO"; then :
7858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7865 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
7873 if ac_fn_c_try_compile
"$LINENO"; then :
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7875 $as_echo "yes" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7878 $as_echo "buggy but acceptable" >&6; }
7880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7883 $as_echo "no" >&6; }; have_gmp
=no
7885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7888 # Now check the MPFR library.
7889 if test x
"$have_gmp" = xyes
; then
7891 LIBS
="$LIBS $gmplibs"
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
7893 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
7894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7895 /* end confdefs.h. */
7907 mpfr_atan2 (n, n, x, MPFR_RNDN);
7908 mpfr_erfc (n, x, MPFR_RNDN);
7909 mpfr_subnormalize (x, t, MPFR_RNDN);
7913 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
7914 mpc_cosh (c, c, MPC_RNDNN);
7915 mpc_pow (c, c, c, MPC_RNDNN);
7916 mpc_acosh (c, c, MPC_RNDNN);
7923 if ac_fn_c_try_link
"$LINENO"; then :
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7925 $as_echo "yes" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }; have_gmp
=no
7930 rm -f core conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7935 CFLAGS
="$saved_CFLAGS"
7937 # The library versions listed in the error message below should match
7938 # the HARD-minimums enforced above.
7939 if test x
$have_gmp != xyes
; then
7940 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
7941 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
7942 their locations. Source code for these libraries can be found at
7943 their respective hosting sites as well as at
7944 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
7945 http://gcc.gnu.org/install/prerequisites.html for additional info. If
7946 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
7947 make sure that you have installed both the libraries and the header
7948 files. They may be located in separate packages." "$LINENO" 5
7952 # Flags needed for both GMP, MPFR and/or MPC.
7960 # Libraries to use for stage1 or when not bootstrapping.
7962 # Check whether --with-stage1-libs was given.
7963 if test "${with_stage1_libs+set}" = set; then :
7964 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
7967 stage1_libs
=$withval
7975 # Whether or not to use -static-libstdc++ and -static-libgcc. The
7976 # default is yes if gcc is being built; no otherwise. The reason for
7977 # this default is that gdb is sometimes linked against GNU Source
7978 # Highlight, which is a shared library that uses C++ exceptions. In
7979 # this case, -static-libstdc++ will cause crashes.
7981 # Check whether --with-static-standard-libraries was given.
7982 if test "${with_static_standard_libraries+set}" = set; then :
7983 withval
=$with_static_standard_libraries;
7985 with_static_standard_libraries
=auto
7988 if test "$with_static_standard_libraries" = auto
; then
7989 with_static_standard_libraries
=$have_compiler
7992 # Linker flags to use for stage1 or when not bootstrapping.
7994 # Check whether --with-stage1-ldflags was given.
7995 if test "${with_stage1_ldflags+set}" = set; then :
7996 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
7999 stage1_ldflags
=$withval
8003 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8004 # if supported. But if the user explicitly specified the libraries to use,
8005 # trust that they are doing what they want.
8006 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8007 -a "$have_static_libs" = yes; then
8008 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8014 # Libraries to use for stage2 and later builds.
8016 # Check whether --with-boot-libs was given.
8017 if test "${with_boot_libs+set}" = set; then :
8018 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8021 poststage1_libs
=$withval
8029 # Linker flags to use for stage2 and later builds.
8031 # Check whether --with-boot-ldflags was given.
8032 if test "${with_boot_ldflags+set}" = set; then :
8033 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8036 poststage1_ldflags
=$withval
8040 # In stages 2 and 3, default to linking libstdc++ and libgcc
8041 # statically. But if the user explicitly specified the libraries to
8042 # use, trust that they are doing what they want.
8043 if test "$poststage1_libs" = ""; then
8044 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8050 # GCC GRAPHITE dependency isl.
8051 # Basic setup is inlined here, actual checks are in config/isl.m4
8054 # Check whether --with-isl was given.
8055 if test "${with_isl+set}" = set; then :
8060 # Treat --without-isl as a request to disable
8061 # GRAPHITE support and skip all following checks.
8062 if test "x$with_isl" != "xno"; then
8066 # Check whether --with-isl-include was given.
8067 if test "${with_isl_include+set}" = set; then :
8068 withval
=$with_isl_include;
8072 # Check whether --with-isl-lib was given.
8073 if test "${with_isl_lib+set}" = set; then :
8074 withval
=$with_isl_lib;
8078 # Check whether --enable-isl-version-check was given.
8079 if test "${enable_isl_version_check+set}" = set; then :
8080 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8082 ENABLE_ISL_CHECK
=yes
8086 # Initialize isllibs and islinc.
8095 isllibs
="-L$with_isl/lib"
8096 islinc
="-I$with_isl/include"
8099 if test "x${with_isl_include}" != x
; then
8100 islinc
="-I$with_isl_include"
8102 if test "x${with_isl_lib}" != x
; then
8103 isllibs
="-L$with_isl_lib"
8105 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8106 && test -d ${srcdir}/isl
; then
8107 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8108 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8111 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8114 isllibs
="${isllibs} -lisl"
8118 if test "${ENABLE_ISL_CHECK}" = yes ; then
8119 _isl_saved_CFLAGS
=$CFLAGS
8120 _isl_saved_LDFLAGS
=$LDFLAGS
8121 _isl_saved_LIBS
=$LIBS
8123 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8124 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8125 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8128 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8130 /* end confdefs.h. */
8131 #include <isl/schedule.h>
8135 isl_options_set_schedule_serialize_sccs (NULL, 0);
8140 if ac_fn_c_try_link
"$LINENO"; then :
8145 rm -f core conftest.err conftest.
$ac_objext \
8146 conftest
$ac_exeext conftest.
$ac_ext
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8148 $as_echo "$gcc_cv_isl" >&6; }
8150 if test "${gcc_cv_isl}" = no
; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8152 $as_echo "required isl version is 0.15 or later" >&6; }
8155 CFLAGS
=$_isl_saved_CFLAGS
8156 LDFLAGS
=$_isl_saved_LDFLAGS
8157 LIBS
=$_isl_saved_LIBS
8165 if test "x${with_isl}" = xno
; then
8166 graphite_requested
=no
8167 elif test "x${with_isl}" != x \
8168 ||
test "x${with_isl_include}" != x \
8169 ||
test "x${with_isl_lib}" != x
; then
8170 graphite_requested
=yes
8172 graphite_requested
=no
8177 if test "${gcc_cv_isl}" = no
; then
8182 if test "${graphite_requested}" = yes \
8183 && test "x${isllibs}" = x \
8184 && test "x${islinc}" = x
; then
8186 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8192 # If the isl check failed, disable builds of in-tree variant of isl
8193 if test "x$with_isl" = xno ||
8194 test "x$gcc_cv_isl" = xno
; then
8195 noconfigdirs
="$noconfigdirs isl"
8202 # Check for LTO support.
8203 # Check whether --enable-lto was given.
8204 if test "${enable_lto+set}" = set; then :
8205 enableval
=$enable_lto; enable_lto
=$enableval
8207 enable_lto
=yes; default_enable_lto
=yes
8216 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8217 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8218 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8227 if test $target_elf = yes; then :
8228 # ELF platforms build the lto-plugin always.
8229 build_lto_plugin
=yes
8232 if test x
"$default_enable_lto" = x
"yes" ; then
8234 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8235 # On other non-ELF platforms, LTO has yet to be validated.
8239 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8240 # It would also be nice to check the binutils support, but we don't
8241 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8242 # warn during gcc/ subconfigure; unless you're bootstrapping with
8243 # -flto it won't be needed until after installation anyway.
8245 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8246 *) if test x
"$enable_lto" = x
"yes"; then
8247 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8252 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8253 # Build it unless LTO was explicitly disabled.
8255 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8262 # Check whether --enable-linker-plugin-configure-flags was given.
8263 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8264 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8266 extra_linker_plugin_configure_flags
=
8270 # Check whether --enable-linker-plugin-flags was given.
8271 if test "${enable_linker_plugin_flags+set}" = set; then :
8272 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8274 extra_linker_plugin_flags
=
8279 # Enable --enable-host-shared.
8280 # Checked early to determine whether jit is an 'all' language
8281 # Check whether --enable-host-shared was given.
8282 if test "${enable_host_shared+set}" = set; then :
8283 enableval
=$enable_host_shared; host_shared
=$enableval
8290 # By default, C and C++ are the only stage 1 languages.
8291 stage1_languages
=,c
,
8293 # Target libraries that we bootstrap.
8294 bootstrap_target_libs
=,target-libgcc
,
8296 # Figure out what language subdirectories are present.
8297 # Look if the user specified --enable-languages="..."; if not, use
8298 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8300 # NB: embedded tabs in this IF block -- do not untabify
8301 if test -d ${srcdir}/gcc
; then
8302 if test x
"${enable_languages+set}" != xset
; then
8303 if test x
"${LANGUAGES+set}" = xset
; then
8304 enable_languages
="${LANGUAGES}"
8305 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8307 enable_languages
=default
8310 if test x
"${enable_languages}" = x ||
8311 test x
"${enable_languages}" = xyes
;
8313 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8317 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8319 # 'f95' is the old name for the 'fortran' language. We issue a warning
8320 # and make the substitution.
8321 case ,${enable_languages}, in
8323 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8324 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8328 # If bootstrapping, C++ must be enabled.
8329 case ",$enable_languages,:$enable_bootstrap" in
8332 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8333 enable_languages
="${enable_languages},c++"
8335 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8340 # First scan to see if an enabled language requires some other language.
8341 # We assume that a given config-lang.in will list all the language
8342 # front ends it requires, even if some are required indirectly.
8343 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8344 case ${lang_frag} in
8346 # The odd quoting in the next line works around
8347 # an apparent bug in bash 1.12 on linux.
8348 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8350 # From the config-lang.in, get $language, $lang_requires, and
8351 # $lang_requires_boot_languages.
8354 lang_requires_boot_languages
=
8355 # set srcdir during sourcing lang_frag to the gcc dir.
8356 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8357 # polutes this shell
8358 saved_srcdir
=${srcdir}
8359 srcdir
=${srcdir}/gcc .
${lang_frag}
8360 srcdir
=${saved_srcdir}
8361 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8362 case ,${enable_languages}, in
8367 echo " \`$other' language required by \`$language'; enabling" 1>&2
8368 enable_languages
="${enable_languages},${other}"
8372 for other
in ${lang_requires_boot_languages} ; do
8373 if test "$other" != "c"; then
8374 case ,${enable_stage1_languages}, in
8379 case ,${enable_languages}, in
8381 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8382 enable_stage1_languages
="$enable_stage1_languages,${other}"
8393 new_enable_languages
=,c
,
8395 # If LTO is enabled, add the LTO front end.
8396 if test "$enable_lto" = "yes" ; then
8397 case ,${enable_languages}, in
8399 *) enable_languages
="${enable_languages},lto" ;;
8401 if test "${build_lto_plugin}" = "yes" ; then
8402 configdirs
="$configdirs lto-plugin"
8406 # If we're building an offloading compiler, add the LTO front end.
8407 if test x
"$enable_as_accelerator_for" != x
; then
8408 case ,${enable_languages}, in
8410 *) enable_languages
="${enable_languages},lto" ;;
8414 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8415 potential_languages
=,c
,
8417 enabled_target_libs
=
8418 disabled_target_libs
=
8420 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8421 case ${lang_frag} in
8423 # The odd quoting in the next line works around
8424 # an apparent bug in bash 1.12 on linux.
8425 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8427 # From the config-lang.in, get $language, $target_libs,
8428 # $lang_dirs, $boot_language, and $build_by_default
8434 build_by_default
=yes
8435 # set srcdir during sourcing. See above about save & restore
8436 saved_srcdir
=${srcdir}
8437 srcdir
=${srcdir}/gcc .
${lang_frag}
8438 srcdir
=${saved_srcdir}
8439 if test x
${language} = x
; then
8440 echo "${lang_frag} doesn't set \$language." 1>&2
8444 if test "$language" = "c++"; then
8449 # C is always enabled, so no need to add it again
8450 if test "$language" != "c"; then
8451 case ,${enable_languages}, in
8453 # Language was explicitly selected; include it
8457 # All languages are enabled
8461 # 'default' was selected, select it if it is a default language
8462 add_this_lang
=${build_by_default}
8467 # Disable languages that need other directories if these aren't available.
8468 for i
in $subdir_requires; do
8469 test -f "$srcdir/gcc/$i/config-lang.in" && continue
8470 case ${add_this_lang} in
8472 # Specifically requested language; tell them.
8473 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
8477 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
8478 add_this_lang
=unsupported
8482 add_this_lang
=unsupported
8487 # Disable Ada if no preexisting GNAT is available.
8488 case ${add_this_lang}:${language}:${have_gnat} in
8490 # Specifically requested language; tell them.
8491 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
8495 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
8496 add_this_lang
=unsupported
8500 add_this_lang
=unsupported
8504 # Disable jit if -enable-host-shared not specified
8505 # but not if building for Mingw. All code in Windows
8506 # is position independent code (PIC).
8510 case ${add_this_lang}:${language}:${host_shared} in
8512 # PR jit/64780: explicitly specify --enable-host-shared
8514 Enabling language \"jit\" requires --enable-host-shared.
8516 --enable-host-shared typically slows the rest of the compiler down by
8517 a few %, so you must explicitly enable it.
8519 If you want to build both the jit and the regular compiler, it is often
8520 best to do this via two separate configure/builds, in separate
8521 directories, to avoid imposing the performance cost of
8522 --enable-host-shared on the regular compiler." "$LINENO" 5
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
8526 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
8527 add_this_lang
=unsupported
8531 add_this_lang
=unsupported
8537 # Disable a language that is unsupported by the target.
8538 case "${add_this_lang}: $unsupported_languages " in
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
8543 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
8544 add_this_lang
=unsupported
8548 case $add_this_lang in
8550 # Remove language-dependent dirs.
8551 disabled_target_libs
="$disabled_target_libs $target_libs"
8552 noconfigdirs
="$noconfigdirs $lang_dirs"
8555 # Remove language-dependent dirs; still show language as supported.
8556 disabled_target_libs
="$disabled_target_libs $target_libs"
8557 noconfigdirs
="$noconfigdirs $lang_dirs"
8558 potential_languages
="${potential_languages}${language},"
8561 new_enable_languages
="${new_enable_languages}${language},"
8562 potential_languages
="${potential_languages}${language},"
8563 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
8564 enabled_target_libs
="$enabled_target_libs $target_libs"
8565 case "${boot_language}:,$enable_stage1_languages," in
8566 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
8567 # Add to (comma-separated) list of stage 1 languages.
8568 case ",$stage1_languages," in
8569 *,$language,* |
,yes, |
,all
,) ;;
8570 *) stage1_languages
="${stage1_languages}${language}," ;;
8572 # We need to bootstrap any supporting libraries.
8573 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
8582 # Add target libraries which are only needed for disabled languages
8584 if test -n "$disabled_target_libs"; then
8585 for dir
in $disabled_target_libs; do
8586 case " $enabled_target_libs " in
8588 *) noconfigdirs
="$noconfigdirs $dir" ;;
8593 # Check whether --enable-stage1-languages was given.
8594 if test "${enable_stage1_languages+set}" = set; then :
8595 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
8597 # Set it to something that will have no effect in the loop below
8598 enable_stage1_languages
=c
;;
8600 enable_stage1_languages
=`echo $new_enable_languages | \
8601 sed -e "s/^,//" -e "s/,$//" ` ;;
8603 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
8604 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
8607 # Add "good" languages from enable_stage1_languages to stage1_languages,
8608 # while "bad" languages go in missing_languages. Leave no duplicates.
8609 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
8610 case $potential_languages in
8612 case $stage1_languages in
8614 *) stage1_languages
="$stage1_languages$i," ;;
8617 case $missing_languages in
8619 *) missing_languages
="$missing_languages$i," ;;
8626 # Remove leading/trailing commas that were added for simplicity
8627 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
8628 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
8629 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
8630 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
8632 if test "x$missing_languages" != x
; then
8634 The following requested languages could not be built: ${missing_languages}
8635 Supported languages are: ${potential_languages}" "$LINENO" 5
8637 if test "x$new_enable_languages" != "x$enable_languages"; then
8638 echo The following languages will be built
: ${new_enable_languages}
8639 enable_languages
="$new_enable_languages"
8643 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
8646 # Handle --disable-<component> generically.
8647 for dir
in $configdirs $build_configdirs $target_configdirs ; do
8648 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
8649 varname
=`echo $dirname | sed -e s/+/_/g`
8650 if eval test x\
${enable_${varname}} "=" xno
; then
8651 noconfigdirs
="$noconfigdirs $dir"
8655 # Check for Boehm's garbage collector
8656 # Check whether --enable-objc-gc was given.
8657 if test "${enable_objc_gc+set}" = set; then :
8658 enableval
=$enable_objc_gc;
8662 # Check whether --with-target-bdw-gc was given.
8663 if test "${with_target_bdw_gc+set}" = set; then :
8664 withval
=$with_target_bdw_gc;
8668 # Check whether --with-target-bdw-gc-include was given.
8669 if test "${with_target_bdw_gc_include+set}" = set; then :
8670 withval
=$with_target_bdw_gc_include;
8674 # Check whether --with-target-bdw-gc-lib was given.
8675 if test "${with_target_bdw_gc_lib+set}" = set; then :
8676 withval
=$with_target_bdw_gc_lib;
8680 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
8682 $as_echo_n "checking for bdw garbage collector... " >&6; }
8683 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
8685 $as_echo "using bdw-gc in default locations" >&6; }
8687 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
8688 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
8689 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
8690 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
8693 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
8698 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
8699 case ,${enable_languages}, in
8701 # Disable libitm, libsanitizer if we're not building libstdc++
8702 case "${noconfigdirs}" in
8703 *target-libstdc
++-v3*)
8704 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
8710 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
8714 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
8715 # $build_configdirs and $target_configdirs.
8716 # If we have the source for $noconfigdirs entries, add them to $notsupp.
8719 for dir
in .
$skipdirs $noconfigdirs ; do
8720 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
8721 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8722 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
8723 if test -r $srcdir/$dirname/configure
; then
8724 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8727 notsupp
="$notsupp $dir"
8731 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8732 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
8733 if test -r $srcdir/$dirname/configure
; then
8734 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8737 notsupp
="$notsupp $dir"
8741 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8742 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
8743 if test -r $srcdir/$dirname/configure
; then
8744 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8747 notsupp
="$notsupp $dir"
8753 # Quietly strip out all directories which aren't configurable in this tree.
8754 # This relies on all configurable subdirectories being autoconfiscated, which
8756 build_configdirs_all
="$build_configdirs"
8758 for i
in ${build_configdirs_all} ; do
8759 j
=`echo $i | sed -e s/build-//g`
8760 if test -f ${srcdir}/$j/configure
; then
8761 build_configdirs
="${build_configdirs} $i"
8765 configdirs_all
="$configdirs"
8767 for i
in ${configdirs_all} ; do
8768 if test -f ${srcdir}/$i/configure
; then
8769 configdirs
="${configdirs} $i"
8773 target_configdirs_all
="$target_configdirs"
8775 for i
in ${target_configdirs_all} ; do
8776 j
=`echo $i | sed -e s/target-//g`
8777 if test -f ${srcdir}/$j/configure
; then
8778 target_configdirs
="${target_configdirs} $i"
8782 # libiberty-linker-plugin is special: it doesn't have its own source directory,
8783 # so we have to add it after the preceding checks.
8784 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
8786 case " $configdirs " in
8788 # If we can build libiberty, we can also build libiberty-linker-plugin.
8789 configdirs
="$configdirs libiberty-linker-plugin"
8790 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
8791 --with-libiberty=../libiberty-linker-plugin";;
8793 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
8797 # Sometimes we have special requirements for the host libiberty.
8798 extra_host_libiberty_configure_flags
=
8799 extra_host_zlib_configure_flags
=
8800 case " $configdirs " in
8801 *" lto-plugin "* |
*" libcc1 "*)
8802 # When these are to be built as shared libraries, the same applies to
8804 extra_host_libiberty_configure_flags
=--enable-shared
8807 # When bfd is to be built as a shared library, the same applies to
8809 if test "$enable_shared" = "yes"; then
8810 extra_host_zlib_configure_flags
=--enable-host-shared
8817 # Produce a warning message for the subdirs we can't configure.
8818 # This isn't especially interesting in the Cygnus tree, but in the individual
8819 # FSF releases, it's important to let people know when their machine isn't
8820 # supported by the one or two programs in a package.
8822 if test -n "${notsupp}" && test -z "${norecursion}" ; then
8823 # If $appdirs is non-empty, at least one of those directories must still
8824 # be configured, or we error out. (E.g., if the gas release supports a
8825 # specified target in some subdirs but not the gas subdir, we shouldn't
8826 # pretend that all is well.)
8827 if test -n "$appdirs" ; then
8828 for dir
in $appdirs ; do
8829 if test -r $dir/Makefile.
in ; then
8830 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8834 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
8840 if test -n "$appdirs" ; then
8841 echo "*** This configuration is not supported by this package." 1>&2
8845 # Okay, some application will build, or we don't care to check. Still
8846 # notify of subdirs not getting built.
8847 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
8848 echo " ${notsupp}" 1>&2
8849 echo " (Any other directories should still work fine.)" 1>&2
8857 # To find our prefix, in gcc_cv_tool_prefix.
8859 # The user is always right.
8860 if test "${PATH_SEPARATOR+set}" != set; then
8861 echo "#! /bin/sh" >conf$$.sh
8862 echo "exit 0" >>conf$$.sh
8864 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8873 get_gcc_base_ver
="cat"
8875 # Check whether --with-gcc-major-version-only was given.
8876 if test "${with_gcc_major_version_only+set}" = set; then :
8877 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
8878 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
8888 if test "x$exec_prefix" = xNONE
; then
8889 if test "x$prefix" = xNONE
; then
8890 gcc_cv_tool_prefix
=$ac_default_prefix
8892 gcc_cv_tool_prefix
=$prefix
8895 gcc_cv_tool_prefix
=$exec_prefix
8898 # If there is no compiler in the tree, use the PATH only. In any
8899 # case, if there is no compiler in the tree nobody should use
8900 # AS_FOR_TARGET and LD_FOR_TARGET.
8901 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
8902 if test x
$with_gcc_major_version_only = xyes
; then
8903 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
8905 gcc_version
=`cat $srcdir/gcc/BASE-VER`
8907 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
8908 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
8909 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
8910 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
8911 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
8912 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
8917 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
8918 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
8926 # Check whether --with-build-sysroot was given.
8927 if test "${with_build_sysroot+set}" = set; then :
8928 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
8929 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
8932 SYSROOT_CFLAGS_FOR_TARGET
=
8938 # Check whether --with-debug-prefix-map was given.
8939 if test "${with_debug_prefix_map+set}" = set; then :
8940 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
8941 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
8942 for debug_map
in $withval; do
8943 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
8947 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
8952 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
8953 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
8954 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
8955 # We want to ensure that TARGET libraries (which we know are built with
8956 # gcc) are built with "-O2 -g", so include those options when setting
8957 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
8958 if test "x$CFLAGS_FOR_TARGET" = x
; then
8959 if test "x${is_cross_compiler}" = xyes
; then
8960 CFLAGS_FOR_TARGET
="-g -O2"
8962 CFLAGS_FOR_TARGET
=$CFLAGS
8965 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
8968 *" -g "* |
*" -g3 "*) ;;
8969 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
8975 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
8976 if test "x${is_cross_compiler}" = xyes
; then
8977 CXXFLAGS_FOR_TARGET
="-g -O2"
8979 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
8980 case " $CXXFLAGS " in
8982 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
8984 case " $CXXFLAGS " in
8985 *" -g "* |
*" -g3 "*) ;;
8986 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
8994 # Handle --with-headers=XXX. If the value is not "yes", the contents of
8995 # the named directory are copied to $(tooldir)/sys-include.
8996 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
8997 if test x
${is_cross_compiler} = xno
; then
8998 echo 1>&2 '***' --with-headers is only supported when cross compiling
9001 if test x
"${with_headers}" != xyes
; then
9002 x
=${gcc_cv_tool_prefix}
9003 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9007 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9008 # the name directories are copied to $(tooldir)/lib. Multiple directories
9010 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9011 if test x
${is_cross_compiler} = xno
; then
9012 echo 1>&2 '***' --with-libs is only supported when cross compiling
9015 if test x
"${with_libs}" != xyes
; then
9016 # Copy the libraries in reverse order, so that files in the first named
9017 # library override files in subsequent libraries.
9018 x
=${gcc_cv_tool_prefix}
9019 for l
in ${with_libs}; do
9020 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9025 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9027 # This is done by determining whether or not the appropriate directory
9028 # is available, and by checking whether or not specific configurations
9029 # have requested that this magic not happen.
9031 # The command line options always override the explicit settings in
9032 # configure.ac, and the settings in configure.ac override this magic.
9034 # If the default for a toolchain is to use GNU as and ld, and you don't
9035 # want to do that, then you should use the --without-gnu-as and
9036 # --without-gnu-ld options for the configure script. Similarly, if
9037 # the default is to use the included zlib and you don't want to do that,
9038 # you should use the --with-system-zlib option for the configure script.
9040 if test x
${use_gnu_as} = x
&&
9041 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9043 extra_host_args
="$extra_host_args --with-gnu-as"
9046 if test x
${use_gnu_ld} = x
&&
9047 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9049 extra_host_args
="$extra_host_args --with-gnu-ld"
9052 if test x
${use_included_zlib} = x
&&
9053 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9056 with_system_zlib
=yes
9057 extra_host_args
="$extra_host_args --with-system-zlib"
9060 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9061 # can detect this case.
9063 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9065 extra_host_args
="$extra_host_args --with-newlib"
9068 # Handle ${copy_dirs}
9069 set fnord
${copy_dirs}
9071 while test $# != 0 ; do
9072 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9075 echo Copying
$1 to
$2
9077 # Use the install script to create the directory and all required
9078 # parent directories.
9079 if test -d $2 ; then
9083 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9086 # Copy the directory, assuming we have tar.
9087 # FIXME: Should we use B in the second tar? Not all systems support it.
9088 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9090 # It is the responsibility of the user to correctly adjust all
9091 # symlinks. If somebody can figure out how to handle them correctly
9092 # here, feel free to add the code.
9099 # Determine a target-dependent exec_prefix that the installed
9100 # gcc will search in. Keep this list sorted by triplet, with
9101 # the *-*-osname triplets last.
9104 i
[34567]86-pc-msdosdjgpp*)
9105 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9110 md_exec_prefix
=/usr
/ccs
/bin
9114 extra_arflags_for_target
=
9115 extra_nmflags_for_target
=
9116 extra_ranlibflags_for_target
=
9117 target_makefile_frag
=/dev
/null
9120 target_makefile_frag
="config/mt-spu"
9122 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9123 target_makefile_frag
="config/mt-sde"
9125 mipsisa
*-*-elfoabi*)
9126 target_makefile_frag
="config/mt-mips-elfoabi"
9128 mips
*-*-*linux
* | mips
*-*-gnu*)
9129 target_makefile_frag
="config/mt-mips-gnu"
9132 target_makefile_frag
="config/mt-nios2-elf"
9135 target_makefile_frag
="config/mt-android"
9137 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9138 target_makefile_frag
="config/mt-gnu"
9140 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9141 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9142 # commands to handle both 32-bit and 64-bit objects. These flags are
9143 # harmless if we're using GNU nm or ar.
9144 extra_arflags_for_target
=" -X32_64"
9145 extra_nmflags_for_target
=" -B -X32_64"
9149 alphaieee_frag
=/dev
/null
9152 # This just makes sure to use the -mieee option to build target libs.
9153 # This should probably be set individually by each library.
9154 alphaieee_frag
="config/mt-alphaieee"
9158 # If --enable-target-optspace always use -Os instead of -O2 to build
9159 # the target libraries, similarly if it is not specified, use -Os
9160 # on selected platforms.
9161 ospace_frag
=/dev
/null
9162 case "${enable_target_optspace}:${target}" in
9164 ospace_frag
="config/mt-ospace"
9167 ospace_frag
="config/mt-d30v"
9169 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9170 ospace_frag
="config/mt-ospace"
9175 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9179 # Some systems (e.g., one of the i386-aix systems the gas testers are
9180 # using) don't handle "\$" correctly, so don't use it here.
9181 tooldir
='${exec_prefix}'/${target_noncanonical}
9182 build_tooldir
=${tooldir}
9184 # Create a .gdbinit file which runs the one in srcdir
9185 # and tells GDB to look there for source files.
9187 if test -r ${srcdir}/.gdbinit
; then
9190 *) cat > .
/.gdbinit
<<EOF
9194 source ${srcdir}/.gdbinit
9200 # Make sure that the compiler is able to generate an executable. If it
9201 # can't, we are probably in trouble. We don't care whether we can run the
9202 # executable--we might be using a cross compiler--we only care whether it
9203 # can be created. At this point the main configure script has set CC.
9205 echo "int main () { return 0; }" > conftest.c
9206 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9207 if test $?
= 0 ; then
9208 if test -s conftest ||
test -s conftest.exe
; then
9214 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9215 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9222 # Decide which environment variable is used to find dynamic libraries.
9224 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9225 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9226 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9227 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9230 # On systems where the dynamic library environment variable is PATH,
9231 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9232 # built executables to PATH.
9233 if test "$RPATH_ENVVAR" = PATH
; then
9234 GCC_SHLIB_SUBDIR
=/shlib
9239 # Adjust the toplevel makefile according to whether bootstrap was selected.
9240 case $enable_bootstrap in
9242 bootstrap_suffix
=bootstrap
9243 BUILD_CONFIG
=bootstrap-debug
9246 bootstrap_suffix
=no-bootstrap
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9252 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9255 # Check whether --with-build-config was given.
9256 if test "${with_build_config+set}" = set; then :
9257 withval
=$with_build_config; case $with_build_config in
9258 yes) with_build_config
= ;;
9259 no
) with_build_config
= BUILD_CONFIG
= ;;
9264 if test "x${with_build_config}" != x
; then
9265 BUILD_CONFIG
=$with_build_config
9267 case $BUILD_CONFIG in
9269 if echo "int f (void) { return 0; }" > conftest.c
&&
9270 ${CC} -c conftest.c
&&
9271 mv conftest.o conftest.o.g0
&&
9272 ${CC} -c -g conftest.c
&&
9273 mv conftest.o conftest.o.g
&&
9274 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9279 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9284 $as_echo "$BUILD_CONFIG" >&6; }
9287 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9289 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9290 # Check whether --enable-vtable-verify was given.
9291 if test "${enable_vtable_verify+set}" = set; then :
9292 enableval
=$enable_vtable_verify; case "$enableval" in
9293 yes) enable_vtable_verify
=yes ;;
9294 no
) enable_vtable_verify
=no
;;
9295 *) enable_vtable_verify
=no
;;
9298 enable_vtable_verify
=no
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9302 $as_echo "$enable_vtable_verify" >&6; }
9304 # Record target_configdirs and the configure arguments for target and
9305 # build configuration in Makefile.
9306 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9307 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9308 bootstrap_fixincludes
=no
9310 # If we are building libgomp, bootstrap it.
9311 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9312 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9315 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9316 # or bootstrap-ubsan, bootstrap it.
9317 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9318 case "$BUILD_CONFIG" in
9319 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9320 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9321 bootstrap_fixincludes
=yes
9326 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9327 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9328 test "$enable_vtable_verify" != no
; then
9329 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9332 # Determine whether gdb needs tk/tcl or not.
9333 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9334 # and in that case we want gdb to be built without tk. Ugh!
9335 # In fact I believe gdb is the *only* package directly dependent on tk,
9336 # so we should be able to put the 'maybe's in unconditionally and
9337 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9338 # 100% sure that that's safe though.
9340 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9341 case "$enable_gdbtk" in
9345 GDB_TK
="${gdb_tk}" ;;
9347 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9348 # distro. Eventually someone will fix this and move Insight, nee
9349 # gdbtk to a separate directory.
9350 if test -d ${srcdir}/gdb
/gdbtk
; then
9357 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9358 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9360 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9361 # else does, only include them if one of these is built. The Makefile
9362 # provides the ordering, so it's enough here to add to the list.
9363 case " ${configdirs} " in
9365 configdirs
="${configdirs} gnulib gdbsupport"
9368 configdirs
="${configdirs} gnulib gdbsupport"
9372 # Strip out unwanted targets.
9374 # While at that, we remove Makefiles if we were started for recursive
9375 # configuration, so that the top-level Makefile reconfigures them,
9376 # like we used to do when configure itself was recursive.
9378 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
9379 # but now we're fixing up the Makefile ourselves with the additional
9380 # commands passed to AC_CONFIG_FILES. Use separate variables
9381 # extrasub-{build,host,target} not because there is any reason to split
9382 # the substitutions up that way, but only to remain below the limit of
9383 # 99 commands in a script, for HP-UX sed.
9385 # Do not nest @if/@endif or @unless/@endunless pairs, because
9386 # configure will not warn you at all.
9388 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
9389 yes:yes:*\ gold\
*:*,c
++,*) ;;
9390 yes:yes:*\ gold\
*:*)
9391 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
9396 for module
in ${build_configdirs} ; do
9397 if test -z "${no_recursion}" \
9398 && test -f ${build_subdir}/${module}/Makefile
; then
9399 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
9400 rm -f ${build_subdir}/${module}/Makefile
9402 extrasub_build
="$extrasub_build
9403 /^@if build-$module\$/d
9404 /^@endif build-$module\$/d
9405 /^@unless build-$module\$/,/^@endunless build-$module\$/d
9406 /^@if build-$module-$bootstrap_suffix\$/d
9407 /^@endif build-$module-$bootstrap_suffix\$/d
9408 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
9411 for module
in ${configdirs} ; do
9412 if test -z "${no_recursion}"; then
9413 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
9414 if test -f ${file}; then
9415 echo 1>&2 "*** removing ${file} to force reconfigure"
9420 case ${module},${bootstrap_fixincludes} in
9421 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
9422 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
9424 extrasub_host
="$extrasub_host
9426 /^@endif $module\$/d
9427 /^@unless $module\$/,/^@endunless $module\$/d
9428 /^@if $module-$host_bootstrap_suffix\$/d
9429 /^@endif $module-$host_bootstrap_suffix\$/d
9430 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
9433 for module
in ${target_configdirs} ; do
9434 if test -z "${no_recursion}" \
9435 && test -f ${target_subdir}/${module}/Makefile
; then
9436 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
9437 rm -f ${target_subdir}/${module}/Makefile
9440 # We only bootstrap target libraries listed in bootstrap_target_libs.
9441 case $bootstrap_target_libs in
9442 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
9443 *) target_bootstrap_suffix
=no-bootstrap
;;
9446 extrasub_target
="$extrasub_target
9447 /^@if target-$module\$/d
9448 /^@endif target-$module\$/d
9449 /^@unless target-$module\$/,/^@endunless target-$module\$/d
9450 /^@if target-$module-$target_bootstrap_suffix\$/d
9451 /^@endif target-$module-$target_bootstrap_suffix\$/d
9452 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
9455 # Do the final fixup along with target modules.
9456 extrasub_target
="$extrasub_target
9461 # Create the serialization dependencies. This uses a temporary file.
9463 # Check whether --enable-serial-configure was given.
9464 if test "${enable_serial_configure+set}" = set; then :
9465 enableval
=$enable_serial_configure;
9469 case ${enable_serial_configure} in
9471 enable_serial_build_configure
=yes
9472 enable_serial_host_configure
=yes
9473 enable_serial_target_configure
=yes
9477 # These force 'configure's to be done one at a time, to avoid problems
9478 # with contention over a shared config.cache.
9480 echo '# serdep.tmp' > serdep.tmp
9482 test "x${enable_serial_build_configure}" = xyes
&&
9483 for item
in ${build_configdirs} ; do
9486 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
9491 test "x${enable_serial_host_configure}" = xyes
&&
9492 for item
in ${configdirs} ; do
9495 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
9500 test "x${enable_serial_target_configure}" = xyes
&&
9501 for item
in ${target_configdirs} ; do
9504 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
9508 serialization_dependencies
=serdep.tmp
9511 # Base args. Strip norecursion, cache-file, srcdir, host, build,
9512 # target, nonopt, and variable assignments. These are the ones we
9513 # might not want to pass down to subconfigures. The exception being
9514 # --cache-file=/dev/null, which is used to turn off the use of cache
9515 # files altogether, and which should be passed on to subconfigures.
9516 # Also strip program-prefix, program-suffix, and program-transform-name,
9517 # so that we can pass down a consistent program-transform-name.
9522 eval "set -- $ac_configure_args"
9525 if test X
"$skip_next" = X
"yes"; then
9529 if test X
"$keep_next" = X
"yes"; then
9532 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9534 baseargs
="$baseargs '$ac_arg'"
9535 tbaseargs
="$tbaseargs '$ac_arg'"
9540 # Handle separated arguments. Based on the logic generated by
9543 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
9544 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
9545 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
9546 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
9560 --with-* |
--without-*)
9561 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
9565 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
9568 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
9577 mpc | mpfr | gmp | isl
)
9578 # If we're processing --with-$lib, --with-$lib-include or
9579 # --with-$lib-lib, for one of the libs above, and target is
9580 # different from host, don't pass the current argument to any
9581 # target library's configure.
9582 if test x
$is_cross_compiler = xyes
; then
9591 --cache-file=/dev
/null | \
9592 -cache-file=/dev
/null
)
9593 # Handled here to avoid the test to skip args below.
9594 baseargs
="$baseargs '$ac_arg'"
9595 tbaseargs
="$tbaseargs '$ac_arg'"
9596 # Assert: $separate_arg should always be no.
9597 keep_next
=$separate_arg
9613 -program-prefix* | \
9614 -program-suffix* | \
9615 -program-transform-name* )
9616 skip_next
=$separate_arg
9620 # An option. Add it.
9623 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9625 baseargs
="$baseargs '$ac_arg'"
9626 if test X
"$skip_targ" = Xno
; then
9627 tbaseargs
="$tbaseargs '$ac_arg'"
9629 keep_next
=$separate_arg
9632 # Either a variable assignment, or a nonopt (triplet). Don't
9633 # pass it down; let the Makefile handle this.
9638 # Remove the initial space we just introduced and, as these will be
9639 # expanded by make, quote '$'.
9640 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
9642 # Add in --program-transform-name, after --program-prefix and
9643 # --program-suffix have been applied to it. Autoconf has already
9644 # doubled dollar signs and backslashes in program_transform_name; we want
9645 # the backslashes un-doubled, and then the entire thing wrapped in single
9646 # quotes, because this will be expanded first by make and then by the shell.
9647 # Also, because we want to override the logic in subdir configure scripts to
9648 # choose program_transform_name, replace any s,x,x, with s,y,y,.
9649 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
9650 ${program_transform_name}
9652 gcc_transform_name
=`cat conftestsed.out`
9653 rm -f conftestsed.out
9654 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
9655 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
9656 if test "$silent" = yes; then
9657 baseargs
="$baseargs --silent"
9658 tbaseargs
="$tbaseargs --silent"
9660 baseargs
="$baseargs --disable-option-checking"
9661 tbaseargs
="$tbaseargs --disable-option-checking"
9663 # Record and document user additions to sub configure arguments.
9668 # For the build-side libraries, we just need to pretend we're native,
9669 # and not use the same cache file. Multilibs are neither needed nor
9670 # desired. We can't even use the same cache file for all build-side
9671 # libraries, as they're compiled differently; some with C, some with
9672 # C++ or with different feature-enabling options.
9673 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
9675 # For host modules, accept cache file option, or specification as blank.
9676 case "${cache_file}" in
9678 cache_file_option
="" ;;
9679 /* |
[A-Za-z
]:[\\/]* ) # absolute path
9680 cache_file_option
="--cache-file=${cache_file}" ;;
9682 cache_file_option
="--cache-file=../${cache_file}" ;;
9685 # Host dirs don't like to share a cache file either, horribly enough.
9686 # This seems to be due to autoconf 2.5x stupidity.
9687 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
9689 target_configargs
="$target_configargs ${tbaseargs}"
9691 # Passing a --with-cross-host argument lets the target libraries know
9692 # whether they are being built with a cross-compiler or being built
9693 # native. However, it would be better to use other mechanisms to make the
9694 # sorts of decisions they want to make on this basis. Please consider
9695 # this option to be deprecated. FIXME.
9696 if test x
${is_cross_compiler} = xyes
; then
9697 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
9700 # Special user-friendly check for native x86_64-linux build, if
9701 # multilib is not explicitly enabled.
9702 case "$target:$have_compiler:$host:$target:$enable_multilib" in
9703 x86_64-
*linux
*:yes:$build:$build:)
9704 # Make sure we have a development environment that handles 32-bit
9706 echo "int main () { return 0; }" > conftest.c
9707 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9708 if test $?
= 0 ; then
9709 if test -s conftest ||
test -s conftest.exe
; then
9714 if test x
${dev64} != xyes
; then
9715 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
9720 # Default to --enable-multilib.
9721 if test x
${enable_multilib} = x
; then
9722 target_configargs
="--enable-multilib ${target_configargs}"
9725 # Pass --with-newlib if appropriate. Note that target_configdirs has
9726 # changed from the earlier setting of with_newlib.
9727 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
9728 target_configargs
="--with-newlib ${target_configargs}"
9731 # Different target subdirs use different values of certain variables
9732 # (notably CXX). Worse, multilibs use *lots* of different values.
9733 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
9734 # it doesn't automatically accept command-line overrides of them.
9735 # This means it's not safe for target subdirs to share a cache file,
9736 # which is disgusting, but there you have it. Hopefully this can be
9737 # fixed in future. It's still worthwhile to use a cache file for each
9738 # directory. I think.
9740 # Pass the appropriate --build, --host, --target and --cache-file arguments.
9741 # We need to pass --target, as newer autoconf's requires consistency
9742 # for target_alias and gcc doesn't manage it consistently.
9743 target_configargs
="--cache-file=./config.cache ${target_configargs}"
9746 case " $target_configdirs " in
9748 case " $target_configargs " in
9749 *" --with-newlib "*)
9752 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
9756 # If we're not building GCC, don't discard standard headers.
9757 if test -d ${srcdir}/gcc
; then
9758 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
9760 if test "${build}" != "${host}"; then
9761 # On Canadian crosses, CC_FOR_TARGET will have already been set
9762 # by `configure', so we won't have an opportunity to add -Bgcc/
9763 # to it. This is right: we don't want to search that directory
9764 # for binaries, but we want the header files in there, so add
9766 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
9768 # Someone might think of using the pre-installed headers on
9769 # Canadian crosses, in case the installed compiler is not fully
9770 # compatible with the compiler being built. In this case, it
9771 # would be better to flag an error than risking having
9772 # incompatible object files being constructed. We can't
9773 # guarantee that an error will be flagged, but let's hope the
9774 # compiler will do it, when presented with incompatible header
9779 case "${target}-${is_cross_compiler}" in
9780 i
[3456789]86-*-linux*-no)
9781 # Here host == target, so we don't need to build gcc,
9782 # so we don't want to discard standard headers.
9783 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
9786 # If we're building newlib, use its generic headers last, but search
9787 # for any libc-related directories first (so make it the last -B
9789 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
9791 # If we're building libgloss, find the startup file, simulator library
9792 # and linker script.
9793 case " $target_configdirs " in
9795 # Look for startup file, simulator library and maybe linker script.
9796 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
9797 # Look for libnosys.a in case the target needs it.
9798 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
9799 # Most targets have the linker script in the source directory.
9800 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
9811 x86_64-
*mingw
* |
*-w64-mingw*)
9812 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
9813 # however, use a symlink named 'mingw' in ${prefix} .
9814 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
9817 # MinGW can't be handled as Cygwin above since it does not use newlib.
9818 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'
9822 # Allow the user to override the flags for
9823 # our build compiler if desired.
9824 if test x
"${build}" = x
"${host}" ; then
9825 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
9826 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
9827 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
9830 # On Canadian crosses, we'll be searching the right directories for
9831 # the previously-installed cross compiler, so don't bother to add
9832 # flags for directories within the install tree of the compiler
9833 # being built; programs in there won't even run.
9834 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
9835 # Search for pre-installed headers if nothing else fits.
9836 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
9839 if test "x
${use_gnu_ld}" = x &&
9840 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
9841 # Arrange for us to find uninstalled linker scripts.
9842 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
9845 # Search for other target-specific linker scripts and such.
9848 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
9852 # Makefile fragments.
9853 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
9855 eval fragval=\$$frag
9856 if test $fragval != /dev/null; then
9857 eval $frag=${srcdir}/$fragval
9865 # Miscellanea: directories, flags, etc.
9874 # Build module lists & subconfigure args.
9878 # Host module lists & subconfigure args.
9883 # Target module lists & subconfigure args.
9905 # Generate default definitions for YACC, M4, LEX and other programs that run
9906 # on the build machine. These are used if the Makefile can't locate these
9907 # programs in objdir.
9908 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
9910 for ac_prog in 'bison -y' byacc yacc
9912 # Extract the first word of "$ac_prog", so it can be a program name with args.
9913 set dummy $ac_prog; ac_word=$2
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9915 $as_echo_n "checking
for $ac_word...
" >&6; }
9916 if ${ac_cv_prog_YACC+:} false; then :
9917 $as_echo_n "(cached
) " >&6
9919 if test -n "$YACC"; then
9920 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9926 test -z "$as_dir" && as_dir=.
9927 for ac_exec_ext in '' $ac_executable_extensions; do
9928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9929 ac_cv_prog_YACC="$ac_prog"
9930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9939 YACC=$ac_cv_prog_YACC
9940 if test -n "$YACC"; then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
9942 $as_echo "$YACC" >&6; }
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9945 $as_echo "no
" >&6; }
9949 test -n "$YACC" && break
9951 test -n "$YACC" || YACC="$MISSING bison
-y"
9953 case " $build_configdirs " in
9954 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
9957 for ac_prog in bison
9959 # Extract the first word of "$ac_prog", so it can be a program name with args.
9960 set dummy $ac_prog; ac_word=$2
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9962 $as_echo_n "checking
for $ac_word...
" >&6; }
9963 if ${ac_cv_prog_BISON+:} false; then :
9964 $as_echo_n "(cached
) " >&6
9966 if test -n "$BISON"; then
9967 ac_cv_prog_BISON="$BISON" # Let the user override the test.
9969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9973 test -z "$as_dir" && as_dir=.
9974 for ac_exec_ext in '' $ac_executable_extensions; do
9975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9976 ac_cv_prog_BISON="$ac_prog"
9977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9986 BISON=$ac_cv_prog_BISON
9987 if test -n "$BISON"; then
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
9989 $as_echo "$BISON" >&6; }
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9992 $as_echo "no
" >&6; }
9996 test -n "$BISON" && break
9998 test -n "$BISON" || BISON="$MISSING bison
"
10000 case " $build_configdirs " in
10001 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10004 for ac_prog in gm4 gnum4 m4
10006 # Extract the first word of "$ac_prog", so it can be a program name with args.
10007 set dummy $ac_prog; ac_word=$2
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10009 $as_echo_n "checking
for $ac_word...
" >&6; }
10010 if ${ac_cv_prog_M4+:} false; then :
10011 $as_echo_n "(cached
) " >&6
10013 if test -n "$M4"; then
10014 ac_cv_prog_M4="$M4" # Let the user override the test.
10016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10017 for as_dir in $PATH
10020 test -z "$as_dir" && as_dir=.
10021 for ac_exec_ext in '' $ac_executable_extensions; do
10022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10023 ac_cv_prog_M4="$ac_prog"
10024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10034 if test -n "$M4"; then
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10036 $as_echo "$M4" >&6; }
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10039 $as_echo "no
" >&6; }
10043 test -n "$M4" && break
10045 test -n "$M4" || M4="$MISSING m4"
10047 case " $build_configdirs " in
10048 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10051 for ac_prog in flex lex
10053 # Extract the first word of "$ac_prog", so it can be a program name with args.
10054 set dummy $ac_prog; ac_word=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10056 $as_echo_n "checking
for $ac_word...
" >&6; }
10057 if ${ac_cv_prog_LEX+:} false; then :
10058 $as_echo_n "(cached
) " >&6
10060 if test -n "$LEX"; then
10061 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10064 for as_dir in $PATH
10067 test -z "$as_dir" && as_dir=.
10068 for ac_exec_ext in '' $ac_executable_extensions; do
10069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10070 ac_cv_prog_LEX="$ac_prog"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10080 LEX=$ac_cv_prog_LEX
10081 if test -n "$LEX"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10083 $as_echo "$LEX" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10086 $as_echo "no
" >&6; }
10090 test -n "$LEX" && break
10092 test -n "$LEX" || LEX="$MISSING flex
"
10094 case " $build_configdirs " in
10095 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10096 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10099 for ac_prog in flex
10101 # Extract the first word of "$ac_prog", so it can be a program name with args.
10102 set dummy $ac_prog; ac_word=$2
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10104 $as_echo_n "checking
for $ac_word...
" >&6; }
10105 if ${ac_cv_prog_FLEX+:} false; then :
10106 $as_echo_n "(cached
) " >&6
10108 if test -n "$FLEX"; then
10109 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10112 for as_dir in $PATH
10115 test -z "$as_dir" && as_dir=.
10116 for ac_exec_ext in '' $ac_executable_extensions; do
10117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10118 ac_cv_prog_FLEX="$ac_prog"
10119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10128 FLEX=$ac_cv_prog_FLEX
10129 if test -n "$FLEX"; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10131 $as_echo "$FLEX" >&6; }
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10134 $as_echo "no
" >&6; }
10138 test -n "$FLEX" && break
10140 test -n "$FLEX" || FLEX="$MISSING flex
"
10142 case " $build_configdirs " in
10143 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10146 for ac_prog in makeinfo
10148 # Extract the first word of "$ac_prog", so it can be a program name with args.
10149 set dummy $ac_prog; ac_word=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10151 $as_echo_n "checking
for $ac_word...
" >&6; }
10152 if ${ac_cv_prog_MAKEINFO+:} false; then :
10153 $as_echo_n "(cached
) " >&6
10155 if test -n "$MAKEINFO"; then
10156 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10159 for as_dir in $PATH
10162 test -z "$as_dir" && as_dir=.
10163 for ac_exec_ext in '' $ac_executable_extensions; do
10164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10165 ac_cv_prog_MAKEINFO="$ac_prog"
10166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10175 MAKEINFO=$ac_cv_prog_MAKEINFO
10176 if test -n "$MAKEINFO"; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10178 $as_echo "$MAKEINFO" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10181 $as_echo "no
" >&6; }
10185 test -n "$MAKEINFO" && break
10187 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10189 case " $build_configdirs " in
10190 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10193 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10194 # higher, else we use the "missing
" dummy.
10195 if ${MAKEINFO} --version \
10196 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10199 MAKEINFO="$MISSING makeinfo
"
10205 # FIXME: expect and dejagnu may become build tools?
10207 for ac_prog in expect
10209 # Extract the first word of "$ac_prog", so it can be a program name with args.
10210 set dummy $ac_prog; ac_word=$2
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10212 $as_echo_n "checking
for $ac_word...
" >&6; }
10213 if ${ac_cv_prog_EXPECT+:} false; then :
10214 $as_echo_n "(cached
) " >&6
10216 if test -n "$EXPECT"; then
10217 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10220 for as_dir in $PATH
10223 test -z "$as_dir" && as_dir=.
10224 for ac_exec_ext in '' $ac_executable_extensions; do
10225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10226 ac_cv_prog_EXPECT="$ac_prog"
10227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10236 EXPECT=$ac_cv_prog_EXPECT
10237 if test -n "$EXPECT"; then
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10239 $as_echo "$EXPECT" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10242 $as_echo "no
" >&6; }
10246 test -n "$EXPECT" && break
10248 test -n "$EXPECT" || EXPECT="expect
"
10250 case " $configdirs " in
10252 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10256 for ac_prog in runtest
10258 # Extract the first word of "$ac_prog", so it can be a program name with args.
10259 set dummy $ac_prog; ac_word=$2
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10261 $as_echo_n "checking
for $ac_word...
" >&6; }
10262 if ${ac_cv_prog_RUNTEST+:} false; then :
10263 $as_echo_n "(cached
) " >&6
10265 if test -n "$RUNTEST"; then
10266 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_prog_RUNTEST="$ac_prog"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10285 RUNTEST=$ac_cv_prog_RUNTEST
10286 if test -n "$RUNTEST"; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10288 $as_echo "$RUNTEST" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10291 $as_echo "no
" >&6; }
10295 test -n "$RUNTEST" && break
10297 test -n "$RUNTEST" || RUNTEST="runtest
"
10299 case " $configdirs " in
10301 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10308 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10309 ncn_target_tool_prefix=
10310 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10314 if test -n "$AR"; then
10316 elif test -n "$ac_cv_prog_AR"; then
10320 if test -n "$ac_cv_prog_AR"; then
10321 for ncn_progname in ar; do
10322 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10323 set dummy ${ncn_progname}; ac_word=$2
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10325 $as_echo_n "checking
for $ac_word...
" >&6; }
10326 if ${ac_cv_prog_AR+:} false; then :
10327 $as_echo_n "(cached
) " >&6
10329 if test -n "$AR"; then
10330 ac_cv_prog_AR="$AR" # Let the user override the test.
10332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10333 for as_dir in $PATH
10336 test -z "$as_dir" && as_dir=.
10337 for ac_exec_ext in '' $ac_executable_extensions; do
10338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10339 ac_cv_prog_AR="${ncn_progname}"
10340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10350 if test -n "$AR"; then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10352 $as_echo "$AR" >&6; }
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10355 $as_echo "no
" >&6; }
10362 for ncn_progname in ar; do
10363 if test -n "$ncn_tool_prefix"; then
10364 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10365 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10367 $as_echo_n "checking
for $ac_word...
" >&6; }
10368 if ${ac_cv_prog_AR+:} false; then :
10369 $as_echo_n "(cached
) " >&6
10371 if test -n "$AR"; then
10372 ac_cv_prog_AR="$AR" # Let the user override the test.
10374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10375 for as_dir in $PATH
10378 test -z "$as_dir" && as_dir=.
10379 for ac_exec_ext in '' $ac_executable_extensions; do
10380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10381 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
10382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10392 if test -n "$AR"; then
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10394 $as_echo "$AR" >&6; }
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10397 $as_echo "no
" >&6; }
10402 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
10403 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10404 set dummy ${ncn_progname}; ac_word=$2
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10406 $as_echo_n "checking
for $ac_word...
" >&6; }
10407 if ${ac_cv_prog_AR+:} false; then :
10408 $as_echo_n "(cached
) " >&6
10410 if test -n "$AR"; then
10411 ac_cv_prog_AR="$AR" # Let the user override the test.
10413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10414 for as_dir in $PATH
10417 test -z "$as_dir" && as_dir=.
10418 for ac_exec_ext in '' $ac_executable_extensions; do
10419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10420 ac_cv_prog_AR="${ncn_progname}"
10421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10431 if test -n "$AR"; then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10433 $as_echo "$AR" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10436 $as_echo "no
" >&6; }
10441 test -n "$ac_cv_prog_AR" && break
10444 if test -z "$ac_cv_prog_AR" ; then
10446 if test $build = $host ; then
10449 AR="${ncn_tool_prefix}$2"
10455 if test -n "$AS"; then
10457 elif test -n "$ac_cv_prog_AS"; then
10461 if test -n "$ac_cv_prog_AS"; then
10462 for ncn_progname in as; do
10463 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10464 set dummy ${ncn_progname}; ac_word=$2
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10466 $as_echo_n "checking
for $ac_word...
" >&6; }
10467 if ${ac_cv_prog_AS+:} false; then :
10468 $as_echo_n "(cached
) " >&6
10470 if test -n "$AS"; then
10471 ac_cv_prog_AS="$AS" # Let the user override the test.
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10477 test -z "$as_dir" && as_dir=.
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_AS="${ncn_progname}"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10491 if test -n "$AS"; then
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10493 $as_echo "$AS" >&6; }
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10496 $as_echo "no
" >&6; }
10503 for ncn_progname in as; do
10504 if test -n "$ncn_tool_prefix"; then
10505 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10506 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10508 $as_echo_n "checking
for $ac_word...
" >&6; }
10509 if ${ac_cv_prog_AS+:} false; then :
10510 $as_echo_n "(cached
) " >&6
10512 if test -n "$AS"; then
10513 ac_cv_prog_AS="$AS" # Let the user override the test.
10515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10516 for as_dir in $PATH
10519 test -z "$as_dir" && as_dir=.
10520 for ac_exec_ext in '' $ac_executable_extensions; do
10521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10522 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
10523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10533 if test -n "$AS"; then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10535 $as_echo "$AS" >&6; }
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10538 $as_echo "no
" >&6; }
10543 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
10544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10545 set dummy ${ncn_progname}; ac_word=$2
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10547 $as_echo_n "checking
for $ac_word...
" >&6; }
10548 if ${ac_cv_prog_AS+:} false; then :
10549 $as_echo_n "(cached
) " >&6
10551 if test -n "$AS"; then
10552 ac_cv_prog_AS="$AS" # Let the user override the test.
10554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10555 for as_dir in $PATH
10558 test -z "$as_dir" && as_dir=.
10559 for ac_exec_ext in '' $ac_executable_extensions; do
10560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10561 ac_cv_prog_AS="${ncn_progname}"
10562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10572 if test -n "$AS"; then
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10574 $as_echo "$AS" >&6; }
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10577 $as_echo "no
" >&6; }
10582 test -n "$ac_cv_prog_AS" && break
10585 if test -z "$ac_cv_prog_AS" ; then
10587 if test $build = $host ; then
10590 AS="${ncn_tool_prefix}$2"
10596 if test -n "$DLLTOOL"; then
10597 ac_cv_prog_DLLTOOL=$DLLTOOL
10598 elif test -n "$ac_cv_prog_DLLTOOL"; then
10599 DLLTOOL=$ac_cv_prog_DLLTOOL
10602 if test -n "$ac_cv_prog_DLLTOOL"; then
10603 for ncn_progname in dlltool; do
10604 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10605 set dummy ${ncn_progname}; ac_word=$2
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10607 $as_echo_n "checking
for $ac_word...
" >&6; }
10608 if ${ac_cv_prog_DLLTOOL+:} false; then :
10609 $as_echo_n "(cached
) " >&6
10611 if test -n "$DLLTOOL"; then
10612 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615 for as_dir in $PATH
10618 test -z "$as_dir" && as_dir=.
10619 for ac_exec_ext in '' $ac_executable_extensions; do
10620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_prog_DLLTOOL="${ncn_progname}"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10631 DLLTOOL=$ac_cv_prog_DLLTOOL
10632 if test -n "$DLLTOOL"; then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10634 $as_echo "$DLLTOOL" >&6; }
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10637 $as_echo "no
" >&6; }
10644 for ncn_progname in dlltool; do
10645 if test -n "$ncn_tool_prefix"; then
10646 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10647 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10649 $as_echo_n "checking
for $ac_word...
" >&6; }
10650 if ${ac_cv_prog_DLLTOOL+:} false; then :
10651 $as_echo_n "(cached
) " >&6
10653 if test -n "$DLLTOOL"; then
10654 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10657 for as_dir in $PATH
10660 test -z "$as_dir" && as_dir=.
10661 for ac_exec_ext in '' $ac_executable_extensions; do
10662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10663 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
10664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10673 DLLTOOL=$ac_cv_prog_DLLTOOL
10674 if test -n "$DLLTOOL"; then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10676 $as_echo "$DLLTOOL" >&6; }
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10679 $as_echo "no
" >&6; }
10684 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
10685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10686 set dummy ${ncn_progname}; 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_DLLTOOL+:} false; then :
10690 $as_echo_n "(cached
) " >&6
10692 if test -n "$DLLTOOL"; then
10693 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ncn_progname}"
10703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10712 DLLTOOL=$ac_cv_prog_DLLTOOL
10713 if test -n "$DLLTOOL"; then
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10715 $as_echo "$DLLTOOL" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10718 $as_echo "no
" >&6; }
10723 test -n "$ac_cv_prog_DLLTOOL" && break
10726 if test -z "$ac_cv_prog_DLLTOOL" ; then
10728 if test $build = $host ; then
10731 DLLTOOL="${ncn_tool_prefix}$2"
10737 if test -n "$LD"; then
10739 elif test -n "$ac_cv_prog_LD"; then
10743 if test -n "$ac_cv_prog_LD"; then
10744 for ncn_progname in ld; do
10745 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10746 set dummy ${ncn_progname}; ac_word=$2
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10748 $as_echo_n "checking
for $ac_word...
" >&6; }
10749 if ${ac_cv_prog_LD+:} false; then :
10750 $as_echo_n "(cached
) " >&6
10752 if test -n "$LD"; then
10753 ac_cv_prog_LD="$LD" # Let the user override the test.
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10759 test -z "$as_dir" && as_dir=.
10760 for ac_exec_ext in '' $ac_executable_extensions; do
10761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_LD="${ncn_progname}"
10763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10773 if test -n "$LD"; then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
10775 $as_echo "$LD" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10778 $as_echo "no
" >&6; }
10785 for ncn_progname in ld; do
10786 if test -n "$ncn_tool_prefix"; then
10787 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10788 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10790 $as_echo_n "checking
for $ac_word...
" >&6; }
10791 if ${ac_cv_prog_LD+:} false; then :
10792 $as_echo_n "(cached
) " >&6
10794 if test -n "$LD"; then
10795 ac_cv_prog_LD="$LD" # Let the user override the test.
10797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10798 for as_dir in $PATH
10801 test -z "$as_dir" && as_dir=.
10802 for ac_exec_ext in '' $ac_executable_extensions; do
10803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
10805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10815 if test -n "$LD"; then
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
10817 $as_echo "$LD" >&6; }
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10820 $as_echo "no
" >&6; }
10825 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
10826 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10827 set dummy ${ncn_progname}; ac_word=$2
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10829 $as_echo_n "checking
for $ac_word...
" >&6; }
10830 if ${ac_cv_prog_LD+:} false; then :
10831 $as_echo_n "(cached
) " >&6
10833 if test -n "$LD"; then
10834 ac_cv_prog_LD="$LD" # Let the user override the test.
10836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10837 for as_dir in $PATH
10840 test -z "$as_dir" && as_dir=.
10841 for ac_exec_ext in '' $ac_executable_extensions; do
10842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10843 ac_cv_prog_LD="${ncn_progname}"
10844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10854 if test -n "$LD"; then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
10856 $as_echo "$LD" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10859 $as_echo "no
" >&6; }
10864 test -n "$ac_cv_prog_LD" && break
10867 if test -z "$ac_cv_prog_LD" ; then
10869 if test $build = $host ; then
10872 LD="${ncn_tool_prefix}$2"
10878 if test -n "$LIPO"; then
10879 ac_cv_prog_LIPO=$LIPO
10880 elif test -n "$ac_cv_prog_LIPO"; then
10881 LIPO=$ac_cv_prog_LIPO
10884 if test -n "$ac_cv_prog_LIPO"; then
10885 for ncn_progname in lipo; do
10886 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10887 set dummy ${ncn_progname}; ac_word=$2
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10889 $as_echo_n "checking
for $ac_word...
" >&6; }
10890 if ${ac_cv_prog_LIPO+:} false; then :
10891 $as_echo_n "(cached
) " >&6
10893 if test -n "$LIPO"; then
10894 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10897 for as_dir in $PATH
10900 test -z "$as_dir" && as_dir=.
10901 for ac_exec_ext in '' $ac_executable_extensions; do
10902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10903 ac_cv_prog_LIPO="${ncn_progname}"
10904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10913 LIPO=$ac_cv_prog_LIPO
10914 if test -n "$LIPO"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
10916 $as_echo "$LIPO" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10919 $as_echo "no
" >&6; }
10926 for ncn_progname in lipo; do
10927 if test -n "$ncn_tool_prefix"; then
10928 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10929 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10931 $as_echo_n "checking
for $ac_word...
" >&6; }
10932 if ${ac_cv_prog_LIPO+:} false; then :
10933 $as_echo_n "(cached
) " >&6
10935 if test -n "$LIPO"; then
10936 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10939 for as_dir in $PATH
10942 test -z "$as_dir" && as_dir=.
10943 for ac_exec_ext in '' $ac_executable_extensions; do
10944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10945 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
10946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10955 LIPO=$ac_cv_prog_LIPO
10956 if test -n "$LIPO"; then
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
10958 $as_echo "$LIPO" >&6; }
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10961 $as_echo "no
" >&6; }
10966 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
10967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10968 set dummy ${ncn_progname}; ac_word=$2
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10970 $as_echo_n "checking
for $ac_word...
" >&6; }
10971 if ${ac_cv_prog_LIPO+:} false; then :
10972 $as_echo_n "(cached
) " >&6
10974 if test -n "$LIPO"; then
10975 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in $PATH
10981 test -z "$as_dir" && as_dir=.
10982 for ac_exec_ext in '' $ac_executable_extensions; do
10983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10984 ac_cv_prog_LIPO="${ncn_progname}"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10994 LIPO=$ac_cv_prog_LIPO
10995 if test -n "$LIPO"; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
10997 $as_echo "$LIPO" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11000 $as_echo "no
" >&6; }
11005 test -n "$ac_cv_prog_LIPO" && break
11008 if test -z "$ac_cv_prog_LIPO" ; then
11010 if test $build = $host ; then
11013 LIPO="${ncn_tool_prefix}$2"
11019 if test -n "$NM"; then
11021 elif test -n "$ac_cv_prog_NM"; then
11025 if test -n "$ac_cv_prog_NM"; then
11026 for ncn_progname in nm; do
11027 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11028 set dummy ${ncn_progname}; ac_word=$2
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11030 $as_echo_n "checking
for $ac_word...
" >&6; }
11031 if ${ac_cv_prog_NM+:} false; then :
11032 $as_echo_n "(cached
) " >&6
11034 if test -n "$NM"; then
11035 ac_cv_prog_NM="$NM" # Let the user override the test.
11037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11038 for as_dir in $PATH
11041 test -z "$as_dir" && as_dir=.
11042 for ac_exec_ext in '' $ac_executable_extensions; do
11043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11044 ac_cv_prog_NM="${ncn_progname}"
11045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11055 if test -n "$NM"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11057 $as_echo "$NM" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11060 $as_echo "no
" >&6; }
11067 for ncn_progname in nm; do
11068 if test -n "$ncn_tool_prefix"; then
11069 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11070 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11072 $as_echo_n "checking
for $ac_word...
" >&6; }
11073 if ${ac_cv_prog_NM+:} false; then :
11074 $as_echo_n "(cached
) " >&6
11076 if test -n "$NM"; then
11077 ac_cv_prog_NM="$NM" # Let the user override the test.
11079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11080 for as_dir in $PATH
11083 test -z "$as_dir" && as_dir=.
11084 for ac_exec_ext in '' $ac_executable_extensions; do
11085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11086 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11097 if test -n "$NM"; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11099 $as_echo "$NM" >&6; }
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11102 $as_echo "no
" >&6; }
11107 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11109 set dummy ${ncn_progname}; ac_word=$2
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11111 $as_echo_n "checking
for $ac_word...
" >&6; }
11112 if ${ac_cv_prog_NM+:} false; then :
11113 $as_echo_n "(cached
) " >&6
11115 if test -n "$NM"; then
11116 ac_cv_prog_NM="$NM" # Let the user override the test.
11118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11119 for as_dir in $PATH
11122 test -z "$as_dir" && as_dir=.
11123 for ac_exec_ext in '' $ac_executable_extensions; do
11124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11125 ac_cv_prog_NM="${ncn_progname}"
11126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11136 if test -n "$NM"; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11138 $as_echo "$NM" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11141 $as_echo "no
" >&6; }
11146 test -n "$ac_cv_prog_NM" && break
11149 if test -z "$ac_cv_prog_NM" ; then
11151 if test $build = $host ; then
11154 NM="${ncn_tool_prefix}$2"
11160 if test -n "$RANLIB"; then
11161 ac_cv_prog_RANLIB=$RANLIB
11162 elif test -n "$ac_cv_prog_RANLIB"; then
11163 RANLIB=$ac_cv_prog_RANLIB
11166 if test -n "$ac_cv_prog_RANLIB"; then
11167 for ncn_progname in ranlib; do
11168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11169 set dummy ${ncn_progname}; ac_word=$2
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11171 $as_echo_n "checking
for $ac_word...
" >&6; }
11172 if ${ac_cv_prog_RANLIB+:} false; then :
11173 $as_echo_n "(cached
) " >&6
11175 if test -n "$RANLIB"; then
11176 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11179 for as_dir in $PATH
11182 test -z "$as_dir" && as_dir=.
11183 for ac_exec_ext in '' $ac_executable_extensions; do
11184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11185 ac_cv_prog_RANLIB="${ncn_progname}"
11186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11195 RANLIB=$ac_cv_prog_RANLIB
11196 if test -n "$RANLIB"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11198 $as_echo "$RANLIB" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11201 $as_echo "no
" >&6; }
11208 for ncn_progname in ranlib; do
11209 if test -n "$ncn_tool_prefix"; then
11210 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11211 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11213 $as_echo_n "checking
for $ac_word...
" >&6; }
11214 if ${ac_cv_prog_RANLIB+:} false; then :
11215 $as_echo_n "(cached
) " >&6
11217 if test -n "$RANLIB"; then
11218 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11221 for as_dir in $PATH
11224 test -z "$as_dir" && as_dir=.
11225 for ac_exec_ext in '' $ac_executable_extensions; do
11226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11227 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
11228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11237 RANLIB=$ac_cv_prog_RANLIB
11238 if test -n "$RANLIB"; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11240 $as_echo "$RANLIB" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11243 $as_echo "no
" >&6; }
11248 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
11249 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11250 set dummy ${ncn_progname}; ac_word=$2
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11252 $as_echo_n "checking
for $ac_word...
" >&6; }
11253 if ${ac_cv_prog_RANLIB+:} false; then :
11254 $as_echo_n "(cached
) " >&6
11256 if test -n "$RANLIB"; then
11257 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260 for as_dir in $PATH
11263 test -z "$as_dir" && as_dir=.
11264 for ac_exec_ext in '' $ac_executable_extensions; do
11265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11266 ac_cv_prog_RANLIB="${ncn_progname}"
11267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11276 RANLIB=$ac_cv_prog_RANLIB
11277 if test -n "$RANLIB"; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11279 $as_echo "$RANLIB" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11282 $as_echo "no
" >&6; }
11287 test -n "$ac_cv_prog_RANLIB" && break
11290 if test -z "$ac_cv_prog_RANLIB" ; then
11296 if test -n "$STRIP"; then
11297 ac_cv_prog_STRIP=$STRIP
11298 elif test -n "$ac_cv_prog_STRIP"; then
11299 STRIP=$ac_cv_prog_STRIP
11302 if test -n "$ac_cv_prog_STRIP"; then
11303 for ncn_progname in strip; do
11304 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11305 set dummy ${ncn_progname}; ac_word=$2
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11307 $as_echo_n "checking
for $ac_word...
" >&6; }
11308 if ${ac_cv_prog_STRIP+:} false; then :
11309 $as_echo_n "(cached
) " >&6
11311 if test -n "$STRIP"; then
11312 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11315 for as_dir in $PATH
11318 test -z "$as_dir" && as_dir=.
11319 for ac_exec_ext in '' $ac_executable_extensions; do
11320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11321 ac_cv_prog_STRIP="${ncn_progname}"
11322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11331 STRIP=$ac_cv_prog_STRIP
11332 if test -n "$STRIP"; then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11334 $as_echo "$STRIP" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11337 $as_echo "no
" >&6; }
11344 for ncn_progname in strip; do
11345 if test -n "$ncn_tool_prefix"; then
11346 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11347 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11349 $as_echo_n "checking
for $ac_word...
" >&6; }
11350 if ${ac_cv_prog_STRIP+:} false; then :
11351 $as_echo_n "(cached
) " >&6
11353 if test -n "$STRIP"; then
11354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357 for as_dir in $PATH
11360 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do
11362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11363 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
11364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11373 STRIP=$ac_cv_prog_STRIP
11374 if test -n "$STRIP"; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11376 $as_echo "$STRIP" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11379 $as_echo "no
" >&6; }
11384 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
11385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11386 set dummy ${ncn_progname}; ac_word=$2
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11388 $as_echo_n "checking
for $ac_word...
" >&6; }
11389 if ${ac_cv_prog_STRIP+:} false; then :
11390 $as_echo_n "(cached
) " >&6
11392 if test -n "$STRIP"; then
11393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11396 for as_dir in $PATH
11399 test -z "$as_dir" && as_dir=.
11400 for ac_exec_ext in '' $ac_executable_extensions; do
11401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11402 ac_cv_prog_STRIP="${ncn_progname}"
11403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11412 STRIP=$ac_cv_prog_STRIP
11413 if test -n "$STRIP"; then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11415 $as_echo "$STRIP" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11418 $as_echo "no
" >&6; }
11423 test -n "$ac_cv_prog_STRIP" && break
11426 if test -z "$ac_cv_prog_STRIP" ; then
11432 if test -n "$WINDRES"; then
11433 ac_cv_prog_WINDRES=$WINDRES
11434 elif test -n "$ac_cv_prog_WINDRES"; then
11435 WINDRES=$ac_cv_prog_WINDRES
11438 if test -n "$ac_cv_prog_WINDRES"; then
11439 for ncn_progname in windres; do
11440 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11441 set dummy ${ncn_progname}; ac_word=$2
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11443 $as_echo_n "checking
for $ac_word...
" >&6; }
11444 if ${ac_cv_prog_WINDRES+:} false; then :
11445 $as_echo_n "(cached
) " >&6
11447 if test -n "$WINDRES"; then
11448 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11451 for as_dir in $PATH
11454 test -z "$as_dir" && as_dir=.
11455 for ac_exec_ext in '' $ac_executable_extensions; do
11456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11457 ac_cv_prog_WINDRES="${ncn_progname}"
11458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11467 WINDRES=$ac_cv_prog_WINDRES
11468 if test -n "$WINDRES"; then
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11470 $as_echo "$WINDRES" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11473 $as_echo "no
" >&6; }
11480 for ncn_progname in windres; do
11481 if test -n "$ncn_tool_prefix"; then
11482 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11483 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11485 $as_echo_n "checking
for $ac_word...
" >&6; }
11486 if ${ac_cv_prog_WINDRES+:} false; then :
11487 $as_echo_n "(cached
) " >&6
11489 if test -n "$WINDRES"; then
11490 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11493 for as_dir in $PATH
11496 test -z "$as_dir" && as_dir=.
11497 for ac_exec_ext in '' $ac_executable_extensions; do
11498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11499 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
11500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11509 WINDRES=$ac_cv_prog_WINDRES
11510 if test -n "$WINDRES"; then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11512 $as_echo "$WINDRES" >&6; }
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11515 $as_echo "no
" >&6; }
11520 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
11521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11522 set dummy ${ncn_progname}; ac_word=$2
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11524 $as_echo_n "checking
for $ac_word...
" >&6; }
11525 if ${ac_cv_prog_WINDRES+:} false; then :
11526 $as_echo_n "(cached
) " >&6
11528 if test -n "$WINDRES"; then
11529 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11532 for as_dir in $PATH
11535 test -z "$as_dir" && as_dir=.
11536 for ac_exec_ext in '' $ac_executable_extensions; do
11537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11538 ac_cv_prog_WINDRES="${ncn_progname}"
11539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11548 WINDRES=$ac_cv_prog_WINDRES
11549 if test -n "$WINDRES"; then
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11551 $as_echo "$WINDRES" >&6; }
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11554 $as_echo "no
" >&6; }
11559 test -n "$ac_cv_prog_WINDRES" && break
11562 if test -z "$ac_cv_prog_WINDRES" ; then
11564 if test $build = $host ; then
11567 WINDRES="${ncn_tool_prefix}$2"
11573 if test -n "$WINDMC"; then
11574 ac_cv_prog_WINDMC=$WINDMC
11575 elif test -n "$ac_cv_prog_WINDMC"; then
11576 WINDMC=$ac_cv_prog_WINDMC
11579 if test -n "$ac_cv_prog_WINDMC"; then
11580 for ncn_progname in windmc; do
11581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11582 set dummy ${ncn_progname}; ac_word=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11584 $as_echo_n "checking
for $ac_word...
" >&6; }
11585 if ${ac_cv_prog_WINDMC+:} false; then :
11586 $as_echo_n "(cached
) " >&6
11588 if test -n "$WINDMC"; then
11589 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592 for as_dir in $PATH
11595 test -z "$as_dir" && as_dir=.
11596 for ac_exec_ext in '' $ac_executable_extensions; do
11597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11598 ac_cv_prog_WINDMC="${ncn_progname}"
11599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11608 WINDMC=$ac_cv_prog_WINDMC
11609 if test -n "$WINDMC"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11611 $as_echo "$WINDMC" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11614 $as_echo "no
" >&6; }
11621 for ncn_progname in windmc; do
11622 if test -n "$ncn_tool_prefix"; then
11623 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11624 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11626 $as_echo_n "checking
for $ac_word...
" >&6; }
11627 if ${ac_cv_prog_WINDMC+:} false; then :
11628 $as_echo_n "(cached
) " >&6
11630 if test -n "$WINDMC"; then
11631 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11634 for as_dir in $PATH
11637 test -z "$as_dir" && as_dir=.
11638 for ac_exec_ext in '' $ac_executable_extensions; do
11639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11640 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
11641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11650 WINDMC=$ac_cv_prog_WINDMC
11651 if test -n "$WINDMC"; then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11653 $as_echo "$WINDMC" >&6; }
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11656 $as_echo "no
" >&6; }
11661 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
11662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11663 set dummy ${ncn_progname}; ac_word=$2
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11665 $as_echo_n "checking
for $ac_word...
" >&6; }
11666 if ${ac_cv_prog_WINDMC+:} false; then :
11667 $as_echo_n "(cached
) " >&6
11669 if test -n "$WINDMC"; then
11670 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11676 test -z "$as_dir" && as_dir=.
11677 for ac_exec_ext in '' $ac_executable_extensions; do
11678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11679 ac_cv_prog_WINDMC="${ncn_progname}"
11680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11689 WINDMC=$ac_cv_prog_WINDMC
11690 if test -n "$WINDMC"; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11692 $as_echo "$WINDMC" >&6; }
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11695 $as_echo "no
" >&6; }
11700 test -n "$ac_cv_prog_WINDMC" && break
11703 if test -z "$ac_cv_prog_WINDMC" ; then
11705 if test $build = $host ; then
11708 WINDMC="${ncn_tool_prefix}$2"
11714 if test -n "$OBJCOPY"; then
11715 ac_cv_prog_OBJCOPY=$OBJCOPY
11716 elif test -n "$ac_cv_prog_OBJCOPY"; then
11717 OBJCOPY=$ac_cv_prog_OBJCOPY
11720 if test -n "$ac_cv_prog_OBJCOPY"; then
11721 for ncn_progname in objcopy; do
11722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11723 set dummy ${ncn_progname}; ac_word=$2
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11725 $as_echo_n "checking
for $ac_word...
" >&6; }
11726 if ${ac_cv_prog_OBJCOPY+:} false; then :
11727 $as_echo_n "(cached
) " >&6
11729 if test -n "$OBJCOPY"; then
11730 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11739 ac_cv_prog_OBJCOPY="${ncn_progname}"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11749 OBJCOPY=$ac_cv_prog_OBJCOPY
11750 if test -n "$OBJCOPY"; then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
11752 $as_echo "$OBJCOPY" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11755 $as_echo "no
" >&6; }
11762 for ncn_progname in objcopy; do
11763 if test -n "$ncn_tool_prefix"; then
11764 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11765 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11767 $as_echo_n "checking
for $ac_word...
" >&6; }
11768 if ${ac_cv_prog_OBJCOPY+:} false; then :
11769 $as_echo_n "(cached
) " >&6
11771 if test -n "$OBJCOPY"; then
11772 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
11774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11775 for as_dir in $PATH
11778 test -z "$as_dir" && as_dir=.
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11781 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
11782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11791 OBJCOPY=$ac_cv_prog_OBJCOPY
11792 if test -n "$OBJCOPY"; then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
11794 $as_echo "$OBJCOPY" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11797 $as_echo "no
" >&6; }
11802 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
11803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11804 set dummy ${ncn_progname}; ac_word=$2
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11806 $as_echo_n "checking
for $ac_word...
" >&6; }
11807 if ${ac_cv_prog_OBJCOPY+:} false; then :
11808 $as_echo_n "(cached
) " >&6
11810 if test -n "$OBJCOPY"; then
11811 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
11813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11814 for as_dir in $PATH
11817 test -z "$as_dir" && as_dir=.
11818 for ac_exec_ext in '' $ac_executable_extensions; do
11819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11820 ac_cv_prog_OBJCOPY="${ncn_progname}"
11821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11830 OBJCOPY=$ac_cv_prog_OBJCOPY
11831 if test -n "$OBJCOPY"; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
11833 $as_echo "$OBJCOPY" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11836 $as_echo "no
" >&6; }
11841 test -n "$ac_cv_prog_OBJCOPY" && break
11844 if test -z "$ac_cv_prog_OBJCOPY" ; then
11846 if test $build = $host ; then
11849 OBJCOPY="${ncn_tool_prefix}$2"
11855 if test -n "$OBJDUMP"; then
11856 ac_cv_prog_OBJDUMP=$OBJDUMP
11857 elif test -n "$ac_cv_prog_OBJDUMP"; then
11858 OBJDUMP=$ac_cv_prog_OBJDUMP
11861 if test -n "$ac_cv_prog_OBJDUMP"; then
11862 for ncn_progname in objdump; do
11863 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11864 set dummy ${ncn_progname}; ac_word=$2
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11866 $as_echo_n "checking
for $ac_word...
" >&6; }
11867 if ${ac_cv_prog_OBJDUMP+:} false; then :
11868 $as_echo_n "(cached
) " >&6
11870 if test -n "$OBJDUMP"; then
11871 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11877 test -z "$as_dir" && as_dir=.
11878 for ac_exec_ext in '' $ac_executable_extensions; do
11879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11880 ac_cv_prog_OBJDUMP="${ncn_progname}"
11881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11890 OBJDUMP=$ac_cv_prog_OBJDUMP
11891 if test -n "$OBJDUMP"; then
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
11893 $as_echo "$OBJDUMP" >&6; }
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11896 $as_echo "no
" >&6; }
11903 for ncn_progname in objdump; do
11904 if test -n "$ncn_tool_prefix"; then
11905 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11906 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11908 $as_echo_n "checking
for $ac_word...
" >&6; }
11909 if ${ac_cv_prog_OBJDUMP+:} false; then :
11910 $as_echo_n "(cached
) " >&6
11912 if test -n "$OBJDUMP"; then
11913 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
11915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11916 for as_dir in $PATH
11919 test -z "$as_dir" && as_dir=.
11920 for ac_exec_ext in '' $ac_executable_extensions; do
11921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11922 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
11923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11932 OBJDUMP=$ac_cv_prog_OBJDUMP
11933 if test -n "$OBJDUMP"; then
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
11935 $as_echo "$OBJDUMP" >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11938 $as_echo "no
" >&6; }
11943 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
11944 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11945 set dummy ${ncn_progname}; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11947 $as_echo_n "checking
for $ac_word...
" >&6; }
11948 if ${ac_cv_prog_OBJDUMP+:} false; then :
11949 $as_echo_n "(cached
) " >&6
11951 if test -n "$OBJDUMP"; then
11952 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
11954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11955 for as_dir in $PATH
11958 test -z "$as_dir" && as_dir=.
11959 for ac_exec_ext in '' $ac_executable_extensions; do
11960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11961 ac_cv_prog_OBJDUMP="${ncn_progname}"
11962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11971 OBJDUMP=$ac_cv_prog_OBJDUMP
11972 if test -n "$OBJDUMP"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
11974 $as_echo "$OBJDUMP" >&6; }
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11977 $as_echo "no
" >&6; }
11982 test -n "$ac_cv_prog_OBJDUMP" && break
11985 if test -z "$ac_cv_prog_OBJDUMP" ; then
11987 if test $build = $host ; then
11990 OBJDUMP="${ncn_tool_prefix}$2"
11996 if test -n "$OTOOL"; then
11997 ac_cv_prog_OTOOL=$OTOOL
11998 elif test -n "$ac_cv_prog_OTOOL"; then
11999 OTOOL=$ac_cv_prog_OTOOL
12002 if test -n "$ac_cv_prog_OTOOL"; then
12003 for ncn_progname in otool; do
12004 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12005 set dummy ${ncn_progname}; ac_word=$2
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12007 $as_echo_n "checking
for $ac_word...
" >&6; }
12008 if ${ac_cv_prog_OTOOL+:} false; then :
12009 $as_echo_n "(cached
) " >&6
12011 if test -n "$OTOOL"; then
12012 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12015 for as_dir in $PATH
12018 test -z "$as_dir" && as_dir=.
12019 for ac_exec_ext in '' $ac_executable_extensions; do
12020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12021 ac_cv_prog_OTOOL="${ncn_progname}"
12022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12031 OTOOL=$ac_cv_prog_OTOOL
12032 if test -n "$OTOOL"; then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12034 $as_echo "$OTOOL" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12037 $as_echo "no
" >&6; }
12044 for ncn_progname in otool; do
12045 if test -n "$ncn_tool_prefix"; then
12046 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12047 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12049 $as_echo_n "checking
for $ac_word...
" >&6; }
12050 if ${ac_cv_prog_OTOOL+:} false; then :
12051 $as_echo_n "(cached
) " >&6
12053 if test -n "$OTOOL"; then
12054 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12057 for as_dir in $PATH
12060 test -z "$as_dir" && as_dir=.
12061 for ac_exec_ext in '' $ac_executable_extensions; do
12062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12063 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12073 OTOOL=$ac_cv_prog_OTOOL
12074 if test -n "$OTOOL"; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12076 $as_echo "$OTOOL" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12079 $as_echo "no
" >&6; }
12084 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12086 set dummy ${ncn_progname}; ac_word=$2
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12088 $as_echo_n "checking
for $ac_word...
" >&6; }
12089 if ${ac_cv_prog_OTOOL+:} false; then :
12090 $as_echo_n "(cached
) " >&6
12092 if test -n "$OTOOL"; then
12093 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12096 for as_dir in $PATH
12099 test -z "$as_dir" && as_dir=.
12100 for ac_exec_ext in '' $ac_executable_extensions; do
12101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12102 ac_cv_prog_OTOOL="${ncn_progname}"
12103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12112 OTOOL=$ac_cv_prog_OTOOL
12113 if test -n "$OTOOL"; then
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12115 $as_echo "$OTOOL" >&6; }
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12118 $as_echo "no
" >&6; }
12123 test -n "$ac_cv_prog_OTOOL" && break
12126 if test -z "$ac_cv_prog_OTOOL" ; then
12128 if test $build = $host ; then
12131 OTOOL="${ncn_tool_prefix}$2"
12137 if test -n "$READELF"; then
12138 ac_cv_prog_READELF=$READELF
12139 elif test -n "$ac_cv_prog_READELF"; then
12140 READELF=$ac_cv_prog_READELF
12143 if test -n "$ac_cv_prog_READELF"; then
12144 for ncn_progname in readelf; do
12145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12146 set dummy ${ncn_progname}; ac_word=$2
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12148 $as_echo_n "checking
for $ac_word...
" >&6; }
12149 if ${ac_cv_prog_READELF+:} false; then :
12150 $as_echo_n "(cached
) " >&6
12152 if test -n "$READELF"; then
12153 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 for as_dir in $PATH
12159 test -z "$as_dir" && as_dir=.
12160 for ac_exec_ext in '' $ac_executable_extensions; do
12161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_prog_READELF="${ncn_progname}"
12163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12172 READELF=$ac_cv_prog_READELF
12173 if test -n "$READELF"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12175 $as_echo "$READELF" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12178 $as_echo "no
" >&6; }
12185 for ncn_progname in readelf; do
12186 if test -n "$ncn_tool_prefix"; then
12187 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12188 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12190 $as_echo_n "checking
for $ac_word...
" >&6; }
12191 if ${ac_cv_prog_READELF+:} false; then :
12192 $as_echo_n "(cached
) " >&6
12194 if test -n "$READELF"; then
12195 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12198 for as_dir in $PATH
12201 test -z "$as_dir" && as_dir=.
12202 for ac_exec_ext in '' $ac_executable_extensions; do
12203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
12205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12214 READELF=$ac_cv_prog_READELF
12215 if test -n "$READELF"; then
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12217 $as_echo "$READELF" >&6; }
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12220 $as_echo "no
" >&6; }
12225 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
12226 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12227 set dummy ${ncn_progname}; ac_word=$2
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12229 $as_echo_n "checking
for $ac_word...
" >&6; }
12230 if ${ac_cv_prog_READELF+:} false; then :
12231 $as_echo_n "(cached
) " >&6
12233 if test -n "$READELF"; then
12234 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $PATH
12240 test -z "$as_dir" && as_dir=.
12241 for ac_exec_ext in '' $ac_executable_extensions; do
12242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 ac_cv_prog_READELF="${ncn_progname}"
12244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12253 READELF=$ac_cv_prog_READELF
12254 if test -n "$READELF"; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12256 $as_echo "$READELF" >&6; }
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12259 $as_echo "no
" >&6; }
12264 test -n "$ac_cv_prog_READELF" && break
12267 if test -z "$ac_cv_prog_READELF" ; then
12269 if test $build = $host ; then
12272 READELF="${ncn_tool_prefix}$2"
12283 # Check whether --with-build-time-tools was given.
12284 if test "${with_build_time_tools+set}" = set; then :
12285 withval=$with_build_time_tools; case x"$withval" in
12288 with_build_time_tools=
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
12290 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
12294 with_build_time_tools=
12300 if test -n "$CC_FOR_TARGET"; then
12301 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
12302 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12303 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12306 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12307 for ncn_progname in cc gcc; do
12308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12309 set dummy ${ncn_progname}; ac_word=$2
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12311 $as_echo_n "checking
for $ac_word...
" >&6; }
12312 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12313 $as_echo_n "(cached
) " >&6
12315 if test -n "$CC_FOR_TARGET"; then
12316 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12319 for as_dir in $PATH
12322 test -z "$as_dir" && as_dir=.
12323 for ac_exec_ext in '' $ac_executable_extensions; do
12324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12325 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12335 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12336 if test -n "$CC_FOR_TARGET"; then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12338 $as_echo "$CC_FOR_TARGET" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12341 $as_echo "no
" >&6; }
12348 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12349 for ncn_progname in cc gcc; do
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12351 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12352 if test -x $with_build_time_tools/${ncn_progname}; then
12353 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12355 $as_echo "yes" >&6; }
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12359 $as_echo "no
" >&6; }
12364 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
12365 for ncn_progname in cc gcc; do
12366 if test -n "$ncn_target_tool_prefix"; then
12367 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12368 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12370 $as_echo_n "checking
for $ac_word...
" >&6; }
12371 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12372 $as_echo_n "(cached
) " >&6
12374 if test -n "$CC_FOR_TARGET"; then
12375 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12381 test -z "$as_dir" && as_dir=.
12382 for ac_exec_ext in '' $ac_executable_extensions; do
12383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12384 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12394 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12395 if test -n "$CC_FOR_TARGET"; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12397 $as_echo "$CC_FOR_TARGET" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12400 $as_echo "no
" >&6; }
12405 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
12406 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12407 set dummy ${ncn_progname}; ac_word=$2
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12409 $as_echo_n "checking
for $ac_word...
" >&6; }
12410 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12411 $as_echo_n "(cached
) " >&6
12413 if test -n "$CC_FOR_TARGET"; then
12414 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12417 for as_dir in $PATH
12420 test -z "$as_dir" && as_dir=.
12421 for ac_exec_ext in '' $ac_executable_extensions; do
12422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12423 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12433 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12434 if test -n "$CC_FOR_TARGET"; then
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12436 $as_echo "$CC_FOR_TARGET" >&6; }
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12439 $as_echo "no
" >&6; }
12444 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
12448 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
12450 if test $build = $target ; then
12453 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12456 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
12461 if test -n "$CXX_FOR_TARGET"; then
12462 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
12463 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
12464 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12467 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
12468 for ncn_progname in c++ g++ cxx gxx; do
12469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12470 set dummy ${ncn_progname}; ac_word=$2
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12472 $as_echo_n "checking
for $ac_word...
" >&6; }
12473 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12474 $as_echo_n "(cached
) " >&6
12476 if test -n "$CXX_FOR_TARGET"; then
12477 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12480 for as_dir in $PATH
12483 test -z "$as_dir" && as_dir=.
12484 for ac_exec_ext in '' $ac_executable_extensions; do
12485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12486 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
12487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12496 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12497 if test -n "$CXX_FOR_TARGET"; then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12499 $as_echo "$CXX_FOR_TARGET" >&6; }
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12502 $as_echo "no
" >&6; }
12509 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
12510 for ncn_progname in c++ g++ cxx gxx; do
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12512 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12513 if test -x $with_build_time_tools/${ncn_progname}; then
12514 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12516 $as_echo "yes" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12520 $as_echo "no
" >&6; }
12525 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
12526 for ncn_progname in c++ g++ cxx gxx; do
12527 if test -n "$ncn_target_tool_prefix"; then
12528 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12529 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12531 $as_echo_n "checking
for $ac_word...
" >&6; }
12532 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12533 $as_echo_n "(cached
) " >&6
12535 if test -n "$CXX_FOR_TARGET"; then
12536 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539 for as_dir in $PATH
12542 test -z "$as_dir" && as_dir=.
12543 for ac_exec_ext in '' $ac_executable_extensions; do
12544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12545 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12555 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12556 if test -n "$CXX_FOR_TARGET"; then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12558 $as_echo "$CXX_FOR_TARGET" >&6; }
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12561 $as_echo "no
" >&6; }
12566 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
12567 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12568 set dummy ${ncn_progname}; ac_word=$2
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12570 $as_echo_n "checking
for $ac_word...
" >&6; }
12571 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12572 $as_echo_n "(cached
) " >&6
12574 if test -n "$CXX_FOR_TARGET"; then
12575 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12578 for as_dir in $PATH
12581 test -z "$as_dir" && as_dir=.
12582 for ac_exec_ext in '' $ac_executable_extensions; do
12583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12584 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
12585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12594 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12595 if test -n "$CXX_FOR_TARGET"; then
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12597 $as_echo "$CXX_FOR_TARGET" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12600 $as_echo "no
" >&6; }
12605 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
12609 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
12610 set dummy c++ g++ cxx gxx
12611 if test $build = $target ; then
12612 CXX_FOR_TARGET="$2"
12614 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
12617 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
12622 if test -n "$GCC_FOR_TARGET"; then
12623 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
12624 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
12625 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12628 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
12629 for ncn_progname in gcc; do
12630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12631 set dummy ${ncn_progname}; ac_word=$2
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12633 $as_echo_n "checking
for $ac_word...
" >&6; }
12634 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
12635 $as_echo_n "(cached
) " >&6
12637 if test -n "$GCC_FOR_TARGET"; then
12638 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
12640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12641 for as_dir in $PATH
12644 test -z "$as_dir" && as_dir=.
12645 for ac_exec_ext in '' $ac_executable_extensions; do
12646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12647 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
12648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12657 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12658 if test -n "$GCC_FOR_TARGET"; then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
12660 $as_echo "$GCC_FOR_TARGET" >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12663 $as_echo "no
" >&6; }
12670 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12671 for ncn_progname in gcc; do
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12673 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12674 if test -x $with_build_time_tools/${ncn_progname}; then
12675 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12677 $as_echo "yes" >&6; }
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12681 $as_echo "no
" >&6; }
12686 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
12687 for ncn_progname in gcc; do
12688 if test -n "$ncn_target_tool_prefix"; then
12689 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12690 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12692 $as_echo_n "checking
for $ac_word...
" >&6; }
12693 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
12694 $as_echo_n "(cached
) " >&6
12696 if test -n "$GCC_FOR_TARGET"; then
12697 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 for ac_exec_ext in '' $ac_executable_extensions; do
12705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12706 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12716 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12717 if test -n "$GCC_FOR_TARGET"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
12719 $as_echo "$GCC_FOR_TARGET" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12722 $as_echo "no
" >&6; }
12727 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
12728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12729 set dummy ${ncn_progname}; ac_word=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12731 $as_echo_n "checking
for $ac_word...
" >&6; }
12732 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
12733 $as_echo_n "(cached
) " >&6
12735 if test -n "$GCC_FOR_TARGET"; then
12736 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
12738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12739 for as_dir in $PATH
12742 test -z "$as_dir" && as_dir=.
12743 for ac_exec_ext in '' $ac_executable_extensions; do
12744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12745 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
12746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12755 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12756 if test -n "$GCC_FOR_TARGET"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
12758 $as_echo "$GCC_FOR_TARGET" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12761 $as_echo "no
" >&6; }
12766 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
12770 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
12771 GCC_FOR_TARGET="${CC_FOR_TARGET}"
12773 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
12778 if test -n "$GFORTRAN_FOR_TARGET"; then
12779 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
12780 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
12781 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
12784 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
12785 for ncn_progname in gfortran; do
12786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12787 set dummy ${ncn_progname}; ac_word=$2
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12789 $as_echo_n "checking
for $ac_word...
" >&6; }
12790 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
12791 $as_echo_n "(cached
) " >&6
12793 if test -n "$GFORTRAN_FOR_TARGET"; then
12794 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
12796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12797 for as_dir in $PATH
12800 test -z "$as_dir" && as_dir=.
12801 for ac_exec_ext in '' $ac_executable_extensions; do
12802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12803 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
12804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12813 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
12814 if test -n "$GFORTRAN_FOR_TARGET"; then
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
12816 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12819 $as_echo "no
" >&6; }
12826 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
12827 for ncn_progname in gfortran; do
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12829 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12830 if test -x $with_build_time_tools/${ncn_progname}; then
12831 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12833 $as_echo "yes" >&6; }
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12837 $as_echo "no
" >&6; }
12842 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
12843 for ncn_progname in gfortran; do
12844 if test -n "$ncn_target_tool_prefix"; then
12845 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12846 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12848 $as_echo_n "checking
for $ac_word...
" >&6; }
12849 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
12850 $as_echo_n "(cached
) " >&6
12852 if test -n "$GFORTRAN_FOR_TARGET"; then
12853 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
12855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12856 for as_dir in $PATH
12859 test -z "$as_dir" && as_dir=.
12860 for ac_exec_ext in '' $ac_executable_extensions; do
12861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12862 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12872 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
12873 if test -n "$GFORTRAN_FOR_TARGET"; then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
12875 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12878 $as_echo "no
" >&6; }
12883 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
12884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12885 set dummy ${ncn_progname}; ac_word=$2
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12887 $as_echo_n "checking
for $ac_word...
" >&6; }
12888 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
12889 $as_echo_n "(cached
) " >&6
12891 if test -n "$GFORTRAN_FOR_TARGET"; then
12892 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
12894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12895 for as_dir in $PATH
12898 test -z "$as_dir" && as_dir=.
12899 for ac_exec_ext in '' $ac_executable_extensions; do
12900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12901 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
12902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12911 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
12912 if test -n "$GFORTRAN_FOR_TARGET"; then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
12914 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12917 $as_echo "no
" >&6; }
12922 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
12926 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
12928 if test $build = $target ; then
12929 GFORTRAN_FOR_TARGET="$2"
12931 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
12934 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
12939 if test -n "$GOC_FOR_TARGET"; then
12940 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
12941 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
12942 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
12945 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
12946 for ncn_progname in gccgo; do
12947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12948 set dummy ${ncn_progname}; ac_word=$2
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12950 $as_echo_n "checking
for $ac_word...
" >&6; }
12951 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
12952 $as_echo_n "(cached
) " >&6
12954 if test -n "$GOC_FOR_TARGET"; then
12955 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
12957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12958 for as_dir in $PATH
12961 test -z "$as_dir" && as_dir=.
12962 for ac_exec_ext in '' $ac_executable_extensions; do
12963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12964 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
12965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12974 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
12975 if test -n "$GOC_FOR_TARGET"; then
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
12977 $as_echo "$GOC_FOR_TARGET" >&6; }
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12980 $as_echo "no
" >&6; }
12987 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12988 for ncn_progname in gccgo; do
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12990 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12991 if test -x $with_build_time_tools/${ncn_progname}; then
12992 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12994 $as_echo "yes" >&6; }
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12998 $as_echo "no
" >&6; }
13003 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13004 for ncn_progname in gccgo; do
13005 if test -n "$ncn_target_tool_prefix"; then
13006 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13007 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13009 $as_echo_n "checking
for $ac_word...
" >&6; }
13010 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13011 $as_echo_n "(cached
) " >&6
13013 if test -n "$GOC_FOR_TARGET"; then
13014 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13017 for as_dir in $PATH
13020 test -z "$as_dir" && as_dir=.
13021 for ac_exec_ext in '' $ac_executable_extensions; do
13022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13023 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13033 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13034 if test -n "$GOC_FOR_TARGET"; then
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13036 $as_echo "$GOC_FOR_TARGET" >&6; }
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13039 $as_echo "no
" >&6; }
13044 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
13045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13046 set dummy ${ncn_progname}; ac_word=$2
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13048 $as_echo_n "checking
for $ac_word...
" >&6; }
13049 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13050 $as_echo_n "(cached
) " >&6
13052 if test -n "$GOC_FOR_TARGET"; then
13053 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13056 for as_dir in $PATH
13059 test -z "$as_dir" && as_dir=.
13060 for ac_exec_ext in '' $ac_executable_extensions; do
13061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13062 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13072 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13073 if test -n "$GOC_FOR_TARGET"; then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13075 $as_echo "$GOC_FOR_TARGET" >&6; }
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13078 $as_echo "no
" >&6; }
13083 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
13087 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
13089 if test $build = $target ; then
13090 GOC_FOR_TARGET="$2"
13092 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13095 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
13100 if test -n "$GDC_FOR_TARGET"; then
13101 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
13102 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13103 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13106 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13107 for ncn_progname in gdc; do
13108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13109 set dummy ${ncn_progname}; ac_word=$2
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13111 $as_echo_n "checking
for $ac_word...
" >&6; }
13112 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13113 $as_echo_n "(cached
) " >&6
13115 if test -n "$GDC_FOR_TARGET"; then
13116 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13119 for as_dir in $PATH
13122 test -z "$as_dir" && as_dir=.
13123 for ac_exec_ext in '' $ac_executable_extensions; do
13124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13125 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13135 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13136 if test -n "$GDC_FOR_TARGET"; then
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13138 $as_echo "$GDC_FOR_TARGET" >&6; }
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13141 $as_echo "no
" >&6; }
13148 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13149 for ncn_progname in gdc; do
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13151 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13152 if test -x $with_build_time_tools/${ncn_progname}; then
13153 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13155 $as_echo "yes" >&6; }
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13159 $as_echo "no
" >&6; }
13164 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
13165 for ncn_progname in gdc; do
13166 if test -n "$ncn_target_tool_prefix"; then
13167 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13168 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13170 $as_echo_n "checking
for $ac_word...
" >&6; }
13171 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13172 $as_echo_n "(cached
) " >&6
13174 if test -n "$GDC_FOR_TARGET"; then
13175 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13178 for as_dir in $PATH
13181 test -z "$as_dir" && as_dir=.
13182 for ac_exec_ext in '' $ac_executable_extensions; do
13183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13184 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13194 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13195 if test -n "$GDC_FOR_TARGET"; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13197 $as_echo "$GDC_FOR_TARGET" >&6; }
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13200 $as_echo "no
" >&6; }
13205 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
13206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13207 set dummy ${ncn_progname}; ac_word=$2
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13209 $as_echo_n "checking
for $ac_word...
" >&6; }
13210 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13211 $as_echo_n "(cached
) " >&6
13213 if test -n "$GDC_FOR_TARGET"; then
13214 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13217 for as_dir in $PATH
13220 test -z "$as_dir" && as_dir=.
13221 for ac_exec_ext in '' $ac_executable_extensions; do
13222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13223 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13233 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13234 if test -n "$GDC_FOR_TARGET"; then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13236 $as_echo "$GDC_FOR_TARGET" >&6; }
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13239 $as_echo "no
" >&6; }
13244 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
13248 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
13250 if test $build = $target ; then
13251 GDC_FOR_TARGET="$2"
13253 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13256 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
13261 cat > conftest.c << \EOF
13266 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
13267 have_gcc_for_target=yes
13269 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
13270 have_gcc_for_target=no
13277 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13278 if test -n "$with_build_time_tools"; then
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
13280 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
13281 if test -x $with_build_time_tools/ar; then
13282 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
13283 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
13285 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13288 $as_echo "no
" >&6; }
13290 elif test $build != $host && test $have_gcc_for_target = yes; then
13291 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
13292 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
13293 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13296 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13297 # Extract the first word of "ar", so it can be a program name with args.
13298 set dummy ar; ac_word=$2
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13300 $as_echo_n "checking
for $ac_word...
" >&6; }
13301 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
13302 $as_echo_n "(cached
) " >&6
13304 case $AR_FOR_TARGET in
13306 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
13309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13310 for as_dir in $gcc_cv_tool_dirs
13313 test -z "$as_dir" && as_dir=.
13314 for ac_exec_ext in '' $ac_executable_extensions; do
13315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13316 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13327 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13328 if test -n "$AR_FOR_TARGET"; then
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13330 $as_echo "$AR_FOR_TARGET" >&6; }
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13333 $as_echo "no
" >&6; }
13338 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13341 if test -n "$AR_FOR_TARGET"; then
13342 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
13343 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13344 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13347 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13348 for ncn_progname in ar; do
13349 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13350 set dummy ${ncn_progname}; ac_word=$2
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13352 $as_echo_n "checking
for $ac_word...
" >&6; }
13353 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13354 $as_echo_n "(cached
) " >&6
13356 if test -n "$AR_FOR_TARGET"; then
13357 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13360 for as_dir in $PATH
13363 test -z "$as_dir" && as_dir=.
13364 for ac_exec_ext in '' $ac_executable_extensions; do
13365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13366 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13376 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13377 if test -n "$AR_FOR_TARGET"; then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13379 $as_echo "$AR_FOR_TARGET" >&6; }
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13382 $as_echo "no
" >&6; }
13389 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
13390 for ncn_progname in ar; do
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13392 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13393 if test -x $with_build_time_tools/${ncn_progname}; then
13394 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13396 $as_echo "yes" >&6; }
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13400 $as_echo "no
" >&6; }
13405 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
13406 for ncn_progname in ar; do
13407 if test -n "$ncn_target_tool_prefix"; then
13408 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13409 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13411 $as_echo_n "checking
for $ac_word...
" >&6; }
13412 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13413 $as_echo_n "(cached
) " >&6
13415 if test -n "$AR_FOR_TARGET"; then
13416 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13419 for as_dir in $PATH
13422 test -z "$as_dir" && as_dir=.
13423 for ac_exec_ext in '' $ac_executable_extensions; do
13424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13425 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13435 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13436 if test -n "$AR_FOR_TARGET"; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13438 $as_echo "$AR_FOR_TARGET" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13441 $as_echo "no
" >&6; }
13446 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
13447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13448 set dummy ${ncn_progname}; ac_word=$2
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13450 $as_echo_n "checking
for $ac_word...
" >&6; }
13451 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13452 $as_echo_n "(cached
) " >&6
13454 if test -n "$AR_FOR_TARGET"; then
13455 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13458 for as_dir in $PATH
13461 test -z "$as_dir" && as_dir=.
13462 for ac_exec_ext in '' $ac_executable_extensions; do
13463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13464 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13474 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13475 if test -n "$AR_FOR_TARGET"; then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13477 $as_echo "$AR_FOR_TARGET" >&6; }
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13480 $as_echo "no
" >&6; }
13485 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
13489 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
13491 if test $build = $target ; then
13494 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
13497 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
13501 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13507 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
13508 if test -n "$with_build_time_tools"; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
13510 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
13511 if test -x $with_build_time_tools/as; then
13512 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
13513 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
13515 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13518 $as_echo "no
" >&6; }
13520 elif test $build != $host && test $have_gcc_for_target = yes; then
13521 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
13522 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
13523 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
13526 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13527 # Extract the first word of "as
", so it can be a program name with args.
13528 set dummy as; ac_word=$2
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13530 $as_echo_n "checking
for $ac_word...
" >&6; }
13531 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
13532 $as_echo_n "(cached
) " >&6
13534 case $AS_FOR_TARGET in
13536 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
13539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13540 for as_dir in $gcc_cv_tool_dirs
13543 test -z "$as_dir" && as_dir=.
13544 for ac_exec_ext in '' $ac_executable_extensions; do
13545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13546 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13557 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
13558 if test -n "$AS_FOR_TARGET"; then
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13560 $as_echo "$AS_FOR_TARGET" >&6; }
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13563 $as_echo "no
" >&6; }
13568 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
13571 if test -n "$AS_FOR_TARGET"; then
13572 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
13573 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
13574 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13577 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
13578 for ncn_progname in as; do
13579 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13580 set dummy ${ncn_progname}; ac_word=$2
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13582 $as_echo_n "checking
for $ac_word...
" >&6; }
13583 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13584 $as_echo_n "(cached
) " >&6
13586 if test -n "$AS_FOR_TARGET"; then
13587 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13590 for as_dir in $PATH
13593 test -z "$as_dir" && as_dir=.
13594 for ac_exec_ext in '' $ac_executable_extensions; do
13595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
13597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13606 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13607 if test -n "$AS_FOR_TARGET"; then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13609 $as_echo "$AS_FOR_TARGET" >&6; }
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13612 $as_echo "no
" >&6; }
13619 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
13620 for ncn_progname in as; do
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13622 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13623 if test -x $with_build_time_tools/${ncn_progname}; then
13624 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13626 $as_echo "yes" >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13630 $as_echo "no
" >&6; }
13635 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
13636 for ncn_progname in as; do
13637 if test -n "$ncn_target_tool_prefix"; then
13638 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13639 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13641 $as_echo_n "checking
for $ac_word...
" >&6; }
13642 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13643 $as_echo_n "(cached
) " >&6
13645 if test -n "$AS_FOR_TARGET"; then
13646 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13649 for as_dir in $PATH
13652 test -z "$as_dir" && as_dir=.
13653 for ac_exec_ext in '' $ac_executable_extensions; do
13654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13655 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13665 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13666 if test -n "$AS_FOR_TARGET"; then
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13668 $as_echo "$AS_FOR_TARGET" >&6; }
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13671 $as_echo "no
" >&6; }
13676 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
13677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13678 set dummy ${ncn_progname}; ac_word=$2
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13680 $as_echo_n "checking
for $ac_word...
" >&6; }
13681 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13682 $as_echo_n "(cached
) " >&6
13684 if test -n "$AS_FOR_TARGET"; then
13685 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13688 for as_dir in $PATH
13691 test -z "$as_dir" && as_dir=.
13692 for ac_exec_ext in '' $ac_executable_extensions; do
13693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13694 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
13695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13704 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13705 if test -n "$AS_FOR_TARGET"; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13707 $as_echo "$AS_FOR_TARGET" >&6; }
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13710 $as_echo "no
" >&6; }
13715 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
13719 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
13721 if test $build = $target ; then
13724 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
13727 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
13731 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
13737 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
13738 if test -n "$with_build_time_tools"; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
13740 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
13741 if test -x $with_build_time_tools/dlltool; then
13742 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
13743 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
13745 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13748 $as_echo "no
" >&6; }
13750 elif test $build != $host && test $have_gcc_for_target = yes; then
13751 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
13752 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
13753 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
13756 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13757 # Extract the first word of "dlltool
", so it can be a program name with args.
13758 set dummy dlltool; ac_word=$2
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13760 $as_echo_n "checking
for $ac_word...
" >&6; }
13761 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
13762 $as_echo_n "(cached
) " >&6
13764 case $DLLTOOL_FOR_TARGET in
13766 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
13769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13770 for as_dir in $gcc_cv_tool_dirs
13773 test -z "$as_dir" && as_dir=.
13774 for ac_exec_ext in '' $ac_executable_extensions; do
13775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13776 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13787 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
13788 if test -n "$DLLTOOL_FOR_TARGET"; then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
13790 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13793 $as_echo "no
" >&6; }
13798 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
13801 if test -n "$DLLTOOL_FOR_TARGET"; then
13802 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
13803 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
13804 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
13807 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
13808 for ncn_progname in dlltool; do
13809 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13810 set dummy ${ncn_progname}; ac_word=$2
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13812 $as_echo_n "checking
for $ac_word...
" >&6; }
13813 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
13814 $as_echo_n "(cached
) " >&6
13816 if test -n "$DLLTOOL_FOR_TARGET"; then
13817 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
13819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13820 for as_dir in $PATH
13823 test -z "$as_dir" && as_dir=.
13824 for ac_exec_ext in '' $ac_executable_extensions; do
13825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13826 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
13827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13836 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
13837 if test -n "$DLLTOOL_FOR_TARGET"; then
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
13839 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13842 $as_echo "no
" >&6; }
13849 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13850 for ncn_progname in dlltool; do
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13852 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13853 if test -x $with_build_time_tools/${ncn_progname}; then
13854 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13856 $as_echo "yes" >&6; }
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13860 $as_echo "no
" >&6; }
13865 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
13866 for ncn_progname in dlltool; do
13867 if test -n "$ncn_target_tool_prefix"; then
13868 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13869 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13871 $as_echo_n "checking
for $ac_word...
" >&6; }
13872 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
13873 $as_echo_n "(cached
) " >&6
13875 if test -n "$DLLTOOL_FOR_TARGET"; then
13876 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
13878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13879 for as_dir in $PATH
13882 test -z "$as_dir" && as_dir=.
13883 for ac_exec_ext in '' $ac_executable_extensions; do
13884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13885 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13895 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
13896 if test -n "$DLLTOOL_FOR_TARGET"; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
13898 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13901 $as_echo "no
" >&6; }
13906 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
13907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13908 set dummy ${ncn_progname}; ac_word=$2
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13910 $as_echo_n "checking
for $ac_word...
" >&6; }
13911 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
13912 $as_echo_n "(cached
) " >&6
13914 if test -n "$DLLTOOL_FOR_TARGET"; then
13915 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
13917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13918 for as_dir in $PATH
13921 test -z "$as_dir" && as_dir=.
13922 for ac_exec_ext in '' $ac_executable_extensions; do
13923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13924 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
13925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13934 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
13935 if test -n "$DLLTOOL_FOR_TARGET"; then
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
13937 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13940 $as_echo "no
" >&6; }
13945 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
13949 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
13951 if test $build = $target ; then
13952 DLLTOOL_FOR_TARGET="$2"
13954 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13957 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
13961 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
13967 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
13968 if test -n "$with_build_time_tools"; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
13970 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
13971 if test -x $with_build_time_tools/ld; then
13972 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
13973 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
13975 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13978 $as_echo "no
" >&6; }
13980 elif test $build != $host && test $have_gcc_for_target = yes; then
13981 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
13982 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
13983 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
13986 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13987 # Extract the first word of "ld
", so it can be a program name with args.
13988 set dummy ld; ac_word=$2
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13990 $as_echo_n "checking
for $ac_word...
" >&6; }
13991 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
13992 $as_echo_n "(cached
) " >&6
13994 case $LD_FOR_TARGET in
13996 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
13999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14000 for as_dir in $gcc_cv_tool_dirs
14003 test -z "$as_dir" && as_dir=.
14004 for ac_exec_ext in '' $ac_executable_extensions; do
14005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14006 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14017 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14018 if test -n "$LD_FOR_TARGET"; then
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14020 $as_echo "$LD_FOR_TARGET" >&6; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14023 $as_echo "no
" >&6; }
14028 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14031 if test -n "$LD_FOR_TARGET"; then
14032 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
14033 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14034 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14037 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14038 for ncn_progname in ld; do
14039 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14040 set dummy ${ncn_progname}; ac_word=$2
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14042 $as_echo_n "checking
for $ac_word...
" >&6; }
14043 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14044 $as_echo_n "(cached
) " >&6
14046 if test -n "$LD_FOR_TARGET"; then
14047 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14050 for as_dir in $PATH
14053 test -z "$as_dir" && as_dir=.
14054 for ac_exec_ext in '' $ac_executable_extensions; do
14055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14056 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14066 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14067 if test -n "$LD_FOR_TARGET"; then
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14069 $as_echo "$LD_FOR_TARGET" >&6; }
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14072 $as_echo "no
" >&6; }
14079 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
14080 for ncn_progname in ld; do
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14082 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14083 if test -x $with_build_time_tools/${ncn_progname}; then
14084 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14086 $as_echo "yes" >&6; }
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14090 $as_echo "no
" >&6; }
14095 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
14096 for ncn_progname in ld; do
14097 if test -n "$ncn_target_tool_prefix"; then
14098 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14099 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14101 $as_echo_n "checking
for $ac_word...
" >&6; }
14102 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14103 $as_echo_n "(cached
) " >&6
14105 if test -n "$LD_FOR_TARGET"; then
14106 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14109 for as_dir in $PATH
14112 test -z "$as_dir" && as_dir=.
14113 for ac_exec_ext in '' $ac_executable_extensions; do
14114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14115 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14125 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14126 if test -n "$LD_FOR_TARGET"; then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14128 $as_echo "$LD_FOR_TARGET" >&6; }
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14131 $as_echo "no
" >&6; }
14136 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
14137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14138 set dummy ${ncn_progname}; ac_word=$2
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14140 $as_echo_n "checking
for $ac_word...
" >&6; }
14141 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14142 $as_echo_n "(cached
) " >&6
14144 if test -n "$LD_FOR_TARGET"; then
14145 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14148 for as_dir in $PATH
14151 test -z "$as_dir" && as_dir=.
14152 for ac_exec_ext in '' $ac_executable_extensions; do
14153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14154 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14164 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14165 if test -n "$LD_FOR_TARGET"; then
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14167 $as_echo "$LD_FOR_TARGET" >&6; }
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14170 $as_echo "no
" >&6; }
14175 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
14179 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
14181 if test $build = $target ; then
14184 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
14187 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
14191 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14197 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14198 if test -n "$with_build_time_tools"; then
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
14200 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
14201 if test -x $with_build_time_tools/lipo; then
14202 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
14203 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
14205 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14208 $as_echo "no
" >&6; }
14210 elif test $build != $host && test $have_gcc_for_target = yes; then
14211 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
14212 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
14213 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14216 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14217 # Extract the first word of "lipo
", so it can be a program name with args.
14218 set dummy lipo; ac_word=$2
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14220 $as_echo_n "checking
for $ac_word...
" >&6; }
14221 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
14222 $as_echo_n "(cached
) " >&6
14224 case $LIPO_FOR_TARGET in
14226 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
14229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14230 for as_dir in $gcc_cv_tool_dirs
14233 test -z "$as_dir" && as_dir=.
14234 for ac_exec_ext in '' $ac_executable_extensions; do
14235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14236 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14247 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
14248 if test -n "$LIPO_FOR_TARGET"; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14250 $as_echo "$LIPO_FOR_TARGET" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14253 $as_echo "no
" >&6; }
14258 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14261 if test -n "$LIPO_FOR_TARGET"; then
14262 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14263 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
14264 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14267 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
14268 for ncn_progname in lipo; do
14269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14270 set dummy ${ncn_progname}; ac_word=$2
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14272 $as_echo_n "checking
for $ac_word...
" >&6; }
14273 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14274 $as_echo_n "(cached
) " >&6
14276 if test -n "$LIPO_FOR_TARGET"; then
14277 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14280 for as_dir in $PATH
14283 test -z "$as_dir" && as_dir=.
14284 for ac_exec_ext in '' $ac_executable_extensions; do
14285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14286 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
14287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14296 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14297 if test -n "$LIPO_FOR_TARGET"; then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14299 $as_echo "$LIPO_FOR_TARGET" >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14302 $as_echo "no
" >&6; }
14309 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
14310 for ncn_progname in lipo; do
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14312 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14313 if test -x $with_build_time_tools/${ncn_progname}; then
14314 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14316 $as_echo "yes" >&6; }
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14320 $as_echo "no
" >&6; }
14325 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
14326 for ncn_progname in lipo; do
14327 if test -n "$ncn_target_tool_prefix"; then
14328 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14329 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14331 $as_echo_n "checking
for $ac_word...
" >&6; }
14332 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14333 $as_echo_n "(cached
) " >&6
14335 if test -n "$LIPO_FOR_TARGET"; then
14336 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14339 for as_dir in $PATH
14342 test -z "$as_dir" && as_dir=.
14343 for ac_exec_ext in '' $ac_executable_extensions; do
14344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14345 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14355 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14356 if test -n "$LIPO_FOR_TARGET"; then
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14358 $as_echo "$LIPO_FOR_TARGET" >&6; }
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14361 $as_echo "no
" >&6; }
14366 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
14367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14368 set dummy ${ncn_progname}; ac_word=$2
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14370 $as_echo_n "checking
for $ac_word...
" >&6; }
14371 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14372 $as_echo_n "(cached
) " >&6
14374 if test -n "$LIPO_FOR_TARGET"; then
14375 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14378 for as_dir in $PATH
14381 test -z "$as_dir" && as_dir=.
14382 for ac_exec_ext in '' $ac_executable_extensions; do
14383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14384 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
14385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14394 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14395 if test -n "$LIPO_FOR_TARGET"; then
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14397 $as_echo "$LIPO_FOR_TARGET" >&6; }
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14400 $as_echo "no
" >&6; }
14405 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
14409 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
14411 if test $build = $target ; then
14412 LIPO_FOR_TARGET="$2"
14414 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
14417 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
14421 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
14427 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
14428 if test -n "$with_build_time_tools"; then
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
14430 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
14431 if test -x $with_build_time_tools/nm; then
14432 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
14433 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
14435 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14438 $as_echo "no
" >&6; }
14440 elif test $build != $host && test $have_gcc_for_target = yes; then
14441 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
14442 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
14443 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
14446 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14447 # Extract the first word of "nm
", so it can be a program name with args.
14448 set dummy nm; ac_word=$2
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14450 $as_echo_n "checking
for $ac_word...
" >&6; }
14451 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
14452 $as_echo_n "(cached
) " >&6
14454 case $NM_FOR_TARGET in
14456 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
14459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14460 for as_dir in $gcc_cv_tool_dirs
14463 test -z "$as_dir" && as_dir=.
14464 for ac_exec_ext in '' $ac_executable_extensions; do
14465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14466 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14477 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
14478 if test -n "$NM_FOR_TARGET"; then
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
14480 $as_echo "$NM_FOR_TARGET" >&6; }
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14483 $as_echo "no
" >&6; }
14488 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
14491 if test -n "$NM_FOR_TARGET"; then
14492 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
14493 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
14494 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
14497 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
14498 for ncn_progname in nm; do
14499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14500 set dummy ${ncn_progname}; ac_word=$2
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14502 $as_echo_n "checking
for $ac_word...
" >&6; }
14503 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
14504 $as_echo_n "(cached
) " >&6
14506 if test -n "$NM_FOR_TARGET"; then
14507 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
14509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14510 for as_dir in $PATH
14513 test -z "$as_dir" && as_dir=.
14514 for ac_exec_ext in '' $ac_executable_extensions; do
14515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14516 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
14517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14526 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
14527 if test -n "$NM_FOR_TARGET"; then
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
14529 $as_echo "$NM_FOR_TARGET" >&6; }
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14532 $as_echo "no
" >&6; }
14539 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
14540 for ncn_progname in nm; do
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14542 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14543 if test -x $with_build_time_tools/${ncn_progname}; then
14544 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14546 $as_echo "yes" >&6; }
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14550 $as_echo "no
" >&6; }
14555 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
14556 for ncn_progname in nm; do
14557 if test -n "$ncn_target_tool_prefix"; then
14558 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14559 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14561 $as_echo_n "checking
for $ac_word...
" >&6; }
14562 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
14563 $as_echo_n "(cached
) " >&6
14565 if test -n "$NM_FOR_TARGET"; then
14566 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
14568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14569 for as_dir in $PATH
14572 test -z "$as_dir" && as_dir=.
14573 for ac_exec_ext in '' $ac_executable_extensions; do
14574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14575 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14585 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
14586 if test -n "$NM_FOR_TARGET"; then
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
14588 $as_echo "$NM_FOR_TARGET" >&6; }
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14591 $as_echo "no
" >&6; }
14596 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
14597 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14598 set dummy ${ncn_progname}; ac_word=$2
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14600 $as_echo_n "checking
for $ac_word...
" >&6; }
14601 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
14602 $as_echo_n "(cached
) " >&6
14604 if test -n "$NM_FOR_TARGET"; then
14605 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
14607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14608 for as_dir in $PATH
14611 test -z "$as_dir" && as_dir=.
14612 for ac_exec_ext in '' $ac_executable_extensions; do
14613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14614 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
14615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14624 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
14625 if test -n "$NM_FOR_TARGET"; then
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
14627 $as_echo "$NM_FOR_TARGET" >&6; }
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14630 $as_echo "no
" >&6; }
14635 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
14639 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
14641 if test $build = $target ; then
14644 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
14647 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
14651 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
14657 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
14658 if test -n "$with_build_time_tools"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
14660 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
14661 if test -x $with_build_time_tools/objcopy; then
14662 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
14663 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
14665 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14668 $as_echo "no
" >&6; }
14670 elif test $build != $host && test $have_gcc_for_target = yes; then
14671 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
14672 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
14673 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
14676 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14677 # Extract the first word of "objcopy
", so it can be a program name with args.
14678 set dummy objcopy; ac_word=$2
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14680 $as_echo_n "checking
for $ac_word...
" >&6; }
14681 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
14682 $as_echo_n "(cached
) " >&6
14684 case $OBJCOPY_FOR_TARGET in
14686 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
14689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14690 for as_dir in $gcc_cv_tool_dirs
14693 test -z "$as_dir" && as_dir=.
14694 for ac_exec_ext in '' $ac_executable_extensions; do
14695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14696 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14707 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
14708 if test -n "$OBJCOPY_FOR_TARGET"; then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
14710 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14713 $as_echo "no
" >&6; }
14718 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
14721 if test -n "$OBJCOPY_FOR_TARGET"; then
14722 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
14723 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
14724 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
14727 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
14728 for ncn_progname in objcopy; do
14729 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14730 set dummy ${ncn_progname}; ac_word=$2
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14732 $as_echo_n "checking
for $ac_word...
" >&6; }
14733 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
14734 $as_echo_n "(cached
) " >&6
14736 if test -n "$OBJCOPY_FOR_TARGET"; then
14737 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
14739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14740 for as_dir in $PATH
14743 test -z "$as_dir" && as_dir=.
14744 for ac_exec_ext in '' $ac_executable_extensions; do
14745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14746 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
14747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14756 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
14757 if test -n "$OBJCOPY_FOR_TARGET"; then
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
14759 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14762 $as_echo "no
" >&6; }
14769 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
14770 for ncn_progname in objcopy; do
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14772 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14773 if test -x $with_build_time_tools/${ncn_progname}; then
14774 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14776 $as_echo "yes" >&6; }
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14780 $as_echo "no
" >&6; }
14785 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
14786 for ncn_progname in objcopy; do
14787 if test -n "$ncn_target_tool_prefix"; then
14788 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14789 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14791 $as_echo_n "checking
for $ac_word...
" >&6; }
14792 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
14793 $as_echo_n "(cached
) " >&6
14795 if test -n "$OBJCOPY_FOR_TARGET"; then
14796 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
14798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14799 for as_dir in $PATH
14802 test -z "$as_dir" && as_dir=.
14803 for ac_exec_ext in '' $ac_executable_extensions; do
14804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14805 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14815 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
14816 if test -n "$OBJCOPY_FOR_TARGET"; then
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
14818 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14821 $as_echo "no
" >&6; }
14826 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
14827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14828 set dummy ${ncn_progname}; ac_word=$2
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14830 $as_echo_n "checking
for $ac_word...
" >&6; }
14831 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
14832 $as_echo_n "(cached
) " >&6
14834 if test -n "$OBJCOPY_FOR_TARGET"; then
14835 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
14837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14838 for as_dir in $PATH
14841 test -z "$as_dir" && as_dir=.
14842 for ac_exec_ext in '' $ac_executable_extensions; do
14843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14844 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
14845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14854 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
14855 if test -n "$OBJCOPY_FOR_TARGET"; then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
14857 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14860 $as_echo "no
" >&6; }
14865 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
14869 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
14871 if test $build = $target ; then
14872 OBJCOPY_FOR_TARGET="$2"
14874 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
14877 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
14881 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
14887 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
14888 if test -n "$with_build_time_tools"; then
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
14890 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
14891 if test -x $with_build_time_tools/objdump; then
14892 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
14893 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
14895 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14898 $as_echo "no
" >&6; }
14900 elif test $build != $host && test $have_gcc_for_target = yes; then
14901 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
14902 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
14903 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
14906 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14907 # Extract the first word of "objdump
", so it can be a program name with args.
14908 set dummy objdump; ac_word=$2
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14910 $as_echo_n "checking
for $ac_word...
" >&6; }
14911 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
14912 $as_echo_n "(cached
) " >&6
14914 case $OBJDUMP_FOR_TARGET in
14916 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
14919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14920 for as_dir in $gcc_cv_tool_dirs
14923 test -z "$as_dir" && as_dir=.
14924 for ac_exec_ext in '' $ac_executable_extensions; do
14925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14926 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14937 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
14938 if test -n "$OBJDUMP_FOR_TARGET"; then
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
14940 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14943 $as_echo "no
" >&6; }
14948 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
14951 if test -n "$OBJDUMP_FOR_TARGET"; then
14952 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
14953 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
14954 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
14957 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
14958 for ncn_progname in objdump; do
14959 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14960 set dummy ${ncn_progname}; ac_word=$2
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14962 $as_echo_n "checking
for $ac_word...
" >&6; }
14963 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
14964 $as_echo_n "(cached
) " >&6
14966 if test -n "$OBJDUMP_FOR_TARGET"; then
14967 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
14969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14970 for as_dir in $PATH
14973 test -z "$as_dir" && as_dir=.
14974 for ac_exec_ext in '' $ac_executable_extensions; do
14975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14976 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
14977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14986 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
14987 if test -n "$OBJDUMP_FOR_TARGET"; then
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
14989 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14992 $as_echo "no
" >&6; }
14999 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15000 for ncn_progname in objdump; do
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15002 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15003 if test -x $with_build_time_tools/${ncn_progname}; then
15004 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15006 $as_echo "yes" >&6; }
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15010 $as_echo "no
" >&6; }
15015 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15016 for ncn_progname in objdump; do
15017 if test -n "$ncn_target_tool_prefix"; then
15018 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15019 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15021 $as_echo_n "checking
for $ac_word...
" >&6; }
15022 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15023 $as_echo_n "(cached
) " >&6
15025 if test -n "$OBJDUMP_FOR_TARGET"; then
15026 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15029 for as_dir in $PATH
15032 test -z "$as_dir" && as_dir=.
15033 for ac_exec_ext in '' $ac_executable_extensions; do
15034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15035 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15045 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15046 if test -n "$OBJDUMP_FOR_TARGET"; then
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15048 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15051 $as_echo "no
" >&6; }
15056 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
15057 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15058 set dummy ${ncn_progname}; ac_word=$2
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15060 $as_echo_n "checking
for $ac_word...
" >&6; }
15061 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15062 $as_echo_n "(cached
) " >&6
15064 if test -n "$OBJDUMP_FOR_TARGET"; then
15065 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15068 for as_dir in $PATH
15071 test -z "$as_dir" && as_dir=.
15072 for ac_exec_ext in '' $ac_executable_extensions; do
15073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15074 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15084 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15085 if test -n "$OBJDUMP_FOR_TARGET"; then
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15087 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15090 $as_echo "no
" >&6; }
15095 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
15099 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
15101 if test $build = $target ; then
15102 OBJDUMP_FOR_TARGET="$2"
15104 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
15107 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
15111 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15117 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15118 if test -n "$with_build_time_tools"; then
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
15120 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
15121 if test -x $with_build_time_tools/otool; then
15122 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
15123 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
15125 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15128 $as_echo "no
" >&6; }
15130 elif test $build != $host && test $have_gcc_for_target = yes; then
15131 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
15132 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
15133 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15136 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15137 # Extract the first word of "otool
", so it can be a program name with args.
15138 set dummy otool; ac_word=$2
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15140 $as_echo_n "checking
for $ac_word...
" >&6; }
15141 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
15142 $as_echo_n "(cached
) " >&6
15144 case $OTOOL_FOR_TARGET in
15146 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
15149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15150 for as_dir in $gcc_cv_tool_dirs
15153 test -z "$as_dir" && as_dir=.
15154 for ac_exec_ext in '' $ac_executable_extensions; do
15155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15156 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15167 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15168 if test -n "$OTOOL_FOR_TARGET"; then
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15170 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15173 $as_echo "no
" >&6; }
15178 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15181 if test -n "$OTOOL_FOR_TARGET"; then
15182 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15183 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15184 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15187 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15188 for ncn_progname in otool; do
15189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15190 set dummy ${ncn_progname}; ac_word=$2
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15192 $as_echo_n "checking
for $ac_word...
" >&6; }
15193 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15194 $as_echo_n "(cached
) " >&6
15196 if test -n "$OTOOL_FOR_TARGET"; then
15197 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15200 for as_dir in $PATH
15203 test -z "$as_dir" && as_dir=.
15204 for ac_exec_ext in '' $ac_executable_extensions; do
15205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
15207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15216 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15217 if test -n "$OTOOL_FOR_TARGET"; then
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15219 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15222 $as_echo "no
" >&6; }
15229 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
15230 for ncn_progname in otool; do
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15232 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15233 if test -x $with_build_time_tools/${ncn_progname}; then
15234 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15236 $as_echo "yes" >&6; }
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15240 $as_echo "no
" >&6; }
15245 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15246 for ncn_progname in otool; do
15247 if test -n "$ncn_target_tool_prefix"; then
15248 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15249 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15251 $as_echo_n "checking
for $ac_word...
" >&6; }
15252 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15253 $as_echo_n "(cached
) " >&6
15255 if test -n "$OTOOL_FOR_TARGET"; then
15256 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15259 for as_dir in $PATH
15262 test -z "$as_dir" && as_dir=.
15263 for ac_exec_ext in '' $ac_executable_extensions; do
15264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15265 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15275 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15276 if test -n "$OTOOL_FOR_TARGET"; then
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15278 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15281 $as_echo "no
" >&6; }
15286 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
15287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15288 set dummy ${ncn_progname}; ac_word=$2
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15290 $as_echo_n "checking
for $ac_word...
" >&6; }
15291 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15292 $as_echo_n "(cached
) " >&6
15294 if test -n "$OTOOL_FOR_TARGET"; then
15295 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15298 for as_dir in $PATH
15301 test -z "$as_dir" && as_dir=.
15302 for ac_exec_ext in '' $ac_executable_extensions; do
15303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15304 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
15305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15314 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15315 if test -n "$OTOOL_FOR_TARGET"; then
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15317 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15320 $as_echo "no
" >&6; }
15325 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
15329 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
15331 if test $build = $target ; then
15332 OTOOL_FOR_TARGET="$2"
15334 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
15337 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
15341 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15347 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
15348 if test -n "$with_build_time_tools"; then
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
15350 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
15351 if test -x $with_build_time_tools/ranlib; then
15352 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
15353 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
15355 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15358 $as_echo "no
" >&6; }
15360 elif test $build != $host && test $have_gcc_for_target = yes; then
15361 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
15362 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
15363 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15366 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15367 # Extract the first word of "ranlib
", so it can be a program name with args.
15368 set dummy ranlib; ac_word=$2
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15370 $as_echo_n "checking
for $ac_word...
" >&6; }
15371 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
15372 $as_echo_n "(cached
) " >&6
15374 case $RANLIB_FOR_TARGET in
15376 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
15379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15380 for as_dir in $gcc_cv_tool_dirs
15383 test -z "$as_dir" && as_dir=.
15384 for ac_exec_ext in '' $ac_executable_extensions; do
15385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15386 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15397 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
15398 if test -n "$RANLIB_FOR_TARGET"; then
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15400 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15403 $as_echo "no
" >&6; }
15408 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
15411 if test -n "$RANLIB_FOR_TARGET"; then
15412 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15413 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15414 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15417 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15418 for ncn_progname in ranlib; do
15419 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15420 set dummy ${ncn_progname}; ac_word=$2
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15422 $as_echo_n "checking
for $ac_word...
" >&6; }
15423 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
15424 $as_echo_n "(cached
) " >&6
15426 if test -n "$RANLIB_FOR_TARGET"; then
15427 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
15429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15430 for as_dir in $PATH
15433 test -z "$as_dir" && as_dir=.
15434 for ac_exec_ext in '' $ac_executable_extensions; do
15435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15436 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
15437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15446 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15447 if test -n "$RANLIB_FOR_TARGET"; then
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15449 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15452 $as_echo "no
" >&6; }
15459 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
15460 for ncn_progname in ranlib; do
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15462 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15463 if test -x $with_build_time_tools/${ncn_progname}; then
15464 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15466 $as_echo "yes" >&6; }
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15470 $as_echo "no
" >&6; }
15475 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15476 for ncn_progname in ranlib; do
15477 if test -n "$ncn_target_tool_prefix"; then
15478 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15479 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15481 $as_echo_n "checking
for $ac_word...
" >&6; }
15482 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
15483 $as_echo_n "(cached
) " >&6
15485 if test -n "$RANLIB_FOR_TARGET"; then
15486 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
15488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15489 for as_dir in $PATH
15492 test -z "$as_dir" && as_dir=.
15493 for ac_exec_ext in '' $ac_executable_extensions; do
15494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15495 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15505 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15506 if test -n "$RANLIB_FOR_TARGET"; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15508 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15511 $as_echo "no
" >&6; }
15516 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
15517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15518 set dummy ${ncn_progname}; ac_word=$2
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15520 $as_echo_n "checking
for $ac_word...
" >&6; }
15521 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
15522 $as_echo_n "(cached
) " >&6
15524 if test -n "$RANLIB_FOR_TARGET"; then
15525 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
15527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15528 for as_dir in $PATH
15531 test -z "$as_dir" && as_dir=.
15532 for ac_exec_ext in '' $ac_executable_extensions; do
15533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15534 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
15535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15544 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15545 if test -n "$RANLIB_FOR_TARGET"; then
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15547 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15550 $as_echo "no
" >&6; }
15555 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
15559 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
15561 if test $build = $target ; then
15562 RANLIB_FOR_TARGET="$2"
15564 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
15567 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
15571 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
15577 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
15578 if test -n "$with_build_time_tools"; then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
15580 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
15581 if test -x $with_build_time_tools/readelf; then
15582 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
15583 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
15585 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15588 $as_echo "no
" >&6; }
15590 elif test $build != $host && test $have_gcc_for_target = yes; then
15591 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
15592 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
15593 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
15596 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15597 # Extract the first word of "readelf
", so it can be a program name with args.
15598 set dummy readelf; ac_word=$2
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15600 $as_echo_n "checking
for $ac_word...
" >&6; }
15601 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
15602 $as_echo_n "(cached
) " >&6
15604 case $READELF_FOR_TARGET in
15606 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
15609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15610 for as_dir in $gcc_cv_tool_dirs
15613 test -z "$as_dir" && as_dir=.
15614 for ac_exec_ext in '' $ac_executable_extensions; do
15615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15616 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15627 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
15628 if test -n "$READELF_FOR_TARGET"; then
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
15630 $as_echo "$READELF_FOR_TARGET" >&6; }
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15633 $as_echo "no
" >&6; }
15638 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
15641 if test -n "$READELF_FOR_TARGET"; then
15642 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
15643 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
15644 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
15647 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
15648 for ncn_progname in readelf; do
15649 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15650 set dummy ${ncn_progname}; ac_word=$2
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15652 $as_echo_n "checking
for $ac_word...
" >&6; }
15653 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
15654 $as_echo_n "(cached
) " >&6
15656 if test -n "$READELF_FOR_TARGET"; then
15657 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
15659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15660 for as_dir in $PATH
15663 test -z "$as_dir" && as_dir=.
15664 for ac_exec_ext in '' $ac_executable_extensions; do
15665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15666 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
15667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15676 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
15677 if test -n "$READELF_FOR_TARGET"; then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
15679 $as_echo "$READELF_FOR_TARGET" >&6; }
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15682 $as_echo "no
" >&6; }
15689 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
15690 for ncn_progname in readelf; do
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15692 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15693 if test -x $with_build_time_tools/${ncn_progname}; then
15694 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15696 $as_echo "yes" >&6; }
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15700 $as_echo "no
" >&6; }
15705 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
15706 for ncn_progname in readelf; do
15707 if test -n "$ncn_target_tool_prefix"; then
15708 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15709 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15711 $as_echo_n "checking
for $ac_word...
" >&6; }
15712 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
15713 $as_echo_n "(cached
) " >&6
15715 if test -n "$READELF_FOR_TARGET"; then
15716 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
15718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15719 for as_dir in $PATH
15722 test -z "$as_dir" && as_dir=.
15723 for ac_exec_ext in '' $ac_executable_extensions; do
15724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15725 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15735 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
15736 if test -n "$READELF_FOR_TARGET"; then
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
15738 $as_echo "$READELF_FOR_TARGET" >&6; }
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15741 $as_echo "no
" >&6; }
15746 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
15747 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15748 set dummy ${ncn_progname}; ac_word=$2
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15750 $as_echo_n "checking
for $ac_word...
" >&6; }
15751 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
15752 $as_echo_n "(cached
) " >&6
15754 if test -n "$READELF_FOR_TARGET"; then
15755 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
15757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH
15761 test -z "$as_dir" && as_dir=.
15762 for ac_exec_ext in '' $ac_executable_extensions; do
15763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15764 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
15765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15774 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
15775 if test -n "$READELF_FOR_TARGET"; then
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
15777 $as_echo "$READELF_FOR_TARGET" >&6; }
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15780 $as_echo "no
" >&6; }
15785 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
15789 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
15791 if test $build = $target ; then
15792 READELF_FOR_TARGET="$2"
15794 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
15797 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
15801 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
15807 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
15808 if test -n "$with_build_time_tools"; then
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
15810 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
15811 if test -x $with_build_time_tools/strip; then
15812 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
15813 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
15815 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15818 $as_echo "no
" >&6; }
15820 elif test $build != $host && test $have_gcc_for_target = yes; then
15821 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
15822 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
15823 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
15826 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15827 # Extract the first word of "strip
", so it can be a program name with args.
15828 set dummy strip; ac_word=$2
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15830 $as_echo_n "checking
for $ac_word...
" >&6; }
15831 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
15832 $as_echo_n "(cached
) " >&6
15834 case $STRIP_FOR_TARGET in
15836 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
15839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15840 for as_dir in $gcc_cv_tool_dirs
15843 test -z "$as_dir" && as_dir=.
15844 for ac_exec_ext in '' $ac_executable_extensions; do
15845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15846 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15857 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
15858 if test -n "$STRIP_FOR_TARGET"; then
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
15860 $as_echo "$STRIP_FOR_TARGET" >&6; }
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15863 $as_echo "no
" >&6; }
15868 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
15871 if test -n "$STRIP_FOR_TARGET"; then
15872 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
15873 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
15874 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
15877 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
15878 for ncn_progname in strip; do
15879 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15880 set dummy ${ncn_progname}; ac_word=$2
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15882 $as_echo_n "checking
for $ac_word...
" >&6; }
15883 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
15884 $as_echo_n "(cached
) " >&6
15886 if test -n "$STRIP_FOR_TARGET"; then
15887 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
15889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15890 for as_dir in $PATH
15893 test -z "$as_dir" && as_dir=.
15894 for ac_exec_ext in '' $ac_executable_extensions; do
15895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15896 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
15897 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15906 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
15907 if test -n "$STRIP_FOR_TARGET"; then
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
15909 $as_echo "$STRIP_FOR_TARGET" >&6; }
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15912 $as_echo "no
" >&6; }
15919 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15920 for ncn_progname in strip; do
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15922 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15923 if test -x $with_build_time_tools/${ncn_progname}; then
15924 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15926 $as_echo "yes" >&6; }
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15930 $as_echo "no
" >&6; }
15935 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
15936 for ncn_progname in strip; do
15937 if test -n "$ncn_target_tool_prefix"; then
15938 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15939 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15941 $as_echo_n "checking
for $ac_word...
" >&6; }
15942 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
15943 $as_echo_n "(cached
) " >&6
15945 if test -n "$STRIP_FOR_TARGET"; then
15946 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
15948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15949 for as_dir in $PATH
15952 test -z "$as_dir" && as_dir=.
15953 for ac_exec_ext in '' $ac_executable_extensions; do
15954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15955 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15965 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
15966 if test -n "$STRIP_FOR_TARGET"; then
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
15968 $as_echo "$STRIP_FOR_TARGET" >&6; }
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15971 $as_echo "no
" >&6; }
15976 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
15977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15978 set dummy ${ncn_progname}; ac_word=$2
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15980 $as_echo_n "checking
for $ac_word...
" >&6; }
15981 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
15982 $as_echo_n "(cached
) " >&6
15984 if test -n "$STRIP_FOR_TARGET"; then
15985 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
15987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15988 for as_dir in $PATH
15991 test -z "$as_dir" && as_dir=.
15992 for ac_exec_ext in '' $ac_executable_extensions; do
15993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15994 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
15995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16004 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16005 if test -n "$STRIP_FOR_TARGET"; then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16007 $as_echo "$STRIP_FOR_TARGET" >&6; }
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16010 $as_echo "no
" >&6; }
16015 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
16019 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
16021 if test $build = $target ; then
16022 STRIP_FOR_TARGET="$2"
16024 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16027 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
16031 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16037 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16038 if test -n "$with_build_time_tools"; then
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
16040 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
16041 if test -x $with_build_time_tools/windres; then
16042 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
16043 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
16045 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16048 $as_echo "no
" >&6; }
16050 elif test $build != $host && test $have_gcc_for_target = yes; then
16051 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
16052 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
16053 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16056 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16057 # Extract the first word of "windres
", so it can be a program name with args.
16058 set dummy windres; ac_word=$2
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16060 $as_echo_n "checking
for $ac_word...
" >&6; }
16061 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
16062 $as_echo_n "(cached
) " >&6
16064 case $WINDRES_FOR_TARGET in
16066 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
16069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16070 for as_dir in $gcc_cv_tool_dirs
16073 test -z "$as_dir" && as_dir=.
16074 for ac_exec_ext in '' $ac_executable_extensions; do
16075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16076 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16087 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16088 if test -n "$WINDRES_FOR_TARGET"; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16090 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16093 $as_echo "no
" >&6; }
16098 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16101 if test -n "$WINDRES_FOR_TARGET"; then
16102 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16103 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16104 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16107 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16108 for ncn_progname in windres; do
16109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16110 set dummy ${ncn_progname}; ac_word=$2
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16112 $as_echo_n "checking
for $ac_word...
" >&6; }
16113 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16114 $as_echo_n "(cached
) " >&6
16116 if test -n "$WINDRES_FOR_TARGET"; then
16117 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16120 for as_dir in $PATH
16123 test -z "$as_dir" && as_dir=.
16124 for ac_exec_ext in '' $ac_executable_extensions; do
16125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16126 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16136 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16137 if test -n "$WINDRES_FOR_TARGET"; then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16139 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16142 $as_echo "no
" >&6; }
16149 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
16150 for ncn_progname in windres; do
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16152 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16153 if test -x $with_build_time_tools/${ncn_progname}; then
16154 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16156 $as_echo "yes" >&6; }
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16160 $as_echo "no
" >&6; }
16165 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16166 for ncn_progname in windres; do
16167 if test -n "$ncn_target_tool_prefix"; then
16168 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16169 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16171 $as_echo_n "checking
for $ac_word...
" >&6; }
16172 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16173 $as_echo_n "(cached
) " >&6
16175 if test -n "$WINDRES_FOR_TARGET"; then
16176 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16179 for as_dir in $PATH
16182 test -z "$as_dir" && as_dir=.
16183 for ac_exec_ext in '' $ac_executable_extensions; do
16184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16185 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16195 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16196 if test -n "$WINDRES_FOR_TARGET"; then
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16198 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16201 $as_echo "no
" >&6; }
16206 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
16207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16208 set dummy ${ncn_progname}; ac_word=$2
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16210 $as_echo_n "checking
for $ac_word...
" >&6; }
16211 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16212 $as_echo_n "(cached
) " >&6
16214 if test -n "$WINDRES_FOR_TARGET"; then
16215 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16218 for as_dir in $PATH
16221 test -z "$as_dir" && as_dir=.
16222 for ac_exec_ext in '' $ac_executable_extensions; do
16223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16224 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16234 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16235 if test -n "$WINDRES_FOR_TARGET"; then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16237 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16240 $as_echo "no
" >&6; }
16245 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
16249 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
16251 if test $build = $target ; then
16252 WINDRES_FOR_TARGET="$2"
16254 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
16257 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
16261 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16267 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
16268 if test -n "$with_build_time_tools"; then
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
16270 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
16271 if test -x $with_build_time_tools/windmc; then
16272 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
16273 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
16275 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16278 $as_echo "no
" >&6; }
16280 elif test $build != $host && test $have_gcc_for_target = yes; then
16281 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
16282 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
16283 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16286 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16287 # Extract the first word of "windmc
", so it can be a program name with args.
16288 set dummy windmc; ac_word=$2
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16290 $as_echo_n "checking
for $ac_word...
" >&6; }
16291 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
16292 $as_echo_n "(cached
) " >&6
16294 case $WINDMC_FOR_TARGET in
16296 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
16299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16300 for as_dir in $gcc_cv_tool_dirs
16303 test -z "$as_dir" && as_dir=.
16304 for ac_exec_ext in '' $ac_executable_extensions; do
16305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16306 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16317 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
16318 if test -n "$WINDMC_FOR_TARGET"; then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16320 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16323 $as_echo "no
" >&6; }
16328 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
16331 if test -n "$WINDMC_FOR_TARGET"; then
16332 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16333 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16334 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16337 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16338 for ncn_progname in windmc; do
16339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16340 set dummy ${ncn_progname}; ac_word=$2
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16342 $as_echo_n "checking
for $ac_word...
" >&6; }
16343 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16344 $as_echo_n "(cached
) " >&6
16346 if test -n "$WINDMC_FOR_TARGET"; then
16347 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350 for as_dir in $PATH
16353 test -z "$as_dir" && as_dir=.
16354 for ac_exec_ext in '' $ac_executable_extensions; do
16355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16356 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
16357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16366 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16367 if test -n "$WINDMC_FOR_TARGET"; then
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16369 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16372 $as_echo "no
" >&6; }
16379 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
16380 for ncn_progname in windmc; do
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16382 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16383 if test -x $with_build_time_tools/${ncn_progname}; then
16384 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16386 $as_echo "yes" >&6; }
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16390 $as_echo "no
" >&6; }
16395 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16396 for ncn_progname in windmc; do
16397 if test -n "$ncn_target_tool_prefix"; then
16398 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16399 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16401 $as_echo_n "checking
for $ac_word...
" >&6; }
16402 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16403 $as_echo_n "(cached
) " >&6
16405 if test -n "$WINDMC_FOR_TARGET"; then
16406 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16409 for as_dir in $PATH
16412 test -z "$as_dir" && as_dir=.
16413 for ac_exec_ext in '' $ac_executable_extensions; do
16414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16415 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16425 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16426 if test -n "$WINDMC_FOR_TARGET"; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16428 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16431 $as_echo "no
" >&6; }
16436 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
16437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16438 set dummy ${ncn_progname}; ac_word=$2
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16440 $as_echo_n "checking
for $ac_word...
" >&6; }
16441 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16442 $as_echo_n "(cached
) " >&6
16444 if test -n "$WINDMC_FOR_TARGET"; then
16445 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16448 for as_dir in $PATH
16451 test -z "$as_dir" && as_dir=.
16452 for ac_exec_ext in '' $ac_executable_extensions; do
16453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16454 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
16455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16464 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16465 if test -n "$WINDMC_FOR_TARGET"; then
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16467 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16470 $as_echo "no
" >&6; }
16475 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
16479 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
16481 if test $build = $target ; then
16482 WINDMC_FOR_TARGET="$2"
16484 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
16487 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
16491 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
16495 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
16498 $as_echo_n "checking where to
find the target
ar...
" >&6; }
16499 if test "x
${build}" != "x
${host}" ; then
16500 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
16501 # We already found the complete path
16502 ac_dir=`dirname $AR_FOR_TARGET`
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16504 $as_echo "pre-installed
in $ac_dir" >&6; }
16506 # Canadian cross, just use what we found
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16508 $as_echo "pre-installed
" >&6; }
16512 case " ${configdirs} " in
16517 if test $ok = yes; then
16518 # An in-tree tool is available and we can use it
16519 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16521 $as_echo "just compiled
" >&6; }
16522 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
16523 # We already found the complete path
16524 ac_dir=`dirname $AR_FOR_TARGET`
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16526 $as_echo "pre-installed
in $ac_dir" >&6; }
16527 elif test "x
$target" = "x
$host"; then
16528 # We can use an host tool
16529 AR_FOR_TARGET='$(AR)'
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16531 $as_echo "host tool
" >&6; }
16533 # We need a cross tool
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16535 $as_echo "pre-installed
" >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
16540 $as_echo_n "checking where to
find the target as...
" >&6; }
16541 if test "x
${build}" != "x
${host}" ; then
16542 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
16543 # We already found the complete path
16544 ac_dir=`dirname $AS_FOR_TARGET`
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16546 $as_echo "pre-installed
in $ac_dir" >&6; }
16548 # Canadian cross, just use what we found
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16550 $as_echo "pre-installed
" >&6; }
16554 case " ${configdirs} " in
16559 if test $ok = yes; then
16560 # An in-tree tool is available and we can use it
16561 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16563 $as_echo "just compiled
" >&6; }
16564 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
16565 # We already found the complete path
16566 ac_dir=`dirname $AS_FOR_TARGET`
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16568 $as_echo "pre-installed
in $ac_dir" >&6; }
16569 elif test "x
$target" = "x
$host"; then
16570 # We can use an host tool
16571 AS_FOR_TARGET='$(AS)'
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16573 $as_echo "host tool
" >&6; }
16575 # We need a cross tool
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16577 $as_echo "pre-installed
" >&6; }
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
16582 $as_echo_n "checking where to
find the target cc...
" >&6; }
16583 if test "x
${build}" != "x
${host}" ; then
16584 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
16585 # We already found the complete path
16586 ac_dir=`dirname $CC_FOR_TARGET`
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16588 $as_echo "pre-installed
in $ac_dir" >&6; }
16590 # Canadian cross, just use what we found
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16592 $as_echo "pre-installed
" >&6; }
16596 case " ${configdirs} " in
16601 if test $ok = yes; then
16602 # An in-tree tool is available and we can use it
16603 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16605 $as_echo "just compiled
" >&6; }
16606 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
16607 # We already found the complete path
16608 ac_dir=`dirname $CC_FOR_TARGET`
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16610 $as_echo "pre-installed
in $ac_dir" >&6; }
16611 elif test "x
$target" = "x
$host"; then
16612 # We can use an host tool
16613 CC_FOR_TARGET='$(CC)'
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16615 $as_echo "host tool
" >&6; }
16617 # We need a cross tool
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16619 $as_echo "pre-installed
" >&6; }
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
16624 $as_echo_n "checking where to
find the target c
++...
" >&6; }
16625 if test "x
${build}" != "x
${host}" ; then
16626 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
16627 # We already found the complete path
16628 ac_dir=`dirname $CXX_FOR_TARGET`
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16630 $as_echo "pre-installed
in $ac_dir" >&6; }
16632 # Canadian cross, just use what we found
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16634 $as_echo "pre-installed
" >&6; }
16638 case " ${configdirs} " in
16642 case ,${enable_languages}, in
16646 if test $ok = yes; then
16647 # An in-tree tool is available and we can use it
16648 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'
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16650 $as_echo "just compiled
" >&6; }
16651 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
16652 # We already found the complete path
16653 ac_dir=`dirname $CXX_FOR_TARGET`
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16655 $as_echo "pre-installed
in $ac_dir" >&6; }
16656 elif test "x
$target" = "x
$host"; then
16657 # We can use an host tool
16658 CXX_FOR_TARGET='$(CXX)'
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16660 $as_echo "host tool
" >&6; }
16662 # We need a cross tool
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16664 $as_echo "pre-installed
" >&6; }
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
16669 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
16670 if test "x
${build}" != "x
${host}" ; then
16671 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
16672 # We already found the complete path
16673 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16675 $as_echo "pre-installed
in $ac_dir" >&6; }
16677 # Canadian cross, just use what we found
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16679 $as_echo "pre-installed
" >&6; }
16683 case " ${configdirs} " in
16687 case ,${enable_languages}, in
16691 if test $ok = yes; then
16692 # An in-tree tool is available and we can use it
16693 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'
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16695 $as_echo "just compiled
" >&6; }
16696 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
16697 # We already found the complete path
16698 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16700 $as_echo "pre-installed
in $ac_dir" >&6; }
16701 elif test "x
$target" = "x
$host"; then
16702 # We can use an host tool
16703 RAW_CXX_FOR_TARGET='$(CXX)'
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16705 $as_echo "host tool
" >&6; }
16707 # We need a cross tool
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16709 $as_echo "pre-installed
" >&6; }
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
16714 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
16715 if test "x
${build}" != "x
${host}" ; then
16716 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
16717 # We already found the complete path
16718 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16720 $as_echo "pre-installed
in $ac_dir" >&6; }
16722 # Canadian cross, just use what we found
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16724 $as_echo "pre-installed
" >&6; }
16728 case " ${configdirs} " in
16733 if test $ok = yes; then
16734 # An in-tree tool is available and we can use it
16735 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16737 $as_echo "just compiled
" >&6; }
16738 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
16739 # We already found the complete path
16740 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16742 $as_echo "pre-installed
in $ac_dir" >&6; }
16743 elif test "x
$target" = "x
$host"; then
16744 # We can use an host tool
16745 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16747 $as_echo "host tool
" >&6; }
16749 # We need a cross tool
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16751 $as_echo "pre-installed
" >&6; }
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
16756 $as_echo_n "checking where to
find the target gcc...
" >&6; }
16757 if test "x
${build}" != "x
${host}" ; then
16758 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
16759 # We already found the complete path
16760 ac_dir=`dirname $GCC_FOR_TARGET`
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16762 $as_echo "pre-installed
in $ac_dir" >&6; }
16764 # Canadian cross, just use what we found
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16766 $as_echo "pre-installed
" >&6; }
16770 case " ${configdirs} " in
16775 if test $ok = yes; then
16776 # An in-tree tool is available and we can use it
16777 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16779 $as_echo "just compiled
" >&6; }
16780 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
16781 # We already found the complete path
16782 ac_dir=`dirname $GCC_FOR_TARGET`
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16784 $as_echo "pre-installed
in $ac_dir" >&6; }
16785 elif test "x
$target" = "x
$host"; then
16786 # We can use an host tool
16787 GCC_FOR_TARGET='$()'
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16789 $as_echo "host tool
" >&6; }
16791 # We need a cross tool
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16793 $as_echo "pre-installed
" >&6; }
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
16798 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
16799 if test "x
${build}" != "x
${host}" ; then
16800 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
16801 # We already found the complete path
16802 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16804 $as_echo "pre-installed
in $ac_dir" >&6; }
16806 # Canadian cross, just use what we found
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16808 $as_echo "pre-installed
" >&6; }
16812 case " ${configdirs} " in
16816 case ,${enable_languages}, in
16820 if test $ok = yes; then
16821 # An in-tree tool is available and we can use it
16822 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16824 $as_echo "just compiled
" >&6; }
16825 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
16826 # We already found the complete path
16827 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16829 $as_echo "pre-installed
in $ac_dir" >&6; }
16830 elif test "x
$target" = "x
$host"; then
16831 # We can use an host tool
16832 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16834 $as_echo "host tool
" >&6; }
16836 # We need a cross tool
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16838 $as_echo "pre-installed
" >&6; }
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
16843 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
16844 if test "x
${build}" != "x
${host}" ; then
16845 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
16846 # We already found the complete path
16847 ac_dir=`dirname $GOC_FOR_TARGET`
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16849 $as_echo "pre-installed
in $ac_dir" >&6; }
16851 # Canadian cross, just use what we found
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16853 $as_echo "pre-installed
" >&6; }
16857 case " ${configdirs} " in
16861 case ,${enable_languages}, in
16865 if test $ok = yes; then
16866 # An in-tree tool is available and we can use it
16867 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16869 $as_echo "just compiled
" >&6; }
16870 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
16871 # We already found the complete path
16872 ac_dir=`dirname $GOC_FOR_TARGET`
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16874 $as_echo "pre-installed
in $ac_dir" >&6; }
16875 elif test "x
$target" = "x
$host"; then
16876 # We can use an host tool
16877 GOC_FOR_TARGET='$(GOC)'
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16879 $as_echo "host tool
" >&6; }
16881 # We need a cross tool
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16883 $as_echo "pre-installed
" >&6; }
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
16888 $as_echo_n "checking where to
find the target gdc...
" >&6; }
16889 if test "x
${build}" != "x
${host}" ; then
16890 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
16891 # We already found the complete path
16892 ac_dir=`dirname $GDC_FOR_TARGET`
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16894 $as_echo "pre-installed
in $ac_dir" >&6; }
16896 # Canadian cross, just use what we found
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16898 $as_echo "pre-installed
" >&6; }
16902 case " ${configdirs} " in
16906 case ,${enable_languages}, in
16910 if test $ok = yes; then
16911 # An in-tree tool is available and we can use it
16912 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16914 $as_echo "just compiled
" >&6; }
16915 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
16916 # We already found the complete path
16917 ac_dir=`dirname $GDC_FOR_TARGET`
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16919 $as_echo "pre-installed
in $ac_dir" >&6; }
16920 elif test "x
$target" = "x
$host"; then
16921 # We can use an host tool
16922 GDC_FOR_TARGET='$(GDC)'
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16924 $as_echo "host tool
" >&6; }
16926 # We need a cross tool
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16928 $as_echo "pre-installed
" >&6; }
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
16933 $as_echo_n "checking where to
find the target ld...
" >&6; }
16934 if test "x
${build}" != "x
${host}" ; then
16935 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
16936 # We already found the complete path
16937 ac_dir=`dirname $LD_FOR_TARGET`
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16939 $as_echo "pre-installed
in $ac_dir" >&6; }
16941 # Canadian cross, just use what we found
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16943 $as_echo "pre-installed
" >&6; }
16947 case " ${configdirs} " in
16952 if test $ok = yes; then
16953 # An in-tree tool is available and we can use it
16954 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16956 $as_echo "just compiled
" >&6; }
16957 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
16958 # We already found the complete path
16959 ac_dir=`dirname $LD_FOR_TARGET`
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16961 $as_echo "pre-installed
in $ac_dir" >&6; }
16962 elif test "x
$target" = "x
$host"; then
16963 # We can use an host tool
16964 LD_FOR_TARGET='$(LD)'
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16966 $as_echo "host tool
" >&6; }
16968 # We need a cross tool
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16970 $as_echo "pre-installed
" >&6; }
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
16975 $as_echo_n "checking where to
find the target lipo...
" >&6; }
16976 if test "x
${build}" != "x
${host}" ; then
16977 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
16978 # We already found the complete path
16979 ac_dir=`dirname $LIPO_FOR_TARGET`
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16981 $as_echo "pre-installed
in $ac_dir" >&6; }
16983 # Canadian cross, just use what we found
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16985 $as_echo "pre-installed
" >&6; }
16988 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
16989 # We already found the complete path
16990 ac_dir=`dirname $LIPO_FOR_TARGET`
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16992 $as_echo "pre-installed
in $ac_dir" >&6; }
16993 elif test "x
$target" = "x
$host"; then
16994 # We can use an host tool
16995 LIPO_FOR_TARGET='$(LIPO)'
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16997 $as_echo "host tool
" >&6; }
16999 # We need a cross tool
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17001 $as_echo "pre-installed
" >&6; }
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
17006 $as_echo_n "checking where to
find the target nm...
" >&6; }
17007 if test "x
${build}" != "x
${host}" ; then
17008 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17009 # We already found the complete path
17010 ac_dir=`dirname $NM_FOR_TARGET`
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17012 $as_echo "pre-installed
in $ac_dir" >&6; }
17014 # Canadian cross, just use what we found
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17016 $as_echo "pre-installed
" >&6; }
17020 case " ${configdirs} " in
17025 if test $ok = yes; then
17026 # An in-tree tool is available and we can use it
17027 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17029 $as_echo "just compiled
" >&6; }
17030 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17031 # We already found the complete path
17032 ac_dir=`dirname $NM_FOR_TARGET`
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17034 $as_echo "pre-installed
in $ac_dir" >&6; }
17035 elif test "x
$target" = "x
$host"; then
17036 # We can use an host tool
17037 NM_FOR_TARGET='$(NM)'
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17039 $as_echo "host tool
" >&6; }
17041 # We need a cross tool
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17043 $as_echo "pre-installed
" >&6; }
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
17048 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
17049 if test "x
${build}" != "x
${host}" ; then
17050 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17051 # We already found the complete path
17052 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17054 $as_echo "pre-installed
in $ac_dir" >&6; }
17056 # Canadian cross, just use what we found
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17058 $as_echo "pre-installed
" >&6; }
17062 case " ${configdirs} " in
17067 if test $ok = yes; then
17068 # An in-tree tool is available and we can use it
17069 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17071 $as_echo "just compiled
" >&6; }
17072 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17073 # We already found the complete path
17074 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17076 $as_echo "pre-installed
in $ac_dir" >&6; }
17077 elif test "x
$target" = "x
$host"; then
17078 # We can use an host tool
17079 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17081 $as_echo "host tool
" >&6; }
17083 # We need a cross tool
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17085 $as_echo "pre-installed
" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
17090 $as_echo_n "checking where to
find the target objdump...
" >&6; }
17091 if test "x
${build}" != "x
${host}" ; then
17092 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17093 # We already found the complete path
17094 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17096 $as_echo "pre-installed
in $ac_dir" >&6; }
17098 # Canadian cross, just use what we found
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17100 $as_echo "pre-installed
" >&6; }
17104 case " ${configdirs} " in
17109 if test $ok = yes; then
17110 # An in-tree tool is available and we can use it
17111 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17113 $as_echo "just compiled
" >&6; }
17114 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17115 # We already found the complete path
17116 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17118 $as_echo "pre-installed
in $ac_dir" >&6; }
17119 elif test "x
$target" = "x
$host"; then
17120 # We can use an host tool
17121 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17123 $as_echo "host tool
" >&6; }
17125 # We need a cross tool
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17127 $as_echo "pre-installed
" >&6; }
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
17132 $as_echo_n "checking where to
find the target otool...
" >&6; }
17133 if test "x
${build}" != "x
${host}" ; then
17134 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17135 # We already found the complete path
17136 ac_dir=`dirname $OTOOL_FOR_TARGET`
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17138 $as_echo "pre-installed
in $ac_dir" >&6; }
17140 # Canadian cross, just use what we found
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17142 $as_echo "pre-installed
" >&6; }
17145 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17146 # We already found the complete path
17147 ac_dir=`dirname $OTOOL_FOR_TARGET`
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17149 $as_echo "pre-installed
in $ac_dir" >&6; }
17150 elif test "x
$target" = "x
$host"; then
17151 # We can use an host tool
17152 OTOOL_FOR_TARGET='$(OTOOL)'
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17154 $as_echo "host tool
" >&6; }
17156 # We need a cross tool
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17158 $as_echo "pre-installed
" >&6; }
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
17163 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
17164 if test "x
${build}" != "x
${host}" ; then
17165 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17166 # We already found the complete path
17167 ac_dir=`dirname $RANLIB_FOR_TARGET`
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17169 $as_echo "pre-installed
in $ac_dir" >&6; }
17171 # Canadian cross, just use what we found
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17173 $as_echo "pre-installed
" >&6; }
17177 case " ${configdirs} " in
17182 if test $ok = yes; then
17183 # An in-tree tool is available and we can use it
17184 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17186 $as_echo "just compiled
" >&6; }
17187 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17188 # We already found the complete path
17189 ac_dir=`dirname $RANLIB_FOR_TARGET`
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17191 $as_echo "pre-installed
in $ac_dir" >&6; }
17192 elif test "x
$target" = "x
$host"; then
17193 # We can use an host tool
17194 RANLIB_FOR_TARGET='$(RANLIB)'
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17196 $as_echo "host tool
" >&6; }
17198 # We need a cross tool
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17200 $as_echo "pre-installed
" >&6; }
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
17205 $as_echo_n "checking where to
find the target readelf...
" >&6; }
17206 if test "x
${build}" != "x
${host}" ; then
17207 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
17208 # We already found the complete path
17209 ac_dir=`dirname $READELF_FOR_TARGET`
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17211 $as_echo "pre-installed
in $ac_dir" >&6; }
17213 # Canadian cross, just use what we found
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17215 $as_echo "pre-installed
" >&6; }
17219 case " ${configdirs} " in
17224 if test $ok = yes; then
17225 # An in-tree tool is available and we can use it
17226 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17228 $as_echo "just compiled
" >&6; }
17229 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
17230 # We already found the complete path
17231 ac_dir=`dirname $READELF_FOR_TARGET`
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17233 $as_echo "pre-installed
in $ac_dir" >&6; }
17234 elif test "x
$target" = "x
$host"; then
17235 # We can use an host tool
17236 READELF_FOR_TARGET='$(READELF)'
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17238 $as_echo "host tool
" >&6; }
17240 # We need a cross tool
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17242 $as_echo "pre-installed
" >&6; }
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
17247 $as_echo_n "checking where to
find the target strip...
" >&6; }
17248 if test "x
${build}" != "x
${host}" ; then
17249 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
17250 # We already found the complete path
17251 ac_dir=`dirname $STRIP_FOR_TARGET`
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17253 $as_echo "pre-installed
in $ac_dir" >&6; }
17255 # Canadian cross, just use what we found
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17257 $as_echo "pre-installed
" >&6; }
17261 case " ${configdirs} " in
17266 if test $ok = yes; then
17267 # An in-tree tool is available and we can use it
17268 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17270 $as_echo "just compiled
" >&6; }
17271 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
17272 # We already found the complete path
17273 ac_dir=`dirname $STRIP_FOR_TARGET`
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17275 $as_echo "pre-installed
in $ac_dir" >&6; }
17276 elif test "x
$target" = "x
$host"; then
17277 # We can use an host tool
17278 STRIP_FOR_TARGET='$(STRIP)'
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17280 $as_echo "host tool
" >&6; }
17282 # We need a cross tool
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17284 $as_echo "pre-installed
" >&6; }
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
17289 $as_echo_n "checking where to
find the target windres...
" >&6; }
17290 if test "x
${build}" != "x
${host}" ; then
17291 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
17292 # We already found the complete path
17293 ac_dir=`dirname $WINDRES_FOR_TARGET`
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17295 $as_echo "pre-installed
in $ac_dir" >&6; }
17297 # Canadian cross, just use what we found
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17299 $as_echo "pre-installed
" >&6; }
17303 case " ${configdirs} " in
17308 if test $ok = yes; then
17309 # An in-tree tool is available and we can use it
17310 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17312 $as_echo "just compiled
" >&6; }
17313 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
17314 # We already found the complete path
17315 ac_dir=`dirname $WINDRES_FOR_TARGET`
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17317 $as_echo "pre-installed
in $ac_dir" >&6; }
17318 elif test "x
$target" = "x
$host"; then
17319 # We can use an host tool
17320 WINDRES_FOR_TARGET='$(WINDRES)'
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17322 $as_echo "host tool
" >&6; }
17324 # We need a cross tool
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17326 $as_echo "pre-installed
" >&6; }
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
17331 $as_echo_n "checking where to
find the target windmc...
" >&6; }
17332 if test "x
${build}" != "x
${host}" ; then
17333 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
17334 # We already found the complete path
17335 ac_dir=`dirname $WINDMC_FOR_TARGET`
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17337 $as_echo "pre-installed
in $ac_dir" >&6; }
17339 # Canadian cross, just use what we found
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17341 $as_echo "pre-installed
" >&6; }
17345 case " ${configdirs} " in
17350 if test $ok = yes; then
17351 # An in-tree tool is available and we can use it
17352 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17354 $as_echo "just compiled
" >&6; }
17355 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
17356 # We already found the complete path
17357 ac_dir=`dirname $WINDMC_FOR_TARGET`
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17359 $as_echo "pre-installed
in $ac_dir" >&6; }
17360 elif test "x
$target" = "x
$host"; then
17361 # We can use an host tool
17362 WINDMC_FOR_TARGET='$(WINDMC)'
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17364 $as_echo "host tool
" >&6; }
17366 # We need a cross tool
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17368 $as_echo "pre-installed
" >&6; }
17376 # Certain tools may need extra flags.
17377 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
17378 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
17379 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
17381 # When building target libraries, except in a Canadian cross, we use
17382 # the same toolchain as the compiler we just built.
17383 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
17384 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
17385 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
17386 if test $host = $build; then
17387 case " $configdirs " in
17389 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
17390 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
17391 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
17401 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
17402 # Check whether --enable-maintainer-mode was given.
17403 if test "${enable_maintainer_mode+set}" = set; then :
17404 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
17406 USE_MAINTAINER_MODE=no
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
17410 $as_echo "$USE_MAINTAINER_MODE" >&6; }
17413 if test "$USE_MAINTAINER_MODE" = yes; then
17414 MAINTAINER_MODE_TRUE=
17415 MAINTAINER_MODE_FALSE='#'
17417 MAINTAINER_MODE_TRUE='#'
17418 MAINTAINER_MODE_FALSE=
17420 MAINT=$MAINTAINER_MODE_TRUE
17422 # ---------------------
17423 # GCC bootstrap support
17424 # ---------------------
17426 # Stage specific cflags for build.
17431 yes) stage1_cflags="-g -Wa,-J" ;;
17432 *) stage1_cflags="-g -J" ;;
17438 # Enable --enable-checking in stage1 of the compiler.
17439 # Check whether --enable-stage1-checking was given.
17440 if test "${enable_stage1_checking+set}" = set; then :
17441 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
17443 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
17444 # For --disable-checking or implicit --enable-checking=release, avoid
17445 # setting --enable-checking=gc in the default stage1 checking for LTO
17446 # bootstraps. See PR62077.
17447 case $BUILD_CONFIG in
17449 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
17451 stage1_checking=--enable-checking=yes,types;;
17453 if test "x
$enable_checking" = x && \
17454 test -d ${srcdir}/gcc && \
17455 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
17456 stage1_checking=--enable-checking=yes,types,extra
17459 stage1_checking=--enable-checking=$enable_checking,types
17465 # Enable -Werror in bootstrap stage2 and later.
17466 # Check whether --enable-werror was given.
17467 if test "${enable_werror+set}" = set; then :
17468 enableval=$enable_werror;
17469 case ${enable_werror} in
17470 yes) stage2_werror_flag="--enable-werror-always" ;;
17471 *) stage2_werror_flag="" ;;
17476 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
17477 case $BUILD_CONFIG in
17479 stage2_werror_flag="--enable-werror-always" ;;
17481 stage2_werror_flag="--enable-werror-always" ;;
17490 # Specify what files to not compare during bootstrap.
17492 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
17494 hppa*64*-*-hpux*) ;;
17495 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
17496 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
17500 ac_config_files="$ac_config_files Makefile
"
17502 cat >confcache <<\_ACEOF
17503 # This file is a shell script that caches the results of configure
17504 # tests run on this system so they can be shared between configure
17505 # scripts and configure runs, see configure's option --config-cache.
17506 # It is not useful on other systems. If it contains results you don't
17507 # want to keep, you may remove or edit it.
17509 # config.status only pays attention to the cache file if you give it
17510 # the --recheck option to rerun configure.
17512 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17514 # following values.
17518 # The following way of writing the cache mishandles newlines in values,
17519 # but we know of no workaround that is simple, portable, and efficient.
17520 # So, we kill variables containing newlines.
17521 # Ultrix sh set writes to stderr and can't be redirected directly,
17522 # and sets the high bit in the cache file unless we assign to the vars.
17524 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17525 eval ac_val=\$$ac_var
17529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
17530 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
17533 _ | IFS | as_nl) ;; #(
17534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17535 *) { eval $ac_var=; unset $ac_var;} ;;
17541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17542 *${as_nl}ac_space=\ *)
17543 # `set' does not quote correctly, so add quotes: double-quote
17544 # substitution turns \\\\ into \\, and sed turns \\ into \.
17547 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
17550 # `set' quotes correctly as required by POSIX, so do not add quotes.
17551 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
17560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17564 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17565 if test -w "$cache_file"; then
17566 if test "x
$cache_file" != "x
/dev
/null
"; then
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
17568 $as_echo "$as_me: updating cache
$cache_file" >&6;}
17569 if test ! -f "$cache_file" || test -h "$cache_file"; then
17570 cat confcache >"$cache_file"
17572 case $cache_file in #(
17574 mv -f confcache "$cache_file"$$ &&
17575 mv -f "$cache_file"$$ "$cache_file" ;; #(
17577 mv -f confcache "$cache_file" ;;
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
17583 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
17588 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
17589 # Let make expand exec_prefix.
17590 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
17592 # Transform confdefs.h into DEFS.
17593 # Protect against shell expansion while executing Makefile rules.
17594 # Protect against Makefile macro expansion.
17596 # If the first sed substitution is executed (which looks for macros that
17597 # take arguments), then branch to the quote section. Otherwise,
17598 # look for a macro that doesn't take arguments.
17608 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17610 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17614 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
17627 DEFS=`sed -n "$ac_script" confdefs.h`
17633 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17634 # 1. Remove the extension, and $U if already installed.
17635 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
17636 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17637 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17638 # will be set to the directory where LIBOBJS objects are built.
17639 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17640 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
17642 LIBOBJS=$ac_libobjs
17644 LTLIBOBJS=$ac_ltlibobjs
17648 : "${CONFIG_STATUS=./config.status}"
17650 ac_clean_files_save=$ac_clean_files
17651 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17653 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17655 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17657 # Generated by $as_me.
17658 # Run this file to recreate the current configuration.
17659 # Compiler output produced by configure, useful for debugging
17660 # configure, is in config.log if it exists.
17663 ac_cs_recheck=false
17666 SHELL=\${CONFIG_SHELL-$SHELL}
17669 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17670 ## -------------------- ##
17671 ## M4sh Initialization. ##
17672 ## -------------------- ##
17674 # Be more Bourne compatible
17675 DUALCASE=1; export DUALCASE # for MKS sh
17676 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17679 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17680 # is contrary to our usage. Disable this feature.
17681 alias -g '${1+"$@"}'='"$@"'
17682 setopt NO_GLOB_SUBST
17684 case `(set -o) 2>/dev/null` in #(
17696 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17697 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17698 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
17699 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17700 # Prefer a ksh shell builtin over an external printf program on Solaris,
17701 # but without wasting forks for bash or zsh.
17702 if test -z "$BASH_VERSION$ZSH_VERSION" \
17703 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
17704 as_echo
='print -r --'
17705 as_echo_n
='print -rn --'
17706 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
17707 as_echo
='printf %s\n'
17708 as_echo_n
='printf %s'
17710 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17711 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
17712 as_echo_n
='/usr/ucb/echo -n'
17714 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
17715 as_echo_n_body
='eval
17719 expr "X$arg" : "X\\(.*\\)$as_nl";
17720 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17722 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17724 export as_echo_n_body
17725 as_echo_n
='sh -c $as_echo_n_body as_echo'
17727 export as_echo_body
17728 as_echo
='sh -c $as_echo_body as_echo'
17731 # The user is always right.
17732 if test "${PATH_SEPARATOR+set}" != set; then
17734 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
17735 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
17742 # We need space, tab and new line, in precisely that order. Quoting is
17743 # there to prevent editors from complaining about space-tab.
17744 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17745 # splitting by setting IFS to empty value.)
17748 # Find who we are. Look in the path if we contain no directory separator.
17751 *[\\/]* ) as_myself
=$0 ;;
17752 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17753 for as_dir
in $PATH
17756 test -z "$as_dir" && as_dir
=.
17757 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17763 # We did not find ourselves, most probably we were run as `sh COMMAND'
17764 # in which case we are not to be found in the path.
17765 if test "x$as_myself" = x
; then
17768 if test ! -f "$as_myself"; then
17769 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17773 # Unset variables that we do not need and which cause bugs (e.g. in
17774 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17775 # suppresses any "Segmentation fault" message there. '((' could
17776 # trigger a bug in pdksh 5.2.14.
17777 for as_var
in BASH_ENV ENV MAIL MAILPATH
17778 do eval test x\
${$as_var+set} = xset \
17779 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17792 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17795 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17796 # ----------------------------------------
17797 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17798 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17799 # script with STATUS, using 1 if that was 0.
17802 as_status
=$1; test $as_status -eq 0 && as_status
=1
17804 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17805 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17807 $as_echo "$as_me: error: $2" >&2
17808 as_fn_exit
$as_status
17812 # as_fn_set_status STATUS
17813 # -----------------------
17814 # Set $? to STATUS, without forking.
17815 as_fn_set_status
()
17818 } # as_fn_set_status
17820 # as_fn_exit STATUS
17821 # -----------------
17822 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17826 as_fn_set_status
$1
17832 # Portably unset VAR.
17835 { eval $1=; unset $1;}
17837 as_unset
=as_fn_unset
17838 # as_fn_append VAR VALUE
17839 # ----------------------
17840 # Append the text in VALUE to the end of the definition contained in VAR. Take
17841 # advantage of any shell optimizations that allow amortized linear growth over
17842 # repeated appends, instead of the typical quadratic growth present in naive
17844 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17845 eval 'as_fn_append ()
17856 # as_fn_arith ARG...
17857 # ------------------
17858 # Perform arithmetic evaluation on the ARGs, and store the result in the
17859 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17860 # must be portable across $(()) and expr.
17861 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17862 eval 'as_fn_arith ()
17869 as_val
=`expr "$@" || test $? -eq 1`
17874 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17875 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17881 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17882 as_basename
=basename
17887 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17893 as_me
=`$as_basename -- "$0" ||
17894 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17895 X"$0" : 'X\(//\)$' \| \
17896 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17898 sed '/^.*\/\([^/][^/]*\)\/*$/{
17912 # Avoid depending upon Character Ranges.
17913 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17914 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17915 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17916 as_cr_digits
='0123456789'
17917 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17919 ECHO_C
= ECHO_N
= ECHO_T
=
17920 case `echo -n x` in #(((((
17922 case `echo 'xy\c'` in
17923 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17925 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17932 rm -f conf$$ conf$$.exe conf$$.
file
17933 if test -d conf$$.dir
; then
17934 rm -f conf$$.dir
/conf$$.
file
17937 mkdir conf$$.dir
2>/dev
/null
17939 if (echo >conf$$.
file) 2>/dev
/null
; then
17940 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17942 # ... but there are two gotchas:
17943 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17944 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17945 # In both cases, we have to default to `cp -pR'.
17946 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17948 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17956 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17957 rmdir conf$$.dir
2>/dev
/null
17962 # Create "$as_dir" as a directory, including parents if necessary.
17967 -*) as_dir
=.
/$as_dir;;
17969 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17973 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17974 *) as_qdir
=$as_dir;;
17976 as_dirs
="'$as_qdir' $as_dirs"
17977 as_dir
=`$as_dirname -- "$as_dir" ||
17978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17979 X"$as_dir" : 'X\(//\)[^/]' \| \
17980 X"$as_dir" : 'X\(//\)$' \| \
17981 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17982 $as_echo X"$as_dir" |
17983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17987 /^X\(\/\/\)[^/].*/{
18000 test -d "$as_dir" && break
18002 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18003 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18007 if mkdir
-p .
2>/dev
/null
; then
18008 as_mkdir_p
='mkdir -p "$as_dir"'
18010 test -d .
/-p && rmdir .
/-p
18015 # as_fn_executable_p FILE
18016 # -----------------------
18017 # Test if FILE is an executable regular file.
18018 as_fn_executable_p
()
18020 test -f "$1" && test -x "$1"
18021 } # as_fn_executable_p
18022 as_test_x
='test -x'
18023 as_executable_p
=as_fn_executable_p
18025 # Sed expression to map a string onto a valid CPP name.
18026 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18028 # Sed expression to map a string onto a valid variable name.
18029 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18033 ## ----------------------------------- ##
18034 ## Main body of $CONFIG_STATUS script. ##
18035 ## ----------------------------------- ##
18037 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18040 # Save the log message, to keep $0 and so on meaningful, and to
18041 # report actual input values of CONFIG_FILES etc. instead of their
18042 # values after options handling.
18044 This file was extended by $as_me, which was
18045 generated by GNU Autoconf 2.69. Invocation command line was
18047 CONFIG_FILES = $CONFIG_FILES
18048 CONFIG_HEADERS = $CONFIG_HEADERS
18049 CONFIG_LINKS = $CONFIG_LINKS
18050 CONFIG_COMMANDS = $CONFIG_COMMANDS
18053 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18058 case $ac_config_files in *"
18059 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18065 # Files that config.status was made for.
18066 config_files="$ac_config_files"
18070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18072 \`$as_me' instantiates files and other configuration actions
18073 from templates according to the current configuration. Unless the files
18074 and actions are specified as TAGs, all are instantiated by default.
18076 Usage: $0 [OPTION]... [TAG]...
18078 -h, --help print this help, then exit
18079 -V, --version print version number and configuration settings, then exit
18080 --config print configuration, then exit
18081 -q, --quiet, --silent
18082 do not print progress messages
18083 -d, --debug don't remove temporary files
18084 --recheck update $as_me by reconfiguring in the same conditions
18085 --file=FILE[:TEMPLATE]
18086 instantiate the configuration file FILE
18088 Configuration files:
18091 Report bugs to the package provider."
18094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18095 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18098 configured by $0, generated by GNU Autoconf 2.69,
18099 with options \\"\$ac_cs_config\\"
18101 Copyright (C) 2012 Free Software Foundation, Inc.
18102 This config.status script is free software; the Free Software Foundation
18103 gives unlimited permission to copy, distribute and modify it."
18109 test -n "\$AWK" || AWK=awk
18112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18113 # The default lists apply if the user does not specify any file.
18119 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18120 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18124 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18136 # Handling of the options.
18137 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18139 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18140 $as_echo "$ac_cs_version"; exit ;;
18141 --config |
--confi |
--conf |
--con |
--co |
--c )
18142 $as_echo "$ac_cs_config"; exit ;;
18143 --debug |
--debu |
--deb |
--de |
--d |
-d )
18145 --file |
--fil |
--fi |
--f )
18148 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18149 '') as_fn_error $?
"missing file argument" ;;
18151 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18152 ac_need_defaults
=false
;;
18153 --he |
--h |
--help |
--hel |
-h )
18154 $as_echo "$ac_cs_usage"; exit ;;
18155 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18156 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18159 # This is an error.
18160 -*) as_fn_error $?
"unrecognized option: \`$1'
18161 Try \`$0 --help' for more information." ;;
18163 *) as_fn_append ac_config_targets
" $1"
18164 ac_need_defaults
=false
;;
18170 ac_configure_extra_args
=
18172 if $ac_cs_silent; then
18174 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18179 if \$ac_cs_recheck; then
18180 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18182 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18183 CONFIG_SHELL='$SHELL'
18184 export CONFIG_SHELL
18189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18193 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18194 ## Running $as_me. ##
18200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18204 extrasub_build="$extrasub_build"
18205 extrasub_host="$extrasub_host"
18206 extrasub_target="$extrasub_target"
18210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18212 # Handling of arguments.
18213 for ac_config_target
in $ac_config_targets
18215 case $ac_config_target in
18216 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18218 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18223 # If the user did not use the arguments to specify the items to instantiate,
18224 # then the envvar interface is used. Set only those that are not.
18225 # We use the long form for the default assignment because of an extremely
18226 # bizarre bug on SunOS 4.1.3.
18227 if $ac_need_defaults; then
18228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18231 # Have a temporary directory for convenience. Make it in the build tree
18232 # simply because there is no reason against having it here, and in addition,
18233 # creating and moving files from /tmp can sometimes cause problems.
18234 # Hook for its removal unless debugging.
18235 # Note that there is a small window in which the directory will not be cleaned:
18236 # after its creation but before its name has been assigned to `$tmp'.
18240 trap 'exit_status=$?
18241 : "${ac_tmp:=$tmp}"
18242 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18244 trap 'as_fn_exit 1' 1 2 13 15
18246 # Create a (secure) tmp directory for tmp files.
18249 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18253 tmp
=.
/conf$$
-$RANDOM
18254 (umask 077 && mkdir
"$tmp")
18255 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18258 # Set up the scripts for CONFIG_FILES section.
18259 # No need to generate them if there are no CONFIG_FILES.
18260 # This happens for instance with `./config.status config.h'.
18261 if test -n "$CONFIG_FILES"; then
18263 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18264 ac_cs_awk_getline
=:
18265 ac_cs_awk_pipe_init
=
18266 ac_cs_awk_read_file
='
18267 while ((getline aline < (F[key])) > 0)
18270 ac_cs_awk_pipe_fini
=
18272 ac_cs_awk_getline
=false
18273 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18274 ac_cs_awk_read_file
='
18276 print "cat " F[key] " &&"
18277 '$ac_cs_awk_pipe_init
18278 # The final `:' finishes the AND list.
18279 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18281 ac_cr
=`echo X | tr X '\015'`
18282 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18283 # But we know of no other shell where ac_cr would be empty at this
18284 # point, so we can use a bashism as a fallback.
18285 if test "x$ac_cr" = x
; then
18286 eval ac_cr
=\$
\'\\r
\'
18288 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18289 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18292 ac_cs_awk_cr
=$ac_cr
18295 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18298 # Create commands to substitute file output variables.
18300 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18301 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18302 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18305 } >conf$
$files.sh
&&
18306 . .
/conf$
$files.sh ||
18307 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18308 rm -f conf$
$files.sh
18311 echo "cat >conf$$subs.awk <<_ACEOF" &&
18312 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18314 } >conf$$subs.sh ||
18315 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18316 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18318 for ac_last_try in false false false false false :; do
18319 . ./conf$$subs.sh ||
18320 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18322 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18323 if test $ac_delim_n = $ac_delim_num; then
18325 elif $ac_last_try; then
18326 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18328 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18331 rm -f conf$$subs.sh
18333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18334 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18338 s/^/S["/; s
/!.
*/"]=/
18348 s/\(.\{148\}\)..*/\1/
18350 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18355 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18362 s/\(.\{148\}\)..*/\1/
18364 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18368 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18373 ' <conf$$subs.awk | sed '
18378 ' >>$CONFIG_STATUS || ac_write_fail=1
18379 rm -f conf$$subs.awk
18380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18382 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18383 for (key in S) S_is_set[key] = 1
18385 \$ac_cs_awk_pipe_init
18389 nfields = split(line, field, "@
")
18391 len = length(field[1])
18392 for (i = 2; i < nfields; i++) {
18394 keylen = length(key)
18395 if (S_is_set[key]) {
18397 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18398 len += length(value) + length(field[++i])
18403 if (nfields == 3 && !substed) {
18405 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18406 \$ac_cs_awk_read_file
18412 \$ac_cs_awk_pipe_fini
18415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18416 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18417 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18420 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18421 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18424 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18425 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18426 # trailing colons and then remove the whole line if VPATH becomes empty
18427 # (actually we leave an empty line to preserve line numbers).
18428 if test "x
$srcdir" = x.; then
18429 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18448 fi # test -n "$CONFIG_FILES"
18451 eval set X " :F
$CONFIG_FILES "
18456 :[FHLC]) ac_mode=$ac_tag; continue;;
18458 case $ac_mode$ac_tag in
18460 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
18461 :[FH]-) ac_tag=-:-;;
18462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18479 -) ac_f="$ac_tmp/stdin";;
18480 *) # Look for the file first in the build tree, then in the source tree
18481 # (if the path is not absolute). The absolute path cannot be DOS-style,
18482 # because $ac_f cannot contain `:'.
18486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18488 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18490 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
18491 as_fn_append ac_file_inputs " '$ac_f'"
18494 # Let's still pretend it is `configure' which instantiates (i.e., don't
18495 # use $as_me), people would be surprised to read:
18496 # /* config.h. Generated by config.status. */
18497 configure_input='Generated from '`
18498 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18500 if test x"$ac_file" != x-; then
18501 configure_input="$ac_file.
$configure_input"
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
18503 $as_echo "$as_me: creating
$ac_file" >&6;}
18505 # Neutralize special characters interpreted by sed in replacement strings.
18506 case $configure_input in #(
18507 *\&* | *\|* | *\\* )
18508 ac_sed_conf_input=`$as_echo "$configure_input" |
18509 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18510 *) ac_sed_conf_input=$configure_input;;
18514 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
18515 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
18520 ac_dir=`$as_dirname -- "$ac_file" ||
18521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18522 X"$ac_file" : 'X\(//\)[^/]' \| \
18523 X"$ac_file" : 'X\(//\)$' \| \
18524 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18525 $as_echo X"$ac_file" |
18526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18530 /^X\(\/\/\)[^/].*/{
18543 as_dir="$ac_dir"; as_fn_mkdir_p
18547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18550 # A "..
" for each directory in $ac_dir_suffix.
18551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18552 case $ac_top_builddir_sub in
18553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18557 ac_abs_top_builddir=$ac_pwd
18558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18559 # for backward compatibility:
18560 ac_top_builddir=$ac_top_build_prefix
18563 .) # We are building in place.
18565 ac_top_srcdir=$ac_top_builddir_sub
18566 ac_abs_top_srcdir=$ac_pwd ;;
18567 [\\/]* | ?:[\\/]* ) # Absolute name.
18568 ac_srcdir=$srcdir$ac_dir_suffix;
18569 ac_top_srcdir=$srcdir
18570 ac_abs_top_srcdir=$srcdir ;;
18571 *) # Relative name.
18572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18573 ac_top_srcdir=$ac_top_build_prefix$srcdir
18574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18586 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18587 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18592 # If the template does not know about datarootdir, expand it.
18593 # FIXME: This hack should be removed a few years after 2.60.
18594 ac_datarootdir_hack=; ac_datarootdir_seen=
18605 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
18606 *datarootdir*) ac_datarootdir_seen=yes;;
18607 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
18609 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
18611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18612 ac_datarootdir_hack='
18613 s&@datadir@&$datadir&g
18614 s&@docdir@&$docdir&g
18615 s&@infodir@&$infodir&g
18616 s&@localedir@&$localedir&g
18617 s&@mandir@&$mandir&g
18618 s&\\\${datarootdir}&$datarootdir&g' ;;
18622 # Neutralize VPATH when `$srcdir' = `.'.
18623 # Shell code in configure.ac might set extrasub.
18624 # FIXME: do we really want to maintain this feature?
18625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18626 ac_sed_extra="$ac_vpsub
18629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18631 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18632 s|@configure_input@|
$ac_sed_conf_input|
;t t
18633 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18634 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18635 s
&@srcdir@
&$ac_srcdir&;t t
18636 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18637 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18638 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18639 s
&@builddir@
&$ac_builddir&;t t
18640 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18641 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18642 s
&@INSTALL@
&$ac_INSTALL&;t t
18643 $ac_datarootdir_hack
18645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18646 if $ac_cs_awk_getline; then
18647 $AWK -f "$ac_tmp/subs.
awk"
18649 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18651 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18653 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18654 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18655 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18656 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18658 which seems to be undefined. Please make sure it is defined" >&5
18659 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18660 which seems to be undefined. Please make sure it is defined" >&2;}
18662 rm -f "$ac_tmp/stdin"
18664 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18665 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18675 case $ac_file$ac_mode in
18676 "Makefile":F) sed "$extrasub_build" Makefile |
18677 sed "$extrasub_host" |
18678 sed "$extrasub_target" > mf$$
18679 mv -f mf$$ Makefile ;;
18687 ac_clean_files=$ac_clean_files_save
18689 test $ac_write_fail = 0 ||
18690 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18693 # configure is writing to config.log, and then calls config.status.
18694 # config.status does its own redirection, appending to config.log.
18695 # Unfortunately, on DOS this fails, as config.log is still kept open
18696 # by configure, so config.status won't be able to
write to it
; its
18697 # output is simply discarded. So we exec the FD to /dev/null,
18698 # effectively closing config.log, so it can be properly (re)opened and
18699 # appended to by config.status. When coming back to configure, we
18700 # need to make the FD available again.
18701 if test "$no_create" != yes; then
18703 ac_config_status_args
=
18704 test "$silent" = yes &&
18705 ac_config_status_args
="$ac_config_status_args --quiet"
18707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18710 # would make configure fail if this is the last instruction.
18711 $ac_cs_success || as_fn_exit
1
18713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18715 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}