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
679 DEBUG_PREFIX_CFLAGS_FOR_TARGET
680 SYSROOT_CFLAGS_FOR_TARGET
682 extra_host_zlib_configure_flags
683 extra_host_libiberty_configure_flags
686 extra_linker_plugin_flags
687 extra_linker_plugin_configure_flags
694 extra_isl_gmp_configure_flags
695 extra_mpc_mpfr_configure_flags
696 extra_mpc_gmp_configure_flags
697 extra_mpfr_configure_flags
715 extra_liboffloadmic_configure_flags
742 TOPLEVEL_CONFIGURE_ARGUMENTS
770 program_transform_name
781 ac_subst_files
='serialization_dependencies
787 enable_option_checking
790 enable_as_accelerator_for
791 enable_offload_targets
792 enable_offload_defaulted
795 enable_compressed_debug_sections
797 enable_libquadmath_support
815 with_static_standard_libraries
822 enable_isl_version_check
824 enable_linker_plugin_configure_flags
825 enable_linker_plugin_flags
827 enable_stage1_languages
830 with_target_bdw_gc_include
831 with_target_bdw_gc_lib
832 with_gcc_major_version_only
834 with_debug_prefix_map
837 enable_serial_configure
838 with_build_time_tools
839 enable_maintainer_mode
840 enable_stage1_checking
843 ac_precious_vars
='build_alias
895 # Initialize some variables set by options.
897 ac_init_version
=false
898 ac_unrecognized_opts
=
900 # The variables have the same names as the options, with
901 # dashes changed to underlines.
909 program_transform_name
=s
,x
,x
,
917 # Installation directory options.
918 # These are left unexpanded so users can "make install exec_prefix=/foo"
919 # and all the variables that are supposed to be based on exec_prefix
920 # by default will actually change.
921 # Use braces instead of parens because sh, perl, etc. also accept them.
922 # (The list follows the same order as the GNU Coding Standards.)
923 bindir
='${exec_prefix}/bin'
924 sbindir
='${exec_prefix}/sbin'
925 libexecdir
='${exec_prefix}/libexec'
926 datarootdir
='${prefix}/share'
927 datadir
='${datarootdir}'
928 sysconfdir
='${prefix}/etc'
929 sharedstatedir
='${prefix}/com'
930 localstatedir
='${prefix}/var'
931 includedir
='${prefix}/include'
932 oldincludedir
='/usr/include'
933 docdir
='${datarootdir}/doc/${PACKAGE}'
934 infodir
='${datarootdir}/info'
939 libdir
='${exec_prefix}/lib'
940 localedir
='${datarootdir}/locale'
941 mandir
='${datarootdir}/man'
947 # If the previous option needs an argument, assign it.
948 if test -n "$ac_prev"; then
949 eval $ac_prev=\
$ac_option
955 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960 # Accept the important Cygnus configure options, so we can diagnose typos.
962 case $ac_dashdash$ac_option in
966 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
968 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
971 -build |
--build |
--buil |
--bui |
--bu)
972 ac_prev
=build_alias
;;
973 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
974 build_alias
=$ac_optarg ;;
976 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
977 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
978 ac_prev
=cache_file
;;
979 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
980 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
981 cache_file
=$ac_optarg ;;
984 cache_file
=config.cache
;;
986 -datadir |
--datadir |
--datadi |
--datad)
988 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
989 datadir
=$ac_optarg ;;
991 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
992 |
--dataroo |
--dataro |
--datar)
993 ac_prev
=datarootdir
;;
994 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
995 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
996 datarootdir
=$ac_optarg ;;
998 -disable-* |
--disable-*)
999 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1002 as_fn_error $?
"invalid feature name: $ac_useropt"
1003 ac_useropt_orig
=$ac_useropt
1004 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "enable_
$ac_useropt"
1009 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1010 ac_unrecognized_sep
=', ';;
1012 eval enable_
$ac_useropt=no
;;
1014 -docdir |
--docdir |
--docdi |
--doc |
--do)
1016 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1017 docdir
=$ac_optarg ;;
1019 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1021 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1022 dvidir
=$ac_optarg ;;
1024 -enable-* |
--enable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error $?
"invalid feature name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_
$ac_useropt"
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval enable_
$ac_useropt=\
$ac_optarg ;;
1040 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1041 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1042 |
--exec |
--exe |
--ex)
1043 ac_prev
=exec_prefix
;;
1044 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1045 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1046 |
--exec=* |
--exe=* |
--ex=*)
1047 exec_prefix
=$ac_optarg ;;
1049 -gas |
--gas |
--ga |
--g)
1050 # Obsolete; use --with-gas.
1053 -help |
--help |
--hel |
--he |
-h)
1054 ac_init_help
=long
;;
1055 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1056 ac_init_help
=recursive
;;
1057 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1058 ac_init_help
=short
;;
1060 -host |
--host |
--hos |
--ho)
1061 ac_prev
=host_alias
;;
1062 -host=* |
--host=* |
--hos=* |
--ho=*)
1063 host_alias
=$ac_optarg ;;
1065 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1067 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1069 htmldir
=$ac_optarg ;;
1071 -includedir |
--includedir |
--includedi |
--included |
--include \
1072 |
--includ |
--inclu |
--incl |
--inc)
1073 ac_prev
=includedir
;;
1074 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1075 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1076 includedir
=$ac_optarg ;;
1078 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1080 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1081 infodir
=$ac_optarg ;;
1083 -libdir |
--libdir |
--libdi |
--libd)
1085 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1086 libdir
=$ac_optarg ;;
1088 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1089 |
--libexe |
--libex |
--libe)
1090 ac_prev
=libexecdir
;;
1091 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1092 |
--libexe=* |
--libex=* |
--libe=*)
1093 libexecdir
=$ac_optarg ;;
1095 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1096 ac_prev
=localedir
;;
1097 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1098 localedir
=$ac_optarg ;;
1100 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1101 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1102 ac_prev
=localstatedir
;;
1103 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1104 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1105 localstatedir
=$ac_optarg ;;
1107 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1109 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1110 mandir
=$ac_optarg ;;
1112 -nfp |
--nfp |
--nf)
1113 # Obsolete; use --without-fp.
1116 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1117 |
--no-cr |
--no-c |
-n)
1120 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1121 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1124 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1125 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1126 |
--oldin |
--oldi |
--old |
--ol |
--o)
1127 ac_prev
=oldincludedir
;;
1128 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1129 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1130 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1131 oldincludedir
=$ac_optarg ;;
1133 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1135 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1136 prefix
=$ac_optarg ;;
1138 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1139 |
--program-pre |
--program-pr |
--program-p)
1140 ac_prev
=program_prefix
;;
1141 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1142 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1143 program_prefix
=$ac_optarg ;;
1145 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1146 |
--program-suf |
--program-su |
--program-s)
1147 ac_prev
=program_suffix
;;
1148 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1149 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1150 program_suffix
=$ac_optarg ;;
1152 -program-transform-name |
--program-transform-name \
1153 |
--program-transform-nam |
--program-transform-na \
1154 |
--program-transform-n |
--program-transform- \
1155 |
--program-transform |
--program-transfor \
1156 |
--program-transfo |
--program-transf \
1157 |
--program-trans |
--program-tran \
1158 |
--progr-tra |
--program-tr |
--program-t)
1159 ac_prev
=program_transform_name
;;
1160 -program-transform-name=* |
--program-transform-name=* \
1161 |
--program-transform-nam=* |
--program-transform-na=* \
1162 |
--program-transform-n=* |
--program-transform-=* \
1163 |
--program-transform=* |
--program-transfor=* \
1164 |
--program-transfo=* |
--program-transf=* \
1165 |
--program-trans=* |
--program-tran=* \
1166 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1167 program_transform_name
=$ac_optarg ;;
1169 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1171 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1172 pdfdir
=$ac_optarg ;;
1174 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1176 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1179 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1180 |
-silent |
--silent |
--silen |
--sile |
--sil)
1183 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1185 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1187 sbindir
=$ac_optarg ;;
1189 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1190 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1191 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1193 ac_prev
=sharedstatedir
;;
1194 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1195 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1196 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1198 sharedstatedir
=$ac_optarg ;;
1200 -site |
--site |
--sit)
1202 -site=* |
--site=* |
--sit=*)
1205 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1207 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1208 srcdir
=$ac_optarg ;;
1210 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1211 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1212 ac_prev
=sysconfdir
;;
1213 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1214 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1215 sysconfdir
=$ac_optarg ;;
1217 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1218 ac_prev
=target_alias
;;
1219 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1220 target_alias
=$ac_optarg ;;
1222 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1225 -version |
--version |
--versio |
--versi |
--vers |
-V)
1226 ac_init_version
=: ;;
1229 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1232 as_fn_error $?
"invalid package name: $ac_useropt"
1233 ac_useropt_orig
=$ac_useropt
1234 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1239 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1240 ac_unrecognized_sep
=', ';;
1242 eval with_
$ac_useropt=\
$ac_optarg ;;
1244 -without-* |
--without-*)
1245 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1248 as_fn_error $?
"invalid package name: $ac_useropt"
1249 ac_useropt_orig
=$ac_useropt
1250 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1255 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1256 ac_unrecognized_sep
=', ';;
1258 eval with_
$ac_useropt=no
;;
1261 # Obsolete; use --with-x.
1264 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1265 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1266 ac_prev
=x_includes
;;
1267 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1268 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1269 x_includes
=$ac_optarg ;;
1271 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1272 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1273 ac_prev
=x_libraries
;;
1274 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1275 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1276 x_libraries
=$ac_optarg ;;
1278 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1279 Try \`$0 --help' for more information"
1283 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 case $ac_envvar in #(
1286 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1287 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1289 eval $ac_envvar=\
$ac_optarg
1290 export $ac_envvar ;;
1293 # FIXME: should be removed in autoconf 3.0.
1294 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1295 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1296 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1297 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1303 if test -n "$ac_prev"; then
1304 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1305 as_fn_error $?
"missing argument to $ac_option"
1308 if test -n "$ac_unrecognized_opts"; then
1309 case $enable_option_checking in
1311 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1312 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316 # Check all directory arguments for consistency.
1317 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1322 eval ac_val
=\$
$ac_var
1323 # Remove trailing slashes.
1326 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\
$ac_val;;
1329 # Be sure to have absolute directory names.
1331 [\\/$
]* | ?
:[\\/]* ) continue;;
1332 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1334 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1337 # There might be people who depend on the old broken behavior: `$host'
1338 # used to hold the argument of --host etc.
1339 # FIXME: To remove some day.
1342 target
=$target_alias
1344 # FIXME: To remove some day.
1345 if test "x$host_alias" != x
; then
1346 if test "x$build_alias" = x
; then
1347 cross_compiling
=maybe
1348 elif test "x$build_alias" != "x$host_alias"; then
1354 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1356 test "$silent" = yes && exec 6>/dev
/null
1359 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di
=`ls -di .` &&
1361 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1362 as_fn_error $?
"working directory cannot be determined"
1363 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364 as_fn_error $?
"pwd does not report name of working directory"
1367 # Find the source files, if location was not specified.
1368 if test -z "$srcdir"; then
1369 ac_srcdir_defaulted
=yes
1370 # Try the directory containing this script, then the parent directory.
1371 ac_confdir
=`$as_dirname -- "$as_myself" ||
1372 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373 X"$as_myself" : 'X\(//\)[^/]' \| \
1374 X"$as_myself" : 'X\(//\)$' \| \
1375 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1376 $as_echo X"$as_myself" |
1377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1399 ac_srcdir_defaulted
=no
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1402 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1403 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1405 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1407 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1409 # When building in place, set srcdir=.
1410 if test "$ac_abs_confdir" = "$ac_pwd"; then
1413 # Remove unnecessary trailing slashes from srcdir.
1414 # Double slashes in file names in object file debugging info
1415 # mess up M-x gdb in Emacs.
1417 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 as_fn_error $?
"path to source, $srcdir, contains spaces"
1424 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1426 for ac_var
in $ac_precious_vars; do
1427 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1428 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1429 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1430 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1434 # Report the --help message.
1436 if test "$ac_init_help" = "long"; then
1437 # Omit some internal or obsolete options to make the list less imposing.
1438 # This message is too long to be a string in the A/UX 3.1 sh.
1440 \`configure' configures this package to adapt to many kinds of systems.
1442 Usage: $0 [OPTION]... [VAR=VALUE]...
1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1445 VAR=VALUE. See below for descriptions of some of the useful variables.
1447 Defaults for the options are specified in brackets.
1450 -h, --help display this help and exit
1451 --help=short display options specific to this package
1452 --help=recursive display the short help of all the included packages
1453 -V, --version display version information and exit
1454 -q, --quiet, --silent do not print \`checking ...' messages
1455 --cache-file=FILE cache test results in FILE [disabled]
1456 -C, --config-cache alias for \`--cache-file=config.cache'
1457 -n, --no-create do not create output files
1458 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1460 Installation directories:
1461 --prefix=PREFIX install architecture-independent files in PREFIX
1462 [$ac_default_prefix]
1463 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 By default, \`make install' will install all the files in
1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1469 for instance \`--prefix=\$HOME'.
1471 For better control, use the options below.
1473 Fine tuning of the installation directories:
1474 --bindir=DIR user executables [EPREFIX/bin]
1475 --sbindir=DIR system admin executables [EPREFIX/sbin]
1476 --libexecdir=DIR program executables [EPREFIX/libexec]
1477 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1478 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1479 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1480 --libdir=DIR object code libraries [EPREFIX/lib]
1481 --includedir=DIR C header files [PREFIX/include]
1482 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1483 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1484 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1485 --infodir=DIR info documentation [DATAROOTDIR/info]
1486 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1487 --mandir=DIR man documentation [DATAROOTDIR/man]
1488 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1489 --htmldir=DIR html documentation [DOCDIR]
1490 --dvidir=DIR dvi documentation [DOCDIR]
1491 --pdfdir=DIR pdf documentation [DOCDIR]
1492 --psdir=DIR ps documentation [DOCDIR]
1498 --program-prefix=PREFIX prepend PREFIX to installed program names
1499 --program-suffix=SUFFIX append SUFFIX to installed program names
1500 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1503 --build=BUILD configure
for building on BUILD
[guessed
]
1504 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1505 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1509 if test -n "$ac_init_help"; then
1514 --disable-option-checking ignore unrecognized
--enable/--with options
1515 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1516 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1517 --enable-as-accelerator-for=ARG
1518 build as offload target compiler. Specify offload
1520 --enable-offload-targets=LIST
1521 enable offloading to devices from comma-separated
1522 LIST of TARGET
[=DIR
]. Use optional path to
find
1523 offload target compiler during the build
1524 --enable-offload-defaulted
1525 If enabled
, configured but not installed offload compilers and
1526 libgomp plugins are silently ignored. Useful
for distribution
1527 compilers where those are
in separate optional packages.
1529 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1530 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1531 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1532 Enable compressed debug sections
for gas
, gold or ld
1534 --disable-libquadmath do not build libquadmath directory
1535 --disable-libquadmath-support
1536 disable libquadmath support
for Fortran
1537 --enable-libada build libada directory
1538 --enable-libssp build libssp directory
1539 --disable-libstdcxx do not build libstdc
++-v3 directory
1540 --enable-liboffloadmic=ARG
1541 build liboffloadmic
[ARG
={no
,host,target
}]
1542 --enable-bootstrap enable bootstrapping
[yes if native build
]
1543 --disable-isl-version-check
1544 disable check
for isl version
1545 --enable-lto enable link
time optimization support
1546 --enable-linker-plugin-configure-flags=FLAGS
1547 additional flags
for configuring linker plugins
1549 --enable-linker-plugin-flags=FLAGS
1550 additional flags
for configuring and building linker
1552 --enable-host-shared build
host code as shared libraries
1553 --enable-stage1-languages[=all
]
1554 choose additional languages to build during stage1.
1555 Mostly useful
for compiler development
1556 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1558 --enable-vtable-verify Enable vtable verification feature
1559 --enable-serial-[{host,target,build}-]configure
1560 force sequential configuration of sub-packages for
1561 the host, target or build machine, or all
1563 --enable-maintainer-mode
1564 enable make rules and dependencies not useful (and
1565 sometimes confusing) to the casual installer
1566 --enable-stage1-checking[=all]
1567 choose additional checking for stage1 of the
1569 --enable-werror enable -Werror in bootstrap stage2 and later
1572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1574 --with-build-libsubdir=DIR Directory where to find libraries for build system
1575 --with-system-zlib use installed libz
1576 --with-mpc=PATH specify prefix directory for installed MPC package.
1577 Equivalent to --with-mpc-include=PATH/include plus
1578 --with-mpc-lib=PATH/lib
1579 --with-mpc-include=PATH specify directory for installed MPC include files
1580 --with-mpc-lib=PATH specify directory for the installed MPC library
1581 --with-mpfr-dir=PATH this option has been REMOVED
1582 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1583 Equivalent to --with-mpfr-include=PATH/include plus
1584 --with-mpfr-lib=PATH/lib
1585 --with-mpfr-include=PATH
1586 specify directory for installed MPFR include files
1587 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1588 --with-gmp-dir=PATH this option has been REMOVED
1589 --with-gmp=PATH specify prefix directory for the installed GMP
1590 package. Equivalent to
1591 --with-gmp-include=PATH/include plus
1592 --with-gmp-lib=PATH/lib
1593 --with-gmp-include=PATH specify directory for installed GMP include files
1594 --with-gmp-lib=PATH specify directory for the installed GMP library
1595 --with-stage1-libs=LIBS libraries for stage1
1596 --with-static-standard-libraries
1597 use -static-libstdc++ and -static-libgcc
1599 --with-stage1-ldflags=FLAGS
1600 linker flags for stage1
1601 --with-boot-libs=LIBS libraries for stage2 and later
1602 --with-boot-ldflags=FLAGS
1603 linker flags for stage2 and later
1604 --with-isl=PATH Specify prefix directory for the installed isl
1605 package. Equivalent to
1606 --with-isl-include=PATH/include plus
1607 --with-isl-lib=PATH/lib
1608 --with-isl-include=PATH Specify directory for installed isl include files
1609 --with-isl-lib=PATH Specify the directory for the installed isl library
1610 --with-target-bdw-gc=PATHLIST
1611 specify prefix directory for installed bdw-gc
1612 package. Equivalent to
1613 --with-target-bdw-gc-include=PATH/include plus
1614 --with-target-bdw-gc-lib=PATH/lib
1615 --with-target-bdw-gc-include=PATHLIST
1616 specify directories for installed bdw-gc include
1618 --with-target-bdw-gc-lib=PATHLIST
1619 specify directories for installed bdw-gc library
1620 --with-gcc-major-version-only
1621 use only GCC major number in filesystem paths
1622 --with-build-sysroot=SYSROOT
1623 use sysroot as the system root during the build
1624 --with-debug-prefix-map='A
=B C
=D ...
'
1625 map A to B, C to D ... in debug information
1626 --with-build-config='NAME NAME2...
'
1627 use config/NAME.mk build configuration
1628 --with-build-time-tools=PATH
1629 use given path to find target tools during the build
1631 Some influential environment variables:
1632 CC C compiler command
1633 CFLAGS C compiler flags
1634 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1635 nonstandard directory <lib dir>
1636 LIBS libraries to pass to the linker, e.g. -l<library>
1637 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1638 you have headers in a nonstandard directory <include dir>
1639 CXX C++ compiler command
1640 CXXFLAGS C++ compiler flags
1642 additional configure arguments for build directories
1644 additional configure arguments for host directories
1646 additional configure arguments for target directories
1649 DLLTOOL DLLTOOL for the host
1650 DSYMUTIL DSYMUTIL for the host
1652 LIPO LIPO for the host
1654 RANLIB RANLIB for the host
1655 STRIP STRIP for the host
1656 WINDRES WINDRES for the host
1657 WINDMC WINDMC for the host
1658 OBJCOPY OBJCOPY for the host
1659 OBJDUMP OBJDUMP for the host
1660 OTOOL OTOOL for the host
1661 READELF READELF for the host
1669 GFORTRAN for the target
1679 DLLTOOL for the target
1681 DSYMUTIL for the target
1689 OBJCOPY for the target
1691 OBJDUMP for the target
1693 OTOOL for the target
1695 RANLIB for the target
1697 READELF for the target
1699 STRIP for the target
1701 WINDRES for the target
1703 WINDMC for the target
1705 Use these variables to override the choices made by `configure' or to
help
1706 it to
find libraries and programs with nonstandard names
/locations.
1708 Report bugs to the package provider.
1713 if test "$ac_init_help" = "recursive"; then
1714 # If there are subdirs, report their specific --help.
1715 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1716 test -d "$ac_dir" ||
1717 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1722 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1724 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1725 # A ".." for each directory in $ac_dir_suffix.
1726 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1727 case $ac_top_builddir_sub in
1728 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1729 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1732 ac_abs_top_builddir
=$ac_pwd
1733 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1734 # for backward compatibility:
1735 ac_top_builddir
=$ac_top_build_prefix
1738 .
) # We are building in place.
1740 ac_top_srcdir
=$ac_top_builddir_sub
1741 ac_abs_top_srcdir
=$ac_pwd ;;
1742 [\\/]* | ?
:[\\/]* ) # Absolute name.
1743 ac_srcdir
=$srcdir$ac_dir_suffix;
1744 ac_top_srcdir
=$srcdir
1745 ac_abs_top_srcdir
=$srcdir ;;
1747 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1748 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1749 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1751 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1753 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1754 # Check for guested configure.
1755 if test -f "$ac_srcdir/configure.gnu"; then
1757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1758 elif test -f "$ac_srcdir/configure"; then
1760 $SHELL "$ac_srcdir/configure" --help=recursive
1762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1764 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1768 test -n "$ac_init_help" && exit $ac_status
1769 if $ac_init_version; then
1772 generated by GNU Autoconf
2.69
1774 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1775 This configure
script is free software
; the Free Software Foundation
1776 gives unlimited permission to copy
, distribute and modify it.
1781 ## ------------------------ ##
1782 ## Autoconf initialization. ##
1783 ## ------------------------ ##
1785 # ac_fn_c_try_compile LINENO
1786 # --------------------------
1787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_compile
()
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 rm -f conftest.
$ac_objext
1792 if { { ac_try
="$ac_compile"
1794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_compile") 2>conftest.err
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest.$ac_objext; then :
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1821 } # ac_fn_c_try_compile
1823 # ac_fn_cxx_try_compile LINENO
1824 # ----------------------------
1825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1826 ac_fn_cxx_try_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 rm -f conftest.$ac_objext
1830 if { { ac_try="$ac_compile"
1832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1833 *) ac_try_echo
=$ac_try;;
1835 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_compile") 2>conftest.err
1839 if test -s conftest.err
; then
1840 grep -v '^ *+' conftest.err
>conftest.er1
1841 cat conftest.er1
>&5
1842 mv -f conftest.er1 conftest.err
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } && {
1846 test -z "$ac_cxx_werror_flag" ||
1847 test ! -s conftest.err
1848 } && test -s conftest.
$ac_objext; then :
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status
$ac_retval
1859 } # ac_fn_cxx_try_compile
1861 # ac_fn_cxx_try_link LINENO
1862 # -------------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_cxx_try_link
()
1866 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1867 rm -f conftest.
$ac_objext conftest
$ac_exeext
1868 if { { ac_try
="$ac_link"
1870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>conftest.err
1877 if test -s conftest.err; then
1878 grep -v '^ *+' conftest.err >conftest.er1
1879 cat conftest.er1 >&5
1880 mv -f conftest.er1 conftest.err
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; } && {
1884 test -z "$ac_cxx_werror_flag" ||
1885 test ! -s conftest.err
1886 } && test -s conftest$ac_exeext && {
1887 test "$cross_compiling" = yes ||
1888 test -x conftest$ac_exeext
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1897 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1898 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1899 # interfere with the next link command; also delete a directory that is
1900 # left behind by Apple's compiler. We do this before executing the actions.
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 as_fn_set_status $ac_retval
1905 } # ac_fn_cxx_try_link
1907 # ac_fn_c_try_link LINENO
1908 # -----------------------
1909 # Try to link conftest.$ac_ext, and return whether this succeeded.
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 rm -f conftest.$ac_objext conftest$ac_exeext
1914 if { { ac_try="$ac_link"
1916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1917 *) ac_try_echo
=$ac_try;;
1919 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1920 $as_echo "$ac_try_echo"; } >&5
1921 (eval "$ac_link") 2>conftest.err
1923 if test -s conftest.err
; then
1924 grep -v '^ *+' conftest.err
>conftest.er1
1925 cat conftest.er1
>&5
1926 mv -f conftest.er1 conftest.err
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; } && {
1930 test -z "$ac_c_werror_flag" ||
1931 test ! -s conftest.err
1932 } && test -s conftest
$ac_exeext && {
1933 test "$cross_compiling" = yes ||
1934 test -x conftest
$ac_exeext
1938 $as_echo "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.
$ac_ext >&5
1943 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1944 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1945 # interfere with the next link command; also delete a directory that is
1946 # left behind by Apple's compiler. We do this before executing the actions.
1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1949 as_fn_set_status
$ac_retval
1951 } # ac_fn_c_try_link
1952 cat >config.log
<<_ACEOF
1953 This file contains any messages produced by compilers while
1954 running configure, to aid debugging if configure makes a mistake.
1956 It was created by $as_me, which was
1957 generated by GNU Autoconf 2.69. Invocation command line was
1969 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1970 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1971 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1972 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1973 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1975 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1976 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1978 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1979 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1980 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1981 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1982 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1983 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1984 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir
=.
1993 $as_echo "PATH: $as_dir"
2009 # Keep a trace of the command line.
2010 # Strip out --no-create and --no-recursion so they do not pile up.
2011 # Strip out --silent because we don't want to record it for future runs.
2012 # Also quote any args containing shell meta-characters.
2013 # Make two passes to allow for proper duplicate-argument suppression.
2017 ac_must_keep_next
=false
2023 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2024 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2025 |
-silent |
--silent |
--silen |
--sile |
--sil)
2028 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2031 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2033 as_fn_append ac_configure_args1
" '$ac_arg'"
2034 if test $ac_must_keep_next = true
; then
2035 ac_must_keep_next
=false
# Got value, back to normal.
2038 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2039 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2040 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2041 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2042 case "$ac_configure_args0 " in
2043 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2046 -* ) ac_must_keep_next
=true
;;
2049 as_fn_append ac_configure_args
" '$ac_arg'"
2054 { ac_configure_args0
=; unset ac_configure_args0
;}
2055 { ac_configure_args1
=; unset ac_configure_args1
;}
2057 # When interrupted or exit'd, cleanup temporary files, and complete
2058 # config.log. We remove comments because anyway the quotes in there
2059 # would cause problems or look ugly.
2060 # WARNING: Use '\'' to represent an apostrophe within the trap.
2061 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2062 trap 'exit_status=$?
2063 # Save into config.log some information that might help in debugging.
2067 $as_echo "## ---------------- ##
2068 ## Cache variables. ##
2069 ## ---------------- ##"
2071 # The following way of writing the cache mishandles newlines in values,
2073 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2074 eval ac_val=\$$ac_var
2078 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2079 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2082 _ | IFS | as_nl) ;; #(
2083 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2084 *) { eval $ac_var=; unset $ac_var;} ;;
2089 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2090 *${as_nl}ac_space=\ *)
2092 "s/'\''/'\''\\\\'\'''\''/g;
2093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2103 $as_echo "## ----------------- ##
2104 ## Output variables. ##
2105 ## ----------------- ##"
2107 for ac_var in $ac_subst_vars
2109 eval ac_val=\$$ac_var
2111 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2117 if test -n "$ac_subst_files"; then
2118 $as_echo "## ------------------- ##
2119 ## File substitutions. ##
2120 ## ------------------- ##"
2122 for ac_var
in $ac_subst_files
2124 eval ac_val
=\$
$ac_var
2126 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2128 $as_echo "$ac_var='\''$ac_val'\''"
2133 if test -s confdefs.h; then
2134 $as_echo "## ----------- ##
2141 test "$ac_signal" != 0 &&
2142 $as_echo "$as_me: caught signal $ac_signal"
2143 $as_echo "$as_me: exit $exit_status"
2145 rm -f core *.core core.conftest.* &&
2146 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2149 for ac_signal
in 1 2 13 15; do
2150 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2155 rm -f -r conftest
* confdefs.h
2157 $as_echo "/* confdefs.h */" > confdefs.h
2159 # Predefined preprocessor variables.
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_NAME "$PACKAGE_NAME"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2169 cat >>confdefs.h
<<_ACEOF
2170 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2173 cat >>confdefs.h
<<_ACEOF
2174 #define PACKAGE_STRING "$PACKAGE_STRING"
2177 cat >>confdefs.h
<<_ACEOF
2178 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2181 cat >>confdefs.h
<<_ACEOF
2182 #define PACKAGE_URL "$PACKAGE_URL"
2186 # Let the site file select an alternate cache file if it wants to.
2187 # Prefer an explicitly selected file to automatically selected ones.
2190 if test -n "$CONFIG_SITE"; then
2191 # We do not want a PATH search for config.site.
2192 case $CONFIG_SITE in #((
2193 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2194 */*) ac_site_file1
=$CONFIG_SITE;;
2195 *) ac_site_file1
=.
/$CONFIG_SITE;;
2197 elif test "x$prefix" != xNONE
; then
2198 ac_site_file1
=$prefix/share
/config.site
2199 ac_site_file2
=$prefix/etc
/config.site
2201 ac_site_file1
=$ac_default_prefix/share
/config.site
2202 ac_site_file2
=$ac_default_prefix/etc
/config.site
2204 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2206 test "x$ac_site_file" = xNONE
&& continue
2207 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2209 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2210 sed 's/^/| /' "$ac_site_file" >&5
2212 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 as_fn_error $?
"failed to load site script $ac_site_file
2215 See \`config.log' for more details" "$LINENO" 5; }
2219 if test -r "$cache_file"; then
2220 # Some versions of bash will fail to source /dev/null (special files
2221 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2222 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2224 $as_echo "$as_me: loading cache $cache_file" >&6;}
2226 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2227 *) .
"./$cache_file";;
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2232 $as_echo "$as_me: creating cache $cache_file" >&6;}
2236 # Check that the precious variables saved in the cache have kept the same
2238 ac_cache_corrupted
=false
2239 for ac_var
in $ac_precious_vars; do
2240 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2241 eval ac_new_set
=\
$ac_env_${ac_var}_set
2242 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2243 eval ac_new_val
=\
$ac_env_${ac_var}_value
2244 case $ac_old_set,$ac_new_set in
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2247 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2248 ac_cache_corrupted
=: ;;
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2251 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2252 ac_cache_corrupted
=: ;;
2255 if test "x$ac_old_val" != "x$ac_new_val"; then
2256 # differences in whitespace do not lead to failure.
2257 ac_old_val_w
=`echo x $ac_old_val`
2258 ac_new_val_w
=`echo x $ac_new_val`
2259 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2261 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2262 ac_cache_corrupted
=:
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2265 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2266 eval $ac_var=\
$ac_old_val
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2269 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2271 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2274 # Pass precious variables to config.status.
2275 if test "$ac_new_set" = set; then
2277 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2278 *) ac_arg
=$ac_var=$ac_new_val ;;
2280 case " $ac_configure_args " in
2281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2282 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2286 if $ac_cache_corrupted; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2290 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2291 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2293 ## -------------------- ##
2294 ## Main body of script. ##
2295 ## -------------------- ##
2298 ac_cpp
='$CPP $CPPFLAGS'
2299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2311 # if PWD already has a value, it is probably wrong.
2312 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2314 # Export original configure arguments for use by sub-configures.
2315 # Quote arguments with shell meta charatcers.
2316 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2317 set -- "$progname" "$@"
2321 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2322 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2323 # if the argument is of the form -foo=baz, quote the baz part only
2324 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2327 # Add the quoted argument to the list.
2328 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2330 if test "$silent" = yes; then
2331 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2333 # Remove the initial space we just introduced and, as these will be
2334 # expanded by make, quote '$'.
2335 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2338 # Find the build, host, and target systems.
2340 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2341 if test -f "$ac_dir/install-sh"; then
2343 ac_install_sh
="$ac_aux_dir/install-sh -c"
2345 elif test -f "$ac_dir/install.sh"; then
2347 ac_install_sh
="$ac_aux_dir/install.sh -c"
2349 elif test -f "$ac_dir/shtool"; then
2351 ac_install_sh
="$ac_aux_dir/shtool install -c"
2355 if test -z "$ac_aux_dir"; then
2356 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2359 # These three variables are undocumented and unsupported,
2360 # and are intended to be withdrawn in a future Autoconf release.
2361 # They can cause serious problems if a builder's source tree is in a directory
2362 # whose full name contains unusual characters.
2363 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2364 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2365 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2368 # Make sure we can run config.sub.
2369 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2370 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2373 $as_echo_n "checking build system type... " >&6; }
2374 if ${ac_cv_build+:} false
; then :
2375 $as_echo_n "(cached) " >&6
2377 ac_build_alias
=$build_alias
2378 test "x$ac_build_alias" = x
&&
2379 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2380 test "x$ac_build_alias" = x
&&
2381 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2382 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2383 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2387 $as_echo "$ac_cv_build" >&6; }
2388 case $ac_cv_build in
2390 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2393 ac_save_IFS
=$IFS; IFS
='-'
2399 # Remember, the first character of IFS is used to create $*,
2400 # except with old shells:
2403 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2406 case ${build_alias} in
2407 "") build_noncanonical
=${build} ;;
2408 *) build_noncanonical
=${build_alias} ;;
2413 case ${host_alias} in
2414 "") host_noncanonical
=${build_noncanonical} ;;
2415 *) host_noncanonical
=${host_alias} ;;
2420 case ${target_alias} in
2421 "") target_noncanonical
=${host_noncanonical} ;;
2422 *) target_noncanonical
=${target_alias} ;;
2428 test "$host_noncanonical" = "$target_noncanonical" &&
2429 test "$program_prefix$program_suffix$program_transform_name" = \
2431 program_transform_name
=s
,y
,y
,
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2434 $as_echo_n "checking host system type... " >&6; }
2435 if ${ac_cv_host+:} false
; then :
2436 $as_echo_n "(cached) " >&6
2438 if test "x$host_alias" = x
; then
2439 ac_cv_host
=$ac_cv_build
2441 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2442 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2447 $as_echo "$ac_cv_host" >&6; }
2450 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2453 ac_save_IFS
=$IFS; IFS
='-'
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2463 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2467 $as_echo_n "checking target system type... " >&6; }
2468 if ${ac_cv_target+:} false
; then :
2469 $as_echo_n "(cached) " >&6
2471 if test "x$target_alias" = x
; then
2472 ac_cv_target
=$ac_cv_host
2474 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2475 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2480 $as_echo "$ac_cv_target" >&6; }
2481 case $ac_cv_target in
2483 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2485 target
=$ac_cv_target
2486 ac_save_IFS
=$IFS; IFS
='-'
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2496 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2499 # The aliases save the names the user supplied, while $host etc.
2500 # will get canonicalized.
2501 test -n "$target_alias" &&
2502 test "$program_prefix$program_suffix$program_transform_name" = \
2504 program_prefix
=${target_alias}-
2506 test "$program_prefix" != NONE
&&
2507 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2508 # Use a double $ so make ignores it.
2509 test "$program_suffix" != NONE
&&
2510 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2511 # Double any \ or $.
2512 # By default was `s,x,x', remove it if useless.
2513 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2514 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2518 # Get 'install' or 'install-sh' and its variants.
2519 # Find a good install program. We prefer a C program (faster),
2520 # so one script is as good as another. But avoid the broken or
2521 # incompatible versions:
2522 # SysV /etc/install, /usr/sbin/install
2523 # SunOS /usr/etc/install
2524 # IRIX /sbin/install
2526 # AmigaOS /C/install, which installs bootblocks on floppy discs
2527 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2528 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2529 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2530 # OS/2's system install, which has a completely different semantic
2531 # ./install, which can be erroneously created by make from ./install.sh.
2532 # Reject install programs that cannot install multiple files.
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2534 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2535 if test -z "$INSTALL"; then
2536 if ${ac_cv_path_install+:} false
; then :
2537 $as_echo_n "(cached) " >&6
2539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir
=.
2544 # Account for people who put trailing slashes in PATH elements.
2545 case $as_dir/ in #((
2546 .
/ | .
// |
/[cC
]/* | \
2547 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2548 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2551 # OSF1 and SCO ODT 3.0 have their own names for install.
2552 # Don't use installbsd from OSF since it installs stuff as root
2554 for ac_prog
in ginstall scoinst
install; do
2555 for ac_exec_ext
in '' $ac_executable_extensions; do
2556 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2557 if test $ac_prog = install &&
2558 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2559 # AIX install. It has an incompatible calling convention.
2561 elif test $ac_prog = install &&
2562 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2563 # program-specific install script used by HP pwplus--don't use.
2566 rm -rf conftest.one conftest.two conftest.dir
2567 echo one
> conftest.one
2568 echo two
> conftest.two
2570 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2571 test -s conftest.one
&& test -s conftest.two
&&
2572 test -s conftest.dir
/conftest.one
&&
2573 test -s conftest.dir
/conftest.two
2575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2588 rm -rf conftest.one conftest.two conftest.dir
2591 if test "${ac_cv_path_install+set}" = set; then
2592 INSTALL
=$ac_cv_path_install
2594 # As a last resort, use the slow shell script. Don't cache a
2595 # value for INSTALL within a source directory, because that will
2596 # break other packages using the cache if that directory is
2597 # removed, or if the value is a relative name.
2598 INSTALL
=$ac_install_sh
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2602 $as_echo "$INSTALL" >&6; }
2604 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2605 # It thinks the first close brace ends the variable substitution.
2606 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2608 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2610 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2613 $as_echo_n "checking whether ln works... " >&6; }
2614 if ${acx_cv_prog_LN+:} false
; then :
2615 $as_echo_n "(cached) " >&6
2617 rm -f conftestdata_t
2618 echo >conftestdata_f
2619 if ln conftestdata_f conftestdata_t
2>/dev
/null
2625 rm -f conftestdata_f conftestdata_t
2628 if test $acx_cv_prog_LN = no
; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2631 $as_echo "no, using $LN" >&6; }
2633 LN
="$acx_cv_prog_LN"
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635 $as_echo "yes" >&6; }
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2639 $as_echo_n "checking whether ln -s works... " >&6; }
2641 if test "$LN_S" = "ln -s"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2643 $as_echo "yes" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2646 $as_echo "no, using $LN_S" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2650 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2651 if ${ac_cv_path_SED+:} false
; then :
2652 $as_echo_n "(cached) " >&6
2654 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2655 for ac_i
in 1 2 3 4 5 6 7; do
2656 ac_script
="$ac_script$as_nl$ac_script"
2658 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2659 { ac_script
=; unset ac_script
;}
2660 if test -z "$SED"; then
2661 ac_path_SED_found
=false
2662 # Loop through the user's path and test for each of PROGNAME-LIST
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_prog
in sed gsed
; do
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2671 as_fn_executable_p
"$ac_path_SED" ||
continue
2672 # Check for GNU ac_path_SED and select it if it is found.
2673 # Check for GNU $ac_path_SED
2674 case `"$ac_path_SED" --version 2>&1` in
2676 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2679 $as_echo_n 0123456789 >"conftest.in"
2682 cat "conftest.in" "conftest.in" >"conftest.tmp"
2683 mv "conftest.tmp" "conftest.in"
2684 cp "conftest.in" "conftest.nl"
2685 $as_echo '' >> "conftest.nl"
2686 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2687 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2688 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2689 if test $ac_count -gt ${ac_path_SED_max-0}; then
2690 # Best one so far, save it but keep looking for a better one
2691 ac_cv_path_SED
="$ac_path_SED"
2692 ac_path_SED_max
=$ac_count
2694 # 10*(2^10) chars as input seems more than enough
2695 test $ac_count -gt 10 && break
2697 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2700 $ac_path_SED_found && break 3
2705 if test -z "$ac_cv_path_SED"; then
2706 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2714 $as_echo "$ac_cv_path_SED" >&6; }
2715 SED
="$ac_cv_path_SED"
2718 for ac_prog
in gawk mawk nawk
awk
2720 # Extract the first word of "$ac_prog", so it can be a program name with args.
2721 set dummy
$ac_prog; ac_word
=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if ${ac_cv_prog_AWK+:} false
; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$AWK"; then
2728 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2737 ac_cv_prog_AWK
="$ac_prog"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 if test -n "$AWK"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2750 $as_echo "$AWK" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2757 test -n "$AWK" && break
2761 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2763 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2765 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2766 INSTALL
="${srcpwd}/install-sh -c"
2769 # Set srcdir to "." if that's what it is.
2770 # This is important for multilib support.
2772 if test "${pwd}" = "${srcpwd}" ; then
2780 ### To add a new directory to the tree, first choose whether it is a target
2781 ### or a host dependent tool. Then put it into the appropriate list
2782 ### (library or tools, host or target), doing a dependency sort.
2784 # Subdirs will be configured in the order listed in build_configdirs,
2785 # configdirs, or target_configdirs; see the serialization section below.
2787 # Dependency sorting is only needed when *configuration* must be done in
2788 # a particular order. In all cases a dependency should be specified in
2789 # the Makefile, whether or not it's implicitly specified here.
2791 # Double entries in build_configdirs, configdirs, or target_configdirs may
2792 # cause circular dependencies and break everything horribly.
2794 # these library is used by various programs built for the build
2797 build_libs
="build-libiberty build-libcpp"
2799 # these tools are built for the build environment
2800 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2802 # these libraries are used by various programs built for the host environment
2804 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2806 # these tools are built for the host environment
2807 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2808 # know that we are building the simulator.
2809 # binutils, gas and ld appear in that order because it makes sense to run
2810 # "make check" in that particular order.
2811 # If --enable-gold is used, "gold" may replace "ld".
2812 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"
2814 # these libraries are built for the target environment, and are built after
2815 # the host libraries and the host tools (which may be a cross compiler)
2816 # Note that libiberty is not a target library.
2817 target_libraries
="target-libgcc \
2818 target-libbacktrace \
2822 target-liboffloadmic \
2825 target-libstdc++-v3 \
2826 target-libsanitizer \
2829 target-libquadmath \
2830 target-libgfortran \
2838 # these tools are built using the target libraries, and are intended to
2839 # run only in the target environment
2841 # note: any program that *uses* libraries that are in the "target_libraries"
2842 # list belongs in this list.
2844 target_tools
="target-rda"
2846 ################################################################################
2848 ## All tools belong in one of the four categories, and are assigned above
2849 ## We assign ${configdirs} this way to remove all embedded newlines. This
2850 ## is important because configure will choke if they ever get through.
2851 ## ${configdirs} is directories we build using the host tools.
2852 ## ${target_configdirs} is directories we build using the target tools.
2853 configdirs
=`echo ${host_libs} ${host_tools}`
2854 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2855 build_configdirs
=`echo ${build_libs} ${build_tools}`
2859 ################################################################################
2861 srcname
="gnu development package"
2863 # This gets set non-empty for some net releases of packages.
2866 # Define is_cross_compiler to save on calls to 'test'.
2868 if test x
"${host}" = x
"${target}" ; then
2869 is_cross_compiler
=no
2871 is_cross_compiler
=yes
2874 # Find the build and target subdir names.
2876 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2877 # have matching libraries, they should use host libraries: Makefile.tpl
2878 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2879 # However, they still use the build modules, because the corresponding
2880 # host modules (e.g. bison) are only built for the host when bootstrap
2882 # - build_subdir is where we find build modules, and never changes.
2883 # - build_libsubdir is where we find build libraries, and can be overridden.
2885 # Prefix 'build-' so this never conflicts with target_subdir.
2886 build_subdir
="build-${build_noncanonical}"
2888 # Check whether --with-build-libsubdir was given.
2889 if test "${with_build_libsubdir+set}" = set; then :
2890 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2892 build_libsubdir
="$build_subdir"
2895 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2896 if ( test $srcdir = .
&& test -d gcc
) \
2897 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2898 host_subdir
="host-${host_noncanonical}"
2903 target_subdir
=${target_noncanonical}
2905 # Be sure to cover against remnants of an in-tree build.
2906 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2907 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2908 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2911 # Skipdirs are removed silently.
2913 # Noconfigdirs are removed loudly.
2917 # Make sure we don't let GNU ld be added if we didn't want it.
2918 if test x
$with_gnu_ld = xno
; then
2920 noconfigdirs
="$noconfigdirs ld gold"
2924 # Make sure we don't let GNU as be added if we didn't want it.
2925 if test x
$with_gnu_as = xno
; then
2927 noconfigdirs
="$noconfigdirs gas"
2932 # Check whether --with-system-zlib was given.
2933 if test "${with_system_zlib+set}" = set; then :
2934 withval
=$with_system_zlib;
2937 # Make sure we don't let ZLIB be added if we didn't want it.
2938 if test x
$with_system_zlib = xyes
; then
2939 use_included_zlib
=no
2940 noconfigdirs
="$noconfigdirs zlib"
2943 # some tools are so dependent upon X11 that if we're not building with X,
2944 # it's not even worth trying to configure, much less build, that tool.
2947 yes |
"") ;; # the default value for this tree is that X11 is available
2949 skipdirs
="${skipdirs} tk itcl libgui"
2950 # We won't be able to build gdbtk without X.
2953 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2956 # Some are only suitable for cross toolchains.
2957 # Remove these if host=target.
2958 cross_only
="target-libgloss target-newlib target-opcodes"
2960 case $is_cross_compiler in
2961 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2964 # If both --with-headers and --with-libs are specified, default to
2966 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2967 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2968 if test x
"${with_newlib}" = x
; then
2973 # Recognize --with-newlib/--without-newlib.
2974 case ${with_newlib} in
2975 no
) skipdirs
="${skipdirs} target-newlib" ;;
2976 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2979 # Check whether --enable-as-accelerator-for was given.
2980 if test "${enable_as_accelerator_for+set}" = set; then :
2981 enableval
=$enable_as_accelerator_for;
2985 # Check whether --enable-offload-targets was given.
2986 if test "${enable_offload_targets+set}" = set; then :
2987 enableval
=$enable_offload_targets;
2988 if test x
"$enable_offload_targets" = x
; then
2989 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2993 enable_offload_targets
=
2997 # Check whether --enable-offload-defaulted was given.
2998 if test "${enable_offload_defaulted+set}" = set; then :
2999 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
3001 enable_offload_defaulted
=
3005 # Handle --enable-gold, --enable-ld.
3006 # --disable-gold [--enable-ld]
3007 # Build only ld. Default option.
3008 # --enable-gold [--enable-ld]
3009 # Build both gold and ld. Install gold as "ld.gold", install ld
3010 # as "ld.bfd" and "ld".
3011 # --enable-gold=default [--enable-ld]
3012 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3013 # install ld as "ld.bfd".
3014 # --enable-gold[=default] --disable-ld
3015 # Build only gold, which is then installed as both "ld.gold" and "ld".
3016 # --enable-gold --enable-ld=default
3017 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3019 # In other words, ld is default
3020 # --enable-gold=default --enable-ld=default
3024 # Check whether --enable-gold was given.
3025 if test "${enable_gold+set}" = set; then :
3026 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3031 case "${ENABLE_GOLD}" in
3033 # Check for ELF target.
3036 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3037 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3038 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3039 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3041 *-*-linux*aout
* |
*-*-linux*oldld
*)
3049 if test "$is_elf" = "yes"; then
3050 # Check for target supported by gold.
3052 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3053 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3054 configdirs
="$configdirs gold"
3055 if test x
${ENABLE_GOLD} = xdefault
; then
3066 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3070 # Check whether --enable-ld was given.
3071 if test "${enable_ld+set}" = set; then :
3072 enableval
=$enable_ld; ENABLE_LD
=$enableval
3078 case "${ENABLE_LD}" in
3080 if test x
${default_ld} != x
; then
3081 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3087 if test x
${ENABLE_GOLD} != xyes
; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3089 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3091 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3094 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3099 # Decide the default method for compressing debug sections.
3100 # Provide a configure time option to override our default.
3101 # Check whether --enable-compressed_debug_sections was given.
3102 if test "${enable_compressed_debug_sections+set}" = set; then :
3103 enableval
=$enable_compressed_debug_sections;
3104 if test x
"$enable_compressed_debug_sections" = xyes
; then
3105 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3109 enable_compressed_debug_sections
=
3113 # Configure extra directories which are host specific
3117 configdirs
="$configdirs libtermcap" ;;
3120 # A target can indicate whether a language isn't supported for some reason.
3121 # Only spaces may be used in this macro; not newlines or tabs.
3122 unsupported_languages
=
3124 # Remove more programs from consideration, based on the host or
3125 # target this usually means that a port of the program doesn't
3129 i
[3456789]86-*-msdosdjgpp*)
3130 noconfigdirs
="$noconfigdirs tcl tk itcl"
3135 # Check whether --enable-libquadmath was given.
3136 if test "${enable_libquadmath+set}" = set; then :
3137 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3139 ENABLE_LIBQUADMATH
=yes
3142 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3143 noconfigdirs
="$noconfigdirs target-libquadmath"
3147 # Check whether --enable-libquadmath-support was given.
3148 if test "${enable_libquadmath_support+set}" = set; then :
3149 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3151 ENABLE_LIBQUADMATH_SUPPORT
=yes
3154 enable_libquadmath_support
=
3155 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3156 enable_libquadmath_support
=no
3160 # Check whether --enable-libada was given.
3161 if test "${enable_libada+set}" = set; then :
3162 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3167 if test "${ENABLE_LIBADA}" != "yes" ; then
3168 noconfigdirs
="$noconfigdirs gnattools"
3171 # Check whether --enable-libssp was given.
3172 if test "${enable_libssp+set}" = set; then :
3173 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3179 # Check whether --enable-libstdcxx was given.
3180 if test "${enable_libstdcxx+set}" = set; then :
3181 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3183 ENABLE_LIBSTDCXX
=default
3186 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3187 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3190 # If this is accelerator compiler and its target is intelmic we enable
3191 # target liboffloadmic by default. If this is compiler with offloading
3192 # for intelmic we enable host liboffloadmic by default. Otherwise
3193 # liboffloadmic is disabled by default.
3194 # Check whether --enable-liboffloadmic was given.
3195 if test "${enable_liboffloadmic+set}" = set; then :
3196 enableval
=$enable_liboffloadmic; case "$enableval" in
3198 enable_liboffloadmic
=$enableval ;;
3200 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3203 if test x
"$enable_as_accelerator_for" != x
; then
3205 *-intelmic-* |
*-intelmicemul-*)
3206 enable_liboffloadmic
=target
3207 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3210 enable_liboffloadmic
=no
3214 case "${enable_offload_targets}" in
3215 *-intelmic-* |
*-intelmicemul-*)
3216 enable_liboffloadmic
=host
3217 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3220 enable_liboffloadmic
=no
3228 # Enable libgomp by default on hosted POSIX systems, and a few others.
3229 if test x
$enable_libgomp = x
; then
3231 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3233 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3235 *-*-solaris2* |
*-*-hpux11*)
3237 *-*-darwin* |
*-*-aix*)
3239 nvptx
*-*-* | amdgcn
*-*-*)
3242 noconfigdirs
="$noconfigdirs target-libgomp"
3247 # Disable libatomic on unsupported systems.
3248 if test -d ${srcdir}/libatomic
; then
3249 if test x
$enable_libatomic = x
; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3251 $as_echo_n "checking for libatomic support... " >&6; }
3252 if (srcdir
=${srcdir}/libatomic
; \
3253 .
${srcdir}/configure.tgt
; \
3254 test -n "$UNSUPPORTED")
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3258 noconfigdirs
="$noconfigdirs target-libatomic"
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3261 $as_echo "yes" >&6; }
3266 # Disable liboffloadmic on unsupported systems.
3267 if test -d ${srcdir}/liboffloadmic
; then
3268 if test x
$enable_liboffloadmic != xno
; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3270 $as_echo_n "checking for liboffloadmic support... " >&6; }
3271 if (srcdir
=${srcdir}/liboffloadmic
; \
3272 .
${srcdir}/configure.tgt
; \
3273 test -n "$UNSUPPORTED")
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3277 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3280 $as_echo "yes" >&6; }
3285 # Disable libitm on unsupported systems.
3286 if test -d ${srcdir}/libitm
; then
3287 if test x
$enable_libitm = x
; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3289 $as_echo_n "checking for libitm support... " >&6; }
3290 if (srcdir
=${srcdir}/libitm
; \
3291 .
${srcdir}/configure.tgt
; \
3292 test -n "$UNSUPPORTED")
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3296 noconfigdirs
="$noconfigdirs target-libitm"
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3299 $as_echo "yes" >&6; }
3304 # Disable libsanitizer on unsupported systems.
3305 if test -d ${srcdir}/libsanitizer
; then
3306 if test x
$enable_libsanitizer = x
; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3308 $as_echo_n "checking for libsanitizer support... " >&6; }
3309 if (srcdir
=${srcdir}/libsanitizer
; \
3310 .
${srcdir}/configure.tgt
; \
3311 test -n "$UNSUPPORTED")
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3315 noconfigdirs
="$noconfigdirs target-libsanitizer"
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3318 $as_echo "yes" >&6; }
3323 # Disable libvtv on unsupported systems.
3324 if test -d ${srcdir}/libvtv
; then
3325 if test x
$enable_libvtv = x
; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3327 $as_echo_n "checking for libvtv support... " >&6; }
3328 if (srcdir
=${srcdir}/libvtv
; \
3329 .
${srcdir}/configure.tgt
; \
3330 test "$VTV_SUPPORTED" != "yes")
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 noconfigdirs
="$noconfigdirs target-libvtv"
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3337 $as_echo "yes" >&6; }
3342 # Disable libquadmath for some systems.
3345 noconfigdirs
="$noconfigdirs target-libquadmath"
3347 # libquadmath is unused on AIX and libquadmath build process use of
3348 # LD_LIBRARY_PATH can break AIX bootstrap.
3349 powerpc-
*-aix* | rs6000-
*-aix*)
3350 noconfigdirs
="$noconfigdirs target-libquadmath"
3354 # Disable libssp for some systems.
3357 # No hosted I/O support.
3358 noconfigdirs
="$noconfigdirs target-libssp"
3361 noconfigdirs
="$noconfigdirs target-libssp"
3363 powerpc-
*-aix* | rs6000-
*-aix*)
3364 noconfigdirs
="$noconfigdirs target-libssp"
3367 # No hosted I/O support.
3368 noconfigdirs
="$noconfigdirs target-libssp"
3371 # libssp uses a misaligned load to trigger a fault, but the RL78
3372 # doesn't fault for those - instead, it gives a build-time error
3373 # for explicit misaligned loads.
3374 noconfigdirs
="$noconfigdirs target-libssp"
3377 # No hosted I/O support.
3378 noconfigdirs
="$noconfigdirs target-libssp"
3382 # Disable libstdc++-v3 for some systems.
3383 # Allow user to override this if they pass --enable-libstdc++-v3
3384 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3387 # VxWorks uses the Dinkumware C++ library.
3388 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3391 # Not ported/fails to build when using newlib.
3392 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3395 # the C++ libraries don't build on top of CE's C libraries
3396 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3399 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3402 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3405 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3410 # Disable C++ on systems where it is known to not work.
3411 # For testing, you can override this with --enable-languages=c++.
3412 case ,${enable_languages}, in
3418 unsupported_languages
="$unsupported_languages c++"
3424 # Disable Objc on systems where it is known to not work.
3425 # For testing, you can override this with --enable-languages=objc.
3426 case ,${enable_languages}, in
3432 unsupported_languages
="$unsupported_languages objc"
3438 # Disable D on systems where it is known to not work.
3439 # For testing, you can override this with --enable-languages=d.
3440 case ,${enable_languages}, in
3446 unsupported_languages
="$unsupported_languages d"
3452 # Disable libphobos on unsupported systems.
3453 # For testing, you can override this with --enable-libphobos.
3454 if test -d ${srcdir}/libphobos
; then
3455 if test x
$enable_libphobos = x
; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3457 $as_echo_n "checking for libphobos support... " >&6; }
3458 if (srcdir
=${srcdir}/libphobos
; \
3459 .
${srcdir}/configure.tgt
; \
3460 test "$LIBPHOBOS_SUPPORTED" != "yes")
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 noconfigdirs
="$noconfigdirs target-libphobos"
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3467 $as_echo "yes" >&6; }
3472 # Disable Fortran for some systems.
3475 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3476 unsupported_languages
="$unsupported_languages fortran"
3479 unsupported_languages
="$unsupported_languages fortran"
3483 # Disable libffi for some systems.
3487 i
[3456789]86-*-darwin*)
3489 x86_64-
*-darwin[912]*)
3492 noconfigdirs
="$noconfigdirs target-libffi"
3495 noconfigdirs
="$noconfigdirs target-libffi"
3498 noconfigdirs
="$noconfigdirs target-libffi"
3501 noconfigdirs
="$noconfigdirs target-libffi"
3504 noconfigdirs
="$noconfigdirs target-libffi"
3507 noconfigdirs
="$noconfigdirs target-libffi"
3510 noconfigdirs
="$noconfigdirs target-libffi"
3512 aarch64
*-*-freebsd*)
3513 noconfigdirs
="$noconfigdirs target-libffi"
3516 noconfigdirs
="$noconfigdirs target-libffi"
3519 noconfigdirs
="$noconfigdirs target-libffi"
3522 noconfigdirs
="$noconfigdirs target-libffi"
3525 noconfigdirs
="$noconfigdirs target-libffi"
3528 noconfigdirs
="$noconfigdirs target-libffi"
3530 cris-
*-* | crisv32-
*-*)
3534 *) # See PR46792 regarding target-libffi.
3535 noconfigdirs
="$noconfigdirs target-libffi";;
3539 noconfigdirs
="$noconfigdirs target-libffi"
3544 noconfigdirs
="$noconfigdirs target-libffi"
3547 noconfigdirs
="$noconfigdirs target-libffi"
3549 i
[3456789]86-w64-mingw*)
3550 noconfigdirs
="$noconfigdirs target-libffi"
3552 i
[3456789]86-*-mingw*)
3553 noconfigdirs
="$noconfigdirs target-libffi"
3556 noconfigdirs
="$noconfigdirs target-libffi"
3559 noconfigdirs
="$noconfigdirs target-libffi"
3566 noconfigdirs
="$noconfigdirs target-libffi"
3569 noconfigdirs
="$noconfigdirs target-libffi"
3573 # Disable the go frontend on systems where it is known to not work. Please keep
3574 # this in sync with contrib/config-list.mk.
3576 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3577 unsupported_languages
="$unsupported_languages go"
3581 # Only allow gdbserver on some systems.
3582 if test -d ${srcdir}/gdbserver
; then
3583 if test x
$enable_gdbserver = x
; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3585 $as_echo_n "checking for gdbserver support... " >&6; }
3586 if (srcdir
=${srcdir}/gdbserver
; \
3587 .
${srcdir}/configure.srv
; \
3588 test -n "$UNSUPPORTED")
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3592 noconfigdirs
="$noconfigdirs gdbserver"
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3600 # Disable libgo for some systems where it is known to not work.
3601 # For testing, you can easily override this with --enable-libgo.
3602 if test x
$enable_libgo = x
; then
3606 noconfigdirs
="$noconfigdirs target-libgo"
3608 *-*-cygwin* |
*-*-mingw*)
3609 noconfigdirs
="$noconfigdirs target-libgo"
3612 noconfigdirs
="$noconfigdirs target-libgo"
3617 # Default libgloss CPU subdirectory.
3618 libgloss_dir
="$target_cpu"
3621 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3625 libgloss_dir
=aarch64
3630 cris-
*-* | crisv32-
*-*)
3639 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3640 libgloss_dir
=m68hc11
3642 m68
*-*-* | fido-
*-*)
3659 # Disable newlib and libgloss for various target OSes.
3662 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3664 i
[3456789]86-*-linux*)
3665 # This section makes it possible to build newlib natively on linux.
3666 # If we are using a cross compiler then don't configure newlib.
3667 if test x
${is_cross_compiler} != xno
; then
3668 noconfigdirs
="$noconfigdirs target-newlib"
3670 noconfigdirs
="$noconfigdirs target-libgloss"
3671 # If we are not using a cross compiler, do configure newlib.
3672 # Note however, that newlib will only be configured in this situation
3673 # if the --with-newlib option has been given, because otherwise
3674 # 'target-newlib' will appear in skipdirs.
3676 i
[3456789]86-*-rdos*)
3677 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3679 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3680 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3695 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3698 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3701 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3703 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3704 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3707 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3710 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3713 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3716 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3722 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3725 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3733 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3734 noconfigdirs
="$noconfigdirs sim target-rda"
3739 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3740 noconfigdirs
="$noconfigdirs sim target-rda"
3743 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3744 noconfigdirs
="$noconfigdirs sim target-rda"
3746 i
[3456789]86-*-darwin*)
3747 noconfigdirs
="$noconfigdirs ld gprof"
3748 noconfigdirs
="$noconfigdirs sim target-rda"
3750 x86_64-
*-darwin[912]*)
3751 noconfigdirs
="$noconfigdirs ld gas gprof"
3752 noconfigdirs
="$noconfigdirs sim target-rda"
3755 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3756 noconfigdirs
="$noconfigdirs sim target-rda"
3761 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3762 && ! test -d ${srcdir}/gmp \
3763 && test -f /usr
/local
/include
/gmp.h
; then
3768 # Remove unsupported stuff on all kaOS configurations.
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3776 noconfigdirs
="$noconfigdirs target-libgloss"
3779 noconfigdirs
="$noconfigdirs target-libgloss"
3781 # The tpf target doesn't support gdb yet.
3783 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3786 noconfigdirs
="$noconfigdirs target-rda"
3791 # ld works, but does not support shared libraries.
3792 # gas doesn't generate exception information.
3793 noconfigdirs
="$noconfigdirs gas ld"
3796 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3799 # newlib is not 64 bit ready
3800 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3803 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3805 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3806 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3809 noconfigdirs
="$noconfigdirs sim"
3812 noconfigdirs
="$noconfigdirs target-libgloss"
3815 noconfigdirs
="$noconfigdirs ld target-libgloss"
3818 if test x
${with_avrlibc} != xno
; then
3819 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3822 c4x-
*-* | tic4x-
*-*)
3823 noconfigdirs
="$noconfigdirs target-libgloss"
3826 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3829 noconfigdirs
="$noconfigdirs target-libgloss"
3832 noconfigdirs
="$noconfigdirs gdb"
3835 noconfigdirs
="$noconfigdirs gdb"
3838 noconfigdirs
="$noconfigdirs target-rda gprof"
3841 noconfigdirs
="$noconfigdirs"
3844 noconfigdirs
="$noconfigdirs target-libgloss"
3847 noconfigdirs
="$noconfigdirs target-libgloss"
3849 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3852 noconfigdirs
="$noconfigdirs gdb"
3855 noconfigdirs
="$noconfigdirs gdb ld"
3863 hppa
*-*-openbsd* | \
3869 noconfigdirs
="$noconfigdirs ld"
3872 noconfigdirs
="$noconfigdirs gdb"
3875 # No gdb support yet.
3876 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3879 # No ld support yet.
3880 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3883 # No ld support yet.
3884 noconfigdirs
="$noconfigdirs libgui itcl ld"
3886 i
[3456789]86-w64-mingw*)
3888 i
[3456789]86-*-mingw*)
3889 target_configdirs
="$target_configdirs target-winsup"
3892 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3893 noconfigdirs
="$noconfigdirs target-libgloss"
3894 # always build newlib if winsup directory is present.
3895 if test -d "$srcdir/winsup/cygwin"; then
3896 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3897 elif test -d "$srcdir/newlib"; then
3898 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3902 noconfigdirs
="$noconfigdirs target-libgloss"
3904 i
[3456789]86-*-sco3.2v5
*)
3905 # The linker does not yet know about weak symbols in COFF,
3906 # and is not configured to handle mixed ELF and COFF.
3907 noconfigdirs
="$noconfigdirs ld target-libgloss"
3909 i
[3456789]86-*-sco*)
3910 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3912 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3913 noconfigdirs
="$noconfigdirs target-libgloss"
3915 i
[3456789]86-*-sysv4*)
3916 noconfigdirs
="$noconfigdirs target-libgloss"
3918 i
[3456789]86-*-beos*)
3919 noconfigdirs
="$noconfigdirs gdb"
3921 i
[3456789]86-*-rdos*)
3922 noconfigdirs
="$noconfigdirs gdb"
3925 noconfigdirs
="$noconfigdirs gdb"
3928 noconfigdirs
="$noconfigdirs sim"
3931 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3932 noconfigdirs
="$noconfigdirs $target_libraries"
3935 noconfigdirs
="$noconfigdirs gdb gprof"
3938 # copied from rs6000-*-* entry
3939 noconfigdirs
="$noconfigdirs gprof"
3941 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3942 target_configdirs
="$target_configdirs target-winsup"
3943 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3944 # always build newlib.
3945 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3947 # This is temporary until we can link against shared libraries
3948 powerpcle-
*-solaris*)
3949 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3952 noconfigdirs
="$noconfigdirs gdb"
3955 noconfigdirs
="$noconfigdirs gprof"
3958 noconfigdirs
="$noconfigdirs gprof"
3961 noconfigdirs
="$noconfigdirs gprof"
3964 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3967 noconfigdirs
="$noconfigdirs gprof"
3969 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3970 if test x
$with_newlib = xyes
; then
3971 noconfigdirs
="$noconfigdirs gprof"
3975 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3978 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3981 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3985 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3986 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3987 noconfigdirs
="$noconfigdirs ld gas gprof"
3990 noconfigdirs
="$noconfigdirs gprof"
3993 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4000 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4004 if test x
${is_cross_compiler} = xno
; then
4009 noconfigdirs
="$noconfigdirs sim"
4011 tilepro
*-*-* | tilegx
*-*-*)
4012 noconfigdirs
="$noconfigdirs sim"
4015 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4018 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4021 noconfigdirs
="$noconfigdirs ld"
4025 # If we aren't building newlib, then don't build libgloss, since libgloss
4026 # depends upon some newlib header files.
4027 case "${noconfigdirs}" in
4028 *target-libgloss
*) ;;
4029 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4032 # Work in distributions that contain no compiler tools, like Autoconf.
4033 host_makefile_frag
=/dev
/null
4034 if test -d ${srcdir}/config
; then
4036 i
[3456789]86-*-msdosdjgpp*)
4037 host_makefile_frag
="config/mh-djgpp"
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4042 $as_echo_n "checking to see if cat works as expected... " >&6; }
4043 echo a
>cygwin-cat-check
4044 if test `cat cygwin-cat-check` = a
; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4047 $as_echo "yes" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4052 as_fn_error $?
"The cat command does not ignore carriage return characters.
4053 Please either mount the build directory in binary mode or run the following
4054 commands before running any configure script:
4060 host_makefile_frag
="config/mh-cygwin"
4063 host_makefile_frag
="config/mh-mingw"
4066 host_makefile_frag
="config/mh-alpha-linux"
4069 host_makefile_frag
="config/mh-pa-hpux10"
4072 host_makefile_frag
="config/mh-pa"
4075 host_makefile_frag
="config/mh-pa"
4077 i?
86-*-darwin[89]* | i?
86-*-darwin1[0-7]* | powerpc
*-*-darwin*)
4078 host_makefile_frag
="config/mh-darwin"
4081 host_makefile_frag
="config/mh-ppc-aix"
4084 host_makefile_frag
="config/mh-ppc-aix"
4089 if test "${build}" != "${host}" ; then
4090 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4091 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4092 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4093 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4094 DSYMUTIL_FOR_BUILD
=${DSYMUTIL_FOR_BUILD-dsymutil}
4095 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4096 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4097 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4098 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4099 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4100 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4101 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4102 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4103 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4105 AR_FOR_BUILD
="\$(AR)"
4106 AS_FOR_BUILD
="\$(AS)"
4107 CC_FOR_BUILD
="\$(CC)"
4108 CXX_FOR_BUILD
="\$(CXX)"
4109 DSYMUTIL_FOR_BUILD
="\$(DSYMUTIL)"
4110 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4111 GOC_FOR_BUILD
="\$(GOC)"
4112 GDC_FOR_BUILD
="\$(GDC)"
4113 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4114 LD_FOR_BUILD
="\$(LD)"
4115 NM_FOR_BUILD
="\$(NM)"
4116 RANLIB_FOR_BUILD
="\$(RANLIB)"
4117 WINDRES_FOR_BUILD
="\$(WINDRES)"
4118 WINDMC_FOR_BUILD
="\$(WINDMC)"
4122 ac_cpp
='$CPP $CPPFLAGS'
4123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4126 if test -n "$ac_tool_prefix"; then
4127 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4128 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if ${ac_cv_prog_CC+:} false
; then :
4132 $as_echo_n "(cached) " >&6
4134 if test -n "$CC"; then
4135 ac_cv_prog_CC
="$CC" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 if test -n "$CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4157 $as_echo "$CC" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4165 if test -z "$ac_cv_prog_CC"; then
4167 # Extract the first word of "gcc", so it can be a program name with args.
4168 set dummy gcc
; ac_word
=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4172 $as_echo_n "(cached) " >&6
4174 if test -n "$ac_ct_CC"; then
4175 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_exec_ext
in '' $ac_executable_extensions; do
4183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4184 ac_cv_prog_ac_ct_CC
="gcc"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4195 if test -n "$ac_ct_CC"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4197 $as_echo "$ac_ct_CC" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4203 if test "x$ac_ct_CC" = x
; then
4206 case $cross_compiling:$ac_tool_warned in
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4210 ac_tool_warned
=yes ;;
4218 if test -z "$CC"; then
4219 if test -n "$ac_tool_prefix"; then
4220 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4221 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CC+:} false
; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$CC"; then
4228 ac_cv_prog_CC
="$CC" # Let the user override the test.
4230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir
=.
4235 for ac_exec_ext
in '' $ac_executable_extensions; do
4236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 if test -n "$CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250 $as_echo "$CC" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4259 if test -z "$CC"; then
4260 # Extract the first word of "cc", so it can be a program name with args.
4261 set dummy cc
; ac_word
=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_CC+:} false
; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -n "$CC"; then
4268 ac_cv_prog_CC
="$CC" # Let the user override the test.
4271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4275 test -z "$as_dir" && as_dir
=.
4276 for ac_exec_ext
in '' $ac_executable_extensions; do
4277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4278 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4279 ac_prog_rejected
=yes
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 if test $ac_prog_rejected = yes; then
4291 # We found a bogon in the path, so make sure we never use it.
4292 set dummy
$ac_cv_prog_CC
4294 if test $# != 0; then
4295 # We chose a different compiler from the bogus one.
4296 # However, it has the same basename, so the bogon will be chosen
4297 # first if we set CC to just the basename; use the full file name.
4299 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4305 if test -n "$CC"; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4307 $as_echo "$CC" >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310 $as_echo "no" >&6; }
4315 if test -z "$CC"; then
4316 if test -n "$ac_tool_prefix"; then
4317 for ac_prog
in cl.exe
4319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4320 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322 $as_echo_n "checking for $ac_word... " >&6; }
4323 if ${ac_cv_prog_CC+:} false
; then :
4324 $as_echo_n "(cached) " >&6
4326 if test -n "$CC"; then
4327 ac_cv_prog_CC
="$CC" # Let the user override the test.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 if test -n "$CC"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4349 $as_echo "$CC" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352 $as_echo "no" >&6; }
4356 test -n "$CC" && break
4359 if test -z "$CC"; then
4361 for ac_prog
in cl.exe
4363 # Extract the first word of "$ac_prog", so it can be a program name with args.
4364 set dummy
$ac_prog; ac_word
=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4368 $as_echo_n "(cached) " >&6
4370 if test -n "$ac_ct_CC"; then
4371 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_ac_ct_CC
="$ac_prog"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4391 if test -n "$ac_ct_CC"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4393 $as_echo "$ac_ct_CC" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4400 test -n "$ac_ct_CC" && break
4403 if test "x$ac_ct_CC" = x
; then
4406 case $cross_compiling:$ac_tool_warned in
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4410 ac_tool_warned
=yes ;;
4419 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4421 as_fn_error $?
"no acceptable C compiler found in \$PATH
4422 See \`config.log' for more details" "$LINENO" 5; }
4424 # Provide some information about the compiler.
4425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4428 for ac_option
in --version -v -V -qversion; do
4429 { { ac_try
="$ac_compiler $ac_option >&5"
4431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4435 $as_echo "$ac_try_echo"; } >&5
4436 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4438 if test -s conftest.err; then
4440 ... rest of stderr output deleted ...
4441 10q' conftest.err >conftest.er1
4442 cat conftest.er1 >&5
4444 rm -f conftest.er1 conftest.err
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4460 ac_clean_files_save=$ac_clean_files
4461 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4462 # Try to create an executable without -o first, disregard a.out.
4463 # It will help us diagnose broken compilers, and finding out an intuition
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4466 $as_echo_n "checking whether the C compiler works... " >&6; }
4467 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4469 # The possible output files:
4470 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4473 for ac_file in $ac_files
4476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4477 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4482 if { { ac_try="$ac_link_default"
4484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4485 *) ac_try_echo
=$ac_try;;
4487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488 $as_echo "$ac_try_echo"; } >&5
4489 (eval "$ac_link_default") 2>&5
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }; then :
4493 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4494 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4495 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4496 # so that the user can short-circuit this test for compilers unknown to
4498 for ac_file
in $ac_files ''
4500 test -f "$ac_file" ||
continue
4502 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4505 # We found the default executable, but exeext='' is most
4509 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4511 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4513 # We set ac_cv_exeext here because the later test for it is not
4514 # safe: cross compilers may not add the suffix if given an `-o'
4515 # argument, so we may need to know it at that point already.
4516 # Even if this section looks crufty: it has the advantage of
4523 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4528 if test -z "$ac_file"; then :
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530 $as_echo "no" >&6; }
4531 $as_echo "$as_me: failed program was:" >&5
4532 sed 's/^/| /' conftest.
$ac_ext >&5
4534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4536 as_fn_error
77 "C compiler cannot create executables
4537 See \`config.log' for more details" "$LINENO" 5; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4540 $as_echo "yes" >&6; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4543 $as_echo_n "checking for C compiler default output file name... " >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4545 $as_echo "$ac_file" >&6; }
4546 ac_exeext
=$ac_cv_exeext
4548 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4549 ac_clean_files
=$ac_clean_files_save
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4551 $as_echo_n "checking for suffix of executables... " >&6; }
4552 if { { ac_try
="$ac_link"
4554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4558 $as_echo "$ac_try_echo"; } >&5
4559 (eval "$ac_link") 2>&5
4561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4562 test $ac_status = 0; }; then :
4563 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4564 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4565 # work properly (i.e., refer to `conftest.exe'), while it won't with
4567 for ac_file
in conftest.exe conftest conftest.
*; do
4568 test -f "$ac_file" ||
continue
4570 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4571 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4579 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4580 See \`config.log' for more details" "$LINENO" 5; }
4582 rm -f conftest conftest
$ac_cv_exeext
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4584 $as_echo "$ac_cv_exeext" >&6; }
4586 rm -f conftest.
$ac_ext
4587 EXEEXT
=$ac_cv_exeext
4589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4595 FILE *f = fopen ("conftest.out", "w");
4596 return ferror (f) || fclose (f) != 0;
4602 ac_clean_files
="$ac_clean_files conftest.out"
4603 # Check that the compiler produces executables we can run. If not, either
4604 # the compiler is broken, or we cross compile.
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4606 $as_echo_n "checking whether we are cross compiling... " >&6; }
4607 if test "$cross_compiling" != yes; then
4608 { { ac_try
="$ac_link"
4610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4611 *) ac_try_echo=$ac_try;;
4613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_link") 2>&5
4617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4618 test $ac_status = 0; }
4619 if { ac_try='./conftest$ac_cv_exeext'
4620 { { case "(($ac_try" in
4621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4622 *) ac_try_echo
=$ac_try;;
4624 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4625 $as_echo "$ac_try_echo"; } >&5
4626 (eval "$ac_try") 2>&5
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; }; }; then
4632 if test "$cross_compiling" = maybe
; then
4635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4637 as_fn_error $?
"cannot run C compiled programs.
4638 If you meant to cross compile, use \`--host'.
4639 See \`config.log' for more details" "$LINENO" 5; }
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4644 $as_echo "$cross_compiling" >&6; }
4646 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4647 ac_clean_files
=$ac_clean_files_save
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4649 $as_echo_n "checking for suffix of object files... " >&6; }
4650 if ${ac_cv_objext+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4664 rm -f conftest.o conftest.obj
4665 if { { ac_try
="$ac_compile"
4667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4671 $as_echo "$ac_try_echo"; } >&5
4672 (eval "$ac_compile") 2>&5
4674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4675 test $ac_status = 0; }; then :
4676 for ac_file in conftest.o conftest.obj conftest.*; do
4677 test -f "$ac_file" || continue;
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4680 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4691 See \
`config.log' for more details" "$LINENO" 5; }
4693 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4696 $as_echo "$ac_cv_objext" >&6; }
4697 OBJEXT=$ac_cv_objext
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4700 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4701 if ${ac_cv_c_compiler_gnu+:} false; then :
4702 $as_echo_n "(cached) " >&6
4704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4718 if ac_fn_c_try_compile "$LINENO"; then :
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4724 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4728 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4729 if test $ac_compiler_gnu = yes; then
4734 ac_test_CFLAGS=${CFLAGS+set}
4735 ac_save_CFLAGS=$CFLAGS
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4737 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4738 if ${ac_cv_prog_cc_g+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 ac_save_c_werror_flag=$ac_c_werror_flag
4742 ac_c_werror_flag=yes
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4756 if ac_fn_c_try_compile "$LINENO"; then :
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_c_try_compile "$LINENO"; then :
4774 ac_c_werror_flag=$ac_save_c_werror_flag
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4787 if ac_fn_c_try_compile "$LINENO"; then :
4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 ac_c_werror_flag=$ac_save_c_werror_flag
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4798 $as_echo "$ac_cv_prog_cc_g" >&6; }
4799 if test "$ac_test_CFLAGS" = set; then
4800 CFLAGS=$ac_save_CFLAGS
4801 elif test $ac_cv_prog_cc_g = yes; then
4802 if test "$GCC" = yes; then
4808 if test "$GCC" = yes; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4815 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4816 if ${ac_cv_prog_cc_c89+:} false; then :
4817 $as_echo_n "(cached) " >&6
4819 ac_cv_prog_cc_c89=no
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4826 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4827 struct buf { int x; };
4828 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4829 static char *e (p, i)
4835 static char *f (char * (*g) (char **, int), char **p, ...)
4840 s = g (p, va_arg (v,int));
4845 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4846 function prototypes and stuff, but not '\xHH' hex character constants.
4847 These don't provoke an error unfortunately, instead are silently treated
4848 as 'x'. The following induces an error, until -std is added to get
4849 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4850 array size at least. It's necessary to write '\x00'==0 to get something
4851 that's true only with -std. */
4852 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4854 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4855 inside strings and character constants. */
4857 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4859 int test (int i, double x);
4860 struct s1 {int (*f) (int a);};
4861 struct s2 {int (*f) (double a);};
4862 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4874 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4876 CC="$ac_save_CC $ac_arg"
4877 if ac_fn_c_try_compile "$LINENO"; then :
4878 ac_cv_prog_cc_c89=$ac_arg
4880 rm -f core conftest.err conftest.$ac_objext
4881 test "x$ac_cv_prog_cc_c89" != "xno" && break
4883 rm -f conftest.$ac_ext
4888 case "x$ac_cv_prog_cc_c89" in
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4891 $as_echo "none needed" >&6; } ;;
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4894 $as_echo "unsupported" >&6; } ;;
4896 CC="$CC $ac_cv_prog_cc_c89"
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4898 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4900 if test "x$ac_cv_prog_cc_c89" != xno; then :
4905 ac_cpp='$CPP $CPPFLAGS'
4906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4911 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4912 if ${ac_cv_prog_cc_c99+:} false; then :
4913 $as_echo_n "(cached) " >&6
4915 ac_cv_prog_cc_c99=no
4917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4918 /* end confdefs.h. */
4920 #include <stdbool.h>
4925 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4926 #define debug(...) fprintf (stderr, __VA_ARGS__)
4927 #define showlist(...) puts (#__VA_ARGS__)
4928 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4930 test_varargs_macros (void)
4935 debug ("X = %d\n", x);
4936 showlist (The first, second, and third items.);
4937 report (x>y, "x is %d but y is %d", x, y);
4940 // Check long long types.
4941 #define BIG64 18446744073709551615ull
4942 #define BIG32 4294967295ul
4943 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4945 your preprocessor is broken;
4949 your preprocessor is broken;
4951 static long long int bignum = -9223372036854775807LL;
4952 static unsigned long long int ubignum = BIG64;
4954 struct incomplete_array
4962 const wchar_t *name;
4966 typedef const char *ccp;
4969 test_restrict (ccp restrict text)
4971 // See if C++-style comments work.
4972 // Iterate through items via the restricted pointer.
4973 // Also check for declarations in for loops.
4974 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4979 // Check varargs and va_copy.
4981 test_varargs (const char *format, ...)
4984 va_start (args, format);
4986 va_copy (args_copy, args);
4997 str = va_arg (args_copy, const char *);
5000 number = va_arg (args_copy, int);
5003 fnumber = va_arg (args_copy, double);
5018 _Bool success = false;
5021 if (test_restrict ("String literal") == 0)
5023 char *restrict newvar = "Another string";
5026 test_varargs ("s, d' f .", "string", 65, 34.234);
5027 test_varargs_macros ();
5029 // Check flexible array members.
5030 struct incomplete_array *ia =
5031 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5033 for (int i = 0; i < ia->datasize; ++i)
5034 ia->data[i] = i * 1.234;
5036 // Check named initializers.
5037 struct named_init ni = {
5039 .name = L"Test wide string",
5040 .average = 543.34343,
5045 int dynamic_array[ni.number];
5046 dynamic_array[ni.number - 1] = 543;
5048 // work around unused variable warnings
5049 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5050 || dynamic_array[ni.number - 1] != 543);
5056 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5058 CC="$ac_save_CC $ac_arg"
5059 if ac_fn_c_try_compile "$LINENO"; then :
5060 ac_cv_prog_cc_c99=$ac_arg
5062 rm -f core conftest.err conftest.$ac_objext
5063 test "x$ac_cv_prog_cc_c99" != "xno" && break
5065 rm -f conftest.$ac_ext
5070 case "x$ac_cv_prog_cc_c99" in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5073 $as_echo "none needed" >&6; } ;;
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5076 $as_echo "unsupported" >&6; } ;;
5078 CC="$CC $ac_cv_prog_cc_c99"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5080 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5082 if test "x$ac_cv_prog_cc_c99" != xno; then :
5088 ac_cpp='$CXXCPP $CPPFLAGS'
5089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5092 if test -z "$CXX"; then
5093 if test -n "$CCC"; then
5096 if test -n "$ac_tool_prefix"; then
5097 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; }
5103 if ${ac_cv_prog_CXX+:} false; then :
5104 $as_echo_n "(cached) " >&6
5106 if test -n "$CXX"; then
5107 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 if test -n "$CXX"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5129 $as_echo "$CXX" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5132 $as_echo "no" >&6; }
5136 test -n "$CXX" && break
5139 if test -z "$CXX"; then
5141 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy $ac_prog; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$ac_ct_CXX"; then
5151 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_prog_ac_ct_CXX="$ac_prog"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5171 if test -n "$ac_ct_CXX"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5173 $as_echo "$ac_ct_CXX" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 test -n "$ac_ct_CXX" && break
5183 if test "x$ac_ct_CXX" = x; then
5186 case $cross_compiling:$ac_tool_warned in
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5190 ac_tool_warned=yes ;;
5198 # Provide some information about the compiler.
5199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5202 for ac_option in --version -v -V -qversion; do
5203 { { ac_try="$ac_compiler $ac_option >&5"
5205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5206 *) ac_try_echo
=$ac_try;;
5208 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5209 $as_echo "$ac_try_echo"; } >&5
5210 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5212 if test -s conftest.err
; then
5214 ... rest of stderr output deleted ...
5215 10q' conftest.err
>conftest.er1
5216 cat conftest.er1
>&5
5218 rm -f conftest.er1 conftest.err
5219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5220 test $ac_status = 0; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5224 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5225 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5226 $as_echo_n "(cached) " >&6
5228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5242 if ac_fn_cxx_try_compile
"$LINENO"; then :
5247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5248 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5252 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5253 if test $ac_compiler_gnu = yes; then
5258 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5259 ac_save_CXXFLAGS
=$CXXFLAGS
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5261 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5262 if ${ac_cv_prog_cxx_g+:} false
; then :
5263 $as_echo_n "(cached) " >&6
5265 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5266 ac_cxx_werror_flag
=yes
5269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5280 if ac_fn_cxx_try_compile
"$LINENO"; then :
5281 ac_cv_prog_cxx_g
=yes
5284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5285 /* end confdefs.h. */
5295 if ac_fn_cxx_try_compile
"$LINENO"; then :
5298 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5311 if ac_fn_cxx_try_compile
"$LINENO"; then :
5312 ac_cv_prog_cxx_g
=yes
5314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5319 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5322 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5323 if test "$ac_test_CXXFLAGS" = set; then
5324 CXXFLAGS
=$ac_save_CXXFLAGS
5325 elif test $ac_cv_prog_cxx_g = yes; then
5326 if test "$GXX" = yes; then
5332 if test "$GXX" = yes; then
5339 ac_cpp
='$CPP $CPPFLAGS'
5340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5345 # We must set the default linker to the linker used by gcc for the correct
5346 # operation of libtool. If LD is not defined and we are using gcc, try to
5347 # set the LD default to the ld used by gcc.
5348 if test -z "$LD"; then
5349 if test "$GCC" = yes; then
5352 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5354 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5356 case $gcc_prog_ld in
5357 # Accept absolute paths.
5358 [\\/]* |
[A-Za-z
]:[\\/]*)
5359 LD
="$gcc_prog_ld" ;;
5364 # Check whether -static-libstdc++ -static-libgcc is supported.
5366 if test "$GCC" = yes; then
5367 saved_LDFLAGS
="$LDFLAGS"
5369 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5371 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5373 ac_cpp
='$CXXCPP $CPPFLAGS'
5374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5382 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5383 #error -static-libstdc++ not implemented
5387 if ac_fn_cxx_try_link
"$LINENO"; then :
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5389 $as_echo "yes" >&6; }; have_static_libs
=yes
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5394 rm -f core conftest.err conftest.
$ac_objext \
5395 conftest
$ac_exeext conftest.
$ac_ext
5397 ac_cpp
='$CPP $CPPFLAGS'
5398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5403 LDFLAGS
="$saved_LDFLAGS"
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5411 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_GNATBIND+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$GNATBIND"; then
5418 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 GNATBIND
=$ac_cv_prog_GNATBIND
5438 if test -n "$GNATBIND"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5440 $as_echo "$GNATBIND" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test -z "$ac_cv_prog_GNATBIND"; then
5449 ac_ct_GNATBIND
=$GNATBIND
5450 # Extract the first word of "gnatbind", so it can be a program name with args.
5451 set dummy gnatbind
; ac_word
=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5455 $as_echo_n "(cached) " >&6
5457 if test -n "$ac_ct_GNATBIND"; then
5458 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir
=.
5465 for ac_exec_ext
in '' $ac_executable_extensions; do
5466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5478 if test -n "$ac_ct_GNATBIND"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5480 $as_echo "$ac_ct_GNATBIND" >&6; }
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5486 if test "x$ac_ct_GNATBIND" = x
; then
5489 case $cross_compiling:$ac_tool_warned in
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5493 ac_tool_warned
=yes ;;
5495 GNATBIND
=$ac_ct_GNATBIND
5498 GNATBIND
="$ac_cv_prog_GNATBIND"
5501 if test -n "$ac_tool_prefix"; then
5502 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5503 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -n "$GNATMAKE"; then
5510 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir
=.
5517 for ac_exec_ext
in '' $ac_executable_extensions; do
5518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 GNATMAKE
=$ac_cv_prog_GNATMAKE
5530 if test -n "$GNATMAKE"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5532 $as_echo "$GNATMAKE" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5540 if test -z "$ac_cv_prog_GNATMAKE"; then
5541 ac_ct_GNATMAKE
=$GNATMAKE
5542 # Extract the first word of "gnatmake", so it can be a program name with args.
5543 set dummy gnatmake
; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$ac_ct_GNATMAKE"; then
5550 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir
=.
5557 for ac_exec_ext
in '' $ac_executable_extensions; do
5558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5570 if test -n "$ac_ct_GNATMAKE"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5572 $as_echo "$ac_ct_GNATMAKE" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5578 if test "x$ac_ct_GNATMAKE" = x
; then
5581 case $cross_compiling:$ac_tool_warned in
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585 ac_tool_warned
=yes ;;
5587 GNATMAKE
=$ac_ct_GNATMAKE
5590 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5594 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5595 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5598 cat >conftest.adb
<<EOF
5599 procedure conftest is begin null; end conftest;
5601 acx_cv_cc_gcc_supports_ada
=no
5602 # There is a bug in old released versions of GCC which causes the
5603 # driver to exit successfully when the appropriate language module
5604 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5605 # Therefore we must check for the error message as well as an
5606 # unsuccessful exit.
5607 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5608 # given a .adb file, but produce no object file. So we must check
5609 # if an object file was really produced to guard against this.
5610 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5611 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5612 acx_cv_cc_gcc_supports_ada
=yes
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5617 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5619 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5626 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5627 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5628 $as_echo_n "(cached) " >&6
5632 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5633 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5634 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5637 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5640 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5641 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5644 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5651 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5652 do_compare
="$gcc_cv_prog_cmp_skip"
5656 # Check whether --enable-bootstrap was given.
5657 if test "${enable_bootstrap+set}" = set; then :
5658 enableval
=$enable_bootstrap;
5660 enable_bootstrap
=default
5664 # Issue errors and warnings for invalid/strange bootstrap combinations.
5665 if test -r $srcdir/gcc
/configure
; then
5671 case "$have_compiler:$host:$target:$enable_bootstrap" in
5674 # Default behavior. Enable bootstrap if we have a compiler
5675 # and we are in a native configuration.
5676 yes:$build:$build:default
)
5677 enable_bootstrap
=yes ;;
5680 enable_bootstrap
=no
;;
5682 # We have a compiler and we are in a native configuration, bootstrap is ok
5683 yes:$build:$build:yes)
5686 # Other configurations, but we have a compiler. Assume the user knows
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5690 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5693 # No compiler: if they passed --enable-bootstrap explicitly, fail
5695 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5697 # Fail if wrong command line
5699 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5703 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5704 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5705 # require C++11 (or higher).
5706 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5707 CXX
="$CXX -std=c++11"
5708 elif test "$have_compiler" = yes; then
5709 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5711 ac_cpp
='$CXXCPP $CPPFLAGS'
5712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5718 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5719 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5726 // If the compiler admits that it is not ready for C++11, why torture it?
5727 // Hopefully, this will speed up the test.
5731 #error "This is not a C++ compiler"
5733 #elif __cplusplus < 201103L
5735 #error "This is not a C++11 compiler"
5742 namespace test_static_assert
5745 template <typename T>
5748 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5753 namespace test_final_override
5762 struct Derived : public Base
5764 virtual ~Derived() override {}
5765 virtual void f() override {}
5770 namespace test_double_right_angle_brackets
5773 template < typename T >
5776 typedef check<void> single_type;
5777 typedef check<check<void>> double_type;
5778 typedef check<check<check<void>>> triple_type;
5779 typedef check<check<check<check<void>>>> quadruple_type;
5783 namespace test_decltype
5796 namespace test_type_deduction
5799 template < typename T1, typename T2 >
5802 static const bool value = false;
5805 template < typename T >
5806 struct is_same<T, T>
5808 static const bool value = true;
5811 template < typename T1, typename T2 >
5813 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5819 test(const int c, volatile int v)
5821 static_assert(is_same<int, decltype(0)>::value == true, "");
5822 static_assert(is_same<int, decltype(c)>::value == false, "");
5823 static_assert(is_same<int, decltype(v)>::value == false, "");
5826 auto sumi = ac + av + 'x';
5827 auto sumf = ac + av + 1.0;
5828 static_assert(is_same<int, decltype(ac)>::value == true, "");
5829 static_assert(is_same<int, decltype(av)>::value == true, "");
5830 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5831 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5832 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5833 return (sumf > 0.0) ? sumi : add(c, v);
5838 namespace test_noexcept
5841 int f() { return 0; }
5842 int g() noexcept { return 0; }
5844 static_assert(noexcept(f()) == false, "");
5845 static_assert(noexcept(g()) == true, "");
5849 namespace test_constexpr
5852 template < typename CharT >
5853 unsigned long constexpr
5854 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5856 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5859 template < typename CharT >
5860 unsigned long constexpr
5861 strlen_c(const CharT *const s) noexcept
5863 return strlen_c_r(s, 0UL);
5866 static_assert(strlen_c("") == 0UL, "");
5867 static_assert(strlen_c("1") == 1UL, "");
5868 static_assert(strlen_c("example") == 7UL, "");
5869 static_assert(strlen_c("another\0example") == 7UL, "");
5873 namespace test_rvalue_references
5879 static constexpr int value = N;
5882 answer<1> f(int&) { return answer<1>(); }
5883 answer<2> f(const int&) { return answer<2>(); }
5884 answer<3> f(int&&) { return answer<3>(); }
5891 static_assert(decltype(f(i))::value == 1, "");
5892 static_assert(decltype(f(c))::value == 2, "");
5893 static_assert(decltype(f(0))::value == 3, "");
5898 namespace test_uniform_initialization
5903 static const int zero {};
5904 static const int one {1};
5907 static_assert(test::zero == 0, "");
5908 static_assert(test::one == 1, "");
5912 namespace test_lambdas
5918 auto lambda1 = [](){};
5919 auto lambda2 = lambda1;
5927 auto a = [](int i, int j){ return i + j; }(1, 2);
5928 auto b = []() -> int { return '0'; }();
5929 auto c = [=](){ return a + b; }();
5930 auto d = [&](){ return c; }();
5931 auto e = [a, &b](int x) mutable {
5932 const auto identity = [](int y){ return y; };
5933 for (auto i = 0; i < a; ++i)
5935 return x + identity(a + b);
5937 return a + b + c + d + e;
5943 const auto nullary = [](){ return 0; };
5944 const auto unary = [](int x){ return x; };
5945 using nullary_t = decltype(nullary);
5946 using unary_t = decltype(unary);
5947 const auto higher1st = [](nullary_t f){ return f(); };
5948 const auto higher2nd = [unary](nullary_t f1){
5949 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5951 return higher1st(nullary) + higher2nd(nullary)(unary);
5956 namespace test_variadic_templates
5962 template <int N0, int... N1toN>
5963 struct sum<N0, N1toN...>
5965 static constexpr auto value = N0 + sum<N1toN...>::value;
5971 static constexpr auto value = 0;
5974 static_assert(sum<>::value == 0, "");
5975 static_assert(sum<1>::value == 1, "");
5976 static_assert(sum<23>::value == 23, "");
5977 static_assert(sum<1, 2>::value == 3, "");
5978 static_assert(sum<5, 5, 11>::value == 21, "");
5979 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5983 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5984 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5986 namespace test_template_alias_sfinae
5991 template<typename T>
5992 using member = typename T::member_type;
5994 template<typename T>
5997 template<typename T>
5998 void func(member<T>*) {}
6002 void test() { func<foo>(0); }
6006 } // namespace cxx11
6008 #endif // __cplusplus >= 201103L
6013 if ac_fn_cxx_try_compile
"$LINENO"; then :
6014 ax_cv_cxx_compile_cxx11
=yes
6016 ax_cv_cxx_compile_cxx11
=no
6018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
6021 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
6022 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
6026 if test x
$ac_success = xno
; then
6027 for alternative
in ${ax_cxx_compile_alternatives}; do
6028 switch
="-std=gnu++${alternative}"
6029 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6031 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6032 if eval \
${$cachevar+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6041 // If the compiler admits that it is not ready for C++11, why torture it?
6042 // Hopefully, this will speed up the test.
6046 #error "This is not a C++ compiler"
6048 #elif __cplusplus < 201103L
6050 #error "This is not a C++11 compiler"
6057 namespace test_static_assert
6060 template <typename T>
6063 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6068 namespace test_final_override
6077 struct Derived : public Base
6079 virtual ~Derived() override {}
6080 virtual void f() override {}
6085 namespace test_double_right_angle_brackets
6088 template < typename T >
6091 typedef check<void> single_type;
6092 typedef check<check<void>> double_type;
6093 typedef check<check<check<void>>> triple_type;
6094 typedef check<check<check<check<void>>>> quadruple_type;
6098 namespace test_decltype
6111 namespace test_type_deduction
6114 template < typename T1, typename T2 >
6117 static const bool value = false;
6120 template < typename T >
6121 struct is_same<T, T>
6123 static const bool value = true;
6126 template < typename T1, typename T2 >
6128 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6134 test(const int c, volatile int v)
6136 static_assert(is_same<int, decltype(0)>::value == true, "");
6137 static_assert(is_same<int, decltype(c)>::value == false, "");
6138 static_assert(is_same<int, decltype(v)>::value == false, "");
6141 auto sumi = ac + av + 'x';
6142 auto sumf = ac + av + 1.0;
6143 static_assert(is_same<int, decltype(ac)>::value == true, "");
6144 static_assert(is_same<int, decltype(av)>::value == true, "");
6145 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6146 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6147 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6148 return (sumf > 0.0) ? sumi : add(c, v);
6153 namespace test_noexcept
6156 int f() { return 0; }
6157 int g() noexcept { return 0; }
6159 static_assert(noexcept(f()) == false, "");
6160 static_assert(noexcept(g()) == true, "");
6164 namespace test_constexpr
6167 template < typename CharT >
6168 unsigned long constexpr
6169 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6171 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6174 template < typename CharT >
6175 unsigned long constexpr
6176 strlen_c(const CharT *const s) noexcept
6178 return strlen_c_r(s, 0UL);
6181 static_assert(strlen_c("") == 0UL, "");
6182 static_assert(strlen_c("1") == 1UL, "");
6183 static_assert(strlen_c("example") == 7UL, "");
6184 static_assert(strlen_c("another\0example") == 7UL, "");
6188 namespace test_rvalue_references
6194 static constexpr int value = N;
6197 answer<1> f(int&) { return answer<1>(); }
6198 answer<2> f(const int&) { return answer<2>(); }
6199 answer<3> f(int&&) { return answer<3>(); }
6206 static_assert(decltype(f(i))::value == 1, "");
6207 static_assert(decltype(f(c))::value == 2, "");
6208 static_assert(decltype(f(0))::value == 3, "");
6213 namespace test_uniform_initialization
6218 static const int zero {};
6219 static const int one {1};
6222 static_assert(test::zero == 0, "");
6223 static_assert(test::one == 1, "");
6227 namespace test_lambdas
6233 auto lambda1 = [](){};
6234 auto lambda2 = lambda1;
6242 auto a = [](int i, int j){ return i + j; }(1, 2);
6243 auto b = []() -> int { return '0'; }();
6244 auto c = [=](){ return a + b; }();
6245 auto d = [&](){ return c; }();
6246 auto e = [a, &b](int x) mutable {
6247 const auto identity = [](int y){ return y; };
6248 for (auto i = 0; i < a; ++i)
6250 return x + identity(a + b);
6252 return a + b + c + d + e;
6258 const auto nullary = [](){ return 0; };
6259 const auto unary = [](int x){ return x; };
6260 using nullary_t = decltype(nullary);
6261 using unary_t = decltype(unary);
6262 const auto higher1st = [](nullary_t f){ return f(); };
6263 const auto higher2nd = [unary](nullary_t f1){
6264 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6266 return higher1st(nullary) + higher2nd(nullary)(unary);
6271 namespace test_variadic_templates
6277 template <int N0, int... N1toN>
6278 struct sum<N0, N1toN...>
6280 static constexpr auto value = N0 + sum<N1toN...>::value;
6286 static constexpr auto value = 0;
6289 static_assert(sum<>::value == 0, "");
6290 static_assert(sum<1>::value == 1, "");
6291 static_assert(sum<23>::value == 23, "");
6292 static_assert(sum<1, 2>::value == 3, "");
6293 static_assert(sum<5, 5, 11>::value == 21, "");
6294 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6298 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6299 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6301 namespace test_template_alias_sfinae
6306 template<typename T>
6307 using member = typename T::member_type;
6309 template<typename T>
6312 template<typename T>
6313 void func(member<T>*) {}
6317 void test() { func<foo>(0); }
6321 } // namespace cxx11
6323 #endif // __cplusplus >= 201103L
6328 if ac_fn_cxx_try_compile
"$LINENO"; then :
6333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6336 eval ac_res
=\$
$cachevar
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6338 $as_echo "$ac_res" >&6; }
6339 if eval test x\$
$cachevar = xyes
; then
6341 if test -n "$CXXCPP" ; then
6342 CXXCPP
="$CXXCPP $switch"
6350 if test x
$ac_success = xno
; then
6351 for alternative
in ${ax_cxx_compile_alternatives}; do
6352 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6353 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6355 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6356 if eval \${$cachevar+:} false; then :
6357 $as_echo_n "(cached
) " >&6
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6365 // If the compiler admits that it is not ready for C++11, why torture it?
6366 // Hopefully, this will speed up the test.
6370 #error "This is not a C
++ compiler
"
6372 #elif __cplusplus < 201103L
6374 #error "This is not a C
++11 compiler
"
6381 namespace test_static_assert
6384 template <typename T>
6387 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6392 namespace test_final_override
6401 struct Derived : public Base
6403 virtual ~Derived() override {}
6404 virtual void f() override {}
6409 namespace test_double_right_angle_brackets
6412 template < typename T >
6415 typedef check<void> single_type;
6416 typedef check<check<void>> double_type;
6417 typedef check<check<check<void>>> triple_type;
6418 typedef check<check<check<check<void>>>> quadruple_type;
6422 namespace test_decltype
6435 namespace test_type_deduction
6438 template < typename T1, typename T2 >
6441 static const bool value = false;
6444 template < typename T >
6445 struct is_same<T, T>
6447 static const bool value = true;
6450 template < typename T1, typename T2 >
6452 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6458 test(const int c, volatile int v)
6460 static_assert(is_same<int, decltype(0)>::value == true, "");
6461 static_assert(is_same<int, decltype(c)>::value == false, "");
6462 static_assert(is_same<int, decltype(v)>::value == false, "");
6465 auto sumi = ac + av + 'x';
6466 auto sumf = ac + av + 1.0;
6467 static_assert(is_same<int, decltype(ac)>::value == true, "");
6468 static_assert(is_same<int, decltype(av)>::value == true, "");
6469 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6470 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6471 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6472 return (sumf > 0.0) ? sumi : add(c, v);
6477 namespace test_noexcept
6480 int f() { return 0; }
6481 int g() noexcept { return 0; }
6483 static_assert(noexcept(f()) == false, "");
6484 static_assert(noexcept(g()) == true, "");
6488 namespace test_constexpr
6491 template < typename CharT >
6492 unsigned long constexpr
6493 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6495 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6498 template < typename CharT >
6499 unsigned long constexpr
6500 strlen_c(const CharT *const s) noexcept
6502 return strlen_c_r(s, 0UL);
6505 static_assert(strlen_c("") == 0UL, "");
6506 static_assert(strlen_c("1") == 1UL, "");
6507 static_assert(strlen_c("example
") == 7UL, "");
6508 static_assert(strlen_c("another\
0example
") == 7UL, "");
6512 namespace test_rvalue_references
6518 static constexpr int value = N;
6521 answer<1> f(int&) { return answer<1>(); }
6522 answer<2> f(const int&) { return answer<2>(); }
6523 answer<3> f(int&&) { return answer<3>(); }
6530 static_assert(decltype(f(i))::value == 1, "");
6531 static_assert(decltype(f(c))::value == 2, "");
6532 static_assert(decltype(f(0))::value == 3, "");
6537 namespace test_uniform_initialization
6542 static const int zero {};
6543 static const int one {1};
6546 static_assert(test::zero == 0, "");
6547 static_assert(test::one == 1, "");
6551 namespace test_lambdas
6557 auto lambda1 = [](){};
6558 auto lambda2 = lambda1;
6566 auto a = [](int i, int j){ return i + j; }(1, 2);
6567 auto b = []() -> int { return '0'; }();
6568 auto c = [=](){ return a + b; }();
6569 auto d = [&](){ return c; }();
6570 auto e = [a, &b](int x) mutable {
6571 const auto identity = [](int y){ return y; };
6572 for (auto i = 0; i < a; ++i)
6574 return x + identity(a + b);
6576 return a + b + c + d + e;
6582 const auto nullary = [](){ return 0; };
6583 const auto unary = [](int x){ return x; };
6584 using nullary_t = decltype(nullary);
6585 using unary_t = decltype(unary);
6586 const auto higher1st = [](nullary_t f){ return f(); };
6587 const auto higher2nd = [unary](nullary_t f1){
6588 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6590 return higher1st(nullary) + higher2nd(nullary)(unary);
6595 namespace test_variadic_templates
6601 template <int N0, int... N1toN>
6602 struct sum<N0, N1toN...>
6604 static constexpr auto value = N0 + sum<N1toN...>::value;
6610 static constexpr auto value = 0;
6613 static_assert(sum<>::value == 0, "");
6614 static_assert(sum<1>::value == 1, "");
6615 static_assert(sum<23>::value == 23, "");
6616 static_assert(sum<1, 2>::value == 3, "");
6617 static_assert(sum<5, 5, 11>::value == 21, "");
6618 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6622 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6623 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6625 namespace test_template_alias_sfinae
6630 template<typename T>
6631 using member = typename T::member_type;
6633 template<typename T>
6636 template<typename T>
6637 void func(member<T>*) {}
6641 void test() { func<foo>(0); }
6645 } // namespace cxx11
6647 #endif // __cplusplus >= 201103L
6652 if ac_fn_cxx_try_compile "$LINENO"; then :
6657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6660 eval ac_res=\$$cachevar
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6662 $as_echo "$ac_res" >&6; }
6663 if eval test x\$$cachevar = xyes; then
6665 if test -n "$CXXCPP" ; then
6666 CXXCPP="$CXXCPP $switch"
6672 if test x$ac_success = xyes; then
6679 ac_cpp='$CPP $CPPFLAGS'
6680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6684 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6685 if test x$ac_success = xno; then
6686 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6689 if test x$ac_success = xno; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6692 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6696 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6702 if test "${build}" != "${host}"; then
6703 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6705 ac_cpp
='$CXXCPP $CPPFLAGS'
6706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6710 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6711 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6712 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6713 CXX
="$CXX_FOR_BUILD"
6714 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6715 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6717 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6718 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6719 $as_echo_n "(cached) " >&6
6721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6722 /* end confdefs.h. */
6725 // If the compiler admits that it is not ready for C++11, why torture it?
6726 // Hopefully, this will speed up the test.
6730 #error "This is not a C++ compiler"
6732 #elif __cplusplus < 201103L
6734 #error "This is not a C++11 compiler"
6741 namespace test_static_assert
6744 template <typename T>
6747 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6752 namespace test_final_override
6761 struct Derived : public Base
6763 virtual ~Derived() override {}
6764 virtual void f() override {}
6769 namespace test_double_right_angle_brackets
6772 template < typename T >
6775 typedef check<void> single_type;
6776 typedef check<check<void>> double_type;
6777 typedef check<check<check<void>>> triple_type;
6778 typedef check<check<check<check<void>>>> quadruple_type;
6782 namespace test_decltype
6795 namespace test_type_deduction
6798 template < typename T1, typename T2 >
6801 static const bool value = false;
6804 template < typename T >
6805 struct is_same<T, T>
6807 static const bool value = true;
6810 template < typename T1, typename T2 >
6812 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6818 test(const int c, volatile int v)
6820 static_assert(is_same<int, decltype(0)>::value == true, "");
6821 static_assert(is_same<int, decltype(c)>::value == false, "");
6822 static_assert(is_same<int, decltype(v)>::value == false, "");
6825 auto sumi = ac + av + 'x';
6826 auto sumf = ac + av + 1.0;
6827 static_assert(is_same<int, decltype(ac)>::value == true, "");
6828 static_assert(is_same<int, decltype(av)>::value == true, "");
6829 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6830 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6831 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6832 return (sumf > 0.0) ? sumi : add(c, v);
6837 namespace test_noexcept
6840 int f() { return 0; }
6841 int g() noexcept { return 0; }
6843 static_assert(noexcept(f()) == false, "");
6844 static_assert(noexcept(g()) == true, "");
6848 namespace test_constexpr
6851 template < typename CharT >
6852 unsigned long constexpr
6853 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6855 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6858 template < typename CharT >
6859 unsigned long constexpr
6860 strlen_c(const CharT *const s) noexcept
6862 return strlen_c_r(s, 0UL);
6865 static_assert(strlen_c("") == 0UL, "");
6866 static_assert(strlen_c("1") == 1UL, "");
6867 static_assert(strlen_c("example") == 7UL, "");
6868 static_assert(strlen_c("another\0example") == 7UL, "");
6872 namespace test_rvalue_references
6878 static constexpr int value = N;
6881 answer<1> f(int&) { return answer<1>(); }
6882 answer<2> f(const int&) { return answer<2>(); }
6883 answer<3> f(int&&) { return answer<3>(); }
6890 static_assert(decltype(f(i))::value == 1, "");
6891 static_assert(decltype(f(c))::value == 2, "");
6892 static_assert(decltype(f(0))::value == 3, "");
6897 namespace test_uniform_initialization
6902 static const int zero {};
6903 static const int one {1};
6906 static_assert(test::zero == 0, "");
6907 static_assert(test::one == 1, "");
6911 namespace test_lambdas
6917 auto lambda1 = [](){};
6918 auto lambda2 = lambda1;
6926 auto a = [](int i, int j){ return i + j; }(1, 2);
6927 auto b = []() -> int { return '0'; }();
6928 auto c = [=](){ return a + b; }();
6929 auto d = [&](){ return c; }();
6930 auto e = [a, &b](int x) mutable {
6931 const auto identity = [](int y){ return y; };
6932 for (auto i = 0; i < a; ++i)
6934 return x + identity(a + b);
6936 return a + b + c + d + e;
6942 const auto nullary = [](){ return 0; };
6943 const auto unary = [](int x){ return x; };
6944 using nullary_t = decltype(nullary);
6945 using unary_t = decltype(unary);
6946 const auto higher1st = [](nullary_t f){ return f(); };
6947 const auto higher2nd = [unary](nullary_t f1){
6948 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6950 return higher1st(nullary) + higher2nd(nullary)(unary);
6955 namespace test_variadic_templates
6961 template <int N0, int... N1toN>
6962 struct sum<N0, N1toN...>
6964 static constexpr auto value = N0 + sum<N1toN...>::value;
6970 static constexpr auto value = 0;
6973 static_assert(sum<>::value == 0, "");
6974 static_assert(sum<1>::value == 1, "");
6975 static_assert(sum<23>::value == 23, "");
6976 static_assert(sum<1, 2>::value == 3, "");
6977 static_assert(sum<5, 5, 11>::value == 21, "");
6978 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6982 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6983 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6985 namespace test_template_alias_sfinae
6990 template<typename T>
6991 using member = typename T::member_type;
6993 template<typename T>
6996 template<typename T>
6997 void func(member<T>*) {}
7001 void test() { func<foo>(0); }
7005 } // namespace cxx11
7007 #endif // __cplusplus >= 201103L
7012 if ac_fn_cxx_try_compile
"$LINENO"; then :
7013 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
7015 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
7017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
7020 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
7021 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
7025 if test x
$ac_success = xno
; then
7026 for alternative
in ${ax_cxx_compile_alternatives}; do
7027 switch
="-std=gnu++${alternative}"
7028 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7030 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
7031 if eval \
${$cachevar+:} false
; then :
7032 $as_echo_n "(cached) " >&6
7036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7040 // If the compiler admits that it is not ready for C++11, why torture it?
7041 // Hopefully, this will speed up the test.
7045 #error "This is not a C++ compiler"
7047 #elif __cplusplus < 201103L
7049 #error "This is not a C++11 compiler"
7056 namespace test_static_assert
7059 template <typename T>
7062 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7067 namespace test_final_override
7076 struct Derived : public Base
7078 virtual ~Derived() override {}
7079 virtual void f() override {}
7084 namespace test_double_right_angle_brackets
7087 template < typename T >
7090 typedef check<void> single_type;
7091 typedef check<check<void>> double_type;
7092 typedef check<check<check<void>>> triple_type;
7093 typedef check<check<check<check<void>>>> quadruple_type;
7097 namespace test_decltype
7110 namespace test_type_deduction
7113 template < typename T1, typename T2 >
7116 static const bool value = false;
7119 template < typename T >
7120 struct is_same<T, T>
7122 static const bool value = true;
7125 template < typename T1, typename T2 >
7127 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7133 test(const int c, volatile int v)
7135 static_assert(is_same<int, decltype(0)>::value == true, "");
7136 static_assert(is_same<int, decltype(c)>::value == false, "");
7137 static_assert(is_same<int, decltype(v)>::value == false, "");
7140 auto sumi = ac + av + 'x';
7141 auto sumf = ac + av + 1.0;
7142 static_assert(is_same<int, decltype(ac)>::value == true, "");
7143 static_assert(is_same<int, decltype(av)>::value == true, "");
7144 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7145 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7146 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7147 return (sumf > 0.0) ? sumi : add(c, v);
7152 namespace test_noexcept
7155 int f() { return 0; }
7156 int g() noexcept { return 0; }
7158 static_assert(noexcept(f()) == false, "");
7159 static_assert(noexcept(g()) == true, "");
7163 namespace test_constexpr
7166 template < typename CharT >
7167 unsigned long constexpr
7168 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7170 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7173 template < typename CharT >
7174 unsigned long constexpr
7175 strlen_c(const CharT *const s) noexcept
7177 return strlen_c_r(s, 0UL);
7180 static_assert(strlen_c("") == 0UL, "");
7181 static_assert(strlen_c("1") == 1UL, "");
7182 static_assert(strlen_c("example") == 7UL, "");
7183 static_assert(strlen_c("another\0example") == 7UL, "");
7187 namespace test_rvalue_references
7193 static constexpr int value = N;
7196 answer<1> f(int&) { return answer<1>(); }
7197 answer<2> f(const int&) { return answer<2>(); }
7198 answer<3> f(int&&) { return answer<3>(); }
7205 static_assert(decltype(f(i))::value == 1, "");
7206 static_assert(decltype(f(c))::value == 2, "");
7207 static_assert(decltype(f(0))::value == 3, "");
7212 namespace test_uniform_initialization
7217 static const int zero {};
7218 static const int one {1};
7221 static_assert(test::zero == 0, "");
7222 static_assert(test::one == 1, "");
7226 namespace test_lambdas
7232 auto lambda1 = [](){};
7233 auto lambda2 = lambda1;
7241 auto a = [](int i, int j){ return i + j; }(1, 2);
7242 auto b = []() -> int { return '0'; }();
7243 auto c = [=](){ return a + b; }();
7244 auto d = [&](){ return c; }();
7245 auto e = [a, &b](int x) mutable {
7246 const auto identity = [](int y){ return y; };
7247 for (auto i = 0; i < a; ++i)
7249 return x + identity(a + b);
7251 return a + b + c + d + e;
7257 const auto nullary = [](){ return 0; };
7258 const auto unary = [](int x){ return x; };
7259 using nullary_t = decltype(nullary);
7260 using unary_t = decltype(unary);
7261 const auto higher1st = [](nullary_t f){ return f(); };
7262 const auto higher2nd = [unary](nullary_t f1){
7263 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7265 return higher1st(nullary) + higher2nd(nullary)(unary);
7270 namespace test_variadic_templates
7276 template <int N0, int... N1toN>
7277 struct sum<N0, N1toN...>
7279 static constexpr auto value = N0 + sum<N1toN...>::value;
7285 static constexpr auto value = 0;
7288 static_assert(sum<>::value == 0, "");
7289 static_assert(sum<1>::value == 1, "");
7290 static_assert(sum<23>::value == 23, "");
7291 static_assert(sum<1, 2>::value == 3, "");
7292 static_assert(sum<5, 5, 11>::value == 21, "");
7293 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7297 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7298 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7300 namespace test_template_alias_sfinae
7305 template<typename T>
7306 using member = typename T::member_type;
7308 template<typename T>
7311 template<typename T>
7312 void func(member<T>*) {}
7316 void test() { func<foo>(0); }
7320 } // namespace cxx11
7322 #endif // __cplusplus >= 201103L
7327 if ac_fn_cxx_try_compile
"$LINENO"; then :
7332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7335 eval ac_res
=\$
$cachevar
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7337 $as_echo "$ac_res" >&6; }
7338 if eval test x\$
$cachevar = xyes
; then
7340 if test -n "$CXXCPP" ; then
7341 CXXCPP
="$CXXCPP $switch"
7349 if test x
$ac_success = xno
; then
7350 for alternative
in ${ax_cxx_compile_alternatives}; do
7351 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7352 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7354 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7355 if eval \${$cachevar+:} false; then :
7356 $as_echo_n "(cached
) " >&6
7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7364 // If the compiler admits that it is not ready for C++11, why torture it?
7365 // Hopefully, this will speed up the test.
7369 #error "This is not a C
++ compiler
"
7371 #elif __cplusplus < 201103L
7373 #error "This is not a C
++11 compiler
"
7380 namespace test_static_assert
7383 template <typename T>
7386 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7391 namespace test_final_override
7400 struct Derived : public Base
7402 virtual ~Derived() override {}
7403 virtual void f() override {}
7408 namespace test_double_right_angle_brackets
7411 template < typename T >
7414 typedef check<void> single_type;
7415 typedef check<check<void>> double_type;
7416 typedef check<check<check<void>>> triple_type;
7417 typedef check<check<check<check<void>>>> quadruple_type;
7421 namespace test_decltype
7434 namespace test_type_deduction
7437 template < typename T1, typename T2 >
7440 static const bool value = false;
7443 template < typename T >
7444 struct is_same<T, T>
7446 static const bool value = true;
7449 template < typename T1, typename T2 >
7451 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7457 test(const int c, volatile int v)
7459 static_assert(is_same<int, decltype(0)>::value == true, "");
7460 static_assert(is_same<int, decltype(c)>::value == false, "");
7461 static_assert(is_same<int, decltype(v)>::value == false, "");
7464 auto sumi = ac + av + 'x';
7465 auto sumf = ac + av + 1.0;
7466 static_assert(is_same<int, decltype(ac)>::value == true, "");
7467 static_assert(is_same<int, decltype(av)>::value == true, "");
7468 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7469 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7470 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7471 return (sumf > 0.0) ? sumi : add(c, v);
7476 namespace test_noexcept
7479 int f() { return 0; }
7480 int g() noexcept { return 0; }
7482 static_assert(noexcept(f()) == false, "");
7483 static_assert(noexcept(g()) == true, "");
7487 namespace test_constexpr
7490 template < typename CharT >
7491 unsigned long constexpr
7492 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7494 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7497 template < typename CharT >
7498 unsigned long constexpr
7499 strlen_c(const CharT *const s) noexcept
7501 return strlen_c_r(s, 0UL);
7504 static_assert(strlen_c("") == 0UL, "");
7505 static_assert(strlen_c("1") == 1UL, "");
7506 static_assert(strlen_c("example
") == 7UL, "");
7507 static_assert(strlen_c("another\
0example
") == 7UL, "");
7511 namespace test_rvalue_references
7517 static constexpr int value = N;
7520 answer<1> f(int&) { return answer<1>(); }
7521 answer<2> f(const int&) { return answer<2>(); }
7522 answer<3> f(int&&) { return answer<3>(); }
7529 static_assert(decltype(f(i))::value == 1, "");
7530 static_assert(decltype(f(c))::value == 2, "");
7531 static_assert(decltype(f(0))::value == 3, "");
7536 namespace test_uniform_initialization
7541 static const int zero {};
7542 static const int one {1};
7545 static_assert(test::zero == 0, "");
7546 static_assert(test::one == 1, "");
7550 namespace test_lambdas
7556 auto lambda1 = [](){};
7557 auto lambda2 = lambda1;
7565 auto a = [](int i, int j){ return i + j; }(1, 2);
7566 auto b = []() -> int { return '0'; }();
7567 auto c = [=](){ return a + b; }();
7568 auto d = [&](){ return c; }();
7569 auto e = [a, &b](int x) mutable {
7570 const auto identity = [](int y){ return y; };
7571 for (auto i = 0; i < a; ++i)
7573 return x + identity(a + b);
7575 return a + b + c + d + e;
7581 const auto nullary = [](){ return 0; };
7582 const auto unary = [](int x){ return x; };
7583 using nullary_t = decltype(nullary);
7584 using unary_t = decltype(unary);
7585 const auto higher1st = [](nullary_t f){ return f(); };
7586 const auto higher2nd = [unary](nullary_t f1){
7587 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7589 return higher1st(nullary) + higher2nd(nullary)(unary);
7594 namespace test_variadic_templates
7600 template <int N0, int... N1toN>
7601 struct sum<N0, N1toN...>
7603 static constexpr auto value = N0 + sum<N1toN...>::value;
7609 static constexpr auto value = 0;
7612 static_assert(sum<>::value == 0, "");
7613 static_assert(sum<1>::value == 1, "");
7614 static_assert(sum<23>::value == 23, "");
7615 static_assert(sum<1, 2>::value == 3, "");
7616 static_assert(sum<5, 5, 11>::value == 21, "");
7617 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7621 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7622 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7624 namespace test_template_alias_sfinae
7629 template<typename T>
7630 using member = typename T::member_type;
7632 template<typename T>
7635 template<typename T>
7636 void func(member<T>*) {}
7640 void test() { func<foo>(0); }
7644 } // namespace cxx11
7646 #endif // __cplusplus >= 201103L
7651 if ac_fn_cxx_try_compile "$LINENO"; then :
7656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7659 eval ac_res=\$$cachevar
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7661 $as_echo "$ac_res" >&6; }
7662 if eval test x\$$cachevar = xyes; then
7664 if test -n "$CXXCPP" ; then
7665 CXXCPP="$CXXCPP $switch"
7671 if test x$ac_success = xyes; then
7676 CXX_FOR_BUILD="$CXX"
7677 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7678 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7679 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7680 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7681 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7683 ac_cpp='$CPP $CPPFLAGS'
7684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7688 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7689 if test x$ac_success = xno; then
7690 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7693 if test x$ac_success = xno; then
7694 HAVE_CXX11_FOR_BUILD=0
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7696 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7698 HAVE_CXX11_FOR_BUILD=1
7700 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7708 # Used for setting $lt_cv_objdir
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7710 $as_echo_n "checking for objdir... " >&6; }
7711 if ${lt_cv_objdir+:} false
; then :
7712 $as_echo_n "(cached) " >&6
7714 rm -f .libs
2>/dev
/null
7715 mkdir .libs
2>/dev
/null
7716 if test -d .libs
; then
7719 # MS-DOS does not allow filenames that begin with a dot.
7722 rmdir .libs
2>/dev
/null
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7725 $as_echo "$lt_cv_objdir" >&6; }
7726 objdir
=$lt_cv_objdir
7732 cat >>confdefs.h
<<_ACEOF
7733 #define LT_OBJDIR "$lt_cv_objdir/"
7738 # Check for GMP, MPFR and MPC
7739 gmplibs
="-lmpc -lmpfr -lgmp"
7743 # Specify a location for mpc
7744 # check for this first so it ends up on the link line before mpfr.
7746 # Check whether --with-mpc was given.
7747 if test "${with_mpc+set}" = set; then :
7752 # Check whether --with-mpc-include was given.
7753 if test "${with_mpc_include+set}" = set; then :
7754 withval
=$with_mpc_include;
7758 # Check whether --with-mpc-lib was given.
7759 if test "${with_mpc_lib+set}" = set; then :
7760 withval
=$with_mpc_lib;
7764 if test "x$with_mpc" != x
; then
7765 gmplibs
="-L$with_mpc/lib $gmplibs"
7766 gmpinc
="-I$with_mpc/include $gmpinc"
7768 if test "x$with_mpc_include" != x
; then
7769 gmpinc
="-I$with_mpc_include $gmpinc"
7771 if test "x$with_mpc_lib" != x
; then
7772 gmplibs
="-L$with_mpc_lib $gmplibs"
7774 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
7775 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
7776 gmpinc
='-I$$s/mpc/src '"$gmpinc"
7777 # Do not test the mpc version. Assume that it is sufficient, since
7778 # it is in the source tree, and the library has not been built yet
7779 # but it would be included on the link line in the version check below
7780 # hence making the test fail.
7784 # Specify a location for mpfr
7785 # check for this first so it ends up on the link line before gmp.
7787 # Check whether --with-mpfr-dir was given.
7788 if test "${with_mpfr_dir+set}" = set; then :
7789 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
7790 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
7795 # Check whether --with-mpfr was given.
7796 if test "${with_mpfr+set}" = set; then :
7801 # Check whether --with-mpfr-include was given.
7802 if test "${with_mpfr_include+set}" = set; then :
7803 withval
=$with_mpfr_include;
7807 # Check whether --with-mpfr-lib was given.
7808 if test "${with_mpfr_lib+set}" = set; then :
7809 withval
=$with_mpfr_lib;
7813 if test "x$with_mpfr" != x
; then
7814 gmplibs
="-L$with_mpfr/lib $gmplibs"
7815 gmpinc
="-I$with_mpfr/include $gmpinc"
7817 if test "x$with_mpfr_include" != x
; then
7818 gmpinc
="-I$with_mpfr_include $gmpinc"
7820 if test "x$with_mpfr_lib" != x
; then
7821 gmplibs
="-L$with_mpfr_lib $gmplibs"
7823 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
7824 # MPFR v3.1.0 moved the sources into a src sub-directory.
7825 if ! test -d ${srcdir}/mpfr
/src
; then
7826 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
7828 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
7829 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
7830 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
7831 # Do not test the mpfr version. Assume that it is sufficient, since
7832 # it is in the source tree, and the library has not been built yet
7833 # but it would be included on the link line in the version check below
7834 # hence making the test fail.
7838 # Specify a location for gmp
7840 # Check whether --with-gmp-dir was given.
7841 if test "${with_gmp_dir+set}" = set; then :
7842 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
7843 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
7848 # Check whether --with-gmp was given.
7849 if test "${with_gmp+set}" = set; then :
7854 # Check whether --with-gmp-include was given.
7855 if test "${with_gmp_include+set}" = set; then :
7856 withval
=$with_gmp_include;
7860 # Check whether --with-gmp-lib was given.
7861 if test "${with_gmp_lib+set}" = set; then :
7862 withval
=$with_gmp_lib;
7867 if test "x$with_gmp" != x
; then
7868 gmplibs
="-L$with_gmp/lib $gmplibs"
7869 gmpinc
="-I$with_gmp/include $gmpinc"
7871 if test "x$with_gmp_include" != x
; then
7872 gmpinc
="-I$with_gmp_include $gmpinc"
7874 if test "x$with_gmp_lib" != x
; then
7875 gmplibs
="-L$with_gmp_lib $gmplibs"
7877 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
7878 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
7879 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
7880 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
7881 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
7882 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
7883 # Do not test the gmp version. Assume that it is sufficient, since
7884 # it is in the source tree, and the library has not been built yet
7885 # but it would be included on the link line in the version check below
7886 # hence making the test fail.
7890 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
7892 saved_CFLAGS
="$CFLAGS"
7893 CFLAGS
="$CFLAGS $gmpinc"
7894 # Check for the recommended and required versions of GMP.
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
7896 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
7898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7905 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
7906 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
7907 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
7915 if ac_fn_c_try_compile
"$LINENO"; then :
7916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7923 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
7924 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
7925 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
7933 if ac_fn_c_try_compile
"$LINENO"; then :
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7935 $as_echo "yes" >&6; }
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7938 $as_echo "buggy but acceptable" >&6; }
7940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }; have_gmp
=no
7945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7947 # If we have GMP, check the MPFR version.
7948 if test x
"$have_gmp" = xyes
; then
7949 # Check for the recommended and required versions of MPFR.
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
7951 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
7952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7953 /* end confdefs.h. */
7960 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
7968 if ac_fn_c_try_compile
"$LINENO"; then :
7969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7977 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
7985 if ac_fn_c_try_compile
"$LINENO"; then :
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7987 $as_echo "yes" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
7990 $as_echo "buggy but acceptable" >&6; }
7992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }; have_gmp
=no
7997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8000 # Check for the MPC header version.
8001 if test x
"$have_gmp" = xyes
; then
8002 # Check for the recommended and required versions of MPC.
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
8004 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
8005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8006 /* end confdefs.h. */
8012 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
8020 if ac_fn_c_try_compile
"$LINENO"; then :
8021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8028 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
8036 if ac_fn_c_try_compile
"$LINENO"; then :
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8038 $as_echo "yes" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8041 $as_echo "buggy but acceptable" >&6; }
8043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }; have_gmp
=no
8048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8051 # Now check the MPFR library.
8052 if test x
"$have_gmp" = xyes
; then
8054 LIBS
="$LIBS $gmplibs"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
8056 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
8057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8070 mpfr_atan2 (n, n, x, MPFR_RNDN);
8071 mpfr_erfc (n, x, MPFR_RNDN);
8072 mpfr_subnormalize (x, t, MPFR_RNDN);
8076 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
8077 mpc_cosh (c, c, MPC_RNDNN);
8078 mpc_pow (c, c, c, MPC_RNDNN);
8079 mpc_acosh (c, c, MPC_RNDNN);
8086 if ac_fn_c_try_link
"$LINENO"; then :
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8088 $as_echo "yes" >&6; }
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091 $as_echo "no" >&6; }; have_gmp
=no
8093 rm -f core conftest.err conftest.
$ac_objext \
8094 conftest
$ac_exeext conftest.
$ac_ext
8098 CFLAGS
="$saved_CFLAGS"
8100 # The library versions listed in the error message below should match
8101 # the HARD-minimums enforced above.
8102 if test x
$have_gmp != xyes
; then
8103 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
8104 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
8105 their locations. Source code for these libraries can be found at
8106 their respective hosting sites as well as at
8107 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
8108 http://gcc.gnu.org/install/prerequisites.html for additional info. If
8109 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
8110 make sure that you have installed both the libraries and the header
8111 files. They may be located in separate packages." "$LINENO" 5
8115 # Flags needed for both GMP, MPFR and/or MPC.
8123 # Libraries to use for stage1 or when not bootstrapping.
8125 # Check whether --with-stage1-libs was given.
8126 if test "${with_stage1_libs+set}" = set; then :
8127 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8130 stage1_libs
=$withval
8138 # Whether or not to use -static-libstdc++ and -static-libgcc. The
8139 # default is yes if gcc is being built; no otherwise. The reason for
8140 # this default is that gdb is sometimes linked against GNU Source
8141 # Highlight, which is a shared library that uses C++ exceptions. In
8142 # this case, -static-libstdc++ will cause crashes.
8144 # Check whether --with-static-standard-libraries was given.
8145 if test "${with_static_standard_libraries+set}" = set; then :
8146 withval
=$with_static_standard_libraries;
8148 with_static_standard_libraries
=auto
8151 if test "$with_static_standard_libraries" = auto
; then
8152 with_static_standard_libraries
=$have_compiler
8155 # Linker flags to use for stage1 or when not bootstrapping.
8157 # Check whether --with-stage1-ldflags was given.
8158 if test "${with_stage1_ldflags+set}" = set; then :
8159 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8162 stage1_ldflags
=$withval
8166 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8167 # if supported. But if the user explicitly specified the libraries to use,
8168 # trust that they are doing what they want.
8169 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8170 -a "$have_static_libs" = yes; then
8171 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8177 # Libraries to use for stage2 and later builds.
8179 # Check whether --with-boot-libs was given.
8180 if test "${with_boot_libs+set}" = set; then :
8181 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8184 poststage1_libs
=$withval
8192 # Linker flags to use for stage2 and later builds.
8194 # Check whether --with-boot-ldflags was given.
8195 if test "${with_boot_ldflags+set}" = set; then :
8196 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8199 poststage1_ldflags
=$withval
8203 # In stages 2 and 3, default to linking libstdc++ and libgcc
8204 # statically. But if the user explicitly specified the libraries to
8205 # use, trust that they are doing what they want.
8206 if test "$poststage1_libs" = ""; then
8207 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8213 # GCC GRAPHITE dependency isl.
8214 # Basic setup is inlined here, actual checks are in config/isl.m4
8217 # Check whether --with-isl was given.
8218 if test "${with_isl+set}" = set; then :
8223 # Treat --without-isl as a request to disable
8224 # GRAPHITE support and skip all following checks.
8225 if test "x$with_isl" != "xno"; then
8229 # Check whether --with-isl-include was given.
8230 if test "${with_isl_include+set}" = set; then :
8231 withval
=$with_isl_include;
8235 # Check whether --with-isl-lib was given.
8236 if test "${with_isl_lib+set}" = set; then :
8237 withval
=$with_isl_lib;
8241 # Check whether --enable-isl-version-check was given.
8242 if test "${enable_isl_version_check+set}" = set; then :
8243 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8245 ENABLE_ISL_CHECK
=yes
8249 # Initialize isllibs and islinc.
8258 isllibs
="-L$with_isl/lib"
8259 islinc
="-I$with_isl/include"
8262 if test "x${with_isl_include}" != x
; then
8263 islinc
="-I$with_isl_include"
8265 if test "x${with_isl_lib}" != x
; then
8266 isllibs
="-L$with_isl_lib"
8268 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8269 && test -d ${srcdir}/isl
; then
8270 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8271 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8274 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8277 isllibs
="${isllibs} -lisl"
8281 if test "${ENABLE_ISL_CHECK}" = yes ; then
8282 _isl_saved_CFLAGS
=$CFLAGS
8283 _isl_saved_LDFLAGS
=$LDFLAGS
8284 _isl_saved_LIBS
=$LIBS
8286 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8287 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8288 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8291 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8294 #include <isl/schedule.h>
8298 isl_options_set_schedule_serialize_sccs (NULL, 0);
8303 if ac_fn_c_try_link
"$LINENO"; then :
8308 rm -f core conftest.err conftest.
$ac_objext \
8309 conftest
$ac_exeext conftest.
$ac_ext
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8311 $as_echo "$gcc_cv_isl" >&6; }
8313 if test "${gcc_cv_isl}" = no
; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8315 $as_echo "required isl version is 0.15 or later" >&6; }
8318 CFLAGS
=$_isl_saved_CFLAGS
8319 LDFLAGS
=$_isl_saved_LDFLAGS
8320 LIBS
=$_isl_saved_LIBS
8328 if test "x${with_isl}" = xno
; then
8329 graphite_requested
=no
8330 elif test "x${with_isl}" != x \
8331 ||
test "x${with_isl_include}" != x \
8332 ||
test "x${with_isl_lib}" != x
; then
8333 graphite_requested
=yes
8335 graphite_requested
=no
8340 if test "${gcc_cv_isl}" = no
; then
8345 if test "${graphite_requested}" = yes \
8346 && test "x${isllibs}" = x \
8347 && test "x${islinc}" = x
; then
8349 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8355 # If the isl check failed, disable builds of in-tree variant of isl
8356 if test "x$with_isl" = xno ||
8357 test "x$gcc_cv_isl" = xno
; then
8358 noconfigdirs
="$noconfigdirs isl"
8365 # Check for LTO support.
8366 # Check whether --enable-lto was given.
8367 if test "${enable_lto+set}" = set; then :
8368 enableval
=$enable_lto; enable_lto
=$enableval
8370 enable_lto
=yes; default_enable_lto
=yes
8379 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8380 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8381 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8390 if test $target_elf = yes; then :
8391 # ELF platforms build the lto-plugin always.
8392 build_lto_plugin
=yes
8395 if test x
"$default_enable_lto" = x
"yes" ; then
8397 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8398 # On other non-ELF platforms, LTO has yet to be validated.
8402 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8403 # It would also be nice to check the binutils support, but we don't
8404 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8405 # warn during gcc/ subconfigure; unless you're bootstrapping with
8406 # -flto it won't be needed until after installation anyway.
8408 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8409 *) if test x
"$enable_lto" = x
"yes"; then
8410 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8415 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8416 # Build it unless LTO was explicitly disabled.
8418 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8425 # Check whether --enable-linker-plugin-configure-flags was given.
8426 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8427 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8429 extra_linker_plugin_configure_flags
=
8433 # Check whether --enable-linker-plugin-flags was given.
8434 if test "${enable_linker_plugin_flags+set}" = set; then :
8435 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8437 extra_linker_plugin_flags
=
8442 # Enable --enable-host-shared.
8443 # Checked early to determine whether jit is an 'all' language
8444 # Check whether --enable-host-shared was given.
8445 if test "${enable_host_shared+set}" = set; then :
8446 enableval
=$enable_host_shared; host_shared
=$enableval
8453 # By default, C and C++ are the only stage 1 languages.
8454 stage1_languages
=,c
,
8456 # Target libraries that we bootstrap.
8457 bootstrap_target_libs
=,target-libgcc
,
8459 # Figure out what language subdirectories are present.
8460 # Look if the user specified --enable-languages="..."; if not, use
8461 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8463 # NB: embedded tabs in this IF block -- do not untabify
8464 if test -d ${srcdir}/gcc
; then
8465 if test x
"${enable_languages+set}" != xset
; then
8466 if test x
"${LANGUAGES+set}" = xset
; then
8467 enable_languages
="${LANGUAGES}"
8468 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8470 enable_languages
=default
8473 if test x
"${enable_languages}" = x ||
8474 test x
"${enable_languages}" = xyes
;
8476 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8480 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8482 # 'f95' is the old name for the 'fortran' language. We issue a warning
8483 # and make the substitution.
8484 case ,${enable_languages}, in
8486 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8487 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8491 # If bootstrapping, C++ must be enabled.
8492 case ",$enable_languages,:$enable_bootstrap" in
8495 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8496 enable_languages
="${enable_languages},c++"
8498 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8503 # First scan to see if an enabled language requires some other language.
8504 # We assume that a given config-lang.in will list all the language
8505 # front ends it requires, even if some are required indirectly.
8506 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8507 case ${lang_frag} in
8509 # The odd quoting in the next line works around
8510 # an apparent bug in bash 1.12 on linux.
8511 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8513 # From the config-lang.in, get $language, $lang_requires, and
8514 # $lang_requires_boot_languages.
8517 lang_requires_boot_languages
=
8518 # set srcdir during sourcing lang_frag to the gcc dir.
8519 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8520 # polutes this shell
8521 saved_srcdir
=${srcdir}
8522 srcdir
=${srcdir}/gcc .
${lang_frag}
8523 srcdir
=${saved_srcdir}
8524 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8525 case ,${enable_languages}, in
8530 echo " \`$other' language required by \`$language'; enabling" 1>&2
8531 enable_languages
="${enable_languages},${other}"
8535 for other
in ${lang_requires_boot_languages} ; do
8536 if test "$other" != "c"; then
8537 case ,${enable_stage1_languages}, in
8542 case ,${enable_languages}, in
8544 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8545 enable_stage1_languages
="$enable_stage1_languages,${other}"
8556 new_enable_languages
=,c
,
8558 # If LTO is enabled, add the LTO front end.
8559 if test "$enable_lto" = "yes" ; then
8560 case ,${enable_languages}, in
8562 *) enable_languages
="${enable_languages},lto" ;;
8564 if test "${build_lto_plugin}" = "yes" ; then
8565 configdirs
="$configdirs lto-plugin"
8569 # If we're building an offloading compiler, add the LTO front end.
8570 if test x
"$enable_as_accelerator_for" != x
; then
8571 case ,${enable_languages}, in
8573 *) enable_languages
="${enable_languages},lto" ;;
8577 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8578 potential_languages
=,c
,
8580 enabled_target_libs
=
8581 disabled_target_libs
=
8583 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8584 case ${lang_frag} in
8586 # The odd quoting in the next line works around
8587 # an apparent bug in bash 1.12 on linux.
8588 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8590 # From the config-lang.in, get $language, $target_libs,
8591 # $lang_dirs, $boot_language, and $build_by_default
8597 build_by_default
=yes
8598 # set srcdir during sourcing. See above about save & restore
8599 saved_srcdir
=${srcdir}
8600 srcdir
=${srcdir}/gcc .
${lang_frag}
8601 srcdir
=${saved_srcdir}
8602 if test x
${language} = x
; then
8603 echo "${lang_frag} doesn't set \$language." 1>&2
8607 if test "$language" = "c++"; then
8612 # C is always enabled, so no need to add it again
8613 if test "$language" != "c"; then
8614 case ,${enable_languages}, in
8616 # Language was explicitly selected; include it
8620 # All languages are enabled
8624 # 'default' was selected, select it if it is a default language
8625 add_this_lang
=${build_by_default}
8630 # Disable languages that need other directories if these aren't available.
8631 for i
in $subdir_requires; do
8632 test -f "$srcdir/gcc/$i/config-lang.in" && continue
8633 case ${add_this_lang} in
8635 # Specifically requested language; tell them.
8636 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
8640 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
8641 add_this_lang
=unsupported
8645 add_this_lang
=unsupported
8650 # Disable Ada if no preexisting GNAT is available.
8651 case ${add_this_lang}:${language}:${have_gnat} in
8653 # Specifically requested language; tell them.
8654 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
8658 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
8659 add_this_lang
=unsupported
8663 add_this_lang
=unsupported
8667 # Disable jit if -enable-host-shared not specified
8668 # but not if building for Mingw. All code in Windows
8669 # is position independent code (PIC).
8673 case ${add_this_lang}:${language}:${host_shared} in
8675 # PR jit/64780: explicitly specify --enable-host-shared
8677 Enabling language \"jit\" requires --enable-host-shared.
8679 --enable-host-shared typically slows the rest of the compiler down by
8680 a few %, so you must explicitly enable it.
8682 If you want to build both the jit and the regular compiler, it is often
8683 best to do this via two separate configure/builds, in separate
8684 directories, to avoid imposing the performance cost of
8685 --enable-host-shared on the regular compiler." "$LINENO" 5
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
8689 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
8690 add_this_lang
=unsupported
8694 add_this_lang
=unsupported
8700 # Disable a language that is unsupported by the target.
8701 case "${add_this_lang}: $unsupported_languages " in
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
8706 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
8707 add_this_lang
=unsupported
8711 case $add_this_lang in
8713 # Remove language-dependent dirs.
8714 disabled_target_libs
="$disabled_target_libs $target_libs"
8715 noconfigdirs
="$noconfigdirs $lang_dirs"
8718 # Remove language-dependent dirs; still show language as supported.
8719 disabled_target_libs
="$disabled_target_libs $target_libs"
8720 noconfigdirs
="$noconfigdirs $lang_dirs"
8721 potential_languages
="${potential_languages}${language},"
8724 new_enable_languages
="${new_enable_languages}${language},"
8725 potential_languages
="${potential_languages}${language},"
8726 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
8727 enabled_target_libs
="$enabled_target_libs $target_libs"
8728 case "${boot_language}:,$enable_stage1_languages," in
8729 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
8730 # Add to (comma-separated) list of stage 1 languages.
8731 case ",$stage1_languages," in
8732 *,$language,* |
,yes, |
,all
,) ;;
8733 *) stage1_languages
="${stage1_languages}${language}," ;;
8735 # We need to bootstrap any supporting libraries.
8736 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
8745 # Add target libraries which are only needed for disabled languages
8747 if test -n "$disabled_target_libs"; then
8748 for dir
in $disabled_target_libs; do
8749 case " $enabled_target_libs " in
8751 *) noconfigdirs
="$noconfigdirs $dir" ;;
8756 # Check whether --enable-stage1-languages was given.
8757 if test "${enable_stage1_languages+set}" = set; then :
8758 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
8760 # Set it to something that will have no effect in the loop below
8761 enable_stage1_languages
=c
;;
8763 enable_stage1_languages
=`echo $new_enable_languages | \
8764 sed -e "s/^,//" -e "s/,$//" ` ;;
8766 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
8767 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
8770 # Add "good" languages from enable_stage1_languages to stage1_languages,
8771 # while "bad" languages go in missing_languages. Leave no duplicates.
8772 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
8773 case $potential_languages in
8775 case $stage1_languages in
8777 *) stage1_languages
="$stage1_languages$i," ;;
8780 case $missing_languages in
8782 *) missing_languages
="$missing_languages$i," ;;
8789 # Remove leading/trailing commas that were added for simplicity
8790 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
8791 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
8792 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
8793 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
8795 if test "x$missing_languages" != x
; then
8797 The following requested languages could not be built: ${missing_languages}
8798 Supported languages are: ${potential_languages}" "$LINENO" 5
8800 if test "x$new_enable_languages" != "x$enable_languages"; then
8801 echo The following languages will be built
: ${new_enable_languages}
8802 enable_languages
="$new_enable_languages"
8806 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
8809 # Handle --disable-<component> generically.
8810 for dir
in $configdirs $build_configdirs $target_configdirs ; do
8811 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
8812 varname
=`echo $dirname | sed -e s/+/_/g`
8813 if eval test x\
${enable_${varname}} "=" xno
; then
8814 noconfigdirs
="$noconfigdirs $dir"
8818 # Check for Boehm's garbage collector
8819 # Check whether --enable-objc-gc was given.
8820 if test "${enable_objc_gc+set}" = set; then :
8821 enableval
=$enable_objc_gc;
8825 # Check whether --with-target-bdw-gc was given.
8826 if test "${with_target_bdw_gc+set}" = set; then :
8827 withval
=$with_target_bdw_gc;
8831 # Check whether --with-target-bdw-gc-include was given.
8832 if test "${with_target_bdw_gc_include+set}" = set; then :
8833 withval
=$with_target_bdw_gc_include;
8837 # Check whether --with-target-bdw-gc-lib was given.
8838 if test "${with_target_bdw_gc_lib+set}" = set; then :
8839 withval
=$with_target_bdw_gc_lib;
8843 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
8845 $as_echo_n "checking for bdw garbage collector... " >&6; }
8846 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
8848 $as_echo "using bdw-gc in default locations" >&6; }
8850 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
8851 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
8852 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
8853 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
8856 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
8861 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
8862 case ,${enable_languages}, in
8864 # Disable libitm, libsanitizer if we're not building libstdc++
8865 case "${noconfigdirs}" in
8866 *target-libstdc
++-v3*)
8867 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
8873 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
8877 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
8878 # $build_configdirs and $target_configdirs.
8879 # If we have the source for $noconfigdirs entries, add them to $notsupp.
8882 for dir
in .
$skipdirs $noconfigdirs ; do
8883 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
8884 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8885 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
8886 if test -r $srcdir/$dirname/configure
; then
8887 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8890 notsupp
="$notsupp $dir"
8894 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8895 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
8896 if test -r $srcdir/$dirname/configure
; then
8897 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8900 notsupp
="$notsupp $dir"
8904 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8905 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
8906 if test -r $srcdir/$dirname/configure
; then
8907 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8910 notsupp
="$notsupp $dir"
8916 # Quietly strip out all directories which aren't configurable in this tree.
8917 # This relies on all configurable subdirectories being autoconfiscated, which
8919 build_configdirs_all
="$build_configdirs"
8921 for i
in ${build_configdirs_all} ; do
8922 j
=`echo $i | sed -e s/build-//g`
8923 if test -f ${srcdir}/$j/configure
; then
8924 build_configdirs
="${build_configdirs} $i"
8928 configdirs_all
="$configdirs"
8930 for i
in ${configdirs_all} ; do
8931 if test -f ${srcdir}/$i/configure
; then
8932 configdirs
="${configdirs} $i"
8936 target_configdirs_all
="$target_configdirs"
8938 for i
in ${target_configdirs_all} ; do
8939 j
=`echo $i | sed -e s/target-//g`
8940 if test -f ${srcdir}/$j/configure
; then
8941 target_configdirs
="${target_configdirs} $i"
8945 # libiberty-linker-plugin is special: it doesn't have its own source directory,
8946 # so we have to add it after the preceding checks.
8947 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
8949 case " $configdirs " in
8951 # If we can build libiberty, we can also build libiberty-linker-plugin.
8952 configdirs
="$configdirs libiberty-linker-plugin"
8953 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
8954 --with-libiberty=../libiberty-linker-plugin";;
8956 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
8960 # Sometimes we have special requirements for the host libiberty.
8961 extra_host_libiberty_configure_flags
=
8962 extra_host_zlib_configure_flags
=
8963 case " $configdirs " in
8964 *" lto-plugin "* |
*" libcc1 "*)
8965 # When these are to be built as shared libraries, the same applies to
8967 extra_host_libiberty_configure_flags
=--enable-shared
8970 # When bfd is to be built as a shared library, the same applies to
8972 if test "$enable_shared" = "yes"; then
8973 extra_host_zlib_configure_flags
=--enable-host-shared
8980 # Produce a warning message for the subdirs we can't configure.
8981 # This isn't especially interesting in the Cygnus tree, but in the individual
8982 # FSF releases, it's important to let people know when their machine isn't
8983 # supported by the one or two programs in a package.
8985 if test -n "${notsupp}" && test -z "${norecursion}" ; then
8986 # If $appdirs is non-empty, at least one of those directories must still
8987 # be configured, or we error out. (E.g., if the gas release supports a
8988 # specified target in some subdirs but not the gas subdir, we shouldn't
8989 # pretend that all is well.)
8990 if test -n "$appdirs" ; then
8991 for dir
in $appdirs ; do
8992 if test -r $dir/Makefile.
in ; then
8993 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
8997 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
9003 if test -n "$appdirs" ; then
9004 echo "*** This configuration is not supported by this package." 1>&2
9008 # Okay, some application will build, or we don't care to check. Still
9009 # notify of subdirs not getting built.
9010 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
9011 echo " ${notsupp}" 1>&2
9012 echo " (Any other directories should still work fine.)" 1>&2
9020 # To find our prefix, in gcc_cv_tool_prefix.
9022 # The user is always right.
9023 if test "${PATH_SEPARATOR+set}" != set; then
9024 echo "#! /bin/sh" >conf$$.sh
9025 echo "exit 0" >>conf$$.sh
9027 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9036 get_gcc_base_ver
="cat"
9038 # Check whether --with-gcc-major-version-only was given.
9039 if test "${with_gcc_major_version_only+set}" = set; then :
9040 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
9041 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
9051 if test "x$exec_prefix" = xNONE
; then
9052 if test "x$prefix" = xNONE
; then
9053 gcc_cv_tool_prefix
=$ac_default_prefix
9055 gcc_cv_tool_prefix
=$prefix
9058 gcc_cv_tool_prefix
=$exec_prefix
9061 # If there is no compiler in the tree, use the PATH only. In any
9062 # case, if there is no compiler in the tree nobody should use
9063 # AS_FOR_TARGET and LD_FOR_TARGET.
9064 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
9065 if test x
$with_gcc_major_version_only = xyes
; then
9066 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
9068 gcc_version
=`cat $srcdir/gcc/BASE-VER`
9070 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9071 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
9072 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9073 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
9074 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9075 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
9080 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
9081 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
9089 # Check whether --with-build-sysroot was given.
9090 if test "${with_build_sysroot+set}" = set; then :
9091 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
9092 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
9095 SYSROOT_CFLAGS_FOR_TARGET
=
9101 # Check whether --with-debug-prefix-map was given.
9102 if test "${with_debug_prefix_map+set}" = set; then :
9103 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
9104 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9105 for debug_map
in $withval; do
9106 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
9110 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9115 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
9116 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
9117 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
9118 # We want to ensure that TARGET libraries (which we know are built with
9119 # gcc) are built with "-O2 -g", so include those options when setting
9120 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
9121 if test "x$CFLAGS_FOR_TARGET" = x
; then
9122 if test "x${is_cross_compiler}" = xyes
; then
9123 CFLAGS_FOR_TARGET
="-g -O2"
9125 CFLAGS_FOR_TARGET
=$CFLAGS
9128 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
9131 *" -g "* |
*" -g3 "*) ;;
9132 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
9138 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
9139 if test "x${is_cross_compiler}" = xyes
; then
9140 CXXFLAGS_FOR_TARGET
="-g -O2"
9142 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
9143 case " $CXXFLAGS " in
9145 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
9147 case " $CXXFLAGS " in
9148 *" -g "* |
*" -g3 "*) ;;
9149 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
9157 # Handle --with-headers=XXX. If the value is not "yes", the contents of
9158 # the named directory are copied to $(tooldir)/sys-include.
9159 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
9160 if test x
${is_cross_compiler} = xno
; then
9161 echo 1>&2 '***' --with-headers is only supported when cross compiling
9164 if test x
"${with_headers}" != xyes
; then
9165 x
=${gcc_cv_tool_prefix}
9166 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9170 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9171 # the name directories are copied to $(tooldir)/lib. Multiple directories
9173 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9174 if test x
${is_cross_compiler} = xno
; then
9175 echo 1>&2 '***' --with-libs is only supported when cross compiling
9178 if test x
"${with_libs}" != xyes
; then
9179 # Copy the libraries in reverse order, so that files in the first named
9180 # library override files in subsequent libraries.
9181 x
=${gcc_cv_tool_prefix}
9182 for l
in ${with_libs}; do
9183 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9188 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9190 # This is done by determining whether or not the appropriate directory
9191 # is available, and by checking whether or not specific configurations
9192 # have requested that this magic not happen.
9194 # The command line options always override the explicit settings in
9195 # configure.ac, and the settings in configure.ac override this magic.
9197 # If the default for a toolchain is to use GNU as and ld, and you don't
9198 # want to do that, then you should use the --without-gnu-as and
9199 # --without-gnu-ld options for the configure script. Similarly, if
9200 # the default is to use the included zlib and you don't want to do that,
9201 # you should use the --with-system-zlib option for the configure script.
9203 if test x
${use_gnu_as} = x
&&
9204 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9206 extra_host_args
="$extra_host_args --with-gnu-as"
9209 if test x
${use_gnu_ld} = x
&&
9210 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9212 extra_host_args
="$extra_host_args --with-gnu-ld"
9215 if test x
${use_included_zlib} = x
&&
9216 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9219 with_system_zlib
=yes
9220 extra_host_args
="$extra_host_args --with-system-zlib"
9223 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9224 # can detect this case.
9226 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9228 extra_host_args
="$extra_host_args --with-newlib"
9231 # Handle ${copy_dirs}
9232 set fnord
${copy_dirs}
9234 while test $# != 0 ; do
9235 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9238 echo Copying
$1 to
$2
9240 # Use the install script to create the directory and all required
9241 # parent directories.
9242 if test -d $2 ; then
9246 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9249 # Copy the directory, assuming we have tar.
9250 # FIXME: Should we use B in the second tar? Not all systems support it.
9251 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9253 # It is the responsibility of the user to correctly adjust all
9254 # symlinks. If somebody can figure out how to handle them correctly
9255 # here, feel free to add the code.
9262 # Determine a target-dependent exec_prefix that the installed
9263 # gcc will search in. Keep this list sorted by triplet, with
9264 # the *-*-osname triplets last.
9267 i
[34567]86-pc-msdosdjgpp*)
9268 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9273 md_exec_prefix
=/usr
/ccs
/bin
9277 extra_arflags_for_target
=
9278 extra_nmflags_for_target
=
9279 extra_ranlibflags_for_target
=
9280 target_makefile_frag
=/dev
/null
9283 target_makefile_frag
="config/mt-spu"
9285 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9286 target_makefile_frag
="config/mt-sde"
9288 mipsisa
*-*-elfoabi*)
9289 target_makefile_frag
="config/mt-mips-elfoabi"
9291 mips
*-*-*linux
* | mips
*-*-gnu*)
9292 target_makefile_frag
="config/mt-mips-gnu"
9295 target_makefile_frag
="config/mt-nios2-elf"
9298 target_makefile_frag
="config/mt-android"
9300 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9301 target_makefile_frag
="config/mt-gnu"
9303 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9304 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9305 # commands to handle both 32-bit and 64-bit objects. These flags are
9306 # harmless if we're using GNU nm or ar.
9307 extra_arflags_for_target
=" -X32_64"
9308 extra_nmflags_for_target
=" -B -X32_64"
9312 alphaieee_frag
=/dev
/null
9315 # This just makes sure to use the -mieee option to build target libs.
9316 # This should probably be set individually by each library.
9317 alphaieee_frag
="config/mt-alphaieee"
9321 # If --enable-target-optspace always use -Os instead of -O2 to build
9322 # the target libraries, similarly if it is not specified, use -Os
9323 # on selected platforms.
9324 ospace_frag
=/dev
/null
9325 case "${enable_target_optspace}:${target}" in
9327 ospace_frag
="config/mt-ospace"
9330 ospace_frag
="config/mt-d30v"
9332 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9333 ospace_frag
="config/mt-ospace"
9338 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9342 # Some systems (e.g., one of the i386-aix systems the gas testers are
9343 # using) don't handle "\$" correctly, so don't use it here.
9344 tooldir
='${exec_prefix}'/${target_noncanonical}
9345 build_tooldir
=${tooldir}
9347 # Create a .gdbinit file which runs the one in srcdir
9348 # and tells GDB to look there for source files.
9350 if test -r ${srcdir}/.gdbinit
; then
9353 *) cat > .
/.gdbinit
<<EOF
9357 source ${srcdir}/.gdbinit
9363 # Make sure that the compiler is able to generate an executable. If it
9364 # can't, we are probably in trouble. We don't care whether we can run the
9365 # executable--we might be using a cross compiler--we only care whether it
9366 # can be created. At this point the main configure script has set CC.
9368 echo "int main () { return 0; }" > conftest.c
9369 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9370 if test $?
= 0 ; then
9371 if test -s conftest ||
test -s conftest.exe
; then
9377 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9378 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9385 # Decide which environment variable is used to find dynamic libraries.
9387 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9388 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9389 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9390 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9393 # On systems where the dynamic library environment variable is PATH,
9394 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9395 # built executables to PATH.
9396 if test "$RPATH_ENVVAR" = PATH
; then
9397 GCC_SHLIB_SUBDIR
=/shlib
9402 # Adjust the toplevel makefile according to whether bootstrap was selected.
9403 case $enable_bootstrap in
9405 bootstrap_suffix
=bootstrap
9406 BUILD_CONFIG
=bootstrap-debug
9409 bootstrap_suffix
=no-bootstrap
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9415 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9418 # Check whether --with-build-config was given.
9419 if test "${with_build_config+set}" = set; then :
9420 withval
=$with_build_config; case $with_build_config in
9421 yes) with_build_config
= ;;
9422 no
) with_build_config
= BUILD_CONFIG
= ;;
9427 if test "x${with_build_config}" != x
; then
9428 BUILD_CONFIG
=$with_build_config
9430 case $BUILD_CONFIG in
9432 if echo "int f (void) { return 0; }" > conftest.c
&&
9433 ${CC} -c conftest.c
&&
9434 mv conftest.o conftest.o.g0
&&
9435 ${CC} -c -g conftest.c
&&
9436 mv conftest.o conftest.o.g
&&
9437 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9442 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9447 $as_echo "$BUILD_CONFIG" >&6; }
9450 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9452 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9453 # Check whether --enable-vtable-verify was given.
9454 if test "${enable_vtable_verify+set}" = set; then :
9455 enableval
=$enable_vtable_verify; case "$enableval" in
9456 yes) enable_vtable_verify
=yes ;;
9457 no
) enable_vtable_verify
=no
;;
9458 *) enable_vtable_verify
=no
;;
9461 enable_vtable_verify
=no
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9465 $as_echo "$enable_vtable_verify" >&6; }
9467 # Record target_configdirs and the configure arguments for target and
9468 # build configuration in Makefile.
9469 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9470 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9471 bootstrap_fixincludes
=no
9473 # If we are building libgomp, bootstrap it.
9474 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9475 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9478 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9479 # or bootstrap-ubsan, bootstrap it.
9480 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9481 case "$BUILD_CONFIG" in
9482 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9483 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9484 bootstrap_fixincludes
=yes
9489 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9490 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9491 test "$enable_vtable_verify" != no
; then
9492 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9495 # Determine whether gdb needs tk/tcl or not.
9496 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9497 # and in that case we want gdb to be built without tk. Ugh!
9498 # In fact I believe gdb is the *only* package directly dependent on tk,
9499 # so we should be able to put the 'maybe's in unconditionally and
9500 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9501 # 100% sure that that's safe though.
9503 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9504 case "$enable_gdbtk" in
9508 GDB_TK
="${gdb_tk}" ;;
9510 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9511 # distro. Eventually someone will fix this and move Insight, nee
9512 # gdbtk to a separate directory.
9513 if test -d ${srcdir}/gdb
/gdbtk
; then
9520 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9521 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9523 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9524 # else does, only include them if one of these is built. The Makefile
9525 # provides the ordering, so it's enough here to add to the list.
9526 case " ${configdirs} " in
9528 configdirs
="${configdirs} gnulib gdbsupport"
9531 configdirs
="${configdirs} gnulib gdbsupport"
9534 configdirs
="${configdirs} gnulib"
9538 # Strip out unwanted targets.
9540 # While at that, we remove Makefiles if we were started for recursive
9541 # configuration, so that the top-level Makefile reconfigures them,
9542 # like we used to do when configure itself was recursive.
9544 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
9545 # but now we're fixing up the Makefile ourselves with the additional
9546 # commands passed to AC_CONFIG_FILES. Use separate variables
9547 # extrasub-{build,host,target} not because there is any reason to split
9548 # the substitutions up that way, but only to remain below the limit of
9549 # 99 commands in a script, for HP-UX sed.
9551 # Do not nest @if/@endif or @unless/@endunless pairs, because
9552 # configure will not warn you at all.
9554 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
9555 yes:yes:*\ gold\
*:*,c
++,*) ;;
9556 yes:yes:*\ gold\
*:*)
9557 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
9562 for module
in ${build_configdirs} ; do
9563 if test -z "${no_recursion}" \
9564 && test -f ${build_subdir}/${module}/Makefile
; then
9565 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
9566 rm -f ${build_subdir}/${module}/Makefile
9568 extrasub_build
="$extrasub_build
9569 /^@if build-$module\$/d
9570 /^@endif build-$module\$/d
9571 /^@unless build-$module\$/,/^@endunless build-$module\$/d
9572 /^@if build-$module-$bootstrap_suffix\$/d
9573 /^@endif build-$module-$bootstrap_suffix\$/d
9574 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
9577 for module
in ${configdirs} ; do
9578 if test -z "${no_recursion}"; then
9579 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
9580 if test -f ${file}; then
9581 echo 1>&2 "*** removing ${file} to force reconfigure"
9586 case ${module},${bootstrap_fixincludes} in
9587 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
9588 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
9590 extrasub_host
="$extrasub_host
9592 /^@endif $module\$/d
9593 /^@unless $module\$/,/^@endunless $module\$/d
9594 /^@if $module-$host_bootstrap_suffix\$/d
9595 /^@endif $module-$host_bootstrap_suffix\$/d
9596 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
9599 for module
in ${target_configdirs} ; do
9600 if test -z "${no_recursion}" \
9601 && test -f ${target_subdir}/${module}/Makefile
; then
9602 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
9603 rm -f ${target_subdir}/${module}/Makefile
9606 # We only bootstrap target libraries listed in bootstrap_target_libs.
9607 case $bootstrap_target_libs in
9608 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
9609 *) target_bootstrap_suffix
=no-bootstrap
;;
9612 extrasub_target
="$extrasub_target
9613 /^@if target-$module\$/d
9614 /^@endif target-$module\$/d
9615 /^@unless target-$module\$/,/^@endunless target-$module\$/d
9616 /^@if target-$module-$target_bootstrap_suffix\$/d
9617 /^@endif target-$module-$target_bootstrap_suffix\$/d
9618 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
9621 # Do the final fixup along with target modules.
9622 extrasub_target
="$extrasub_target
9627 # Create the serialization dependencies. This uses a temporary file.
9629 # Check whether --enable-serial-configure was given.
9630 if test "${enable_serial_configure+set}" = set; then :
9631 enableval
=$enable_serial_configure;
9635 case ${enable_serial_configure} in
9637 enable_serial_build_configure
=yes
9638 enable_serial_host_configure
=yes
9639 enable_serial_target_configure
=yes
9643 # These force 'configure's to be done one at a time, to avoid problems
9644 # with contention over a shared config.cache.
9646 echo '# serdep.tmp' > serdep.tmp
9648 test "x${enable_serial_build_configure}" = xyes
&&
9649 for item
in ${build_configdirs} ; do
9652 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
9657 test "x${enable_serial_host_configure}" = xyes
&&
9658 for item
in ${configdirs} ; do
9661 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
9666 test "x${enable_serial_target_configure}" = xyes
&&
9667 for item
in ${target_configdirs} ; do
9670 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
9674 serialization_dependencies
=serdep.tmp
9677 # Base args. Strip norecursion, cache-file, srcdir, host, build,
9678 # target, nonopt, and variable assignments. These are the ones we
9679 # might not want to pass down to subconfigures. The exception being
9680 # --cache-file=/dev/null, which is used to turn off the use of cache
9681 # files altogether, and which should be passed on to subconfigures.
9682 # Also strip program-prefix, program-suffix, and program-transform-name,
9683 # so that we can pass down a consistent program-transform-name.
9688 eval "set -- $ac_configure_args"
9691 if test X
"$skip_next" = X
"yes"; then
9695 if test X
"$keep_next" = X
"yes"; then
9698 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9700 baseargs
="$baseargs '$ac_arg'"
9701 tbaseargs
="$tbaseargs '$ac_arg'"
9706 # Handle separated arguments. Based on the logic generated by
9709 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
9710 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
9711 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
9712 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
9726 --with-* |
--without-*)
9727 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
9731 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
9734 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
9743 mpc | mpfr | gmp | isl
)
9744 # If we're processing --with-$lib, --with-$lib-include or
9745 # --with-$lib-lib, for one of the libs above, and target is
9746 # different from host, don't pass the current argument to any
9747 # target library's configure.
9748 if test x
$is_cross_compiler = xyes
; then
9757 --cache-file=/dev
/null | \
9758 -cache-file=/dev
/null
)
9759 # Handled here to avoid the test to skip args below.
9760 baseargs
="$baseargs '$ac_arg'"
9761 tbaseargs
="$tbaseargs '$ac_arg'"
9762 # Assert: $separate_arg should always be no.
9763 keep_next
=$separate_arg
9779 -program-prefix* | \
9780 -program-suffix* | \
9781 -program-transform-name* )
9782 skip_next
=$separate_arg
9786 # An option. Add it.
9789 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9791 baseargs
="$baseargs '$ac_arg'"
9792 if test X
"$skip_targ" = Xno
; then
9793 tbaseargs
="$tbaseargs '$ac_arg'"
9795 keep_next
=$separate_arg
9798 # Either a variable assignment, or a nonopt (triplet). Don't
9799 # pass it down; let the Makefile handle this.
9804 # Remove the initial space we just introduced and, as these will be
9805 # expanded by make, quote '$'.
9806 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
9808 # Add in --program-transform-name, after --program-prefix and
9809 # --program-suffix have been applied to it. Autoconf has already
9810 # doubled dollar signs and backslashes in program_transform_name; we want
9811 # the backslashes un-doubled, and then the entire thing wrapped in single
9812 # quotes, because this will be expanded first by make and then by the shell.
9813 # Also, because we want to override the logic in subdir configure scripts to
9814 # choose program_transform_name, replace any s,x,x, with s,y,y,.
9815 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
9816 ${program_transform_name}
9818 gcc_transform_name
=`cat conftestsed.out`
9819 rm -f conftestsed.out
9820 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
9821 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
9822 if test "$silent" = yes; then
9823 baseargs
="$baseargs --silent"
9824 tbaseargs
="$tbaseargs --silent"
9826 baseargs
="$baseargs --disable-option-checking"
9827 tbaseargs
="$tbaseargs --disable-option-checking"
9829 # Record and document user additions to sub configure arguments.
9834 # For the build-side libraries, we just need to pretend we're native,
9835 # and not use the same cache file. Multilibs are neither needed nor
9836 # desired. We can't even use the same cache file for all build-side
9837 # libraries, as they're compiled differently; some with C, some with
9838 # C++ or with different feature-enabling options.
9839 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
9841 # For host modules, accept cache file option, or specification as blank.
9842 case "${cache_file}" in
9844 cache_file_option
="" ;;
9845 /* |
[A-Za-z
]:[\\/]* ) # absolute path
9846 cache_file_option
="--cache-file=${cache_file}" ;;
9848 cache_file_option
="--cache-file=../${cache_file}" ;;
9851 # Host dirs don't like to share a cache file either, horribly enough.
9852 # This seems to be due to autoconf 2.5x stupidity.
9853 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
9855 target_configargs
="$target_configargs ${tbaseargs}"
9857 # Passing a --with-cross-host argument lets the target libraries know
9858 # whether they are being built with a cross-compiler or being built
9859 # native. However, it would be better to use other mechanisms to make the
9860 # sorts of decisions they want to make on this basis. Please consider
9861 # this option to be deprecated. FIXME.
9862 if test x
${is_cross_compiler} = xyes
; then
9863 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
9866 # Special user-friendly check for native x86_64-linux build, if
9867 # multilib is not explicitly enabled.
9868 case "$target:$have_compiler:$host:$target:$enable_multilib" in
9869 x86_64-
*linux
*:yes:$build:$build:)
9870 # Make sure we have a development environment that handles 32-bit
9872 echo "int main () { return 0; }" > conftest.c
9873 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9874 if test $?
= 0 ; then
9875 if test -s conftest ||
test -s conftest.exe
; then
9880 if test x
${dev64} != xyes
; then
9881 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
9886 # Default to --enable-multilib.
9887 if test x
${enable_multilib} = x
; then
9888 target_configargs
="--enable-multilib ${target_configargs}"
9891 # Pass --with-newlib if appropriate. Note that target_configdirs has
9892 # changed from the earlier setting of with_newlib.
9893 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
9894 target_configargs
="--with-newlib ${target_configargs}"
9897 # Different target subdirs use different values of certain variables
9898 # (notably CXX). Worse, multilibs use *lots* of different values.
9899 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
9900 # it doesn't automatically accept command-line overrides of them.
9901 # This means it's not safe for target subdirs to share a cache file,
9902 # which is disgusting, but there you have it. Hopefully this can be
9903 # fixed in future. It's still worthwhile to use a cache file for each
9904 # directory. I think.
9906 # Pass the appropriate --build, --host, --target and --cache-file arguments.
9907 # We need to pass --target, as newer autoconf's requires consistency
9908 # for target_alias and gcc doesn't manage it consistently.
9909 target_configargs
="--cache-file=./config.cache ${target_configargs}"
9912 case " $target_configdirs " in
9914 case " $target_configargs " in
9915 *" --with-newlib "*)
9918 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
9922 # If we're not building GCC, don't discard standard headers.
9923 if test -d ${srcdir}/gcc
; then
9924 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
9926 if test "${build}" != "${host}"; then
9927 # On Canadian crosses, CC_FOR_TARGET will have already been set
9928 # by `configure', so we won't have an opportunity to add -Bgcc/
9929 # to it. This is right: we don't want to search that directory
9930 # for binaries, but we want the header files in there, so add
9932 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
9934 # Someone might think of using the pre-installed headers on
9935 # Canadian crosses, in case the installed compiler is not fully
9936 # compatible with the compiler being built. In this case, it
9937 # would be better to flag an error than risking having
9938 # incompatible object files being constructed. We can't
9939 # guarantee that an error will be flagged, but let's hope the
9940 # compiler will do it, when presented with incompatible header
9945 case "${target}-${is_cross_compiler}" in
9946 i
[3456789]86-*-linux*-no)
9947 # Here host == target, so we don't need to build gcc,
9948 # so we don't want to discard standard headers.
9949 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
9952 # If we're building newlib, use its generic headers last, but search
9953 # for any libc-related directories first (so make it the last -B
9955 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
9957 # If we're building libgloss, find the startup file, simulator library
9958 # and linker script.
9959 case " $target_configdirs " in
9961 # Look for startup file, simulator library and maybe linker script.
9962 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
9963 # Look for libnosys.a in case the target needs it.
9964 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
9965 # Most targets have the linker script in the source directory.
9966 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
9977 x86_64-
*mingw
* |
*-w64-mingw*)
9978 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
9979 # however, use a symlink named 'mingw' in ${prefix} .
9980 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
9983 # MinGW can't be handled as Cygwin above since it does not use newlib.
9984 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'
9988 # Allow the user to override the flags for
9989 # our build compiler if desired.
9990 if test x
"${build}" = x
"${host}" ; then
9991 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
9992 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
9993 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
9996 # On Canadian crosses, we'll be searching the right directories for
9997 # the previously-installed cross compiler, so don't bother to add
9998 # flags for directories within the install tree of the compiler
9999 # being built; programs in there won't even run.
10000 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
10001 # Search for pre-installed headers if nothing else fits.
10002 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
10005 if test "x
${use_gnu_ld}" = x &&
10006 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
10007 # Arrange for us to find uninstalled linker scripts.
10008 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
10011 # Search for other target-specific linker scripts and such.
10012 case "${target}" in
10014 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
10018 # Makefile fragments.
10019 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
10021 eval fragval=\$$frag
10022 if test $fragval != /dev/null; then
10023 eval $frag=${srcdir}/$fragval
10031 # Miscellanea: directories, flags, etc.
10040 # Build module lists & subconfigure args.
10044 # Host module lists & subconfigure args.
10049 # Target module lists & subconfigure args.
10072 # Generate default definitions for YACC, M4, LEX and other programs that run
10073 # on the build machine. These are used if the Makefile can't locate these
10074 # programs in objdir.
10075 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
10077 for ac_prog in 'bison -y' byacc yacc
10079 # Extract the first word of "$ac_prog", so it can be a program name with args.
10080 set dummy $ac_prog; ac_word=$2
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10082 $as_echo_n "checking
for $ac_word...
" >&6; }
10083 if ${ac_cv_prog_YACC+:} false; then :
10084 $as_echo_n "(cached
) " >&6
10086 if test -n "$YACC"; then
10087 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10090 for as_dir in $PATH
10093 test -z "$as_dir" && as_dir=.
10094 for ac_exec_ext in '' $ac_executable_extensions; do
10095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10096 ac_cv_prog_YACC="$ac_prog"
10097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10106 YACC=$ac_cv_prog_YACC
10107 if test -n "$YACC"; then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
10109 $as_echo "$YACC" >&6; }
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10112 $as_echo "no
" >&6; }
10116 test -n "$YACC" && break
10118 test -n "$YACC" || YACC="$MISSING bison
-y"
10120 case " $build_configdirs " in
10121 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
10124 for ac_prog in bison
10126 # Extract the first word of "$ac_prog", so it can be a program name with args.
10127 set dummy $ac_prog; ac_word=$2
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10129 $as_echo_n "checking
for $ac_word...
" >&6; }
10130 if ${ac_cv_prog_BISON+:} false; then :
10131 $as_echo_n "(cached
) " >&6
10133 if test -n "$BISON"; then
10134 ac_cv_prog_BISON="$BISON" # Let the user override the test.
10136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10137 for as_dir in $PATH
10140 test -z "$as_dir" && as_dir=.
10141 for ac_exec_ext in '' $ac_executable_extensions; do
10142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_BISON="$ac_prog"
10144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10153 BISON=$ac_cv_prog_BISON
10154 if test -n "$BISON"; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
10156 $as_echo "$BISON" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10159 $as_echo "no
" >&6; }
10163 test -n "$BISON" && break
10165 test -n "$BISON" || BISON="$MISSING bison
"
10167 case " $build_configdirs " in
10168 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10171 for ac_prog in gm4 gnum4 m4
10173 # Extract the first word of "$ac_prog", so it can be a program name with args.
10174 set dummy $ac_prog; ac_word=$2
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10176 $as_echo_n "checking
for $ac_word...
" >&6; }
10177 if ${ac_cv_prog_M4+:} false; then :
10178 $as_echo_n "(cached
) " >&6
10180 if test -n "$M4"; then
10181 ac_cv_prog_M4="$M4" # Let the user override the test.
10183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10184 for as_dir in $PATH
10187 test -z "$as_dir" && as_dir=.
10188 for ac_exec_ext in '' $ac_executable_extensions; do
10189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_M4="$ac_prog"
10191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10201 if test -n "$M4"; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10203 $as_echo "$M4" >&6; }
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10206 $as_echo "no
" >&6; }
10210 test -n "$M4" && break
10212 test -n "$M4" || M4="$MISSING m4"
10214 case " $build_configdirs " in
10215 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10218 for ac_prog in flex lex
10220 # Extract the first word of "$ac_prog", so it can be a program name with args.
10221 set dummy $ac_prog; ac_word=$2
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10223 $as_echo_n "checking
for $ac_word...
" >&6; }
10224 if ${ac_cv_prog_LEX+:} false; then :
10225 $as_echo_n "(cached
) " >&6
10227 if test -n "$LEX"; then
10228 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $PATH
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_prog_LEX="$ac_prog"
10238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10247 LEX=$ac_cv_prog_LEX
10248 if test -n "$LEX"; then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10250 $as_echo "$LEX" >&6; }
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10253 $as_echo "no
" >&6; }
10257 test -n "$LEX" && break
10259 test -n "$LEX" || LEX="$MISSING flex
"
10261 case " $build_configdirs " in
10262 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10263 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10266 for ac_prog in flex
10268 # Extract the first word of "$ac_prog", so it can be a program name with args.
10269 set dummy $ac_prog; ac_word=$2
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10271 $as_echo_n "checking
for $ac_word...
" >&6; }
10272 if ${ac_cv_prog_FLEX+:} false; then :
10273 $as_echo_n "(cached
) " >&6
10275 if test -n "$FLEX"; then
10276 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10279 for as_dir in $PATH
10282 test -z "$as_dir" && as_dir=.
10283 for ac_exec_ext in '' $ac_executable_extensions; do
10284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10285 ac_cv_prog_FLEX="$ac_prog"
10286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10295 FLEX=$ac_cv_prog_FLEX
10296 if test -n "$FLEX"; then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10298 $as_echo "$FLEX" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10301 $as_echo "no
" >&6; }
10305 test -n "$FLEX" && break
10307 test -n "$FLEX" || FLEX="$MISSING flex
"
10309 case " $build_configdirs " in
10310 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10313 for ac_prog in makeinfo
10315 # Extract the first word of "$ac_prog", so it can be a program name with args.
10316 set dummy $ac_prog; ac_word=$2
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10318 $as_echo_n "checking
for $ac_word...
" >&6; }
10319 if ${ac_cv_prog_MAKEINFO+:} false; then :
10320 $as_echo_n "(cached
) " >&6
10322 if test -n "$MAKEINFO"; then
10323 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10326 for as_dir in $PATH
10329 test -z "$as_dir" && as_dir=.
10330 for ac_exec_ext in '' $ac_executable_extensions; do
10331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10332 ac_cv_prog_MAKEINFO="$ac_prog"
10333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10342 MAKEINFO=$ac_cv_prog_MAKEINFO
10343 if test -n "$MAKEINFO"; then
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10345 $as_echo "$MAKEINFO" >&6; }
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10348 $as_echo "no
" >&6; }
10352 test -n "$MAKEINFO" && break
10354 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10356 case " $build_configdirs " in
10357 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10360 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10361 # higher, else we use the "missing
" dummy.
10362 if ${MAKEINFO} --version \
10363 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10366 MAKEINFO="$MISSING makeinfo
"
10372 # FIXME: expect and dejagnu may become build tools?
10374 for ac_prog in expect
10376 # Extract the first word of "$ac_prog", so it can be a program name with args.
10377 set dummy $ac_prog; ac_word=$2
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10379 $as_echo_n "checking
for $ac_word...
" >&6; }
10380 if ${ac_cv_prog_EXPECT+:} false; then :
10381 $as_echo_n "(cached
) " >&6
10383 if test -n "$EXPECT"; then
10384 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10387 for as_dir in $PATH
10390 test -z "$as_dir" && as_dir=.
10391 for ac_exec_ext in '' $ac_executable_extensions; do
10392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10393 ac_cv_prog_EXPECT="$ac_prog"
10394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10403 EXPECT=$ac_cv_prog_EXPECT
10404 if test -n "$EXPECT"; then
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10406 $as_echo "$EXPECT" >&6; }
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10409 $as_echo "no
" >&6; }
10413 test -n "$EXPECT" && break
10415 test -n "$EXPECT" || EXPECT="expect
"
10417 case " $configdirs " in
10419 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10423 for ac_prog in runtest
10425 # Extract the first word of "$ac_prog", so it can be a program name with args.
10426 set dummy $ac_prog; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10428 $as_echo_n "checking
for $ac_word...
" >&6; }
10429 if ${ac_cv_prog_RUNTEST+:} false; then :
10430 $as_echo_n "(cached
) " >&6
10432 if test -n "$RUNTEST"; then
10433 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_RUNTEST="$ac_prog"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10452 RUNTEST=$ac_cv_prog_RUNTEST
10453 if test -n "$RUNTEST"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10455 $as_echo "$RUNTEST" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10458 $as_echo "no
" >&6; }
10462 test -n "$RUNTEST" && break
10464 test -n "$RUNTEST" || RUNTEST="runtest
"
10466 case " $configdirs " in
10468 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10475 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10476 ncn_target_tool_prefix=
10477 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10481 if test -n "$AR"; then
10483 elif test -n "$ac_cv_prog_AR"; then
10487 if test -n "$ac_cv_prog_AR"; then
10488 for ncn_progname in ar; do
10489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10490 set dummy ${ncn_progname}; ac_word=$2
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10492 $as_echo_n "checking
for $ac_word...
" >&6; }
10493 if ${ac_cv_prog_AR+:} false; then :
10494 $as_echo_n "(cached
) " >&6
10496 if test -n "$AR"; then
10497 ac_cv_prog_AR="$AR" # Let the user override the test.
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10506 ac_cv_prog_AR="${ncn_progname}"
10507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10517 if test -n "$AR"; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10519 $as_echo "$AR" >&6; }
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10522 $as_echo "no
" >&6; }
10529 for ncn_progname in ar; do
10530 if test -n "$ncn_tool_prefix"; then
10531 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10532 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10534 $as_echo_n "checking
for $ac_word...
" >&6; }
10535 if ${ac_cv_prog_AR+:} false; then :
10536 $as_echo_n "(cached
) " >&6
10538 if test -n "$AR"; then
10539 ac_cv_prog_AR="$AR" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 test -z "$as_dir" && as_dir=.
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10548 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
10549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10559 if test -n "$AR"; then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10561 $as_echo "$AR" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10564 $as_echo "no
" >&6; }
10569 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
10570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10571 set dummy ${ncn_progname}; ac_word=$2
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10573 $as_echo_n "checking
for $ac_word...
" >&6; }
10574 if ${ac_cv_prog_AR+:} false; then :
10575 $as_echo_n "(cached
) " >&6
10577 if test -n "$AR"; then
10578 ac_cv_prog_AR="$AR" # Let the user override the test.
10580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10581 for as_dir in $PATH
10584 test -z "$as_dir" && as_dir=.
10585 for ac_exec_ext in '' $ac_executable_extensions; do
10586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10587 ac_cv_prog_AR="${ncn_progname}"
10588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10598 if test -n "$AR"; then
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10600 $as_echo "$AR" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10603 $as_echo "no
" >&6; }
10608 test -n "$ac_cv_prog_AR" && break
10611 if test -z "$ac_cv_prog_AR" ; then
10613 if test $build = $host ; then
10616 AR="${ncn_tool_prefix}$2"
10622 if test -n "$AS"; then
10624 elif test -n "$ac_cv_prog_AS"; then
10628 if test -n "$ac_cv_prog_AS"; then
10629 for ncn_progname in as; do
10630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10631 set dummy ${ncn_progname}; ac_word=$2
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10633 $as_echo_n "checking
for $ac_word...
" >&6; }
10634 if ${ac_cv_prog_AS+:} false; then :
10635 $as_echo_n "(cached
) " >&6
10637 if test -n "$AS"; then
10638 ac_cv_prog_AS="$AS" # Let the user override the test.
10640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10641 for as_dir in $PATH
10644 test -z "$as_dir" && as_dir=.
10645 for ac_exec_ext in '' $ac_executable_extensions; do
10646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10647 ac_cv_prog_AS="${ncn_progname}"
10648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10658 if test -n "$AS"; then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10660 $as_echo "$AS" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10663 $as_echo "no
" >&6; }
10670 for ncn_progname in as; do
10671 if test -n "$ncn_tool_prefix"; then
10672 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10673 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10675 $as_echo_n "checking
for $ac_word...
" >&6; }
10676 if ${ac_cv_prog_AS+:} false; then :
10677 $as_echo_n "(cached
) " >&6
10679 if test -n "$AS"; then
10680 ac_cv_prog_AS="$AS" # Let the user override the test.
10682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10683 for as_dir in $PATH
10686 test -z "$as_dir" && as_dir=.
10687 for ac_exec_ext in '' $ac_executable_extensions; do
10688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10689 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
10690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10700 if test -n "$AS"; then
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10702 $as_echo "$AS" >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10705 $as_echo "no
" >&6; }
10710 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
10711 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10712 set dummy ${ncn_progname}; ac_word=$2
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10714 $as_echo_n "checking
for $ac_word...
" >&6; }
10715 if ${ac_cv_prog_AS+:} false; then :
10716 $as_echo_n "(cached
) " >&6
10718 if test -n "$AS"; then
10719 ac_cv_prog_AS="$AS" # Let the user override the test.
10721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10722 for as_dir in $PATH
10725 test -z "$as_dir" && as_dir=.
10726 for ac_exec_ext in '' $ac_executable_extensions; do
10727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10728 ac_cv_prog_AS="${ncn_progname}"
10729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10739 if test -n "$AS"; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10741 $as_echo "$AS" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10744 $as_echo "no
" >&6; }
10749 test -n "$ac_cv_prog_AS" && break
10752 if test -z "$ac_cv_prog_AS" ; then
10754 if test $build = $host ; then
10757 AS="${ncn_tool_prefix}$2"
10763 if test -n "$DLLTOOL"; then
10764 ac_cv_prog_DLLTOOL=$DLLTOOL
10765 elif test -n "$ac_cv_prog_DLLTOOL"; then
10766 DLLTOOL=$ac_cv_prog_DLLTOOL
10769 if test -n "$ac_cv_prog_DLLTOOL"; then
10770 for ncn_progname in dlltool; do
10771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10772 set dummy ${ncn_progname}; ac_word=$2
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10774 $as_echo_n "checking
for $ac_word...
" >&6; }
10775 if ${ac_cv_prog_DLLTOOL+:} false; then :
10776 $as_echo_n "(cached
) " >&6
10778 if test -n "$DLLTOOL"; then
10779 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10782 for as_dir in $PATH
10785 test -z "$as_dir" && as_dir=.
10786 for ac_exec_ext in '' $ac_executable_extensions; do
10787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10788 ac_cv_prog_DLLTOOL="${ncn_progname}"
10789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10798 DLLTOOL=$ac_cv_prog_DLLTOOL
10799 if test -n "$DLLTOOL"; then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10801 $as_echo "$DLLTOOL" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10804 $as_echo "no
" >&6; }
10811 for ncn_progname in dlltool; do
10812 if test -n "$ncn_tool_prefix"; then
10813 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10814 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10816 $as_echo_n "checking
for $ac_word...
" >&6; }
10817 if ${ac_cv_prog_DLLTOOL+:} false; then :
10818 $as_echo_n "(cached
) " >&6
10820 if test -n "$DLLTOOL"; then
10821 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10824 for as_dir in $PATH
10827 test -z "$as_dir" && as_dir=.
10828 for ac_exec_ext in '' $ac_executable_extensions; do
10829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10830 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
10831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10840 DLLTOOL=$ac_cv_prog_DLLTOOL
10841 if test -n "$DLLTOOL"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10843 $as_echo "$DLLTOOL" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10846 $as_echo "no
" >&6; }
10851 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
10852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10853 set dummy ${ncn_progname}; ac_word=$2
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10855 $as_echo_n "checking
for $ac_word...
" >&6; }
10856 if ${ac_cv_prog_DLLTOOL+:} false; then :
10857 $as_echo_n "(cached
) " >&6
10859 if test -n "$DLLTOOL"; then
10860 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10863 for as_dir in $PATH
10866 test -z "$as_dir" && as_dir=.
10867 for ac_exec_ext in '' $ac_executable_extensions; do
10868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10869 ac_cv_prog_DLLTOOL="${ncn_progname}"
10870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10879 DLLTOOL=$ac_cv_prog_DLLTOOL
10880 if test -n "$DLLTOOL"; then
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
10882 $as_echo "$DLLTOOL" >&6; }
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10885 $as_echo "no
" >&6; }
10890 test -n "$ac_cv_prog_DLLTOOL" && break
10893 if test -z "$ac_cv_prog_DLLTOOL" ; then
10895 if test $build = $host ; then
10898 DLLTOOL="${ncn_tool_prefix}$2"
10904 if test -n "$DSYMUTIL"; then
10905 ac_cv_prog_DSYMUTIL=$DSYMUTIL
10906 elif test -n "$ac_cv_prog_DSYMUTIL"; then
10907 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10910 if test -n "$ac_cv_prog_DSYMUTIL"; then
10911 for ncn_progname in dsymutil; do
10912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10913 set dummy ${ncn_progname}; ac_word=$2
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10915 $as_echo_n "checking
for $ac_word...
" >&6; }
10916 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10917 $as_echo_n "(cached
) " >&6
10919 if test -n "$DSYMUTIL"; then
10920 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10923 for as_dir in $PATH
10926 test -z "$as_dir" && as_dir=.
10927 for ac_exec_ext in '' $ac_executable_extensions; do
10928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10929 ac_cv_prog_DSYMUTIL="${ncn_progname}"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10939 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10940 if test -n "$DSYMUTIL"; then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10942 $as_echo "$DSYMUTIL" >&6; }
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10945 $as_echo "no
" >&6; }
10952 for ncn_progname in dsymutil; do
10953 if test -n "$ncn_tool_prefix"; then
10954 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10955 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10957 $as_echo_n "checking
for $ac_word...
" >&6; }
10958 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10959 $as_echo_n "(cached
) " >&6
10961 if test -n "$DSYMUTIL"; then
10962 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10965 for as_dir in $PATH
10968 test -z "$as_dir" && as_dir=.
10969 for ac_exec_ext in '' $ac_executable_extensions; do
10970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10971 ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
10972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10981 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10982 if test -n "$DSYMUTIL"; then
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10984 $as_echo "$DSYMUTIL" >&6; }
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10987 $as_echo "no
" >&6; }
10992 if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
10993 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10994 set dummy ${ncn_progname}; ac_word=$2
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10996 $as_echo_n "checking
for $ac_word...
" >&6; }
10997 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10998 $as_echo_n "(cached
) " >&6
11000 if test -n "$DSYMUTIL"; then
11001 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11004 for as_dir in $PATH
11007 test -z "$as_dir" && as_dir=.
11008 for ac_exec_ext in '' $ac_executable_extensions; do
11009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11010 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11020 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11021 if test -n "$DSYMUTIL"; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11023 $as_echo "$DSYMUTIL" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11026 $as_echo "no
" >&6; }
11031 test -n "$ac_cv_prog_DSYMUTIL" && break
11034 if test -z "$ac_cv_prog_DSYMUTIL" ; then
11036 if test $build = $host ; then
11039 DSYMUTIL="${ncn_tool_prefix}$2"
11045 if test -n "$LD"; then
11047 elif test -n "$ac_cv_prog_LD"; then
11051 if test -n "$ac_cv_prog_LD"; then
11052 for ncn_progname in ld; do
11053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11054 set dummy ${ncn_progname}; ac_word=$2
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11056 $as_echo_n "checking
for $ac_word...
" >&6; }
11057 if ${ac_cv_prog_LD+:} false; then :
11058 $as_echo_n "(cached
) " >&6
11060 if test -n "$LD"; then
11061 ac_cv_prog_LD="$LD" # Let the user override the test.
11063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11064 for as_dir in $PATH
11067 test -z "$as_dir" && as_dir=.
11068 for ac_exec_ext in '' $ac_executable_extensions; do
11069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11070 ac_cv_prog_LD="${ncn_progname}"
11071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11081 if test -n "$LD"; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11083 $as_echo "$LD" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11086 $as_echo "no
" >&6; }
11093 for ncn_progname in ld; do
11094 if test -n "$ncn_tool_prefix"; then
11095 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11096 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11098 $as_echo_n "checking
for $ac_word...
" >&6; }
11099 if ${ac_cv_prog_LD+:} false; then :
11100 $as_echo_n "(cached
) " >&6
11102 if test -n "$LD"; then
11103 ac_cv_prog_LD="$LD" # Let the user override the test.
11105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11106 for as_dir in $PATH
11109 test -z "$as_dir" && as_dir=.
11110 for ac_exec_ext in '' $ac_executable_extensions; do
11111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11112 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
11113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11123 if test -n "$LD"; then
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11125 $as_echo "$LD" >&6; }
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11128 $as_echo "no
" >&6; }
11133 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
11134 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11135 set dummy ${ncn_progname}; ac_word=$2
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11137 $as_echo_n "checking
for $ac_word...
" >&6; }
11138 if ${ac_cv_prog_LD+:} false; then :
11139 $as_echo_n "(cached
) " >&6
11141 if test -n "$LD"; then
11142 ac_cv_prog_LD="$LD" # Let the user override the test.
11144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11145 for as_dir in $PATH
11148 test -z "$as_dir" && as_dir=.
11149 for ac_exec_ext in '' $ac_executable_extensions; do
11150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11151 ac_cv_prog_LD="${ncn_progname}"
11152 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11162 if test -n "$LD"; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11164 $as_echo "$LD" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11167 $as_echo "no
" >&6; }
11172 test -n "$ac_cv_prog_LD" && break
11175 if test -z "$ac_cv_prog_LD" ; then
11177 if test $build = $host ; then
11180 LD="${ncn_tool_prefix}$2"
11186 if test -n "$LIPO"; then
11187 ac_cv_prog_LIPO=$LIPO
11188 elif test -n "$ac_cv_prog_LIPO"; then
11189 LIPO=$ac_cv_prog_LIPO
11192 if test -n "$ac_cv_prog_LIPO"; then
11193 for ncn_progname in lipo; do
11194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11195 set dummy ${ncn_progname}; ac_word=$2
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11197 $as_echo_n "checking
for $ac_word...
" >&6; }
11198 if ${ac_cv_prog_LIPO+:} false; then :
11199 $as_echo_n "(cached
) " >&6
11201 if test -n "$LIPO"; then
11202 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11205 for as_dir in $PATH
11208 test -z "$as_dir" && as_dir=.
11209 for ac_exec_ext in '' $ac_executable_extensions; do
11210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11211 ac_cv_prog_LIPO="${ncn_progname}"
11212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11221 LIPO=$ac_cv_prog_LIPO
11222 if test -n "$LIPO"; then
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11224 $as_echo "$LIPO" >&6; }
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11227 $as_echo "no
" >&6; }
11234 for ncn_progname in lipo; do
11235 if test -n "$ncn_tool_prefix"; then
11236 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11237 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11239 $as_echo_n "checking
for $ac_word...
" >&6; }
11240 if ${ac_cv_prog_LIPO+:} false; then :
11241 $as_echo_n "(cached
) " >&6
11243 if test -n "$LIPO"; then
11244 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11247 for as_dir in $PATH
11250 test -z "$as_dir" && as_dir=.
11251 for ac_exec_ext in '' $ac_executable_extensions; do
11252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11253 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
11254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11263 LIPO=$ac_cv_prog_LIPO
11264 if test -n "$LIPO"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11266 $as_echo "$LIPO" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11269 $as_echo "no
" >&6; }
11274 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
11275 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11276 set dummy ${ncn_progname}; ac_word=$2
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11278 $as_echo_n "checking
for $ac_word...
" >&6; }
11279 if ${ac_cv_prog_LIPO+:} false; then :
11280 $as_echo_n "(cached
) " >&6
11282 if test -n "$LIPO"; then
11283 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286 for as_dir in $PATH
11289 test -z "$as_dir" && as_dir=.
11290 for ac_exec_ext in '' $ac_executable_extensions; do
11291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11292 ac_cv_prog_LIPO="${ncn_progname}"
11293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11302 LIPO=$ac_cv_prog_LIPO
11303 if test -n "$LIPO"; then
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11305 $as_echo "$LIPO" >&6; }
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11308 $as_echo "no
" >&6; }
11313 test -n "$ac_cv_prog_LIPO" && break
11316 if test -z "$ac_cv_prog_LIPO" ; then
11318 if test $build = $host ; then
11321 LIPO="${ncn_tool_prefix}$2"
11327 if test -n "$NM"; then
11329 elif test -n "$ac_cv_prog_NM"; then
11333 if test -n "$ac_cv_prog_NM"; then
11334 for ncn_progname in nm; do
11335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11336 set dummy ${ncn_progname}; ac_word=$2
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11338 $as_echo_n "checking
for $ac_word...
" >&6; }
11339 if ${ac_cv_prog_NM+:} false; then :
11340 $as_echo_n "(cached
) " >&6
11342 if test -n "$NM"; then
11343 ac_cv_prog_NM="$NM" # Let the user override the test.
11345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11346 for as_dir in $PATH
11349 test -z "$as_dir" && as_dir=.
11350 for ac_exec_ext in '' $ac_executable_extensions; do
11351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11352 ac_cv_prog_NM="${ncn_progname}"
11353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11363 if test -n "$NM"; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11365 $as_echo "$NM" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11368 $as_echo "no
" >&6; }
11375 for ncn_progname in nm; do
11376 if test -n "$ncn_tool_prefix"; then
11377 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11378 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11380 $as_echo_n "checking
for $ac_word...
" >&6; }
11381 if ${ac_cv_prog_NM+:} false; then :
11382 $as_echo_n "(cached
) " >&6
11384 if test -n "$NM"; then
11385 ac_cv_prog_NM="$NM" # Let the user override the test.
11387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11388 for as_dir in $PATH
11391 test -z "$as_dir" && as_dir=.
11392 for ac_exec_ext in '' $ac_executable_extensions; do
11393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11394 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11405 if test -n "$NM"; then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11407 $as_echo "$NM" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11410 $as_echo "no
" >&6; }
11415 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11417 set dummy ${ncn_progname}; ac_word=$2
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11419 $as_echo_n "checking
for $ac_word...
" >&6; }
11420 if ${ac_cv_prog_NM+:} false; then :
11421 $as_echo_n "(cached
) " >&6
11423 if test -n "$NM"; then
11424 ac_cv_prog_NM="$NM" # Let the user override the test.
11426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11427 for as_dir in $PATH
11430 test -z "$as_dir" && as_dir=.
11431 for ac_exec_ext in '' $ac_executable_extensions; do
11432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11433 ac_cv_prog_NM="${ncn_progname}"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11444 if test -n "$NM"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11446 $as_echo "$NM" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11449 $as_echo "no
" >&6; }
11454 test -n "$ac_cv_prog_NM" && break
11457 if test -z "$ac_cv_prog_NM" ; then
11459 if test $build = $host ; then
11462 NM="${ncn_tool_prefix}$2"
11468 if test -n "$RANLIB"; then
11469 ac_cv_prog_RANLIB=$RANLIB
11470 elif test -n "$ac_cv_prog_RANLIB"; then
11471 RANLIB=$ac_cv_prog_RANLIB
11474 if test -n "$ac_cv_prog_RANLIB"; then
11475 for ncn_progname in ranlib; do
11476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11477 set dummy ${ncn_progname}; ac_word=$2
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11479 $as_echo_n "checking
for $ac_word...
" >&6; }
11480 if ${ac_cv_prog_RANLIB+:} false; then :
11481 $as_echo_n "(cached
) " >&6
11483 if test -n "$RANLIB"; then
11484 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11487 for as_dir in $PATH
11490 test -z "$as_dir" && as_dir=.
11491 for ac_exec_ext in '' $ac_executable_extensions; do
11492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11493 ac_cv_prog_RANLIB="${ncn_progname}"
11494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11503 RANLIB=$ac_cv_prog_RANLIB
11504 if test -n "$RANLIB"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11506 $as_echo "$RANLIB" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11509 $as_echo "no
" >&6; }
11516 for ncn_progname in ranlib; do
11517 if test -n "$ncn_tool_prefix"; then
11518 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11519 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11521 $as_echo_n "checking
for $ac_word...
" >&6; }
11522 if ${ac_cv_prog_RANLIB+:} false; then :
11523 $as_echo_n "(cached
) " >&6
11525 if test -n "$RANLIB"; then
11526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11529 for as_dir in $PATH
11532 test -z "$as_dir" && as_dir=.
11533 for ac_exec_ext in '' $ac_executable_extensions; do
11534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11535 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
11536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11545 RANLIB=$ac_cv_prog_RANLIB
11546 if test -n "$RANLIB"; then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11548 $as_echo "$RANLIB" >&6; }
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11551 $as_echo "no
" >&6; }
11556 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
11557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11558 set dummy ${ncn_progname}; ac_word=$2
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11560 $as_echo_n "checking
for $ac_word...
" >&6; }
11561 if ${ac_cv_prog_RANLIB+:} false; then :
11562 $as_echo_n "(cached
) " >&6
11564 if test -n "$RANLIB"; then
11565 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11568 for as_dir in $PATH
11571 test -z "$as_dir" && as_dir=.
11572 for ac_exec_ext in '' $ac_executable_extensions; do
11573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11574 ac_cv_prog_RANLIB="${ncn_progname}"
11575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11584 RANLIB=$ac_cv_prog_RANLIB
11585 if test -n "$RANLIB"; then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11587 $as_echo "$RANLIB" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11590 $as_echo "no
" >&6; }
11595 test -n "$ac_cv_prog_RANLIB" && break
11598 if test -z "$ac_cv_prog_RANLIB" ; then
11604 if test -n "$STRIP"; then
11605 ac_cv_prog_STRIP=$STRIP
11606 elif test -n "$ac_cv_prog_STRIP"; then
11607 STRIP=$ac_cv_prog_STRIP
11610 if test -n "$ac_cv_prog_STRIP"; then
11611 for ncn_progname in strip; do
11612 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11613 set dummy ${ncn_progname}; ac_word=$2
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11615 $as_echo_n "checking
for $ac_word...
" >&6; }
11616 if ${ac_cv_prog_STRIP+:} false; then :
11617 $as_echo_n "(cached
) " >&6
11619 if test -n "$STRIP"; then
11620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11623 for as_dir in $PATH
11626 test -z "$as_dir" && as_dir=.
11627 for ac_exec_ext in '' $ac_executable_extensions; do
11628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11629 ac_cv_prog_STRIP="${ncn_progname}"
11630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11639 STRIP=$ac_cv_prog_STRIP
11640 if test -n "$STRIP"; then
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11642 $as_echo "$STRIP" >&6; }
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11645 $as_echo "no
" >&6; }
11652 for ncn_progname in strip; do
11653 if test -n "$ncn_tool_prefix"; then
11654 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11655 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11657 $as_echo_n "checking
for $ac_word...
" >&6; }
11658 if ${ac_cv_prog_STRIP+:} false; then :
11659 $as_echo_n "(cached
) " >&6
11661 if test -n "$STRIP"; then
11662 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11665 for as_dir in $PATH
11668 test -z "$as_dir" && as_dir=.
11669 for ac_exec_ext in '' $ac_executable_extensions; do
11670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11671 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
11672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11681 STRIP=$ac_cv_prog_STRIP
11682 if test -n "$STRIP"; then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11684 $as_echo "$STRIP" >&6; }
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11687 $as_echo "no
" >&6; }
11692 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
11693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11694 set dummy ${ncn_progname}; ac_word=$2
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11696 $as_echo_n "checking
for $ac_word...
" >&6; }
11697 if ${ac_cv_prog_STRIP+:} false; then :
11698 $as_echo_n "(cached
) " >&6
11700 if test -n "$STRIP"; then
11701 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11704 for as_dir in $PATH
11707 test -z "$as_dir" && as_dir=.
11708 for ac_exec_ext in '' $ac_executable_extensions; do
11709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11710 ac_cv_prog_STRIP="${ncn_progname}"
11711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11720 STRIP=$ac_cv_prog_STRIP
11721 if test -n "$STRIP"; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11723 $as_echo "$STRIP" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11726 $as_echo "no
" >&6; }
11731 test -n "$ac_cv_prog_STRIP" && break
11734 if test -z "$ac_cv_prog_STRIP" ; then
11740 if test -n "$WINDRES"; then
11741 ac_cv_prog_WINDRES=$WINDRES
11742 elif test -n "$ac_cv_prog_WINDRES"; then
11743 WINDRES=$ac_cv_prog_WINDRES
11746 if test -n "$ac_cv_prog_WINDRES"; then
11747 for ncn_progname in windres; do
11748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11749 set dummy ${ncn_progname}; ac_word=$2
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11751 $as_echo_n "checking
for $ac_word...
" >&6; }
11752 if ${ac_cv_prog_WINDRES+:} false; then :
11753 $as_echo_n "(cached
) " >&6
11755 if test -n "$WINDRES"; then
11756 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11759 for as_dir in $PATH
11762 test -z "$as_dir" && as_dir=.
11763 for ac_exec_ext in '' $ac_executable_extensions; do
11764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11765 ac_cv_prog_WINDRES="${ncn_progname}"
11766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11775 WINDRES=$ac_cv_prog_WINDRES
11776 if test -n "$WINDRES"; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11778 $as_echo "$WINDRES" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11781 $as_echo "no
" >&6; }
11788 for ncn_progname in windres; do
11789 if test -n "$ncn_tool_prefix"; then
11790 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11791 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11793 $as_echo_n "checking
for $ac_word...
" >&6; }
11794 if ${ac_cv_prog_WINDRES+:} false; then :
11795 $as_echo_n "(cached
) " >&6
11797 if test -n "$WINDRES"; then
11798 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11801 for as_dir in $PATH
11804 test -z "$as_dir" && as_dir=.
11805 for ac_exec_ext in '' $ac_executable_extensions; do
11806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11817 WINDRES=$ac_cv_prog_WINDRES
11818 if test -n "$WINDRES"; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11820 $as_echo "$WINDRES" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11823 $as_echo "no
" >&6; }
11828 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
11829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11830 set dummy ${ncn_progname}; ac_word=$2
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11832 $as_echo_n "checking
for $ac_word...
" >&6; }
11833 if ${ac_cv_prog_WINDRES+:} false; then :
11834 $as_echo_n "(cached
) " >&6
11836 if test -n "$WINDRES"; then
11837 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11840 for as_dir in $PATH
11843 test -z "$as_dir" && as_dir=.
11844 for ac_exec_ext in '' $ac_executable_extensions; do
11845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11846 ac_cv_prog_WINDRES="${ncn_progname}"
11847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11856 WINDRES=$ac_cv_prog_WINDRES
11857 if test -n "$WINDRES"; then
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
11859 $as_echo "$WINDRES" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11862 $as_echo "no
" >&6; }
11867 test -n "$ac_cv_prog_WINDRES" && break
11870 if test -z "$ac_cv_prog_WINDRES" ; then
11872 if test $build = $host ; then
11875 WINDRES="${ncn_tool_prefix}$2"
11881 if test -n "$WINDMC"; then
11882 ac_cv_prog_WINDMC=$WINDMC
11883 elif test -n "$ac_cv_prog_WINDMC"; then
11884 WINDMC=$ac_cv_prog_WINDMC
11887 if test -n "$ac_cv_prog_WINDMC"; then
11888 for ncn_progname in windmc; do
11889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11890 set dummy ${ncn_progname}; ac_word=$2
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11892 $as_echo_n "checking
for $ac_word...
" >&6; }
11893 if ${ac_cv_prog_WINDMC+:} false; then :
11894 $as_echo_n "(cached
) " >&6
11896 if test -n "$WINDMC"; then
11897 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11900 for as_dir in $PATH
11903 test -z "$as_dir" && as_dir=.
11904 for ac_exec_ext in '' $ac_executable_extensions; do
11905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11906 ac_cv_prog_WINDMC="${ncn_progname}"
11907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11916 WINDMC=$ac_cv_prog_WINDMC
11917 if test -n "$WINDMC"; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11919 $as_echo "$WINDMC" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11922 $as_echo "no
" >&6; }
11929 for ncn_progname in windmc; do
11930 if test -n "$ncn_tool_prefix"; then
11931 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11932 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11934 $as_echo_n "checking
for $ac_word...
" >&6; }
11935 if ${ac_cv_prog_WINDMC+:} false; then :
11936 $as_echo_n "(cached
) " >&6
11938 if test -n "$WINDMC"; then
11939 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11942 for as_dir in $PATH
11945 test -z "$as_dir" && as_dir=.
11946 for ac_exec_ext in '' $ac_executable_extensions; do
11947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11948 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
11949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11958 WINDMC=$ac_cv_prog_WINDMC
11959 if test -n "$WINDMC"; then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
11961 $as_echo "$WINDMC" >&6; }
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11964 $as_echo "no
" >&6; }
11969 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
11970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11971 set dummy ${ncn_progname}; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11973 $as_echo_n "checking
for $ac_word...
" >&6; }
11974 if ${ac_cv_prog_WINDMC+:} false; then :
11975 $as_echo_n "(cached
) " >&6
11977 if test -n "$WINDMC"; then
11978 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
11980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $PATH
11984 test -z "$as_dir" && as_dir=.
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_prog_WINDMC="${ncn_progname}"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11997 WINDMC=$ac_cv_prog_WINDMC
11998 if test -n "$WINDMC"; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12000 $as_echo "$WINDMC" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12003 $as_echo "no
" >&6; }
12008 test -n "$ac_cv_prog_WINDMC" && break
12011 if test -z "$ac_cv_prog_WINDMC" ; then
12013 if test $build = $host ; then
12016 WINDMC="${ncn_tool_prefix}$2"
12022 if test -n "$OBJCOPY"; then
12023 ac_cv_prog_OBJCOPY=$OBJCOPY
12024 elif test -n "$ac_cv_prog_OBJCOPY"; then
12025 OBJCOPY=$ac_cv_prog_OBJCOPY
12028 if test -n "$ac_cv_prog_OBJCOPY"; then
12029 for ncn_progname in objcopy; do
12030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12031 set dummy ${ncn_progname}; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12033 $as_echo_n "checking
for $ac_word...
" >&6; }
12034 if ${ac_cv_prog_OBJCOPY+:} false; then :
12035 $as_echo_n "(cached
) " >&6
12037 if test -n "$OBJCOPY"; then
12038 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12047 ac_cv_prog_OBJCOPY="${ncn_progname}"
12048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12057 OBJCOPY=$ac_cv_prog_OBJCOPY
12058 if test -n "$OBJCOPY"; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12060 $as_echo "$OBJCOPY" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12063 $as_echo "no
" >&6; }
12070 for ncn_progname in objcopy; do
12071 if test -n "$ncn_tool_prefix"; then
12072 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12073 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12075 $as_echo_n "checking
for $ac_word...
" >&6; }
12076 if ${ac_cv_prog_OBJCOPY+:} false; then :
12077 $as_echo_n "(cached
) " >&6
12079 if test -n "$OBJCOPY"; then
12080 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12083 for as_dir in $PATH
12086 test -z "$as_dir" && as_dir=.
12087 for ac_exec_ext in '' $ac_executable_extensions; do
12088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12089 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
12090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12099 OBJCOPY=$ac_cv_prog_OBJCOPY
12100 if test -n "$OBJCOPY"; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12102 $as_echo "$OBJCOPY" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12105 $as_echo "no
" >&6; }
12110 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
12111 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12112 set dummy ${ncn_progname}; ac_word=$2
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12114 $as_echo_n "checking
for $ac_word...
" >&6; }
12115 if ${ac_cv_prog_OBJCOPY+:} false; then :
12116 $as_echo_n "(cached
) " >&6
12118 if test -n "$OBJCOPY"; then
12119 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12122 for as_dir in $PATH
12125 test -z "$as_dir" && as_dir=.
12126 for ac_exec_ext in '' $ac_executable_extensions; do
12127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12128 ac_cv_prog_OBJCOPY="${ncn_progname}"
12129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12138 OBJCOPY=$ac_cv_prog_OBJCOPY
12139 if test -n "$OBJCOPY"; then
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12141 $as_echo "$OBJCOPY" >&6; }
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12144 $as_echo "no
" >&6; }
12149 test -n "$ac_cv_prog_OBJCOPY" && break
12152 if test -z "$ac_cv_prog_OBJCOPY" ; then
12154 if test $build = $host ; then
12157 OBJCOPY="${ncn_tool_prefix}$2"
12163 if test -n "$OBJDUMP"; then
12164 ac_cv_prog_OBJDUMP=$OBJDUMP
12165 elif test -n "$ac_cv_prog_OBJDUMP"; then
12166 OBJDUMP=$ac_cv_prog_OBJDUMP
12169 if test -n "$ac_cv_prog_OBJDUMP"; then
12170 for ncn_progname in objdump; do
12171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12172 set dummy ${ncn_progname}; ac_word=$2
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12174 $as_echo_n "checking
for $ac_word...
" >&6; }
12175 if ${ac_cv_prog_OBJDUMP+:} false; then :
12176 $as_echo_n "(cached
) " >&6
12178 if test -n "$OBJDUMP"; then
12179 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12182 for as_dir in $PATH
12185 test -z "$as_dir" && as_dir=.
12186 for ac_exec_ext in '' $ac_executable_extensions; do
12187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12188 ac_cv_prog_OBJDUMP="${ncn_progname}"
12189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12198 OBJDUMP=$ac_cv_prog_OBJDUMP
12199 if test -n "$OBJDUMP"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12201 $as_echo "$OBJDUMP" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12204 $as_echo "no
" >&6; }
12211 for ncn_progname in objdump; do
12212 if test -n "$ncn_tool_prefix"; then
12213 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12214 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12216 $as_echo_n "checking
for $ac_word...
" >&6; }
12217 if ${ac_cv_prog_OBJDUMP+:} false; then :
12218 $as_echo_n "(cached
) " >&6
12220 if test -n "$OBJDUMP"; then
12221 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12224 for as_dir in $PATH
12227 test -z "$as_dir" && as_dir=.
12228 for ac_exec_ext in '' $ac_executable_extensions; do
12229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12230 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
12231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12240 OBJDUMP=$ac_cv_prog_OBJDUMP
12241 if test -n "$OBJDUMP"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12243 $as_echo "$OBJDUMP" >&6; }
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12246 $as_echo "no
" >&6; }
12251 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
12252 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12253 set dummy ${ncn_progname}; ac_word=$2
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12255 $as_echo_n "checking
for $ac_word...
" >&6; }
12256 if ${ac_cv_prog_OBJDUMP+:} false; then :
12257 $as_echo_n "(cached
) " >&6
12259 if test -n "$OBJDUMP"; then
12260 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12263 for as_dir in $PATH
12266 test -z "$as_dir" && as_dir=.
12267 for ac_exec_ext in '' $ac_executable_extensions; do
12268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12269 ac_cv_prog_OBJDUMP="${ncn_progname}"
12270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12279 OBJDUMP=$ac_cv_prog_OBJDUMP
12280 if test -n "$OBJDUMP"; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12282 $as_echo "$OBJDUMP" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12285 $as_echo "no
" >&6; }
12290 test -n "$ac_cv_prog_OBJDUMP" && break
12293 if test -z "$ac_cv_prog_OBJDUMP" ; then
12295 if test $build = $host ; then
12298 OBJDUMP="${ncn_tool_prefix}$2"
12304 if test -n "$OTOOL"; then
12305 ac_cv_prog_OTOOL=$OTOOL
12306 elif test -n "$ac_cv_prog_OTOOL"; then
12307 OTOOL=$ac_cv_prog_OTOOL
12310 if test -n "$ac_cv_prog_OTOOL"; then
12311 for ncn_progname in otool; do
12312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12313 set dummy ${ncn_progname}; ac_word=$2
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12315 $as_echo_n "checking
for $ac_word...
" >&6; }
12316 if ${ac_cv_prog_OTOOL+:} false; then :
12317 $as_echo_n "(cached
) " >&6
12319 if test -n "$OTOOL"; then
12320 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12323 for as_dir in $PATH
12326 test -z "$as_dir" && as_dir=.
12327 for ac_exec_ext in '' $ac_executable_extensions; do
12328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12329 ac_cv_prog_OTOOL="${ncn_progname}"
12330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12339 OTOOL=$ac_cv_prog_OTOOL
12340 if test -n "$OTOOL"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12342 $as_echo "$OTOOL" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12345 $as_echo "no
" >&6; }
12352 for ncn_progname in otool; do
12353 if test -n "$ncn_tool_prefix"; then
12354 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12355 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12357 $as_echo_n "checking
for $ac_word...
" >&6; }
12358 if ${ac_cv_prog_OTOOL+:} false; then :
12359 $as_echo_n "(cached
) " >&6
12361 if test -n "$OTOOL"; then
12362 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12371 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12381 OTOOL=$ac_cv_prog_OTOOL
12382 if test -n "$OTOOL"; then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12384 $as_echo "$OTOOL" >&6; }
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12387 $as_echo "no
" >&6; }
12392 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12394 set dummy ${ncn_progname}; ac_word=$2
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12396 $as_echo_n "checking
for $ac_word...
" >&6; }
12397 if ${ac_cv_prog_OTOOL+:} false; then :
12398 $as_echo_n "(cached
) " >&6
12400 if test -n "$OTOOL"; then
12401 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12404 for as_dir in $PATH
12407 test -z "$as_dir" && as_dir=.
12408 for ac_exec_ext in '' $ac_executable_extensions; do
12409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12410 ac_cv_prog_OTOOL="${ncn_progname}"
12411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12420 OTOOL=$ac_cv_prog_OTOOL
12421 if test -n "$OTOOL"; then
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12423 $as_echo "$OTOOL" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12426 $as_echo "no
" >&6; }
12431 test -n "$ac_cv_prog_OTOOL" && break
12434 if test -z "$ac_cv_prog_OTOOL" ; then
12436 if test $build = $host ; then
12439 OTOOL="${ncn_tool_prefix}$2"
12445 if test -n "$READELF"; then
12446 ac_cv_prog_READELF=$READELF
12447 elif test -n "$ac_cv_prog_READELF"; then
12448 READELF=$ac_cv_prog_READELF
12451 if test -n "$ac_cv_prog_READELF"; then
12452 for ncn_progname in readelf; do
12453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12454 set dummy ${ncn_progname}; ac_word=$2
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12456 $as_echo_n "checking
for $ac_word...
" >&6; }
12457 if ${ac_cv_prog_READELF+:} false; then :
12458 $as_echo_n "(cached
) " >&6
12460 if test -n "$READELF"; then
12461 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12464 for as_dir in $PATH
12467 test -z "$as_dir" && as_dir=.
12468 for ac_exec_ext in '' $ac_executable_extensions; do
12469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12470 ac_cv_prog_READELF="${ncn_progname}"
12471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12480 READELF=$ac_cv_prog_READELF
12481 if test -n "$READELF"; then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12483 $as_echo "$READELF" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12486 $as_echo "no
" >&6; }
12493 for ncn_progname in readelf; do
12494 if test -n "$ncn_tool_prefix"; then
12495 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12496 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12498 $as_echo_n "checking
for $ac_word...
" >&6; }
12499 if ${ac_cv_prog_READELF+:} false; then :
12500 $as_echo_n "(cached
) " >&6
12502 if test -n "$READELF"; then
12503 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12506 for as_dir in $PATH
12509 test -z "$as_dir" && as_dir=.
12510 for ac_exec_ext in '' $ac_executable_extensions; do
12511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12512 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
12513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12522 READELF=$ac_cv_prog_READELF
12523 if test -n "$READELF"; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12525 $as_echo "$READELF" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12528 $as_echo "no
" >&6; }
12533 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
12534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12535 set dummy ${ncn_progname}; ac_word=$2
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12537 $as_echo_n "checking
for $ac_word...
" >&6; }
12538 if ${ac_cv_prog_READELF+:} false; then :
12539 $as_echo_n "(cached
) " >&6
12541 if test -n "$READELF"; then
12542 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12551 ac_cv_prog_READELF="${ncn_progname}"
12552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12561 READELF=$ac_cv_prog_READELF
12562 if test -n "$READELF"; then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12564 $as_echo "$READELF" >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12567 $as_echo "no
" >&6; }
12572 test -n "$ac_cv_prog_READELF" && break
12575 if test -z "$ac_cv_prog_READELF" ; then
12577 if test $build = $host ; then
12580 READELF="${ncn_tool_prefix}$2"
12591 # Check whether --with-build-time-tools was given.
12592 if test "${with_build_time_tools+set}" = set; then :
12593 withval=$with_build_time_tools; case x"$withval" in
12596 with_build_time_tools=
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
12598 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
12602 with_build_time_tools=
12608 if test -n "$CC_FOR_TARGET"; then
12609 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
12610 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12611 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12614 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12615 for ncn_progname in cc gcc; do
12616 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12617 set dummy ${ncn_progname}; ac_word=$2
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12619 $as_echo_n "checking
for $ac_word...
" >&6; }
12620 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12621 $as_echo_n "(cached
) " >&6
12623 if test -n "$CC_FOR_TARGET"; then
12624 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12627 for as_dir in $PATH
12630 test -z "$as_dir" && as_dir=.
12631 for ac_exec_ext in '' $ac_executable_extensions; do
12632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12633 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12643 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12644 if test -n "$CC_FOR_TARGET"; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12646 $as_echo "$CC_FOR_TARGET" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12649 $as_echo "no
" >&6; }
12656 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12657 for ncn_progname in cc gcc; do
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12659 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12660 if test -x $with_build_time_tools/${ncn_progname}; then
12661 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12663 $as_echo "yes" >&6; }
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12667 $as_echo "no
" >&6; }
12672 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
12673 for ncn_progname in cc gcc; do
12674 if test -n "$ncn_target_tool_prefix"; then
12675 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12676 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12678 $as_echo_n "checking
for $ac_word...
" >&6; }
12679 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12680 $as_echo_n "(cached
) " >&6
12682 if test -n "$CC_FOR_TARGET"; then
12683 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12686 for as_dir in $PATH
12689 test -z "$as_dir" && as_dir=.
12690 for ac_exec_ext in '' $ac_executable_extensions; do
12691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12692 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12702 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12703 if test -n "$CC_FOR_TARGET"; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12705 $as_echo "$CC_FOR_TARGET" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12708 $as_echo "no
" >&6; }
12713 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
12714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12715 set dummy ${ncn_progname}; ac_word=$2
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12717 $as_echo_n "checking
for $ac_word...
" >&6; }
12718 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12719 $as_echo_n "(cached
) " >&6
12721 if test -n "$CC_FOR_TARGET"; then
12722 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12725 for as_dir in $PATH
12728 test -z "$as_dir" && as_dir=.
12729 for ac_exec_ext in '' $ac_executable_extensions; do
12730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12731 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12741 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12742 if test -n "$CC_FOR_TARGET"; then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12744 $as_echo "$CC_FOR_TARGET" >&6; }
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12747 $as_echo "no
" >&6; }
12752 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
12756 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
12758 if test $build = $target ; then
12761 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12764 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
12769 if test -n "$CXX_FOR_TARGET"; then
12770 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
12771 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
12772 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12775 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
12776 for ncn_progname in c++ g++ cxx gxx; do
12777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12778 set dummy ${ncn_progname}; ac_word=$2
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12780 $as_echo_n "checking
for $ac_word...
" >&6; }
12781 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12782 $as_echo_n "(cached
) " >&6
12784 if test -n "$CXX_FOR_TARGET"; then
12785 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $PATH
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12794 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12804 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12805 if test -n "$CXX_FOR_TARGET"; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12807 $as_echo "$CXX_FOR_TARGET" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12810 $as_echo "no
" >&6; }
12817 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
12818 for ncn_progname in c++ g++ cxx gxx; do
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12820 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12821 if test -x $with_build_time_tools/${ncn_progname}; then
12822 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12824 $as_echo "yes" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12828 $as_echo "no
" >&6; }
12833 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
12834 for ncn_progname in c++ g++ cxx gxx; do
12835 if test -n "$ncn_target_tool_prefix"; then
12836 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12837 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12839 $as_echo_n "checking
for $ac_word...
" >&6; }
12840 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12841 $as_echo_n "(cached
) " >&6
12843 if test -n "$CXX_FOR_TARGET"; then
12844 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12850 test -z "$as_dir" && as_dir=.
12851 for ac_exec_ext in '' $ac_executable_extensions; do
12852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12853 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12863 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12864 if test -n "$CXX_FOR_TARGET"; then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12866 $as_echo "$CXX_FOR_TARGET" >&6; }
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12869 $as_echo "no
" >&6; }
12874 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
12875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12876 set dummy ${ncn_progname}; ac_word=$2
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12878 $as_echo_n "checking
for $ac_word...
" >&6; }
12879 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
12880 $as_echo_n "(cached
) " >&6
12882 if test -n "$CXX_FOR_TARGET"; then
12883 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
12885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886 for as_dir in $PATH
12889 test -z "$as_dir" && as_dir=.
12890 for ac_exec_ext in '' $ac_executable_extensions; do
12891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12892 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
12893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12902 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
12903 if test -n "$CXX_FOR_TARGET"; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
12905 $as_echo "$CXX_FOR_TARGET" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12908 $as_echo "no
" >&6; }
12913 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
12917 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
12918 set dummy c++ g++ cxx gxx
12919 if test $build = $target ; then
12920 CXX_FOR_TARGET="$2"
12922 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
12925 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
12930 if test -n "$GCC_FOR_TARGET"; then
12931 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
12932 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
12933 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12936 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
12937 for ncn_progname in gcc; do
12938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12939 set dummy ${ncn_progname}; ac_word=$2
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12941 $as_echo_n "checking
for $ac_word...
" >&6; }
12942 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
12943 $as_echo_n "(cached
) " >&6
12945 if test -n "$GCC_FOR_TARGET"; then
12946 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
12948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12949 for as_dir in $PATH
12952 test -z "$as_dir" && as_dir=.
12953 for ac_exec_ext in '' $ac_executable_extensions; do
12954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12955 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
12956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12965 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
12966 if test -n "$GCC_FOR_TARGET"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
12968 $as_echo "$GCC_FOR_TARGET" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12971 $as_echo "no
" >&6; }
12978 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12979 for ncn_progname in gcc; do
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12981 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12982 if test -x $with_build_time_tools/${ncn_progname}; then
12983 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12985 $as_echo "yes" >&6; }
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12989 $as_echo "no
" >&6; }
12994 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
12995 for ncn_progname in gcc; do
12996 if test -n "$ncn_target_tool_prefix"; then
12997 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12998 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13000 $as_echo_n "checking
for $ac_word...
" >&6; }
13001 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13002 $as_echo_n "(cached
) " >&6
13004 if test -n "$GCC_FOR_TARGET"; then
13005 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13008 for as_dir in $PATH
13011 test -z "$as_dir" && as_dir=.
13012 for ac_exec_ext in '' $ac_executable_extensions; do
13013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13014 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13024 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13025 if test -n "$GCC_FOR_TARGET"; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13027 $as_echo "$GCC_FOR_TARGET" >&6; }
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13030 $as_echo "no
" >&6; }
13035 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
13036 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13037 set dummy ${ncn_progname}; ac_word=$2
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13039 $as_echo_n "checking
for $ac_word...
" >&6; }
13040 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13041 $as_echo_n "(cached
) " >&6
13043 if test -n "$GCC_FOR_TARGET"; then
13044 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13047 for as_dir in $PATH
13050 test -z "$as_dir" && as_dir=.
13051 for ac_exec_ext in '' $ac_executable_extensions; do
13052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13053 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13063 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13064 if test -n "$GCC_FOR_TARGET"; then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13066 $as_echo "$GCC_FOR_TARGET" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13069 $as_echo "no
" >&6; }
13074 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
13078 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
13079 GCC_FOR_TARGET="${CC_FOR_TARGET}"
13081 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
13086 if test -n "$GFORTRAN_FOR_TARGET"; then
13087 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
13088 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13089 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13092 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13093 for ncn_progname in gfortran; do
13094 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13095 set dummy ${ncn_progname}; ac_word=$2
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13097 $as_echo_n "checking
for $ac_word...
" >&6; }
13098 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13099 $as_echo_n "(cached
) " >&6
13101 if test -n "$GFORTRAN_FOR_TARGET"; then
13102 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13105 for as_dir in $PATH
13108 test -z "$as_dir" && as_dir=.
13109 for ac_exec_ext in '' $ac_executable_extensions; do
13110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13111 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13121 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13122 if test -n "$GFORTRAN_FOR_TARGET"; then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13124 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13127 $as_echo "no
" >&6; }
13134 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
13135 for ncn_progname in gfortran; do
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13137 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13138 if test -x $with_build_time_tools/${ncn_progname}; then
13139 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13141 $as_echo "yes" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13145 $as_echo "no
" >&6; }
13150 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13151 for ncn_progname in gfortran; do
13152 if test -n "$ncn_target_tool_prefix"; then
13153 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13154 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13156 $as_echo_n "checking
for $ac_word...
" >&6; }
13157 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13158 $as_echo_n "(cached
) " >&6
13160 if test -n "$GFORTRAN_FOR_TARGET"; then
13161 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13164 for as_dir in $PATH
13167 test -z "$as_dir" && as_dir=.
13168 for ac_exec_ext in '' $ac_executable_extensions; do
13169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13170 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13180 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13181 if test -n "$GFORTRAN_FOR_TARGET"; then
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13183 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13186 $as_echo "no
" >&6; }
13191 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
13192 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13193 set dummy ${ncn_progname}; ac_word=$2
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13195 $as_echo_n "checking
for $ac_word...
" >&6; }
13196 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13197 $as_echo_n "(cached
) " >&6
13199 if test -n "$GFORTRAN_FOR_TARGET"; then
13200 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13203 for as_dir in $PATH
13206 test -z "$as_dir" && as_dir=.
13207 for ac_exec_ext in '' $ac_executable_extensions; do
13208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13209 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13219 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13220 if test -n "$GFORTRAN_FOR_TARGET"; then
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13222 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13225 $as_echo "no
" >&6; }
13230 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
13234 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
13236 if test $build = $target ; then
13237 GFORTRAN_FOR_TARGET="$2"
13239 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
13242 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
13247 if test -n "$GOC_FOR_TARGET"; then
13248 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
13249 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13250 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13253 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13254 for ncn_progname in gccgo; do
13255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13256 set dummy ${ncn_progname}; ac_word=$2
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13258 $as_echo_n "checking
for $ac_word...
" >&6; }
13259 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13260 $as_echo_n "(cached
) " >&6
13262 if test -n "$GOC_FOR_TARGET"; then
13263 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13266 for as_dir in $PATH
13269 test -z "$as_dir" && as_dir=.
13270 for ac_exec_ext in '' $ac_executable_extensions; do
13271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13272 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13282 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13283 if test -n "$GOC_FOR_TARGET"; then
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13285 $as_echo "$GOC_FOR_TARGET" >&6; }
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13288 $as_echo "no
" >&6; }
13295 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13296 for ncn_progname in gccgo; do
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13298 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13299 if test -x $with_build_time_tools/${ncn_progname}; then
13300 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13302 $as_echo "yes" >&6; }
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13306 $as_echo "no
" >&6; }
13311 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13312 for ncn_progname in gccgo; do
13313 if test -n "$ncn_target_tool_prefix"; then
13314 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13315 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13317 $as_echo_n "checking
for $ac_word...
" >&6; }
13318 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13319 $as_echo_n "(cached
) " >&6
13321 if test -n "$GOC_FOR_TARGET"; then
13322 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13325 for as_dir in $PATH
13328 test -z "$as_dir" && as_dir=.
13329 for ac_exec_ext in '' $ac_executable_extensions; do
13330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13331 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13341 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13342 if test -n "$GOC_FOR_TARGET"; then
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13344 $as_echo "$GOC_FOR_TARGET" >&6; }
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13347 $as_echo "no
" >&6; }
13352 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
13353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13354 set dummy ${ncn_progname}; ac_word=$2
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13356 $as_echo_n "checking
for $ac_word...
" >&6; }
13357 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13358 $as_echo_n "(cached
) " >&6
13360 if test -n "$GOC_FOR_TARGET"; then
13361 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13364 for as_dir in $PATH
13367 test -z "$as_dir" && as_dir=.
13368 for ac_exec_ext in '' $ac_executable_extensions; do
13369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13370 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13380 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13381 if test -n "$GOC_FOR_TARGET"; then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13383 $as_echo "$GOC_FOR_TARGET" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13386 $as_echo "no
" >&6; }
13391 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
13395 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
13397 if test $build = $target ; then
13398 GOC_FOR_TARGET="$2"
13400 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13403 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
13408 if test -n "$GDC_FOR_TARGET"; then
13409 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
13410 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13411 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13414 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13415 for ncn_progname in gdc; do
13416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13417 set dummy ${ncn_progname}; ac_word=$2
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13419 $as_echo_n "checking
for $ac_word...
" >&6; }
13420 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13421 $as_echo_n "(cached
) " >&6
13423 if test -n "$GDC_FOR_TARGET"; then
13424 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13427 for as_dir in $PATH
13430 test -z "$as_dir" && as_dir=.
13431 for ac_exec_ext in '' $ac_executable_extensions; do
13432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13433 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13443 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13444 if test -n "$GDC_FOR_TARGET"; then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13446 $as_echo "$GDC_FOR_TARGET" >&6; }
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13449 $as_echo "no
" >&6; }
13456 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13457 for ncn_progname in gdc; do
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13459 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13460 if test -x $with_build_time_tools/${ncn_progname}; then
13461 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13463 $as_echo "yes" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13467 $as_echo "no
" >&6; }
13472 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
13473 for ncn_progname in gdc; do
13474 if test -n "$ncn_target_tool_prefix"; then
13475 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13476 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13478 $as_echo_n "checking
for $ac_word...
" >&6; }
13479 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13480 $as_echo_n "(cached
) " >&6
13482 if test -n "$GDC_FOR_TARGET"; then
13483 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13486 for as_dir in $PATH
13489 test -z "$as_dir" && as_dir=.
13490 for ac_exec_ext in '' $ac_executable_extensions; do
13491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13492 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13502 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13503 if test -n "$GDC_FOR_TARGET"; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13505 $as_echo "$GDC_FOR_TARGET" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13508 $as_echo "no
" >&6; }
13513 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
13514 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13515 set dummy ${ncn_progname}; ac_word=$2
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13517 $as_echo_n "checking
for $ac_word...
" >&6; }
13518 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13519 $as_echo_n "(cached
) " >&6
13521 if test -n "$GDC_FOR_TARGET"; then
13522 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13525 for as_dir in $PATH
13528 test -z "$as_dir" && as_dir=.
13529 for ac_exec_ext in '' $ac_executable_extensions; do
13530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13531 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13541 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13542 if test -n "$GDC_FOR_TARGET"; then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13544 $as_echo "$GDC_FOR_TARGET" >&6; }
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13547 $as_echo "no
" >&6; }
13552 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
13556 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
13558 if test $build = $target ; then
13559 GDC_FOR_TARGET="$2"
13561 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13564 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
13569 cat > conftest.c << \EOF
13574 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
13575 have_gcc_for_target=yes
13577 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
13578 have_gcc_for_target=no
13585 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13586 if test -n "$with_build_time_tools"; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
13588 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
13589 if test -x $with_build_time_tools/ar; then
13590 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
13591 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
13593 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13596 $as_echo "no
" >&6; }
13598 elif test $build != $host && test $have_gcc_for_target = yes; then
13599 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
13600 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
13601 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13604 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13605 # Extract the first word of "ar", so it can be a program name with args.
13606 set dummy ar; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13608 $as_echo_n "checking
for $ac_word...
" >&6; }
13609 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
13610 $as_echo_n "(cached
) " >&6
13612 case $AR_FOR_TARGET in
13614 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
13617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13618 for as_dir in $gcc_cv_tool_dirs
13621 test -z "$as_dir" && as_dir=.
13622 for ac_exec_ext in '' $ac_executable_extensions; do
13623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13624 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13635 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13636 if test -n "$AR_FOR_TARGET"; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13638 $as_echo "$AR_FOR_TARGET" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13641 $as_echo "no
" >&6; }
13646 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13649 if test -n "$AR_FOR_TARGET"; then
13650 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
13651 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13652 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13655 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13656 for ncn_progname in ar; do
13657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13658 set dummy ${ncn_progname}; ac_word=$2
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13660 $as_echo_n "checking
for $ac_word...
" >&6; }
13661 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13662 $as_echo_n "(cached
) " >&6
13664 if test -n "$AR_FOR_TARGET"; then
13665 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13668 for as_dir in $PATH
13671 test -z "$as_dir" && as_dir=.
13672 for ac_exec_ext in '' $ac_executable_extensions; do
13673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13674 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13684 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13685 if test -n "$AR_FOR_TARGET"; then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13687 $as_echo "$AR_FOR_TARGET" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13690 $as_echo "no
" >&6; }
13697 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
13698 for ncn_progname in ar; do
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13700 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13701 if test -x $with_build_time_tools/${ncn_progname}; then
13702 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13704 $as_echo "yes" >&6; }
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13708 $as_echo "no
" >&6; }
13713 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
13714 for ncn_progname in ar; do
13715 if test -n "$ncn_target_tool_prefix"; then
13716 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13717 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13719 $as_echo_n "checking
for $ac_word...
" >&6; }
13720 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13721 $as_echo_n "(cached
) " >&6
13723 if test -n "$AR_FOR_TARGET"; then
13724 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13727 for as_dir in $PATH
13730 test -z "$as_dir" && as_dir=.
13731 for ac_exec_ext in '' $ac_executable_extensions; do
13732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13733 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13743 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13744 if test -n "$AR_FOR_TARGET"; then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13746 $as_echo "$AR_FOR_TARGET" >&6; }
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13749 $as_echo "no
" >&6; }
13754 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
13755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13756 set dummy ${ncn_progname}; ac_word=$2
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13758 $as_echo_n "checking
for $ac_word...
" >&6; }
13759 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13760 $as_echo_n "(cached
) " >&6
13762 if test -n "$AR_FOR_TARGET"; then
13763 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13766 for as_dir in $PATH
13769 test -z "$as_dir" && as_dir=.
13770 for ac_exec_ext in '' $ac_executable_extensions; do
13771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13772 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13782 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13783 if test -n "$AR_FOR_TARGET"; then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13785 $as_echo "$AR_FOR_TARGET" >&6; }
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13788 $as_echo "no
" >&6; }
13793 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
13797 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
13799 if test $build = $target ; then
13802 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
13805 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
13809 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13815 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
13816 if test -n "$with_build_time_tools"; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
13818 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
13819 if test -x $with_build_time_tools/as; then
13820 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
13821 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
13823 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13826 $as_echo "no
" >&6; }
13828 elif test $build != $host && test $have_gcc_for_target = yes; then
13829 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
13830 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
13831 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
13834 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13835 # Extract the first word of "as
", so it can be a program name with args.
13836 set dummy as; ac_word=$2
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13838 $as_echo_n "checking
for $ac_word...
" >&6; }
13839 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
13840 $as_echo_n "(cached
) " >&6
13842 case $AS_FOR_TARGET in
13844 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
13847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13848 for as_dir in $gcc_cv_tool_dirs
13851 test -z "$as_dir" && as_dir=.
13852 for ac_exec_ext in '' $ac_executable_extensions; do
13853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13854 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13865 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
13866 if test -n "$AS_FOR_TARGET"; then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13868 $as_echo "$AS_FOR_TARGET" >&6; }
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13871 $as_echo "no
" >&6; }
13876 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
13879 if test -n "$AS_FOR_TARGET"; then
13880 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
13881 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
13882 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13885 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
13886 for ncn_progname in as; do
13887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13888 set dummy ${ncn_progname}; ac_word=$2
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13890 $as_echo_n "checking
for $ac_word...
" >&6; }
13891 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13892 $as_echo_n "(cached
) " >&6
13894 if test -n "$AS_FOR_TARGET"; then
13895 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13898 for as_dir in $PATH
13901 test -z "$as_dir" && as_dir=.
13902 for ac_exec_ext in '' $ac_executable_extensions; do
13903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13904 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
13905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13914 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13915 if test -n "$AS_FOR_TARGET"; then
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13917 $as_echo "$AS_FOR_TARGET" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13920 $as_echo "no
" >&6; }
13927 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
13928 for ncn_progname in as; do
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13930 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13931 if test -x $with_build_time_tools/${ncn_progname}; then
13932 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13934 $as_echo "yes" >&6; }
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13938 $as_echo "no
" >&6; }
13943 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
13944 for ncn_progname in as; do
13945 if test -n "$ncn_target_tool_prefix"; then
13946 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13947 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13949 $as_echo_n "checking
for $ac_word...
" >&6; }
13950 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13951 $as_echo_n "(cached
) " >&6
13953 if test -n "$AS_FOR_TARGET"; then
13954 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13957 for as_dir in $PATH
13960 test -z "$as_dir" && as_dir=.
13961 for ac_exec_ext in '' $ac_executable_extensions; do
13962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13963 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13973 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
13974 if test -n "$AS_FOR_TARGET"; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
13976 $as_echo "$AS_FOR_TARGET" >&6; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13979 $as_echo "no
" >&6; }
13984 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
13985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13986 set dummy ${ncn_progname}; ac_word=$2
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13988 $as_echo_n "checking
for $ac_word...
" >&6; }
13989 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
13990 $as_echo_n "(cached
) " >&6
13992 if test -n "$AS_FOR_TARGET"; then
13993 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
13995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13996 for as_dir in $PATH
13999 test -z "$as_dir" && as_dir=.
14000 for ac_exec_ext in '' $ac_executable_extensions; do
14001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14002 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14012 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14013 if test -n "$AS_FOR_TARGET"; then
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14015 $as_echo "$AS_FOR_TARGET" >&6; }
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14018 $as_echo "no
" >&6; }
14023 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
14027 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
14029 if test $build = $target ; then
14032 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
14035 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
14039 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14045 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14046 if test -n "$with_build_time_tools"; then
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
14048 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
14049 if test -x $with_build_time_tools/dlltool; then
14050 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
14051 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
14053 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14056 $as_echo "no
" >&6; }
14058 elif test $build != $host && test $have_gcc_for_target = yes; then
14059 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
14060 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
14061 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14064 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14065 # Extract the first word of "dlltool
", so it can be a program name with args.
14066 set dummy dlltool; ac_word=$2
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14068 $as_echo_n "checking
for $ac_word...
" >&6; }
14069 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
14070 $as_echo_n "(cached
) " >&6
14072 case $DLLTOOL_FOR_TARGET in
14074 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
14077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14078 for as_dir in $gcc_cv_tool_dirs
14081 test -z "$as_dir" && as_dir=.
14082 for ac_exec_ext in '' $ac_executable_extensions; do
14083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14084 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14095 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14096 if test -n "$DLLTOOL_FOR_TARGET"; then
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14098 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14101 $as_echo "no
" >&6; }
14106 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14109 if test -n "$DLLTOOL_FOR_TARGET"; then
14110 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14111 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14112 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14115 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14116 for ncn_progname in dlltool; do
14117 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14118 set dummy ${ncn_progname}; ac_word=$2
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14120 $as_echo_n "checking
for $ac_word...
" >&6; }
14121 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14122 $as_echo_n "(cached
) " >&6
14124 if test -n "$DLLTOOL_FOR_TARGET"; then
14125 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14128 for as_dir in $PATH
14131 test -z "$as_dir" && as_dir=.
14132 for ac_exec_ext in '' $ac_executable_extensions; do
14133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14134 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14144 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14145 if test -n "$DLLTOOL_FOR_TARGET"; then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14147 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14150 $as_echo "no
" >&6; }
14157 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14158 for ncn_progname in dlltool; do
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14160 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14161 if test -x $with_build_time_tools/${ncn_progname}; then
14162 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14164 $as_echo "yes" >&6; }
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14168 $as_echo "no
" >&6; }
14173 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14174 for ncn_progname in dlltool; do
14175 if test -n "$ncn_target_tool_prefix"; then
14176 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14177 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14179 $as_echo_n "checking
for $ac_word...
" >&6; }
14180 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14181 $as_echo_n "(cached
) " >&6
14183 if test -n "$DLLTOOL_FOR_TARGET"; then
14184 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14203 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14204 if test -n "$DLLTOOL_FOR_TARGET"; then
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14206 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14209 $as_echo "no
" >&6; }
14214 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
14215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14216 set dummy ${ncn_progname}; ac_word=$2
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14218 $as_echo_n "checking
for $ac_word...
" >&6; }
14219 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14220 $as_echo_n "(cached
) " >&6
14222 if test -n "$DLLTOOL_FOR_TARGET"; then
14223 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226 for as_dir in $PATH
14229 test -z "$as_dir" && as_dir=.
14230 for ac_exec_ext in '' $ac_executable_extensions; do
14231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14232 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14242 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14243 if test -n "$DLLTOOL_FOR_TARGET"; then
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14245 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14248 $as_echo "no
" >&6; }
14253 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
14257 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
14259 if test $build = $target ; then
14260 DLLTOOL_FOR_TARGET="$2"
14262 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14265 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
14269 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14275 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14276 if test -n "$with_build_time_tools"; then
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dsymutil
in $with_build_time_tools" >&5
14278 $as_echo_n "checking
for dsymutil
in $with_build_time_tools...
" >&6; }
14279 if test -x $with_build_time_tools/dsymutil; then
14280 DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
14281 ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
14283 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14286 $as_echo "no
" >&6; }
14288 elif test $build != $host && test $have_gcc_for_target = yes; then
14289 DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
14290 test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
14291 test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14294 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14295 # Extract the first word of "dsymutil
", so it can be a program name with args.
14296 set dummy dsymutil; ac_word=$2
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14298 $as_echo_n "checking
for $ac_word...
" >&6; }
14299 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
14300 $as_echo_n "(cached
) " >&6
14302 case $DSYMUTIL_FOR_TARGET in
14304 ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
14307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14308 for as_dir in $gcc_cv_tool_dirs
14311 test -z "$as_dir" && as_dir=.
14312 for ac_exec_ext in '' $ac_executable_extensions; do
14313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14314 ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14325 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14326 if test -n "$DSYMUTIL_FOR_TARGET"; then
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14328 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14331 $as_echo "no
" >&6; }
14336 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14339 if test -n "$DSYMUTIL_FOR_TARGET"; then
14340 ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14341 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14342 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14345 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14346 for ncn_progname in dsymutil; do
14347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14348 set dummy ${ncn_progname}; ac_word=$2
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14350 $as_echo_n "checking
for $ac_word...
" >&6; }
14351 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14352 $as_echo_n "(cached
) " >&6
14354 if test -n "$DSYMUTIL_FOR_TARGET"; then
14355 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14358 for as_dir in $PATH
14361 test -z "$as_dir" && as_dir=.
14362 for ac_exec_ext in '' $ac_executable_extensions; do
14363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14364 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14374 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14375 if test -n "$DSYMUTIL_FOR_TARGET"; then
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14377 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14380 $as_echo "no
" >&6; }
14387 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14388 for ncn_progname in dsymutil; do
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14390 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14391 if test -x $with_build_time_tools/${ncn_progname}; then
14392 ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14394 $as_echo "yes" >&6; }
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14398 $as_echo "no
" >&6; }
14403 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14404 for ncn_progname in dsymutil; do
14405 if test -n "$ncn_target_tool_prefix"; then
14406 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14407 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14409 $as_echo_n "checking
for $ac_word...
" >&6; }
14410 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14411 $as_echo_n "(cached
) " >&6
14413 if test -n "$DSYMUTIL_FOR_TARGET"; then
14414 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14417 for as_dir in $PATH
14420 test -z "$as_dir" && as_dir=.
14421 for ac_exec_ext in '' $ac_executable_extensions; do
14422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14423 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14433 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14434 if test -n "$DSYMUTIL_FOR_TARGET"; then
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14436 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14439 $as_echo "no
" >&6; }
14444 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
14445 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14446 set dummy ${ncn_progname}; ac_word=$2
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14448 $as_echo_n "checking
for $ac_word...
" >&6; }
14449 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14450 $as_echo_n "(cached
) " >&6
14452 if test -n "$DSYMUTIL_FOR_TARGET"; then
14453 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14456 for as_dir in $PATH
14459 test -z "$as_dir" && as_dir=.
14460 for ac_exec_ext in '' $ac_executable_extensions; do
14461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14462 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14472 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14473 if test -n "$DSYMUTIL_FOR_TARGET"; then
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14475 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14478 $as_echo "no
" >&6; }
14483 test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
14487 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
14489 if test $build = $target ; then
14490 DSYMUTIL_FOR_TARGET="$2"
14492 DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14495 DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
14499 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14505 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14506 if test -n "$with_build_time_tools"; then
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
14508 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
14509 if test -x $with_build_time_tools/ld; then
14510 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
14511 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
14513 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14516 $as_echo "no
" >&6; }
14518 elif test $build != $host && test $have_gcc_for_target = yes; then
14519 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
14520 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
14521 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14524 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14525 # Extract the first word of "ld
", so it can be a program name with args.
14526 set dummy ld; ac_word=$2
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14528 $as_echo_n "checking
for $ac_word...
" >&6; }
14529 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
14530 $as_echo_n "(cached
) " >&6
14532 case $LD_FOR_TARGET in
14534 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
14537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14538 for as_dir in $gcc_cv_tool_dirs
14541 test -z "$as_dir" && as_dir=.
14542 for ac_exec_ext in '' $ac_executable_extensions; do
14543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14544 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14555 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14556 if test -n "$LD_FOR_TARGET"; then
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14558 $as_echo "$LD_FOR_TARGET" >&6; }
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14561 $as_echo "no
" >&6; }
14566 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14569 if test -n "$LD_FOR_TARGET"; then
14570 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
14571 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14572 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14575 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14576 for ncn_progname in ld; do
14577 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14578 set dummy ${ncn_progname}; ac_word=$2
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14580 $as_echo_n "checking
for $ac_word...
" >&6; }
14581 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14582 $as_echo_n "(cached
) " >&6
14584 if test -n "$LD_FOR_TARGET"; then
14585 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14588 for as_dir in $PATH
14591 test -z "$as_dir" && as_dir=.
14592 for ac_exec_ext in '' $ac_executable_extensions; do
14593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14594 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14604 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14605 if test -n "$LD_FOR_TARGET"; then
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14607 $as_echo "$LD_FOR_TARGET" >&6; }
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14610 $as_echo "no
" >&6; }
14617 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
14618 for ncn_progname in ld; do
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14620 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14621 if test -x $with_build_time_tools/${ncn_progname}; then
14622 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14624 $as_echo "yes" >&6; }
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14628 $as_echo "no
" >&6; }
14633 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
14634 for ncn_progname in ld; do
14635 if test -n "$ncn_target_tool_prefix"; then
14636 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14637 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14639 $as_echo_n "checking
for $ac_word...
" >&6; }
14640 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14641 $as_echo_n "(cached
) " >&6
14643 if test -n "$LD_FOR_TARGET"; then
14644 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14647 for as_dir in $PATH
14650 test -z "$as_dir" && as_dir=.
14651 for ac_exec_ext in '' $ac_executable_extensions; do
14652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14653 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14663 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14664 if test -n "$LD_FOR_TARGET"; then
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14666 $as_echo "$LD_FOR_TARGET" >&6; }
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14669 $as_echo "no
" >&6; }
14674 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
14675 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14676 set dummy ${ncn_progname}; ac_word=$2
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14678 $as_echo_n "checking
for $ac_word...
" >&6; }
14679 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14680 $as_echo_n "(cached
) " >&6
14682 if test -n "$LD_FOR_TARGET"; then
14683 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14686 for as_dir in $PATH
14689 test -z "$as_dir" && as_dir=.
14690 for ac_exec_ext in '' $ac_executable_extensions; do
14691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14692 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14702 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14703 if test -n "$LD_FOR_TARGET"; then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14705 $as_echo "$LD_FOR_TARGET" >&6; }
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14708 $as_echo "no
" >&6; }
14713 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
14717 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
14719 if test $build = $target ; then
14722 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
14725 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
14729 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14735 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14736 if test -n "$with_build_time_tools"; then
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
14738 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
14739 if test -x $with_build_time_tools/lipo; then
14740 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
14741 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
14743 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14746 $as_echo "no
" >&6; }
14748 elif test $build != $host && test $have_gcc_for_target = yes; then
14749 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
14750 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
14751 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14754 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14755 # Extract the first word of "lipo
", so it can be a program name with args.
14756 set dummy lipo; ac_word=$2
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14758 $as_echo_n "checking
for $ac_word...
" >&6; }
14759 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
14760 $as_echo_n "(cached
) " >&6
14762 case $LIPO_FOR_TARGET in
14764 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
14767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14768 for as_dir in $gcc_cv_tool_dirs
14771 test -z "$as_dir" && as_dir=.
14772 for ac_exec_ext in '' $ac_executable_extensions; do
14773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14774 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14785 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
14786 if test -n "$LIPO_FOR_TARGET"; then
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14788 $as_echo "$LIPO_FOR_TARGET" >&6; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14791 $as_echo "no
" >&6; }
14796 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
14799 if test -n "$LIPO_FOR_TARGET"; then
14800 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
14801 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
14802 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14805 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
14806 for ncn_progname in lipo; do
14807 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14808 set dummy ${ncn_progname}; ac_word=$2
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14810 $as_echo_n "checking
for $ac_word...
" >&6; }
14811 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14812 $as_echo_n "(cached
) " >&6
14814 if test -n "$LIPO_FOR_TARGET"; then
14815 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14818 for as_dir in $PATH
14821 test -z "$as_dir" && as_dir=.
14822 for ac_exec_ext in '' $ac_executable_extensions; do
14823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14824 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
14825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14834 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14835 if test -n "$LIPO_FOR_TARGET"; then
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14837 $as_echo "$LIPO_FOR_TARGET" >&6; }
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14840 $as_echo "no
" >&6; }
14847 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
14848 for ncn_progname in lipo; do
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14850 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14851 if test -x $with_build_time_tools/${ncn_progname}; then
14852 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14854 $as_echo "yes" >&6; }
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14858 $as_echo "no
" >&6; }
14863 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
14864 for ncn_progname in lipo; do
14865 if test -n "$ncn_target_tool_prefix"; then
14866 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14867 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14869 $as_echo_n "checking
for $ac_word...
" >&6; }
14870 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14871 $as_echo_n "(cached
) " >&6
14873 if test -n "$LIPO_FOR_TARGET"; then
14874 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14877 for as_dir in $PATH
14880 test -z "$as_dir" && as_dir=.
14881 for ac_exec_ext in '' $ac_executable_extensions; do
14882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14883 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14893 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14894 if test -n "$LIPO_FOR_TARGET"; then
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14896 $as_echo "$LIPO_FOR_TARGET" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14899 $as_echo "no
" >&6; }
14904 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
14905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14906 set dummy ${ncn_progname}; ac_word=$2
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14908 $as_echo_n "checking
for $ac_word...
" >&6; }
14909 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
14910 $as_echo_n "(cached
) " >&6
14912 if test -n "$LIPO_FOR_TARGET"; then
14913 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
14915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14916 for as_dir in $PATH
14919 test -z "$as_dir" && as_dir=.
14920 for ac_exec_ext in '' $ac_executable_extensions; do
14921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14922 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
14923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14932 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
14933 if test -n "$LIPO_FOR_TARGET"; then
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
14935 $as_echo "$LIPO_FOR_TARGET" >&6; }
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14938 $as_echo "no
" >&6; }
14943 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
14947 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
14949 if test $build = $target ; then
14950 LIPO_FOR_TARGET="$2"
14952 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
14955 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
14959 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
14965 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
14966 if test -n "$with_build_time_tools"; then
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
14968 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
14969 if test -x $with_build_time_tools/nm; then
14970 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
14971 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
14973 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14976 $as_echo "no
" >&6; }
14978 elif test $build != $host && test $have_gcc_for_target = yes; then
14979 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
14980 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
14981 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
14984 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14985 # Extract the first word of "nm
", so it can be a program name with args.
14986 set dummy nm; ac_word=$2
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14988 $as_echo_n "checking
for $ac_word...
" >&6; }
14989 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
14990 $as_echo_n "(cached
) " >&6
14992 case $NM_FOR_TARGET in
14994 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
14997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14998 for as_dir in $gcc_cv_tool_dirs
15001 test -z "$as_dir" && as_dir=.
15002 for ac_exec_ext in '' $ac_executable_extensions; do
15003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15004 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15015 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15016 if test -n "$NM_FOR_TARGET"; then
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15018 $as_echo "$NM_FOR_TARGET" >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15021 $as_echo "no
" >&6; }
15026 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15029 if test -n "$NM_FOR_TARGET"; then
15030 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
15031 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15032 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15035 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15036 for ncn_progname in nm; do
15037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15038 set dummy ${ncn_progname}; ac_word=$2
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15040 $as_echo_n "checking
for $ac_word...
" >&6; }
15041 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15042 $as_echo_n "(cached
) " >&6
15044 if test -n "$NM_FOR_TARGET"; then
15045 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15048 for as_dir in $PATH
15051 test -z "$as_dir" && as_dir=.
15052 for ac_exec_ext in '' $ac_executable_extensions; do
15053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15054 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15064 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15065 if test -n "$NM_FOR_TARGET"; then
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15067 $as_echo "$NM_FOR_TARGET" >&6; }
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15070 $as_echo "no
" >&6; }
15077 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
15078 for ncn_progname in nm; do
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15080 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15081 if test -x $with_build_time_tools/${ncn_progname}; then
15082 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15084 $as_echo "yes" >&6; }
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15088 $as_echo "no
" >&6; }
15093 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
15094 for ncn_progname in nm; do
15095 if test -n "$ncn_target_tool_prefix"; then
15096 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15097 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15099 $as_echo_n "checking
for $ac_word...
" >&6; }
15100 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15101 $as_echo_n "(cached
) " >&6
15103 if test -n "$NM_FOR_TARGET"; then
15104 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15107 for as_dir in $PATH
15110 test -z "$as_dir" && as_dir=.
15111 for ac_exec_ext in '' $ac_executable_extensions; do
15112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15113 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15123 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15124 if test -n "$NM_FOR_TARGET"; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15126 $as_echo "$NM_FOR_TARGET" >&6; }
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15129 $as_echo "no
" >&6; }
15134 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
15135 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15136 set dummy ${ncn_progname}; ac_word=$2
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15138 $as_echo_n "checking
for $ac_word...
" >&6; }
15139 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15140 $as_echo_n "(cached
) " >&6
15142 if test -n "$NM_FOR_TARGET"; then
15143 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15146 for as_dir in $PATH
15149 test -z "$as_dir" && as_dir=.
15150 for ac_exec_ext in '' $ac_executable_extensions; do
15151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15152 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15162 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15163 if test -n "$NM_FOR_TARGET"; then
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15165 $as_echo "$NM_FOR_TARGET" >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15168 $as_echo "no
" >&6; }
15173 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
15177 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
15179 if test $build = $target ; then
15182 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
15185 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
15189 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15195 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15196 if test -n "$with_build_time_tools"; then
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
15198 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
15199 if test -x $with_build_time_tools/objcopy; then
15200 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
15201 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
15203 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15206 $as_echo "no
" >&6; }
15208 elif test $build != $host && test $have_gcc_for_target = yes; then
15209 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
15210 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
15211 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15214 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15215 # Extract the first word of "objcopy
", so it can be a program name with args.
15216 set dummy objcopy; ac_word=$2
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15218 $as_echo_n "checking
for $ac_word...
" >&6; }
15219 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
15220 $as_echo_n "(cached
) " >&6
15222 case $OBJCOPY_FOR_TARGET in
15224 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
15227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15228 for as_dir in $gcc_cv_tool_dirs
15231 test -z "$as_dir" && as_dir=.
15232 for ac_exec_ext in '' $ac_executable_extensions; do
15233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15234 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15245 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15246 if test -n "$OBJCOPY_FOR_TARGET"; then
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15248 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15251 $as_echo "no
" >&6; }
15256 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15259 if test -n "$OBJCOPY_FOR_TARGET"; then
15260 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15261 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15262 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15265 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15266 for ncn_progname in objcopy; do
15267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15268 set dummy ${ncn_progname}; ac_word=$2
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15270 $as_echo_n "checking
for $ac_word...
" >&6; }
15271 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15272 $as_echo_n "(cached
) " >&6
15274 if test -n "$OBJCOPY_FOR_TARGET"; then
15275 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15278 for as_dir in $PATH
15281 test -z "$as_dir" && as_dir=.
15282 for ac_exec_ext in '' $ac_executable_extensions; do
15283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15284 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15294 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15295 if test -n "$OBJCOPY_FOR_TARGET"; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15297 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15300 $as_echo "no
" >&6; }
15307 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
15308 for ncn_progname in objcopy; do
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15310 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15311 if test -x $with_build_time_tools/${ncn_progname}; then
15312 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15314 $as_echo "yes" >&6; }
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15318 $as_echo "no
" >&6; }
15323 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15324 for ncn_progname in objcopy; do
15325 if test -n "$ncn_target_tool_prefix"; then
15326 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15327 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15329 $as_echo_n "checking
for $ac_word...
" >&6; }
15330 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15331 $as_echo_n "(cached
) " >&6
15333 if test -n "$OBJCOPY_FOR_TARGET"; then
15334 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15337 for as_dir in $PATH
15340 test -z "$as_dir" && as_dir=.
15341 for ac_exec_ext in '' $ac_executable_extensions; do
15342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15343 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15353 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15354 if test -n "$OBJCOPY_FOR_TARGET"; then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15356 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15359 $as_echo "no
" >&6; }
15364 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
15365 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15366 set dummy ${ncn_progname}; ac_word=$2
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15368 $as_echo_n "checking
for $ac_word...
" >&6; }
15369 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15370 $as_echo_n "(cached
) " >&6
15372 if test -n "$OBJCOPY_FOR_TARGET"; then
15373 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15376 for as_dir in $PATH
15379 test -z "$as_dir" && as_dir=.
15380 for ac_exec_ext in '' $ac_executable_extensions; do
15381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15382 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15392 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15393 if test -n "$OBJCOPY_FOR_TARGET"; then
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15395 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15398 $as_echo "no
" >&6; }
15403 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
15407 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
15409 if test $build = $target ; then
15410 OBJCOPY_FOR_TARGET="$2"
15412 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
15415 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
15419 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15425 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15426 if test -n "$with_build_time_tools"; then
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
15428 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
15429 if test -x $with_build_time_tools/objdump; then
15430 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
15431 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
15433 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15436 $as_echo "no
" >&6; }
15438 elif test $build != $host && test $have_gcc_for_target = yes; then
15439 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
15440 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
15441 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15444 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15445 # Extract the first word of "objdump
", so it can be a program name with args.
15446 set dummy objdump; ac_word=$2
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15448 $as_echo_n "checking
for $ac_word...
" >&6; }
15449 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
15450 $as_echo_n "(cached
) " >&6
15452 case $OBJDUMP_FOR_TARGET in
15454 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
15457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15458 for as_dir in $gcc_cv_tool_dirs
15461 test -z "$as_dir" && as_dir=.
15462 for ac_exec_ext in '' $ac_executable_extensions; do
15463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15464 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15475 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15476 if test -n "$OBJDUMP_FOR_TARGET"; then
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15478 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15481 $as_echo "no
" >&6; }
15486 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15489 if test -n "$OBJDUMP_FOR_TARGET"; then
15490 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15491 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15492 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15495 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15496 for ncn_progname in objdump; do
15497 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15498 set dummy ${ncn_progname}; ac_word=$2
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15500 $as_echo_n "checking
for $ac_word...
" >&6; }
15501 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15502 $as_echo_n "(cached
) " >&6
15504 if test -n "$OBJDUMP_FOR_TARGET"; then
15505 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15508 for as_dir in $PATH
15511 test -z "$as_dir" && as_dir=.
15512 for ac_exec_ext in '' $ac_executable_extensions; do
15513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15514 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15524 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15525 if test -n "$OBJDUMP_FOR_TARGET"; then
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15527 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15530 $as_echo "no
" >&6; }
15537 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15538 for ncn_progname in objdump; do
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15540 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15541 if test -x $with_build_time_tools/${ncn_progname}; then
15542 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15544 $as_echo "yes" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15548 $as_echo "no
" >&6; }
15553 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15554 for ncn_progname in objdump; do
15555 if test -n "$ncn_target_tool_prefix"; then
15556 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15557 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15559 $as_echo_n "checking
for $ac_word...
" >&6; }
15560 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15561 $as_echo_n "(cached
) " >&6
15563 if test -n "$OBJDUMP_FOR_TARGET"; then
15564 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15567 for as_dir in $PATH
15570 test -z "$as_dir" && as_dir=.
15571 for ac_exec_ext in '' $ac_executable_extensions; do
15572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15573 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15583 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15584 if test -n "$OBJDUMP_FOR_TARGET"; then
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15586 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15589 $as_echo "no
" >&6; }
15594 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
15595 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15596 set dummy ${ncn_progname}; ac_word=$2
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15598 $as_echo_n "checking
for $ac_word...
" >&6; }
15599 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15600 $as_echo_n "(cached
) " >&6
15602 if test -n "$OBJDUMP_FOR_TARGET"; then
15603 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15606 for as_dir in $PATH
15609 test -z "$as_dir" && as_dir=.
15610 for ac_exec_ext in '' $ac_executable_extensions; do
15611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15612 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15622 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15623 if test -n "$OBJDUMP_FOR_TARGET"; then
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15625 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15628 $as_echo "no
" >&6; }
15633 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
15637 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
15639 if test $build = $target ; then
15640 OBJDUMP_FOR_TARGET="$2"
15642 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
15645 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
15649 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15655 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15656 if test -n "$with_build_time_tools"; then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
15658 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
15659 if test -x $with_build_time_tools/otool; then
15660 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
15661 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
15663 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15666 $as_echo "no
" >&6; }
15668 elif test $build != $host && test $have_gcc_for_target = yes; then
15669 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
15670 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
15671 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15674 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15675 # Extract the first word of "otool
", so it can be a program name with args.
15676 set dummy otool; ac_word=$2
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15678 $as_echo_n "checking
for $ac_word...
" >&6; }
15679 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
15680 $as_echo_n "(cached
) " >&6
15682 case $OTOOL_FOR_TARGET in
15684 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
15687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15688 for as_dir in $gcc_cv_tool_dirs
15691 test -z "$as_dir" && as_dir=.
15692 for ac_exec_ext in '' $ac_executable_extensions; do
15693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15694 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15705 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15706 if test -n "$OTOOL_FOR_TARGET"; then
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15708 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15711 $as_echo "no
" >&6; }
15716 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15719 if test -n "$OTOOL_FOR_TARGET"; then
15720 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15721 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15722 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15725 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15726 for ncn_progname in otool; do
15727 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15728 set dummy ${ncn_progname}; ac_word=$2
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15730 $as_echo_n "checking
for $ac_word...
" >&6; }
15731 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15732 $as_echo_n "(cached
) " >&6
15734 if test -n "$OTOOL_FOR_TARGET"; then
15735 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15738 for as_dir in $PATH
15741 test -z "$as_dir" && as_dir=.
15742 for ac_exec_ext in '' $ac_executable_extensions; do
15743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15744 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
15745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15754 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15755 if test -n "$OTOOL_FOR_TARGET"; then
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15757 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15760 $as_echo "no
" >&6; }
15767 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
15768 for ncn_progname in otool; do
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15770 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15771 if test -x $with_build_time_tools/${ncn_progname}; then
15772 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15774 $as_echo "yes" >&6; }
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15778 $as_echo "no
" >&6; }
15783 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15784 for ncn_progname in otool; do
15785 if test -n "$ncn_target_tool_prefix"; then
15786 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15787 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15789 $as_echo_n "checking
for $ac_word...
" >&6; }
15790 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15791 $as_echo_n "(cached
) " >&6
15793 if test -n "$OTOOL_FOR_TARGET"; then
15794 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15797 for as_dir in $PATH
15800 test -z "$as_dir" && as_dir=.
15801 for ac_exec_ext in '' $ac_executable_extensions; do
15802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15803 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15813 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15814 if test -n "$OTOOL_FOR_TARGET"; then
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15816 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15819 $as_echo "no
" >&6; }
15824 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
15825 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15826 set dummy ${ncn_progname}; ac_word=$2
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15828 $as_echo_n "checking
for $ac_word...
" >&6; }
15829 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
15830 $as_echo_n "(cached
) " >&6
15832 if test -n "$OTOOL_FOR_TARGET"; then
15833 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
15835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15836 for as_dir in $PATH
15839 test -z "$as_dir" && as_dir=.
15840 for ac_exec_ext in '' $ac_executable_extensions; do
15841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15842 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
15843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15852 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15853 if test -n "$OTOOL_FOR_TARGET"; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15855 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15858 $as_echo "no
" >&6; }
15863 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
15867 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
15869 if test $build = $target ; then
15870 OTOOL_FOR_TARGET="$2"
15872 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
15875 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
15879 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15885 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
15886 if test -n "$with_build_time_tools"; then
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
15888 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
15889 if test -x $with_build_time_tools/ranlib; then
15890 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
15891 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
15893 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15896 $as_echo "no
" >&6; }
15898 elif test $build != $host && test $have_gcc_for_target = yes; then
15899 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
15900 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
15901 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15904 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15905 # Extract the first word of "ranlib
", so it can be a program name with args.
15906 set dummy ranlib; ac_word=$2
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15908 $as_echo_n "checking
for $ac_word...
" >&6; }
15909 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
15910 $as_echo_n "(cached
) " >&6
15912 case $RANLIB_FOR_TARGET in
15914 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
15917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15918 for as_dir in $gcc_cv_tool_dirs
15921 test -z "$as_dir" && as_dir=.
15922 for ac_exec_ext in '' $ac_executable_extensions; do
15923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15924 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15935 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
15936 if test -n "$RANLIB_FOR_TARGET"; then
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15938 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15941 $as_echo "no
" >&6; }
15946 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
15949 if test -n "$RANLIB_FOR_TARGET"; then
15950 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
15951 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15952 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15955 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
15956 for ncn_progname in ranlib; do
15957 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15958 set dummy ${ncn_progname}; ac_word=$2
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15960 $as_echo_n "checking
for $ac_word...
" >&6; }
15961 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
15962 $as_echo_n "(cached
) " >&6
15964 if test -n "$RANLIB_FOR_TARGET"; then
15965 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
15967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15968 for as_dir in $PATH
15971 test -z "$as_dir" && as_dir=.
15972 for ac_exec_ext in '' $ac_executable_extensions; do
15973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15974 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
15975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15984 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
15985 if test -n "$RANLIB_FOR_TARGET"; then
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
15987 $as_echo "$RANLIB_FOR_TARGET" >&6; }
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15990 $as_echo "no
" >&6; }
15997 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
15998 for ncn_progname in ranlib; do
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16000 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16001 if test -x $with_build_time_tools/${ncn_progname}; then
16002 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16004 $as_echo "yes" >&6; }
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16008 $as_echo "no
" >&6; }
16013 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16014 for ncn_progname in ranlib; do
16015 if test -n "$ncn_target_tool_prefix"; then
16016 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16017 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16019 $as_echo_n "checking
for $ac_word...
" >&6; }
16020 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16021 $as_echo_n "(cached
) " >&6
16023 if test -n "$RANLIB_FOR_TARGET"; then
16024 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16027 for as_dir in $PATH
16030 test -z "$as_dir" && as_dir=.
16031 for ac_exec_ext in '' $ac_executable_extensions; do
16032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16033 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16043 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16044 if test -n "$RANLIB_FOR_TARGET"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16046 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16049 $as_echo "no
" >&6; }
16054 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
16055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16056 set dummy ${ncn_progname}; ac_word=$2
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16058 $as_echo_n "checking
for $ac_word...
" >&6; }
16059 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16060 $as_echo_n "(cached
) " >&6
16062 if test -n "$RANLIB_FOR_TARGET"; then
16063 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16066 for as_dir in $PATH
16069 test -z "$as_dir" && as_dir=.
16070 for ac_exec_ext in '' $ac_executable_extensions; do
16071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16072 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16082 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16083 if test -n "$RANLIB_FOR_TARGET"; then
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16085 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16088 $as_echo "no
" >&6; }
16093 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
16097 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
16099 if test $build = $target ; then
16100 RANLIB_FOR_TARGET="$2"
16102 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
16105 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
16109 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16115 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16116 if test -n "$with_build_time_tools"; then
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
16118 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
16119 if test -x $with_build_time_tools/readelf; then
16120 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
16121 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
16123 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16126 $as_echo "no
" >&6; }
16128 elif test $build != $host && test $have_gcc_for_target = yes; then
16129 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
16130 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
16131 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16134 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16135 # Extract the first word of "readelf
", so it can be a program name with args.
16136 set dummy readelf; ac_word=$2
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16138 $as_echo_n "checking
for $ac_word...
" >&6; }
16139 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
16140 $as_echo_n "(cached
) " >&6
16142 case $READELF_FOR_TARGET in
16144 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
16147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16148 for as_dir in $gcc_cv_tool_dirs
16151 test -z "$as_dir" && as_dir=.
16152 for ac_exec_ext in '' $ac_executable_extensions; do
16153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16154 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16165 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16166 if test -n "$READELF_FOR_TARGET"; then
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16168 $as_echo "$READELF_FOR_TARGET" >&6; }
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16171 $as_echo "no
" >&6; }
16176 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16179 if test -n "$READELF_FOR_TARGET"; then
16180 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
16181 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16182 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16185 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16186 for ncn_progname in readelf; do
16187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16188 set dummy ${ncn_progname}; ac_word=$2
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16190 $as_echo_n "checking
for $ac_word...
" >&6; }
16191 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16192 $as_echo_n "(cached
) " >&6
16194 if test -n "$READELF_FOR_TARGET"; then
16195 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16198 for as_dir in $PATH
16201 test -z "$as_dir" && as_dir=.
16202 for ac_exec_ext in '' $ac_executable_extensions; do
16203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16204 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16214 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16215 if test -n "$READELF_FOR_TARGET"; then
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16217 $as_echo "$READELF_FOR_TARGET" >&6; }
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16220 $as_echo "no
" >&6; }
16227 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
16228 for ncn_progname in readelf; do
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16230 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16231 if test -x $with_build_time_tools/${ncn_progname}; then
16232 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16234 $as_echo "yes" >&6; }
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16238 $as_echo "no
" >&6; }
16243 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
16244 for ncn_progname in readelf; do
16245 if test -n "$ncn_target_tool_prefix"; then
16246 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16247 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16249 $as_echo_n "checking
for $ac_word...
" >&6; }
16250 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16251 $as_echo_n "(cached
) " >&6
16253 if test -n "$READELF_FOR_TARGET"; then
16254 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16257 for as_dir in $PATH
16260 test -z "$as_dir" && as_dir=.
16261 for ac_exec_ext in '' $ac_executable_extensions; do
16262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16263 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16273 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16274 if test -n "$READELF_FOR_TARGET"; then
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16276 $as_echo "$READELF_FOR_TARGET" >&6; }
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16279 $as_echo "no
" >&6; }
16284 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
16285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16286 set dummy ${ncn_progname}; ac_word=$2
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16288 $as_echo_n "checking
for $ac_word...
" >&6; }
16289 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16290 $as_echo_n "(cached
) " >&6
16292 if test -n "$READELF_FOR_TARGET"; then
16293 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16296 for as_dir in $PATH
16299 test -z "$as_dir" && as_dir=.
16300 for ac_exec_ext in '' $ac_executable_extensions; do
16301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16302 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16312 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16313 if test -n "$READELF_FOR_TARGET"; then
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16315 $as_echo "$READELF_FOR_TARGET" >&6; }
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16318 $as_echo "no
" >&6; }
16323 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
16327 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
16329 if test $build = $target ; then
16330 READELF_FOR_TARGET="$2"
16332 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
16335 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
16339 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16345 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16346 if test -n "$with_build_time_tools"; then
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
16348 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
16349 if test -x $with_build_time_tools/strip; then
16350 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
16351 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
16353 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16356 $as_echo "no
" >&6; }
16358 elif test $build != $host && test $have_gcc_for_target = yes; then
16359 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
16360 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
16361 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16364 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16365 # Extract the first word of "strip
", so it can be a program name with args.
16366 set dummy strip; ac_word=$2
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16368 $as_echo_n "checking
for $ac_word...
" >&6; }
16369 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
16370 $as_echo_n "(cached
) " >&6
16372 case $STRIP_FOR_TARGET in
16374 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
16377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16378 for as_dir in $gcc_cv_tool_dirs
16381 test -z "$as_dir" && as_dir=.
16382 for ac_exec_ext in '' $ac_executable_extensions; do
16383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16384 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16395 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16396 if test -n "$STRIP_FOR_TARGET"; then
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16398 $as_echo "$STRIP_FOR_TARGET" >&6; }
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16401 $as_echo "no
" >&6; }
16406 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16409 if test -n "$STRIP_FOR_TARGET"; then
16410 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16411 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16412 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16415 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16416 for ncn_progname in strip; do
16417 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16418 set dummy ${ncn_progname}; ac_word=$2
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16420 $as_echo_n "checking
for $ac_word...
" >&6; }
16421 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16422 $as_echo_n "(cached
) " >&6
16424 if test -n "$STRIP_FOR_TARGET"; then
16425 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16428 for as_dir in $PATH
16431 test -z "$as_dir" && as_dir=.
16432 for ac_exec_ext in '' $ac_executable_extensions; do
16433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16434 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16435 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16444 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16445 if test -n "$STRIP_FOR_TARGET"; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16447 $as_echo "$STRIP_FOR_TARGET" >&6; }
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16450 $as_echo "no
" >&6; }
16457 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
16458 for ncn_progname in strip; do
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16460 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16461 if test -x $with_build_time_tools/${ncn_progname}; then
16462 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16464 $as_echo "yes" >&6; }
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16468 $as_echo "no
" >&6; }
16473 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
16474 for ncn_progname in strip; do
16475 if test -n "$ncn_target_tool_prefix"; then
16476 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16477 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16479 $as_echo_n "checking
for $ac_word...
" >&6; }
16480 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16481 $as_echo_n "(cached
) " >&6
16483 if test -n "$STRIP_FOR_TARGET"; then
16484 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16487 for as_dir in $PATH
16490 test -z "$as_dir" && as_dir=.
16491 for ac_exec_ext in '' $ac_executable_extensions; do
16492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16493 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16503 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16504 if test -n "$STRIP_FOR_TARGET"; then
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16506 $as_echo "$STRIP_FOR_TARGET" >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16509 $as_echo "no
" >&6; }
16514 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
16515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16516 set dummy ${ncn_progname}; ac_word=$2
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16518 $as_echo_n "checking
for $ac_word...
" >&6; }
16519 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16520 $as_echo_n "(cached
) " >&6
16522 if test -n "$STRIP_FOR_TARGET"; then
16523 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16526 for as_dir in $PATH
16529 test -z "$as_dir" && as_dir=.
16530 for ac_exec_ext in '' $ac_executable_extensions; do
16531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16532 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16542 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16543 if test -n "$STRIP_FOR_TARGET"; then
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16545 $as_echo "$STRIP_FOR_TARGET" >&6; }
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16548 $as_echo "no
" >&6; }
16553 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
16557 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
16559 if test $build = $target ; then
16560 STRIP_FOR_TARGET="$2"
16562 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16565 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
16569 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16575 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16576 if test -n "$with_build_time_tools"; then
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
16578 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
16579 if test -x $with_build_time_tools/windres; then
16580 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
16581 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
16583 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16586 $as_echo "no
" >&6; }
16588 elif test $build != $host && test $have_gcc_for_target = yes; then
16589 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
16590 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
16591 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16594 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16595 # Extract the first word of "windres
", so it can be a program name with args.
16596 set dummy windres; ac_word=$2
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16598 $as_echo_n "checking
for $ac_word...
" >&6; }
16599 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
16600 $as_echo_n "(cached
) " >&6
16602 case $WINDRES_FOR_TARGET in
16604 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
16607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16608 for as_dir in $gcc_cv_tool_dirs
16611 test -z "$as_dir" && as_dir=.
16612 for ac_exec_ext in '' $ac_executable_extensions; do
16613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16614 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16625 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16626 if test -n "$WINDRES_FOR_TARGET"; then
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16628 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16631 $as_echo "no
" >&6; }
16636 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16639 if test -n "$WINDRES_FOR_TARGET"; then
16640 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16641 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16642 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16645 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16646 for ncn_progname in windres; do
16647 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16648 set dummy ${ncn_progname}; ac_word=$2
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16650 $as_echo_n "checking
for $ac_word...
" >&6; }
16651 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16652 $as_echo_n "(cached
) " >&6
16654 if test -n "$WINDRES_FOR_TARGET"; then
16655 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16658 for as_dir in $PATH
16661 test -z "$as_dir" && as_dir=.
16662 for ac_exec_ext in '' $ac_executable_extensions; do
16663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16664 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16674 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16675 if test -n "$WINDRES_FOR_TARGET"; then
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16677 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16680 $as_echo "no
" >&6; }
16687 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
16688 for ncn_progname in windres; do
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16690 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16691 if test -x $with_build_time_tools/${ncn_progname}; then
16692 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16694 $as_echo "yes" >&6; }
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16698 $as_echo "no
" >&6; }
16703 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16704 for ncn_progname in windres; do
16705 if test -n "$ncn_target_tool_prefix"; then
16706 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16707 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16709 $as_echo_n "checking
for $ac_word...
" >&6; }
16710 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16711 $as_echo_n "(cached
) " >&6
16713 if test -n "$WINDRES_FOR_TARGET"; then
16714 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16717 for as_dir in $PATH
16720 test -z "$as_dir" && as_dir=.
16721 for ac_exec_ext in '' $ac_executable_extensions; do
16722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16723 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16733 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16734 if test -n "$WINDRES_FOR_TARGET"; then
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16736 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16739 $as_echo "no
" >&6; }
16744 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
16745 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16746 set dummy ${ncn_progname}; ac_word=$2
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16748 $as_echo_n "checking
for $ac_word...
" >&6; }
16749 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16750 $as_echo_n "(cached
) " >&6
16752 if test -n "$WINDRES_FOR_TARGET"; then
16753 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16756 for as_dir in $PATH
16759 test -z "$as_dir" && as_dir=.
16760 for ac_exec_ext in '' $ac_executable_extensions; do
16761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16762 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16772 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16773 if test -n "$WINDRES_FOR_TARGET"; then
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16775 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16778 $as_echo "no
" >&6; }
16783 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
16787 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
16789 if test $build = $target ; then
16790 WINDRES_FOR_TARGET="$2"
16792 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
16795 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
16799 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16805 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
16806 if test -n "$with_build_time_tools"; then
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
16808 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
16809 if test -x $with_build_time_tools/windmc; then
16810 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
16811 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
16813 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16816 $as_echo "no
" >&6; }
16818 elif test $build != $host && test $have_gcc_for_target = yes; then
16819 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
16820 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
16821 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16824 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16825 # Extract the first word of "windmc
", so it can be a program name with args.
16826 set dummy windmc; ac_word=$2
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16828 $as_echo_n "checking
for $ac_word...
" >&6; }
16829 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
16830 $as_echo_n "(cached
) " >&6
16832 case $WINDMC_FOR_TARGET in
16834 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
16837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16838 for as_dir in $gcc_cv_tool_dirs
16841 test -z "$as_dir" && as_dir=.
16842 for ac_exec_ext in '' $ac_executable_extensions; do
16843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16844 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16855 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
16856 if test -n "$WINDMC_FOR_TARGET"; then
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16858 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16861 $as_echo "no
" >&6; }
16866 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
16869 if test -n "$WINDMC_FOR_TARGET"; then
16870 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
16871 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16872 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16875 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16876 for ncn_progname in windmc; do
16877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16878 set dummy ${ncn_progname}; ac_word=$2
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16880 $as_echo_n "checking
for $ac_word...
" >&6; }
16881 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16882 $as_echo_n "(cached
) " >&6
16884 if test -n "$WINDMC_FOR_TARGET"; then
16885 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16888 for as_dir in $PATH
16891 test -z "$as_dir" && as_dir=.
16892 for ac_exec_ext in '' $ac_executable_extensions; do
16893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16894 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
16895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16904 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16905 if test -n "$WINDMC_FOR_TARGET"; then
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16907 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16910 $as_echo "no
" >&6; }
16917 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
16918 for ncn_progname in windmc; do
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16920 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16921 if test -x $with_build_time_tools/${ncn_progname}; then
16922 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16924 $as_echo "yes" >&6; }
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16928 $as_echo "no
" >&6; }
16933 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
16934 for ncn_progname in windmc; do
16935 if test -n "$ncn_target_tool_prefix"; then
16936 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16937 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16939 $as_echo_n "checking
for $ac_word...
" >&6; }
16940 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16941 $as_echo_n "(cached
) " >&6
16943 if test -n "$WINDMC_FOR_TARGET"; then
16944 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16947 for as_dir in $PATH
16950 test -z "$as_dir" && as_dir=.
16951 for ac_exec_ext in '' $ac_executable_extensions; do
16952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16953 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16963 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
16964 if test -n "$WINDMC_FOR_TARGET"; then
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
16966 $as_echo "$WINDMC_FOR_TARGET" >&6; }
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16969 $as_echo "no
" >&6; }
16974 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
16975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16976 set dummy ${ncn_progname}; ac_word=$2
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16978 $as_echo_n "checking
for $ac_word...
" >&6; }
16979 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
16980 $as_echo_n "(cached
) " >&6
16982 if test -n "$WINDMC_FOR_TARGET"; then
16983 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
16985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16986 for as_dir in $PATH
16989 test -z "$as_dir" && as_dir=.
16990 for ac_exec_ext in '' $ac_executable_extensions; do
16991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16992 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
16993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17002 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17003 if test -n "$WINDMC_FOR_TARGET"; then
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17005 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17008 $as_echo "no
" >&6; }
17013 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
17017 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
17019 if test $build = $target ; then
17020 WINDMC_FOR_TARGET="$2"
17022 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
17025 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
17029 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17033 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
17036 $as_echo_n "checking where to
find the target
ar...
" >&6; }
17037 if test "x
${build}" != "x
${host}" ; then
17038 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17039 # We already found the complete path
17040 ac_dir=`dirname $AR_FOR_TARGET`
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17042 $as_echo "pre-installed
in $ac_dir" >&6; }
17044 # Canadian cross, just use what we found
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17046 $as_echo "pre-installed
" >&6; }
17050 case " ${configdirs} " in
17055 if test $ok = yes; then
17056 # An in-tree tool is available and we can use it
17057 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17059 $as_echo "just compiled
" >&6; }
17060 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17061 # We already found the complete path
17062 ac_dir=`dirname $AR_FOR_TARGET`
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17064 $as_echo "pre-installed
in $ac_dir" >&6; }
17065 elif test "x
$target" = "x
$host"; then
17066 # We can use an host tool
17067 AR_FOR_TARGET='$(AR)'
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17069 $as_echo "host tool
" >&6; }
17071 # We need a cross tool
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17073 $as_echo "pre-installed
" >&6; }
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
17078 $as_echo_n "checking where to
find the target as...
" >&6; }
17079 if test "x
${build}" != "x
${host}" ; then
17080 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17081 # We already found the complete path
17082 ac_dir=`dirname $AS_FOR_TARGET`
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17084 $as_echo "pre-installed
in $ac_dir" >&6; }
17086 # Canadian cross, just use what we found
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17088 $as_echo "pre-installed
" >&6; }
17092 case " ${configdirs} " in
17097 if test $ok = yes; then
17098 # An in-tree tool is available and we can use it
17099 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17101 $as_echo "just compiled
" >&6; }
17102 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17103 # We already found the complete path
17104 ac_dir=`dirname $AS_FOR_TARGET`
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17106 $as_echo "pre-installed
in $ac_dir" >&6; }
17107 elif test "x
$target" = "x
$host"; then
17108 # We can use an host tool
17109 AS_FOR_TARGET='$(AS)'
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17111 $as_echo "host tool
" >&6; }
17113 # We need a cross tool
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17115 $as_echo "pre-installed
" >&6; }
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
17120 $as_echo_n "checking where to
find the target cc...
" >&6; }
17121 if test "x
${build}" != "x
${host}" ; then
17122 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17123 # We already found the complete path
17124 ac_dir=`dirname $CC_FOR_TARGET`
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17126 $as_echo "pre-installed
in $ac_dir" >&6; }
17128 # Canadian cross, just use what we found
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17130 $as_echo "pre-installed
" >&6; }
17134 case " ${configdirs} " in
17139 if test $ok = yes; then
17140 # An in-tree tool is available and we can use it
17141 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17143 $as_echo "just compiled
" >&6; }
17144 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17145 # We already found the complete path
17146 ac_dir=`dirname $CC_FOR_TARGET`
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17148 $as_echo "pre-installed
in $ac_dir" >&6; }
17149 elif test "x
$target" = "x
$host"; then
17150 # We can use an host tool
17151 CC_FOR_TARGET='$(CC)'
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17153 $as_echo "host tool
" >&6; }
17155 # We need a cross tool
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17157 $as_echo "pre-installed
" >&6; }
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
17162 $as_echo_n "checking where to
find the target c
++...
" >&6; }
17163 if test "x
${build}" != "x
${host}" ; then
17164 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17165 # We already found the complete path
17166 ac_dir=`dirname $CXX_FOR_TARGET`
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17168 $as_echo "pre-installed
in $ac_dir" >&6; }
17170 # Canadian cross, just use what we found
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17172 $as_echo "pre-installed
" >&6; }
17176 case " ${configdirs} " in
17180 case ,${enable_languages}, in
17184 if test $ok = yes; then
17185 # An in-tree tool is available and we can use it
17186 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'
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17188 $as_echo "just compiled
" >&6; }
17189 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17190 # We already found the complete path
17191 ac_dir=`dirname $CXX_FOR_TARGET`
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17193 $as_echo "pre-installed
in $ac_dir" >&6; }
17194 elif test "x
$target" = "x
$host"; then
17195 # We can use an host tool
17196 CXX_FOR_TARGET='$(CXX)'
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17198 $as_echo "host tool
" >&6; }
17200 # We need a cross tool
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17202 $as_echo "pre-installed
" >&6; }
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
17207 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
17208 if test "x
${build}" != "x
${host}" ; then
17209 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17210 # We already found the complete path
17211 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17213 $as_echo "pre-installed
in $ac_dir" >&6; }
17215 # Canadian cross, just use what we found
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17217 $as_echo "pre-installed
" >&6; }
17221 case " ${configdirs} " in
17225 case ,${enable_languages}, in
17229 if test $ok = yes; then
17230 # An in-tree tool is available and we can use it
17231 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'
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17233 $as_echo "just compiled
" >&6; }
17234 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17235 # We already found the complete path
17236 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17238 $as_echo "pre-installed
in $ac_dir" >&6; }
17239 elif test "x
$target" = "x
$host"; then
17240 # We can use an host tool
17241 RAW_CXX_FOR_TARGET='$(CXX)'
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17243 $as_echo "host tool
" >&6; }
17245 # We need a cross tool
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17247 $as_echo "pre-installed
" >&6; }
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
17252 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
17253 if test "x
${build}" != "x
${host}" ; then
17254 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17255 # We already found the complete path
17256 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17258 $as_echo "pre-installed
in $ac_dir" >&6; }
17260 # Canadian cross, just use what we found
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17262 $as_echo "pre-installed
" >&6; }
17266 case " ${configdirs} " in
17271 if test $ok = yes; then
17272 # An in-tree tool is available and we can use it
17273 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17275 $as_echo "just compiled
" >&6; }
17276 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17277 # We already found the complete path
17278 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17280 $as_echo "pre-installed
in $ac_dir" >&6; }
17281 elif test "x
$target" = "x
$host"; then
17282 # We can use an host tool
17283 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17285 $as_echo "host tool
" >&6; }
17287 # We need a cross tool
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17289 $as_echo "pre-installed
" >&6; }
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dsymutil
" >&5
17294 $as_echo_n "checking where to
find the target dsymutil...
" >&6; }
17295 if test "x
${build}" != "x
${host}" ; then
17296 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17297 # We already found the complete path
17298 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17300 $as_echo "pre-installed
in $ac_dir" >&6; }
17302 # Canadian cross, just use what we found
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17304 $as_echo "pre-installed
" >&6; }
17307 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17308 # We already found the complete path
17309 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17311 $as_echo "pre-installed
in $ac_dir" >&6; }
17312 elif test "x
$target" = "x
$host"; then
17313 # We can use an host tool
17314 DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17316 $as_echo "host tool
" >&6; }
17318 # We need a cross tool
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17320 $as_echo "pre-installed
" >&6; }
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
17325 $as_echo_n "checking where to
find the target gcc...
" >&6; }
17326 if test "x
${build}" != "x
${host}" ; then
17327 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17328 # We already found the complete path
17329 ac_dir=`dirname $GCC_FOR_TARGET`
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17331 $as_echo "pre-installed
in $ac_dir" >&6; }
17333 # Canadian cross, just use what we found
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17335 $as_echo "pre-installed
" >&6; }
17339 case " ${configdirs} " in
17344 if test $ok = yes; then
17345 # An in-tree tool is available and we can use it
17346 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17348 $as_echo "just compiled
" >&6; }
17349 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17350 # We already found the complete path
17351 ac_dir=`dirname $GCC_FOR_TARGET`
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17353 $as_echo "pre-installed
in $ac_dir" >&6; }
17354 elif test "x
$target" = "x
$host"; then
17355 # We can use an host tool
17356 GCC_FOR_TARGET='$()'
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17358 $as_echo "host tool
" >&6; }
17360 # We need a cross tool
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17362 $as_echo "pre-installed
" >&6; }
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
17367 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
17368 if test "x
${build}" != "x
${host}" ; then
17369 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17370 # We already found the complete path
17371 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17373 $as_echo "pre-installed
in $ac_dir" >&6; }
17375 # Canadian cross, just use what we found
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17377 $as_echo "pre-installed
" >&6; }
17381 case " ${configdirs} " in
17385 case ,${enable_languages}, in
17389 if test $ok = yes; then
17390 # An in-tree tool is available and we can use it
17391 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17393 $as_echo "just compiled
" >&6; }
17394 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17395 # We already found the complete path
17396 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17398 $as_echo "pre-installed
in $ac_dir" >&6; }
17399 elif test "x
$target" = "x
$host"; then
17400 # We can use an host tool
17401 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17403 $as_echo "host tool
" >&6; }
17405 # We need a cross tool
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17407 $as_echo "pre-installed
" >&6; }
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
17412 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
17413 if test "x
${build}" != "x
${host}" ; then
17414 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17415 # We already found the complete path
17416 ac_dir=`dirname $GOC_FOR_TARGET`
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17418 $as_echo "pre-installed
in $ac_dir" >&6; }
17420 # Canadian cross, just use what we found
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17422 $as_echo "pre-installed
" >&6; }
17426 case " ${configdirs} " in
17430 case ,${enable_languages}, in
17434 if test $ok = yes; then
17435 # An in-tree tool is available and we can use it
17436 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17438 $as_echo "just compiled
" >&6; }
17439 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17440 # We already found the complete path
17441 ac_dir=`dirname $GOC_FOR_TARGET`
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17443 $as_echo "pre-installed
in $ac_dir" >&6; }
17444 elif test "x
$target" = "x
$host"; then
17445 # We can use an host tool
17446 GOC_FOR_TARGET='$(GOC)'
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17448 $as_echo "host tool
" >&6; }
17450 # We need a cross tool
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17452 $as_echo "pre-installed
" >&6; }
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
17457 $as_echo_n "checking where to
find the target gdc...
" >&6; }
17458 if test "x
${build}" != "x
${host}" ; then
17459 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17460 # We already found the complete path
17461 ac_dir=`dirname $GDC_FOR_TARGET`
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17463 $as_echo "pre-installed
in $ac_dir" >&6; }
17465 # Canadian cross, just use what we found
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17467 $as_echo "pre-installed
" >&6; }
17471 case " ${configdirs} " in
17475 case ,${enable_languages}, in
17479 if test $ok = yes; then
17480 # An in-tree tool is available and we can use it
17481 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17483 $as_echo "just compiled
" >&6; }
17484 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17485 # We already found the complete path
17486 ac_dir=`dirname $GDC_FOR_TARGET`
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17488 $as_echo "pre-installed
in $ac_dir" >&6; }
17489 elif test "x
$target" = "x
$host"; then
17490 # We can use an host tool
17491 GDC_FOR_TARGET='$(GDC)'
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17493 $as_echo "host tool
" >&6; }
17495 # We need a cross tool
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17497 $as_echo "pre-installed
" >&6; }
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
17502 $as_echo_n "checking where to
find the target ld...
" >&6; }
17503 if test "x
${build}" != "x
${host}" ; then
17504 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17505 # We already found the complete path
17506 ac_dir=`dirname $LD_FOR_TARGET`
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17508 $as_echo "pre-installed
in $ac_dir" >&6; }
17510 # Canadian cross, just use what we found
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17512 $as_echo "pre-installed
" >&6; }
17516 case " ${configdirs} " in
17521 if test $ok = yes; then
17522 # An in-tree tool is available and we can use it
17523 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17525 $as_echo "just compiled
" >&6; }
17526 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17527 # We already found the complete path
17528 ac_dir=`dirname $LD_FOR_TARGET`
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17530 $as_echo "pre-installed
in $ac_dir" >&6; }
17531 elif test "x
$target" = "x
$host"; then
17532 # We can use an host tool
17533 LD_FOR_TARGET='$(LD)'
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17535 $as_echo "host tool
" >&6; }
17537 # We need a cross tool
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17539 $as_echo "pre-installed
" >&6; }
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
17544 $as_echo_n "checking where to
find the target lipo...
" >&6; }
17545 if test "x
${build}" != "x
${host}" ; then
17546 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17547 # We already found the complete path
17548 ac_dir=`dirname $LIPO_FOR_TARGET`
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17550 $as_echo "pre-installed
in $ac_dir" >&6; }
17552 # Canadian cross, just use what we found
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17554 $as_echo "pre-installed
" >&6; }
17557 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17558 # We already found the complete path
17559 ac_dir=`dirname $LIPO_FOR_TARGET`
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17561 $as_echo "pre-installed
in $ac_dir" >&6; }
17562 elif test "x
$target" = "x
$host"; then
17563 # We can use an host tool
17564 LIPO_FOR_TARGET='$(LIPO)'
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17566 $as_echo "host tool
" >&6; }
17568 # We need a cross tool
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17570 $as_echo "pre-installed
" >&6; }
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
17575 $as_echo_n "checking where to
find the target nm...
" >&6; }
17576 if test "x
${build}" != "x
${host}" ; then
17577 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17578 # We already found the complete path
17579 ac_dir=`dirname $NM_FOR_TARGET`
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17581 $as_echo "pre-installed
in $ac_dir" >&6; }
17583 # Canadian cross, just use what we found
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17585 $as_echo "pre-installed
" >&6; }
17589 case " ${configdirs} " in
17594 if test $ok = yes; then
17595 # An in-tree tool is available and we can use it
17596 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17598 $as_echo "just compiled
" >&6; }
17599 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17600 # We already found the complete path
17601 ac_dir=`dirname $NM_FOR_TARGET`
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17603 $as_echo "pre-installed
in $ac_dir" >&6; }
17604 elif test "x
$target" = "x
$host"; then
17605 # We can use an host tool
17606 NM_FOR_TARGET='$(NM)'
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17608 $as_echo "host tool
" >&6; }
17610 # We need a cross tool
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17612 $as_echo "pre-installed
" >&6; }
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
17617 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
17618 if test "x
${build}" != "x
${host}" ; then
17619 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17620 # We already found the complete path
17621 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17623 $as_echo "pre-installed
in $ac_dir" >&6; }
17625 # Canadian cross, just use what we found
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17627 $as_echo "pre-installed
" >&6; }
17631 case " ${configdirs} " in
17636 if test $ok = yes; then
17637 # An in-tree tool is available and we can use it
17638 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17640 $as_echo "just compiled
" >&6; }
17641 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17642 # We already found the complete path
17643 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17645 $as_echo "pre-installed
in $ac_dir" >&6; }
17646 elif test "x
$target" = "x
$host"; then
17647 # We can use an host tool
17648 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17650 $as_echo "host tool
" >&6; }
17652 # We need a cross tool
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17654 $as_echo "pre-installed
" >&6; }
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
17659 $as_echo_n "checking where to
find the target objdump...
" >&6; }
17660 if test "x
${build}" != "x
${host}" ; then
17661 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17662 # We already found the complete path
17663 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17665 $as_echo "pre-installed
in $ac_dir" >&6; }
17667 # Canadian cross, just use what we found
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17669 $as_echo "pre-installed
" >&6; }
17673 case " ${configdirs} " in
17678 if test $ok = yes; then
17679 # An in-tree tool is available and we can use it
17680 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17682 $as_echo "just compiled
" >&6; }
17683 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17684 # We already found the complete path
17685 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17687 $as_echo "pre-installed
in $ac_dir" >&6; }
17688 elif test "x
$target" = "x
$host"; then
17689 # We can use an host tool
17690 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17692 $as_echo "host tool
" >&6; }
17694 # We need a cross tool
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17696 $as_echo "pre-installed
" >&6; }
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
17701 $as_echo_n "checking where to
find the target otool...
" >&6; }
17702 if test "x
${build}" != "x
${host}" ; then
17703 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17704 # We already found the complete path
17705 ac_dir=`dirname $OTOOL_FOR_TARGET`
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17707 $as_echo "pre-installed
in $ac_dir" >&6; }
17709 # Canadian cross, just use what we found
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17711 $as_echo "pre-installed
" >&6; }
17714 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17715 # We already found the complete path
17716 ac_dir=`dirname $OTOOL_FOR_TARGET`
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17718 $as_echo "pre-installed
in $ac_dir" >&6; }
17719 elif test "x
$target" = "x
$host"; then
17720 # We can use an host tool
17721 OTOOL_FOR_TARGET='$(OTOOL)'
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17723 $as_echo "host tool
" >&6; }
17725 # We need a cross tool
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17727 $as_echo "pre-installed
" >&6; }
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
17732 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
17733 if test "x
${build}" != "x
${host}" ; then
17734 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17735 # We already found the complete path
17736 ac_dir=`dirname $RANLIB_FOR_TARGET`
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17738 $as_echo "pre-installed
in $ac_dir" >&6; }
17740 # Canadian cross, just use what we found
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17742 $as_echo "pre-installed
" >&6; }
17746 case " ${configdirs} " in
17751 if test $ok = yes; then
17752 # An in-tree tool is available and we can use it
17753 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17755 $as_echo "just compiled
" >&6; }
17756 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
17757 # We already found the complete path
17758 ac_dir=`dirname $RANLIB_FOR_TARGET`
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17760 $as_echo "pre-installed
in $ac_dir" >&6; }
17761 elif test "x
$target" = "x
$host"; then
17762 # We can use an host tool
17763 RANLIB_FOR_TARGET='$(RANLIB)'
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17765 $as_echo "host tool
" >&6; }
17767 # We need a cross tool
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17769 $as_echo "pre-installed
" >&6; }
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
17774 $as_echo_n "checking where to
find the target readelf...
" >&6; }
17775 if test "x
${build}" != "x
${host}" ; then
17776 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
17777 # We already found the complete path
17778 ac_dir=`dirname $READELF_FOR_TARGET`
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17780 $as_echo "pre-installed
in $ac_dir" >&6; }
17782 # Canadian cross, just use what we found
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17784 $as_echo "pre-installed
" >&6; }
17788 case " ${configdirs} " in
17793 if test $ok = yes; then
17794 # An in-tree tool is available and we can use it
17795 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17797 $as_echo "just compiled
" >&6; }
17798 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
17799 # We already found the complete path
17800 ac_dir=`dirname $READELF_FOR_TARGET`
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17802 $as_echo "pre-installed
in $ac_dir" >&6; }
17803 elif test "x
$target" = "x
$host"; then
17804 # We can use an host tool
17805 READELF_FOR_TARGET='$(READELF)'
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17807 $as_echo "host tool
" >&6; }
17809 # We need a cross tool
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17811 $as_echo "pre-installed
" >&6; }
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
17816 $as_echo_n "checking where to
find the target strip...
" >&6; }
17817 if test "x
${build}" != "x
${host}" ; then
17818 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
17819 # We already found the complete path
17820 ac_dir=`dirname $STRIP_FOR_TARGET`
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17822 $as_echo "pre-installed
in $ac_dir" >&6; }
17824 # Canadian cross, just use what we found
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17826 $as_echo "pre-installed
" >&6; }
17830 case " ${configdirs} " in
17835 if test $ok = yes; then
17836 # An in-tree tool is available and we can use it
17837 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17839 $as_echo "just compiled
" >&6; }
17840 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
17841 # We already found the complete path
17842 ac_dir=`dirname $STRIP_FOR_TARGET`
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17844 $as_echo "pre-installed
in $ac_dir" >&6; }
17845 elif test "x
$target" = "x
$host"; then
17846 # We can use an host tool
17847 STRIP_FOR_TARGET='$(STRIP)'
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17849 $as_echo "host tool
" >&6; }
17851 # We need a cross tool
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17853 $as_echo "pre-installed
" >&6; }
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
17858 $as_echo_n "checking where to
find the target windres...
" >&6; }
17859 if test "x
${build}" != "x
${host}" ; then
17860 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
17861 # We already found the complete path
17862 ac_dir=`dirname $WINDRES_FOR_TARGET`
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17864 $as_echo "pre-installed
in $ac_dir" >&6; }
17866 # Canadian cross, just use what we found
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17868 $as_echo "pre-installed
" >&6; }
17872 case " ${configdirs} " in
17877 if test $ok = yes; then
17878 # An in-tree tool is available and we can use it
17879 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17881 $as_echo "just compiled
" >&6; }
17882 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
17883 # We already found the complete path
17884 ac_dir=`dirname $WINDRES_FOR_TARGET`
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17886 $as_echo "pre-installed
in $ac_dir" >&6; }
17887 elif test "x
$target" = "x
$host"; then
17888 # We can use an host tool
17889 WINDRES_FOR_TARGET='$(WINDRES)'
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17891 $as_echo "host tool
" >&6; }
17893 # We need a cross tool
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17895 $as_echo "pre-installed
" >&6; }
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
17900 $as_echo_n "checking where to
find the target windmc...
" >&6; }
17901 if test "x
${build}" != "x
${host}" ; then
17902 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
17903 # We already found the complete path
17904 ac_dir=`dirname $WINDMC_FOR_TARGET`
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17906 $as_echo "pre-installed
in $ac_dir" >&6; }
17908 # Canadian cross, just use what we found
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17910 $as_echo "pre-installed
" >&6; }
17914 case " ${configdirs} " in
17919 if test $ok = yes; then
17920 # An in-tree tool is available and we can use it
17921 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17923 $as_echo "just compiled
" >&6; }
17924 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
17925 # We already found the complete path
17926 ac_dir=`dirname $WINDMC_FOR_TARGET`
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17928 $as_echo "pre-installed
in $ac_dir" >&6; }
17929 elif test "x
$target" = "x
$host"; then
17930 # We can use an host tool
17931 WINDMC_FOR_TARGET='$(WINDMC)'
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17933 $as_echo "host tool
" >&6; }
17935 # We need a cross tool
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17937 $as_echo "pre-installed
" >&6; }
17945 # Certain tools may need extra flags.
17946 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
17947 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
17948 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
17950 # When building target libraries, except in a Canadian cross, we use
17951 # the same toolchain as the compiler we just built.
17952 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
17953 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
17954 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
17955 if test $host = $build; then
17956 case " $configdirs " in
17958 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
17959 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
17960 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
17970 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
17971 # Check whether --enable-maintainer-mode was given.
17972 if test "${enable_maintainer_mode+set}" = set; then :
17973 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
17975 USE_MAINTAINER_MODE=no
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
17979 $as_echo "$USE_MAINTAINER_MODE" >&6; }
17982 if test "$USE_MAINTAINER_MODE" = yes; then
17983 MAINTAINER_MODE_TRUE=
17984 MAINTAINER_MODE_FALSE='#'
17986 MAINTAINER_MODE_TRUE='#'
17987 MAINTAINER_MODE_FALSE=
17989 MAINT=$MAINTAINER_MODE_TRUE
17991 # ---------------------
17992 # GCC bootstrap support
17993 # ---------------------
17995 # Stage specific cflags for build.
18000 yes) stage1_cflags="-g -Wa,-J" ;;
18001 *) stage1_cflags="-g -J" ;;
18007 # Enable --enable-checking in stage1 of the compiler.
18008 # Check whether --enable-stage1-checking was given.
18009 if test "${enable_stage1_checking+set}" = set; then :
18010 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
18012 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
18013 # For --disable-checking or implicit --enable-checking=release, avoid
18014 # setting --enable-checking=gc in the default stage1 checking for LTO
18015 # bootstraps. See PR62077.
18016 case $BUILD_CONFIG in
18018 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
18020 stage1_checking=--enable-checking=yes,types;;
18022 if test "x
$enable_checking" = x && \
18023 test -d ${srcdir}/gcc && \
18024 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
18025 stage1_checking=--enable-checking=yes,types,extra
18028 stage1_checking=--enable-checking=$enable_checking,types
18034 # Enable -Werror in bootstrap stage2 and later.
18035 # Check whether --enable-werror was given.
18036 if test "${enable_werror+set}" = set; then :
18037 enableval=$enable_werror;
18038 case ${enable_werror} in
18039 yes) stage2_werror_flag="--enable-werror-always" ;;
18040 *) stage2_werror_flag="" ;;
18045 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
18046 case $BUILD_CONFIG in
18048 stage2_werror_flag="--enable-werror-always" ;;
18050 stage2_werror_flag="--enable-werror-always" ;;
18059 # Specify what files to not compare during bootstrap.
18061 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
18063 hppa*64*-*-hpux*) ;;
18064 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
18065 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
18069 ac_config_files="$ac_config_files Makefile
"
18071 cat >confcache <<\_ACEOF
18072 # This file is a shell script that caches the results of configure
18073 # tests run on this system so they can be shared between configure
18074 # scripts and configure runs, see configure's option --config-cache.
18075 # It is not useful on other systems. If it contains results you don't
18076 # want to keep, you may remove or edit it.
18078 # config.status only pays attention to the cache file if you give it
18079 # the --recheck option to rerun configure.
18081 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18082 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18083 # following values.
18087 # The following way of writing the cache mishandles newlines in values,
18088 # but we know of no workaround that is simple, portable, and efficient.
18089 # So, we kill variables containing newlines.
18090 # Ultrix sh set writes to stderr and can't be redirected directly,
18091 # and sets the high bit in the cache file unless we assign to the vars.
18093 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18094 eval ac_val=\$$ac_var
18098 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
18099 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
18102 _ | IFS | as_nl) ;; #(
18103 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18104 *) { eval $ac_var=; unset $ac_var;} ;;
18110 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18111 *${as_nl}ac_space=\ *)
18112 # `set' does not quote correctly, so add quotes: double-quote
18113 # substitution turns \\\\ into \\, and sed turns \\ into \.
18116 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
18119 # `set' quotes correctly as required by POSIX, so do not add quotes.
18120 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
18129 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18131 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18133 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18134 if test -w "$cache_file"; then
18135 if test "x
$cache_file" != "x
/dev
/null
"; then
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
18137 $as_echo "$as_me: updating cache
$cache_file" >&6;}
18138 if test ! -f "$cache_file" || test -h "$cache_file"; then
18139 cat confcache >"$cache_file"
18141 case $cache_file in #(
18143 mv -f confcache "$cache_file"$$ &&
18144 mv -f "$cache_file"$$ "$cache_file" ;; #(
18146 mv -f confcache "$cache_file" ;;
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
18152 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
18157 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
18158 # Let make expand exec_prefix.
18159 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
18161 # Transform confdefs.h into DEFS.
18162 # Protect against shell expansion while executing Makefile rules.
18163 # Protect against Makefile macro expansion.
18165 # If the first sed substitution is executed (which looks for macros that
18166 # take arguments), then branch to the quote section. Otherwise,
18167 # look for a macro that doesn't take arguments.
18177 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18179 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18183 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
18196 DEFS=`sed -n "$ac_script" confdefs.h`
18202 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18203 # 1. Remove the extension, and $U if already installed.
18204 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
18205 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18206 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18207 # will be set to the directory where LIBOBJS objects are built.
18208 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18209 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
18211 LIBOBJS=$ac_libobjs
18213 LTLIBOBJS=$ac_ltlibobjs
18217 : "${CONFIG_STATUS=./config.status}"
18219 ac_clean_files_save=$ac_clean_files
18220 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18222 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18224 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18226 # Generated by $as_me.
18227 # Run this file to recreate the current configuration.
18228 # Compiler output produced by configure, useful for debugging
18229 # configure, is in config.log if it exists.
18232 ac_cs_recheck=false
18235 SHELL=\${CONFIG_SHELL-$SHELL}
18238 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18239 ## -------------------- ##
18240 ## M4sh Initialization. ##
18241 ## -------------------- ##
18243 # Be more Bourne compatible
18244 DUALCASE=1; export DUALCASE # for MKS sh
18245 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18248 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18249 # is contrary to our usage. Disable this feature.
18250 alias -g '${1+"$@"}'='"$@"'
18251 setopt NO_GLOB_SUBST
18253 case `(set -o) 2>/dev/null` in #(
18265 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18266 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18267 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
18268 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18269 # Prefer a ksh shell builtin over an external printf program on Solaris,
18270 # but without wasting forks for bash or zsh.
18271 if test -z "$BASH_VERSION$ZSH_VERSION" \
18272 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18273 as_echo
='print -r --'
18274 as_echo_n
='print -rn --'
18275 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18276 as_echo
='printf %s\n'
18277 as_echo_n
='printf %s'
18279 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18280 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
18281 as_echo_n
='/usr/ucb/echo -n'
18283 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
18284 as_echo_n_body
='eval
18288 expr "X$arg" : "X\\(.*\\)$as_nl";
18289 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18291 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18293 export as_echo_n_body
18294 as_echo_n
='sh -c $as_echo_n_body as_echo'
18296 export as_echo_body
18297 as_echo
='sh -c $as_echo_body as_echo'
18300 # The user is always right.
18301 if test "${PATH_SEPARATOR+set}" != set; then
18303 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
18304 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
18311 # We need space, tab and new line, in precisely that order. Quoting is
18312 # there to prevent editors from complaining about space-tab.
18313 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18314 # splitting by setting IFS to empty value.)
18317 # Find who we are. Look in the path if we contain no directory separator.
18320 *[\\/]* ) as_myself
=$0 ;;
18321 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18322 for as_dir
in $PATH
18325 test -z "$as_dir" && as_dir
=.
18326 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18332 # We did not find ourselves, most probably we were run as `sh COMMAND'
18333 # in which case we are not to be found in the path.
18334 if test "x$as_myself" = x
; then
18337 if test ! -f "$as_myself"; then
18338 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18342 # Unset variables that we do not need and which cause bugs (e.g. in
18343 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18344 # suppresses any "Segmentation fault" message there. '((' could
18345 # trigger a bug in pdksh 5.2.14.
18346 for as_var
in BASH_ENV ENV MAIL MAILPATH
18347 do eval test x\
${$as_var+set} = xset \
18348 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18361 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18364 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18365 # ----------------------------------------
18366 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18367 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18368 # script with STATUS, using 1 if that was 0.
18371 as_status
=$1; test $as_status -eq 0 && as_status
=1
18373 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18374 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18376 $as_echo "$as_me: error: $2" >&2
18377 as_fn_exit
$as_status
18381 # as_fn_set_status STATUS
18382 # -----------------------
18383 # Set $? to STATUS, without forking.
18384 as_fn_set_status
()
18387 } # as_fn_set_status
18389 # as_fn_exit STATUS
18390 # -----------------
18391 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18395 as_fn_set_status
$1
18401 # Portably unset VAR.
18404 { eval $1=; unset $1;}
18406 as_unset
=as_fn_unset
18407 # as_fn_append VAR VALUE
18408 # ----------------------
18409 # Append the text in VALUE to the end of the definition contained in VAR. Take
18410 # advantage of any shell optimizations that allow amortized linear growth over
18411 # repeated appends, instead of the typical quadratic growth present in naive
18413 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18414 eval 'as_fn_append ()
18425 # as_fn_arith ARG...
18426 # ------------------
18427 # Perform arithmetic evaluation on the ARGs, and store the result in the
18428 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18429 # must be portable across $(()) and expr.
18430 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18431 eval 'as_fn_arith ()
18438 as_val
=`expr "$@" || test $? -eq 1`
18443 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18444 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18450 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18451 as_basename
=basename
18456 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18462 as_me
=`$as_basename -- "$0" ||
18463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18464 X"$0" : 'X\(//\)$' \| \
18465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18467 sed '/^.*\/\([^/][^/]*\)\/*$/{
18481 # Avoid depending upon Character Ranges.
18482 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18483 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18484 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18485 as_cr_digits
='0123456789'
18486 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18488 ECHO_C
= ECHO_N
= ECHO_T
=
18489 case `echo -n x` in #(((((
18491 case `echo 'xy\c'` in
18492 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18494 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18501 rm -f conf$$ conf$$.exe conf$$.
file
18502 if test -d conf$$.dir
; then
18503 rm -f conf$$.dir
/conf$$.
file
18506 mkdir conf$$.dir
2>/dev
/null
18508 if (echo >conf$$.
file) 2>/dev
/null
; then
18509 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18511 # ... but there are two gotchas:
18512 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18513 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18514 # In both cases, we have to default to `cp -pR'.
18515 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18517 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18525 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18526 rmdir conf$$.dir
2>/dev
/null
18531 # Create "$as_dir" as a directory, including parents if necessary.
18536 -*) as_dir
=.
/$as_dir;;
18538 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18542 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18543 *) as_qdir
=$as_dir;;
18545 as_dirs
="'$as_qdir' $as_dirs"
18546 as_dir
=`$as_dirname -- "$as_dir" ||
18547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18548 X"$as_dir" : 'X\(//\)[^/]' \| \
18549 X"$as_dir" : 'X\(//\)$' \| \
18550 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18551 $as_echo X"$as_dir" |
18552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18556 /^X\(\/\/\)[^/].*/{
18569 test -d "$as_dir" && break
18571 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18572 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18576 if mkdir
-p .
2>/dev
/null
; then
18577 as_mkdir_p
='mkdir -p "$as_dir"'
18579 test -d .
/-p && rmdir .
/-p
18584 # as_fn_executable_p FILE
18585 # -----------------------
18586 # Test if FILE is an executable regular file.
18587 as_fn_executable_p
()
18589 test -f "$1" && test -x "$1"
18590 } # as_fn_executable_p
18591 as_test_x
='test -x'
18592 as_executable_p
=as_fn_executable_p
18594 # Sed expression to map a string onto a valid CPP name.
18595 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18597 # Sed expression to map a string onto a valid variable name.
18598 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18602 ## ----------------------------------- ##
18603 ## Main body of $CONFIG_STATUS script. ##
18604 ## ----------------------------------- ##
18606 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18609 # Save the log message, to keep $0 and so on meaningful, and to
18610 # report actual input values of CONFIG_FILES etc. instead of their
18611 # values after options handling.
18613 This file was extended by $as_me, which was
18614 generated by GNU Autoconf 2.69. Invocation command line was
18616 CONFIG_FILES = $CONFIG_FILES
18617 CONFIG_HEADERS = $CONFIG_HEADERS
18618 CONFIG_LINKS = $CONFIG_LINKS
18619 CONFIG_COMMANDS = $CONFIG_COMMANDS
18622 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18627 case $ac_config_files in *"
18628 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18634 # Files that config.status was made for.
18635 config_files="$ac_config_files"
18639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18641 \`$as_me' instantiates files and other configuration actions
18642 from templates according to the current configuration. Unless the files
18643 and actions are specified as TAGs, all are instantiated by default.
18645 Usage: $0 [OPTION]... [TAG]...
18647 -h, --help print this help, then exit
18648 -V, --version print version number and configuration settings, then exit
18649 --config print configuration, then exit
18650 -q, --quiet, --silent
18651 do not print progress messages
18652 -d, --debug don't remove temporary files
18653 --recheck update $as_me by reconfiguring in the same conditions
18654 --file=FILE[:TEMPLATE]
18655 instantiate the configuration file FILE
18657 Configuration files:
18660 Report bugs to the package provider."
18663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18664 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18667 configured by $0, generated by GNU Autoconf 2.69,
18668 with options \\"\$ac_cs_config\\"
18670 Copyright (C) 2012 Free Software Foundation, Inc.
18671 This config.status script is free software; the Free Software Foundation
18672 gives unlimited permission to copy, distribute and modify it."
18678 test -n "\$AWK" || AWK=awk
18681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18682 # The default lists apply if the user does not specify any file.
18688 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18689 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18693 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18705 # Handling of the options.
18706 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18708 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18709 $as_echo "$ac_cs_version"; exit ;;
18710 --config |
--confi |
--conf |
--con |
--co |
--c )
18711 $as_echo "$ac_cs_config"; exit ;;
18712 --debug |
--debu |
--deb |
--de |
--d |
-d )
18714 --file |
--fil |
--fi |
--f )
18717 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18718 '') as_fn_error $?
"missing file argument" ;;
18720 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18721 ac_need_defaults
=false
;;
18722 --he |
--h |
--help |
--hel |
-h )
18723 $as_echo "$ac_cs_usage"; exit ;;
18724 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18725 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18728 # This is an error.
18729 -*) as_fn_error $?
"unrecognized option: \`$1'
18730 Try \`$0 --help' for more information." ;;
18732 *) as_fn_append ac_config_targets
" $1"
18733 ac_need_defaults
=false
;;
18739 ac_configure_extra_args
=
18741 if $ac_cs_silent; then
18743 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18748 if \$ac_cs_recheck; then
18749 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18751 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18752 CONFIG_SHELL='$SHELL'
18753 export CONFIG_SHELL
18758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18762 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18763 ## Running $as_me. ##
18769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18773 extrasub_build="$extrasub_build"
18774 extrasub_host="$extrasub_host"
18775 extrasub_target="$extrasub_target"
18779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18781 # Handling of arguments.
18782 for ac_config_target
in $ac_config_targets
18784 case $ac_config_target in
18785 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18787 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18792 # If the user did not use the arguments to specify the items to instantiate,
18793 # then the envvar interface is used. Set only those that are not.
18794 # We use the long form for the default assignment because of an extremely
18795 # bizarre bug on SunOS 4.1.3.
18796 if $ac_need_defaults; then
18797 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18800 # Have a temporary directory for convenience. Make it in the build tree
18801 # simply because there is no reason against having it here, and in addition,
18802 # creating and moving files from /tmp can sometimes cause problems.
18803 # Hook for its removal unless debugging.
18804 # Note that there is a small window in which the directory will not be cleaned:
18805 # after its creation but before its name has been assigned to `$tmp'.
18809 trap 'exit_status=$?
18810 : "${ac_tmp:=$tmp}"
18811 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18813 trap 'as_fn_exit 1' 1 2 13 15
18815 # Create a (secure) tmp directory for tmp files.
18818 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18822 tmp
=.
/conf$$
-$RANDOM
18823 (umask 077 && mkdir
"$tmp")
18824 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18827 # Set up the scripts for CONFIG_FILES section.
18828 # No need to generate them if there are no CONFIG_FILES.
18829 # This happens for instance with `./config.status config.h'.
18830 if test -n "$CONFIG_FILES"; then
18832 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18833 ac_cs_awk_getline
=:
18834 ac_cs_awk_pipe_init
=
18835 ac_cs_awk_read_file
='
18836 while ((getline aline < (F[key])) > 0)
18839 ac_cs_awk_pipe_fini
=
18841 ac_cs_awk_getline
=false
18842 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18843 ac_cs_awk_read_file
='
18845 print "cat " F[key] " &&"
18846 '$ac_cs_awk_pipe_init
18847 # The final `:' finishes the AND list.
18848 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18850 ac_cr
=`echo X | tr X '\015'`
18851 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18852 # But we know of no other shell where ac_cr would be empty at this
18853 # point, so we can use a bashism as a fallback.
18854 if test "x$ac_cr" = x
; then
18855 eval ac_cr
=\$
\'\\r
\'
18857 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18858 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18861 ac_cs_awk_cr
=$ac_cr
18864 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18867 # Create commands to substitute file output variables.
18869 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18870 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18871 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18874 } >conf$
$files.sh
&&
18875 . .
/conf$
$files.sh ||
18876 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18877 rm -f conf$
$files.sh
18880 echo "cat >conf$$subs.awk <<_ACEOF" &&
18881 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18883 } >conf$$subs.sh ||
18884 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18885 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18887 for ac_last_try in false false false false false :; do
18888 . ./conf$$subs.sh ||
18889 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18891 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18892 if test $ac_delim_n = $ac_delim_num; then
18894 elif $ac_last_try; then
18895 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18897 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18900 rm -f conf$$subs.sh
18902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18903 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18907 s/^/S["/; s
/!.
*/"]=/
18917 s/\(.\{148\}\)..*/\1/
18919 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18924 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18931 s/\(.\{148\}\)..*/\1/
18933 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18937 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18942 ' <conf$$subs.awk | sed '
18947 ' >>$CONFIG_STATUS || ac_write_fail=1
18948 rm -f conf$$subs.awk
18949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18951 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18952 for (key in S) S_is_set[key] = 1
18954 \$ac_cs_awk_pipe_init
18958 nfields = split(line, field, "@
")
18960 len = length(field[1])
18961 for (i = 2; i < nfields; i++) {
18963 keylen = length(key)
18964 if (S_is_set[key]) {
18966 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18967 len += length(value) + length(field[++i])
18972 if (nfields == 3 && !substed) {
18974 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18975 \$ac_cs_awk_read_file
18981 \$ac_cs_awk_pipe_fini
18984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18985 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18986 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18989 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18990 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18993 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18994 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18995 # trailing colons and then remove the whole line if VPATH becomes empty
18996 # (actually we leave an empty line to preserve line numbers).
18997 if test "x
$srcdir" = x.; then
18998 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19017 fi # test -n "$CONFIG_FILES"
19020 eval set X " :F
$CONFIG_FILES "
19025 :[FHLC]) ac_mode=$ac_tag; continue;;
19027 case $ac_mode$ac_tag in
19029 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19030 :[FH]-) ac_tag=-:-;;
19031 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19048 -) ac_f="$ac_tmp/stdin";;
19049 *) # Look for the file first in the build tree, then in the source tree
19050 # (if the path is not absolute). The absolute path cannot be DOS-style,
19051 # because $ac_f cannot contain `:'.
19055 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19057 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19059 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19060 as_fn_append ac_file_inputs " '$ac_f'"
19063 # Let's still pretend it is `configure' which instantiates (i.e., don't
19064 # use $as_me), people would be surprised to read:
19065 # /* config.h. Generated by config.status. */
19066 configure_input='Generated from '`
19067 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19069 if test x"$ac_file" != x-; then
19070 configure_input="$ac_file.
$configure_input"
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19072 $as_echo "$as_me: creating
$ac_file" >&6;}
19074 # Neutralize special characters interpreted by sed in replacement strings.
19075 case $configure_input in #(
19076 *\&* | *\|* | *\\* )
19077 ac_sed_conf_input=`$as_echo "$configure_input" |
19078 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19079 *) ac_sed_conf_input=$configure_input;;
19083 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
19084 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
19089 ac_dir=`$as_dirname -- "$ac_file" ||
19090 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19091 X"$ac_file" : 'X\(//\)[^/]' \| \
19092 X"$ac_file" : 'X\(//\)$' \| \
19093 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19094 $as_echo X"$ac_file" |
19095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19099 /^X\(\/\/\)[^/].*/{
19112 as_dir="$ac_dir"; as_fn_mkdir_p
19116 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19118 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19119 # A "..
" for each directory in $ac_dir_suffix.
19120 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19121 case $ac_top_builddir_sub in
19122 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19123 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19126 ac_abs_top_builddir=$ac_pwd
19127 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19128 # for backward compatibility:
19129 ac_top_builddir=$ac_top_build_prefix
19132 .) # We are building in place.
19134 ac_top_srcdir=$ac_top_builddir_sub
19135 ac_abs_top_srcdir=$ac_pwd ;;
19136 [\\/]* | ?:[\\/]* ) # Absolute name.
19137 ac_srcdir=$srcdir$ac_dir_suffix;
19138 ac_top_srcdir=$srcdir
19139 ac_abs_top_srcdir=$srcdir ;;
19140 *) # Relative name.
19141 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19142 ac_top_srcdir=$ac_top_build_prefix$srcdir
19143 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19145 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19155 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19156 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19161 # If the template does not know about datarootdir, expand it.
19162 # FIXME: This hack should be removed a few years after 2.60.
19163 ac_datarootdir_hack=; ac_datarootdir_seen=
19174 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19175 *datarootdir*) ac_datarootdir_seen=yes;;
19176 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19178 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19181 ac_datarootdir_hack='
19182 s&@datadir@&$datadir&g
19183 s&@docdir@&$docdir&g
19184 s&@infodir@&$infodir&g
19185 s&@localedir@&$localedir&g
19186 s&@mandir@&$mandir&g
19187 s&\\\${datarootdir}&$datarootdir&g' ;;
19191 # Neutralize VPATH when `$srcdir' = `.'.
19192 # Shell code in configure.ac might set extrasub.
19193 # FIXME: do we really want to maintain this feature?
19194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 ac_sed_extra="$ac_vpsub
19198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19200 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19201 s|@configure_input@|
$ac_sed_conf_input|
;t t
19202 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19203 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19204 s
&@srcdir@
&$ac_srcdir&;t t
19205 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19206 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19207 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19208 s
&@builddir@
&$ac_builddir&;t t
19209 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19210 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19211 s
&@INSTALL@
&$ac_INSTALL&;t t
19212 $ac_datarootdir_hack
19214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
19215 if $ac_cs_awk_getline; then
19216 $AWK -f "$ac_tmp/subs.
awk"
19218 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
19220 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19222 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19223 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19224 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19225 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19227 which seems to be undefined. Please make sure it is defined" >&5
19228 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19229 which seems to be undefined. Please make sure it is defined" >&2;}
19231 rm -f "$ac_tmp/stdin"
19233 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19234 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19244 case $ac_file$ac_mode in
19245 "Makefile":F) sed "$extrasub_build" Makefile |
19246 sed "$extrasub_host" |
19247 sed "$extrasub_target" > mf$$
19248 mv -f mf$$ Makefile ;;
19256 ac_clean_files=$ac_clean_files_save
19258 test $ac_write_fail = 0 ||
19259 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19262 # configure is writing to config.log, and then calls config.status.
19263 # config.status does its own redirection, appending to config.log.
19264 # Unfortunately, on DOS this fails, as config.log is still kept open
19265 # by configure, so config.status won't be able to
write to it
; its
19266 # output is simply discarded. So we exec the FD to /dev/null,
19267 # effectively closing config.log, so it can be properly (re)opened and
19268 # appended to by config.status. When coming back to configure, we
19269 # need to make the FD available again.
19270 if test "$no_create" != yes; then
19272 ac_config_status_args
=
19273 test "$silent" = yes &&
19274 ac_config_status_args
="$ac_config_status_args --quiet"
19276 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19278 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19279 # would make configure fail if this is the last instruction.
19280 $ac_cs_success || as_fn_exit
1
19282 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19284 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}