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
681 DEBUG_PREFIX_CFLAGS_FOR_TARGET
682 SYSROOT_CFLAGS_FOR_TARGET
684 extra_host_zlib_configure_flags
685 extra_host_libiberty_configure_flags
688 extra_linker_plugin_flags
689 extra_linker_plugin_configure_flags
696 extra_isl_gmp_configure_flags
697 extra_mpc_mpfr_configure_flags
698 extra_mpc_gmp_configure_flags
699 extra_mpfr_configure_flags
717 extra_liboffloadmic_configure_flags
744 TOPLEVEL_CONFIGURE_ARGUMENTS
772 program_transform_name
783 ac_subst_files
='serialization_dependencies
789 enable_option_checking
792 enable_as_accelerator_for
793 enable_offload_targets
794 enable_offload_defaulted
797 enable_compressed_debug_sections
799 enable_libquadmath_support
817 with_static_standard_libraries
824 enable_isl_version_check
826 enable_linker_plugin_configure_flags
827 enable_linker_plugin_flags
829 enable_stage1_languages
832 with_target_bdw_gc_include
833 with_target_bdw_gc_lib
834 with_gcc_major_version_only
836 with_debug_prefix_map
839 enable_serial_configure
840 with_build_time_tools
841 enable_maintainer_mode
842 enable_stage1_checking
845 ac_precious_vars
='build_alias
897 # Initialize some variables set by options.
899 ac_init_version
=false
900 ac_unrecognized_opts
=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
911 program_transform_name
=s
,x
,x
,
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir
='${exec_prefix}/bin'
926 sbindir
='${exec_prefix}/sbin'
927 libexecdir
='${exec_prefix}/libexec'
928 datarootdir
='${prefix}/share'
929 datadir
='${datarootdir}'
930 sysconfdir
='${prefix}/etc'
931 sharedstatedir
='${prefix}/com'
932 localstatedir
='${prefix}/var'
933 includedir
='${prefix}/include'
934 oldincludedir
='/usr/include'
935 docdir
='${datarootdir}/doc/${PACKAGE}'
936 infodir
='${datarootdir}/info'
941 libdir
='${exec_prefix}/lib'
942 localedir
='${datarootdir}/locale'
943 mandir
='${datarootdir}/man'
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\
$ac_option
957 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
962 # Accept the important Cygnus configure options, so we can diagnose typos.
964 case $ac_dashdash$ac_option in
968 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
970 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
973 -build |
--build |
--buil |
--bui |
--bu)
974 ac_prev
=build_alias
;;
975 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
976 build_alias
=$ac_optarg ;;
978 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
979 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
980 ac_prev
=cache_file
;;
981 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
982 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
983 cache_file
=$ac_optarg ;;
986 cache_file
=config.cache
;;
988 -datadir |
--datadir |
--datadi |
--datad)
990 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
991 datadir
=$ac_optarg ;;
993 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
994 |
--dataroo |
--dataro |
--datar)
995 ac_prev
=datarootdir
;;
996 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
997 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
998 datarootdir
=$ac_optarg ;;
1000 -disable-* |
--disable-*)
1001 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1004 as_fn_error $?
"invalid feature name: $ac_useropt"
1005 ac_useropt_orig
=$ac_useropt
1006 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "enable_
$ac_useropt"
1011 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012 ac_unrecognized_sep
=', ';;
1014 eval enable_
$ac_useropt=no
;;
1016 -docdir |
--docdir |
--docdi |
--doc |
--do)
1018 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1019 docdir
=$ac_optarg ;;
1021 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1023 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1024 dvidir
=$ac_optarg ;;
1026 -enable-* |
--enable-*)
1027 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid feature name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1035 "enable_
$ac_useropt"
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval enable_
$ac_useropt=\
$ac_optarg ;;
1042 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1043 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1044 |
--exec |
--exe |
--ex)
1045 ac_prev
=exec_prefix
;;
1046 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1047 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1048 |
--exec=* |
--exe=* |
--ex=*)
1049 exec_prefix
=$ac_optarg ;;
1051 -gas |
--gas |
--ga |
--g)
1052 # Obsolete; use --with-gas.
1055 -help |
--help |
--hel |
--he |
-h)
1056 ac_init_help
=long
;;
1057 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1058 ac_init_help
=recursive
;;
1059 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1060 ac_init_help
=short
;;
1062 -host |
--host |
--hos |
--ho)
1063 ac_prev
=host_alias
;;
1064 -host=* |
--host=* |
--hos=* |
--ho=*)
1065 host_alias
=$ac_optarg ;;
1067 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1069 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1071 htmldir
=$ac_optarg ;;
1073 -includedir |
--includedir |
--includedi |
--included |
--include \
1074 |
--includ |
--inclu |
--incl |
--inc)
1075 ac_prev
=includedir
;;
1076 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1077 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1078 includedir
=$ac_optarg ;;
1080 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1082 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1083 infodir
=$ac_optarg ;;
1085 -libdir |
--libdir |
--libdi |
--libd)
1087 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1088 libdir
=$ac_optarg ;;
1090 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1091 |
--libexe |
--libex |
--libe)
1092 ac_prev
=libexecdir
;;
1093 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1094 |
--libexe=* |
--libex=* |
--libe=*)
1095 libexecdir
=$ac_optarg ;;
1097 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1098 ac_prev
=localedir
;;
1099 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1100 localedir
=$ac_optarg ;;
1102 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1103 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1104 ac_prev
=localstatedir
;;
1105 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1106 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1107 localstatedir
=$ac_optarg ;;
1109 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1111 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1112 mandir
=$ac_optarg ;;
1114 -nfp |
--nfp |
--nf)
1115 # Obsolete; use --without-fp.
1118 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1119 |
--no-cr |
--no-c |
-n)
1122 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1123 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1126 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1127 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1128 |
--oldin |
--oldi |
--old |
--ol |
--o)
1129 ac_prev
=oldincludedir
;;
1130 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1131 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1132 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1133 oldincludedir
=$ac_optarg ;;
1135 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1137 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1138 prefix
=$ac_optarg ;;
1140 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1141 |
--program-pre |
--program-pr |
--program-p)
1142 ac_prev
=program_prefix
;;
1143 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1144 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1145 program_prefix
=$ac_optarg ;;
1147 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1148 |
--program-suf |
--program-su |
--program-s)
1149 ac_prev
=program_suffix
;;
1150 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1151 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1152 program_suffix
=$ac_optarg ;;
1154 -program-transform-name |
--program-transform-name \
1155 |
--program-transform-nam |
--program-transform-na \
1156 |
--program-transform-n |
--program-transform- \
1157 |
--program-transform |
--program-transfor \
1158 |
--program-transfo |
--program-transf \
1159 |
--program-trans |
--program-tran \
1160 |
--progr-tra |
--program-tr |
--program-t)
1161 ac_prev
=program_transform_name
;;
1162 -program-transform-name=* |
--program-transform-name=* \
1163 |
--program-transform-nam=* |
--program-transform-na=* \
1164 |
--program-transform-n=* |
--program-transform-=* \
1165 |
--program-transform=* |
--program-transfor=* \
1166 |
--program-transfo=* |
--program-transf=* \
1167 |
--program-trans=* |
--program-tran=* \
1168 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1169 program_transform_name
=$ac_optarg ;;
1171 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1173 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1174 pdfdir
=$ac_optarg ;;
1176 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1178 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1182 |
-silent |
--silent |
--silen |
--sile |
--sil)
1185 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1187 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1189 sbindir
=$ac_optarg ;;
1191 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1192 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1193 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1195 ac_prev
=sharedstatedir
;;
1196 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1197 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1198 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1200 sharedstatedir
=$ac_optarg ;;
1202 -site |
--site |
--sit)
1204 -site=* |
--site=* |
--sit=*)
1207 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1209 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1210 srcdir
=$ac_optarg ;;
1212 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1213 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1214 ac_prev
=sysconfdir
;;
1215 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1216 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1217 sysconfdir
=$ac_optarg ;;
1219 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1220 ac_prev
=target_alias
;;
1221 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1222 target_alias
=$ac_optarg ;;
1224 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1227 -version |
--version |
--versio |
--versi |
--vers |
-V)
1228 ac_init_version
=: ;;
1231 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1234 as_fn_error $?
"invalid package name: $ac_useropt"
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=\
$ac_optarg ;;
1246 -without-* |
--without-*)
1247 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1250 as_fn_error $?
"invalid package name: $ac_useropt"
1251 ac_useropt_orig
=$ac_useropt
1252 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1257 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258 ac_unrecognized_sep
=', ';;
1260 eval with_
$ac_useropt=no
;;
1263 # Obsolete; use --with-x.
1266 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1267 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1268 ac_prev
=x_includes
;;
1269 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1270 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1271 x_includes
=$ac_optarg ;;
1273 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1274 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1275 ac_prev
=x_libraries
;;
1276 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1277 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1278 x_libraries
=$ac_optarg ;;
1280 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1281 Try \`$0 --help' for more information"
1285 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1286 # Reject names that are not valid shell variable names.
1287 case $ac_envvar in #(
1288 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1289 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1291 eval $ac_envvar=\
$ac_optarg
1292 export $ac_envvar ;;
1295 # FIXME: should be removed in autoconf 3.0.
1296 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1298 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1305 if test -n "$ac_prev"; then
1306 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1307 as_fn_error $?
"missing argument to $ac_option"
1310 if test -n "$ac_unrecognized_opts"; then
1311 case $enable_option_checking in
1313 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1314 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1318 # Check all directory arguments for consistency.
1319 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320 datadir sysconfdir sharedstatedir localstatedir includedir \
1321 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322 libdir localedir mandir
1324 eval ac_val
=\$
$ac_var
1325 # Remove trailing slashes.
1328 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329 eval $ac_var=\
$ac_val;;
1331 # Be sure to have absolute directory names.
1333 [\\/$
]* | ?
:[\\/]* ) continue;;
1334 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1336 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1339 # There might be people who depend on the old broken behavior: `$host'
1340 # used to hold the argument of --host etc.
1341 # FIXME: To remove some day.
1344 target
=$target_alias
1346 # FIXME: To remove some day.
1347 if test "x$host_alias" != x
; then
1348 if test "x$build_alias" = x
; then
1349 cross_compiling
=maybe
1350 elif test "x$build_alias" != "x$host_alias"; then
1356 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1358 test "$silent" = yes && exec 6>/dev
/null
1361 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1362 ac_ls_di
=`ls -di .` &&
1363 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1364 as_fn_error $?
"working directory cannot be determined"
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 as_fn_error $?
"pwd does not report name of working directory"
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted
=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir
=`$as_dirname -- "$as_myself" ||
1374 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$as_myself" : 'X\(//\)[^/]' \| \
1376 X"$as_myself" : 'X\(//\)$' \| \
1377 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378 $as_echo X"$as_myself" |
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted
=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1405 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1407 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1411 # When building in place, set srcdir=.
1412 if test "$ac_abs_confdir" = "$ac_pwd"; then
1415 # Remove unnecessary trailing slashes from srcdir.
1416 # Double slashes in file names in object file debugging info
1417 # mess up M-x gdb in Emacs.
1419 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 as_fn_error $?
"path to source, $srcdir, contains spaces"
1426 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1428 for ac_var
in $ac_precious_vars; do
1429 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1431 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1442 \`configure' configures this package to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking ...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1505 --build=BUILD configure
for building on BUILD
[guessed
]
1506 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1507 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1511 if test -n "$ac_init_help"; then
1516 --disable-option-checking ignore unrecognized
--enable/--with options
1517 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1518 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1519 --enable-as-accelerator-for=ARG
1520 build as offload target compiler. Specify offload
1522 --enable-offload-targets=LIST
1523 enable offloading to devices from comma-separated
1524 LIST of TARGET
[=DIR
]. Use optional path to
find
1525 offload target compiler during the build
1526 --enable-offload-defaulted
1527 If enabled
, configured but not installed offload compilers and
1528 libgomp plugins are silently ignored. Useful
for distribution
1529 compilers where those are
in separate optional packages.
1531 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1532 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1533 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1534 Enable compressed debug sections
for gas
, gold or ld
1536 --disable-libquadmath do not build libquadmath directory
1537 --disable-libquadmath-support
1538 disable libquadmath support
for Fortran
1539 --enable-libada build libada directory
1540 --enable-libssp build libssp directory
1541 --disable-libstdcxx do not build libstdc
++-v3 directory
1542 --enable-liboffloadmic=ARG
1543 build liboffloadmic
[ARG
={no
,host,target
}]
1544 --enable-bootstrap enable bootstrapping
[yes if native build
]
1545 --disable-isl-version-check
1546 disable check
for isl version
1547 --enable-lto enable link
time optimization support
1548 --enable-linker-plugin-configure-flags=FLAGS
1549 additional flags
for configuring linker plugins
1551 --enable-linker-plugin-flags=FLAGS
1552 additional flags
for configuring and building linker
1554 --enable-host-shared build
host code as shared libraries
1555 --enable-stage1-languages[=all
]
1556 choose additional languages to build during stage1.
1557 Mostly useful
for compiler development
1558 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1560 --enable-vtable-verify Enable vtable verification feature
1561 --enable-serial-[{host,target,build}-]configure
1562 force sequential configuration of sub-packages for
1563 the host, target or build machine, or all
1565 --enable-maintainer-mode
1566 enable make rules and dependencies not useful (and
1567 sometimes confusing) to the casual installer
1568 --enable-stage1-checking[=all]
1569 choose additional checking for stage1 of the
1571 --enable-werror enable -Werror in bootstrap stage2 and later
1574 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1575 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1576 --with-build-libsubdir=DIR Directory where to find libraries for build system
1577 --with-system-zlib use installed libz
1578 --with-mpc=PATH specify prefix directory for installed MPC package.
1579 Equivalent to --with-mpc-include=PATH/include plus
1580 --with-mpc-lib=PATH/lib
1581 --with-mpc-include=PATH specify directory for installed MPC include files
1582 --with-mpc-lib=PATH specify directory for the installed MPC library
1583 --with-mpfr-dir=PATH this option has been REMOVED
1584 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1585 Equivalent to --with-mpfr-include=PATH/include plus
1586 --with-mpfr-lib=PATH/lib
1587 --with-mpfr-include=PATH
1588 specify directory for installed MPFR include files
1589 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1590 --with-gmp-dir=PATH this option has been REMOVED
1591 --with-gmp=PATH specify prefix directory for the installed GMP
1592 package. Equivalent to
1593 --with-gmp-include=PATH/include plus
1594 --with-gmp-lib=PATH/lib
1595 --with-gmp-include=PATH specify directory for installed GMP include files
1596 --with-gmp-lib=PATH specify directory for the installed GMP library
1597 --with-stage1-libs=LIBS libraries for stage1
1598 --with-static-standard-libraries
1599 use -static-libstdc++ and -static-libgcc
1601 --with-stage1-ldflags=FLAGS
1602 linker flags for stage1
1603 --with-boot-libs=LIBS libraries for stage2 and later
1604 --with-boot-ldflags=FLAGS
1605 linker flags for stage2 and later
1606 --with-isl=PATH Specify prefix directory for the installed isl
1607 package. Equivalent to
1608 --with-isl-include=PATH/include plus
1609 --with-isl-lib=PATH/lib
1610 --with-isl-include=PATH Specify directory for installed isl include files
1611 --with-isl-lib=PATH Specify the directory for the installed isl library
1612 --with-target-bdw-gc=PATHLIST
1613 specify prefix directory for installed bdw-gc
1614 package. Equivalent to
1615 --with-target-bdw-gc-include=PATH/include plus
1616 --with-target-bdw-gc-lib=PATH/lib
1617 --with-target-bdw-gc-include=PATHLIST
1618 specify directories for installed bdw-gc include
1620 --with-target-bdw-gc-lib=PATHLIST
1621 specify directories for installed bdw-gc library
1622 --with-gcc-major-version-only
1623 use only GCC major number in filesystem paths
1624 --with-build-sysroot=SYSROOT
1625 use sysroot as the system root during the build
1626 --with-debug-prefix-map='A
=B C
=D ...
'
1627 map A to B, C to D ... in debug information
1628 --with-build-config='NAME NAME2...
'
1629 use config/NAME.mk build configuration
1630 --with-build-time-tools=PATH
1631 use given path to find target tools during the build
1633 Some influential environment variables:
1634 CC C compiler command
1635 CFLAGS C compiler flags
1636 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1637 nonstandard directory <lib dir>
1638 LIBS libraries to pass to the linker, e.g. -l<library>
1639 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1640 you have headers in a nonstandard directory <include dir>
1641 CXX C++ compiler command
1642 CXXFLAGS C++ compiler flags
1644 additional configure arguments for build directories
1646 additional configure arguments for host directories
1648 additional configure arguments for target directories
1651 DLLTOOL DLLTOOL for the host
1652 DSYMUTIL DSYMUTIL for the host
1654 LIPO LIPO for the host
1656 RANLIB RANLIB for the host
1657 STRIP STRIP for the host
1658 WINDRES WINDRES for the host
1659 WINDMC WINDMC for the host
1660 OBJCOPY OBJCOPY for the host
1661 OBJDUMP OBJDUMP for the host
1662 OTOOL OTOOL for the host
1663 READELF READELF for the host
1671 GFORTRAN for the target
1681 DLLTOOL for the target
1683 DSYMUTIL for the target
1691 OBJCOPY for the target
1693 OBJDUMP for the target
1695 OTOOL for the target
1697 RANLIB for the target
1699 READELF for the target
1701 STRIP for the target
1703 WINDRES for the target
1705 WINDMC for the target
1707 Use these variables to override the choices made by `configure' or to
help
1708 it to
find libraries and programs with nonstandard names
/locations.
1710 Report bugs to the package provider.
1715 if test "$ac_init_help" = "recursive"; then
1716 # If there are subdirs, report their specific --help.
1717 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1718 test -d "$ac_dir" ||
1719 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1724 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1726 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1727 # A ".." for each directory in $ac_dir_suffix.
1728 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1729 case $ac_top_builddir_sub in
1730 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1731 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1734 ac_abs_top_builddir
=$ac_pwd
1735 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1736 # for backward compatibility:
1737 ac_top_builddir
=$ac_top_build_prefix
1740 .
) # We are building in place.
1742 ac_top_srcdir
=$ac_top_builddir_sub
1743 ac_abs_top_srcdir
=$ac_pwd ;;
1744 [\\/]* | ?
:[\\/]* ) # Absolute name.
1745 ac_srcdir
=$srcdir$ac_dir_suffix;
1746 ac_top_srcdir
=$srcdir
1747 ac_abs_top_srcdir
=$srcdir ;;
1749 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1750 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1751 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1753 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1755 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1756 # Check for guested configure.
1757 if test -f "$ac_srcdir/configure.gnu"; then
1759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1760 elif test -f "$ac_srcdir/configure"; then
1762 $SHELL "$ac_srcdir/configure" --help=recursive
1764 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1766 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1770 test -n "$ac_init_help" && exit $ac_status
1771 if $ac_init_version; then
1774 generated by GNU Autoconf
2.69
1776 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1777 This configure
script is free software
; the Free Software Foundation
1778 gives unlimited permission to copy
, distribute and modify it.
1783 ## ------------------------ ##
1784 ## Autoconf initialization. ##
1785 ## ------------------------ ##
1787 # ac_fn_c_try_compile LINENO
1788 # --------------------------
1789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_compile
()
1792 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1793 rm -f conftest.
$ac_objext
1794 if { { ac_try
="$ac_compile"
1796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_compile") 2>conftest.err
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest.$ac_objext; then :
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status $ac_retval
1823 } # ac_fn_c_try_compile
1825 # ac_fn_cxx_try_compile LINENO
1826 # ----------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext
1832 if { { ac_try="$ac_compile"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_cxx_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.
$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status
$ac_retval
1861 } # ac_fn_cxx_try_compile
1863 # ac_fn_cxx_try_link LINENO
1864 # -------------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
1866 ac_fn_cxx_try_link
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 rm -f conftest.
$ac_objext conftest
$ac_exeext
1870 if { { ac_try
="$ac_link"
1872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>conftest.err
1879 if test -s conftest.err; then
1880 grep -v '^ *+' conftest.err >conftest.er1
1881 cat conftest.er1 >&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_cxx_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest$ac_exeext && {
1889 test "$cross_compiling" = yes ||
1890 test -x conftest$ac_exeext
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1899 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1900 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1901 # interfere with the next link command; also delete a directory that is
1902 # left behind by Apple's compiler. We do this before executing the actions.
1903 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 as_fn_set_status $ac_retval
1907 } # ac_fn_cxx_try_link
1909 # ac_fn_c_try_link LINENO
1910 # -----------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 rm -f conftest.$ac_objext conftest$ac_exeext
1916 if { { ac_try="$ac_link"
1918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1919 *) ac_try_echo
=$ac_try;;
1921 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>conftest.err
1925 if test -s conftest.err
; then
1926 grep -v '^ *+' conftest.err
>conftest.er1
1927 cat conftest.er1
>&5
1928 mv -f conftest.er1 conftest.err
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && {
1932 test -z "$ac_c_werror_flag" ||
1933 test ! -s conftest.err
1934 } && test -s conftest
$ac_exeext && {
1935 test "$cross_compiling" = yes ||
1936 test -x conftest
$ac_exeext
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.
$ac_ext >&5
1945 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1946 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1947 # interfere with the next link command; also delete a directory that is
1948 # left behind by Apple's compiler. We do this before executing the actions.
1949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 as_fn_set_status
$ac_retval
1953 } # ac_fn_c_try_link
1954 cat >config.log
<<_ACEOF
1955 This file contains any messages produced by compilers while
1956 running configure, to aid debugging if configure makes a mistake.
1958 It was created by $as_me, which was
1959 generated by GNU Autoconf 2.69. Invocation command line was
1971 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1972 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1973 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1974 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1975 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1977 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1978 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1980 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1981 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1982 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1983 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1984 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1985 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1986 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1994 test -z "$as_dir" && as_dir
=.
1995 $as_echo "PATH: $as_dir"
2011 # Keep a trace of the command line.
2012 # Strip out --no-create and --no-recursion so they do not pile up.
2013 # Strip out --silent because we don't want to record it for future runs.
2014 # Also quote any args containing shell meta-characters.
2015 # Make two passes to allow for proper duplicate-argument suppression.
2019 ac_must_keep_next
=false
2025 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2026 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2027 |
-silent |
--silent |
--silen |
--sile |
--sil)
2030 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2033 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2035 as_fn_append ac_configure_args1
" '$ac_arg'"
2036 if test $ac_must_keep_next = true
; then
2037 ac_must_keep_next
=false
# Got value, back to normal.
2040 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2041 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2042 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2043 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2044 case "$ac_configure_args0 " in
2045 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2048 -* ) ac_must_keep_next
=true
;;
2051 as_fn_append ac_configure_args
" '$ac_arg'"
2056 { ac_configure_args0
=; unset ac_configure_args0
;}
2057 { ac_configure_args1
=; unset ac_configure_args1
;}
2059 # When interrupted or exit'd, cleanup temporary files, and complete
2060 # config.log. We remove comments because anyway the quotes in there
2061 # would cause problems or look ugly.
2062 # WARNING: Use '\'' to represent an apostrophe within the trap.
2063 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2064 trap 'exit_status=$?
2065 # Save into config.log some information that might help in debugging.
2069 $as_echo "## ---------------- ##
2070 ## Cache variables. ##
2071 ## ---------------- ##"
2073 # The following way of writing the cache mishandles newlines in values,
2075 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2076 eval ac_val=\$$ac_var
2080 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2081 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2084 _ | IFS | as_nl) ;; #(
2085 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2086 *) { eval $ac_var=; unset $ac_var;} ;;
2091 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2092 *${as_nl}ac_space=\ *)
2094 "s/'\''/'\''\\\\'\'''\''/g;
2095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2105 $as_echo "## ----------------- ##
2106 ## Output variables. ##
2107 ## ----------------- ##"
2109 for ac_var in $ac_subst_vars
2111 eval ac_val=\$$ac_var
2113 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2115 $as_echo "$ac_var='\''$ac_val'\''"
2119 if test -n "$ac_subst_files"; then
2120 $as_echo "## ------------------- ##
2121 ## File substitutions. ##
2122 ## ------------------- ##"
2124 for ac_var
in $ac_subst_files
2126 eval ac_val
=\$
$ac_var
2128 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130 $as_echo "$ac_var='\''$ac_val'\''"
2135 if test -s confdefs.h; then
2136 $as_echo "## ----------- ##
2143 test "$ac_signal" != 0 &&
2144 $as_echo "$as_me: caught signal $ac_signal"
2145 $as_echo "$as_me: exit $exit_status"
2147 rm -f core *.core core.conftest.* &&
2148 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2151 for ac_signal
in 1 2 13 15; do
2152 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2156 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2157 rm -f -r conftest
* confdefs.h
2159 $as_echo "/* confdefs.h */" > confdefs.h
2161 # Predefined preprocessor variables.
2163 cat >>confdefs.h
<<_ACEOF
2164 #define PACKAGE_NAME "$PACKAGE_NAME"
2167 cat >>confdefs.h
<<_ACEOF
2168 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2171 cat >>confdefs.h
<<_ACEOF
2172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_STRING "$PACKAGE_STRING"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_URL "$PACKAGE_URL"
2188 # Let the site file select an alternate cache file if it wants to.
2189 # Prefer an explicitly selected file to automatically selected ones.
2192 if test -n "$CONFIG_SITE"; then
2193 # We do not want a PATH search for config.site.
2194 case $CONFIG_SITE in #((
2195 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2196 */*) ac_site_file1
=$CONFIG_SITE;;
2197 *) ac_site_file1
=.
/$CONFIG_SITE;;
2199 elif test "x$prefix" != xNONE
; then
2200 ac_site_file1
=$prefix/share
/config.site
2201 ac_site_file2
=$prefix/etc
/config.site
2203 ac_site_file1
=$ac_default_prefix/share
/config.site
2204 ac_site_file2
=$ac_default_prefix/etc
/config.site
2206 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2208 test "x$ac_site_file" = xNONE
&& continue
2209 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2211 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2212 sed 's/^/| /' "$ac_site_file" >&5
2214 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2216 as_fn_error $?
"failed to load site script $ac_site_file
2217 See \`config.log' for more details" "$LINENO" 5; }
2221 if test -r "$cache_file"; then
2222 # Some versions of bash will fail to source /dev/null (special files
2223 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2224 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2226 $as_echo "$as_me: loading cache $cache_file" >&6;}
2228 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2229 *) .
"./$cache_file";;
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2234 $as_echo "$as_me: creating cache $cache_file" >&6;}
2238 # Check that the precious variables saved in the cache have kept the same
2240 ac_cache_corrupted
=false
2241 for ac_var
in $ac_precious_vars; do
2242 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2243 eval ac_new_set
=\
$ac_env_${ac_var}_set
2244 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2245 eval ac_new_val
=\
$ac_env_${ac_var}_value
2246 case $ac_old_set,$ac_new_set in
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2249 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2250 ac_cache_corrupted
=: ;;
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2253 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2254 ac_cache_corrupted
=: ;;
2257 if test "x$ac_old_val" != "x$ac_new_val"; then
2258 # differences in whitespace do not lead to failure.
2259 ac_old_val_w
=`echo x $ac_old_val`
2260 ac_new_val_w
=`echo x $ac_new_val`
2261 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2263 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2264 ac_cache_corrupted
=:
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2267 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2268 eval $ac_var=\
$ac_old_val
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2271 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2273 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2276 # Pass precious variables to config.status.
2277 if test "$ac_new_set" = set; then
2279 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2280 *) ac_arg
=$ac_var=$ac_new_val ;;
2282 case " $ac_configure_args " in
2283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2284 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2288 if $ac_cache_corrupted; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2292 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2293 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2295 ## -------------------- ##
2296 ## Main body of script. ##
2297 ## -------------------- ##
2300 ac_cpp
='$CPP $CPPFLAGS'
2301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2313 # if PWD already has a value, it is probably wrong.
2314 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2316 # Export original configure arguments for use by sub-configures.
2317 # Quote arguments with shell meta charatcers.
2318 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2319 set -- "$progname" "$@"
2323 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2324 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2325 # if the argument is of the form -foo=baz, quote the baz part only
2326 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2329 # Add the quoted argument to the list.
2330 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2332 if test "$silent" = yes; then
2333 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2335 # Remove the initial space we just introduced and, as these will be
2336 # expanded by make, quote '$'.
2337 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2340 # Find the build, host, and target systems.
2342 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2343 if test -f "$ac_dir/install-sh"; then
2345 ac_install_sh
="$ac_aux_dir/install-sh -c"
2347 elif test -f "$ac_dir/install.sh"; then
2349 ac_install_sh
="$ac_aux_dir/install.sh -c"
2351 elif test -f "$ac_dir/shtool"; then
2353 ac_install_sh
="$ac_aux_dir/shtool install -c"
2357 if test -z "$ac_aux_dir"; then
2358 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2361 # These three variables are undocumented and unsupported,
2362 # and are intended to be withdrawn in a future Autoconf release.
2363 # They can cause serious problems if a builder's source tree is in a directory
2364 # whose full name contains unusual characters.
2365 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2366 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2367 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2370 # Make sure we can run config.sub.
2371 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2372 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2375 $as_echo_n "checking build system type... " >&6; }
2376 if ${ac_cv_build+:} false
; then :
2377 $as_echo_n "(cached) " >&6
2379 ac_build_alias
=$build_alias
2380 test "x$ac_build_alias" = x
&&
2381 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2382 test "x$ac_build_alias" = x
&&
2383 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2384 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2385 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2389 $as_echo "$ac_cv_build" >&6; }
2390 case $ac_cv_build in
2392 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2395 ac_save_IFS
=$IFS; IFS
='-'
2401 # Remember, the first character of IFS is used to create $*,
2402 # except with old shells:
2405 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2408 case ${build_alias} in
2409 "") build_noncanonical
=${build} ;;
2410 *) build_noncanonical
=${build_alias} ;;
2415 case ${host_alias} in
2416 "") host_noncanonical
=${build_noncanonical} ;;
2417 *) host_noncanonical
=${host_alias} ;;
2422 case ${target_alias} in
2423 "") target_noncanonical
=${host_noncanonical} ;;
2424 *) target_noncanonical
=${target_alias} ;;
2430 test "$host_noncanonical" = "$target_noncanonical" &&
2431 test "$program_prefix$program_suffix$program_transform_name" = \
2433 program_transform_name
=s
,y
,y
,
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2436 $as_echo_n "checking host system type... " >&6; }
2437 if ${ac_cv_host+:} false
; then :
2438 $as_echo_n "(cached) " >&6
2440 if test "x$host_alias" = x
; then
2441 ac_cv_host
=$ac_cv_build
2443 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2444 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2449 $as_echo "$ac_cv_host" >&6; }
2452 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2455 ac_save_IFS
=$IFS; IFS
='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2469 $as_echo_n "checking target system type... " >&6; }
2470 if ${ac_cv_target+:} false
; then :
2471 $as_echo_n "(cached) " >&6
2473 if test "x$target_alias" = x
; then
2474 ac_cv_target
=$ac_cv_host
2476 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2477 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2482 $as_echo "$ac_cv_target" >&6; }
2483 case $ac_cv_target in
2485 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2487 target
=$ac_cv_target
2488 ac_save_IFS
=$IFS; IFS
='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2501 # The aliases save the names the user supplied, while $host etc.
2502 # will get canonicalized.
2503 test -n "$target_alias" &&
2504 test "$program_prefix$program_suffix$program_transform_name" = \
2506 program_prefix
=${target_alias}-
2508 test "$program_prefix" != NONE
&&
2509 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2510 # Use a double $ so make ignores it.
2511 test "$program_suffix" != NONE
&&
2512 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2513 # Double any \ or $.
2514 # By default was `s,x,x', remove it if useless.
2515 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2516 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2520 # Get 'install' or 'install-sh' and its variants.
2521 # Find a good install program. We prefer a C program (faster),
2522 # so one script is as good as another. But avoid the broken or
2523 # incompatible versions:
2524 # SysV /etc/install, /usr/sbin/install
2525 # SunOS /usr/etc/install
2526 # IRIX /sbin/install
2528 # AmigaOS /C/install, which installs bootblocks on floppy discs
2529 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2530 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2531 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2532 # OS/2's system install, which has a completely different semantic
2533 # ./install, which can be erroneously created by make from ./install.sh.
2534 # Reject install programs that cannot install multiple files.
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2536 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2537 if test -z "$INSTALL"; then
2538 if ${ac_cv_path_install+:} false
; then :
2539 $as_echo_n "(cached) " >&6
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 # Account for people who put trailing slashes in PATH elements.
2547 case $as_dir/ in #((
2548 .
/ | .
// |
/[cC
]/* | \
2549 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2550 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2553 # OSF1 and SCO ODT 3.0 have their own names for install.
2554 # Don't use installbsd from OSF since it installs stuff as root
2556 for ac_prog
in ginstall scoinst
install; do
2557 for ac_exec_ext
in '' $ac_executable_extensions; do
2558 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2559 if test $ac_prog = install &&
2560 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2561 # AIX install. It has an incompatible calling convention.
2563 elif test $ac_prog = install &&
2564 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2565 # program-specific install script used by HP pwplus--don't use.
2568 rm -rf conftest.one conftest.two conftest.dir
2569 echo one
> conftest.one
2570 echo two
> conftest.two
2572 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2573 test -s conftest.one
&& test -s conftest.two
&&
2574 test -s conftest.dir
/conftest.one
&&
2575 test -s conftest.dir
/conftest.two
2577 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2590 rm -rf conftest.one conftest.two conftest.dir
2593 if test "${ac_cv_path_install+set}" = set; then
2594 INSTALL
=$ac_cv_path_install
2596 # As a last resort, use the slow shell script. Don't cache a
2597 # value for INSTALL within a source directory, because that will
2598 # break other packages using the cache if that directory is
2599 # removed, or if the value is a relative name.
2600 INSTALL
=$ac_install_sh
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2604 $as_echo "$INSTALL" >&6; }
2606 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2607 # It thinks the first close brace ends the variable substitution.
2608 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2610 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2612 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2615 $as_echo_n "checking whether ln works... " >&6; }
2616 if ${acx_cv_prog_LN+:} false
; then :
2617 $as_echo_n "(cached) " >&6
2619 rm -f conftestdata_t
2620 echo >conftestdata_f
2621 if ln conftestdata_f conftestdata_t
2>/dev
/null
2627 rm -f conftestdata_f conftestdata_t
2630 if test $acx_cv_prog_LN = no
; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2633 $as_echo "no, using $LN" >&6; }
2635 LN
="$acx_cv_prog_LN"
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637 $as_echo "yes" >&6; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2641 $as_echo_n "checking whether ln -s works... " >&6; }
2643 if test "$LN_S" = "ln -s"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2645 $as_echo "yes" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2648 $as_echo "no, using $LN_S" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2652 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2653 if ${ac_cv_path_SED+:} false
; then :
2654 $as_echo_n "(cached) " >&6
2656 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2657 for ac_i
in 1 2 3 4 5 6 7; do
2658 ac_script
="$ac_script$as_nl$ac_script"
2660 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2661 { ac_script
=; unset ac_script
;}
2662 if test -z "$SED"; then
2663 ac_path_SED_found
=false
2664 # Loop through the user's path and test for each of PROGNAME-LIST
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_prog
in sed gsed
; do
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2673 as_fn_executable_p
"$ac_path_SED" ||
continue
2674 # Check for GNU ac_path_SED and select it if it is found.
2675 # Check for GNU $ac_path_SED
2676 case `"$ac_path_SED" --version 2>&1` in
2678 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2681 $as_echo_n 0123456789 >"conftest.in"
2684 cat "conftest.in" "conftest.in" >"conftest.tmp"
2685 mv "conftest.tmp" "conftest.in"
2686 cp "conftest.in" "conftest.nl"
2687 $as_echo '' >> "conftest.nl"
2688 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2690 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2691 if test $ac_count -gt ${ac_path_SED_max-0}; then
2692 # Best one so far, save it but keep looking for a better one
2693 ac_cv_path_SED
="$ac_path_SED"
2694 ac_path_SED_max
=$ac_count
2696 # 10*(2^10) chars as input seems more than enough
2697 test $ac_count -gt 10 && break
2699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2702 $ac_path_SED_found && break 3
2707 if test -z "$ac_cv_path_SED"; then
2708 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2716 $as_echo "$ac_cv_path_SED" >&6; }
2717 SED
="$ac_cv_path_SED"
2720 for ac_prog
in gawk mawk nawk
awk
2722 # Extract the first word of "$ac_prog", so it can be a program name with args.
2723 set dummy
$ac_prog; ac_word
=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if ${ac_cv_prog_AWK+:} false
; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$AWK"; then
2730 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir
=.
2737 for ac_exec_ext
in '' $ac_executable_extensions; do
2738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2739 ac_cv_prog_AWK
="$ac_prog"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 if test -n "$AWK"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2752 $as_echo "$AWK" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2759 test -n "$AWK" && break
2763 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2765 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2767 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2768 INSTALL
="${srcpwd}/install-sh -c"
2771 # Set srcdir to "." if that's what it is.
2772 # This is important for multilib support.
2774 if test "${pwd}" = "${srcpwd}" ; then
2782 ### To add a new directory to the tree, first choose whether it is a target
2783 ### or a host dependent tool. Then put it into the appropriate list
2784 ### (library or tools, host or target), doing a dependency sort.
2786 # Subdirs will be configured in the order listed in build_configdirs,
2787 # configdirs, or target_configdirs; see the serialization section below.
2789 # Dependency sorting is only needed when *configuration* must be done in
2790 # a particular order. In all cases a dependency should be specified in
2791 # the Makefile, whether or not it's implicitly specified here.
2793 # Double entries in build_configdirs, configdirs, or target_configdirs may
2794 # cause circular dependencies and break everything horribly.
2796 # these library is used by various programs built for the build
2799 build_libs
="build-libiberty build-libcpp"
2801 # these tools are built for the build environment
2802 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2804 # these libraries are used by various programs built for the host environment
2806 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2808 # these tools are built for the host environment
2809 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2810 # know that we are building the simulator.
2811 # binutils, gas and ld appear in that order because it makes sense to run
2812 # "make check" in that particular order.
2813 # If --enable-gold is used, "gold" may replace "ld".
2814 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"
2816 # these libraries are built for the target environment, and are built after
2817 # the host libraries and the host tools (which may be a cross compiler)
2818 # Note that libiberty is not a target library.
2819 target_libraries
="target-libgcc \
2820 target-libbacktrace \
2824 target-liboffloadmic \
2827 target-libstdc++-v3 \
2828 target-libsanitizer \
2831 target-libquadmath \
2832 target-libgfortran \
2840 # these tools are built using the target libraries, and are intended to
2841 # run only in the target environment
2843 # note: any program that *uses* libraries that are in the "target_libraries"
2844 # list belongs in this list.
2846 target_tools
="target-rda"
2848 ################################################################################
2850 ## All tools belong in one of the four categories, and are assigned above
2851 ## We assign ${configdirs} this way to remove all embedded newlines. This
2852 ## is important because configure will choke if they ever get through.
2853 ## ${configdirs} is directories we build using the host tools.
2854 ## ${target_configdirs} is directories we build using the target tools.
2855 configdirs
=`echo ${host_libs} ${host_tools}`
2856 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2857 build_configdirs
=`echo ${build_libs} ${build_tools}`
2861 ################################################################################
2863 srcname
="gnu development package"
2865 # This gets set non-empty for some net releases of packages.
2868 # Define is_cross_compiler to save on calls to 'test'.
2870 if test x
"${host}" = x
"${target}" ; then
2871 is_cross_compiler
=no
2873 is_cross_compiler
=yes
2876 # Find the build and target subdir names.
2878 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2879 # have matching libraries, they should use host libraries: Makefile.tpl
2880 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2881 # However, they still use the build modules, because the corresponding
2882 # host modules (e.g. bison) are only built for the host when bootstrap
2884 # - build_subdir is where we find build modules, and never changes.
2885 # - build_libsubdir is where we find build libraries, and can be overridden.
2887 # Prefix 'build-' so this never conflicts with target_subdir.
2888 build_subdir
="build-${build_noncanonical}"
2890 # Check whether --with-build-libsubdir was given.
2891 if test "${with_build_libsubdir+set}" = set; then :
2892 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2894 build_libsubdir
="$build_subdir"
2897 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2898 if ( test $srcdir = .
&& test -d gcc
) \
2899 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2900 host_subdir
="host-${host_noncanonical}"
2905 target_subdir
=${target_noncanonical}
2907 # Be sure to cover against remnants of an in-tree build.
2908 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2909 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2910 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2913 # Skipdirs are removed silently.
2915 # Noconfigdirs are removed loudly.
2919 # Make sure we don't let GNU ld be added if we didn't want it.
2920 if test x
$with_gnu_ld = xno
; then
2922 noconfigdirs
="$noconfigdirs ld gold"
2926 # Make sure we don't let GNU as be added if we didn't want it.
2927 if test x
$with_gnu_as = xno
; then
2929 noconfigdirs
="$noconfigdirs gas"
2934 # Check whether --with-system-zlib was given.
2935 if test "${with_system_zlib+set}" = set; then :
2936 withval
=$with_system_zlib;
2939 # Make sure we don't let ZLIB be added if we didn't want it.
2940 if test x
$with_system_zlib = xyes
; then
2941 use_included_zlib
=no
2942 noconfigdirs
="$noconfigdirs zlib"
2945 # some tools are so dependent upon X11 that if we're not building with X,
2946 # it's not even worth trying to configure, much less build, that tool.
2949 yes |
"") ;; # the default value for this tree is that X11 is available
2951 skipdirs
="${skipdirs} tk itcl libgui"
2952 # We won't be able to build gdbtk without X.
2955 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2958 # Some are only suitable for cross toolchains.
2959 # Remove these if host=target.
2960 cross_only
="target-libgloss target-newlib target-opcodes"
2962 case $is_cross_compiler in
2963 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2966 # If both --with-headers and --with-libs are specified, default to
2968 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2969 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2970 if test x
"${with_newlib}" = x
; then
2975 # Recognize --with-newlib/--without-newlib.
2976 case ${with_newlib} in
2977 no
) skipdirs
="${skipdirs} target-newlib" ;;
2978 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2981 # Check whether --enable-as-accelerator-for was given.
2982 if test "${enable_as_accelerator_for+set}" = set; then :
2983 enableval
=$enable_as_accelerator_for;
2987 # Check whether --enable-offload-targets was given.
2988 if test "${enable_offload_targets+set}" = set; then :
2989 enableval
=$enable_offload_targets;
2990 if test x
"$enable_offload_targets" = x
; then
2991 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2995 enable_offload_targets
=
2999 # Check whether --enable-offload-defaulted was given.
3000 if test "${enable_offload_defaulted+set}" = set; then :
3001 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
3003 enable_offload_defaulted
=
3007 # Handle --enable-gold, --enable-ld.
3008 # --disable-gold [--enable-ld]
3009 # Build only ld. Default option.
3010 # --enable-gold [--enable-ld]
3011 # Build both gold and ld. Install gold as "ld.gold", install ld
3012 # as "ld.bfd" and "ld".
3013 # --enable-gold=default [--enable-ld]
3014 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3015 # install ld as "ld.bfd".
3016 # --enable-gold[=default] --disable-ld
3017 # Build only gold, which is then installed as both "ld.gold" and "ld".
3018 # --enable-gold --enable-ld=default
3019 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3021 # In other words, ld is default
3022 # --enable-gold=default --enable-ld=default
3026 # Check whether --enable-gold was given.
3027 if test "${enable_gold+set}" = set; then :
3028 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3033 case "${ENABLE_GOLD}" in
3035 # Check for ELF target.
3038 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3039 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3040 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3041 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3043 *-*-linux*aout
* |
*-*-linux*oldld
*)
3051 if test "$is_elf" = "yes"; then
3052 # Check for target supported by gold.
3054 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3055 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3056 configdirs
="$configdirs gold"
3057 if test x
${ENABLE_GOLD} = xdefault
; then
3068 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3072 # Check whether --enable-ld was given.
3073 if test "${enable_ld+set}" = set; then :
3074 enableval
=$enable_ld; ENABLE_LD
=$enableval
3080 case "${ENABLE_LD}" in
3082 if test x
${default_ld} != x
; then
3083 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3089 if test x
${ENABLE_GOLD} != xyes
; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3091 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3093 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3096 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3101 # Decide the default method for compressing debug sections.
3102 # Provide a configure time option to override our default.
3103 # Check whether --enable-compressed_debug_sections was given.
3104 if test "${enable_compressed_debug_sections+set}" = set; then :
3105 enableval
=$enable_compressed_debug_sections;
3106 if test x
"$enable_compressed_debug_sections" = xyes
; then
3107 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3111 enable_compressed_debug_sections
=
3115 # Configure extra directories which are host specific
3119 configdirs
="$configdirs libtermcap" ;;
3122 # A target can indicate whether a language isn't supported for some reason.
3123 # Only spaces may be used in this macro; not newlines or tabs.
3124 unsupported_languages
=
3126 # Remove more programs from consideration, based on the host or
3127 # target this usually means that a port of the program doesn't
3131 i
[3456789]86-*-msdosdjgpp*)
3132 noconfigdirs
="$noconfigdirs tcl tk itcl"
3137 # Check whether --enable-libquadmath was given.
3138 if test "${enable_libquadmath+set}" = set; then :
3139 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3141 ENABLE_LIBQUADMATH
=yes
3144 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3145 noconfigdirs
="$noconfigdirs target-libquadmath"
3149 # Check whether --enable-libquadmath-support was given.
3150 if test "${enable_libquadmath_support+set}" = set; then :
3151 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3153 ENABLE_LIBQUADMATH_SUPPORT
=yes
3156 enable_libquadmath_support
=
3157 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3158 enable_libquadmath_support
=no
3162 # Check whether --enable-libada was given.
3163 if test "${enable_libada+set}" = set; then :
3164 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3169 if test "${ENABLE_LIBADA}" != "yes" ; then
3170 noconfigdirs
="$noconfigdirs gnattools"
3173 # Check whether --enable-libssp was given.
3174 if test "${enable_libssp+set}" = set; then :
3175 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3181 # Check whether --enable-libstdcxx was given.
3182 if test "${enable_libstdcxx+set}" = set; then :
3183 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3185 ENABLE_LIBSTDCXX
=default
3188 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3189 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3192 # If this is accelerator compiler and its target is intelmic we enable
3193 # target liboffloadmic by default. If this is compiler with offloading
3194 # for intelmic we enable host liboffloadmic by default. Otherwise
3195 # liboffloadmic is disabled by default.
3196 # Check whether --enable-liboffloadmic was given.
3197 if test "${enable_liboffloadmic+set}" = set; then :
3198 enableval
=$enable_liboffloadmic; case "$enableval" in
3200 enable_liboffloadmic
=$enableval ;;
3202 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3205 if test x
"$enable_as_accelerator_for" != x
; then
3207 *-intelmic-* |
*-intelmicemul-*)
3208 enable_liboffloadmic
=target
3209 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3212 enable_liboffloadmic
=no
3216 case "${enable_offload_targets}" in
3217 *-intelmic-* |
*-intelmicemul-*)
3218 enable_liboffloadmic
=host
3219 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3222 enable_liboffloadmic
=no
3230 # Enable libgomp by default on hosted POSIX systems, and a few others.
3231 if test x
$enable_libgomp = x
; then
3233 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3235 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3237 *-*-solaris2* |
*-*-hpux11*)
3239 *-*-darwin* |
*-*-aix*)
3241 nvptx
*-*-* | amdgcn
*-*-*)
3244 noconfigdirs
="$noconfigdirs target-libgomp"
3249 # Disable libatomic on unsupported systems.
3250 if test -d ${srcdir}/libatomic
; then
3251 if test x
$enable_libatomic = x
; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3253 $as_echo_n "checking for libatomic support... " >&6; }
3254 if (srcdir
=${srcdir}/libatomic
; \
3255 .
${srcdir}/configure.tgt
; \
3256 test -n "$UNSUPPORTED")
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 noconfigdirs
="$noconfigdirs target-libatomic"
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263 $as_echo "yes" >&6; }
3268 # Disable liboffloadmic on unsupported systems.
3269 if test -d ${srcdir}/liboffloadmic
; then
3270 if test x
$enable_liboffloadmic != xno
; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3272 $as_echo_n "checking for liboffloadmic support... " >&6; }
3273 if (srcdir
=${srcdir}/liboffloadmic
; \
3274 .
${srcdir}/configure.tgt
; \
3275 test -n "$UNSUPPORTED")
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3279 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3282 $as_echo "yes" >&6; }
3287 # Disable libitm on unsupported systems.
3288 if test -d ${srcdir}/libitm
; then
3289 if test x
$enable_libitm = x
; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3291 $as_echo_n "checking for libitm support... " >&6; }
3292 if (srcdir
=${srcdir}/libitm
; \
3293 .
${srcdir}/configure.tgt
; \
3294 test -n "$UNSUPPORTED")
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 noconfigdirs
="$noconfigdirs target-libitm"
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3301 $as_echo "yes" >&6; }
3306 # Disable libsanitizer on unsupported systems.
3307 if test -d ${srcdir}/libsanitizer
; then
3308 if test x
$enable_libsanitizer = x
; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3310 $as_echo_n "checking for libsanitizer support... " >&6; }
3311 if (srcdir
=${srcdir}/libsanitizer
; \
3312 .
${srcdir}/configure.tgt
; \
3313 test -n "$UNSUPPORTED")
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 noconfigdirs
="$noconfigdirs target-libsanitizer"
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3320 $as_echo "yes" >&6; }
3325 # Disable libvtv on unsupported systems.
3326 if test -d ${srcdir}/libvtv
; then
3327 if test x
$enable_libvtv = x
; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3329 $as_echo_n "checking for libvtv support... " >&6; }
3330 if (srcdir
=${srcdir}/libvtv
; \
3331 .
${srcdir}/configure.tgt
; \
3332 test "$VTV_SUPPORTED" != "yes")
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3336 noconfigdirs
="$noconfigdirs target-libvtv"
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339 $as_echo "yes" >&6; }
3344 # Disable libquadmath for some systems.
3347 noconfigdirs
="$noconfigdirs target-libquadmath"
3349 # libquadmath is unused on AIX and libquadmath build process use of
3350 # LD_LIBRARY_PATH can break AIX bootstrap.
3351 powerpc-
*-aix* | rs6000-
*-aix*)
3352 noconfigdirs
="$noconfigdirs target-libquadmath"
3356 # Disable libssp for some systems.
3359 # No hosted I/O support.
3360 noconfigdirs
="$noconfigdirs target-libssp"
3363 noconfigdirs
="$noconfigdirs target-libssp"
3365 powerpc-
*-aix* | rs6000-
*-aix*)
3366 noconfigdirs
="$noconfigdirs target-libssp"
3369 # No hosted I/O support.
3370 noconfigdirs
="$noconfigdirs target-libssp"
3373 # libssp uses a misaligned load to trigger a fault, but the RL78
3374 # doesn't fault for those - instead, it gives a build-time error
3375 # for explicit misaligned loads.
3376 noconfigdirs
="$noconfigdirs target-libssp"
3379 # No hosted I/O support.
3380 noconfigdirs
="$noconfigdirs target-libssp"
3384 # Disable libstdc++-v3 for some systems.
3385 # Allow user to override this if they pass --enable-libstdc++-v3
3386 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3389 # VxWorks uses the Dinkumware C++ library.
3390 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3393 # Not ported/fails to build when using newlib.
3394 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3397 # the C++ libraries don't build on top of CE's C libraries
3398 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3401 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3404 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3407 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3412 # Disable C++ on systems where it is known to not work.
3413 # For testing, you can override this with --enable-languages=c++.
3414 case ,${enable_languages}, in
3420 unsupported_languages
="$unsupported_languages c++"
3426 # Disable Objc on systems where it is known to not work.
3427 # For testing, you can override this with --enable-languages=objc.
3428 case ,${enable_languages}, in
3434 unsupported_languages
="$unsupported_languages objc"
3440 # Disable D on systems where it is known to not work.
3441 # For testing, you can override this with --enable-languages=d.
3442 case ,${enable_languages}, in
3448 unsupported_languages
="$unsupported_languages d"
3454 # Disable libphobos on unsupported systems.
3455 # For testing, you can override this with --enable-libphobos.
3456 if test -d ${srcdir}/libphobos
; then
3457 if test x
$enable_libphobos = x
; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3459 $as_echo_n "checking for libphobos support... " >&6; }
3460 if (srcdir
=${srcdir}/libphobos
; \
3461 .
${srcdir}/configure.tgt
; \
3462 test "$LIBPHOBOS_SUPPORTED" != "yes")
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 $as_echo "no" >&6; }
3466 noconfigdirs
="$noconfigdirs target-libphobos"
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3469 $as_echo "yes" >&6; }
3474 # Disable Fortran for some systems.
3477 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3478 unsupported_languages
="$unsupported_languages fortran"
3481 unsupported_languages
="$unsupported_languages fortran"
3485 # Disable libffi for some systems.
3489 i
[3456789]86-*-darwin*)
3491 x86_64-
*-darwin[912]*)
3494 noconfigdirs
="$noconfigdirs target-libffi"
3497 noconfigdirs
="$noconfigdirs target-libffi"
3500 noconfigdirs
="$noconfigdirs target-libffi"
3503 noconfigdirs
="$noconfigdirs target-libffi"
3506 noconfigdirs
="$noconfigdirs target-libffi"
3509 noconfigdirs
="$noconfigdirs target-libffi"
3512 noconfigdirs
="$noconfigdirs target-libffi"
3514 aarch64
*-*-freebsd*)
3515 noconfigdirs
="$noconfigdirs target-libffi"
3518 noconfigdirs
="$noconfigdirs target-libffi"
3521 noconfigdirs
="$noconfigdirs target-libffi"
3524 noconfigdirs
="$noconfigdirs target-libffi"
3527 noconfigdirs
="$noconfigdirs target-libffi"
3530 noconfigdirs
="$noconfigdirs target-libffi"
3532 cris-
*-* | crisv32-
*-*)
3536 *) # See PR46792 regarding target-libffi.
3537 noconfigdirs
="$noconfigdirs target-libffi";;
3541 noconfigdirs
="$noconfigdirs target-libffi"
3546 noconfigdirs
="$noconfigdirs target-libffi"
3549 noconfigdirs
="$noconfigdirs target-libffi"
3551 i
[3456789]86-w64-mingw*)
3552 noconfigdirs
="$noconfigdirs target-libffi"
3554 i
[3456789]86-*-mingw*)
3555 noconfigdirs
="$noconfigdirs target-libffi"
3558 noconfigdirs
="$noconfigdirs target-libffi"
3561 noconfigdirs
="$noconfigdirs target-libffi"
3568 noconfigdirs
="$noconfigdirs target-libffi"
3571 noconfigdirs
="$noconfigdirs target-libffi"
3575 # Disable the go frontend on systems where it is known to not work. Please keep
3576 # this in sync with contrib/config-list.mk.
3578 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3579 unsupported_languages
="$unsupported_languages go"
3583 # Only allow gdbserver on some systems.
3584 if test -d ${srcdir}/gdbserver
; then
3585 if test x
$enable_gdbserver = x
; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3587 $as_echo_n "checking for gdbserver support... " >&6; }
3588 if (srcdir
=${srcdir}/gdbserver
; \
3589 .
${srcdir}/configure.srv
; \
3590 test -n "$UNSUPPORTED")
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3594 noconfigdirs
="$noconfigdirs gdbserver"
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3597 $as_echo "yes" >&6; }
3602 # Disable libgo for some systems where it is known to not work.
3603 # For testing, you can easily override this with --enable-libgo.
3604 if test x
$enable_libgo = x
; then
3608 noconfigdirs
="$noconfigdirs target-libgo"
3610 *-*-cygwin* |
*-*-mingw*)
3611 noconfigdirs
="$noconfigdirs target-libgo"
3614 noconfigdirs
="$noconfigdirs target-libgo"
3619 # Default libgloss CPU subdirectory.
3620 libgloss_dir
="$target_cpu"
3623 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3627 libgloss_dir
=aarch64
3632 cris-
*-* | crisv32-
*-*)
3641 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3642 libgloss_dir
=m68hc11
3644 m68
*-*-* | fido-
*-*)
3661 # Disable newlib and libgloss for various target OSes.
3664 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3666 i
[3456789]86-*-linux*)
3667 # This section makes it possible to build newlib natively on linux.
3668 # If we are using a cross compiler then don't configure newlib.
3669 if test x
${is_cross_compiler} != xno
; then
3670 noconfigdirs
="$noconfigdirs target-newlib"
3672 noconfigdirs
="$noconfigdirs target-libgloss"
3673 # If we are not using a cross compiler, do configure newlib.
3674 # Note however, that newlib will only be configured in this situation
3675 # if the --with-newlib option has been given, because otherwise
3676 # 'target-newlib' will appear in skipdirs.
3678 i
[3456789]86-*-rdos*)
3679 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3681 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3682 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3685 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3688 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3691 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3694 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3697 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3703 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3705 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3706 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3709 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3712 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3715 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3718 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3721 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3724 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3727 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3735 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3736 noconfigdirs
="$noconfigdirs sim target-rda"
3741 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3742 noconfigdirs
="$noconfigdirs sim target-rda"
3745 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3746 noconfigdirs
="$noconfigdirs sim target-rda"
3748 i
[3456789]86-*-darwin*)
3749 noconfigdirs
="$noconfigdirs ld gprof"
3750 noconfigdirs
="$noconfigdirs sim target-rda"
3752 x86_64-
*-darwin[912]*)
3753 noconfigdirs
="$noconfigdirs ld gas gprof"
3754 noconfigdirs
="$noconfigdirs sim target-rda"
3757 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3758 noconfigdirs
="$noconfigdirs sim target-rda"
3763 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3764 && ! test -d ${srcdir}/gmp \
3765 && test -f /usr
/local
/include
/gmp.h
; then
3770 # Remove unsupported stuff on all kaOS configurations.
3771 noconfigdirs
="$noconfigdirs target-libgloss"
3778 noconfigdirs
="$noconfigdirs target-libgloss"
3781 noconfigdirs
="$noconfigdirs target-libgloss"
3783 # The tpf target doesn't support gdb yet.
3785 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3788 noconfigdirs
="$noconfigdirs target-rda"
3793 # ld works, but does not support shared libraries.
3794 # gas doesn't generate exception information.
3795 noconfigdirs
="$noconfigdirs gas ld"
3798 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3801 # newlib is not 64 bit ready
3802 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3805 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3807 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3808 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3811 noconfigdirs
="$noconfigdirs sim"
3814 noconfigdirs
="$noconfigdirs target-libgloss"
3817 noconfigdirs
="$noconfigdirs ld target-libgloss"
3820 if test x
${with_avrlibc} != xno
; then
3821 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3824 c4x-
*-* | tic4x-
*-*)
3825 noconfigdirs
="$noconfigdirs target-libgloss"
3828 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3831 noconfigdirs
="$noconfigdirs target-libgloss"
3834 noconfigdirs
="$noconfigdirs gdb"
3837 noconfigdirs
="$noconfigdirs gdb"
3840 noconfigdirs
="$noconfigdirs target-rda gprof"
3843 noconfigdirs
="$noconfigdirs"
3846 noconfigdirs
="$noconfigdirs target-libgloss"
3849 noconfigdirs
="$noconfigdirs target-libgloss"
3851 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3854 noconfigdirs
="$noconfigdirs gdb"
3857 noconfigdirs
="$noconfigdirs gdb ld"
3865 hppa
*-*-openbsd* | \
3871 noconfigdirs
="$noconfigdirs ld"
3874 noconfigdirs
="$noconfigdirs gdb"
3877 # No gdb support yet.
3878 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3881 # No ld support yet.
3882 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3885 # No ld support yet.
3886 noconfigdirs
="$noconfigdirs libgui itcl ld"
3888 i
[3456789]86-w64-mingw*)
3890 i
[3456789]86-*-mingw*)
3891 target_configdirs
="$target_configdirs target-winsup"
3894 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3895 noconfigdirs
="$noconfigdirs target-libgloss"
3896 # always build newlib if winsup directory is present.
3897 if test -d "$srcdir/winsup/cygwin"; then
3898 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3899 elif test -d "$srcdir/newlib"; then
3900 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3904 noconfigdirs
="$noconfigdirs target-libgloss"
3906 i
[3456789]86-*-sco3.2v5
*)
3907 # The linker does not yet know about weak symbols in COFF,
3908 # and is not configured to handle mixed ELF and COFF.
3909 noconfigdirs
="$noconfigdirs ld target-libgloss"
3911 i
[3456789]86-*-sco*)
3912 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3914 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3915 noconfigdirs
="$noconfigdirs target-libgloss"
3917 i
[3456789]86-*-sysv4*)
3918 noconfigdirs
="$noconfigdirs target-libgloss"
3920 i
[3456789]86-*-beos*)
3921 noconfigdirs
="$noconfigdirs gdb"
3923 i
[3456789]86-*-rdos*)
3924 noconfigdirs
="$noconfigdirs gdb"
3927 noconfigdirs
="$noconfigdirs gdb"
3930 noconfigdirs
="$noconfigdirs sim"
3933 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3934 noconfigdirs
="$noconfigdirs $target_libraries"
3937 noconfigdirs
="$noconfigdirs gdb gprof"
3940 # copied from rs6000-*-* entry
3941 noconfigdirs
="$noconfigdirs gprof"
3943 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3944 target_configdirs
="$target_configdirs target-winsup"
3945 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3946 # always build newlib.
3947 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3949 # This is temporary until we can link against shared libraries
3950 powerpcle-
*-solaris*)
3951 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3954 noconfigdirs
="$noconfigdirs gdb"
3957 noconfigdirs
="$noconfigdirs gprof"
3960 noconfigdirs
="$noconfigdirs gprof"
3963 noconfigdirs
="$noconfigdirs gprof"
3966 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3969 noconfigdirs
="$noconfigdirs gprof"
3971 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3972 if test x
$with_newlib = xyes
; then
3973 noconfigdirs
="$noconfigdirs gprof"
3977 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3980 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3983 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3987 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3988 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3989 noconfigdirs
="$noconfigdirs ld gas gprof"
3992 noconfigdirs
="$noconfigdirs gprof"
3995 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4002 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4006 if test x
${is_cross_compiler} = xno
; then
4011 noconfigdirs
="$noconfigdirs sim"
4013 tilepro
*-*-* | tilegx
*-*-*)
4014 noconfigdirs
="$noconfigdirs sim"
4017 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4020 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4023 noconfigdirs
="$noconfigdirs ld"
4027 # If we aren't building newlib, then don't build libgloss, since libgloss
4028 # depends upon some newlib header files.
4029 case "${noconfigdirs}" in
4030 *target-libgloss
*) ;;
4031 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4034 # Work in distributions that contain no compiler tools, like Autoconf.
4035 host_makefile_frag
=/dev
/null
4036 if test -d ${srcdir}/config
; then
4038 i
[3456789]86-*-msdosdjgpp*)
4039 host_makefile_frag
="config/mh-djgpp"
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4044 $as_echo_n "checking to see if cat works as expected... " >&6; }
4045 echo a
>cygwin-cat-check
4046 if test `cat cygwin-cat-check` = a
; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4049 $as_echo "yes" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4054 as_fn_error $?
"The cat command does not ignore carriage return characters.
4055 Please either mount the build directory in binary mode or run the following
4056 commands before running any configure script:
4062 host_makefile_frag
="config/mh-cygwin"
4065 host_makefile_frag
="config/mh-mingw"
4068 host_makefile_frag
="config/mh-alpha-linux"
4071 host_makefile_frag
="config/mh-pa-hpux10"
4074 host_makefile_frag
="config/mh-pa"
4077 host_makefile_frag
="config/mh-pa"
4079 i?
86-*-darwin[89]* | i?
86-*-darwin1[0-7]* | powerpc
*-*-darwin*)
4080 host_makefile_frag
="config/mh-darwin"
4083 host_makefile_frag
="config/mh-ppc-aix"
4086 host_makefile_frag
="config/mh-ppc-aix"
4091 if test "${build}" != "${host}" ; then
4092 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4093 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4094 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4095 CPP_FOR_BUILD
="${CPP_FOR_BUILD-\$(CPP)}"
4096 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4097 DSYMUTIL_FOR_BUILD
=${DSYMUTIL_FOR_BUILD-dsymutil}
4098 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4099 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4100 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4101 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4102 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4103 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4104 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4105 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4106 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4108 AR_FOR_BUILD
="\$(AR)"
4109 AS_FOR_BUILD
="\$(AS)"
4110 CC_FOR_BUILD
="\$(CC)"
4111 CXX_FOR_BUILD
="\$(CXX)"
4112 DSYMUTIL_FOR_BUILD
="\$(DSYMUTIL)"
4113 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4114 GOC_FOR_BUILD
="\$(GOC)"
4115 GDC_FOR_BUILD
="\$(GDC)"
4116 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4117 LD_FOR_BUILD
="\$(LD)"
4118 NM_FOR_BUILD
="\$(NM)"
4119 RANLIB_FOR_BUILD
="\$(RANLIB)"
4120 WINDRES_FOR_BUILD
="\$(WINDRES)"
4121 WINDMC_FOR_BUILD
="\$(WINDMC)"
4125 ac_cpp
='$CPP $CPPFLAGS'
4126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4129 if test -n "$ac_tool_prefix"; then
4130 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4131 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if ${ac_cv_prog_CC+:} false
; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -n "$CC"; then
4138 ac_cv_prog_CC
="$CC" # Let the user override the test.
4140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4144 test -z "$as_dir" && as_dir
=.
4145 for ac_exec_ext
in '' $ac_executable_extensions; do
4146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4147 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 if test -n "$CC"; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4160 $as_echo "$CC" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4168 if test -z "$ac_cv_prog_CC"; then
4170 # Extract the first word of "gcc", so it can be a program name with args.
4171 set dummy gcc
; ac_word
=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$ac_ct_CC"; then
4178 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_exec_ext
in '' $ac_executable_extensions; do
4186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_ac_ct_CC
="gcc"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4198 if test -n "$ac_ct_CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4200 $as_echo "$ac_ct_CC" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4206 if test "x$ac_ct_CC" = x
; then
4209 case $cross_compiling:$ac_tool_warned in
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4213 ac_tool_warned
=yes ;;
4221 if test -z "$CC"; then
4222 if test -n "$ac_tool_prefix"; then
4223 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4224 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_CC+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$CC"; then
4231 ac_cv_prog_CC
="$CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$CC"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4253 $as_echo "$CC" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4262 if test -z "$CC"; then
4263 # Extract the first word of "cc", so it can be a program name with args.
4264 set dummy cc
; ac_word
=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_CC+:} false
; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$CC"; then
4271 ac_cv_prog_CC
="$CC" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4281 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4282 ac_prog_rejected
=yes
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 if test $ac_prog_rejected = yes; then
4294 # We found a bogon in the path, so make sure we never use it.
4295 set dummy
$ac_cv_prog_CC
4297 if test $# != 0; then
4298 # We chose a different compiler from the bogus one.
4299 # However, it has the same basename, so the bogon will be chosen
4300 # first if we set CC to just the basename; use the full file name.
4302 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4308 if test -n "$CC"; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4310 $as_echo "$CC" >&6; }
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4313 $as_echo "no" >&6; }
4318 if test -z "$CC"; then
4319 if test -n "$ac_tool_prefix"; then
4320 for ac_prog
in cl.exe
4322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 $as_echo_n "checking for $ac_word... " >&6; }
4326 if ${ac_cv_prog_CC+:} false
; then :
4327 $as_echo_n "(cached) " >&6
4329 if test -n "$CC"; then
4330 ac_cv_prog_CC
="$CC" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4339 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 if test -n "$CC"; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4352 $as_echo "$CC" >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4359 test -n "$CC" && break
4362 if test -z "$CC"; then
4364 for ac_prog
in cl.exe
4366 # Extract the first word of "$ac_prog", so it can be a program name with args.
4367 set dummy
$ac_prog; ac_word
=$2
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4369 $as_echo_n "checking for $ac_word... " >&6; }
4370 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4371 $as_echo_n "(cached) " >&6
4373 if test -n "$ac_ct_CC"; then
4374 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4383 ac_cv_prog_ac_ct_CC
="$ac_prog"
4384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4394 if test -n "$ac_ct_CC"; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4396 $as_echo "$ac_ct_CC" >&6; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399 $as_echo "no" >&6; }
4403 test -n "$ac_ct_CC" && break
4406 if test "x$ac_ct_CC" = x
; then
4409 case $cross_compiling:$ac_tool_warned in
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned
=yes ;;
4422 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4424 as_fn_error $?
"no acceptable C compiler found in \$PATH
4425 See \`config.log' for more details" "$LINENO" 5; }
4427 # Provide some information about the compiler.
4428 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4431 for ac_option
in --version -v -V -qversion; do
4432 { { ac_try
="$ac_compiler $ac_option >&5"
4434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4435 *) ac_try_echo=$ac_try;;
4437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4438 $as_echo "$ac_try_echo"; } >&5
4439 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4441 if test -s conftest.err; then
4443 ... rest of stderr output deleted ...
4444 10q' conftest.err >conftest.er1
4445 cat conftest.er1 >&5
4447 rm -f conftest.er1 conftest.err
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4463 ac_clean_files_save=$ac_clean_files
4464 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4465 # Try to create an executable without -o first, disregard a.out.
4466 # It will help us diagnose broken compilers, and finding out an intuition
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4469 $as_echo_n "checking whether the C compiler works... " >&6; }
4470 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4472 # The possible output files:
4473 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4476 for ac_file in $ac_files
4479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4480 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4485 if { { ac_try="$ac_link_default"
4487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4488 *) ac_try_echo
=$ac_try;;
4490 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4491 $as_echo "$ac_try_echo"; } >&5
4492 (eval "$ac_link_default") 2>&5
4494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4495 test $ac_status = 0; }; then :
4496 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4497 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4498 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4499 # so that the user can short-circuit this test for compilers unknown to
4501 for ac_file
in $ac_files ''
4503 test -f "$ac_file" ||
continue
4505 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4508 # We found the default executable, but exeext='' is most
4512 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4514 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4516 # We set ac_cv_exeext here because the later test for it is not
4517 # safe: cross compilers may not add the suffix if given an `-o'
4518 # argument, so we may need to know it at that point already.
4519 # Even if this section looks crufty: it has the advantage of
4526 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4531 if test -z "$ac_file"; then :
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error
77 "C compiler cannot create executables
4540 See \`config.log' for more details" "$LINENO" 5; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4543 $as_echo "yes" >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4546 $as_echo_n "checking for C compiler default output file name... " >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4548 $as_echo "$ac_file" >&6; }
4549 ac_exeext
=$ac_cv_exeext
4551 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4552 ac_clean_files
=$ac_clean_files_save
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4554 $as_echo_n "checking for suffix of executables... " >&6; }
4555 if { { ac_try
="$ac_link"
4557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4558 *) ac_try_echo=$ac_try;;
4560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4561 $as_echo "$ac_try_echo"; } >&5
4562 (eval "$ac_link") 2>&5
4564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4565 test $ac_status = 0; }; then :
4566 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4567 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4568 # work properly (i.e., refer to `conftest.exe'), while it won't with
4570 for ac_file
in conftest.exe conftest conftest.
*; do
4571 test -f "$ac_file" ||
continue
4573 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4574 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4582 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4583 See \`config.log' for more details" "$LINENO" 5; }
4585 rm -f conftest conftest
$ac_cv_exeext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4587 $as_echo "$ac_cv_exeext" >&6; }
4589 rm -f conftest.
$ac_ext
4590 EXEEXT
=$ac_cv_exeext
4592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4598 FILE *f = fopen ("conftest.out", "w");
4599 return ferror (f) || fclose (f) != 0;
4605 ac_clean_files
="$ac_clean_files conftest.out"
4606 # Check that the compiler produces executables we can run. If not, either
4607 # the compiler is broken, or we cross compile.
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4609 $as_echo_n "checking whether we are cross compiling... " >&6; }
4610 if test "$cross_compiling" != yes; then
4611 { { ac_try
="$ac_link"
4613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4614 *) ac_try_echo=$ac_try;;
4616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4617 $as_echo "$ac_try_echo"; } >&5
4618 (eval "$ac_link") 2>&5
4620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4621 test $ac_status = 0; }
4622 if { ac_try='./conftest$ac_cv_exeext'
4623 { { case "(($ac_try" in
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_try") 2>&5
4631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4632 test $ac_status = 0; }; }; then
4635 if test "$cross_compiling" = maybe
; then
4638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4640 as_fn_error $?
"cannot run C compiled programs.
4641 If you meant to cross compile, use \`--host'.
4642 See \`config.log' for more details" "$LINENO" 5; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4647 $as_echo "$cross_compiling" >&6; }
4649 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4650 ac_clean_files
=$ac_clean_files_save
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4652 $as_echo_n "checking for suffix of object files... " >&6; }
4653 if ${ac_cv_objext+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4667 rm -f conftest.o conftest.obj
4668 if { { ac_try
="$ac_compile"
4670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4671 *) ac_try_echo=$ac_try;;
4673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4674 $as_echo "$ac_try_echo"; } >&5
4675 (eval "$ac_compile") 2>&5
4677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4678 test $ac_status = 0; }; then :
4679 for ac_file in conftest.o conftest.obj conftest.*; do
4680 test -f "$ac_file" || continue;
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4683 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4688 $as_echo "$as_me: failed program was:" >&5
4689 sed 's/^/| /' conftest.$ac_ext >&5
4691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4693 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4694 See \
`config.log' for more details" "$LINENO" 5; }
4696 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4699 $as_echo "$ac_cv_objext" >&6; }
4700 OBJEXT=$ac_cv_objext
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4703 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4704 if ${ac_cv_c_compiler_gnu+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4721 if ac_fn_c_try_compile "$LINENO"; then :
4726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4727 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4731 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4732 if test $ac_compiler_gnu = yes; then
4737 ac_test_CFLAGS=${CFLAGS+set}
4738 ac_save_CFLAGS=$CFLAGS
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4740 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4741 if ${ac_cv_prog_cc_g+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 ac_save_c_werror_flag=$ac_c_werror_flag
4745 ac_c_werror_flag=yes
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4759 if ac_fn_c_try_compile "$LINENO"; then :
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_c_try_compile "$LINENO"; then :
4777 ac_c_werror_flag=$ac_save_c_werror_flag
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4790 if ac_fn_c_try_compile "$LINENO"; then :
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4798 ac_c_werror_flag=$ac_save_c_werror_flag
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4801 $as_echo "$ac_cv_prog_cc_g" >&6; }
4802 if test "$ac_test_CFLAGS" = set; then
4803 CFLAGS=$ac_save_CFLAGS
4804 elif test $ac_cv_prog_cc_g = yes; then
4805 if test "$GCC" = yes; then
4811 if test "$GCC" = yes; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4818 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4819 if ${ac_cv_prog_cc_c89+:} false; then :
4820 $as_echo_n "(cached) " >&6
4822 ac_cv_prog_cc_c89=no
4824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4829 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4830 struct buf { int x; };
4831 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4832 static char *e (p, i)
4838 static char *f (char * (*g) (char **, int), char **p, ...)
4843 s = g (p, va_arg (v,int));
4848 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4849 function prototypes and stuff, but not '\xHH' hex character constants.
4850 These don't provoke an error unfortunately, instead are silently treated
4851 as 'x'. The following induces an error, until -std is added to get
4852 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4853 array size at least. It's necessary to write '\x00'==0 to get something
4854 that's true only with -std. */
4855 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4857 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4858 inside strings and character constants. */
4860 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4862 int test (int i, double x);
4863 struct s1 {int (*f) (int a);};
4864 struct s2 {int (*f) (double a);};
4865 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4871 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4876 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4877 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4879 CC="$ac_save_CC $ac_arg"
4880 if ac_fn_c_try_compile "$LINENO"; then :
4881 ac_cv_prog_cc_c89=$ac_arg
4883 rm -f core conftest.err conftest.$ac_objext
4884 test "x$ac_cv_prog_cc_c89" != "xno" && break
4886 rm -f conftest.$ac_ext
4891 case "x$ac_cv_prog_cc_c89" in
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4894 $as_echo "none needed" >&6; } ;;
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4897 $as_echo "unsupported" >&6; } ;;
4899 CC="$CC $ac_cv_prog_cc_c89"
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4901 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4903 if test "x$ac_cv_prog_cc_c89" != xno; then :
4908 ac_cpp='$CPP $CPPFLAGS'
4909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4914 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4915 if ${ac_cv_prog_cc_c99+:} false; then :
4916 $as_echo_n "(cached) " >&6
4918 ac_cv_prog_cc_c99=no
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4923 #include <stdbool.h>
4928 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4929 #define debug(...) fprintf (stderr, __VA_ARGS__)
4930 #define showlist(...) puts (#__VA_ARGS__)
4931 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4933 test_varargs_macros (void)
4938 debug ("X = %d\n", x);
4939 showlist (The first, second, and third items.);
4940 report (x>y, "x is %d but y is %d", x, y);
4943 // Check long long types.
4944 #define BIG64 18446744073709551615ull
4945 #define BIG32 4294967295ul
4946 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4948 your preprocessor is broken;
4952 your preprocessor is broken;
4954 static long long int bignum = -9223372036854775807LL;
4955 static unsigned long long int ubignum = BIG64;
4957 struct incomplete_array
4965 const wchar_t *name;
4969 typedef const char *ccp;
4972 test_restrict (ccp restrict text)
4974 // See if C++-style comments work.
4975 // Iterate through items via the restricted pointer.
4976 // Also check for declarations in for loops.
4977 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4982 // Check varargs and va_copy.
4984 test_varargs (const char *format, ...)
4987 va_start (args, format);
4989 va_copy (args_copy, args);
5000 str = va_arg (args_copy, const char *);
5003 number = va_arg (args_copy, int);
5006 fnumber = va_arg (args_copy, double);
5021 _Bool success = false;
5024 if (test_restrict ("String literal") == 0)
5026 char *restrict newvar = "Another string";
5029 test_varargs ("s, d' f .", "string", 65, 34.234);
5030 test_varargs_macros ();
5032 // Check flexible array members.
5033 struct incomplete_array *ia =
5034 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5036 for (int i = 0; i < ia->datasize; ++i)
5037 ia->data[i] = i * 1.234;
5039 // Check named initializers.
5040 struct named_init ni = {
5042 .name = L"Test wide string",
5043 .average = 543.34343,
5048 int dynamic_array[ni.number];
5049 dynamic_array[ni.number - 1] = 543;
5051 // work around unused variable warnings
5052 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5053 || dynamic_array[ni.number - 1] != 543);
5059 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5061 CC="$ac_save_CC $ac_arg"
5062 if ac_fn_c_try_compile "$LINENO"; then :
5063 ac_cv_prog_cc_c99=$ac_arg
5065 rm -f core conftest.err conftest.$ac_objext
5066 test "x$ac_cv_prog_cc_c99" != "xno" && break
5068 rm -f conftest.$ac_ext
5073 case "x$ac_cv_prog_cc_c99" in
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5076 $as_echo "none needed" >&6; } ;;
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5079 $as_echo "unsupported" >&6; } ;;
5081 CC="$CC $ac_cv_prog_cc_c99"
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5083 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5085 if test "x$ac_cv_prog_cc_c99" != xno; then :
5091 ac_cpp='$CXXCPP $CPPFLAGS'
5092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5095 if test -z "$CXX"; then
5096 if test -n "$CCC"; then
5099 if test -n "$ac_tool_prefix"; then
5100 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if ${ac_cv_prog_CXX+:} false; then :
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$CXX"; then
5110 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5119 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 if test -n "$CXX"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5132 $as_echo "$CXX" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5139 test -n "$CXX" && break
5142 if test -z "$CXX"; then
5144 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ac_ct_CXX"; then
5154 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_ac_ct_CXX="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5174 if test -n "$ac_ct_CXX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5176 $as_echo "$ac_ct_CXX" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$ac_ct_CXX" && break
5186 if test "x$ac_ct_CXX" = x; then
5189 case $cross_compiling:$ac_tool_warned in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 ac_tool_warned=yes ;;
5201 # Provide some information about the compiler.
5202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5205 for ac_option in --version -v -V -qversion; do
5206 { { ac_try="$ac_compiler $ac_option >&5"
5208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5209 *) ac_try_echo
=$ac_try;;
5211 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5212 $as_echo "$ac_try_echo"; } >&5
5213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5215 if test -s conftest.err
; then
5217 ... rest of stderr output deleted ...
5218 10q' conftest.err
>conftest.er1
5219 cat conftest.er1
>&5
5221 rm -f conftest.er1 conftest.err
5222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5223 test $ac_status = 0; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5227 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5228 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5229 $as_echo_n "(cached) " >&6
5231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5245 if ac_fn_cxx_try_compile
"$LINENO"; then :
5250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5251 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5255 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5256 if test $ac_compiler_gnu = yes; then
5261 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5262 ac_save_CXXFLAGS
=$CXXFLAGS
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5264 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5265 if ${ac_cv_prog_cxx_g+:} false
; then :
5266 $as_echo_n "(cached) " >&6
5268 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5269 ac_cxx_werror_flag
=yes
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5283 if ac_fn_cxx_try_compile
"$LINENO"; then :
5284 ac_cv_prog_cxx_g
=yes
5287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5298 if ac_fn_cxx_try_compile
"$LINENO"; then :
5301 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h. */
5314 if ac_fn_cxx_try_compile
"$LINENO"; then :
5315 ac_cv_prog_cxx_g
=yes
5317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5322 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5325 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5326 if test "$ac_test_CXXFLAGS" = set; then
5327 CXXFLAGS
=$ac_save_CXXFLAGS
5328 elif test $ac_cv_prog_cxx_g = yes; then
5329 if test "$GXX" = yes; then
5335 if test "$GXX" = yes; then
5342 ac_cpp
='$CPP $CPPFLAGS'
5343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5348 # We must set the default linker to the linker used by gcc for the correct
5349 # operation of libtool. If LD is not defined and we are using gcc, try to
5350 # set the LD default to the ld used by gcc.
5351 if test -z "$LD"; then
5352 if test "$GCC" = yes; then
5355 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5357 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5359 case $gcc_prog_ld in
5360 # Accept absolute paths.
5361 [\\/]* |
[A-Za-z
]:[\\/]*)
5362 LD
="$gcc_prog_ld" ;;
5367 # Check whether -static-libstdc++ -static-libgcc is supported.
5369 if test "$GCC" = yes; then
5370 saved_LDFLAGS
="$LDFLAGS"
5372 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5374 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5376 ac_cpp
='$CXXCPP $CPPFLAGS'
5377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5385 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5386 #error -static-libstdc++ not implemented
5390 if ac_fn_cxx_try_link
"$LINENO"; then :
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392 $as_echo "yes" >&6; }; have_static_libs
=yes
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5397 rm -f core conftest.err conftest.
$ac_objext \
5398 conftest
$ac_exeext conftest.
$ac_ext
5400 ac_cpp
='$CPP $CPPFLAGS'
5401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5406 LDFLAGS
="$saved_LDFLAGS"
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5414 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_GNATBIND+:} false
; then :
5418 $as_echo_n "(cached) " >&6
5420 if test -n "$GNATBIND"; then
5421 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5430 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 GNATBIND
=$ac_cv_prog_GNATBIND
5441 if test -n "$GNATBIND"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5443 $as_echo "$GNATBIND" >&6; }
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5451 if test -z "$ac_cv_prog_GNATBIND"; then
5452 ac_ct_GNATBIND
=$GNATBIND
5453 # Extract the first word of "gnatbind", so it can be a program name with args.
5454 set dummy gnatbind
; ac_word
=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 if test -n "$ac_ct_GNATBIND"; then
5461 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5481 if test -n "$ac_ct_GNATBIND"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5483 $as_echo "$ac_ct_GNATBIND" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5489 if test "x$ac_ct_GNATBIND" = x
; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5496 ac_tool_warned
=yes ;;
5498 GNATBIND
=$ac_ct_GNATBIND
5501 GNATBIND
="$ac_cv_prog_GNATBIND"
5504 if test -n "$ac_tool_prefix"; then
5505 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5506 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5508 $as_echo_n "checking for $ac_word... " >&6; }
5509 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5510 $as_echo_n "(cached) " >&6
5512 if test -n "$GNATMAKE"; then
5513 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir
=.
5520 for ac_exec_ext
in '' $ac_executable_extensions; do
5521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5522 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 GNATMAKE
=$ac_cv_prog_GNATMAKE
5533 if test -n "$GNATMAKE"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5535 $as_echo "$GNATMAKE" >&6; }
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5543 if test -z "$ac_cv_prog_GNATMAKE"; then
5544 ac_ct_GNATMAKE
=$GNATMAKE
5545 # Extract the first word of "gnatmake", so it can be a program name with args.
5546 set dummy gnatmake
; ac_word
=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 if test -n "$ac_ct_GNATMAKE"; then
5553 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir
=.
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5573 if test -n "$ac_ct_GNATMAKE"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5575 $as_echo "$ac_ct_GNATMAKE" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5581 if test "x$ac_ct_GNATMAKE" = x
; then
5584 case $cross_compiling:$ac_tool_warned in
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5588 ac_tool_warned
=yes ;;
5590 GNATMAKE
=$ac_ct_GNATMAKE
5593 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5597 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5598 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 cat >conftest.adb
<<EOF
5602 procedure conftest is begin null; end conftest;
5604 acx_cv_cc_gcc_supports_ada
=no
5605 # There is a bug in old released versions of GCC which causes the
5606 # driver to exit successfully when the appropriate language module
5607 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5608 # Therefore we must check for the error message as well as an
5609 # unsuccessful exit.
5610 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5611 # given a .adb file, but produce no object file. So we must check
5612 # if an object file was really produced to guard against this.
5613 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5614 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5615 acx_cv_cc_gcc_supports_ada
=yes
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5620 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5622 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5629 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5630 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5631 $as_echo_n "(cached) " >&6
5635 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5636 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5637 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5640 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5643 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5644 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5647 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5654 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5655 do_compare
="$gcc_cv_prog_cmp_skip"
5659 # Check whether --enable-bootstrap was given.
5660 if test "${enable_bootstrap+set}" = set; then :
5661 enableval
=$enable_bootstrap;
5663 enable_bootstrap
=default
5667 # Issue errors and warnings for invalid/strange bootstrap combinations.
5668 if test -r $srcdir/gcc
/configure
; then
5674 case "$have_compiler:$host:$target:$enable_bootstrap" in
5677 # Default behavior. Enable bootstrap if we have a compiler
5678 # and we are in a native configuration.
5679 yes:$build:$build:default
)
5680 enable_bootstrap
=yes ;;
5683 enable_bootstrap
=no
;;
5685 # We have a compiler and we are in a native configuration, bootstrap is ok
5686 yes:$build:$build:yes)
5689 # Other configurations, but we have a compiler. Assume the user knows
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5693 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5696 # No compiler: if they passed --enable-bootstrap explicitly, fail
5698 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5700 # Fail if wrong command line
5702 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5706 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5707 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5708 # require C++11 (or higher).
5709 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5710 CXX
="$CXX -std=c++11"
5711 elif test "$have_compiler" = yes; then
5712 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5714 ac_cpp
='$CXXCPP $CPPFLAGS'
5715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5721 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5722 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5723 $as_echo_n "(cached) " >&6
5725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5729 // If the compiler admits that it is not ready for C++11, why torture it?
5730 // Hopefully, this will speed up the test.
5734 #error "This is not a C++ compiler"
5736 #elif __cplusplus < 201103L
5738 #error "This is not a C++11 compiler"
5745 namespace test_static_assert
5748 template <typename T>
5751 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5756 namespace test_final_override
5765 struct Derived : public Base
5767 virtual ~Derived() override {}
5768 virtual void f() override {}
5773 namespace test_double_right_angle_brackets
5776 template < typename T >
5779 typedef check<void> single_type;
5780 typedef check<check<void>> double_type;
5781 typedef check<check<check<void>>> triple_type;
5782 typedef check<check<check<check<void>>>> quadruple_type;
5786 namespace test_decltype
5799 namespace test_type_deduction
5802 template < typename T1, typename T2 >
5805 static const bool value = false;
5808 template < typename T >
5809 struct is_same<T, T>
5811 static const bool value = true;
5814 template < typename T1, typename T2 >
5816 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5822 test(const int c, volatile int v)
5824 static_assert(is_same<int, decltype(0)>::value == true, "");
5825 static_assert(is_same<int, decltype(c)>::value == false, "");
5826 static_assert(is_same<int, decltype(v)>::value == false, "");
5829 auto sumi = ac + av + 'x';
5830 auto sumf = ac + av + 1.0;
5831 static_assert(is_same<int, decltype(ac)>::value == true, "");
5832 static_assert(is_same<int, decltype(av)>::value == true, "");
5833 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5834 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5835 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5836 return (sumf > 0.0) ? sumi : add(c, v);
5841 namespace test_noexcept
5844 int f() { return 0; }
5845 int g() noexcept { return 0; }
5847 static_assert(noexcept(f()) == false, "");
5848 static_assert(noexcept(g()) == true, "");
5852 namespace test_constexpr
5855 template < typename CharT >
5856 unsigned long constexpr
5857 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5859 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5862 template < typename CharT >
5863 unsigned long constexpr
5864 strlen_c(const CharT *const s) noexcept
5866 return strlen_c_r(s, 0UL);
5869 static_assert(strlen_c("") == 0UL, "");
5870 static_assert(strlen_c("1") == 1UL, "");
5871 static_assert(strlen_c("example") == 7UL, "");
5872 static_assert(strlen_c("another\0example") == 7UL, "");
5876 namespace test_rvalue_references
5882 static constexpr int value = N;
5885 answer<1> f(int&) { return answer<1>(); }
5886 answer<2> f(const int&) { return answer<2>(); }
5887 answer<3> f(int&&) { return answer<3>(); }
5894 static_assert(decltype(f(i))::value == 1, "");
5895 static_assert(decltype(f(c))::value == 2, "");
5896 static_assert(decltype(f(0))::value == 3, "");
5901 namespace test_uniform_initialization
5906 static const int zero {};
5907 static const int one {1};
5910 static_assert(test::zero == 0, "");
5911 static_assert(test::one == 1, "");
5915 namespace test_lambdas
5921 auto lambda1 = [](){};
5922 auto lambda2 = lambda1;
5930 auto a = [](int i, int j){ return i + j; }(1, 2);
5931 auto b = []() -> int { return '0'; }();
5932 auto c = [=](){ return a + b; }();
5933 auto d = [&](){ return c; }();
5934 auto e = [a, &b](int x) mutable {
5935 const auto identity = [](int y){ return y; };
5936 for (auto i = 0; i < a; ++i)
5938 return x + identity(a + b);
5940 return a + b + c + d + e;
5946 const auto nullary = [](){ return 0; };
5947 const auto unary = [](int x){ return x; };
5948 using nullary_t = decltype(nullary);
5949 using unary_t = decltype(unary);
5950 const auto higher1st = [](nullary_t f){ return f(); };
5951 const auto higher2nd = [unary](nullary_t f1){
5952 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5954 return higher1st(nullary) + higher2nd(nullary)(unary);
5959 namespace test_variadic_templates
5965 template <int N0, int... N1toN>
5966 struct sum<N0, N1toN...>
5968 static constexpr auto value = N0 + sum<N1toN...>::value;
5974 static constexpr auto value = 0;
5977 static_assert(sum<>::value == 0, "");
5978 static_assert(sum<1>::value == 1, "");
5979 static_assert(sum<23>::value == 23, "");
5980 static_assert(sum<1, 2>::value == 3, "");
5981 static_assert(sum<5, 5, 11>::value == 21, "");
5982 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5986 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5987 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5989 namespace test_template_alias_sfinae
5994 template<typename T>
5995 using member = typename T::member_type;
5997 template<typename T>
6000 template<typename T>
6001 void func(member<T>*) {}
6005 void test() { func<foo>(0); }
6009 } // namespace cxx11
6011 #endif // __cplusplus >= 201103L
6016 if ac_fn_cxx_try_compile
"$LINENO"; then :
6017 ax_cv_cxx_compile_cxx11
=yes
6019 ax_cv_cxx_compile_cxx11
=no
6021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
6024 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
6025 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
6029 if test x
$ac_success = xno
; then
6030 for alternative
in ${ax_cxx_compile_alternatives}; do
6031 switch
="-std=gnu++${alternative}"
6032 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6034 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6035 if eval \
${$cachevar+:} false
; then :
6036 $as_echo_n "(cached) " >&6
6040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6044 // If the compiler admits that it is not ready for C++11, why torture it?
6045 // Hopefully, this will speed up the test.
6049 #error "This is not a C++ compiler"
6051 #elif __cplusplus < 201103L
6053 #error "This is not a C++11 compiler"
6060 namespace test_static_assert
6063 template <typename T>
6066 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6071 namespace test_final_override
6080 struct Derived : public Base
6082 virtual ~Derived() override {}
6083 virtual void f() override {}
6088 namespace test_double_right_angle_brackets
6091 template < typename T >
6094 typedef check<void> single_type;
6095 typedef check<check<void>> double_type;
6096 typedef check<check<check<void>>> triple_type;
6097 typedef check<check<check<check<void>>>> quadruple_type;
6101 namespace test_decltype
6114 namespace test_type_deduction
6117 template < typename T1, typename T2 >
6120 static const bool value = false;
6123 template < typename T >
6124 struct is_same<T, T>
6126 static const bool value = true;
6129 template < typename T1, typename T2 >
6131 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6137 test(const int c, volatile int v)
6139 static_assert(is_same<int, decltype(0)>::value == true, "");
6140 static_assert(is_same<int, decltype(c)>::value == false, "");
6141 static_assert(is_same<int, decltype(v)>::value == false, "");
6144 auto sumi = ac + av + 'x';
6145 auto sumf = ac + av + 1.0;
6146 static_assert(is_same<int, decltype(ac)>::value == true, "");
6147 static_assert(is_same<int, decltype(av)>::value == true, "");
6148 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6149 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6150 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6151 return (sumf > 0.0) ? sumi : add(c, v);
6156 namespace test_noexcept
6159 int f() { return 0; }
6160 int g() noexcept { return 0; }
6162 static_assert(noexcept(f()) == false, "");
6163 static_assert(noexcept(g()) == true, "");
6167 namespace test_constexpr
6170 template < typename CharT >
6171 unsigned long constexpr
6172 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6174 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6177 template < typename CharT >
6178 unsigned long constexpr
6179 strlen_c(const CharT *const s) noexcept
6181 return strlen_c_r(s, 0UL);
6184 static_assert(strlen_c("") == 0UL, "");
6185 static_assert(strlen_c("1") == 1UL, "");
6186 static_assert(strlen_c("example") == 7UL, "");
6187 static_assert(strlen_c("another\0example") == 7UL, "");
6191 namespace test_rvalue_references
6197 static constexpr int value = N;
6200 answer<1> f(int&) { return answer<1>(); }
6201 answer<2> f(const int&) { return answer<2>(); }
6202 answer<3> f(int&&) { return answer<3>(); }
6209 static_assert(decltype(f(i))::value == 1, "");
6210 static_assert(decltype(f(c))::value == 2, "");
6211 static_assert(decltype(f(0))::value == 3, "");
6216 namespace test_uniform_initialization
6221 static const int zero {};
6222 static const int one {1};
6225 static_assert(test::zero == 0, "");
6226 static_assert(test::one == 1, "");
6230 namespace test_lambdas
6236 auto lambda1 = [](){};
6237 auto lambda2 = lambda1;
6245 auto a = [](int i, int j){ return i + j; }(1, 2);
6246 auto b = []() -> int { return '0'; }();
6247 auto c = [=](){ return a + b; }();
6248 auto d = [&](){ return c; }();
6249 auto e = [a, &b](int x) mutable {
6250 const auto identity = [](int y){ return y; };
6251 for (auto i = 0; i < a; ++i)
6253 return x + identity(a + b);
6255 return a + b + c + d + e;
6261 const auto nullary = [](){ return 0; };
6262 const auto unary = [](int x){ return x; };
6263 using nullary_t = decltype(nullary);
6264 using unary_t = decltype(unary);
6265 const auto higher1st = [](nullary_t f){ return f(); };
6266 const auto higher2nd = [unary](nullary_t f1){
6267 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6269 return higher1st(nullary) + higher2nd(nullary)(unary);
6274 namespace test_variadic_templates
6280 template <int N0, int... N1toN>
6281 struct sum<N0, N1toN...>
6283 static constexpr auto value = N0 + sum<N1toN...>::value;
6289 static constexpr auto value = 0;
6292 static_assert(sum<>::value == 0, "");
6293 static_assert(sum<1>::value == 1, "");
6294 static_assert(sum<23>::value == 23, "");
6295 static_assert(sum<1, 2>::value == 3, "");
6296 static_assert(sum<5, 5, 11>::value == 21, "");
6297 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6301 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6302 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6304 namespace test_template_alias_sfinae
6309 template<typename T>
6310 using member = typename T::member_type;
6312 template<typename T>
6315 template<typename T>
6316 void func(member<T>*) {}
6320 void test() { func<foo>(0); }
6324 } // namespace cxx11
6326 #endif // __cplusplus >= 201103L
6331 if ac_fn_cxx_try_compile
"$LINENO"; then :
6336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6339 eval ac_res
=\$
$cachevar
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6341 $as_echo "$ac_res" >&6; }
6342 if eval test x\$
$cachevar = xyes
; then
6344 if test -n "$CXXCPP" ; then
6345 CXXCPP
="$CXXCPP $switch"
6353 if test x
$ac_success = xno
; then
6354 for alternative
in ${ax_cxx_compile_alternatives}; do
6355 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6356 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6358 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6359 if eval \${$cachevar+:} false; then :
6360 $as_echo_n "(cached
) " >&6
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6368 // If the compiler admits that it is not ready for C++11, why torture it?
6369 // Hopefully, this will speed up the test.
6373 #error "This is not a C
++ compiler
"
6375 #elif __cplusplus < 201103L
6377 #error "This is not a C
++11 compiler
"
6384 namespace test_static_assert
6387 template <typename T>
6390 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6395 namespace test_final_override
6404 struct Derived : public Base
6406 virtual ~Derived() override {}
6407 virtual void f() override {}
6412 namespace test_double_right_angle_brackets
6415 template < typename T >
6418 typedef check<void> single_type;
6419 typedef check<check<void>> double_type;
6420 typedef check<check<check<void>>> triple_type;
6421 typedef check<check<check<check<void>>>> quadruple_type;
6425 namespace test_decltype
6438 namespace test_type_deduction
6441 template < typename T1, typename T2 >
6444 static const bool value = false;
6447 template < typename T >
6448 struct is_same<T, T>
6450 static const bool value = true;
6453 template < typename T1, typename T2 >
6455 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6461 test(const int c, volatile int v)
6463 static_assert(is_same<int, decltype(0)>::value == true, "");
6464 static_assert(is_same<int, decltype(c)>::value == false, "");
6465 static_assert(is_same<int, decltype(v)>::value == false, "");
6468 auto sumi = ac + av + 'x';
6469 auto sumf = ac + av + 1.0;
6470 static_assert(is_same<int, decltype(ac)>::value == true, "");
6471 static_assert(is_same<int, decltype(av)>::value == true, "");
6472 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6473 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6474 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6475 return (sumf > 0.0) ? sumi : add(c, v);
6480 namespace test_noexcept
6483 int f() { return 0; }
6484 int g() noexcept { return 0; }
6486 static_assert(noexcept(f()) == false, "");
6487 static_assert(noexcept(g()) == true, "");
6491 namespace test_constexpr
6494 template < typename CharT >
6495 unsigned long constexpr
6496 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6498 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6501 template < typename CharT >
6502 unsigned long constexpr
6503 strlen_c(const CharT *const s) noexcept
6505 return strlen_c_r(s, 0UL);
6508 static_assert(strlen_c("") == 0UL, "");
6509 static_assert(strlen_c("1") == 1UL, "");
6510 static_assert(strlen_c("example
") == 7UL, "");
6511 static_assert(strlen_c("another\
0example
") == 7UL, "");
6515 namespace test_rvalue_references
6521 static constexpr int value = N;
6524 answer<1> f(int&) { return answer<1>(); }
6525 answer<2> f(const int&) { return answer<2>(); }
6526 answer<3> f(int&&) { return answer<3>(); }
6533 static_assert(decltype(f(i))::value == 1, "");
6534 static_assert(decltype(f(c))::value == 2, "");
6535 static_assert(decltype(f(0))::value == 3, "");
6540 namespace test_uniform_initialization
6545 static const int zero {};
6546 static const int one {1};
6549 static_assert(test::zero == 0, "");
6550 static_assert(test::one == 1, "");
6554 namespace test_lambdas
6560 auto lambda1 = [](){};
6561 auto lambda2 = lambda1;
6569 auto a = [](int i, int j){ return i + j; }(1, 2);
6570 auto b = []() -> int { return '0'; }();
6571 auto c = [=](){ return a + b; }();
6572 auto d = [&](){ return c; }();
6573 auto e = [a, &b](int x) mutable {
6574 const auto identity = [](int y){ return y; };
6575 for (auto i = 0; i < a; ++i)
6577 return x + identity(a + b);
6579 return a + b + c + d + e;
6585 const auto nullary = [](){ return 0; };
6586 const auto unary = [](int x){ return x; };
6587 using nullary_t = decltype(nullary);
6588 using unary_t = decltype(unary);
6589 const auto higher1st = [](nullary_t f){ return f(); };
6590 const auto higher2nd = [unary](nullary_t f1){
6591 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6593 return higher1st(nullary) + higher2nd(nullary)(unary);
6598 namespace test_variadic_templates
6604 template <int N0, int... N1toN>
6605 struct sum<N0, N1toN...>
6607 static constexpr auto value = N0 + sum<N1toN...>::value;
6613 static constexpr auto value = 0;
6616 static_assert(sum<>::value == 0, "");
6617 static_assert(sum<1>::value == 1, "");
6618 static_assert(sum<23>::value == 23, "");
6619 static_assert(sum<1, 2>::value == 3, "");
6620 static_assert(sum<5, 5, 11>::value == 21, "");
6621 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6625 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6626 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6628 namespace test_template_alias_sfinae
6633 template<typename T>
6634 using member = typename T::member_type;
6636 template<typename T>
6639 template<typename T>
6640 void func(member<T>*) {}
6644 void test() { func<foo>(0); }
6648 } // namespace cxx11
6650 #endif // __cplusplus >= 201103L
6655 if ac_fn_cxx_try_compile "$LINENO"; then :
6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6663 eval ac_res=\$$cachevar
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6665 $as_echo "$ac_res" >&6; }
6666 if eval test x\$$cachevar = xyes; then
6668 if test -n "$CXXCPP" ; then
6669 CXXCPP="$CXXCPP $switch"
6675 if test x$ac_success = xyes; then
6682 ac_cpp='$CPP $CPPFLAGS'
6683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6687 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6688 if test x$ac_success = xno; then
6689 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6692 if test x$ac_success = xno; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6695 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6699 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6705 if test "${build}" != "${host}"; then
6706 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6708 ac_cpp
='$CXXCPP $CPPFLAGS'
6709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6713 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6714 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6715 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6716 CXX
="$CXX_FOR_BUILD"
6717 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6718 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6720 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6721 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6722 $as_echo_n "(cached) " >&6
6724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6728 // If the compiler admits that it is not ready for C++11, why torture it?
6729 // Hopefully, this will speed up the test.
6733 #error "This is not a C++ compiler"
6735 #elif __cplusplus < 201103L
6737 #error "This is not a C++11 compiler"
6744 namespace test_static_assert
6747 template <typename T>
6750 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6755 namespace test_final_override
6764 struct Derived : public Base
6766 virtual ~Derived() override {}
6767 virtual void f() override {}
6772 namespace test_double_right_angle_brackets
6775 template < typename T >
6778 typedef check<void> single_type;
6779 typedef check<check<void>> double_type;
6780 typedef check<check<check<void>>> triple_type;
6781 typedef check<check<check<check<void>>>> quadruple_type;
6785 namespace test_decltype
6798 namespace test_type_deduction
6801 template < typename T1, typename T2 >
6804 static const bool value = false;
6807 template < typename T >
6808 struct is_same<T, T>
6810 static const bool value = true;
6813 template < typename T1, typename T2 >
6815 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6821 test(const int c, volatile int v)
6823 static_assert(is_same<int, decltype(0)>::value == true, "");
6824 static_assert(is_same<int, decltype(c)>::value == false, "");
6825 static_assert(is_same<int, decltype(v)>::value == false, "");
6828 auto sumi = ac + av + 'x';
6829 auto sumf = ac + av + 1.0;
6830 static_assert(is_same<int, decltype(ac)>::value == true, "");
6831 static_assert(is_same<int, decltype(av)>::value == true, "");
6832 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6833 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6834 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6835 return (sumf > 0.0) ? sumi : add(c, v);
6840 namespace test_noexcept
6843 int f() { return 0; }
6844 int g() noexcept { return 0; }
6846 static_assert(noexcept(f()) == false, "");
6847 static_assert(noexcept(g()) == true, "");
6851 namespace test_constexpr
6854 template < typename CharT >
6855 unsigned long constexpr
6856 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6858 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6861 template < typename CharT >
6862 unsigned long constexpr
6863 strlen_c(const CharT *const s) noexcept
6865 return strlen_c_r(s, 0UL);
6868 static_assert(strlen_c("") == 0UL, "");
6869 static_assert(strlen_c("1") == 1UL, "");
6870 static_assert(strlen_c("example") == 7UL, "");
6871 static_assert(strlen_c("another\0example") == 7UL, "");
6875 namespace test_rvalue_references
6881 static constexpr int value = N;
6884 answer<1> f(int&) { return answer<1>(); }
6885 answer<2> f(const int&) { return answer<2>(); }
6886 answer<3> f(int&&) { return answer<3>(); }
6893 static_assert(decltype(f(i))::value == 1, "");
6894 static_assert(decltype(f(c))::value == 2, "");
6895 static_assert(decltype(f(0))::value == 3, "");
6900 namespace test_uniform_initialization
6905 static const int zero {};
6906 static const int one {1};
6909 static_assert(test::zero == 0, "");
6910 static_assert(test::one == 1, "");
6914 namespace test_lambdas
6920 auto lambda1 = [](){};
6921 auto lambda2 = lambda1;
6929 auto a = [](int i, int j){ return i + j; }(1, 2);
6930 auto b = []() -> int { return '0'; }();
6931 auto c = [=](){ return a + b; }();
6932 auto d = [&](){ return c; }();
6933 auto e = [a, &b](int x) mutable {
6934 const auto identity = [](int y){ return y; };
6935 for (auto i = 0; i < a; ++i)
6937 return x + identity(a + b);
6939 return a + b + c + d + e;
6945 const auto nullary = [](){ return 0; };
6946 const auto unary = [](int x){ return x; };
6947 using nullary_t = decltype(nullary);
6948 using unary_t = decltype(unary);
6949 const auto higher1st = [](nullary_t f){ return f(); };
6950 const auto higher2nd = [unary](nullary_t f1){
6951 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6953 return higher1st(nullary) + higher2nd(nullary)(unary);
6958 namespace test_variadic_templates
6964 template <int N0, int... N1toN>
6965 struct sum<N0, N1toN...>
6967 static constexpr auto value = N0 + sum<N1toN...>::value;
6973 static constexpr auto value = 0;
6976 static_assert(sum<>::value == 0, "");
6977 static_assert(sum<1>::value == 1, "");
6978 static_assert(sum<23>::value == 23, "");
6979 static_assert(sum<1, 2>::value == 3, "");
6980 static_assert(sum<5, 5, 11>::value == 21, "");
6981 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6985 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6986 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6988 namespace test_template_alias_sfinae
6993 template<typename T>
6994 using member = typename T::member_type;
6996 template<typename T>
6999 template<typename T>
7000 void func(member<T>*) {}
7004 void test() { func<foo>(0); }
7008 } // namespace cxx11
7010 #endif // __cplusplus >= 201103L
7015 if ac_fn_cxx_try_compile
"$LINENO"; then :
7016 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
7018 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
7020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
7023 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
7024 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
7028 if test x
$ac_success = xno
; then
7029 for alternative
in ${ax_cxx_compile_alternatives}; do
7030 switch
="-std=gnu++${alternative}"
7031 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7033 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
7034 if eval \
${$cachevar+:} false
; then :
7035 $as_echo_n "(cached) " >&6
7039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7040 /* end confdefs.h. */
7043 // If the compiler admits that it is not ready for C++11, why torture it?
7044 // Hopefully, this will speed up the test.
7048 #error "This is not a C++ compiler"
7050 #elif __cplusplus < 201103L
7052 #error "This is not a C++11 compiler"
7059 namespace test_static_assert
7062 template <typename T>
7065 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7070 namespace test_final_override
7079 struct Derived : public Base
7081 virtual ~Derived() override {}
7082 virtual void f() override {}
7087 namespace test_double_right_angle_brackets
7090 template < typename T >
7093 typedef check<void> single_type;
7094 typedef check<check<void>> double_type;
7095 typedef check<check<check<void>>> triple_type;
7096 typedef check<check<check<check<void>>>> quadruple_type;
7100 namespace test_decltype
7113 namespace test_type_deduction
7116 template < typename T1, typename T2 >
7119 static const bool value = false;
7122 template < typename T >
7123 struct is_same<T, T>
7125 static const bool value = true;
7128 template < typename T1, typename T2 >
7130 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7136 test(const int c, volatile int v)
7138 static_assert(is_same<int, decltype(0)>::value == true, "");
7139 static_assert(is_same<int, decltype(c)>::value == false, "");
7140 static_assert(is_same<int, decltype(v)>::value == false, "");
7143 auto sumi = ac + av + 'x';
7144 auto sumf = ac + av + 1.0;
7145 static_assert(is_same<int, decltype(ac)>::value == true, "");
7146 static_assert(is_same<int, decltype(av)>::value == true, "");
7147 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7148 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7149 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7150 return (sumf > 0.0) ? sumi : add(c, v);
7155 namespace test_noexcept
7158 int f() { return 0; }
7159 int g() noexcept { return 0; }
7161 static_assert(noexcept(f()) == false, "");
7162 static_assert(noexcept(g()) == true, "");
7166 namespace test_constexpr
7169 template < typename CharT >
7170 unsigned long constexpr
7171 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7173 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7176 template < typename CharT >
7177 unsigned long constexpr
7178 strlen_c(const CharT *const s) noexcept
7180 return strlen_c_r(s, 0UL);
7183 static_assert(strlen_c("") == 0UL, "");
7184 static_assert(strlen_c("1") == 1UL, "");
7185 static_assert(strlen_c("example") == 7UL, "");
7186 static_assert(strlen_c("another\0example") == 7UL, "");
7190 namespace test_rvalue_references
7196 static constexpr int value = N;
7199 answer<1> f(int&) { return answer<1>(); }
7200 answer<2> f(const int&) { return answer<2>(); }
7201 answer<3> f(int&&) { return answer<3>(); }
7208 static_assert(decltype(f(i))::value == 1, "");
7209 static_assert(decltype(f(c))::value == 2, "");
7210 static_assert(decltype(f(0))::value == 3, "");
7215 namespace test_uniform_initialization
7220 static const int zero {};
7221 static const int one {1};
7224 static_assert(test::zero == 0, "");
7225 static_assert(test::one == 1, "");
7229 namespace test_lambdas
7235 auto lambda1 = [](){};
7236 auto lambda2 = lambda1;
7244 auto a = [](int i, int j){ return i + j; }(1, 2);
7245 auto b = []() -> int { return '0'; }();
7246 auto c = [=](){ return a + b; }();
7247 auto d = [&](){ return c; }();
7248 auto e = [a, &b](int x) mutable {
7249 const auto identity = [](int y){ return y; };
7250 for (auto i = 0; i < a; ++i)
7252 return x + identity(a + b);
7254 return a + b + c + d + e;
7260 const auto nullary = [](){ return 0; };
7261 const auto unary = [](int x){ return x; };
7262 using nullary_t = decltype(nullary);
7263 using unary_t = decltype(unary);
7264 const auto higher1st = [](nullary_t f){ return f(); };
7265 const auto higher2nd = [unary](nullary_t f1){
7266 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7268 return higher1st(nullary) + higher2nd(nullary)(unary);
7273 namespace test_variadic_templates
7279 template <int N0, int... N1toN>
7280 struct sum<N0, N1toN...>
7282 static constexpr auto value = N0 + sum<N1toN...>::value;
7288 static constexpr auto value = 0;
7291 static_assert(sum<>::value == 0, "");
7292 static_assert(sum<1>::value == 1, "");
7293 static_assert(sum<23>::value == 23, "");
7294 static_assert(sum<1, 2>::value == 3, "");
7295 static_assert(sum<5, 5, 11>::value == 21, "");
7296 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7300 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7301 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7303 namespace test_template_alias_sfinae
7308 template<typename T>
7309 using member = typename T::member_type;
7311 template<typename T>
7314 template<typename T>
7315 void func(member<T>*) {}
7319 void test() { func<foo>(0); }
7323 } // namespace cxx11
7325 #endif // __cplusplus >= 201103L
7330 if ac_fn_cxx_try_compile
"$LINENO"; then :
7335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7338 eval ac_res
=\$
$cachevar
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7340 $as_echo "$ac_res" >&6; }
7341 if eval test x\$
$cachevar = xyes
; then
7343 if test -n "$CXXCPP" ; then
7344 CXXCPP
="$CXXCPP $switch"
7352 if test x
$ac_success = xno
; then
7353 for alternative
in ${ax_cxx_compile_alternatives}; do
7354 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7355 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7357 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7358 if eval \${$cachevar+:} false; then :
7359 $as_echo_n "(cached
) " >&6
7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7367 // If the compiler admits that it is not ready for C++11, why torture it?
7368 // Hopefully, this will speed up the test.
7372 #error "This is not a C
++ compiler
"
7374 #elif __cplusplus < 201103L
7376 #error "This is not a C
++11 compiler
"
7383 namespace test_static_assert
7386 template <typename T>
7389 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7394 namespace test_final_override
7403 struct Derived : public Base
7405 virtual ~Derived() override {}
7406 virtual void f() override {}
7411 namespace test_double_right_angle_brackets
7414 template < typename T >
7417 typedef check<void> single_type;
7418 typedef check<check<void>> double_type;
7419 typedef check<check<check<void>>> triple_type;
7420 typedef check<check<check<check<void>>>> quadruple_type;
7424 namespace test_decltype
7437 namespace test_type_deduction
7440 template < typename T1, typename T2 >
7443 static const bool value = false;
7446 template < typename T >
7447 struct is_same<T, T>
7449 static const bool value = true;
7452 template < typename T1, typename T2 >
7454 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7460 test(const int c, volatile int v)
7462 static_assert(is_same<int, decltype(0)>::value == true, "");
7463 static_assert(is_same<int, decltype(c)>::value == false, "");
7464 static_assert(is_same<int, decltype(v)>::value == false, "");
7467 auto sumi = ac + av + 'x';
7468 auto sumf = ac + av + 1.0;
7469 static_assert(is_same<int, decltype(ac)>::value == true, "");
7470 static_assert(is_same<int, decltype(av)>::value == true, "");
7471 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7472 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7473 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7474 return (sumf > 0.0) ? sumi : add(c, v);
7479 namespace test_noexcept
7482 int f() { return 0; }
7483 int g() noexcept { return 0; }
7485 static_assert(noexcept(f()) == false, "");
7486 static_assert(noexcept(g()) == true, "");
7490 namespace test_constexpr
7493 template < typename CharT >
7494 unsigned long constexpr
7495 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7497 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7500 template < typename CharT >
7501 unsigned long constexpr
7502 strlen_c(const CharT *const s) noexcept
7504 return strlen_c_r(s, 0UL);
7507 static_assert(strlen_c("") == 0UL, "");
7508 static_assert(strlen_c("1") == 1UL, "");
7509 static_assert(strlen_c("example
") == 7UL, "");
7510 static_assert(strlen_c("another\
0example
") == 7UL, "");
7514 namespace test_rvalue_references
7520 static constexpr int value = N;
7523 answer<1> f(int&) { return answer<1>(); }
7524 answer<2> f(const int&) { return answer<2>(); }
7525 answer<3> f(int&&) { return answer<3>(); }
7532 static_assert(decltype(f(i))::value == 1, "");
7533 static_assert(decltype(f(c))::value == 2, "");
7534 static_assert(decltype(f(0))::value == 3, "");
7539 namespace test_uniform_initialization
7544 static const int zero {};
7545 static const int one {1};
7548 static_assert(test::zero == 0, "");
7549 static_assert(test::one == 1, "");
7553 namespace test_lambdas
7559 auto lambda1 = [](){};
7560 auto lambda2 = lambda1;
7568 auto a = [](int i, int j){ return i + j; }(1, 2);
7569 auto b = []() -> int { return '0'; }();
7570 auto c = [=](){ return a + b; }();
7571 auto d = [&](){ return c; }();
7572 auto e = [a, &b](int x) mutable {
7573 const auto identity = [](int y){ return y; };
7574 for (auto i = 0; i < a; ++i)
7576 return x + identity(a + b);
7578 return a + b + c + d + e;
7584 const auto nullary = [](){ return 0; };
7585 const auto unary = [](int x){ return x; };
7586 using nullary_t = decltype(nullary);
7587 using unary_t = decltype(unary);
7588 const auto higher1st = [](nullary_t f){ return f(); };
7589 const auto higher2nd = [unary](nullary_t f1){
7590 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7592 return higher1st(nullary) + higher2nd(nullary)(unary);
7597 namespace test_variadic_templates
7603 template <int N0, int... N1toN>
7604 struct sum<N0, N1toN...>
7606 static constexpr auto value = N0 + sum<N1toN...>::value;
7612 static constexpr auto value = 0;
7615 static_assert(sum<>::value == 0, "");
7616 static_assert(sum<1>::value == 1, "");
7617 static_assert(sum<23>::value == 23, "");
7618 static_assert(sum<1, 2>::value == 3, "");
7619 static_assert(sum<5, 5, 11>::value == 21, "");
7620 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7624 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7625 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7627 namespace test_template_alias_sfinae
7632 template<typename T>
7633 using member = typename T::member_type;
7635 template<typename T>
7638 template<typename T>
7639 void func(member<T>*) {}
7643 void test() { func<foo>(0); }
7647 } // namespace cxx11
7649 #endif // __cplusplus >= 201103L
7654 if ac_fn_cxx_try_compile "$LINENO"; then :
7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7662 eval ac_res=\$$cachevar
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7664 $as_echo "$ac_res" >&6; }
7665 if eval test x\$$cachevar = xyes; then
7667 if test -n "$CXXCPP" ; then
7668 CXXCPP="$CXXCPP $switch"
7674 if test x$ac_success = xyes; then
7679 CXX_FOR_BUILD="$CXX"
7680 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7681 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7682 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7683 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7684 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7686 ac_cpp='$CPP $CPPFLAGS'
7687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7691 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7692 if test x$ac_success = xno; then
7693 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7696 if test x$ac_success = xno; then
7697 HAVE_CXX11_FOR_BUILD=0
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7699 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7701 HAVE_CXX11_FOR_BUILD=1
7703 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7711 # Used for setting $lt_cv_objdir
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7713 $as_echo_n "checking for objdir... " >&6; }
7714 if ${lt_cv_objdir+:} false
; then :
7715 $as_echo_n "(cached) " >&6
7717 rm -f .libs
2>/dev
/null
7718 mkdir .libs
2>/dev
/null
7719 if test -d .libs
; then
7722 # MS-DOS does not allow filenames that begin with a dot.
7725 rmdir .libs
2>/dev
/null
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7728 $as_echo "$lt_cv_objdir" >&6; }
7729 objdir
=$lt_cv_objdir
7735 cat >>confdefs.h
<<_ACEOF
7736 #define LT_OBJDIR "$lt_cv_objdir/"
7741 # Check for GMP, MPFR and MPC
7742 gmplibs
="-lmpc -lmpfr -lgmp"
7746 # Specify a location for mpc
7747 # check for this first so it ends up on the link line before mpfr.
7749 # Check whether --with-mpc was given.
7750 if test "${with_mpc+set}" = set; then :
7755 # Check whether --with-mpc-include was given.
7756 if test "${with_mpc_include+set}" = set; then :
7757 withval
=$with_mpc_include;
7761 # Check whether --with-mpc-lib was given.
7762 if test "${with_mpc_lib+set}" = set; then :
7763 withval
=$with_mpc_lib;
7767 if test "x$with_mpc" != x
; then
7768 gmplibs
="-L$with_mpc/lib $gmplibs"
7769 gmpinc
="-I$with_mpc/include $gmpinc"
7771 if test "x$with_mpc_include" != x
; then
7772 gmpinc
="-I$with_mpc_include $gmpinc"
7774 if test "x$with_mpc_lib" != x
; then
7775 gmplibs
="-L$with_mpc_lib $gmplibs"
7777 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
7778 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
7779 gmpinc
='-I$$s/mpc/src '"$gmpinc"
7780 # Do not test the mpc version. Assume that it is sufficient, since
7781 # it is in the source tree, and the library has not been built yet
7782 # but it would be included on the link line in the version check below
7783 # hence making the test fail.
7787 # Specify a location for mpfr
7788 # check for this first so it ends up on the link line before gmp.
7790 # Check whether --with-mpfr-dir was given.
7791 if test "${with_mpfr_dir+set}" = set; then :
7792 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
7793 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
7798 # Check whether --with-mpfr was given.
7799 if test "${with_mpfr+set}" = set; then :
7804 # Check whether --with-mpfr-include was given.
7805 if test "${with_mpfr_include+set}" = set; then :
7806 withval
=$with_mpfr_include;
7810 # Check whether --with-mpfr-lib was given.
7811 if test "${with_mpfr_lib+set}" = set; then :
7812 withval
=$with_mpfr_lib;
7816 if test "x$with_mpfr" != x
; then
7817 gmplibs
="-L$with_mpfr/lib $gmplibs"
7818 gmpinc
="-I$with_mpfr/include $gmpinc"
7820 if test "x$with_mpfr_include" != x
; then
7821 gmpinc
="-I$with_mpfr_include $gmpinc"
7823 if test "x$with_mpfr_lib" != x
; then
7824 gmplibs
="-L$with_mpfr_lib $gmplibs"
7826 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
7827 # MPFR v3.1.0 moved the sources into a src sub-directory.
7828 if ! test -d ${srcdir}/mpfr
/src
; then
7829 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
7831 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
7832 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
7833 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
7834 # Do not test the mpfr version. Assume that it is sufficient, since
7835 # it is in the source tree, and the library has not been built yet
7836 # but it would be included on the link line in the version check below
7837 # hence making the test fail.
7841 # Specify a location for gmp
7843 # Check whether --with-gmp-dir was given.
7844 if test "${with_gmp_dir+set}" = set; then :
7845 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
7846 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
7851 # Check whether --with-gmp was given.
7852 if test "${with_gmp+set}" = set; then :
7857 # Check whether --with-gmp-include was given.
7858 if test "${with_gmp_include+set}" = set; then :
7859 withval
=$with_gmp_include;
7863 # Check whether --with-gmp-lib was given.
7864 if test "${with_gmp_lib+set}" = set; then :
7865 withval
=$with_gmp_lib;
7870 if test "x$with_gmp" != x
; then
7871 gmplibs
="-L$with_gmp/lib $gmplibs"
7872 gmpinc
="-I$with_gmp/include $gmpinc"
7874 if test "x$with_gmp_include" != x
; then
7875 gmpinc
="-I$with_gmp_include $gmpinc"
7877 if test "x$with_gmp_lib" != x
; then
7878 gmplibs
="-L$with_gmp_lib $gmplibs"
7880 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
7881 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
7882 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
7883 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
7884 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
7885 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
7886 # Do not test the gmp version. Assume that it is sufficient, since
7887 # it is in the source tree, and the library has not been built yet
7888 # but it would be included on the link line in the version check below
7889 # hence making the test fail.
7893 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
7895 saved_CFLAGS
="$CFLAGS"
7896 CFLAGS
="$CFLAGS $gmpinc"
7897 # Check for the recommended and required versions of GMP.
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
7899 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
7901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7908 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
7909 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
7910 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
7918 if ac_fn_c_try_compile
"$LINENO"; then :
7919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7920 /* end confdefs.h. */
7926 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
7927 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
7928 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
7936 if ac_fn_c_try_compile
"$LINENO"; then :
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7938 $as_echo "yes" >&6; }
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7941 $as_echo "buggy but acceptable" >&6; }
7943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }; have_gmp
=no
7948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7950 # If we have GMP, check the MPFR version.
7951 if test x
"$have_gmp" = xyes
; then
7952 # Check for the recommended and required versions of MPFR.
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
7954 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
7955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7963 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
7971 if ac_fn_c_try_compile
"$LINENO"; then :
7972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7973 /* end confdefs.h. */
7980 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
7988 if ac_fn_c_try_compile
"$LINENO"; then :
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7990 $as_echo "yes" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7993 $as_echo "buggy but acceptable" >&6; }
7995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }; have_gmp
=no
8000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8003 # Check for the MPC header version.
8004 if test x
"$have_gmp" = xyes
; then
8005 # Check for the recommended and required versions of MPC.
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
8007 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
8008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8009 /* end confdefs.h. */
8015 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
8023 if ac_fn_c_try_compile
"$LINENO"; then :
8024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8025 /* end confdefs.h. */
8031 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
8039 if ac_fn_c_try_compile
"$LINENO"; then :
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8041 $as_echo "yes" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8044 $as_echo "buggy but acceptable" >&6; }
8046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }; have_gmp
=no
8051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8054 # Now check the MPFR library.
8055 if test x
"$have_gmp" = xyes
; then
8057 LIBS
="$LIBS $gmplibs"
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
8059 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
8060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8073 mpfr_atan2 (n, n, x, MPFR_RNDN);
8074 mpfr_erfc (n, x, MPFR_RNDN);
8075 mpfr_subnormalize (x, t, MPFR_RNDN);
8079 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
8080 mpc_cosh (c, c, MPC_RNDNN);
8081 mpc_pow (c, c, c, MPC_RNDNN);
8082 mpc_acosh (c, c, MPC_RNDNN);
8089 if ac_fn_c_try_link
"$LINENO"; then :
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8091 $as_echo "yes" >&6; }
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }; have_gmp
=no
8096 rm -f core conftest.err conftest.
$ac_objext \
8097 conftest
$ac_exeext conftest.
$ac_ext
8101 CFLAGS
="$saved_CFLAGS"
8103 # The library versions listed in the error message below should match
8104 # the HARD-minimums enforced above.
8105 if test x
$have_gmp != xyes
; then
8106 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
8107 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
8108 their locations. Source code for these libraries can be found at
8109 their respective hosting sites as well as at
8110 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
8111 http://gcc.gnu.org/install/prerequisites.html for additional info. If
8112 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
8113 make sure that you have installed both the libraries and the header
8114 files. They may be located in separate packages." "$LINENO" 5
8118 # Flags needed for both GMP, MPFR and/or MPC.
8126 # Libraries to use for stage1 or when not bootstrapping.
8128 # Check whether --with-stage1-libs was given.
8129 if test "${with_stage1_libs+set}" = set; then :
8130 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8133 stage1_libs
=$withval
8141 # Whether or not to use -static-libstdc++ and -static-libgcc. The
8142 # default is yes if gcc is being built; no otherwise. The reason for
8143 # this default is that gdb is sometimes linked against GNU Source
8144 # Highlight, which is a shared library that uses C++ exceptions. In
8145 # this case, -static-libstdc++ will cause crashes.
8147 # Check whether --with-static-standard-libraries was given.
8148 if test "${with_static_standard_libraries+set}" = set; then :
8149 withval
=$with_static_standard_libraries;
8151 with_static_standard_libraries
=auto
8154 if test "$with_static_standard_libraries" = auto
; then
8155 with_static_standard_libraries
=$have_compiler
8158 # Linker flags to use for stage1 or when not bootstrapping.
8160 # Check whether --with-stage1-ldflags was given.
8161 if test "${with_stage1_ldflags+set}" = set; then :
8162 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8165 stage1_ldflags
=$withval
8169 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8170 # if supported. But if the user explicitly specified the libraries to use,
8171 # trust that they are doing what they want.
8172 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8173 -a "$have_static_libs" = yes; then
8174 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8180 # Libraries to use for stage2 and later builds.
8182 # Check whether --with-boot-libs was given.
8183 if test "${with_boot_libs+set}" = set; then :
8184 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8187 poststage1_libs
=$withval
8195 # Linker flags to use for stage2 and later builds.
8197 # Check whether --with-boot-ldflags was given.
8198 if test "${with_boot_ldflags+set}" = set; then :
8199 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8202 poststage1_ldflags
=$withval
8206 # In stages 2 and 3, default to linking libstdc++ and libgcc
8207 # statically. But if the user explicitly specified the libraries to
8208 # use, trust that they are doing what they want.
8209 if test "$poststage1_libs" = ""; then
8210 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8216 # GCC GRAPHITE dependency isl.
8217 # Basic setup is inlined here, actual checks are in config/isl.m4
8220 # Check whether --with-isl was given.
8221 if test "${with_isl+set}" = set; then :
8226 # Treat --without-isl as a request to disable
8227 # GRAPHITE support and skip all following checks.
8228 if test "x$with_isl" != "xno"; then
8232 # Check whether --with-isl-include was given.
8233 if test "${with_isl_include+set}" = set; then :
8234 withval
=$with_isl_include;
8238 # Check whether --with-isl-lib was given.
8239 if test "${with_isl_lib+set}" = set; then :
8240 withval
=$with_isl_lib;
8244 # Check whether --enable-isl-version-check was given.
8245 if test "${enable_isl_version_check+set}" = set; then :
8246 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8248 ENABLE_ISL_CHECK
=yes
8252 # Initialize isllibs and islinc.
8261 isllibs
="-L$with_isl/lib"
8262 islinc
="-I$with_isl/include"
8265 if test "x${with_isl_include}" != x
; then
8266 islinc
="-I$with_isl_include"
8268 if test "x${with_isl_lib}" != x
; then
8269 isllibs
="-L$with_isl_lib"
8271 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8272 && test -d ${srcdir}/isl
; then
8273 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8274 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8277 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8280 isllibs
="${isllibs} -lisl"
8284 if test "${ENABLE_ISL_CHECK}" = yes ; then
8285 _isl_saved_CFLAGS
=$CFLAGS
8286 _isl_saved_LDFLAGS
=$LDFLAGS
8287 _isl_saved_LIBS
=$LIBS
8289 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8290 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8291 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8294 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 #include <isl/schedule.h>
8301 isl_options_set_schedule_serialize_sccs (NULL, 0);
8306 if ac_fn_c_try_link
"$LINENO"; then :
8311 rm -f core conftest.err conftest.
$ac_objext \
8312 conftest
$ac_exeext conftest.
$ac_ext
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8314 $as_echo "$gcc_cv_isl" >&6; }
8316 if test "${gcc_cv_isl}" = no
; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8318 $as_echo "required isl version is 0.15 or later" >&6; }
8321 CFLAGS
=$_isl_saved_CFLAGS
8322 LDFLAGS
=$_isl_saved_LDFLAGS
8323 LIBS
=$_isl_saved_LIBS
8331 if test "x${with_isl}" = xno
; then
8332 graphite_requested
=no
8333 elif test "x${with_isl}" != x \
8334 ||
test "x${with_isl_include}" != x \
8335 ||
test "x${with_isl_lib}" != x
; then
8336 graphite_requested
=yes
8338 graphite_requested
=no
8343 if test "${gcc_cv_isl}" = no
; then
8348 if test "${graphite_requested}" = yes \
8349 && test "x${isllibs}" = x \
8350 && test "x${islinc}" = x
; then
8352 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8358 # If the isl check failed, disable builds of in-tree variant of isl
8359 if test "x$with_isl" = xno ||
8360 test "x$gcc_cv_isl" = xno
; then
8361 noconfigdirs
="$noconfigdirs isl"
8368 # Check for LTO support.
8369 # Check whether --enable-lto was given.
8370 if test "${enable_lto+set}" = set; then :
8371 enableval
=$enable_lto; enable_lto
=$enableval
8373 enable_lto
=yes; default_enable_lto
=yes
8382 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8383 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8384 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8393 if test $target_elf = yes; then :
8394 # ELF platforms build the lto-plugin always.
8395 build_lto_plugin
=yes
8398 if test x
"$default_enable_lto" = x
"yes" ; then
8400 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8401 # On other non-ELF platforms, LTO has yet to be validated.
8405 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8406 # It would also be nice to check the binutils support, but we don't
8407 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8408 # warn during gcc/ subconfigure; unless you're bootstrapping with
8409 # -flto it won't be needed until after installation anyway.
8411 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8412 *) if test x
"$enable_lto" = x
"yes"; then
8413 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8418 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8419 # Build it unless LTO was explicitly disabled.
8421 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8428 # Check whether --enable-linker-plugin-configure-flags was given.
8429 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8430 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8432 extra_linker_plugin_configure_flags
=
8436 # Check whether --enable-linker-plugin-flags was given.
8437 if test "${enable_linker_plugin_flags+set}" = set; then :
8438 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8440 extra_linker_plugin_flags
=
8445 # Enable --enable-host-shared.
8446 # Checked early to determine whether jit is an 'all' language
8447 # Check whether --enable-host-shared was given.
8448 if test "${enable_host_shared+set}" = set; then :
8449 enableval
=$enable_host_shared; host_shared
=$enableval
8456 # By default, C and C++ are the only stage 1 languages.
8457 stage1_languages
=,c
,
8459 # Target libraries that we bootstrap.
8460 bootstrap_target_libs
=,target-libgcc
,
8462 # Figure out what language subdirectories are present.
8463 # Look if the user specified --enable-languages="..."; if not, use
8464 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8466 # NB: embedded tabs in this IF block -- do not untabify
8467 if test -d ${srcdir}/gcc
; then
8468 if test x
"${enable_languages+set}" != xset
; then
8469 if test x
"${LANGUAGES+set}" = xset
; then
8470 enable_languages
="${LANGUAGES}"
8471 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8473 enable_languages
=default
8476 if test x
"${enable_languages}" = x ||
8477 test x
"${enable_languages}" = xyes
;
8479 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8483 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8485 # 'f95' is the old name for the 'fortran' language. We issue a warning
8486 # and make the substitution.
8487 case ,${enable_languages}, in
8489 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8490 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8494 # If bootstrapping, C++ must be enabled.
8495 case ",$enable_languages,:$enable_bootstrap" in
8498 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8499 enable_languages
="${enable_languages},c++"
8501 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8506 # First scan to see if an enabled language requires some other language.
8507 # We assume that a given config-lang.in will list all the language
8508 # front ends it requires, even if some are required indirectly.
8509 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8510 case ${lang_frag} in
8512 # The odd quoting in the next line works around
8513 # an apparent bug in bash 1.12 on linux.
8514 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8516 # From the config-lang.in, get $language, $lang_requires, and
8517 # $lang_requires_boot_languages.
8520 lang_requires_boot_languages
=
8521 # set srcdir during sourcing lang_frag to the gcc dir.
8522 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8523 # polutes this shell
8524 saved_srcdir
=${srcdir}
8525 srcdir
=${srcdir}/gcc .
${lang_frag}
8526 srcdir
=${saved_srcdir}
8527 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8528 case ,${enable_languages}, in
8533 echo " \`$other' language required by \`$language'; enabling" 1>&2
8534 enable_languages
="${enable_languages},${other}"
8538 for other
in ${lang_requires_boot_languages} ; do
8539 if test "$other" != "c"; then
8540 case ,${enable_stage1_languages}, in
8545 case ,${enable_languages}, in
8547 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8548 enable_stage1_languages
="$enable_stage1_languages,${other}"
8559 new_enable_languages
=,c
,
8561 # If LTO is enabled, add the LTO front end.
8562 if test "$enable_lto" = "yes" ; then
8563 case ,${enable_languages}, in
8565 *) enable_languages
="${enable_languages},lto" ;;
8567 if test "${build_lto_plugin}" = "yes" ; then
8568 configdirs
="$configdirs lto-plugin"
8572 # If we're building an offloading compiler, add the LTO front end.
8573 if test x
"$enable_as_accelerator_for" != x
; then
8574 case ,${enable_languages}, in
8576 *) enable_languages
="${enable_languages},lto" ;;
8580 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8581 potential_languages
=,c
,
8583 enabled_target_libs
=
8584 disabled_target_libs
=
8586 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8587 case ${lang_frag} in
8589 # The odd quoting in the next line works around
8590 # an apparent bug in bash 1.12 on linux.
8591 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8593 # From the config-lang.in, get $language, $target_libs,
8594 # $lang_dirs, $boot_language, and $build_by_default
8600 build_by_default
=yes
8601 # set srcdir during sourcing. See above about save & restore
8602 saved_srcdir
=${srcdir}
8603 srcdir
=${srcdir}/gcc .
${lang_frag}
8604 srcdir
=${saved_srcdir}
8605 if test x
${language} = x
; then
8606 echo "${lang_frag} doesn't set \$language." 1>&2
8610 if test "$language" = "c++"; then
8615 # C is always enabled, so no need to add it again
8616 if test "$language" != "c"; then
8617 case ,${enable_languages}, in
8619 # Language was explicitly selected; include it
8623 # All languages are enabled
8627 # 'default' was selected, select it if it is a default language
8628 add_this_lang
=${build_by_default}
8633 # Disable languages that need other directories if these aren't available.
8634 for i
in $subdir_requires; do
8635 test -f "$srcdir/gcc/$i/config-lang.in" && continue
8636 case ${add_this_lang} in
8638 # Specifically requested language; tell them.
8639 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
8643 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
8644 add_this_lang
=unsupported
8648 add_this_lang
=unsupported
8653 # Disable Ada if no preexisting GNAT is available.
8654 case ${add_this_lang}:${language}:${have_gnat} in
8656 # Specifically requested language; tell them.
8657 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
8661 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
8662 add_this_lang
=unsupported
8666 add_this_lang
=unsupported
8670 # Disable jit if -enable-host-shared not specified
8671 # but not if building for Mingw. All code in Windows
8672 # is position independent code (PIC).
8676 case ${add_this_lang}:${language}:${host_shared} in
8678 # PR jit/64780: explicitly specify --enable-host-shared
8680 Enabling language \"jit\" requires --enable-host-shared.
8682 --enable-host-shared typically slows the rest of the compiler down by
8683 a few %, so you must explicitly enable it.
8685 If you want to build both the jit and the regular compiler, it is often
8686 best to do this via two separate configure/builds, in separate
8687 directories, to avoid imposing the performance cost of
8688 --enable-host-shared on the regular compiler." "$LINENO" 5
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
8692 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
8693 add_this_lang
=unsupported
8697 add_this_lang
=unsupported
8703 # Disable a language that is unsupported by the target.
8704 case "${add_this_lang}: $unsupported_languages " in
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
8709 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
8710 add_this_lang
=unsupported
8714 case $add_this_lang in
8716 # Remove language-dependent dirs.
8717 disabled_target_libs
="$disabled_target_libs $target_libs"
8718 noconfigdirs
="$noconfigdirs $lang_dirs"
8721 # Remove language-dependent dirs; still show language as supported.
8722 disabled_target_libs
="$disabled_target_libs $target_libs"
8723 noconfigdirs
="$noconfigdirs $lang_dirs"
8724 potential_languages
="${potential_languages}${language},"
8727 new_enable_languages
="${new_enable_languages}${language},"
8728 potential_languages
="${potential_languages}${language},"
8729 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
8730 enabled_target_libs
="$enabled_target_libs $target_libs"
8731 case "${boot_language}:,$enable_stage1_languages," in
8732 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
8733 # Add to (comma-separated) list of stage 1 languages.
8734 case ",$stage1_languages," in
8735 *,$language,* |
,yes, |
,all
,) ;;
8736 *) stage1_languages
="${stage1_languages}${language}," ;;
8738 # We need to bootstrap any supporting libraries.
8739 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
8748 # Add target libraries which are only needed for disabled languages
8750 if test -n "$disabled_target_libs"; then
8751 for dir
in $disabled_target_libs; do
8752 case " $enabled_target_libs " in
8754 *) noconfigdirs
="$noconfigdirs $dir" ;;
8759 # Check whether --enable-stage1-languages was given.
8760 if test "${enable_stage1_languages+set}" = set; then :
8761 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
8763 # Set it to something that will have no effect in the loop below
8764 enable_stage1_languages
=c
;;
8766 enable_stage1_languages
=`echo $new_enable_languages | \
8767 sed -e "s/^,//" -e "s/,$//" ` ;;
8769 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
8770 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
8773 # Add "good" languages from enable_stage1_languages to stage1_languages,
8774 # while "bad" languages go in missing_languages. Leave no duplicates.
8775 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
8776 case $potential_languages in
8778 case $stage1_languages in
8780 *) stage1_languages
="$stage1_languages$i," ;;
8783 case $missing_languages in
8785 *) missing_languages
="$missing_languages$i," ;;
8792 # Remove leading/trailing commas that were added for simplicity
8793 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
8794 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
8795 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
8796 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
8798 if test "x$missing_languages" != x
; then
8800 The following requested languages could not be built: ${missing_languages}
8801 Supported languages are: ${potential_languages}" "$LINENO" 5
8803 if test "x$new_enable_languages" != "x$enable_languages"; then
8804 echo The following languages will be built
: ${new_enable_languages}
8805 enable_languages
="$new_enable_languages"
8809 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
8812 # Handle --disable-<component> generically.
8813 for dir
in $configdirs $build_configdirs $target_configdirs ; do
8814 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
8815 varname
=`echo $dirname | sed -e s/+/_/g`
8816 if eval test x\
${enable_${varname}} "=" xno
; then
8817 noconfigdirs
="$noconfigdirs $dir"
8821 # Check for Boehm's garbage collector
8822 # Check whether --enable-objc-gc was given.
8823 if test "${enable_objc_gc+set}" = set; then :
8824 enableval
=$enable_objc_gc;
8828 # Check whether --with-target-bdw-gc was given.
8829 if test "${with_target_bdw_gc+set}" = set; then :
8830 withval
=$with_target_bdw_gc;
8834 # Check whether --with-target-bdw-gc-include was given.
8835 if test "${with_target_bdw_gc_include+set}" = set; then :
8836 withval
=$with_target_bdw_gc_include;
8840 # Check whether --with-target-bdw-gc-lib was given.
8841 if test "${with_target_bdw_gc_lib+set}" = set; then :
8842 withval
=$with_target_bdw_gc_lib;
8846 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
8848 $as_echo_n "checking for bdw garbage collector... " >&6; }
8849 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
8851 $as_echo "using bdw-gc in default locations" >&6; }
8853 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
8854 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
8855 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
8856 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
8859 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
8864 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
8865 case ,${enable_languages}, in
8867 # Disable libitm, libsanitizer if we're not building libstdc++
8868 case "${noconfigdirs}" in
8869 *target-libstdc
++-v3*)
8870 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
8876 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
8880 # If gcc/ is not in the source tree then we'll not be building a
8881 # target compiler, assume in that case we don't want to build any
8882 # target libraries or tools.
8884 # This was added primarily for the benefit for binutils-gdb who reuse
8885 # this configure script, but don't always have target tools available.
8886 if test ! -d ${srcdir}/gcc
; then
8887 skipdirs
="${skipdirs} ${target_configdirs}"
8890 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
8891 # $build_configdirs and $target_configdirs.
8892 # If we have the source for $noconfigdirs entries, add them to $notsupp.
8895 for dir
in .
$skipdirs $noconfigdirs ; do
8896 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
8897 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8898 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
8899 if test -r $srcdir/$dirname/configure
; then
8900 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8903 notsupp
="$notsupp $dir"
8907 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8908 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
8909 if test -r $srcdir/$dirname/configure
; then
8910 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8913 notsupp
="$notsupp $dir"
8917 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8918 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
8919 if test -r $srcdir/$dirname/configure
; then
8920 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8923 notsupp
="$notsupp $dir"
8929 # Quietly strip out all directories which aren't configurable in this tree.
8930 # This relies on all configurable subdirectories being autoconfiscated, which
8932 build_configdirs_all
="$build_configdirs"
8934 for i
in ${build_configdirs_all} ; do
8935 j
=`echo $i | sed -e s/build-//g`
8936 if test -f ${srcdir}/$j/configure
; then
8937 build_configdirs
="${build_configdirs} $i"
8941 configdirs_all
="$configdirs"
8943 for i
in ${configdirs_all} ; do
8944 if test -f ${srcdir}/$i/configure
; then
8945 configdirs
="${configdirs} $i"
8949 target_configdirs_all
="$target_configdirs"
8951 for i
in ${target_configdirs_all} ; do
8952 j
=`echo $i | sed -e s/target-//g`
8953 if test -f ${srcdir}/$j/configure
; then
8954 target_configdirs
="${target_configdirs} $i"
8958 # libiberty-linker-plugin is special: it doesn't have its own source directory,
8959 # so we have to add it after the preceding checks.
8960 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
8962 case " $configdirs " in
8964 # If we can build libiberty, we can also build libiberty-linker-plugin.
8965 configdirs
="$configdirs libiberty-linker-plugin"
8966 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
8967 --with-libiberty=../libiberty-linker-plugin";;
8969 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
8973 # Sometimes we have special requirements for the host libiberty.
8974 extra_host_libiberty_configure_flags
=
8975 extra_host_zlib_configure_flags
=
8976 case " $configdirs " in
8977 *" lto-plugin "* |
*" libcc1 "*)
8978 # When these are to be built as shared libraries, the same applies to
8980 extra_host_libiberty_configure_flags
=--enable-shared
8983 # When bfd is to be built as a shared library, the same applies to
8985 if test "$enable_shared" = "yes"; then
8986 extra_host_zlib_configure_flags
=--enable-host-shared
8993 # Produce a warning message for the subdirs we can't configure.
8994 # This isn't especially interesting in the Cygnus tree, but in the individual
8995 # FSF releases, it's important to let people know when their machine isn't
8996 # supported by the one or two programs in a package.
8998 if test -n "${notsupp}" && test -z "${norecursion}" ; then
8999 # If $appdirs is non-empty, at least one of those directories must still
9000 # be configured, or we error out. (E.g., if the gas release supports a
9001 # specified target in some subdirs but not the gas subdir, we shouldn't
9002 # pretend that all is well.)
9003 if test -n "$appdirs" ; then
9004 for dir
in $appdirs ; do
9005 if test -r $dir/Makefile.
in ; then
9006 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9010 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
9016 if test -n "$appdirs" ; then
9017 echo "*** This configuration is not supported by this package." 1>&2
9021 # Okay, some application will build, or we don't care to check. Still
9022 # notify of subdirs not getting built.
9023 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
9024 echo " ${notsupp}" 1>&2
9025 echo " (Any other directories should still work fine.)" 1>&2
9033 # To find our prefix, in gcc_cv_tool_prefix.
9035 # The user is always right.
9036 if test "${PATH_SEPARATOR+set}" != set; then
9037 echo "#! /bin/sh" >conf$$.sh
9038 echo "exit 0" >>conf$$.sh
9040 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9049 get_gcc_base_ver
="cat"
9051 # Check whether --with-gcc-major-version-only was given.
9052 if test "${with_gcc_major_version_only+set}" = set; then :
9053 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
9054 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
9064 if test "x$exec_prefix" = xNONE
; then
9065 if test "x$prefix" = xNONE
; then
9066 gcc_cv_tool_prefix
=$ac_default_prefix
9068 gcc_cv_tool_prefix
=$prefix
9071 gcc_cv_tool_prefix
=$exec_prefix
9074 # If there is no compiler in the tree, use the PATH only. In any
9075 # case, if there is no compiler in the tree nobody should use
9076 # AS_FOR_TARGET and LD_FOR_TARGET.
9077 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
9078 if test x
$with_gcc_major_version_only = xyes
; then
9079 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
9081 gcc_version
=`cat $srcdir/gcc/BASE-VER`
9083 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9084 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
9085 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9086 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
9087 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9088 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
9093 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
9094 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
9102 # Check whether --with-build-sysroot was given.
9103 if test "${with_build_sysroot+set}" = set; then :
9104 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
9105 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
9108 SYSROOT_CFLAGS_FOR_TARGET
=
9114 # Check whether --with-debug-prefix-map was given.
9115 if test "${with_debug_prefix_map+set}" = set; then :
9116 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
9117 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9118 for debug_map
in $withval; do
9119 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
9123 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9128 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
9129 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
9130 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
9131 # We want to ensure that TARGET libraries (which we know are built with
9132 # gcc) are built with "-O2 -g", so include those options when setting
9133 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
9134 if test "x$CFLAGS_FOR_TARGET" = x
; then
9135 if test "x${is_cross_compiler}" = xyes
; then
9136 CFLAGS_FOR_TARGET
="-g -O2"
9138 CFLAGS_FOR_TARGET
=$CFLAGS
9141 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
9144 *" -g "* |
*" -g3 "*) ;;
9145 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
9151 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
9152 if test "x${is_cross_compiler}" = xyes
; then
9153 CXXFLAGS_FOR_TARGET
="-g -O2"
9155 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
9156 case " $CXXFLAGS " in
9158 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
9160 case " $CXXFLAGS " in
9161 *" -g "* |
*" -g3 "*) ;;
9162 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
9170 # Handle --with-headers=XXX. If the value is not "yes", the contents of
9171 # the named directory are copied to $(tooldir)/sys-include.
9172 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
9173 if test x
${is_cross_compiler} = xno
; then
9174 echo 1>&2 '***' --with-headers is only supported when cross compiling
9177 if test x
"${with_headers}" != xyes
; then
9178 x
=${gcc_cv_tool_prefix}
9179 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9183 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9184 # the name directories are copied to $(tooldir)/lib. Multiple directories
9186 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9187 if test x
${is_cross_compiler} = xno
; then
9188 echo 1>&2 '***' --with-libs is only supported when cross compiling
9191 if test x
"${with_libs}" != xyes
; then
9192 # Copy the libraries in reverse order, so that files in the first named
9193 # library override files in subsequent libraries.
9194 x
=${gcc_cv_tool_prefix}
9195 for l
in ${with_libs}; do
9196 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9201 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9203 # This is done by determining whether or not the appropriate directory
9204 # is available, and by checking whether or not specific configurations
9205 # have requested that this magic not happen.
9207 # The command line options always override the explicit settings in
9208 # configure.ac, and the settings in configure.ac override this magic.
9210 # If the default for a toolchain is to use GNU as and ld, and you don't
9211 # want to do that, then you should use the --without-gnu-as and
9212 # --without-gnu-ld options for the configure script. Similarly, if
9213 # the default is to use the included zlib and you don't want to do that,
9214 # you should use the --with-system-zlib option for the configure script.
9216 if test x
${use_gnu_as} = x
&&
9217 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9219 extra_host_args
="$extra_host_args --with-gnu-as"
9222 if test x
${use_gnu_ld} = x
&&
9223 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9225 extra_host_args
="$extra_host_args --with-gnu-ld"
9228 if test x
${use_included_zlib} = x
&&
9229 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9232 with_system_zlib
=yes
9233 extra_host_args
="$extra_host_args --with-system-zlib"
9236 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9237 # can detect this case.
9239 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9241 extra_host_args
="$extra_host_args --with-newlib"
9244 # Handle ${copy_dirs}
9245 set fnord
${copy_dirs}
9247 while test $# != 0 ; do
9248 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9251 echo Copying
$1 to
$2
9253 # Use the install script to create the directory and all required
9254 # parent directories.
9255 if test -d $2 ; then
9259 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9262 # Copy the directory, assuming we have tar.
9263 # FIXME: Should we use B in the second tar? Not all systems support it.
9264 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9266 # It is the responsibility of the user to correctly adjust all
9267 # symlinks. If somebody can figure out how to handle them correctly
9268 # here, feel free to add the code.
9275 # Determine a target-dependent exec_prefix that the installed
9276 # gcc will search in. Keep this list sorted by triplet, with
9277 # the *-*-osname triplets last.
9280 i
[34567]86-pc-msdosdjgpp*)
9281 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9286 md_exec_prefix
=/usr
/ccs
/bin
9290 extra_arflags_for_target
=
9291 extra_nmflags_for_target
=
9292 extra_ranlibflags_for_target
=
9293 target_makefile_frag
=/dev
/null
9296 target_makefile_frag
="config/mt-spu"
9298 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9299 target_makefile_frag
="config/mt-sde"
9301 mipsisa
*-*-elfoabi*)
9302 target_makefile_frag
="config/mt-mips-elfoabi"
9304 mips
*-*-*linux
* | mips
*-*-gnu*)
9305 target_makefile_frag
="config/mt-mips-gnu"
9308 target_makefile_frag
="config/mt-nios2-elf"
9311 target_makefile_frag
="config/mt-android"
9313 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9314 target_makefile_frag
="config/mt-gnu"
9316 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9317 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9318 # commands to handle both 32-bit and 64-bit objects. These flags are
9319 # harmless if we're using GNU nm or ar.
9320 extra_arflags_for_target
=" -X32_64"
9321 extra_nmflags_for_target
=" -B -X32_64"
9325 alphaieee_frag
=/dev
/null
9328 # This just makes sure to use the -mieee option to build target libs.
9329 # This should probably be set individually by each library.
9330 alphaieee_frag
="config/mt-alphaieee"
9334 # If --enable-target-optspace always use -Os instead of -O2 to build
9335 # the target libraries, similarly if it is not specified, use -Os
9336 # on selected platforms.
9337 ospace_frag
=/dev
/null
9338 case "${enable_target_optspace}:${target}" in
9340 ospace_frag
="config/mt-ospace"
9343 ospace_frag
="config/mt-d30v"
9345 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9346 ospace_frag
="config/mt-ospace"
9351 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9355 # Some systems (e.g., one of the i386-aix systems the gas testers are
9356 # using) don't handle "\$" correctly, so don't use it here.
9357 tooldir
='${exec_prefix}'/${target_noncanonical}
9358 build_tooldir
=${tooldir}
9360 # Create a .gdbinit file which runs the one in srcdir
9361 # and tells GDB to look there for source files.
9363 if test -r ${srcdir}/.gdbinit
; then
9366 *) cat > .
/.gdbinit
<<EOF
9370 source ${srcdir}/.gdbinit
9376 # Make sure that the compiler is able to generate an executable. If it
9377 # can't, we are probably in trouble. We don't care whether we can run the
9378 # executable--we might be using a cross compiler--we only care whether it
9379 # can be created. At this point the main configure script has set CC.
9381 echo "int main () { return 0; }" > conftest.c
9382 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9383 if test $?
= 0 ; then
9384 if test -s conftest ||
test -s conftest.exe
; then
9390 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9391 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9398 # Decide which environment variable is used to find dynamic libraries.
9400 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9401 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9402 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9403 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9406 # On systems where the dynamic library environment variable is PATH,
9407 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9408 # built executables to PATH.
9409 if test "$RPATH_ENVVAR" = PATH
; then
9410 GCC_SHLIB_SUBDIR
=/shlib
9415 # Adjust the toplevel makefile according to whether bootstrap was selected.
9416 case $enable_bootstrap in
9418 bootstrap_suffix
=bootstrap
9419 BUILD_CONFIG
=bootstrap-debug
9422 bootstrap_suffix
=no-bootstrap
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9428 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9431 # Check whether --with-build-config was given.
9432 if test "${with_build_config+set}" = set; then :
9433 withval
=$with_build_config; case $with_build_config in
9434 yes) with_build_config
= ;;
9435 no
) with_build_config
= BUILD_CONFIG
= ;;
9440 if test "x${with_build_config}" != x
; then
9441 BUILD_CONFIG
=$with_build_config
9443 case $BUILD_CONFIG in
9445 if echo "int f (void) { return 0; }" > conftest.c
&&
9446 ${CC} -c conftest.c
&&
9447 mv conftest.o conftest.o.g0
&&
9448 ${CC} -c -g conftest.c
&&
9449 mv conftest.o conftest.o.g
&&
9450 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9455 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9460 $as_echo "$BUILD_CONFIG" >&6; }
9463 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9465 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9466 # Check whether --enable-vtable-verify was given.
9467 if test "${enable_vtable_verify+set}" = set; then :
9468 enableval
=$enable_vtable_verify; case "$enableval" in
9469 yes) enable_vtable_verify
=yes ;;
9470 no
) enable_vtable_verify
=no
;;
9471 *) enable_vtable_verify
=no
;;
9474 enable_vtable_verify
=no
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9478 $as_echo "$enable_vtable_verify" >&6; }
9480 # Record target_configdirs and the configure arguments for target and
9481 # build configuration in Makefile.
9482 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9483 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9484 bootstrap_fixincludes
=no
9486 # If we are building libgomp, bootstrap it.
9487 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9488 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9491 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9492 # or bootstrap-ubsan, bootstrap it.
9493 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9494 case "$BUILD_CONFIG" in
9495 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9496 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9497 bootstrap_fixincludes
=yes
9502 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9503 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9504 test "$enable_vtable_verify" != no
; then
9505 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9508 # Determine whether gdb needs tk/tcl or not.
9509 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9510 # and in that case we want gdb to be built without tk. Ugh!
9511 # In fact I believe gdb is the *only* package directly dependent on tk,
9512 # so we should be able to put the 'maybe's in unconditionally and
9513 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9514 # 100% sure that that's safe though.
9516 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9517 case "$enable_gdbtk" in
9521 GDB_TK
="${gdb_tk}" ;;
9523 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9524 # distro. Eventually someone will fix this and move Insight, nee
9525 # gdbtk to a separate directory.
9526 if test -d ${srcdir}/gdb
/gdbtk
; then
9533 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9534 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9536 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9537 # else does, only include them if one of these is built. The Makefile
9538 # provides the ordering, so it's enough here to add to the list.
9539 case " ${configdirs} " in
9541 configdirs
="${configdirs} gnulib gdbsupport"
9544 configdirs
="${configdirs} gnulib gdbsupport"
9547 configdirs
="${configdirs} gnulib"
9551 # Strip out unwanted targets.
9553 # While at that, we remove Makefiles if we were started for recursive
9554 # configuration, so that the top-level Makefile reconfigures them,
9555 # like we used to do when configure itself was recursive.
9557 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
9558 # but now we're fixing up the Makefile ourselves with the additional
9559 # commands passed to AC_CONFIG_FILES. Use separate variables
9560 # extrasub-{build,host,target} not because there is any reason to split
9561 # the substitutions up that way, but only to remain below the limit of
9562 # 99 commands in a script, for HP-UX sed.
9564 # Do not nest @if/@endif or @unless/@endunless pairs, because
9565 # configure will not warn you at all.
9567 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
9568 yes:yes:*\ gold\
*:*,c
++,*) ;;
9569 yes:yes:*\ gold\
*:*)
9570 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
9575 for module
in ${build_configdirs} ; do
9576 if test -z "${no_recursion}" \
9577 && test -f ${build_subdir}/${module}/Makefile
; then
9578 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
9579 rm -f ${build_subdir}/${module}/Makefile
9581 extrasub_build
="$extrasub_build
9582 /^@if build-$module\$/d
9583 /^@endif build-$module\$/d
9584 /^@unless build-$module\$/,/^@endunless build-$module\$/d
9585 /^@if build-$module-$bootstrap_suffix\$/d
9586 /^@endif build-$module-$bootstrap_suffix\$/d
9587 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
9590 for module
in ${configdirs} ; do
9591 if test -z "${no_recursion}"; then
9592 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
9593 if test -f ${file}; then
9594 echo 1>&2 "*** removing ${file} to force reconfigure"
9599 case ${module},${bootstrap_fixincludes} in
9600 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
9601 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
9603 extrasub_host
="$extrasub_host
9605 /^@endif $module\$/d
9606 /^@unless $module\$/,/^@endunless $module\$/d
9607 /^@if $module-$host_bootstrap_suffix\$/d
9608 /^@endif $module-$host_bootstrap_suffix\$/d
9609 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
9612 for module
in ${target_configdirs} ; do
9613 if test -z "${no_recursion}" \
9614 && test -f ${target_subdir}/${module}/Makefile
; then
9615 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
9616 rm -f ${target_subdir}/${module}/Makefile
9619 # We only bootstrap target libraries listed in bootstrap_target_libs.
9620 case $bootstrap_target_libs in
9621 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
9622 *) target_bootstrap_suffix
=no-bootstrap
;;
9625 extrasub_target
="$extrasub_target
9626 /^@if target-$module\$/d
9627 /^@endif target-$module\$/d
9628 /^@unless target-$module\$/,/^@endunless target-$module\$/d
9629 /^@if target-$module-$target_bootstrap_suffix\$/d
9630 /^@endif target-$module-$target_bootstrap_suffix\$/d
9631 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
9634 # Do the final fixup along with target modules.
9635 extrasub_target
="$extrasub_target
9640 # Create the serialization dependencies. This uses a temporary file.
9642 # Check whether --enable-serial-configure was given.
9643 if test "${enable_serial_configure+set}" = set; then :
9644 enableval
=$enable_serial_configure;
9648 case ${enable_serial_configure} in
9650 enable_serial_build_configure
=yes
9651 enable_serial_host_configure
=yes
9652 enable_serial_target_configure
=yes
9656 # These force 'configure's to be done one at a time, to avoid problems
9657 # with contention over a shared config.cache.
9659 echo '# serdep.tmp' > serdep.tmp
9661 test "x${enable_serial_build_configure}" = xyes
&&
9662 for item
in ${build_configdirs} ; do
9665 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
9670 test "x${enable_serial_host_configure}" = xyes
&&
9671 for item
in ${configdirs} ; do
9674 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
9679 test "x${enable_serial_target_configure}" = xyes
&&
9680 for item
in ${target_configdirs} ; do
9683 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
9687 serialization_dependencies
=serdep.tmp
9690 # Base args. Strip norecursion, cache-file, srcdir, host, build,
9691 # target, nonopt, and variable assignments. These are the ones we
9692 # might not want to pass down to subconfigures. The exception being
9693 # --cache-file=/dev/null, which is used to turn off the use of cache
9694 # files altogether, and which should be passed on to subconfigures.
9695 # Also strip program-prefix, program-suffix, and program-transform-name,
9696 # so that we can pass down a consistent program-transform-name.
9701 eval "set -- $ac_configure_args"
9704 if test X
"$skip_next" = X
"yes"; then
9708 if test X
"$keep_next" = X
"yes"; then
9711 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9713 baseargs
="$baseargs '$ac_arg'"
9714 tbaseargs
="$tbaseargs '$ac_arg'"
9719 # Handle separated arguments. Based on the logic generated by
9722 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
9723 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
9724 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
9725 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
9739 --with-* |
--without-*)
9740 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
9744 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
9747 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
9756 mpc | mpfr | gmp | isl
)
9757 # If we're processing --with-$lib, --with-$lib-include or
9758 # --with-$lib-lib, for one of the libs above, and target is
9759 # different from host, don't pass the current argument to any
9760 # target library's configure.
9761 if test x
$is_cross_compiler = xyes
; then
9770 --cache-file=/dev
/null | \
9771 -cache-file=/dev
/null
)
9772 # Handled here to avoid the test to skip args below.
9773 baseargs
="$baseargs '$ac_arg'"
9774 tbaseargs
="$tbaseargs '$ac_arg'"
9775 # Assert: $separate_arg should always be no.
9776 keep_next
=$separate_arg
9792 -program-prefix* | \
9793 -program-suffix* | \
9794 -program-transform-name* )
9795 skip_next
=$separate_arg
9799 # An option. Add it.
9802 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9804 baseargs
="$baseargs '$ac_arg'"
9805 if test X
"$skip_targ" = Xno
; then
9806 tbaseargs
="$tbaseargs '$ac_arg'"
9808 keep_next
=$separate_arg
9811 # Either a variable assignment, or a nonopt (triplet). Don't
9812 # pass it down; let the Makefile handle this.
9817 # Remove the initial space we just introduced and, as these will be
9818 # expanded by make, quote '$'.
9819 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
9821 # Add in --program-transform-name, after --program-prefix and
9822 # --program-suffix have been applied to it. Autoconf has already
9823 # doubled dollar signs and backslashes in program_transform_name; we want
9824 # the backslashes un-doubled, and then the entire thing wrapped in single
9825 # quotes, because this will be expanded first by make and then by the shell.
9826 # Also, because we want to override the logic in subdir configure scripts to
9827 # choose program_transform_name, replace any s,x,x, with s,y,y,.
9828 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
9829 ${program_transform_name}
9831 gcc_transform_name
=`cat conftestsed.out`
9832 rm -f conftestsed.out
9833 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
9834 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
9835 if test "$silent" = yes; then
9836 baseargs
="$baseargs --silent"
9837 tbaseargs
="$tbaseargs --silent"
9839 baseargs
="$baseargs --disable-option-checking"
9840 tbaseargs
="$tbaseargs --disable-option-checking"
9842 # Record and document user additions to sub configure arguments.
9847 # For the build-side libraries, we just need to pretend we're native,
9848 # and not use the same cache file. Multilibs are neither needed nor
9849 # desired. We can't even use the same cache file for all build-side
9850 # libraries, as they're compiled differently; some with C, some with
9851 # C++ or with different feature-enabling options.
9852 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
9854 # For host modules, accept cache file option, or specification as blank.
9855 case "${cache_file}" in
9857 cache_file_option
="" ;;
9858 /* |
[A-Za-z
]:[\\/]* ) # absolute path
9859 cache_file_option
="--cache-file=${cache_file}" ;;
9861 cache_file_option
="--cache-file=../${cache_file}" ;;
9864 # Host dirs don't like to share a cache file either, horribly enough.
9865 # This seems to be due to autoconf 2.5x stupidity.
9866 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
9868 target_configargs
="$target_configargs ${tbaseargs}"
9870 # Passing a --with-cross-host argument lets the target libraries know
9871 # whether they are being built with a cross-compiler or being built
9872 # native. However, it would be better to use other mechanisms to make the
9873 # sorts of decisions they want to make on this basis. Please consider
9874 # this option to be deprecated. FIXME.
9875 if test x
${is_cross_compiler} = xyes
; then
9876 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
9879 # Special user-friendly check for native x86_64-linux build, if
9880 # multilib is not explicitly enabled.
9881 case "$target:$have_compiler:$host:$target:$enable_multilib" in
9882 x86_64-
*linux
*:yes:$build:$build:)
9883 # Make sure we have a development environment that handles 32-bit
9885 echo "int main () { return 0; }" > conftest.c
9886 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9887 if test $?
= 0 ; then
9888 if test -s conftest ||
test -s conftest.exe
; then
9893 if test x
${dev64} != xyes
; then
9894 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
9899 # Default to --enable-multilib.
9900 if test x
${enable_multilib} = x
; then
9901 target_configargs
="--enable-multilib ${target_configargs}"
9904 # Pass --with-newlib if appropriate. Note that target_configdirs has
9905 # changed from the earlier setting of with_newlib.
9906 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
9907 target_configargs
="--with-newlib ${target_configargs}"
9910 # Different target subdirs use different values of certain variables
9911 # (notably CXX). Worse, multilibs use *lots* of different values.
9912 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
9913 # it doesn't automatically accept command-line overrides of them.
9914 # This means it's not safe for target subdirs to share a cache file,
9915 # which is disgusting, but there you have it. Hopefully this can be
9916 # fixed in future. It's still worthwhile to use a cache file for each
9917 # directory. I think.
9919 # Pass the appropriate --build, --host, --target and --cache-file arguments.
9920 # We need to pass --target, as newer autoconf's requires consistency
9921 # for target_alias and gcc doesn't manage it consistently.
9922 target_configargs
="--cache-file=./config.cache ${target_configargs}"
9925 case " $target_configdirs " in
9927 case " $target_configargs " in
9928 *" --with-newlib "*)
9931 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
9935 # If we're not building GCC, don't discard standard headers.
9936 if test -d ${srcdir}/gcc
; then
9937 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
9939 if test "${build}" != "${host}"; then
9940 # On Canadian crosses, CC_FOR_TARGET will have already been set
9941 # by `configure', so we won't have an opportunity to add -Bgcc/
9942 # to it. This is right: we don't want to search that directory
9943 # for binaries, but we want the header files in there, so add
9945 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
9947 # Someone might think of using the pre-installed headers on
9948 # Canadian crosses, in case the installed compiler is not fully
9949 # compatible with the compiler being built. In this case, it
9950 # would be better to flag an error than risking having
9951 # incompatible object files being constructed. We can't
9952 # guarantee that an error will be flagged, but let's hope the
9953 # compiler will do it, when presented with incompatible header
9958 case "${target}-${is_cross_compiler}" in
9959 i
[3456789]86-*-linux*-no)
9960 # Here host == target, so we don't need to build gcc,
9961 # so we don't want to discard standard headers.
9962 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
9965 # If we're building newlib, use its generic headers last, but search
9966 # for any libc-related directories first (so make it the last -B
9968 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
9970 # If we're building libgloss, find the startup file, simulator library
9971 # and linker script.
9972 case " $target_configdirs " in
9974 # Look for startup file, simulator library and maybe linker script.
9975 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
9976 # Look for libnosys.a in case the target needs it.
9977 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
9978 # Most targets have the linker script in the source directory.
9979 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
9990 x86_64-
*mingw
* |
*-w64-mingw*)
9991 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
9992 # however, use a symlink named 'mingw' in ${prefix} .
9993 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
9996 # MinGW can't be handled as Cygwin above since it does not use newlib.
9997 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'
10001 # Allow the user to override the flags for
10002 # our build compiler if desired.
10003 if test x
"${build}" = x
"${host}" ; then
10004 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
10005 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
10006 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
10007 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
10010 # On Canadian crosses, we'll be searching the right directories for
10011 # the previously-installed cross compiler, so don't bother to add
10012 # flags for directories within the install tree of the compiler
10013 # being built; programs in there won't even run.
10014 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
10015 # Search for pre-installed headers if nothing else fits.
10016 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
10019 if test "x
${use_gnu_ld}" = x &&
10020 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
10021 # Arrange for us to find uninstalled linker scripts.
10022 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
10025 # Search for other target-specific linker scripts and such.
10026 case "${target}" in
10028 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
10032 # Makefile fragments.
10033 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
10035 eval fragval=\$$frag
10036 if test $fragval != /dev/null; then
10037 eval $frag=${srcdir}/$fragval
10045 # Miscellanea: directories, flags, etc.
10054 # Build module lists & subconfigure args.
10058 # Host module lists & subconfigure args.
10063 # Target module lists & subconfigure args.
10086 # Generate default definitions for YACC, M4, LEX and other programs that run
10087 # on the build machine. These are used if the Makefile can't locate these
10088 # programs in objdir.
10089 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
10091 for ac_prog in 'bison -y' byacc yacc
10093 # Extract the first word of "$ac_prog", so it can be a program name with args.
10094 set dummy $ac_prog; ac_word=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10096 $as_echo_n "checking
for $ac_word...
" >&6; }
10097 if ${ac_cv_prog_YACC+:} false; then :
10098 $as_echo_n "(cached
) " >&6
10100 if test -n "$YACC"; then
10101 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10107 test -z "$as_dir" && as_dir=.
10108 for ac_exec_ext in '' $ac_executable_extensions; do
10109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_prog_YACC="$ac_prog"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10120 YACC=$ac_cv_prog_YACC
10121 if test -n "$YACC"; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
10123 $as_echo "$YACC" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10126 $as_echo "no
" >&6; }
10130 test -n "$YACC" && break
10132 test -n "$YACC" || YACC="$MISSING bison
-y"
10134 case " $build_configdirs " in
10135 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
10138 for ac_prog in bison
10140 # Extract the first word of "$ac_prog", so it can be a program name with args.
10141 set dummy $ac_prog; ac_word=$2
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10143 $as_echo_n "checking
for $ac_word...
" >&6; }
10144 if ${ac_cv_prog_BISON+:} false; then :
10145 $as_echo_n "(cached
) " >&6
10147 if test -n "$BISON"; then
10148 ac_cv_prog_BISON="$BISON" # Let the user override the test.
10150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10151 for as_dir in $PATH
10154 test -z "$as_dir" && as_dir=.
10155 for ac_exec_ext in '' $ac_executable_extensions; do
10156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_BISON="$ac_prog"
10158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10167 BISON=$ac_cv_prog_BISON
10168 if test -n "$BISON"; then
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
10170 $as_echo "$BISON" >&6; }
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10173 $as_echo "no
" >&6; }
10177 test -n "$BISON" && break
10179 test -n "$BISON" || BISON="$MISSING bison
"
10181 case " $build_configdirs " in
10182 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10185 for ac_prog in gm4 gnum4 m4
10187 # Extract the first word of "$ac_prog", so it can be a program name with args.
10188 set dummy $ac_prog; ac_word=$2
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10190 $as_echo_n "checking
for $ac_word...
" >&6; }
10191 if ${ac_cv_prog_M4+:} false; then :
10192 $as_echo_n "(cached
) " >&6
10194 if test -n "$M4"; then
10195 ac_cv_prog_M4="$M4" # Let the user override the test.
10197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10198 for as_dir in $PATH
10201 test -z "$as_dir" && as_dir=.
10202 for ac_exec_ext in '' $ac_executable_extensions; do
10203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10204 ac_cv_prog_M4="$ac_prog"
10205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10215 if test -n "$M4"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10217 $as_echo "$M4" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10220 $as_echo "no
" >&6; }
10224 test -n "$M4" && break
10226 test -n "$M4" || M4="$MISSING m4"
10228 case " $build_configdirs " in
10229 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10232 for ac_prog in flex lex
10234 # Extract the first word of "$ac_prog", so it can be a program name with args.
10235 set dummy $ac_prog; ac_word=$2
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10237 $as_echo_n "checking
for $ac_word...
" >&6; }
10238 if ${ac_cv_prog_LEX+:} false; then :
10239 $as_echo_n "(cached
) " >&6
10241 if test -n "$LEX"; then
10242 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10245 for as_dir in $PATH
10248 test -z "$as_dir" && as_dir=.
10249 for ac_exec_ext in '' $ac_executable_extensions; do
10250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10251 ac_cv_prog_LEX="$ac_prog"
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10261 LEX=$ac_cv_prog_LEX
10262 if test -n "$LEX"; then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10264 $as_echo "$LEX" >&6; }
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10267 $as_echo "no
" >&6; }
10271 test -n "$LEX" && break
10273 test -n "$LEX" || LEX="$MISSING flex
"
10275 case " $build_configdirs " in
10276 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10277 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10280 for ac_prog in flex
10282 # Extract the first word of "$ac_prog", so it can be a program name with args.
10283 set dummy $ac_prog; ac_word=$2
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10285 $as_echo_n "checking
for $ac_word...
" >&6; }
10286 if ${ac_cv_prog_FLEX+:} false; then :
10287 $as_echo_n "(cached
) " >&6
10289 if test -n "$FLEX"; then
10290 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10293 for as_dir in $PATH
10296 test -z "$as_dir" && as_dir=.
10297 for ac_exec_ext in '' $ac_executable_extensions; do
10298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10299 ac_cv_prog_FLEX="$ac_prog"
10300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10309 FLEX=$ac_cv_prog_FLEX
10310 if test -n "$FLEX"; then
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10312 $as_echo "$FLEX" >&6; }
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10315 $as_echo "no
" >&6; }
10319 test -n "$FLEX" && break
10321 test -n "$FLEX" || FLEX="$MISSING flex
"
10323 case " $build_configdirs " in
10324 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10327 for ac_prog in makeinfo
10329 # Extract the first word of "$ac_prog", so it can be a program name with args.
10330 set dummy $ac_prog; ac_word=$2
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10332 $as_echo_n "checking
for $ac_word...
" >&6; }
10333 if ${ac_cv_prog_MAKEINFO+:} false; then :
10334 $as_echo_n "(cached
) " >&6
10336 if test -n "$MAKEINFO"; then
10337 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10340 for as_dir in $PATH
10343 test -z "$as_dir" && as_dir=.
10344 for ac_exec_ext in '' $ac_executable_extensions; do
10345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10346 ac_cv_prog_MAKEINFO="$ac_prog"
10347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10356 MAKEINFO=$ac_cv_prog_MAKEINFO
10357 if test -n "$MAKEINFO"; then
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10359 $as_echo "$MAKEINFO" >&6; }
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10362 $as_echo "no
" >&6; }
10366 test -n "$MAKEINFO" && break
10368 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10370 case " $build_configdirs " in
10371 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10374 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10375 # higher, else we use the "missing
" dummy.
10376 if ${MAKEINFO} --version \
10377 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10380 MAKEINFO="$MISSING makeinfo
"
10386 # FIXME: expect and dejagnu may become build tools?
10388 for ac_prog in expect
10390 # Extract the first word of "$ac_prog", so it can be a program name with args.
10391 set dummy $ac_prog; ac_word=$2
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10393 $as_echo_n "checking
for $ac_word...
" >&6; }
10394 if ${ac_cv_prog_EXPECT+:} false; then :
10395 $as_echo_n "(cached
) " >&6
10397 if test -n "$EXPECT"; then
10398 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10401 for as_dir in $PATH
10404 test -z "$as_dir" && as_dir=.
10405 for ac_exec_ext in '' $ac_executable_extensions; do
10406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10407 ac_cv_prog_EXPECT="$ac_prog"
10408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10417 EXPECT=$ac_cv_prog_EXPECT
10418 if test -n "$EXPECT"; then
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10420 $as_echo "$EXPECT" >&6; }
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10423 $as_echo "no
" >&6; }
10427 test -n "$EXPECT" && break
10429 test -n "$EXPECT" || EXPECT="expect
"
10431 case " $configdirs " in
10433 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10437 for ac_prog in runtest
10439 # Extract the first word of "$ac_prog", so it can be a program name with args.
10440 set dummy $ac_prog; ac_word=$2
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10442 $as_echo_n "checking
for $ac_word...
" >&6; }
10443 if ${ac_cv_prog_RUNTEST+:} false; then :
10444 $as_echo_n "(cached
) " >&6
10446 if test -n "$RUNTEST"; then
10447 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10450 for as_dir in $PATH
10453 test -z "$as_dir" && as_dir=.
10454 for ac_exec_ext in '' $ac_executable_extensions; do
10455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10456 ac_cv_prog_RUNTEST="$ac_prog"
10457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10466 RUNTEST=$ac_cv_prog_RUNTEST
10467 if test -n "$RUNTEST"; then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10469 $as_echo "$RUNTEST" >&6; }
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10472 $as_echo "no
" >&6; }
10476 test -n "$RUNTEST" && break
10478 test -n "$RUNTEST" || RUNTEST="runtest
"
10480 case " $configdirs " in
10482 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10489 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10490 ncn_target_tool_prefix=
10491 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10495 if test -n "$AR"; then
10497 elif test -n "$ac_cv_prog_AR"; then
10501 if test -n "$ac_cv_prog_AR"; then
10502 for ncn_progname in ar; do
10503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10504 set dummy ${ncn_progname}; ac_word=$2
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10506 $as_echo_n "checking
for $ac_word...
" >&6; }
10507 if ${ac_cv_prog_AR+:} false; then :
10508 $as_echo_n "(cached
) " >&6
10510 if test -n "$AR"; then
10511 ac_cv_prog_AR="$AR" # Let the user override the test.
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in $PATH
10517 test -z "$as_dir" && as_dir=.
10518 for ac_exec_ext in '' $ac_executable_extensions; do
10519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10520 ac_cv_prog_AR="${ncn_progname}"
10521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10531 if test -n "$AR"; then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10533 $as_echo "$AR" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10536 $as_echo "no
" >&6; }
10543 for ncn_progname in ar; do
10544 if test -n "$ncn_tool_prefix"; then
10545 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10546 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10548 $as_echo_n "checking
for $ac_word...
" >&6; }
10549 if ${ac_cv_prog_AR+:} false; then :
10550 $as_echo_n "(cached
) " >&6
10552 if test -n "$AR"; then
10553 ac_cv_prog_AR="$AR" # Let the user override the test.
10555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10556 for as_dir in $PATH
10559 test -z "$as_dir" && as_dir=.
10560 for ac_exec_ext in '' $ac_executable_extensions; do
10561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10562 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
10563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10573 if test -n "$AR"; then
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10575 $as_echo "$AR" >&6; }
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10578 $as_echo "no
" >&6; }
10583 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
10584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10585 set dummy ${ncn_progname}; ac_word=$2
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10587 $as_echo_n "checking
for $ac_word...
" >&6; }
10588 if ${ac_cv_prog_AR+:} false; then :
10589 $as_echo_n "(cached
) " >&6
10591 if test -n "$AR"; then
10592 ac_cv_prog_AR="$AR" # Let the user override the test.
10594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10595 for as_dir in $PATH
10598 test -z "$as_dir" && as_dir=.
10599 for ac_exec_ext in '' $ac_executable_extensions; do
10600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10601 ac_cv_prog_AR="${ncn_progname}"
10602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10612 if test -n "$AR"; then
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10614 $as_echo "$AR" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10617 $as_echo "no
" >&6; }
10622 test -n "$ac_cv_prog_AR" && break
10625 if test -z "$ac_cv_prog_AR" ; then
10627 if test $build = $host ; then
10630 AR="${ncn_tool_prefix}$2"
10636 if test -n "$AS"; then
10638 elif test -n "$ac_cv_prog_AS"; then
10642 if test -n "$ac_cv_prog_AS"; then
10643 for ncn_progname in as; do
10644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10645 set dummy ${ncn_progname}; ac_word=$2
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10647 $as_echo_n "checking
for $ac_word...
" >&6; }
10648 if ${ac_cv_prog_AS+:} false; then :
10649 $as_echo_n "(cached
) " >&6
10651 if test -n "$AS"; then
10652 ac_cv_prog_AS="$AS" # Let the user override the test.
10654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10655 for as_dir in $PATH
10658 test -z "$as_dir" && as_dir=.
10659 for ac_exec_ext in '' $ac_executable_extensions; do
10660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10661 ac_cv_prog_AS="${ncn_progname}"
10662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10672 if test -n "$AS"; then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10674 $as_echo "$AS" >&6; }
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10677 $as_echo "no
" >&6; }
10684 for ncn_progname in as; do
10685 if test -n "$ncn_tool_prefix"; then
10686 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10687 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10689 $as_echo_n "checking
for $ac_word...
" >&6; }
10690 if ${ac_cv_prog_AS+:} false; then :
10691 $as_echo_n "(cached
) " >&6
10693 if test -n "$AS"; then
10694 ac_cv_prog_AS="$AS" # Let the user override the test.
10696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10697 for as_dir in $PATH
10700 test -z "$as_dir" && as_dir=.
10701 for ac_exec_ext in '' $ac_executable_extensions; do
10702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10703 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
10704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10714 if test -n "$AS"; then
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10716 $as_echo "$AS" >&6; }
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10719 $as_echo "no
" >&6; }
10724 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
10725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10726 set dummy ${ncn_progname}; ac_word=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10728 $as_echo_n "checking
for $ac_word...
" >&6; }
10729 if ${ac_cv_prog_AS+:} false; then :
10730 $as_echo_n "(cached
) " >&6
10732 if test -n "$AS"; then
10733 ac_cv_prog_AS="$AS" # Let the user override the test.
10735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10736 for as_dir in $PATH
10739 test -z "$as_dir" && as_dir=.
10740 for ac_exec_ext in '' $ac_executable_extensions; do
10741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10742 ac_cv_prog_AS="${ncn_progname}"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10753 if test -n "$AS"; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10755 $as_echo "$AS" >&6; }
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10758 $as_echo "no
" >&6; }
10763 test -n "$ac_cv_prog_AS" && break
10766 if test -z "$ac_cv_prog_AS" ; then
10768 if test $build = $host ; then
10771 AS="${ncn_tool_prefix}$2"
10777 if test -n "$DLLTOOL"; then
10778 ac_cv_prog_DLLTOOL=$DLLTOOL
10779 elif test -n "$ac_cv_prog_DLLTOOL"; then
10780 DLLTOOL=$ac_cv_prog_DLLTOOL
10783 if test -n "$ac_cv_prog_DLLTOOL"; then
10784 for ncn_progname in dlltool; do
10785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10786 set dummy ${ncn_progname}; ac_word=$2
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10788 $as_echo_n "checking
for $ac_word...
" >&6; }
10789 if ${ac_cv_prog_DLLTOOL+:} false; then :
10790 $as_echo_n "(cached
) " >&6
10792 if test -n "$DLLTOOL"; then
10793 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in $PATH
10799 test -z "$as_dir" && as_dir=.
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10802 ac_cv_prog_DLLTOOL="${ncn_progname}"
10803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10812 DLLTOOL=$ac_cv_prog_DLLTOOL
10813 if test -n "$DLLTOOL"; then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10815 $as_echo "$DLLTOOL" >&6; }
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10818 $as_echo "no
" >&6; }
10825 for ncn_progname in dlltool; do
10826 if test -n "$ncn_tool_prefix"; then
10827 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10828 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10830 $as_echo_n "checking
for $ac_word...
" >&6; }
10831 if ${ac_cv_prog_DLLTOOL+:} false; then :
10832 $as_echo_n "(cached
) " >&6
10834 if test -n "$DLLTOOL"; then
10835 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10838 for as_dir in $PATH
10841 test -z "$as_dir" && as_dir=.
10842 for ac_exec_ext in '' $ac_executable_extensions; do
10843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10844 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
10845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10854 DLLTOOL=$ac_cv_prog_DLLTOOL
10855 if test -n "$DLLTOOL"; then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10857 $as_echo "$DLLTOOL" >&6; }
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10860 $as_echo "no
" >&6; }
10865 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
10866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10867 set dummy ${ncn_progname}; ac_word=$2
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10869 $as_echo_n "checking
for $ac_word...
" >&6; }
10870 if ${ac_cv_prog_DLLTOOL+:} false; then :
10871 $as_echo_n "(cached
) " >&6
10873 if test -n "$DLLTOOL"; then
10874 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10877 for as_dir in $PATH
10880 test -z "$as_dir" && as_dir=.
10881 for ac_exec_ext in '' $ac_executable_extensions; do
10882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10883 ac_cv_prog_DLLTOOL="${ncn_progname}"
10884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10893 DLLTOOL=$ac_cv_prog_DLLTOOL
10894 if test -n "$DLLTOOL"; then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10896 $as_echo "$DLLTOOL" >&6; }
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10899 $as_echo "no
" >&6; }
10904 test -n "$ac_cv_prog_DLLTOOL" && break
10907 if test -z "$ac_cv_prog_DLLTOOL" ; then
10909 if test $build = $host ; then
10912 DLLTOOL="${ncn_tool_prefix}$2"
10918 if test -n "$DSYMUTIL"; then
10919 ac_cv_prog_DSYMUTIL=$DSYMUTIL
10920 elif test -n "$ac_cv_prog_DSYMUTIL"; then
10921 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10924 if test -n "$ac_cv_prog_DSYMUTIL"; then
10925 for ncn_progname in dsymutil; do
10926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10927 set dummy ${ncn_progname}; ac_word=$2
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10929 $as_echo_n "checking
for $ac_word...
" >&6; }
10930 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10931 $as_echo_n "(cached
) " >&6
10933 if test -n "$DSYMUTIL"; then
10934 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10937 for as_dir in $PATH
10940 test -z "$as_dir" && as_dir=.
10941 for ac_exec_ext in '' $ac_executable_extensions; do
10942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10943 ac_cv_prog_DSYMUTIL="${ncn_progname}"
10944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10953 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10954 if test -n "$DSYMUTIL"; then
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10956 $as_echo "$DSYMUTIL" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10959 $as_echo "no
" >&6; }
10966 for ncn_progname in dsymutil; do
10967 if test -n "$ncn_tool_prefix"; then
10968 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10969 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10971 $as_echo_n "checking
for $ac_word...
" >&6; }
10972 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10973 $as_echo_n "(cached
) " >&6
10975 if test -n "$DSYMUTIL"; then
10976 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10979 for as_dir in $PATH
10982 test -z "$as_dir" && as_dir=.
10983 for ac_exec_ext in '' $ac_executable_extensions; do
10984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10985 ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
10986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10995 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10996 if test -n "$DSYMUTIL"; then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10998 $as_echo "$DSYMUTIL" >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11001 $as_echo "no
" >&6; }
11006 if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
11007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11008 set dummy ${ncn_progname}; ac_word=$2
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11010 $as_echo_n "checking
for $ac_word...
" >&6; }
11011 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11012 $as_echo_n "(cached
) " >&6
11014 if test -n "$DSYMUTIL"; then
11015 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11018 for as_dir in $PATH
11021 test -z "$as_dir" && as_dir=.
11022 for ac_exec_ext in '' $ac_executable_extensions; do
11023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11024 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11034 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11035 if test -n "$DSYMUTIL"; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11037 $as_echo "$DSYMUTIL" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11040 $as_echo "no
" >&6; }
11045 test -n "$ac_cv_prog_DSYMUTIL" && break
11048 if test -z "$ac_cv_prog_DSYMUTIL" ; then
11050 if test $build = $host ; then
11053 DSYMUTIL="${ncn_tool_prefix}$2"
11059 if test -n "$LD"; then
11061 elif test -n "$ac_cv_prog_LD"; then
11065 if test -n "$ac_cv_prog_LD"; then
11066 for ncn_progname in ld; do
11067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11068 set dummy ${ncn_progname}; ac_word=$2
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11070 $as_echo_n "checking
for $ac_word...
" >&6; }
11071 if ${ac_cv_prog_LD+:} false; then :
11072 $as_echo_n "(cached
) " >&6
11074 if test -n "$LD"; then
11075 ac_cv_prog_LD="$LD" # Let the user override the test.
11077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11078 for as_dir in $PATH
11081 test -z "$as_dir" && as_dir=.
11082 for ac_exec_ext in '' $ac_executable_extensions; do
11083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11084 ac_cv_prog_LD="${ncn_progname}"
11085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11095 if test -n "$LD"; then
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11097 $as_echo "$LD" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11100 $as_echo "no
" >&6; }
11107 for ncn_progname in ld; do
11108 if test -n "$ncn_tool_prefix"; then
11109 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11110 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11112 $as_echo_n "checking
for $ac_word...
" >&6; }
11113 if ${ac_cv_prog_LD+:} false; then :
11114 $as_echo_n "(cached
) " >&6
11116 if test -n "$LD"; then
11117 ac_cv_prog_LD="$LD" # Let the user override the test.
11119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11120 for as_dir in $PATH
11123 test -z "$as_dir" && as_dir=.
11124 for ac_exec_ext in '' $ac_executable_extensions; do
11125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11126 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
11127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11137 if test -n "$LD"; then
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11139 $as_echo "$LD" >&6; }
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11142 $as_echo "no
" >&6; }
11147 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
11148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11149 set dummy ${ncn_progname}; ac_word=$2
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11151 $as_echo_n "checking
for $ac_word...
" >&6; }
11152 if ${ac_cv_prog_LD+:} false; then :
11153 $as_echo_n "(cached
) " >&6
11155 if test -n "$LD"; then
11156 ac_cv_prog_LD="$LD" # Let the user override the test.
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11162 test -z "$as_dir" && as_dir=.
11163 for ac_exec_ext in '' $ac_executable_extensions; do
11164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11165 ac_cv_prog_LD="${ncn_progname}"
11166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11176 if test -n "$LD"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11178 $as_echo "$LD" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11181 $as_echo "no
" >&6; }
11186 test -n "$ac_cv_prog_LD" && break
11189 if test -z "$ac_cv_prog_LD" ; then
11191 if test $build = $host ; then
11194 LD="${ncn_tool_prefix}$2"
11200 if test -n "$LIPO"; then
11201 ac_cv_prog_LIPO=$LIPO
11202 elif test -n "$ac_cv_prog_LIPO"; then
11203 LIPO=$ac_cv_prog_LIPO
11206 if test -n "$ac_cv_prog_LIPO"; then
11207 for ncn_progname in lipo; do
11208 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11209 set dummy ${ncn_progname}; ac_word=$2
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11211 $as_echo_n "checking
for $ac_word...
" >&6; }
11212 if ${ac_cv_prog_LIPO+:} false; then :
11213 $as_echo_n "(cached
) " >&6
11215 if test -n "$LIPO"; then
11216 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11225 ac_cv_prog_LIPO="${ncn_progname}"
11226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11235 LIPO=$ac_cv_prog_LIPO
11236 if test -n "$LIPO"; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11238 $as_echo "$LIPO" >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11241 $as_echo "no
" >&6; }
11248 for ncn_progname in lipo; do
11249 if test -n "$ncn_tool_prefix"; then
11250 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11251 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11253 $as_echo_n "checking
for $ac_word...
" >&6; }
11254 if ${ac_cv_prog_LIPO+:} false; then :
11255 $as_echo_n "(cached
) " >&6
11257 if test -n "$LIPO"; then
11258 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11261 for as_dir in $PATH
11264 test -z "$as_dir" && as_dir=.
11265 for ac_exec_ext in '' $ac_executable_extensions; do
11266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11267 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
11268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11277 LIPO=$ac_cv_prog_LIPO
11278 if test -n "$LIPO"; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11280 $as_echo "$LIPO" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11283 $as_echo "no
" >&6; }
11288 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
11289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11290 set dummy ${ncn_progname}; ac_word=$2
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11292 $as_echo_n "checking
for $ac_word...
" >&6; }
11293 if ${ac_cv_prog_LIPO+:} false; then :
11294 $as_echo_n "(cached
) " >&6
11296 if test -n "$LIPO"; then
11297 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300 for as_dir in $PATH
11303 test -z "$as_dir" && as_dir=.
11304 for ac_exec_ext in '' $ac_executable_extensions; do
11305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11306 ac_cv_prog_LIPO="${ncn_progname}"
11307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11316 LIPO=$ac_cv_prog_LIPO
11317 if test -n "$LIPO"; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11319 $as_echo "$LIPO" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11322 $as_echo "no
" >&6; }
11327 test -n "$ac_cv_prog_LIPO" && break
11330 if test -z "$ac_cv_prog_LIPO" ; then
11332 if test $build = $host ; then
11335 LIPO="${ncn_tool_prefix}$2"
11341 if test -n "$NM"; then
11343 elif test -n "$ac_cv_prog_NM"; then
11347 if test -n "$ac_cv_prog_NM"; then
11348 for ncn_progname in nm; do
11349 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11350 set dummy ${ncn_progname}; ac_word=$2
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11352 $as_echo_n "checking
for $ac_word...
" >&6; }
11353 if ${ac_cv_prog_NM+:} false; then :
11354 $as_echo_n "(cached
) " >&6
11356 if test -n "$NM"; then
11357 ac_cv_prog_NM="$NM" # Let the user override the test.
11359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11360 for as_dir in $PATH
11363 test -z "$as_dir" && as_dir=.
11364 for ac_exec_ext in '' $ac_executable_extensions; do
11365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11366 ac_cv_prog_NM="${ncn_progname}"
11367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11377 if test -n "$NM"; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11379 $as_echo "$NM" >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11382 $as_echo "no
" >&6; }
11389 for ncn_progname in nm; do
11390 if test -n "$ncn_tool_prefix"; then
11391 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11392 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11394 $as_echo_n "checking
for $ac_word...
" >&6; }
11395 if ${ac_cv_prog_NM+:} false; then :
11396 $as_echo_n "(cached
) " >&6
11398 if test -n "$NM"; then
11399 ac_cv_prog_NM="$NM" # Let the user override the test.
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $PATH
11405 test -z "$as_dir" && as_dir=.
11406 for ac_exec_ext in '' $ac_executable_extensions; do
11407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11408 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11419 if test -n "$NM"; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11421 $as_echo "$NM" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11424 $as_echo "no
" >&6; }
11429 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11431 set dummy ${ncn_progname}; ac_word=$2
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11433 $as_echo_n "checking
for $ac_word...
" >&6; }
11434 if ${ac_cv_prog_NM+:} false; then :
11435 $as_echo_n "(cached
) " >&6
11437 if test -n "$NM"; then
11438 ac_cv_prog_NM="$NM" # Let the user override the test.
11440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11441 for as_dir in $PATH
11444 test -z "$as_dir" && as_dir=.
11445 for ac_exec_ext in '' $ac_executable_extensions; do
11446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11447 ac_cv_prog_NM="${ncn_progname}"
11448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11458 if test -n "$NM"; then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11460 $as_echo "$NM" >&6; }
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11463 $as_echo "no
" >&6; }
11468 test -n "$ac_cv_prog_NM" && break
11471 if test -z "$ac_cv_prog_NM" ; then
11473 if test $build = $host ; then
11476 NM="${ncn_tool_prefix}$2"
11482 if test -n "$RANLIB"; then
11483 ac_cv_prog_RANLIB=$RANLIB
11484 elif test -n "$ac_cv_prog_RANLIB"; then
11485 RANLIB=$ac_cv_prog_RANLIB
11488 if test -n "$ac_cv_prog_RANLIB"; then
11489 for ncn_progname in ranlib; do
11490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11491 set dummy ${ncn_progname}; ac_word=$2
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11493 $as_echo_n "checking
for $ac_word...
" >&6; }
11494 if ${ac_cv_prog_RANLIB+:} false; then :
11495 $as_echo_n "(cached
) " >&6
11497 if test -n "$RANLIB"; then
11498 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11507 ac_cv_prog_RANLIB="${ncn_progname}"
11508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11517 RANLIB=$ac_cv_prog_RANLIB
11518 if test -n "$RANLIB"; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11520 $as_echo "$RANLIB" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11523 $as_echo "no
" >&6; }
11530 for ncn_progname in ranlib; do
11531 if test -n "$ncn_tool_prefix"; then
11532 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11533 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11535 $as_echo_n "checking
for $ac_word...
" >&6; }
11536 if ${ac_cv_prog_RANLIB+:} false; then :
11537 $as_echo_n "(cached
) " >&6
11539 if test -n "$RANLIB"; then
11540 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11549 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
11550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11559 RANLIB=$ac_cv_prog_RANLIB
11560 if test -n "$RANLIB"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11562 $as_echo "$RANLIB" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11565 $as_echo "no
" >&6; }
11570 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
11571 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11572 set dummy ${ncn_progname}; ac_word=$2
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11574 $as_echo_n "checking
for $ac_word...
" >&6; }
11575 if ${ac_cv_prog_RANLIB+:} false; then :
11576 $as_echo_n "(cached
) " >&6
11578 if test -n "$RANLIB"; then
11579 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11582 for as_dir in $PATH
11585 test -z "$as_dir" && as_dir=.
11586 for ac_exec_ext in '' $ac_executable_extensions; do
11587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11588 ac_cv_prog_RANLIB="${ncn_progname}"
11589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11598 RANLIB=$ac_cv_prog_RANLIB
11599 if test -n "$RANLIB"; then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11601 $as_echo "$RANLIB" >&6; }
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11604 $as_echo "no
" >&6; }
11609 test -n "$ac_cv_prog_RANLIB" && break
11612 if test -z "$ac_cv_prog_RANLIB" ; then
11618 if test -n "$STRIP"; then
11619 ac_cv_prog_STRIP=$STRIP
11620 elif test -n "$ac_cv_prog_STRIP"; then
11621 STRIP=$ac_cv_prog_STRIP
11624 if test -n "$ac_cv_prog_STRIP"; then
11625 for ncn_progname in strip; do
11626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11627 set dummy ${ncn_progname}; ac_word=$2
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11629 $as_echo_n "checking
for $ac_word...
" >&6; }
11630 if ${ac_cv_prog_STRIP+:} false; then :
11631 $as_echo_n "(cached
) " >&6
11633 if test -n "$STRIP"; then
11634 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11637 for as_dir in $PATH
11640 test -z "$as_dir" && as_dir=.
11641 for ac_exec_ext in '' $ac_executable_extensions; do
11642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11643 ac_cv_prog_STRIP="${ncn_progname}"
11644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11653 STRIP=$ac_cv_prog_STRIP
11654 if test -n "$STRIP"; then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11656 $as_echo "$STRIP" >&6; }
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11659 $as_echo "no
" >&6; }
11666 for ncn_progname in strip; do
11667 if test -n "$ncn_tool_prefix"; then
11668 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11669 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11671 $as_echo_n "checking
for $ac_word...
" >&6; }
11672 if ${ac_cv_prog_STRIP+:} false; then :
11673 $as_echo_n "(cached
) " >&6
11675 if test -n "$STRIP"; then
11676 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11679 for as_dir in $PATH
11682 test -z "$as_dir" && as_dir=.
11683 for ac_exec_ext in '' $ac_executable_extensions; do
11684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11685 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
11686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11695 STRIP=$ac_cv_prog_STRIP
11696 if test -n "$STRIP"; then
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11698 $as_echo "$STRIP" >&6; }
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11701 $as_echo "no
" >&6; }
11706 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
11707 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11708 set dummy ${ncn_progname}; ac_word=$2
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11710 $as_echo_n "checking
for $ac_word...
" >&6; }
11711 if ${ac_cv_prog_STRIP+:} false; then :
11712 $as_echo_n "(cached
) " >&6
11714 if test -n "$STRIP"; then
11715 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11718 for as_dir in $PATH
11721 test -z "$as_dir" && as_dir=.
11722 for ac_exec_ext in '' $ac_executable_extensions; do
11723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11724 ac_cv_prog_STRIP="${ncn_progname}"
11725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11734 STRIP=$ac_cv_prog_STRIP
11735 if test -n "$STRIP"; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11737 $as_echo "$STRIP" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11740 $as_echo "no
" >&6; }
11745 test -n "$ac_cv_prog_STRIP" && break
11748 if test -z "$ac_cv_prog_STRIP" ; then
11754 if test -n "$WINDRES"; then
11755 ac_cv_prog_WINDRES=$WINDRES
11756 elif test -n "$ac_cv_prog_WINDRES"; then
11757 WINDRES=$ac_cv_prog_WINDRES
11760 if test -n "$ac_cv_prog_WINDRES"; then
11761 for ncn_progname in windres; do
11762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11763 set dummy ${ncn_progname}; ac_word=$2
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11765 $as_echo_n "checking
for $ac_word...
" >&6; }
11766 if ${ac_cv_prog_WINDRES+:} false; then :
11767 $as_echo_n "(cached
) " >&6
11769 if test -n "$WINDRES"; then
11770 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 test -z "$as_dir" && as_dir=.
11777 for ac_exec_ext in '' $ac_executable_extensions; do
11778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11779 ac_cv_prog_WINDRES="${ncn_progname}"
11780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11789 WINDRES=$ac_cv_prog_WINDRES
11790 if test -n "$WINDRES"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11792 $as_echo "$WINDRES" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11795 $as_echo "no
" >&6; }
11802 for ncn_progname in windres; do
11803 if test -n "$ncn_tool_prefix"; then
11804 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11805 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11807 $as_echo_n "checking
for $ac_word...
" >&6; }
11808 if ${ac_cv_prog_WINDRES+:} false; then :
11809 $as_echo_n "(cached
) " >&6
11811 if test -n "$WINDRES"; then
11812 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11821 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11831 WINDRES=$ac_cv_prog_WINDRES
11832 if test -n "$WINDRES"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11834 $as_echo "$WINDRES" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11837 $as_echo "no
" >&6; }
11842 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
11843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11844 set dummy ${ncn_progname}; ac_word=$2
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11846 $as_echo_n "checking
for $ac_word...
" >&6; }
11847 if ${ac_cv_prog_WINDRES+:} false; then :
11848 $as_echo_n "(cached
) " >&6
11850 if test -n "$WINDRES"; then
11851 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11854 for as_dir in $PATH
11857 test -z "$as_dir" && as_dir=.
11858 for ac_exec_ext in '' $ac_executable_extensions; do
11859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11860 ac_cv_prog_WINDRES="${ncn_progname}"
11861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11870 WINDRES=$ac_cv_prog_WINDRES
11871 if test -n "$WINDRES"; then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11873 $as_echo "$WINDRES" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11876 $as_echo "no
" >&6; }
11881 test -n "$ac_cv_prog_WINDRES" && break
11884 if test -z "$ac_cv_prog_WINDRES" ; then
11886 if test $build = $host ; then
11889 WINDRES="${ncn_tool_prefix}$2"
11895 if test -n "$WINDMC"; then
11896 ac_cv_prog_WINDMC=$WINDMC
11897 elif test -n "$ac_cv_prog_WINDMC"; then
11898 WINDMC=$ac_cv_prog_WINDMC
11901 if test -n "$ac_cv_prog_WINDMC"; then
11902 for ncn_progname in windmc; do
11903 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11904 set dummy ${ncn_progname}; ac_word=$2
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11906 $as_echo_n "checking
for $ac_word...
" >&6; }
11907 if ${ac_cv_prog_WINDMC+:} false; then :
11908 $as_echo_n "(cached
) " >&6
11910 if test -n "$WINDMC"; then
11911 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11914 for as_dir in $PATH
11917 test -z "$as_dir" && as_dir=.
11918 for ac_exec_ext in '' $ac_executable_extensions; do
11919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11920 ac_cv_prog_WINDMC="${ncn_progname}"
11921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11930 WINDMC=$ac_cv_prog_WINDMC
11931 if test -n "$WINDMC"; then
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11933 $as_echo "$WINDMC" >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11936 $as_echo "no
" >&6; }
11943 for ncn_progname in windmc; do
11944 if test -n "$ncn_tool_prefix"; then
11945 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11946 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11948 $as_echo_n "checking
for $ac_word...
" >&6; }
11949 if ${ac_cv_prog_WINDMC+:} false; then :
11950 $as_echo_n "(cached
) " >&6
11952 if test -n "$WINDMC"; then
11953 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11956 for as_dir in $PATH
11959 test -z "$as_dir" && as_dir=.
11960 for ac_exec_ext in '' $ac_executable_extensions; do
11961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11962 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
11963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11972 WINDMC=$ac_cv_prog_WINDMC
11973 if test -n "$WINDMC"; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11975 $as_echo "$WINDMC" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11978 $as_echo "no
" >&6; }
11983 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
11984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11985 set dummy ${ncn_progname}; ac_word=$2
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11987 $as_echo_n "checking
for $ac_word...
" >&6; }
11988 if ${ac_cv_prog_WINDMC+:} false; then :
11989 $as_echo_n "(cached
) " >&6
11991 if test -n "$WINDMC"; then
11992 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11995 for as_dir in $PATH
11998 test -z "$as_dir" && as_dir=.
11999 for ac_exec_ext in '' $ac_executable_extensions; do
12000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12001 ac_cv_prog_WINDMC="${ncn_progname}"
12002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12011 WINDMC=$ac_cv_prog_WINDMC
12012 if test -n "$WINDMC"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12014 $as_echo "$WINDMC" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12017 $as_echo "no
" >&6; }
12022 test -n "$ac_cv_prog_WINDMC" && break
12025 if test -z "$ac_cv_prog_WINDMC" ; then
12027 if test $build = $host ; then
12030 WINDMC="${ncn_tool_prefix}$2"
12036 if test -n "$OBJCOPY"; then
12037 ac_cv_prog_OBJCOPY=$OBJCOPY
12038 elif test -n "$ac_cv_prog_OBJCOPY"; then
12039 OBJCOPY=$ac_cv_prog_OBJCOPY
12042 if test -n "$ac_cv_prog_OBJCOPY"; then
12043 for ncn_progname in objcopy; do
12044 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12045 set dummy ${ncn_progname}; ac_word=$2
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12047 $as_echo_n "checking
for $ac_word...
" >&6; }
12048 if ${ac_cv_prog_OBJCOPY+:} false; then :
12049 $as_echo_n "(cached
) " >&6
12051 if test -n "$OBJCOPY"; then
12052 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12055 for as_dir in $PATH
12058 test -z "$as_dir" && as_dir=.
12059 for ac_exec_ext in '' $ac_executable_extensions; do
12060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12061 ac_cv_prog_OBJCOPY="${ncn_progname}"
12062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12071 OBJCOPY=$ac_cv_prog_OBJCOPY
12072 if test -n "$OBJCOPY"; then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12074 $as_echo "$OBJCOPY" >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12077 $as_echo "no
" >&6; }
12084 for ncn_progname in objcopy; do
12085 if test -n "$ncn_tool_prefix"; then
12086 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12087 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12089 $as_echo_n "checking
for $ac_word...
" >&6; }
12090 if ${ac_cv_prog_OBJCOPY+:} false; then :
12091 $as_echo_n "(cached
) " >&6
12093 if test -n "$OBJCOPY"; then
12094 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12097 for as_dir in $PATH
12100 test -z "$as_dir" && as_dir=.
12101 for ac_exec_ext in '' $ac_executable_extensions; do
12102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12103 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
12104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12113 OBJCOPY=$ac_cv_prog_OBJCOPY
12114 if test -n "$OBJCOPY"; then
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12116 $as_echo "$OBJCOPY" >&6; }
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12119 $as_echo "no
" >&6; }
12124 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
12125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12126 set dummy ${ncn_progname}; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12128 $as_echo_n "checking
for $ac_word...
" >&6; }
12129 if ${ac_cv_prog_OBJCOPY+:} false; then :
12130 $as_echo_n "(cached
) " >&6
12132 if test -n "$OBJCOPY"; then
12133 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12139 test -z "$as_dir" && as_dir=.
12140 for ac_exec_ext in '' $ac_executable_extensions; do
12141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12142 ac_cv_prog_OBJCOPY="${ncn_progname}"
12143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12152 OBJCOPY=$ac_cv_prog_OBJCOPY
12153 if test -n "$OBJCOPY"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12155 $as_echo "$OBJCOPY" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12158 $as_echo "no
" >&6; }
12163 test -n "$ac_cv_prog_OBJCOPY" && break
12166 if test -z "$ac_cv_prog_OBJCOPY" ; then
12168 if test $build = $host ; then
12171 OBJCOPY="${ncn_tool_prefix}$2"
12177 if test -n "$OBJDUMP"; then
12178 ac_cv_prog_OBJDUMP=$OBJDUMP
12179 elif test -n "$ac_cv_prog_OBJDUMP"; then
12180 OBJDUMP=$ac_cv_prog_OBJDUMP
12183 if test -n "$ac_cv_prog_OBJDUMP"; then
12184 for ncn_progname in objdump; do
12185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12186 set dummy ${ncn_progname}; ac_word=$2
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12188 $as_echo_n "checking
for $ac_word...
" >&6; }
12189 if ${ac_cv_prog_OBJDUMP+:} false; then :
12190 $as_echo_n "(cached
) " >&6
12192 if test -n "$OBJDUMP"; then
12193 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12196 for as_dir in $PATH
12199 test -z "$as_dir" && as_dir=.
12200 for ac_exec_ext in '' $ac_executable_extensions; do
12201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12202 ac_cv_prog_OBJDUMP="${ncn_progname}"
12203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12212 OBJDUMP=$ac_cv_prog_OBJDUMP
12213 if test -n "$OBJDUMP"; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12215 $as_echo "$OBJDUMP" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12218 $as_echo "no
" >&6; }
12225 for ncn_progname in objdump; do
12226 if test -n "$ncn_tool_prefix"; then
12227 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12228 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12230 $as_echo_n "checking
for $ac_word...
" >&6; }
12231 if ${ac_cv_prog_OBJDUMP+:} false; then :
12232 $as_echo_n "(cached
) " >&6
12234 if test -n "$OBJDUMP"; then
12235 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $PATH
12241 test -z "$as_dir" && as_dir=.
12242 for ac_exec_ext in '' $ac_executable_extensions; do
12243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12244 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12254 OBJDUMP=$ac_cv_prog_OBJDUMP
12255 if test -n "$OBJDUMP"; then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12257 $as_echo "$OBJDUMP" >&6; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12260 $as_echo "no
" >&6; }
12265 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
12266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12267 set dummy ${ncn_progname}; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12269 $as_echo_n "checking
for $ac_word...
" >&6; }
12270 if ${ac_cv_prog_OBJDUMP+:} false; then :
12271 $as_echo_n "(cached
) " >&6
12273 if test -n "$OBJDUMP"; then
12274 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12280 test -z "$as_dir" && as_dir=.
12281 for ac_exec_ext in '' $ac_executable_extensions; do
12282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_prog_OBJDUMP="${ncn_progname}"
12284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12293 OBJDUMP=$ac_cv_prog_OBJDUMP
12294 if test -n "$OBJDUMP"; then
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12296 $as_echo "$OBJDUMP" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12299 $as_echo "no
" >&6; }
12304 test -n "$ac_cv_prog_OBJDUMP" && break
12307 if test -z "$ac_cv_prog_OBJDUMP" ; then
12309 if test $build = $host ; then
12312 OBJDUMP="${ncn_tool_prefix}$2"
12318 if test -n "$OTOOL"; then
12319 ac_cv_prog_OTOOL=$OTOOL
12320 elif test -n "$ac_cv_prog_OTOOL"; then
12321 OTOOL=$ac_cv_prog_OTOOL
12324 if test -n "$ac_cv_prog_OTOOL"; then
12325 for ncn_progname in otool; do
12326 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12327 set dummy ${ncn_progname}; ac_word=$2
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12329 $as_echo_n "checking
for $ac_word...
" >&6; }
12330 if ${ac_cv_prog_OTOOL+:} false; then :
12331 $as_echo_n "(cached
) " >&6
12333 if test -n "$OTOOL"; then
12334 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12337 for as_dir in $PATH
12340 test -z "$as_dir" && as_dir=.
12341 for ac_exec_ext in '' $ac_executable_extensions; do
12342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12343 ac_cv_prog_OTOOL="${ncn_progname}"
12344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12353 OTOOL=$ac_cv_prog_OTOOL
12354 if test -n "$OTOOL"; then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12356 $as_echo "$OTOOL" >&6; }
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12359 $as_echo "no
" >&6; }
12366 for ncn_progname in otool; do
12367 if test -n "$ncn_tool_prefix"; then
12368 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12369 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12371 $as_echo_n "checking
for $ac_word...
" >&6; }
12372 if ${ac_cv_prog_OTOOL+:} false; then :
12373 $as_echo_n "(cached
) " >&6
12375 if test -n "$OTOOL"; then
12376 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12379 for as_dir in $PATH
12382 test -z "$as_dir" && as_dir=.
12383 for ac_exec_ext in '' $ac_executable_extensions; do
12384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12385 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12395 OTOOL=$ac_cv_prog_OTOOL
12396 if test -n "$OTOOL"; then
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12398 $as_echo "$OTOOL" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12401 $as_echo "no
" >&6; }
12406 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12408 set dummy ${ncn_progname}; ac_word=$2
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12410 $as_echo_n "checking
for $ac_word...
" >&6; }
12411 if ${ac_cv_prog_OTOOL+:} false; then :
12412 $as_echo_n "(cached
) " >&6
12414 if test -n "$OTOOL"; then
12415 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12421 test -z "$as_dir" && as_dir=.
12422 for ac_exec_ext in '' $ac_executable_extensions; do
12423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424 ac_cv_prog_OTOOL="${ncn_progname}"
12425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12434 OTOOL=$ac_cv_prog_OTOOL
12435 if test -n "$OTOOL"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12437 $as_echo "$OTOOL" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12440 $as_echo "no
" >&6; }
12445 test -n "$ac_cv_prog_OTOOL" && break
12448 if test -z "$ac_cv_prog_OTOOL" ; then
12450 if test $build = $host ; then
12453 OTOOL="${ncn_tool_prefix}$2"
12459 if test -n "$READELF"; then
12460 ac_cv_prog_READELF=$READELF
12461 elif test -n "$ac_cv_prog_READELF"; then
12462 READELF=$ac_cv_prog_READELF
12465 if test -n "$ac_cv_prog_READELF"; then
12466 for ncn_progname in readelf; do
12467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12468 set dummy ${ncn_progname}; ac_word=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12470 $as_echo_n "checking
for $ac_word...
" >&6; }
12471 if ${ac_cv_prog_READELF+:} false; then :
12472 $as_echo_n "(cached
) " >&6
12474 if test -n "$READELF"; then
12475 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12478 for as_dir in $PATH
12481 test -z "$as_dir" && as_dir=.
12482 for ac_exec_ext in '' $ac_executable_extensions; do
12483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12484 ac_cv_prog_READELF="${ncn_progname}"
12485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12494 READELF=$ac_cv_prog_READELF
12495 if test -n "$READELF"; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12497 $as_echo "$READELF" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12500 $as_echo "no
" >&6; }
12507 for ncn_progname in readelf; do
12508 if test -n "$ncn_tool_prefix"; then
12509 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12510 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12512 $as_echo_n "checking
for $ac_word...
" >&6; }
12513 if ${ac_cv_prog_READELF+:} false; then :
12514 $as_echo_n "(cached
) " >&6
12516 if test -n "$READELF"; then
12517 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12520 for as_dir in $PATH
12523 test -z "$as_dir" && as_dir=.
12524 for ac_exec_ext in '' $ac_executable_extensions; do
12525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12526 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
12527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12536 READELF=$ac_cv_prog_READELF
12537 if test -n "$READELF"; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12539 $as_echo "$READELF" >&6; }
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12542 $as_echo "no
" >&6; }
12547 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
12548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12549 set dummy ${ncn_progname}; ac_word=$2
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12551 $as_echo_n "checking
for $ac_word...
" >&6; }
12552 if ${ac_cv_prog_READELF+:} false; then :
12553 $as_echo_n "(cached
) " >&6
12555 if test -n "$READELF"; then
12556 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12559 for as_dir in $PATH
12562 test -z "$as_dir" && as_dir=.
12563 for ac_exec_ext in '' $ac_executable_extensions; do
12564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12565 ac_cv_prog_READELF="${ncn_progname}"
12566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12575 READELF=$ac_cv_prog_READELF
12576 if test -n "$READELF"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12578 $as_echo "$READELF" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12581 $as_echo "no
" >&6; }
12586 test -n "$ac_cv_prog_READELF" && break
12589 if test -z "$ac_cv_prog_READELF" ; then
12591 if test $build = $host ; then
12594 READELF="${ncn_tool_prefix}$2"
12605 # Check whether --with-build-time-tools was given.
12606 if test "${with_build_time_tools+set}" = set; then :
12607 withval=$with_build_time_tools; case x"$withval" in
12610 with_build_time_tools=
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
12612 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
12616 with_build_time_tools=
12622 if test -n "$CC_FOR_TARGET"; then
12623 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
12624 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12625 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12628 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12629 for ncn_progname in cc 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_CC_FOR_TARGET+:} false; then :
12635 $as_echo_n "(cached
) " >&6
12637 if test -n "$CC_FOR_TARGET"; then
12638 ac_cv_prog_CC_FOR_TARGET="$CC_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_CC_FOR_TARGET="${ncn_progname}"
12648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12657 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12658 if test -n "$CC_FOR_TARGET"; then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12660 $as_echo "$CC_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_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12671 for ncn_progname in cc 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_CC_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_CC_FOR_TARGET"; then
12687 for ncn_progname in cc 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_CC_FOR_TARGET+:} false; then :
12694 $as_echo_n "(cached
) " >&6
12696 if test -n "$CC_FOR_TARGET"; then
12697 ac_cv_prog_CC_FOR_TARGET="$CC_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_CC_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 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12717 if test -n "$CC_FOR_TARGET"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12719 $as_echo "$CC_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_CC_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_CC_FOR_TARGET+:} false; then :
12733 $as_echo_n "(cached
) " >&6
12735 if test -n "$CC_FOR_TARGET"; then
12736 ac_cv_prog_CC_FOR_TARGET="$CC_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_CC_FOR_TARGET="${ncn_progname}"
12746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12755 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12756 if test -n "$CC_FOR_TARGET"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12758 $as_echo "$CC_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_CC_FOR_TARGET" && break
12770 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
12772 if test $build = $target ; then
12775 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12778 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
12783 if test -n "$CXX_FOR_TARGET"; then
12784 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
12785 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
12786 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12789 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
12790 for ncn_progname in c++ g++ cxx gxx; do
12791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12792 set dummy ${ncn_progname}; ac_word=$2
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12794 $as_echo_n "checking
for $ac_word...
" >&6; }
12795 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12796 $as_echo_n "(cached
) " >&6
12798 if test -n "$CXX_FOR_TARGET"; then
12799 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12802 for as_dir in $PATH
12805 test -z "$as_dir" && as_dir=.
12806 for ac_exec_ext in '' $ac_executable_extensions; do
12807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12808 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
12809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12818 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12819 if test -n "$CXX_FOR_TARGET"; then
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12821 $as_echo "$CXX_FOR_TARGET" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12824 $as_echo "no
" >&6; }
12831 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
12832 for ncn_progname in c++ g++ cxx gxx; do
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12834 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12835 if test -x $with_build_time_tools/${ncn_progname}; then
12836 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12838 $as_echo "yes" >&6; }
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12842 $as_echo "no
" >&6; }
12847 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
12848 for ncn_progname in c++ g++ cxx gxx; do
12849 if test -n "$ncn_target_tool_prefix"; then
12850 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12851 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12853 $as_echo_n "checking
for $ac_word...
" >&6; }
12854 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12855 $as_echo_n "(cached
) " >&6
12857 if test -n "$CXX_FOR_TARGET"; then
12858 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12861 for as_dir in $PATH
12864 test -z "$as_dir" && as_dir=.
12865 for ac_exec_ext in '' $ac_executable_extensions; do
12866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12867 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12877 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12878 if test -n "$CXX_FOR_TARGET"; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12880 $as_echo "$CXX_FOR_TARGET" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12883 $as_echo "no
" >&6; }
12888 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
12889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12890 set dummy ${ncn_progname}; ac_word=$2
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12892 $as_echo_n "checking
for $ac_word...
" >&6; }
12893 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12894 $as_echo_n "(cached
) " >&6
12896 if test -n "$CXX_FOR_TARGET"; then
12897 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12903 test -z "$as_dir" && as_dir=.
12904 for ac_exec_ext in '' $ac_executable_extensions; do
12905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12906 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
12907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12916 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12917 if test -n "$CXX_FOR_TARGET"; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12919 $as_echo "$CXX_FOR_TARGET" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12922 $as_echo "no
" >&6; }
12927 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
12931 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
12932 set dummy c++ g++ cxx gxx
12933 if test $build = $target ; then
12934 CXX_FOR_TARGET="$2"
12936 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
12939 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
12944 if test -n "$GCC_FOR_TARGET"; then
12945 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
12946 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
12947 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12950 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
12951 for ncn_progname in gcc; do
12952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12953 set dummy ${ncn_progname}; ac_word=$2
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12955 $as_echo_n "checking
for $ac_word...
" >&6; }
12956 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
12957 $as_echo_n "(cached
) " >&6
12959 if test -n "$GCC_FOR_TARGET"; then
12960 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $PATH
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12969 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
12970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12979 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12980 if test -n "$GCC_FOR_TARGET"; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
12982 $as_echo "$GCC_FOR_TARGET" >&6; }
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12985 $as_echo "no
" >&6; }
12992 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12993 for ncn_progname in gcc; do
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12995 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12996 if test -x $with_build_time_tools/${ncn_progname}; then
12997 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12999 $as_echo "yes" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13003 $as_echo "no
" >&6; }
13008 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
13009 for ncn_progname in gcc; do
13010 if test -n "$ncn_target_tool_prefix"; then
13011 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13012 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13014 $as_echo_n "checking
for $ac_word...
" >&6; }
13015 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13016 $as_echo_n "(cached
) " >&6
13018 if test -n "$GCC_FOR_TARGET"; then
13019 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022 for as_dir in $PATH
13025 test -z "$as_dir" && as_dir=.
13026 for ac_exec_ext in '' $ac_executable_extensions; do
13027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13038 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13039 if test -n "$GCC_FOR_TARGET"; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13041 $as_echo "$GCC_FOR_TARGET" >&6; }
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13044 $as_echo "no
" >&6; }
13049 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
13050 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13051 set dummy ${ncn_progname}; ac_word=$2
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13053 $as_echo_n "checking
for $ac_word...
" >&6; }
13054 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13055 $as_echo_n "(cached
) " >&6
13057 if test -n "$GCC_FOR_TARGET"; then
13058 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13061 for as_dir in $PATH
13064 test -z "$as_dir" && as_dir=.
13065 for ac_exec_ext in '' $ac_executable_extensions; do
13066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13067 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13077 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13078 if test -n "$GCC_FOR_TARGET"; then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13080 $as_echo "$GCC_FOR_TARGET" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13083 $as_echo "no
" >&6; }
13088 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
13092 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
13093 GCC_FOR_TARGET="${CC_FOR_TARGET}"
13095 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
13100 if test -n "$GFORTRAN_FOR_TARGET"; then
13101 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
13102 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13103 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13106 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13107 for ncn_progname in gfortran; 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_GFORTRAN_FOR_TARGET+:} false; then :
13113 $as_echo_n "(cached
) " >&6
13115 if test -n "$GFORTRAN_FOR_TARGET"; then
13116 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_FOR_TARGET="${ncn_progname}"
13126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13135 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13136 if test -n "$GFORTRAN_FOR_TARGET"; then
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13138 $as_echo "$GFORTRAN_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_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
13149 for ncn_progname in gfortran; 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_GFORTRAN_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_GFORTRAN_FOR_TARGET"; then
13165 for ncn_progname in gfortran; 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_GFORTRAN_FOR_TARGET+:} false; then :
13172 $as_echo_n "(cached
) " >&6
13174 if test -n "$GFORTRAN_FOR_TARGET"; then
13175 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_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 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13195 if test -n "$GFORTRAN_FOR_TARGET"; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13197 $as_echo "$GFORTRAN_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_GFORTRAN_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_GFORTRAN_FOR_TARGET+:} false; then :
13211 $as_echo_n "(cached
) " >&6
13213 if test -n "$GFORTRAN_FOR_TARGET"; then
13214 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_FOR_TARGET="${ncn_progname}"
13224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13233 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13234 if test -n "$GFORTRAN_FOR_TARGET"; then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13236 $as_echo "$GFORTRAN_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_GFORTRAN_FOR_TARGET" && break
13248 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
13250 if test $build = $target ; then
13251 GFORTRAN_FOR_TARGET="$2"
13253 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
13256 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
13261 if test -n "$GOC_FOR_TARGET"; then
13262 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
13263 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13264 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13267 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13268 for ncn_progname in gccgo; do
13269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13270 set dummy ${ncn_progname}; ac_word=$2
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13272 $as_echo_n "checking
for $ac_word...
" >&6; }
13273 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13274 $as_echo_n "(cached
) " >&6
13276 if test -n "$GOC_FOR_TARGET"; then
13277 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13280 for as_dir in $PATH
13283 test -z "$as_dir" && as_dir=.
13284 for ac_exec_ext in '' $ac_executable_extensions; do
13285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13286 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13296 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13297 if test -n "$GOC_FOR_TARGET"; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13299 $as_echo "$GOC_FOR_TARGET" >&6; }
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13302 $as_echo "no
" >&6; }
13309 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13310 for ncn_progname in gccgo; do
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13312 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13313 if test -x $with_build_time_tools/${ncn_progname}; then
13314 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13316 $as_echo "yes" >&6; }
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13320 $as_echo "no
" >&6; }
13325 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13326 for ncn_progname in gccgo; do
13327 if test -n "$ncn_target_tool_prefix"; then
13328 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13329 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13331 $as_echo_n "checking
for $ac_word...
" >&6; }
13332 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13333 $as_echo_n "(cached
) " >&6
13335 if test -n "$GOC_FOR_TARGET"; then
13336 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13339 for as_dir in $PATH
13342 test -z "$as_dir" && as_dir=.
13343 for ac_exec_ext in '' $ac_executable_extensions; do
13344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13345 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13355 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13356 if test -n "$GOC_FOR_TARGET"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13358 $as_echo "$GOC_FOR_TARGET" >&6; }
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13361 $as_echo "no
" >&6; }
13366 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
13367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13368 set dummy ${ncn_progname}; ac_word=$2
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13370 $as_echo_n "checking
for $ac_word...
" >&6; }
13371 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13372 $as_echo_n "(cached
) " >&6
13374 if test -n "$GOC_FOR_TARGET"; then
13375 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13378 for as_dir in $PATH
13381 test -z "$as_dir" && as_dir=.
13382 for ac_exec_ext in '' $ac_executable_extensions; do
13383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13384 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13394 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13395 if test -n "$GOC_FOR_TARGET"; then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13397 $as_echo "$GOC_FOR_TARGET" >&6; }
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13400 $as_echo "no
" >&6; }
13405 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
13409 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
13411 if test $build = $target ; then
13412 GOC_FOR_TARGET="$2"
13414 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13417 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
13422 if test -n "$GDC_FOR_TARGET"; then
13423 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
13424 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13425 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13428 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13429 for ncn_progname in gdc; do
13430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13431 set dummy ${ncn_progname}; ac_word=$2
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13433 $as_echo_n "checking
for $ac_word...
" >&6; }
13434 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13435 $as_echo_n "(cached
) " >&6
13437 if test -n "$GDC_FOR_TARGET"; then
13438 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13441 for as_dir in $PATH
13444 test -z "$as_dir" && as_dir=.
13445 for ac_exec_ext in '' $ac_executable_extensions; do
13446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13447 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13457 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13458 if test -n "$GDC_FOR_TARGET"; then
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13460 $as_echo "$GDC_FOR_TARGET" >&6; }
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13463 $as_echo "no
" >&6; }
13470 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13471 for ncn_progname in gdc; do
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13473 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13474 if test -x $with_build_time_tools/${ncn_progname}; then
13475 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13477 $as_echo "yes" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13481 $as_echo "no
" >&6; }
13486 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
13487 for ncn_progname in gdc; do
13488 if test -n "$ncn_target_tool_prefix"; then
13489 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13490 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13492 $as_echo_n "checking
for $ac_word...
" >&6; }
13493 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13494 $as_echo_n "(cached
) " >&6
13496 if test -n "$GDC_FOR_TARGET"; then
13497 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13500 for as_dir in $PATH
13503 test -z "$as_dir" && as_dir=.
13504 for ac_exec_ext in '' $ac_executable_extensions; do
13505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13506 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13516 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13517 if test -n "$GDC_FOR_TARGET"; then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13519 $as_echo "$GDC_FOR_TARGET" >&6; }
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13522 $as_echo "no
" >&6; }
13527 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
13528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13529 set dummy ${ncn_progname}; ac_word=$2
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13531 $as_echo_n "checking
for $ac_word...
" >&6; }
13532 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13533 $as_echo_n "(cached
) " >&6
13535 if test -n "$GDC_FOR_TARGET"; then
13536 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13539 for as_dir in $PATH
13542 test -z "$as_dir" && as_dir=.
13543 for ac_exec_ext in '' $ac_executable_extensions; do
13544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13545 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13555 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13556 if test -n "$GDC_FOR_TARGET"; then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13558 $as_echo "$GDC_FOR_TARGET" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13561 $as_echo "no
" >&6; }
13566 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
13570 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
13572 if test $build = $target ; then
13573 GDC_FOR_TARGET="$2"
13575 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13578 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
13583 cat > conftest.c << \EOF
13588 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
13589 have_gcc_for_target=yes
13591 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
13592 have_gcc_for_target=no
13599 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13600 if test -n "$with_build_time_tools"; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
13602 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
13603 if test -x $with_build_time_tools/ar; then
13604 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
13605 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
13607 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13610 $as_echo "no
" >&6; }
13612 elif test $build != $host && test $have_gcc_for_target = yes; then
13613 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
13614 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
13615 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13618 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13619 # Extract the first word of "ar", so it can be a program name with args.
13620 set dummy ar; ac_word=$2
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13622 $as_echo_n "checking
for $ac_word...
" >&6; }
13623 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
13624 $as_echo_n "(cached
) " >&6
13626 case $AR_FOR_TARGET in
13628 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
13631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13632 for as_dir in $gcc_cv_tool_dirs
13635 test -z "$as_dir" && as_dir=.
13636 for ac_exec_ext in '' $ac_executable_extensions; do
13637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13638 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13649 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13650 if test -n "$AR_FOR_TARGET"; then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13652 $as_echo "$AR_FOR_TARGET" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13655 $as_echo "no
" >&6; }
13660 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13663 if test -n "$AR_FOR_TARGET"; then
13664 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
13665 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13666 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13669 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13670 for ncn_progname in ar; do
13671 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13672 set dummy ${ncn_progname}; ac_word=$2
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13674 $as_echo_n "checking
for $ac_word...
" >&6; }
13675 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13676 $as_echo_n "(cached
) " >&6
13678 if test -n "$AR_FOR_TARGET"; then
13679 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13682 for as_dir in $PATH
13685 test -z "$as_dir" && as_dir=.
13686 for ac_exec_ext in '' $ac_executable_extensions; do
13687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13688 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13698 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13699 if test -n "$AR_FOR_TARGET"; then
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13701 $as_echo "$AR_FOR_TARGET" >&6; }
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13704 $as_echo "no
" >&6; }
13711 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
13712 for ncn_progname in ar; do
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13714 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13715 if test -x $with_build_time_tools/${ncn_progname}; then
13716 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13718 $as_echo "yes" >&6; }
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13722 $as_echo "no
" >&6; }
13727 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
13728 for ncn_progname in ar; do
13729 if test -n "$ncn_target_tool_prefix"; then
13730 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13731 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13733 $as_echo_n "checking
for $ac_word...
" >&6; }
13734 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13735 $as_echo_n "(cached
) " >&6
13737 if test -n "$AR_FOR_TARGET"; then
13738 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13741 for as_dir in $PATH
13744 test -z "$as_dir" && as_dir=.
13745 for ac_exec_ext in '' $ac_executable_extensions; do
13746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13747 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13757 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13758 if test -n "$AR_FOR_TARGET"; then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13760 $as_echo "$AR_FOR_TARGET" >&6; }
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13763 $as_echo "no
" >&6; }
13768 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
13769 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13770 set dummy ${ncn_progname}; ac_word=$2
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13772 $as_echo_n "checking
for $ac_word...
" >&6; }
13773 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13774 $as_echo_n "(cached
) " >&6
13776 if test -n "$AR_FOR_TARGET"; then
13777 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13780 for as_dir in $PATH
13783 test -z "$as_dir" && as_dir=.
13784 for ac_exec_ext in '' $ac_executable_extensions; do
13785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13786 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13796 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13797 if test -n "$AR_FOR_TARGET"; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13799 $as_echo "$AR_FOR_TARGET" >&6; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13802 $as_echo "no
" >&6; }
13807 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
13811 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
13813 if test $build = $target ; then
13816 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
13819 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
13823 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13829 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
13830 if test -n "$with_build_time_tools"; then
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
13832 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
13833 if test -x $with_build_time_tools/as; then
13834 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
13835 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
13837 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13840 $as_echo "no
" >&6; }
13842 elif test $build != $host && test $have_gcc_for_target = yes; then
13843 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
13844 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
13845 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
13848 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13849 # Extract the first word of "as
", so it can be a program name with args.
13850 set dummy as; ac_word=$2
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13852 $as_echo_n "checking
for $ac_word...
" >&6; }
13853 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
13854 $as_echo_n "(cached
) " >&6
13856 case $AS_FOR_TARGET in
13858 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
13861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13862 for as_dir in $gcc_cv_tool_dirs
13865 test -z "$as_dir" && as_dir=.
13866 for ac_exec_ext in '' $ac_executable_extensions; do
13867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13868 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13879 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
13880 if test -n "$AS_FOR_TARGET"; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13882 $as_echo "$AS_FOR_TARGET" >&6; }
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13885 $as_echo "no
" >&6; }
13890 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
13893 if test -n "$AS_FOR_TARGET"; then
13894 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
13895 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
13896 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13899 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
13900 for ncn_progname in as; do
13901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13902 set dummy ${ncn_progname}; ac_word=$2
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13904 $as_echo_n "checking
for $ac_word...
" >&6; }
13905 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13906 $as_echo_n "(cached
) " >&6
13908 if test -n "$AS_FOR_TARGET"; then
13909 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13912 for as_dir in $PATH
13915 test -z "$as_dir" && as_dir=.
13916 for ac_exec_ext in '' $ac_executable_extensions; do
13917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13918 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
13919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13928 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13929 if test -n "$AS_FOR_TARGET"; then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13931 $as_echo "$AS_FOR_TARGET" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13934 $as_echo "no
" >&6; }
13941 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
13942 for ncn_progname in as; do
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13944 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13945 if test -x $with_build_time_tools/${ncn_progname}; then
13946 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13948 $as_echo "yes" >&6; }
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13952 $as_echo "no
" >&6; }
13957 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
13958 for ncn_progname in as; do
13959 if test -n "$ncn_target_tool_prefix"; then
13960 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13961 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13963 $as_echo_n "checking
for $ac_word...
" >&6; }
13964 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13965 $as_echo_n "(cached
) " >&6
13967 if test -n "$AS_FOR_TARGET"; then
13968 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13971 for as_dir in $PATH
13974 test -z "$as_dir" && as_dir=.
13975 for ac_exec_ext in '' $ac_executable_extensions; do
13976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13977 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13987 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13988 if test -n "$AS_FOR_TARGET"; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13990 $as_echo "$AS_FOR_TARGET" >&6; }
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13993 $as_echo "no
" >&6; }
13998 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
13999 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14000 set dummy ${ncn_progname}; ac_word=$2
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14002 $as_echo_n "checking
for $ac_word...
" >&6; }
14003 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14004 $as_echo_n "(cached
) " >&6
14006 if test -n "$AS_FOR_TARGET"; then
14007 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14013 test -z "$as_dir" && as_dir=.
14014 for ac_exec_ext in '' $ac_executable_extensions; do
14015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14026 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14027 if test -n "$AS_FOR_TARGET"; then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14029 $as_echo "$AS_FOR_TARGET" >&6; }
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14032 $as_echo "no
" >&6; }
14037 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
14041 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
14043 if test $build = $target ; then
14046 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
14049 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
14053 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14059 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14060 if test -n "$with_build_time_tools"; then
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
14062 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
14063 if test -x $with_build_time_tools/dlltool; then
14064 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
14065 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
14067 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14070 $as_echo "no
" >&6; }
14072 elif test $build != $host && test $have_gcc_for_target = yes; then
14073 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
14074 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
14075 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14078 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14079 # Extract the first word of "dlltool
", so it can be a program name with args.
14080 set dummy dlltool; ac_word=$2
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14082 $as_echo_n "checking
for $ac_word...
" >&6; }
14083 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
14084 $as_echo_n "(cached
) " >&6
14086 case $DLLTOOL_FOR_TARGET in
14088 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
14091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14092 for as_dir in $gcc_cv_tool_dirs
14095 test -z "$as_dir" && as_dir=.
14096 for ac_exec_ext in '' $ac_executable_extensions; do
14097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14098 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14109 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14110 if test -n "$DLLTOOL_FOR_TARGET"; then
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14112 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14115 $as_echo "no
" >&6; }
14120 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14123 if test -n "$DLLTOOL_FOR_TARGET"; then
14124 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14125 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14126 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14129 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14130 for ncn_progname in dlltool; do
14131 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14132 set dummy ${ncn_progname}; ac_word=$2
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14134 $as_echo_n "checking
for $ac_word...
" >&6; }
14135 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14136 $as_echo_n "(cached
) " >&6
14138 if test -n "$DLLTOOL_FOR_TARGET"; then
14139 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14142 for as_dir in $PATH
14145 test -z "$as_dir" && as_dir=.
14146 for ac_exec_ext in '' $ac_executable_extensions; do
14147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14148 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14158 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14159 if test -n "$DLLTOOL_FOR_TARGET"; then
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14161 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14164 $as_echo "no
" >&6; }
14171 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14172 for ncn_progname in dlltool; do
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14174 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14175 if test -x $with_build_time_tools/${ncn_progname}; then
14176 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14178 $as_echo "yes" >&6; }
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14182 $as_echo "no
" >&6; }
14187 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14188 for ncn_progname in dlltool; do
14189 if test -n "$ncn_target_tool_prefix"; then
14190 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14191 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14193 $as_echo_n "checking
for $ac_word...
" >&6; }
14194 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14195 $as_echo_n "(cached
) " >&6
14197 if test -n "$DLLTOOL_FOR_TARGET"; then
14198 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14201 for as_dir in $PATH
14204 test -z "$as_dir" && as_dir=.
14205 for ac_exec_ext in '' $ac_executable_extensions; do
14206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14207 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14217 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14218 if test -n "$DLLTOOL_FOR_TARGET"; then
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14220 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14223 $as_echo "no
" >&6; }
14228 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
14229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14230 set dummy ${ncn_progname}; ac_word=$2
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14232 $as_echo_n "checking
for $ac_word...
" >&6; }
14233 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14234 $as_echo_n "(cached
) " >&6
14236 if test -n "$DLLTOOL_FOR_TARGET"; then
14237 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14240 for as_dir in $PATH
14243 test -z "$as_dir" && as_dir=.
14244 for ac_exec_ext in '' $ac_executable_extensions; do
14245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14246 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14256 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14257 if test -n "$DLLTOOL_FOR_TARGET"; then
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14259 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14262 $as_echo "no
" >&6; }
14267 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
14271 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
14273 if test $build = $target ; then
14274 DLLTOOL_FOR_TARGET="$2"
14276 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14279 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
14283 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14289 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14290 if test -n "$with_build_time_tools"; then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dsymutil
in $with_build_time_tools" >&5
14292 $as_echo_n "checking
for dsymutil
in $with_build_time_tools...
" >&6; }
14293 if test -x $with_build_time_tools/dsymutil; then
14294 DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
14295 ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
14297 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14300 $as_echo "no
" >&6; }
14302 elif test $build != $host && test $have_gcc_for_target = yes; then
14303 DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
14304 test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
14305 test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14308 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14309 # Extract the first word of "dsymutil
", so it can be a program name with args.
14310 set dummy dsymutil; ac_word=$2
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14312 $as_echo_n "checking
for $ac_word...
" >&6; }
14313 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
14314 $as_echo_n "(cached
) " >&6
14316 case $DSYMUTIL_FOR_TARGET in
14318 ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
14321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14322 for as_dir in $gcc_cv_tool_dirs
14325 test -z "$as_dir" && as_dir=.
14326 for ac_exec_ext in '' $ac_executable_extensions; do
14327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14328 ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14339 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14340 if test -n "$DSYMUTIL_FOR_TARGET"; then
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14342 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14345 $as_echo "no
" >&6; }
14350 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14353 if test -n "$DSYMUTIL_FOR_TARGET"; then
14354 ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14355 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14356 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14359 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14360 for ncn_progname in dsymutil; do
14361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14362 set dummy ${ncn_progname}; ac_word=$2
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14364 $as_echo_n "checking
for $ac_word...
" >&6; }
14365 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14366 $as_echo_n "(cached
) " >&6
14368 if test -n "$DSYMUTIL_FOR_TARGET"; then
14369 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14372 for as_dir in $PATH
14375 test -z "$as_dir" && as_dir=.
14376 for ac_exec_ext in '' $ac_executable_extensions; do
14377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14378 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14388 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14389 if test -n "$DSYMUTIL_FOR_TARGET"; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14391 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14394 $as_echo "no
" >&6; }
14401 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14402 for ncn_progname in dsymutil; do
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14404 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14405 if test -x $with_build_time_tools/${ncn_progname}; then
14406 ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14408 $as_echo "yes" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14412 $as_echo "no
" >&6; }
14417 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14418 for ncn_progname in dsymutil; do
14419 if test -n "$ncn_target_tool_prefix"; then
14420 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14421 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14423 $as_echo_n "checking
for $ac_word...
" >&6; }
14424 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14425 $as_echo_n "(cached
) " >&6
14427 if test -n "$DSYMUTIL_FOR_TARGET"; then
14428 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14431 for as_dir in $PATH
14434 test -z "$as_dir" && as_dir=.
14435 for ac_exec_ext in '' $ac_executable_extensions; do
14436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14437 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14447 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14448 if test -n "$DSYMUTIL_FOR_TARGET"; then
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14450 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14453 $as_echo "no
" >&6; }
14458 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
14459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14460 set dummy ${ncn_progname}; ac_word=$2
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14462 $as_echo_n "checking
for $ac_word...
" >&6; }
14463 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14464 $as_echo_n "(cached
) " >&6
14466 if test -n "$DSYMUTIL_FOR_TARGET"; then
14467 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14473 test -z "$as_dir" && as_dir=.
14474 for ac_exec_ext in '' $ac_executable_extensions; do
14475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14476 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14486 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14487 if test -n "$DSYMUTIL_FOR_TARGET"; then
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14489 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14492 $as_echo "no
" >&6; }
14497 test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
14501 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
14503 if test $build = $target ; then
14504 DSYMUTIL_FOR_TARGET="$2"
14506 DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14509 DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
14513 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14519 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14520 if test -n "$with_build_time_tools"; then
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
14522 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
14523 if test -x $with_build_time_tools/ld; then
14524 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
14525 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
14527 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14530 $as_echo "no
" >&6; }
14532 elif test $build != $host && test $have_gcc_for_target = yes; then
14533 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
14534 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
14535 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14538 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14539 # Extract the first word of "ld
", so it can be a program name with args.
14540 set dummy ld; ac_word=$2
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14542 $as_echo_n "checking
for $ac_word...
" >&6; }
14543 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
14544 $as_echo_n "(cached
) " >&6
14546 case $LD_FOR_TARGET in
14548 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
14551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14552 for as_dir in $gcc_cv_tool_dirs
14555 test -z "$as_dir" && as_dir=.
14556 for ac_exec_ext in '' $ac_executable_extensions; do
14557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14558 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14569 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14570 if test -n "$LD_FOR_TARGET"; then
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14572 $as_echo "$LD_FOR_TARGET" >&6; }
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14575 $as_echo "no
" >&6; }
14580 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14583 if test -n "$LD_FOR_TARGET"; then
14584 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
14585 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14586 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14589 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14590 for ncn_progname in ld; do
14591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14592 set dummy ${ncn_progname}; ac_word=$2
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14594 $as_echo_n "checking
for $ac_word...
" >&6; }
14595 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14596 $as_echo_n "(cached
) " >&6
14598 if test -n "$LD_FOR_TARGET"; then
14599 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14602 for as_dir in $PATH
14605 test -z "$as_dir" && as_dir=.
14606 for ac_exec_ext in '' $ac_executable_extensions; do
14607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14608 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14618 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14619 if test -n "$LD_FOR_TARGET"; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14621 $as_echo "$LD_FOR_TARGET" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14624 $as_echo "no
" >&6; }
14631 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
14632 for ncn_progname in ld; do
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14634 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14635 if test -x $with_build_time_tools/${ncn_progname}; then
14636 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14638 $as_echo "yes" >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14642 $as_echo "no
" >&6; }
14647 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
14648 for ncn_progname in ld; do
14649 if test -n "$ncn_target_tool_prefix"; then
14650 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14651 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14653 $as_echo_n "checking
for $ac_word...
" >&6; }
14654 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14655 $as_echo_n "(cached
) " >&6
14657 if test -n "$LD_FOR_TARGET"; then
14658 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14661 for as_dir in $PATH
14664 test -z "$as_dir" && as_dir=.
14665 for ac_exec_ext in '' $ac_executable_extensions; do
14666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14667 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14677 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14678 if test -n "$LD_FOR_TARGET"; then
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14680 $as_echo "$LD_FOR_TARGET" >&6; }
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14683 $as_echo "no
" >&6; }
14688 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
14689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14690 set dummy ${ncn_progname}; ac_word=$2
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14692 $as_echo_n "checking
for $ac_word...
" >&6; }
14693 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14694 $as_echo_n "(cached
) " >&6
14696 if test -n "$LD_FOR_TARGET"; then
14697 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14700 for as_dir in $PATH
14703 test -z "$as_dir" && as_dir=.
14704 for ac_exec_ext in '' $ac_executable_extensions; do
14705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14706 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14716 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14717 if test -n "$LD_FOR_TARGET"; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14719 $as_echo "$LD_FOR_TARGET" >&6; }
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14722 $as_echo "no
" >&6; }
14727 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
14731 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
14733 if test $build = $target ; then
14736 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
14739 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
14743 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14749 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14750 if test -n "$with_build_time_tools"; then
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
14752 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
14753 if test -x $with_build_time_tools/lipo; then
14754 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
14755 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
14757 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14760 $as_echo "no
" >&6; }
14762 elif test $build != $host && test $have_gcc_for_target = yes; then
14763 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
14764 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
14765 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14768 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14769 # Extract the first word of "lipo
", so it can be a program name with args.
14770 set dummy lipo; ac_word=$2
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14772 $as_echo_n "checking
for $ac_word...
" >&6; }
14773 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
14774 $as_echo_n "(cached
) " >&6
14776 case $LIPO_FOR_TARGET in
14778 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
14781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14782 for as_dir in $gcc_cv_tool_dirs
14785 test -z "$as_dir" && as_dir=.
14786 for ac_exec_ext in '' $ac_executable_extensions; do
14787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14788 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14799 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
14800 if test -n "$LIPO_FOR_TARGET"; then
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14802 $as_echo "$LIPO_FOR_TARGET" >&6; }
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14805 $as_echo "no
" >&6; }
14810 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14813 if test -n "$LIPO_FOR_TARGET"; then
14814 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14815 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
14816 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14819 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
14820 for ncn_progname in lipo; do
14821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14822 set dummy ${ncn_progname}; ac_word=$2
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14824 $as_echo_n "checking
for $ac_word...
" >&6; }
14825 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14826 $as_echo_n "(cached
) " >&6
14828 if test -n "$LIPO_FOR_TARGET"; then
14829 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14832 for as_dir in $PATH
14835 test -z "$as_dir" && as_dir=.
14836 for ac_exec_ext in '' $ac_executable_extensions; do
14837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14838 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
14839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14848 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14849 if test -n "$LIPO_FOR_TARGET"; then
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14851 $as_echo "$LIPO_FOR_TARGET" >&6; }
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14854 $as_echo "no
" >&6; }
14861 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
14862 for ncn_progname in lipo; do
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14864 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14865 if test -x $with_build_time_tools/${ncn_progname}; then
14866 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14868 $as_echo "yes" >&6; }
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14872 $as_echo "no
" >&6; }
14877 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
14878 for ncn_progname in lipo; do
14879 if test -n "$ncn_target_tool_prefix"; then
14880 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14881 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14883 $as_echo_n "checking
for $ac_word...
" >&6; }
14884 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14885 $as_echo_n "(cached
) " >&6
14887 if test -n "$LIPO_FOR_TARGET"; then
14888 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14891 for as_dir in $PATH
14894 test -z "$as_dir" && as_dir=.
14895 for ac_exec_ext in '' $ac_executable_extensions; do
14896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14897 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14907 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14908 if test -n "$LIPO_FOR_TARGET"; then
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14910 $as_echo "$LIPO_FOR_TARGET" >&6; }
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14913 $as_echo "no
" >&6; }
14918 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
14919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14920 set dummy ${ncn_progname}; ac_word=$2
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14922 $as_echo_n "checking
for $ac_word...
" >&6; }
14923 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14924 $as_echo_n "(cached
) " >&6
14926 if test -n "$LIPO_FOR_TARGET"; then
14927 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14930 for as_dir in $PATH
14933 test -z "$as_dir" && as_dir=.
14934 for ac_exec_ext in '' $ac_executable_extensions; do
14935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14936 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
14937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14946 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14947 if test -n "$LIPO_FOR_TARGET"; then
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14949 $as_echo "$LIPO_FOR_TARGET" >&6; }
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14952 $as_echo "no
" >&6; }
14957 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
14961 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
14963 if test $build = $target ; then
14964 LIPO_FOR_TARGET="$2"
14966 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
14969 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
14973 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
14979 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
14980 if test -n "$with_build_time_tools"; then
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
14982 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
14983 if test -x $with_build_time_tools/nm; then
14984 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
14985 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
14987 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14990 $as_echo "no
" >&6; }
14992 elif test $build != $host && test $have_gcc_for_target = yes; then
14993 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
14994 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
14995 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
14998 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14999 # Extract the first word of "nm
", so it can be a program name with args.
15000 set dummy nm; ac_word=$2
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15002 $as_echo_n "checking
for $ac_word...
" >&6; }
15003 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
15004 $as_echo_n "(cached
) " >&6
15006 case $NM_FOR_TARGET in
15008 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
15011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15012 for as_dir in $gcc_cv_tool_dirs
15015 test -z "$as_dir" && as_dir=.
15016 for ac_exec_ext in '' $ac_executable_extensions; do
15017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15018 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15029 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15030 if test -n "$NM_FOR_TARGET"; then
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15032 $as_echo "$NM_FOR_TARGET" >&6; }
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15035 $as_echo "no
" >&6; }
15040 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15043 if test -n "$NM_FOR_TARGET"; then
15044 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
15045 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15046 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15049 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15050 for ncn_progname in nm; do
15051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15052 set dummy ${ncn_progname}; ac_word=$2
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15054 $as_echo_n "checking
for $ac_word...
" >&6; }
15055 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15056 $as_echo_n "(cached
) " >&6
15058 if test -n "$NM_FOR_TARGET"; then
15059 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15062 for as_dir in $PATH
15065 test -z "$as_dir" && as_dir=.
15066 for ac_exec_ext in '' $ac_executable_extensions; do
15067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15068 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15078 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15079 if test -n "$NM_FOR_TARGET"; then
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15081 $as_echo "$NM_FOR_TARGET" >&6; }
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15084 $as_echo "no
" >&6; }
15091 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
15092 for ncn_progname in nm; do
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15094 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15095 if test -x $with_build_time_tools/${ncn_progname}; then
15096 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15098 $as_echo "yes" >&6; }
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15102 $as_echo "no
" >&6; }
15107 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
15108 for ncn_progname in nm; do
15109 if test -n "$ncn_target_tool_prefix"; then
15110 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15111 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15113 $as_echo_n "checking
for $ac_word...
" >&6; }
15114 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15115 $as_echo_n "(cached
) " >&6
15117 if test -n "$NM_FOR_TARGET"; then
15118 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15121 for as_dir in $PATH
15124 test -z "$as_dir" && as_dir=.
15125 for ac_exec_ext in '' $ac_executable_extensions; do
15126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15127 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15137 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15138 if test -n "$NM_FOR_TARGET"; then
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15140 $as_echo "$NM_FOR_TARGET" >&6; }
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15143 $as_echo "no
" >&6; }
15148 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
15149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15150 set dummy ${ncn_progname}; ac_word=$2
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15152 $as_echo_n "checking
for $ac_word...
" >&6; }
15153 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15154 $as_echo_n "(cached
) " >&6
15156 if test -n "$NM_FOR_TARGET"; then
15157 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15160 for as_dir in $PATH
15163 test -z "$as_dir" && as_dir=.
15164 for ac_exec_ext in '' $ac_executable_extensions; do
15165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15166 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15176 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15177 if test -n "$NM_FOR_TARGET"; then
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15179 $as_echo "$NM_FOR_TARGET" >&6; }
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15182 $as_echo "no
" >&6; }
15187 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
15191 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
15193 if test $build = $target ; then
15196 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
15199 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
15203 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15209 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15210 if test -n "$with_build_time_tools"; then
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
15212 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
15213 if test -x $with_build_time_tools/objcopy; then
15214 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
15215 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
15217 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15220 $as_echo "no
" >&6; }
15222 elif test $build != $host && test $have_gcc_for_target = yes; then
15223 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
15224 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
15225 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15228 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15229 # Extract the first word of "objcopy
", so it can be a program name with args.
15230 set dummy objcopy; ac_word=$2
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15232 $as_echo_n "checking
for $ac_word...
" >&6; }
15233 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
15234 $as_echo_n "(cached
) " >&6
15236 case $OBJCOPY_FOR_TARGET in
15238 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
15241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15242 for as_dir in $gcc_cv_tool_dirs
15245 test -z "$as_dir" && as_dir=.
15246 for ac_exec_ext in '' $ac_executable_extensions; do
15247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15248 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15259 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15260 if test -n "$OBJCOPY_FOR_TARGET"; then
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15262 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15265 $as_echo "no
" >&6; }
15270 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15273 if test -n "$OBJCOPY_FOR_TARGET"; then
15274 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15275 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15276 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15279 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15280 for ncn_progname in objcopy; do
15281 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15282 set dummy ${ncn_progname}; ac_word=$2
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15284 $as_echo_n "checking
for $ac_word...
" >&6; }
15285 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15286 $as_echo_n "(cached
) " >&6
15288 if test -n "$OBJCOPY_FOR_TARGET"; then
15289 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15292 for as_dir in $PATH
15295 test -z "$as_dir" && as_dir=.
15296 for ac_exec_ext in '' $ac_executable_extensions; do
15297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15298 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15308 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15309 if test -n "$OBJCOPY_FOR_TARGET"; then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15311 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15314 $as_echo "no
" >&6; }
15321 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
15322 for ncn_progname in objcopy; do
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15324 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15325 if test -x $with_build_time_tools/${ncn_progname}; then
15326 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15328 $as_echo "yes" >&6; }
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15332 $as_echo "no
" >&6; }
15337 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15338 for ncn_progname in objcopy; do
15339 if test -n "$ncn_target_tool_prefix"; then
15340 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15341 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15343 $as_echo_n "checking
for $ac_word...
" >&6; }
15344 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15345 $as_echo_n "(cached
) " >&6
15347 if test -n "$OBJCOPY_FOR_TARGET"; then
15348 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15351 for as_dir in $PATH
15354 test -z "$as_dir" && as_dir=.
15355 for ac_exec_ext in '' $ac_executable_extensions; do
15356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15357 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15367 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15368 if test -n "$OBJCOPY_FOR_TARGET"; then
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15370 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15373 $as_echo "no
" >&6; }
15378 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
15379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15380 set dummy ${ncn_progname}; ac_word=$2
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15382 $as_echo_n "checking
for $ac_word...
" >&6; }
15383 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15384 $as_echo_n "(cached
) " >&6
15386 if test -n "$OBJCOPY_FOR_TARGET"; then
15387 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15390 for as_dir in $PATH
15393 test -z "$as_dir" && as_dir=.
15394 for ac_exec_ext in '' $ac_executable_extensions; do
15395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15396 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15406 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15407 if test -n "$OBJCOPY_FOR_TARGET"; then
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15409 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15412 $as_echo "no
" >&6; }
15417 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
15421 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
15423 if test $build = $target ; then
15424 OBJCOPY_FOR_TARGET="$2"
15426 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
15429 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
15433 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15439 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15440 if test -n "$with_build_time_tools"; then
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
15442 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
15443 if test -x $with_build_time_tools/objdump; then
15444 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
15445 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
15447 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15450 $as_echo "no
" >&6; }
15452 elif test $build != $host && test $have_gcc_for_target = yes; then
15453 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
15454 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
15455 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15458 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15459 # Extract the first word of "objdump
", so it can be a program name with args.
15460 set dummy objdump; ac_word=$2
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15462 $as_echo_n "checking
for $ac_word...
" >&6; }
15463 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
15464 $as_echo_n "(cached
) " >&6
15466 case $OBJDUMP_FOR_TARGET in
15468 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
15471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15472 for as_dir in $gcc_cv_tool_dirs
15475 test -z "$as_dir" && as_dir=.
15476 for ac_exec_ext in '' $ac_executable_extensions; do
15477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15478 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15489 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15490 if test -n "$OBJDUMP_FOR_TARGET"; then
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15492 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15495 $as_echo "no
" >&6; }
15500 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15503 if test -n "$OBJDUMP_FOR_TARGET"; then
15504 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15505 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15506 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15509 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15510 for ncn_progname in objdump; do
15511 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15512 set dummy ${ncn_progname}; ac_word=$2
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15514 $as_echo_n "checking
for $ac_word...
" >&6; }
15515 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15516 $as_echo_n "(cached
) " >&6
15518 if test -n "$OBJDUMP_FOR_TARGET"; then
15519 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15522 for as_dir in $PATH
15525 test -z "$as_dir" && as_dir=.
15526 for ac_exec_ext in '' $ac_executable_extensions; do
15527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15528 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15538 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15539 if test -n "$OBJDUMP_FOR_TARGET"; then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15541 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15544 $as_echo "no
" >&6; }
15551 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15552 for ncn_progname in objdump; do
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15554 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15555 if test -x $with_build_time_tools/${ncn_progname}; then
15556 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15558 $as_echo "yes" >&6; }
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15562 $as_echo "no
" >&6; }
15567 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15568 for ncn_progname in objdump; do
15569 if test -n "$ncn_target_tool_prefix"; then
15570 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15571 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15573 $as_echo_n "checking
for $ac_word...
" >&6; }
15574 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15575 $as_echo_n "(cached
) " >&6
15577 if test -n "$OBJDUMP_FOR_TARGET"; then
15578 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15581 for as_dir in $PATH
15584 test -z "$as_dir" && as_dir=.
15585 for ac_exec_ext in '' $ac_executable_extensions; do
15586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15587 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15597 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15598 if test -n "$OBJDUMP_FOR_TARGET"; then
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15600 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15603 $as_echo "no
" >&6; }
15608 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
15609 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15610 set dummy ${ncn_progname}; ac_word=$2
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15612 $as_echo_n "checking
for $ac_word...
" >&6; }
15613 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15614 $as_echo_n "(cached
) " >&6
15616 if test -n "$OBJDUMP_FOR_TARGET"; then
15617 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15620 for as_dir in $PATH
15623 test -z "$as_dir" && as_dir=.
15624 for ac_exec_ext in '' $ac_executable_extensions; do
15625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15626 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15636 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15637 if test -n "$OBJDUMP_FOR_TARGET"; then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15639 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15642 $as_echo "no
" >&6; }
15647 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
15651 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
15653 if test $build = $target ; then
15654 OBJDUMP_FOR_TARGET="$2"
15656 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
15659 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
15663 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15669 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15670 if test -n "$with_build_time_tools"; then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
15672 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
15673 if test -x $with_build_time_tools/otool; then
15674 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
15675 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
15677 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15680 $as_echo "no
" >&6; }
15682 elif test $build != $host && test $have_gcc_for_target = yes; then
15683 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
15684 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
15685 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15688 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15689 # Extract the first word of "otool
", so it can be a program name with args.
15690 set dummy otool; ac_word=$2
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15692 $as_echo_n "checking
for $ac_word...
" >&6; }
15693 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
15694 $as_echo_n "(cached
) " >&6
15696 case $OTOOL_FOR_TARGET in
15698 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
15701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15702 for as_dir in $gcc_cv_tool_dirs
15705 test -z "$as_dir" && as_dir=.
15706 for ac_exec_ext in '' $ac_executable_extensions; do
15707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15708 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15719 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15720 if test -n "$OTOOL_FOR_TARGET"; then
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15722 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15725 $as_echo "no
" >&6; }
15730 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15733 if test -n "$OTOOL_FOR_TARGET"; then
15734 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15735 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15736 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15739 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15740 for ncn_progname in otool; do
15741 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15742 set dummy ${ncn_progname}; ac_word=$2
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15744 $as_echo_n "checking
for $ac_word...
" >&6; }
15745 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15746 $as_echo_n "(cached
) " >&6
15748 if test -n "$OTOOL_FOR_TARGET"; then
15749 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15752 for as_dir in $PATH
15755 test -z "$as_dir" && as_dir=.
15756 for ac_exec_ext in '' $ac_executable_extensions; do
15757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15758 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
15759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15768 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15769 if test -n "$OTOOL_FOR_TARGET"; then
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15771 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15774 $as_echo "no
" >&6; }
15781 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
15782 for ncn_progname in otool; do
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15784 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15785 if test -x $with_build_time_tools/${ncn_progname}; then
15786 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15788 $as_echo "yes" >&6; }
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15792 $as_echo "no
" >&6; }
15797 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15798 for ncn_progname in otool; do
15799 if test -n "$ncn_target_tool_prefix"; then
15800 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15801 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15803 $as_echo_n "checking
for $ac_word...
" >&6; }
15804 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15805 $as_echo_n "(cached
) " >&6
15807 if test -n "$OTOOL_FOR_TARGET"; then
15808 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15811 for as_dir in $PATH
15814 test -z "$as_dir" && as_dir=.
15815 for ac_exec_ext in '' $ac_executable_extensions; do
15816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15817 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15827 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15828 if test -n "$OTOOL_FOR_TARGET"; then
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15830 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15833 $as_echo "no
" >&6; }
15838 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
15839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15840 set dummy ${ncn_progname}; ac_word=$2
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15842 $as_echo_n "checking
for $ac_word...
" >&6; }
15843 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15844 $as_echo_n "(cached
) " >&6
15846 if test -n "$OTOOL_FOR_TARGET"; then
15847 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15850 for as_dir in $PATH
15853 test -z "$as_dir" && as_dir=.
15854 for ac_exec_ext in '' $ac_executable_extensions; do
15855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15856 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
15857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15866 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15867 if test -n "$OTOOL_FOR_TARGET"; then
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15869 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15872 $as_echo "no
" >&6; }
15877 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
15881 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
15883 if test $build = $target ; then
15884 OTOOL_FOR_TARGET="$2"
15886 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
15889 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
15893 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15899 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
15900 if test -n "$with_build_time_tools"; then
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
15902 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
15903 if test -x $with_build_time_tools/ranlib; then
15904 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
15905 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
15907 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15910 $as_echo "no
" >&6; }
15912 elif test $build != $host && test $have_gcc_for_target = yes; then
15913 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
15914 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
15915 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15918 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15919 # Extract the first word of "ranlib
", so it can be a program name with args.
15920 set dummy ranlib; ac_word=$2
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15922 $as_echo_n "checking
for $ac_word...
" >&6; }
15923 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
15924 $as_echo_n "(cached
) " >&6
15926 case $RANLIB_FOR_TARGET in
15928 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
15931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15932 for as_dir in $gcc_cv_tool_dirs
15935 test -z "$as_dir" && as_dir=.
15936 for ac_exec_ext in '' $ac_executable_extensions; do
15937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15938 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15949 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
15950 if test -n "$RANLIB_FOR_TARGET"; then
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15952 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15955 $as_echo "no
" >&6; }
15960 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
15963 if test -n "$RANLIB_FOR_TARGET"; then
15964 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15965 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15966 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15969 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15970 for ncn_progname in ranlib; do
15971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15972 set dummy ${ncn_progname}; ac_word=$2
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15974 $as_echo_n "checking
for $ac_word...
" >&6; }
15975 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
15976 $as_echo_n "(cached
) " >&6
15978 if test -n "$RANLIB_FOR_TARGET"; then
15979 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
15981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15982 for as_dir in $PATH
15985 test -z "$as_dir" && as_dir=.
15986 for ac_exec_ext in '' $ac_executable_extensions; do
15987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15988 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
15989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15998 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15999 if test -n "$RANLIB_FOR_TARGET"; then
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16001 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16004 $as_echo "no
" >&6; }
16011 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
16012 for ncn_progname in ranlib; do
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16014 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16015 if test -x $with_build_time_tools/${ncn_progname}; then
16016 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16018 $as_echo "yes" >&6; }
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16022 $as_echo "no
" >&6; }
16027 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16028 for ncn_progname in ranlib; do
16029 if test -n "$ncn_target_tool_prefix"; then
16030 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16031 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16033 $as_echo_n "checking
for $ac_word...
" >&6; }
16034 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16035 $as_echo_n "(cached
) " >&6
16037 if test -n "$RANLIB_FOR_TARGET"; then
16038 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16041 for as_dir in $PATH
16044 test -z "$as_dir" && as_dir=.
16045 for ac_exec_ext in '' $ac_executable_extensions; do
16046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16047 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16057 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16058 if test -n "$RANLIB_FOR_TARGET"; then
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16060 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16063 $as_echo "no
" >&6; }
16068 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
16069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16070 set dummy ${ncn_progname}; ac_word=$2
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16072 $as_echo_n "checking
for $ac_word...
" >&6; }
16073 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16074 $as_echo_n "(cached
) " >&6
16076 if test -n "$RANLIB_FOR_TARGET"; then
16077 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16080 for as_dir in $PATH
16083 test -z "$as_dir" && as_dir=.
16084 for ac_exec_ext in '' $ac_executable_extensions; do
16085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16086 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16096 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16097 if test -n "$RANLIB_FOR_TARGET"; then
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16099 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16102 $as_echo "no
" >&6; }
16107 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
16111 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
16113 if test $build = $target ; then
16114 RANLIB_FOR_TARGET="$2"
16116 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
16119 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
16123 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16129 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16130 if test -n "$with_build_time_tools"; then
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
16132 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
16133 if test -x $with_build_time_tools/readelf; then
16134 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
16135 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
16137 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16140 $as_echo "no
" >&6; }
16142 elif test $build != $host && test $have_gcc_for_target = yes; then
16143 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
16144 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
16145 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16148 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16149 # Extract the first word of "readelf
", so it can be a program name with args.
16150 set dummy readelf; ac_word=$2
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16152 $as_echo_n "checking
for $ac_word...
" >&6; }
16153 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
16154 $as_echo_n "(cached
) " >&6
16156 case $READELF_FOR_TARGET in
16158 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
16161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16162 for as_dir in $gcc_cv_tool_dirs
16165 test -z "$as_dir" && as_dir=.
16166 for ac_exec_ext in '' $ac_executable_extensions; do
16167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16168 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16179 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16180 if test -n "$READELF_FOR_TARGET"; then
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16182 $as_echo "$READELF_FOR_TARGET" >&6; }
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16185 $as_echo "no
" >&6; }
16190 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16193 if test -n "$READELF_FOR_TARGET"; then
16194 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
16195 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16196 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16199 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16200 for ncn_progname in readelf; do
16201 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16202 set dummy ${ncn_progname}; ac_word=$2
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16204 $as_echo_n "checking
for $ac_word...
" >&6; }
16205 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16206 $as_echo_n "(cached
) " >&6
16208 if test -n "$READELF_FOR_TARGET"; then
16209 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16212 for as_dir in $PATH
16215 test -z "$as_dir" && as_dir=.
16216 for ac_exec_ext in '' $ac_executable_extensions; do
16217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16218 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16228 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16229 if test -n "$READELF_FOR_TARGET"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16231 $as_echo "$READELF_FOR_TARGET" >&6; }
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16234 $as_echo "no
" >&6; }
16241 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
16242 for ncn_progname in readelf; do
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16244 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16245 if test -x $with_build_time_tools/${ncn_progname}; then
16246 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16248 $as_echo "yes" >&6; }
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16252 $as_echo "no
" >&6; }
16257 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
16258 for ncn_progname in readelf; do
16259 if test -n "$ncn_target_tool_prefix"; then
16260 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16261 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16263 $as_echo_n "checking
for $ac_word...
" >&6; }
16264 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16265 $as_echo_n "(cached
) " >&6
16267 if test -n "$READELF_FOR_TARGET"; then
16268 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16271 for as_dir in $PATH
16274 test -z "$as_dir" && as_dir=.
16275 for ac_exec_ext in '' $ac_executable_extensions; do
16276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16277 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16287 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16288 if test -n "$READELF_FOR_TARGET"; then
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16290 $as_echo "$READELF_FOR_TARGET" >&6; }
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16293 $as_echo "no
" >&6; }
16298 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
16299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16300 set dummy ${ncn_progname}; ac_word=$2
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16302 $as_echo_n "checking
for $ac_word...
" >&6; }
16303 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16304 $as_echo_n "(cached
) " >&6
16306 if test -n "$READELF_FOR_TARGET"; then
16307 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16310 for as_dir in $PATH
16313 test -z "$as_dir" && as_dir=.
16314 for ac_exec_ext in '' $ac_executable_extensions; do
16315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16316 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16326 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16327 if test -n "$READELF_FOR_TARGET"; then
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16329 $as_echo "$READELF_FOR_TARGET" >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16332 $as_echo "no
" >&6; }
16337 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
16341 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
16343 if test $build = $target ; then
16344 READELF_FOR_TARGET="$2"
16346 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
16349 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
16353 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16359 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16360 if test -n "$with_build_time_tools"; then
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
16362 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
16363 if test -x $with_build_time_tools/strip; then
16364 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
16365 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
16367 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16370 $as_echo "no
" >&6; }
16372 elif test $build != $host && test $have_gcc_for_target = yes; then
16373 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
16374 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
16375 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16378 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16379 # Extract the first word of "strip
", so it can be a program name with args.
16380 set dummy strip; ac_word=$2
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16382 $as_echo_n "checking
for $ac_word...
" >&6; }
16383 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
16384 $as_echo_n "(cached
) " >&6
16386 case $STRIP_FOR_TARGET in
16388 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
16391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16392 for as_dir in $gcc_cv_tool_dirs
16395 test -z "$as_dir" && as_dir=.
16396 for ac_exec_ext in '' $ac_executable_extensions; do
16397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16398 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16409 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16410 if test -n "$STRIP_FOR_TARGET"; then
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16412 $as_echo "$STRIP_FOR_TARGET" >&6; }
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16415 $as_echo "no
" >&6; }
16420 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16423 if test -n "$STRIP_FOR_TARGET"; then
16424 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16425 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16426 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16429 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16430 for ncn_progname in strip; do
16431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16432 set dummy ${ncn_progname}; ac_word=$2
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16434 $as_echo_n "checking
for $ac_word...
" >&6; }
16435 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16436 $as_echo_n "(cached
) " >&6
16438 if test -n "$STRIP_FOR_TARGET"; then
16439 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16442 for as_dir in $PATH
16445 test -z "$as_dir" && as_dir=.
16446 for ac_exec_ext in '' $ac_executable_extensions; do
16447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16448 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16458 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16459 if test -n "$STRIP_FOR_TARGET"; then
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16461 $as_echo "$STRIP_FOR_TARGET" >&6; }
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16464 $as_echo "no
" >&6; }
16471 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
16472 for ncn_progname in strip; do
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16474 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16475 if test -x $with_build_time_tools/${ncn_progname}; then
16476 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16478 $as_echo "yes" >&6; }
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16482 $as_echo "no
" >&6; }
16487 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
16488 for ncn_progname in strip; do
16489 if test -n "$ncn_target_tool_prefix"; then
16490 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16491 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16493 $as_echo_n "checking
for $ac_word...
" >&6; }
16494 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16495 $as_echo_n "(cached
) " >&6
16497 if test -n "$STRIP_FOR_TARGET"; then
16498 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16501 for as_dir in $PATH
16504 test -z "$as_dir" && as_dir=.
16505 for ac_exec_ext in '' $ac_executable_extensions; do
16506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16507 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16517 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16518 if test -n "$STRIP_FOR_TARGET"; then
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16520 $as_echo "$STRIP_FOR_TARGET" >&6; }
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16523 $as_echo "no
" >&6; }
16528 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
16529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16530 set dummy ${ncn_progname}; ac_word=$2
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16532 $as_echo_n "checking
for $ac_word...
" >&6; }
16533 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16534 $as_echo_n "(cached
) " >&6
16536 if test -n "$STRIP_FOR_TARGET"; then
16537 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16540 for as_dir in $PATH
16543 test -z "$as_dir" && as_dir=.
16544 for ac_exec_ext in '' $ac_executable_extensions; do
16545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16546 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16556 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16557 if test -n "$STRIP_FOR_TARGET"; then
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16559 $as_echo "$STRIP_FOR_TARGET" >&6; }
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16562 $as_echo "no
" >&6; }
16567 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
16571 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
16573 if test $build = $target ; then
16574 STRIP_FOR_TARGET="$2"
16576 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16579 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
16583 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16589 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16590 if test -n "$with_build_time_tools"; then
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
16592 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
16593 if test -x $with_build_time_tools/windres; then
16594 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
16595 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
16597 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16600 $as_echo "no
" >&6; }
16602 elif test $build != $host && test $have_gcc_for_target = yes; then
16603 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
16604 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
16605 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16608 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16609 # Extract the first word of "windres
", so it can be a program name with args.
16610 set dummy windres; ac_word=$2
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16612 $as_echo_n "checking
for $ac_word...
" >&6; }
16613 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
16614 $as_echo_n "(cached
) " >&6
16616 case $WINDRES_FOR_TARGET in
16618 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
16621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16622 for as_dir in $gcc_cv_tool_dirs
16625 test -z "$as_dir" && as_dir=.
16626 for ac_exec_ext in '' $ac_executable_extensions; do
16627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16628 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16639 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16640 if test -n "$WINDRES_FOR_TARGET"; then
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16642 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16645 $as_echo "no
" >&6; }
16650 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16653 if test -n "$WINDRES_FOR_TARGET"; then
16654 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16655 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16656 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16659 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16660 for ncn_progname in windres; do
16661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16662 set dummy ${ncn_progname}; ac_word=$2
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16664 $as_echo_n "checking
for $ac_word...
" >&6; }
16665 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16666 $as_echo_n "(cached
) " >&6
16668 if test -n "$WINDRES_FOR_TARGET"; then
16669 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16672 for as_dir in $PATH
16675 test -z "$as_dir" && as_dir=.
16676 for ac_exec_ext in '' $ac_executable_extensions; do
16677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16678 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16688 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16689 if test -n "$WINDRES_FOR_TARGET"; then
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16691 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16694 $as_echo "no
" >&6; }
16701 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
16702 for ncn_progname in windres; do
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16704 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16705 if test -x $with_build_time_tools/${ncn_progname}; then
16706 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16708 $as_echo "yes" >&6; }
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16712 $as_echo "no
" >&6; }
16717 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16718 for ncn_progname in windres; do
16719 if test -n "$ncn_target_tool_prefix"; then
16720 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16721 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16723 $as_echo_n "checking
for $ac_word...
" >&6; }
16724 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16725 $as_echo_n "(cached
) " >&6
16727 if test -n "$WINDRES_FOR_TARGET"; then
16728 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16737 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16747 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16748 if test -n "$WINDRES_FOR_TARGET"; then
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16750 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16753 $as_echo "no
" >&6; }
16758 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
16759 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16760 set dummy ${ncn_progname}; ac_word=$2
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16762 $as_echo_n "checking
for $ac_word...
" >&6; }
16763 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16764 $as_echo_n "(cached
) " >&6
16766 if test -n "$WINDRES_FOR_TARGET"; then
16767 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16770 for as_dir in $PATH
16773 test -z "$as_dir" && as_dir=.
16774 for ac_exec_ext in '' $ac_executable_extensions; do
16775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16776 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16786 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16787 if test -n "$WINDRES_FOR_TARGET"; then
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16789 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16792 $as_echo "no
" >&6; }
16797 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
16801 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
16803 if test $build = $target ; then
16804 WINDRES_FOR_TARGET="$2"
16806 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
16809 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
16813 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16819 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
16820 if test -n "$with_build_time_tools"; then
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
16822 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
16823 if test -x $with_build_time_tools/windmc; then
16824 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
16825 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
16827 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16830 $as_echo "no
" >&6; }
16832 elif test $build != $host && test $have_gcc_for_target = yes; then
16833 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
16834 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
16835 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16838 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16839 # Extract the first word of "windmc
", so it can be a program name with args.
16840 set dummy windmc; ac_word=$2
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16842 $as_echo_n "checking
for $ac_word...
" >&6; }
16843 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
16844 $as_echo_n "(cached
) " >&6
16846 case $WINDMC_FOR_TARGET in
16848 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
16851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16852 for as_dir in $gcc_cv_tool_dirs
16855 test -z "$as_dir" && as_dir=.
16856 for ac_exec_ext in '' $ac_executable_extensions; do
16857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16858 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16869 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
16870 if test -n "$WINDMC_FOR_TARGET"; then
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16872 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16875 $as_echo "no
" >&6; }
16880 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
16883 if test -n "$WINDMC_FOR_TARGET"; then
16884 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16885 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16886 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16889 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16890 for ncn_progname in windmc; do
16891 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16892 set dummy ${ncn_progname}; ac_word=$2
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16894 $as_echo_n "checking
for $ac_word...
" >&6; }
16895 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16896 $as_echo_n "(cached
) " >&6
16898 if test -n "$WINDMC_FOR_TARGET"; then
16899 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16902 for as_dir in $PATH
16905 test -z "$as_dir" && as_dir=.
16906 for ac_exec_ext in '' $ac_executable_extensions; do
16907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16908 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
16909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16918 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16919 if test -n "$WINDMC_FOR_TARGET"; then
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16921 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16924 $as_echo "no
" >&6; }
16931 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
16932 for ncn_progname in windmc; do
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16934 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16935 if test -x $with_build_time_tools/${ncn_progname}; then
16936 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16938 $as_echo "yes" >&6; }
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16942 $as_echo "no
" >&6; }
16947 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16948 for ncn_progname in windmc; do
16949 if test -n "$ncn_target_tool_prefix"; then
16950 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16951 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16953 $as_echo_n "checking
for $ac_word...
" >&6; }
16954 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16955 $as_echo_n "(cached
) " >&6
16957 if test -n "$WINDMC_FOR_TARGET"; then
16958 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16961 for as_dir in $PATH
16964 test -z "$as_dir" && as_dir=.
16965 for ac_exec_ext in '' $ac_executable_extensions; do
16966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16967 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16977 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16978 if test -n "$WINDMC_FOR_TARGET"; then
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16980 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16983 $as_echo "no
" >&6; }
16988 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
16989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16990 set dummy ${ncn_progname}; ac_word=$2
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16992 $as_echo_n "checking
for $ac_word...
" >&6; }
16993 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16994 $as_echo_n "(cached
) " >&6
16996 if test -n "$WINDMC_FOR_TARGET"; then
16997 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17000 for as_dir in $PATH
17003 test -z "$as_dir" && as_dir=.
17004 for ac_exec_ext in '' $ac_executable_extensions; do
17005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17006 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17016 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17017 if test -n "$WINDMC_FOR_TARGET"; then
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17019 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17022 $as_echo "no
" >&6; }
17027 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
17031 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
17033 if test $build = $target ; then
17034 WINDMC_FOR_TARGET="$2"
17036 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
17039 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
17043 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17047 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
17050 $as_echo_n "checking where to
find the target
ar...
" >&6; }
17051 if test "x
${build}" != "x
${host}" ; then
17052 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17053 # We already found the complete path
17054 ac_dir=`dirname $AR_FOR_TARGET`
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17056 $as_echo "pre-installed
in $ac_dir" >&6; }
17058 # Canadian cross, just use what we found
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17060 $as_echo "pre-installed
" >&6; }
17064 case " ${configdirs} " in
17069 if test $ok = yes; then
17070 # An in-tree tool is available and we can use it
17071 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17073 $as_echo "just compiled
" >&6; }
17074 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17075 # We already found the complete path
17076 ac_dir=`dirname $AR_FOR_TARGET`
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17078 $as_echo "pre-installed
in $ac_dir" >&6; }
17079 elif test "x
$target" = "x
$host"; then
17080 # We can use an host tool
17081 AR_FOR_TARGET='$(AR)'
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17083 $as_echo "host tool
" >&6; }
17085 # We need a cross tool
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17087 $as_echo "pre-installed
" >&6; }
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
17092 $as_echo_n "checking where to
find the target as...
" >&6; }
17093 if test "x
${build}" != "x
${host}" ; then
17094 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17095 # We already found the complete path
17096 ac_dir=`dirname $AS_FOR_TARGET`
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17098 $as_echo "pre-installed
in $ac_dir" >&6; }
17100 # Canadian cross, just use what we found
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17102 $as_echo "pre-installed
" >&6; }
17106 case " ${configdirs} " in
17111 if test $ok = yes; then
17112 # An in-tree tool is available and we can use it
17113 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17115 $as_echo "just compiled
" >&6; }
17116 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17117 # We already found the complete path
17118 ac_dir=`dirname $AS_FOR_TARGET`
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17120 $as_echo "pre-installed
in $ac_dir" >&6; }
17121 elif test "x
$target" = "x
$host"; then
17122 # We can use an host tool
17123 AS_FOR_TARGET='$(AS)'
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17125 $as_echo "host tool
" >&6; }
17127 # We need a cross tool
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17129 $as_echo "pre-installed
" >&6; }
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
17134 $as_echo_n "checking where to
find the target cc...
" >&6; }
17135 if test "x
${build}" != "x
${host}" ; then
17136 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17137 # We already found the complete path
17138 ac_dir=`dirname $CC_FOR_TARGET`
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17140 $as_echo "pre-installed
in $ac_dir" >&6; }
17142 # Canadian cross, just use what we found
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17144 $as_echo "pre-installed
" >&6; }
17148 case " ${configdirs} " in
17153 if test $ok = yes; then
17154 # An in-tree tool is available and we can use it
17155 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17157 $as_echo "just compiled
" >&6; }
17158 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17159 # We already found the complete path
17160 ac_dir=`dirname $CC_FOR_TARGET`
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17162 $as_echo "pre-installed
in $ac_dir" >&6; }
17163 elif test "x
$target" = "x
$host"; then
17164 # We can use an host tool
17165 CC_FOR_TARGET='$(CC)'
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17167 $as_echo "host tool
" >&6; }
17169 # We need a cross tool
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17171 $as_echo "pre-installed
" >&6; }
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
17176 $as_echo_n "checking where to
find the target c
++...
" >&6; }
17177 if test "x
${build}" != "x
${host}" ; then
17178 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17179 # We already found the complete path
17180 ac_dir=`dirname $CXX_FOR_TARGET`
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17182 $as_echo "pre-installed
in $ac_dir" >&6; }
17184 # Canadian cross, just use what we found
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17186 $as_echo "pre-installed
" >&6; }
17190 case " ${configdirs} " in
17194 case ,${enable_languages}, in
17198 if test $ok = yes; then
17199 # An in-tree tool is available and we can use it
17200 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'
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17202 $as_echo "just compiled
" >&6; }
17203 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17204 # We already found the complete path
17205 ac_dir=`dirname $CXX_FOR_TARGET`
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17207 $as_echo "pre-installed
in $ac_dir" >&6; }
17208 elif test "x
$target" = "x
$host"; then
17209 # We can use an host tool
17210 CXX_FOR_TARGET='$(CXX)'
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17212 $as_echo "host tool
" >&6; }
17214 # We need a cross tool
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17216 $as_echo "pre-installed
" >&6; }
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
17221 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
17222 if test "x
${build}" != "x
${host}" ; then
17223 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17224 # We already found the complete path
17225 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17227 $as_echo "pre-installed
in $ac_dir" >&6; }
17229 # Canadian cross, just use what we found
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17231 $as_echo "pre-installed
" >&6; }
17235 case " ${configdirs} " in
17239 case ,${enable_languages}, in
17243 if test $ok = yes; then
17244 # An in-tree tool is available and we can use it
17245 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'
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17247 $as_echo "just compiled
" >&6; }
17248 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17249 # We already found the complete path
17250 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17252 $as_echo "pre-installed
in $ac_dir" >&6; }
17253 elif test "x
$target" = "x
$host"; then
17254 # We can use an host tool
17255 RAW_CXX_FOR_TARGET='$(CXX)'
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17257 $as_echo "host tool
" >&6; }
17259 # We need a cross tool
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17261 $as_echo "pre-installed
" >&6; }
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
17266 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
17267 if test "x
${build}" != "x
${host}" ; then
17268 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17269 # We already found the complete path
17270 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17272 $as_echo "pre-installed
in $ac_dir" >&6; }
17274 # Canadian cross, just use what we found
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17276 $as_echo "pre-installed
" >&6; }
17280 case " ${configdirs} " in
17285 if test $ok = yes; then
17286 # An in-tree tool is available and we can use it
17287 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17289 $as_echo "just compiled
" >&6; }
17290 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17291 # We already found the complete path
17292 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17294 $as_echo "pre-installed
in $ac_dir" >&6; }
17295 elif test "x
$target" = "x
$host"; then
17296 # We can use an host tool
17297 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17299 $as_echo "host tool
" >&6; }
17301 # We need a cross tool
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17303 $as_echo "pre-installed
" >&6; }
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dsymutil
" >&5
17308 $as_echo_n "checking where to
find the target dsymutil...
" >&6; }
17309 if test "x
${build}" != "x
${host}" ; then
17310 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17311 # We already found the complete path
17312 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17314 $as_echo "pre-installed
in $ac_dir" >&6; }
17316 # Canadian cross, just use what we found
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17318 $as_echo "pre-installed
" >&6; }
17321 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17322 # We already found the complete path
17323 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17325 $as_echo "pre-installed
in $ac_dir" >&6; }
17326 elif test "x
$target" = "x
$host"; then
17327 # We can use an host tool
17328 DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17330 $as_echo "host tool
" >&6; }
17332 # We need a cross tool
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17334 $as_echo "pre-installed
" >&6; }
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
17339 $as_echo_n "checking where to
find the target gcc...
" >&6; }
17340 if test "x
${build}" != "x
${host}" ; then
17341 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17342 # We already found the complete path
17343 ac_dir=`dirname $GCC_FOR_TARGET`
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17345 $as_echo "pre-installed
in $ac_dir" >&6; }
17347 # Canadian cross, just use what we found
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17349 $as_echo "pre-installed
" >&6; }
17353 case " ${configdirs} " in
17358 if test $ok = yes; then
17359 # An in-tree tool is available and we can use it
17360 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17362 $as_echo "just compiled
" >&6; }
17363 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17364 # We already found the complete path
17365 ac_dir=`dirname $GCC_FOR_TARGET`
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17367 $as_echo "pre-installed
in $ac_dir" >&6; }
17368 elif test "x
$target" = "x
$host"; then
17369 # We can use an host tool
17370 GCC_FOR_TARGET='$()'
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17372 $as_echo "host tool
" >&6; }
17374 # We need a cross tool
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17376 $as_echo "pre-installed
" >&6; }
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
17381 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
17382 if test "x
${build}" != "x
${host}" ; then
17383 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17384 # We already found the complete path
17385 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17387 $as_echo "pre-installed
in $ac_dir" >&6; }
17389 # Canadian cross, just use what we found
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17391 $as_echo "pre-installed
" >&6; }
17395 case " ${configdirs} " in
17399 case ,${enable_languages}, in
17403 if test $ok = yes; then
17404 # An in-tree tool is available and we can use it
17405 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17407 $as_echo "just compiled
" >&6; }
17408 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17409 # We already found the complete path
17410 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17412 $as_echo "pre-installed
in $ac_dir" >&6; }
17413 elif test "x
$target" = "x
$host"; then
17414 # We can use an host tool
17415 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17417 $as_echo "host tool
" >&6; }
17419 # We need a cross tool
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17421 $as_echo "pre-installed
" >&6; }
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
17426 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
17427 if test "x
${build}" != "x
${host}" ; then
17428 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17429 # We already found the complete path
17430 ac_dir=`dirname $GOC_FOR_TARGET`
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17432 $as_echo "pre-installed
in $ac_dir" >&6; }
17434 # Canadian cross, just use what we found
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17436 $as_echo "pre-installed
" >&6; }
17440 case " ${configdirs} " in
17444 case ,${enable_languages}, in
17448 if test $ok = yes; then
17449 # An in-tree tool is available and we can use it
17450 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17452 $as_echo "just compiled
" >&6; }
17453 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17454 # We already found the complete path
17455 ac_dir=`dirname $GOC_FOR_TARGET`
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17457 $as_echo "pre-installed
in $ac_dir" >&6; }
17458 elif test "x
$target" = "x
$host"; then
17459 # We can use an host tool
17460 GOC_FOR_TARGET='$(GOC)'
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17462 $as_echo "host tool
" >&6; }
17464 # We need a cross tool
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17466 $as_echo "pre-installed
" >&6; }
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
17471 $as_echo_n "checking where to
find the target gdc...
" >&6; }
17472 if test "x
${build}" != "x
${host}" ; then
17473 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17474 # We already found the complete path
17475 ac_dir=`dirname $GDC_FOR_TARGET`
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17477 $as_echo "pre-installed
in $ac_dir" >&6; }
17479 # Canadian cross, just use what we found
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17481 $as_echo "pre-installed
" >&6; }
17485 case " ${configdirs} " in
17489 case ,${enable_languages}, in
17493 if test $ok = yes; then
17494 # An in-tree tool is available and we can use it
17495 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17497 $as_echo "just compiled
" >&6; }
17498 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17499 # We already found the complete path
17500 ac_dir=`dirname $GDC_FOR_TARGET`
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17502 $as_echo "pre-installed
in $ac_dir" >&6; }
17503 elif test "x
$target" = "x
$host"; then
17504 # We can use an host tool
17505 GDC_FOR_TARGET='$(GDC)'
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17507 $as_echo "host tool
" >&6; }
17509 # We need a cross tool
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17511 $as_echo "pre-installed
" >&6; }
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
17516 $as_echo_n "checking where to
find the target ld...
" >&6; }
17517 if test "x
${build}" != "x
${host}" ; then
17518 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17519 # We already found the complete path
17520 ac_dir=`dirname $LD_FOR_TARGET`
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17522 $as_echo "pre-installed
in $ac_dir" >&6; }
17524 # Canadian cross, just use what we found
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17526 $as_echo "pre-installed
" >&6; }
17530 case " ${configdirs} " in
17535 if test $ok = yes; then
17536 # An in-tree tool is available and we can use it
17537 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17539 $as_echo "just compiled
" >&6; }
17540 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17541 # We already found the complete path
17542 ac_dir=`dirname $LD_FOR_TARGET`
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17544 $as_echo "pre-installed
in $ac_dir" >&6; }
17545 elif test "x
$target" = "x
$host"; then
17546 # We can use an host tool
17547 LD_FOR_TARGET='$(LD)'
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17549 $as_echo "host tool
" >&6; }
17551 # We need a cross tool
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17553 $as_echo "pre-installed
" >&6; }
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
17558 $as_echo_n "checking where to
find the target lipo...
" >&6; }
17559 if test "x
${build}" != "x
${host}" ; then
17560 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17561 # We already found the complete path
17562 ac_dir=`dirname $LIPO_FOR_TARGET`
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17564 $as_echo "pre-installed
in $ac_dir" >&6; }
17566 # Canadian cross, just use what we found
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17568 $as_echo "pre-installed
" >&6; }
17571 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17572 # We already found the complete path
17573 ac_dir=`dirname $LIPO_FOR_TARGET`
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17575 $as_echo "pre-installed
in $ac_dir" >&6; }
17576 elif test "x
$target" = "x
$host"; then
17577 # We can use an host tool
17578 LIPO_FOR_TARGET='$(LIPO)'
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17580 $as_echo "host tool
" >&6; }
17582 # We need a cross tool
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17584 $as_echo "pre-installed
" >&6; }
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
17589 $as_echo_n "checking where to
find the target nm...
" >&6; }
17590 if test "x
${build}" != "x
${host}" ; then
17591 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17592 # We already found the complete path
17593 ac_dir=`dirname $NM_FOR_TARGET`
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17595 $as_echo "pre-installed
in $ac_dir" >&6; }
17597 # Canadian cross, just use what we found
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17599 $as_echo "pre-installed
" >&6; }
17603 case " ${configdirs} " in
17608 if test $ok = yes; then
17609 # An in-tree tool is available and we can use it
17610 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17612 $as_echo "just compiled
" >&6; }
17613 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17614 # We already found the complete path
17615 ac_dir=`dirname $NM_FOR_TARGET`
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17617 $as_echo "pre-installed
in $ac_dir" >&6; }
17618 elif test "x
$target" = "x
$host"; then
17619 # We can use an host tool
17620 NM_FOR_TARGET='$(NM)'
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17622 $as_echo "host tool
" >&6; }
17624 # We need a cross tool
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17626 $as_echo "pre-installed
" >&6; }
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
17631 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
17632 if test "x
${build}" != "x
${host}" ; then
17633 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17634 # We already found the complete path
17635 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17637 $as_echo "pre-installed
in $ac_dir" >&6; }
17639 # Canadian cross, just use what we found
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17641 $as_echo "pre-installed
" >&6; }
17645 case " ${configdirs} " in
17650 if test $ok = yes; then
17651 # An in-tree tool is available and we can use it
17652 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17654 $as_echo "just compiled
" >&6; }
17655 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17656 # We already found the complete path
17657 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17659 $as_echo "pre-installed
in $ac_dir" >&6; }
17660 elif test "x
$target" = "x
$host"; then
17661 # We can use an host tool
17662 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17664 $as_echo "host tool
" >&6; }
17666 # We need a cross tool
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17668 $as_echo "pre-installed
" >&6; }
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
17673 $as_echo_n "checking where to
find the target objdump...
" >&6; }
17674 if test "x
${build}" != "x
${host}" ; then
17675 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17676 # We already found the complete path
17677 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17679 $as_echo "pre-installed
in $ac_dir" >&6; }
17681 # Canadian cross, just use what we found
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17683 $as_echo "pre-installed
" >&6; }
17687 case " ${configdirs} " in
17692 if test $ok = yes; then
17693 # An in-tree tool is available and we can use it
17694 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17696 $as_echo "just compiled
" >&6; }
17697 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17698 # We already found the complete path
17699 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17701 $as_echo "pre-installed
in $ac_dir" >&6; }
17702 elif test "x
$target" = "x
$host"; then
17703 # We can use an host tool
17704 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17706 $as_echo "host tool
" >&6; }
17708 # We need a cross tool
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17710 $as_echo "pre-installed
" >&6; }
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
17715 $as_echo_n "checking where to
find the target otool...
" >&6; }
17716 if test "x
${build}" != "x
${host}" ; then
17717 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17718 # We already found the complete path
17719 ac_dir=`dirname $OTOOL_FOR_TARGET`
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17721 $as_echo "pre-installed
in $ac_dir" >&6; }
17723 # Canadian cross, just use what we found
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17725 $as_echo "pre-installed
" >&6; }
17728 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17729 # We already found the complete path
17730 ac_dir=`dirname $OTOOL_FOR_TARGET`
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17732 $as_echo "pre-installed
in $ac_dir" >&6; }
17733 elif test "x
$target" = "x
$host"; then
17734 # We can use an host tool
17735 OTOOL_FOR_TARGET='$(OTOOL)'
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17737 $as_echo "host tool
" >&6; }
17739 # We need a cross tool
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17741 $as_echo "pre-installed
" >&6; }
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
17746 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
17747 if test "x
${build}" != "x
${host}" ; then
17748 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17749 # We already found the complete path
17750 ac_dir=`dirname $RANLIB_FOR_TARGET`
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17752 $as_echo "pre-installed
in $ac_dir" >&6; }
17754 # Canadian cross, just use what we found
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17756 $as_echo "pre-installed
" >&6; }
17760 case " ${configdirs} " in
17765 if test $ok = yes; then
17766 # An in-tree tool is available and we can use it
17767 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17769 $as_echo "just compiled
" >&6; }
17770 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17771 # We already found the complete path
17772 ac_dir=`dirname $RANLIB_FOR_TARGET`
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17774 $as_echo "pre-installed
in $ac_dir" >&6; }
17775 elif test "x
$target" = "x
$host"; then
17776 # We can use an host tool
17777 RANLIB_FOR_TARGET='$(RANLIB)'
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17779 $as_echo "host tool
" >&6; }
17781 # We need a cross tool
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17783 $as_echo "pre-installed
" >&6; }
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
17788 $as_echo_n "checking where to
find the target readelf...
" >&6; }
17789 if test "x
${build}" != "x
${host}" ; then
17790 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
17791 # We already found the complete path
17792 ac_dir=`dirname $READELF_FOR_TARGET`
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17794 $as_echo "pre-installed
in $ac_dir" >&6; }
17796 # Canadian cross, just use what we found
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17798 $as_echo "pre-installed
" >&6; }
17802 case " ${configdirs} " in
17807 if test $ok = yes; then
17808 # An in-tree tool is available and we can use it
17809 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17811 $as_echo "just compiled
" >&6; }
17812 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
17813 # We already found the complete path
17814 ac_dir=`dirname $READELF_FOR_TARGET`
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17816 $as_echo "pre-installed
in $ac_dir" >&6; }
17817 elif test "x
$target" = "x
$host"; then
17818 # We can use an host tool
17819 READELF_FOR_TARGET='$(READELF)'
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17821 $as_echo "host tool
" >&6; }
17823 # We need a cross tool
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17825 $as_echo "pre-installed
" >&6; }
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
17830 $as_echo_n "checking where to
find the target strip...
" >&6; }
17831 if test "x
${build}" != "x
${host}" ; then
17832 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
17833 # We already found the complete path
17834 ac_dir=`dirname $STRIP_FOR_TARGET`
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17836 $as_echo "pre-installed
in $ac_dir" >&6; }
17838 # Canadian cross, just use what we found
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17840 $as_echo "pre-installed
" >&6; }
17844 case " ${configdirs} " in
17849 if test $ok = yes; then
17850 # An in-tree tool is available and we can use it
17851 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17853 $as_echo "just compiled
" >&6; }
17854 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
17855 # We already found the complete path
17856 ac_dir=`dirname $STRIP_FOR_TARGET`
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17858 $as_echo "pre-installed
in $ac_dir" >&6; }
17859 elif test "x
$target" = "x
$host"; then
17860 # We can use an host tool
17861 STRIP_FOR_TARGET='$(STRIP)'
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17863 $as_echo "host tool
" >&6; }
17865 # We need a cross tool
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17867 $as_echo "pre-installed
" >&6; }
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
17872 $as_echo_n "checking where to
find the target windres...
" >&6; }
17873 if test "x
${build}" != "x
${host}" ; then
17874 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
17875 # We already found the complete path
17876 ac_dir=`dirname $WINDRES_FOR_TARGET`
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17878 $as_echo "pre-installed
in $ac_dir" >&6; }
17880 # Canadian cross, just use what we found
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17882 $as_echo "pre-installed
" >&6; }
17886 case " ${configdirs} " in
17891 if test $ok = yes; then
17892 # An in-tree tool is available and we can use it
17893 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17895 $as_echo "just compiled
" >&6; }
17896 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
17897 # We already found the complete path
17898 ac_dir=`dirname $WINDRES_FOR_TARGET`
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17900 $as_echo "pre-installed
in $ac_dir" >&6; }
17901 elif test "x
$target" = "x
$host"; then
17902 # We can use an host tool
17903 WINDRES_FOR_TARGET='$(WINDRES)'
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17905 $as_echo "host tool
" >&6; }
17907 # We need a cross tool
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17909 $as_echo "pre-installed
" >&6; }
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
17914 $as_echo_n "checking where to
find the target windmc...
" >&6; }
17915 if test "x
${build}" != "x
${host}" ; then
17916 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
17917 # We already found the complete path
17918 ac_dir=`dirname $WINDMC_FOR_TARGET`
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17920 $as_echo "pre-installed
in $ac_dir" >&6; }
17922 # Canadian cross, just use what we found
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17924 $as_echo "pre-installed
" >&6; }
17928 case " ${configdirs} " in
17933 if test $ok = yes; then
17934 # An in-tree tool is available and we can use it
17935 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17937 $as_echo "just compiled
" >&6; }
17938 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
17939 # We already found the complete path
17940 ac_dir=`dirname $WINDMC_FOR_TARGET`
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17942 $as_echo "pre-installed
in $ac_dir" >&6; }
17943 elif test "x
$target" = "x
$host"; then
17944 # We can use an host tool
17945 WINDMC_FOR_TARGET='$(WINDMC)'
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17947 $as_echo "host tool
" >&6; }
17949 # We need a cross tool
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17951 $as_echo "pre-installed
" >&6; }
17959 # Certain tools may need extra flags.
17960 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
17961 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
17962 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
17964 # When building target libraries, except in a Canadian cross, we use
17965 # the same toolchain as the compiler we just built.
17966 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
17967 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
17968 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
17969 if test $host = $build; then
17970 case " $configdirs " in
17972 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
17973 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
17974 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
17984 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
17985 # Check whether --enable-maintainer-mode was given.
17986 if test "${enable_maintainer_mode+set}" = set; then :
17987 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
17989 USE_MAINTAINER_MODE=no
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
17993 $as_echo "$USE_MAINTAINER_MODE" >&6; }
17996 if test "$USE_MAINTAINER_MODE" = yes; then
17997 MAINTAINER_MODE_TRUE=
17998 MAINTAINER_MODE_FALSE='#'
18000 MAINTAINER_MODE_TRUE='#'
18001 MAINTAINER_MODE_FALSE=
18003 MAINT=$MAINTAINER_MODE_TRUE
18005 # ---------------------
18006 # GCC bootstrap support
18007 # ---------------------
18009 # Stage specific cflags for build.
18014 yes) stage1_cflags="-g -Wa,-J" ;;
18015 *) stage1_cflags="-g -J" ;;
18021 # Enable --enable-checking in stage1 of the compiler.
18022 # Check whether --enable-stage1-checking was given.
18023 if test "${enable_stage1_checking+set}" = set; then :
18024 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
18026 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
18027 # For --disable-checking or implicit --enable-checking=release, avoid
18028 # setting --enable-checking=gc in the default stage1 checking for LTO
18029 # bootstraps. See PR62077.
18030 case $BUILD_CONFIG in
18032 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
18034 stage1_checking=--enable-checking=yes,types;;
18036 if test "x
$enable_checking" = x && \
18037 test -d ${srcdir}/gcc && \
18038 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
18039 stage1_checking=--enable-checking=yes,types,extra
18042 stage1_checking=--enable-checking=$enable_checking,types
18048 # Enable -Werror in bootstrap stage2 and later.
18049 # Check whether --enable-werror was given.
18050 if test "${enable_werror+set}" = set; then :
18051 enableval=$enable_werror;
18052 case ${enable_werror} in
18053 yes) stage2_werror_flag="--enable-werror-always" ;;
18054 *) stage2_werror_flag="" ;;
18059 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
18060 case $BUILD_CONFIG in
18062 stage2_werror_flag="--enable-werror-always" ;;
18064 stage2_werror_flag="--enable-werror-always" ;;
18073 # Specify what files to not compare during bootstrap.
18075 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
18077 hppa*64*-*-hpux*) ;;
18078 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
18079 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
18083 ac_config_files="$ac_config_files Makefile
"
18085 cat >confcache <<\_ACEOF
18086 # This file is a shell script that caches the results of configure
18087 # tests run on this system so they can be shared between configure
18088 # scripts and configure runs, see configure's option --config-cache.
18089 # It is not useful on other systems. If it contains results you don't
18090 # want to keep, you may remove or edit it.
18092 # config.status only pays attention to the cache file if you give it
18093 # the --recheck option to rerun configure.
18095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18097 # following values.
18101 # The following way of writing the cache mishandles newlines in values,
18102 # but we know of no workaround that is simple, portable, and efficient.
18103 # So, we kill variables containing newlines.
18104 # Ultrix sh set writes to stderr and can't be redirected directly,
18105 # and sets the high bit in the cache file unless we assign to the vars.
18107 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18108 eval ac_val=\$$ac_var
18112 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
18113 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
18116 _ | IFS | as_nl) ;; #(
18117 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18118 *) { eval $ac_var=; unset $ac_var;} ;;
18124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18125 *${as_nl}ac_space=\ *)
18126 # `set' does not quote correctly, so add quotes: double-quote
18127 # substitution turns \\\\ into \\, and sed turns \\ into \.
18130 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
18133 # `set' quotes correctly as required by POSIX, so do not add quotes.
18134 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
18143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18147 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18148 if test -w "$cache_file"; then
18149 if test "x
$cache_file" != "x
/dev
/null
"; then
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
18151 $as_echo "$as_me: updating cache
$cache_file" >&6;}
18152 if test ! -f "$cache_file" || test -h "$cache_file"; then
18153 cat confcache >"$cache_file"
18155 case $cache_file in #(
18157 mv -f confcache "$cache_file"$$ &&
18158 mv -f "$cache_file"$$ "$cache_file" ;; #(
18160 mv -f confcache "$cache_file" ;;
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
18166 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
18171 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
18172 # Let make expand exec_prefix.
18173 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
18175 # Transform confdefs.h into DEFS.
18176 # Protect against shell expansion while executing Makefile rules.
18177 # Protect against Makefile macro expansion.
18179 # If the first sed substitution is executed (which looks for macros that
18180 # take arguments), then branch to the quote section. Otherwise,
18181 # look for a macro that doesn't take arguments.
18191 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18193 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18197 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
18210 DEFS=`sed -n "$ac_script" confdefs.h`
18216 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18217 # 1. Remove the extension, and $U if already installed.
18218 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
18219 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18220 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18221 # will be set to the directory where LIBOBJS objects are built.
18222 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18223 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
18225 LIBOBJS=$ac_libobjs
18227 LTLIBOBJS=$ac_ltlibobjs
18231 : "${CONFIG_STATUS=./config.status}"
18233 ac_clean_files_save=$ac_clean_files
18234 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18236 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18238 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18240 # Generated by $as_me.
18241 # Run this file to recreate the current configuration.
18242 # Compiler output produced by configure, useful for debugging
18243 # configure, is in config.log if it exists.
18246 ac_cs_recheck=false
18249 SHELL=\${CONFIG_SHELL-$SHELL}
18252 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18253 ## -------------------- ##
18254 ## M4sh Initialization. ##
18255 ## -------------------- ##
18257 # Be more Bourne compatible
18258 DUALCASE=1; export DUALCASE # for MKS sh
18259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18263 # is contrary to our usage. Disable this feature.
18264 alias -g '${1+"$@"}'='"$@"'
18265 setopt NO_GLOB_SUBST
18267 case `(set -o) 2>/dev/null` in #(
18279 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18280 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18281 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
18282 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18283 # Prefer a ksh shell builtin over an external printf program on Solaris,
18284 # but without wasting forks for bash or zsh.
18285 if test -z "$BASH_VERSION$ZSH_VERSION" \
18286 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18287 as_echo
='print -r --'
18288 as_echo_n
='print -rn --'
18289 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18290 as_echo
='printf %s\n'
18291 as_echo_n
='printf %s'
18293 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18294 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
18295 as_echo_n
='/usr/ucb/echo -n'
18297 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
18298 as_echo_n_body
='eval
18302 expr "X$arg" : "X\\(.*\\)$as_nl";
18303 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18305 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18307 export as_echo_n_body
18308 as_echo_n
='sh -c $as_echo_n_body as_echo'
18310 export as_echo_body
18311 as_echo
='sh -c $as_echo_body as_echo'
18314 # The user is always right.
18315 if test "${PATH_SEPARATOR+set}" != set; then
18317 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
18318 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
18325 # We need space, tab and new line, in precisely that order. Quoting is
18326 # there to prevent editors from complaining about space-tab.
18327 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18328 # splitting by setting IFS to empty value.)
18331 # Find who we are. Look in the path if we contain no directory separator.
18334 *[\\/]* ) as_myself
=$0 ;;
18335 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18336 for as_dir
in $PATH
18339 test -z "$as_dir" && as_dir
=.
18340 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18346 # We did not find ourselves, most probably we were run as `sh COMMAND'
18347 # in which case we are not to be found in the path.
18348 if test "x$as_myself" = x
; then
18351 if test ! -f "$as_myself"; then
18352 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18356 # Unset variables that we do not need and which cause bugs (e.g. in
18357 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18358 # suppresses any "Segmentation fault" message there. '((' could
18359 # trigger a bug in pdksh 5.2.14.
18360 for as_var
in BASH_ENV ENV MAIL MAILPATH
18361 do eval test x\
${$as_var+set} = xset \
18362 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18375 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18379 # ----------------------------------------
18380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18382 # script with STATUS, using 1 if that was 0.
18385 as_status
=$1; test $as_status -eq 0 && as_status
=1
18387 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18390 $as_echo "$as_me: error: $2" >&2
18391 as_fn_exit
$as_status
18395 # as_fn_set_status STATUS
18396 # -----------------------
18397 # Set $? to STATUS, without forking.
18398 as_fn_set_status
()
18401 } # as_fn_set_status
18403 # as_fn_exit STATUS
18404 # -----------------
18405 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18409 as_fn_set_status
$1
18415 # Portably unset VAR.
18418 { eval $1=; unset $1;}
18420 as_unset
=as_fn_unset
18421 # as_fn_append VAR VALUE
18422 # ----------------------
18423 # Append the text in VALUE to the end of the definition contained in VAR. Take
18424 # advantage of any shell optimizations that allow amortized linear growth over
18425 # repeated appends, instead of the typical quadratic growth present in naive
18427 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18428 eval 'as_fn_append ()
18439 # as_fn_arith ARG...
18440 # ------------------
18441 # Perform arithmetic evaluation on the ARGs, and store the result in the
18442 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18443 # must be portable across $(()) and expr.
18444 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18445 eval 'as_fn_arith ()
18452 as_val
=`expr "$@" || test $? -eq 1`
18457 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18458 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18464 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18465 as_basename
=basename
18470 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18476 as_me
=`$as_basename -- "$0" ||
18477 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18478 X"$0" : 'X\(//\)$' \| \
18479 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18481 sed '/^.*\/\([^/][^/]*\)\/*$/{
18495 # Avoid depending upon Character Ranges.
18496 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18497 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18498 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18499 as_cr_digits
='0123456789'
18500 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18502 ECHO_C
= ECHO_N
= ECHO_T
=
18503 case `echo -n x` in #(((((
18505 case `echo 'xy\c'` in
18506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18515 rm -f conf$$ conf$$.exe conf$$.
file
18516 if test -d conf$$.dir
; then
18517 rm -f conf$$.dir
/conf$$.
file
18520 mkdir conf$$.dir
2>/dev
/null
18522 if (echo >conf$$.
file) 2>/dev
/null
; then
18523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18525 # ... but there are two gotchas:
18526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18528 # In both cases, we have to default to `cp -pR'.
18529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18540 rmdir conf$$.dir
2>/dev
/null
18545 # Create "$as_dir" as a directory, including parents if necessary.
18550 -*) as_dir
=.
/$as_dir;;
18552 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18556 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18557 *) as_qdir
=$as_dir;;
18559 as_dirs
="'$as_qdir' $as_dirs"
18560 as_dir
=`$as_dirname -- "$as_dir" ||
18561 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18562 X"$as_dir" : 'X\(//\)[^/]' \| \
18563 X"$as_dir" : 'X\(//\)$' \| \
18564 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18565 $as_echo X"$as_dir" |
18566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18570 /^X\(\/\/\)[^/].*/{
18583 test -d "$as_dir" && break
18585 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18586 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18590 if mkdir
-p .
2>/dev
/null
; then
18591 as_mkdir_p
='mkdir -p "$as_dir"'
18593 test -d .
/-p && rmdir .
/-p
18598 # as_fn_executable_p FILE
18599 # -----------------------
18600 # Test if FILE is an executable regular file.
18601 as_fn_executable_p
()
18603 test -f "$1" && test -x "$1"
18604 } # as_fn_executable_p
18605 as_test_x
='test -x'
18606 as_executable_p
=as_fn_executable_p
18608 # Sed expression to map a string onto a valid CPP name.
18609 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18611 # Sed expression to map a string onto a valid variable name.
18612 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18616 ## ----------------------------------- ##
18617 ## Main body of $CONFIG_STATUS script. ##
18618 ## ----------------------------------- ##
18620 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18623 # Save the log message, to keep $0 and so on meaningful, and to
18624 # report actual input values of CONFIG_FILES etc. instead of their
18625 # values after options handling.
18627 This file was extended by $as_me, which was
18628 generated by GNU Autoconf 2.69. Invocation command line was
18630 CONFIG_FILES = $CONFIG_FILES
18631 CONFIG_HEADERS = $CONFIG_HEADERS
18632 CONFIG_LINKS = $CONFIG_LINKS
18633 CONFIG_COMMANDS = $CONFIG_COMMANDS
18636 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18641 case $ac_config_files in *"
18642 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18648 # Files that config.status was made for.
18649 config_files="$ac_config_files"
18653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18655 \`$as_me' instantiates files and other configuration actions
18656 from templates according to the current configuration. Unless the files
18657 and actions are specified as TAGs, all are instantiated by default.
18659 Usage: $0 [OPTION]... [TAG]...
18661 -h, --help print this help, then exit
18662 -V, --version print version number and configuration settings, then exit
18663 --config print configuration, then exit
18664 -q, --quiet, --silent
18665 do not print progress messages
18666 -d, --debug don't remove temporary files
18667 --recheck update $as_me by reconfiguring in the same conditions
18668 --file=FILE[:TEMPLATE]
18669 instantiate the configuration file FILE
18671 Configuration files:
18674 Report bugs to the package provider."
18677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18678 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18681 configured by $0, generated by GNU Autoconf 2.69,
18682 with options \\"\$ac_cs_config\\"
18684 Copyright (C) 2012 Free Software Foundation, Inc.
18685 This config.status script is free software; the Free Software Foundation
18686 gives unlimited permission to copy, distribute and modify it."
18692 test -n "\$AWK" || AWK=awk
18695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18696 # The default lists apply if the user does not specify any file.
18702 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18703 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18707 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18719 # Handling of the options.
18720 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18722 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18723 $as_echo "$ac_cs_version"; exit ;;
18724 --config |
--confi |
--conf |
--con |
--co |
--c )
18725 $as_echo "$ac_cs_config"; exit ;;
18726 --debug |
--debu |
--deb |
--de |
--d |
-d )
18728 --file |
--fil |
--fi |
--f )
18731 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18732 '') as_fn_error $?
"missing file argument" ;;
18734 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18735 ac_need_defaults
=false
;;
18736 --he |
--h |
--help |
--hel |
-h )
18737 $as_echo "$ac_cs_usage"; exit ;;
18738 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18739 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18742 # This is an error.
18743 -*) as_fn_error $?
"unrecognized option: \`$1'
18744 Try \`$0 --help' for more information." ;;
18746 *) as_fn_append ac_config_targets
" $1"
18747 ac_need_defaults
=false
;;
18753 ac_configure_extra_args
=
18755 if $ac_cs_silent; then
18757 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18762 if \$ac_cs_recheck; then
18763 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18765 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18766 CONFIG_SHELL='$SHELL'
18767 export CONFIG_SHELL
18772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18776 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18777 ## Running $as_me. ##
18783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18787 extrasub_build="$extrasub_build"
18788 extrasub_host="$extrasub_host"
18789 extrasub_target="$extrasub_target"
18793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18795 # Handling of arguments.
18796 for ac_config_target
in $ac_config_targets
18798 case $ac_config_target in
18799 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18801 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18806 # If the user did not use the arguments to specify the items to instantiate,
18807 # then the envvar interface is used. Set only those that are not.
18808 # We use the long form for the default assignment because of an extremely
18809 # bizarre bug on SunOS 4.1.3.
18810 if $ac_need_defaults; then
18811 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18814 # Have a temporary directory for convenience. Make it in the build tree
18815 # simply because there is no reason against having it here, and in addition,
18816 # creating and moving files from /tmp can sometimes cause problems.
18817 # Hook for its removal unless debugging.
18818 # Note that there is a small window in which the directory will not be cleaned:
18819 # after its creation but before its name has been assigned to `$tmp'.
18823 trap 'exit_status=$?
18824 : "${ac_tmp:=$tmp}"
18825 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18827 trap 'as_fn_exit 1' 1 2 13 15
18829 # Create a (secure) tmp directory for tmp files.
18832 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18836 tmp
=.
/conf$$
-$RANDOM
18837 (umask 077 && mkdir
"$tmp")
18838 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18841 # Set up the scripts for CONFIG_FILES section.
18842 # No need to generate them if there are no CONFIG_FILES.
18843 # This happens for instance with `./config.status config.h'.
18844 if test -n "$CONFIG_FILES"; then
18846 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18847 ac_cs_awk_getline
=:
18848 ac_cs_awk_pipe_init
=
18849 ac_cs_awk_read_file
='
18850 while ((getline aline < (F[key])) > 0)
18853 ac_cs_awk_pipe_fini
=
18855 ac_cs_awk_getline
=false
18856 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18857 ac_cs_awk_read_file
='
18859 print "cat " F[key] " &&"
18860 '$ac_cs_awk_pipe_init
18861 # The final `:' finishes the AND list.
18862 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18864 ac_cr
=`echo X | tr X '\015'`
18865 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18866 # But we know of no other shell where ac_cr would be empty at this
18867 # point, so we can use a bashism as a fallback.
18868 if test "x$ac_cr" = x
; then
18869 eval ac_cr
=\$
\'\\r
\'
18871 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18872 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18875 ac_cs_awk_cr
=$ac_cr
18878 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18881 # Create commands to substitute file output variables.
18883 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18884 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18885 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18888 } >conf$
$files.sh
&&
18889 . .
/conf$
$files.sh ||
18890 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18891 rm -f conf$
$files.sh
18894 echo "cat >conf$$subs.awk <<_ACEOF" &&
18895 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18897 } >conf$$subs.sh ||
18898 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18899 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18901 for ac_last_try in false false false false false :; do
18902 . ./conf$$subs.sh ||
18903 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18905 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18906 if test $ac_delim_n = $ac_delim_num; then
18908 elif $ac_last_try; then
18909 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18911 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18914 rm -f conf$$subs.sh
18916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18917 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18921 s/^/S["/; s
/!.
*/"]=/
18931 s/\(.\{148\}\)..*/\1/
18933 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18938 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18945 s/\(.\{148\}\)..*/\1/
18947 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18951 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18956 ' <conf$$subs.awk | sed '
18961 ' >>$CONFIG_STATUS || ac_write_fail=1
18962 rm -f conf$$subs.awk
18963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18965 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18966 for (key in S) S_is_set[key] = 1
18968 \$ac_cs_awk_pipe_init
18972 nfields = split(line, field, "@
")
18974 len = length(field[1])
18975 for (i = 2; i < nfields; i++) {
18977 keylen = length(key)
18978 if (S_is_set[key]) {
18980 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18981 len += length(value) + length(field[++i])
18986 if (nfields == 3 && !substed) {
18988 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18989 \$ac_cs_awk_read_file
18995 \$ac_cs_awk_pipe_fini
18998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18999 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19000 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19003 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19004 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19007 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19008 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19009 # trailing colons and then remove the whole line if VPATH becomes empty
19010 # (actually we leave an empty line to preserve line numbers).
19011 if test "x
$srcdir" = x.; then
19012 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19031 fi # test -n "$CONFIG_FILES"
19034 eval set X " :F
$CONFIG_FILES "
19039 :[FHLC]) ac_mode=$ac_tag; continue;;
19041 case $ac_mode$ac_tag in
19043 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19044 :[FH]-) ac_tag=-:-;;
19045 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19062 -) ac_f="$ac_tmp/stdin";;
19063 *) # Look for the file first in the build tree, then in the source tree
19064 # (if the path is not absolute). The absolute path cannot be DOS-style,
19065 # because $ac_f cannot contain `:'.
19069 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19071 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19073 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19074 as_fn_append ac_file_inputs " '$ac_f'"
19077 # Let's still pretend it is `configure' which instantiates (i.e., don't
19078 # use $as_me), people would be surprised to read:
19079 # /* config.h. Generated by config.status. */
19080 configure_input='Generated from '`
19081 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19083 if test x"$ac_file" != x-; then
19084 configure_input="$ac_file.
$configure_input"
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19086 $as_echo "$as_me: creating
$ac_file" >&6;}
19088 # Neutralize special characters interpreted by sed in replacement strings.
19089 case $configure_input in #(
19090 *\&* | *\|* | *\\* )
19091 ac_sed_conf_input=`$as_echo "$configure_input" |
19092 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19093 *) ac_sed_conf_input=$configure_input;;
19097 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
19098 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
19103 ac_dir=`$as_dirname -- "$ac_file" ||
19104 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19105 X"$ac_file" : 'X\(//\)[^/]' \| \
19106 X"$ac_file" : 'X\(//\)$' \| \
19107 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19108 $as_echo X"$ac_file" |
19109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19113 /^X\(\/\/\)[^/].*/{
19126 as_dir="$ac_dir"; as_fn_mkdir_p
19130 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19132 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19133 # A "..
" for each directory in $ac_dir_suffix.
19134 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19135 case $ac_top_builddir_sub in
19136 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19137 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19140 ac_abs_top_builddir=$ac_pwd
19141 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19142 # for backward compatibility:
19143 ac_top_builddir=$ac_top_build_prefix
19146 .) # We are building in place.
19148 ac_top_srcdir=$ac_top_builddir_sub
19149 ac_abs_top_srcdir=$ac_pwd ;;
19150 [\\/]* | ?:[\\/]* ) # Absolute name.
19151 ac_srcdir=$srcdir$ac_dir_suffix;
19152 ac_top_srcdir=$srcdir
19153 ac_abs_top_srcdir=$srcdir ;;
19154 *) # Relative name.
19155 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19156 ac_top_srcdir=$ac_top_build_prefix$srcdir
19157 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19159 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19169 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19170 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19175 # If the template does not know about datarootdir, expand it.
19176 # FIXME: This hack should be removed a few years after 2.60.
19177 ac_datarootdir_hack=; ac_datarootdir_seen=
19188 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19189 *datarootdir*) ac_datarootdir_seen=yes;;
19190 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19192 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 ac_datarootdir_hack='
19196 s&@datadir@&$datadir&g
19197 s&@docdir@&$docdir&g
19198 s&@infodir@&$infodir&g
19199 s&@localedir@&$localedir&g
19200 s&@mandir@&$mandir&g
19201 s&\\\${datarootdir}&$datarootdir&g' ;;
19205 # Neutralize VPATH when `$srcdir' = `.'.
19206 # Shell code in configure.ac might set extrasub.
19207 # FIXME: do we really want to maintain this feature?
19208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19209 ac_sed_extra="$ac_vpsub
19212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19214 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19215 s|@configure_input@|
$ac_sed_conf_input|
;t t
19216 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19217 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19218 s
&@srcdir@
&$ac_srcdir&;t t
19219 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19220 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19221 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19222 s
&@builddir@
&$ac_builddir&;t t
19223 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19224 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19225 s
&@INSTALL@
&$ac_INSTALL&;t t
19226 $ac_datarootdir_hack
19228 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
19229 if $ac_cs_awk_getline; then
19230 $AWK -f "$ac_tmp/subs.
awk"
19232 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
19234 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19236 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19237 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19238 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19239 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19241 which seems to be undefined. Please make sure it is defined" >&5
19242 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19243 which seems to be undefined. Please make sure it is defined" >&2;}
19245 rm -f "$ac_tmp/stdin"
19247 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19248 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19258 case $ac_file$ac_mode in
19259 "Makefile":F) sed "$extrasub_build" Makefile |
19260 sed "$extrasub_host" |
19261 sed "$extrasub_target" > mf$$
19262 mv -f mf$$ Makefile ;;
19270 ac_clean_files=$ac_clean_files_save
19272 test $ac_write_fail = 0 ||
19273 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19276 # configure is writing to config.log, and then calls config.status.
19277 # config.status does its own redirection, appending to config.log.
19278 # Unfortunately, on DOS this fails, as config.log is still kept open
19279 # by configure, so config.status won't be able to
write to it
; its
19280 # output is simply discarded. So we exec the FD to /dev/null,
19281 # effectively closing config.log, so it can be properly (re)opened and
19282 # appended to by config.status. When coming back to configure, we
19283 # need to make the FD available again.
19284 if test "$no_create" != yes; then
19286 ac_config_status_args
=
19287 test "$silent" = yes &&
19288 ac_config_status_args
="$ac_config_status_args --quiet"
19290 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19292 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19293 # would make configure fail if this is the last instruction.
19294 $ac_cs_success || as_fn_exit
1
19296 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19298 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}