2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
682 DEBUG_PREFIX_CFLAGS_FOR_TARGET
683 SYSROOT_CFLAGS_FOR_TARGET
685 extra_host_zlib_configure_flags
686 extra_host_libiberty_configure_flags
689 extra_linker_plugin_flags
690 extra_linker_plugin_configure_flags
697 extra_isl_gmp_configure_flags
698 extra_mpc_mpfr_configure_flags
699 extra_mpc_gmp_configure_flags
700 extra_mpfr_configure_flags
722 extra_liboffloadmic_configure_flags
749 TOPLEVEL_CONFIGURE_ARGUMENTS
777 program_transform_name
788 ac_subst_files
='serialization_dependencies
794 enable_option_checking
797 enable_as_accelerator_for
798 enable_offload_targets
799 enable_offload_defaulted
802 enable_compressed_debug_sections
804 enable_libquadmath_support
823 with_static_standard_libraries
830 enable_isl_version_check
832 enable_linker_plugin_configure_flags
833 enable_linker_plugin_flags
835 enable_stage1_languages
838 with_target_bdw_gc_include
839 with_target_bdw_gc_lib
840 with_gcc_major_version_only
842 with_debug_prefix_map
845 enable_serial_configure
846 with_build_time_tools
847 enable_maintainer_mode
848 enable_stage1_checking
851 ac_precious_vars
='build_alias
903 # Initialize some variables set by options.
905 ac_init_version
=false
906 ac_unrecognized_opts
=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
917 program_transform_name
=s
,x
,x
,
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir
='${exec_prefix}/bin'
932 sbindir
='${exec_prefix}/sbin'
933 libexecdir
='${exec_prefix}/libexec'
934 datarootdir
='${prefix}/share'
935 datadir
='${datarootdir}'
936 sysconfdir
='${prefix}/etc'
937 sharedstatedir
='${prefix}/com'
938 localstatedir
='${prefix}/var'
939 includedir
='${prefix}/include'
940 oldincludedir
='/usr/include'
941 docdir
='${datarootdir}/doc/${PACKAGE}'
942 infodir
='${datarootdir}/info'
947 libdir
='${exec_prefix}/lib'
948 localedir
='${datarootdir}/locale'
949 mandir
='${datarootdir}/man'
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\
$ac_option
963 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
974 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
976 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
979 -build |
--build |
--buil |
--bui |
--bu)
980 ac_prev
=build_alias
;;
981 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
982 build_alias
=$ac_optarg ;;
984 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
985 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
986 ac_prev
=cache_file
;;
987 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
988 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
989 cache_file
=$ac_optarg ;;
992 cache_file
=config.cache
;;
994 -datadir |
--datadir |
--datadi |
--datad)
996 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
997 datadir
=$ac_optarg ;;
999 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1000 |
--dataroo |
--dataro |
--datar)
1001 ac_prev
=datarootdir
;;
1002 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1003 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1004 datarootdir
=$ac_optarg ;;
1006 -disable-* |
--disable-*)
1007 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1010 as_fn_error $?
"invalid feature name: $ac_useropt"
1011 ac_useropt_orig
=$ac_useropt
1012 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_
$ac_useropt"
1017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018 ac_unrecognized_sep
=', ';;
1020 eval enable_
$ac_useropt=no
;;
1022 -docdir |
--docdir |
--docdi |
--doc |
--do)
1024 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1025 docdir
=$ac_optarg ;;
1027 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1029 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1030 dvidir
=$ac_optarg ;;
1032 -enable-* |
--enable-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error $?
"invalid feature name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_
$ac_useropt"
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval enable_
$ac_useropt=\
$ac_optarg ;;
1048 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1049 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1050 |
--exec |
--exe |
--ex)
1051 ac_prev
=exec_prefix
;;
1052 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1053 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1054 |
--exec=* |
--exe=* |
--ex=*)
1055 exec_prefix
=$ac_optarg ;;
1057 -gas |
--gas |
--ga |
--g)
1058 # Obsolete; use --with-gas.
1061 -help |
--help |
--hel |
--he |
-h)
1062 ac_init_help
=long
;;
1063 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1064 ac_init_help
=recursive
;;
1065 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1066 ac_init_help
=short
;;
1068 -host |
--host |
--hos |
--ho)
1069 ac_prev
=host_alias
;;
1070 -host=* |
--host=* |
--hos=* |
--ho=*)
1071 host_alias
=$ac_optarg ;;
1073 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1075 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1077 htmldir
=$ac_optarg ;;
1079 -includedir |
--includedir |
--includedi |
--included |
--include \
1080 |
--includ |
--inclu |
--incl |
--inc)
1081 ac_prev
=includedir
;;
1082 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1083 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1084 includedir
=$ac_optarg ;;
1086 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1088 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1089 infodir
=$ac_optarg ;;
1091 -libdir |
--libdir |
--libdi |
--libd)
1093 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1094 libdir
=$ac_optarg ;;
1096 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1097 |
--libexe |
--libex |
--libe)
1098 ac_prev
=libexecdir
;;
1099 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1100 |
--libexe=* |
--libex=* |
--libe=*)
1101 libexecdir
=$ac_optarg ;;
1103 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1104 ac_prev
=localedir
;;
1105 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1106 localedir
=$ac_optarg ;;
1108 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1109 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1110 ac_prev
=localstatedir
;;
1111 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1112 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1113 localstatedir
=$ac_optarg ;;
1115 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1117 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1118 mandir
=$ac_optarg ;;
1120 -nfp |
--nfp |
--nf)
1121 # Obsolete; use --without-fp.
1124 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1125 |
--no-cr |
--no-c |
-n)
1128 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1129 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1132 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1133 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1134 |
--oldin |
--oldi |
--old |
--ol |
--o)
1135 ac_prev
=oldincludedir
;;
1136 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1137 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1138 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1139 oldincludedir
=$ac_optarg ;;
1141 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1143 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1144 prefix
=$ac_optarg ;;
1146 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1147 |
--program-pre |
--program-pr |
--program-p)
1148 ac_prev
=program_prefix
;;
1149 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1150 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1151 program_prefix
=$ac_optarg ;;
1153 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1154 |
--program-suf |
--program-su |
--program-s)
1155 ac_prev
=program_suffix
;;
1156 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1157 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1158 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1168 -program-transform-name=* |
--program-transform-name=* \
1169 |
--program-transform-nam=* |
--program-transform-na=* \
1170 |
--program-transform-n=* |
--program-transform-=* \
1171 |
--program-transform=* |
--program-transfor=* \
1172 |
--program-transfo=* |
--program-transf=* \
1173 |
--program-trans=* |
--program-tran=* \
1174 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1175 program_transform_name
=$ac_optarg ;;
1177 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1179 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1180 pdfdir
=$ac_optarg ;;
1182 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1184 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1187 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1188 |
-silent |
--silent |
--silen |
--sile |
--sil)
1191 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1193 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1195 sbindir
=$ac_optarg ;;
1197 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1198 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1199 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1201 ac_prev
=sharedstatedir
;;
1202 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1203 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1204 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1206 sharedstatedir
=$ac_optarg ;;
1208 -site |
--site |
--sit)
1210 -site=* |
--site=* |
--sit=*)
1213 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1215 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1216 srcdir
=$ac_optarg ;;
1218 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1219 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1220 ac_prev
=sysconfdir
;;
1221 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1222 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1223 sysconfdir
=$ac_optarg ;;
1225 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1226 ac_prev
=target_alias
;;
1227 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1228 target_alias
=$ac_optarg ;;
1230 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1233 -version |
--version |
--versio |
--versi |
--vers |
-V)
1234 ac_init_version
=: ;;
1237 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=\
$ac_optarg ;;
1252 -without-* |
--without-*)
1253 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1256 as_fn_error $?
"invalid package name: $ac_useropt"
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=no
;;
1269 # Obsolete; use --with-x.
1272 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1273 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1274 ac_prev
=x_includes
;;
1275 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1276 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1277 x_includes
=$ac_optarg ;;
1279 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1280 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1281 ac_prev
=x_libraries
;;
1282 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1283 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1284 x_libraries
=$ac_optarg ;;
1286 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1287 Try \`$0 --help' for more information"
1291 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 case $ac_envvar in #(
1294 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1295 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1297 eval $ac_envvar=\
$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1311 if test -n "$ac_prev"; then
1312 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1313 as_fn_error $?
"missing argument to $ac_option"
1316 if test -n "$ac_unrecognized_opts"; then
1317 case $enable_option_checking in
1319 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1324 # Check all directory arguments for consistency.
1325 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326 datadir sysconfdir sharedstatedir localstatedir includedir \
1327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328 libdir localedir mandir
1330 eval ac_val
=\$
$ac_var
1331 # Remove trailing slashes.
1334 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335 eval $ac_var=\
$ac_val;;
1337 # Be sure to have absolute directory names.
1339 [\\/$
]* | ?
:[\\/]* ) continue;;
1340 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1342 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1345 # There might be people who depend on the old broken behavior: `$host'
1346 # used to hold the argument of --host etc.
1347 # FIXME: To remove some day.
1350 target
=$target_alias
1352 # FIXME: To remove some day.
1353 if test "x$host_alias" != x
; then
1354 if test "x$build_alias" = x
; then
1355 cross_compiling
=maybe
1356 elif test "x$build_alias" != "x$host_alias"; then
1362 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1364 test "$silent" = yes && exec 6>/dev
/null
1367 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di
=`ls -di .` &&
1369 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1370 as_fn_error $?
"working directory cannot be determined"
1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372 as_fn_error $?
"pwd does not report name of working directory"
1375 # Find the source files, if location was not specified.
1376 if test -z "$srcdir"; then
1377 ac_srcdir_defaulted
=yes
1378 # Try the directory containing this script, then the parent directory.
1379 ac_confdir
=`$as_dirname -- "$as_myself" ||
1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381 X"$as_myself" : 'X\(//\)[^/]' \| \
1382 X"$as_myself" : 'X\(//\)$' \| \
1383 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384 $as_echo X"$as_myself" |
1385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1407 ac_srcdir_defaulted
=no
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1411 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1413 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1425 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429 as_fn_error $?
"path to source, $srcdir, contains spaces"
1432 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1434 for ac_var
in $ac_precious_vars; do
1435 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1436 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1437 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1438 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1442 # Report the --help message.
1444 if test "$ac_init_help" = "long"; then
1445 # Omit some internal or obsolete options to make the list less imposing.
1446 # This message is too long to be a string in the A/UX 3.1 sh.
1448 \`configure' configures this package to adapt to many kinds of systems.
1450 Usage: $0 [OPTION]... [VAR=VALUE]...
1452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1453 VAR=VALUE. See below for descriptions of some of the useful variables.
1455 Defaults for the options are specified in brackets.
1458 -h, --help display this help and exit
1459 --help=short display options specific to this package
1460 --help=recursive display the short help of all the included packages
1461 -V, --version display version information and exit
1462 -q, --quiet, --silent do not print \`checking ...' messages
1463 --cache-file=FILE cache test results in FILE [disabled]
1464 -C, --config-cache alias for \`--cache-file=config.cache'
1465 -n, --no-create do not create output files
1466 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1468 Installation directories:
1469 --prefix=PREFIX install architecture-independent files in PREFIX
1470 [$ac_default_prefix]
1471 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1474 By default, \`make install' will install all the files in
1475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1477 for instance \`--prefix=\$HOME'.
1479 For better control, use the options below.
1481 Fine tuning of the installation directories:
1482 --bindir=DIR user executables [EPREFIX/bin]
1483 --sbindir=DIR system admin executables [EPREFIX/sbin]
1484 --libexecdir=DIR program executables [EPREFIX/libexec]
1485 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1486 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1487 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1488 --libdir=DIR object code libraries [EPREFIX/lib]
1489 --includedir=DIR C header files [PREFIX/include]
1490 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1491 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1492 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1493 --infodir=DIR info documentation [DATAROOTDIR/info]
1494 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1495 --mandir=DIR man documentation [DATAROOTDIR/man]
1496 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1497 --htmldir=DIR html documentation [DOCDIR]
1498 --dvidir=DIR dvi documentation [DOCDIR]
1499 --pdfdir=DIR pdf documentation [DOCDIR]
1500 --psdir=DIR ps documentation [DOCDIR]
1506 --program-prefix=PREFIX prepend PREFIX to installed program names
1507 --program-suffix=SUFFIX append SUFFIX to installed program names
1508 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1511 --build=BUILD configure
for building on BUILD
[guessed
]
1512 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1513 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1517 if test -n "$ac_init_help"; then
1522 --disable-option-checking ignore unrecognized
--enable/--with options
1523 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1524 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1525 --enable-as-accelerator-for=ARG
1526 build as offload target compiler. Specify offload
1528 --enable-offload-targets=LIST
1529 enable offloading to devices from comma-separated
1530 LIST of TARGET
[=DIR
]. Use optional path to
find
1531 offload target compiler during the build
1532 --enable-offload-defaulted
1533 If enabled
, configured but not installed offload compilers and
1534 libgomp plugins are silently ignored. Useful
for distribution
1535 compilers where those are
in separate optional packages.
1537 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1538 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1539 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1540 Enable compressed debug sections
for gas
, gold or ld
1542 --disable-libquadmath do not build libquadmath directory
1543 --disable-libquadmath-support
1544 disable libquadmath support
for Fortran
1545 --enable-libada build libada directory
1546 --enable-libssp build libssp directory
1547 --disable-libstdcxx do not build libstdc
++-v3 directory
1548 --enable-liboffloadmic=ARG
1549 build liboffloadmic
[ARG
={no
,host,target
}]
1550 --enable-bootstrap enable bootstrapping
[yes if native build
]
1551 --enable-pgo-build[=lto
]
1552 enable the PGO build
1553 --disable-isl-version-check
1554 disable check
for isl version
1555 --enable-lto enable link
time optimization support
1556 --enable-linker-plugin-configure-flags=FLAGS
1557 additional flags
for configuring linker plugins
1559 --enable-linker-plugin-flags=FLAGS
1560 additional flags
for configuring and building linker
1562 --enable-host-shared build
host code as shared libraries
1563 --enable-stage1-languages[=all
]
1564 choose additional languages to build during stage1.
1565 Mostly useful
for compiler development
1566 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1568 --enable-vtable-verify Enable vtable verification feature
1569 --enable-serial-[{host,target,build}-]configure
1570 force sequential configuration of sub-packages for
1571 the host, target or build machine, or all
1573 --enable-maintainer-mode
1574 enable make rules and dependencies not useful (and
1575 sometimes confusing) to the casual installer
1576 --enable-stage1-checking[=all]
1577 choose additional checking for stage1 of the
1579 --enable-werror enable -Werror in bootstrap stage2 and later
1582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1584 --with-build-libsubdir=DIR Directory where to find libraries for build system
1585 --with-system-zlib use installed libz
1586 --with-mpc=PATH specify prefix directory for installed MPC package.
1587 Equivalent to --with-mpc-include=PATH/include plus
1588 --with-mpc-lib=PATH/lib
1589 --with-mpc-include=PATH specify directory for installed MPC include files
1590 --with-mpc-lib=PATH specify directory for the installed MPC library
1591 --with-mpfr-dir=PATH this option has been REMOVED
1592 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1593 Equivalent to --with-mpfr-include=PATH/include plus
1594 --with-mpfr-lib=PATH/lib
1595 --with-mpfr-include=PATH
1596 specify directory for installed MPFR include files
1597 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1598 --with-gmp-dir=PATH this option has been REMOVED
1599 --with-gmp=PATH specify prefix directory for the installed GMP
1600 package. Equivalent to
1601 --with-gmp-include=PATH/include plus
1602 --with-gmp-lib=PATH/lib
1603 --with-gmp-include=PATH specify directory for installed GMP include files
1604 --with-gmp-lib=PATH specify directory for the installed GMP library
1605 --with-stage1-libs=LIBS libraries for stage1
1606 --with-static-standard-libraries
1607 use -static-libstdc++ and -static-libgcc
1609 --with-stage1-ldflags=FLAGS
1610 linker flags for stage1
1611 --with-boot-libs=LIBS libraries for stage2 and later
1612 --with-boot-ldflags=FLAGS
1613 linker flags for stage2 and later
1614 --with-isl=PATH Specify prefix directory for the installed isl
1615 package. Equivalent to
1616 --with-isl-include=PATH/include plus
1617 --with-isl-lib=PATH/lib
1618 --with-isl-include=PATH Specify directory for installed isl include files
1619 --with-isl-lib=PATH Specify the directory for the installed isl library
1620 --with-target-bdw-gc=PATHLIST
1621 specify prefix directory for installed bdw-gc
1622 package. Equivalent to
1623 --with-target-bdw-gc-include=PATH/include plus
1624 --with-target-bdw-gc-lib=PATH/lib
1625 --with-target-bdw-gc-include=PATHLIST
1626 specify directories for installed bdw-gc include
1628 --with-target-bdw-gc-lib=PATHLIST
1629 specify directories for installed bdw-gc library
1630 --with-gcc-major-version-only
1631 use only GCC major number in filesystem paths
1632 --with-build-sysroot=SYSROOT
1633 use sysroot as the system root during the build
1634 --with-debug-prefix-map='A
=B C
=D ...
'
1635 map A to B, C to D ... in debug information
1636 --with-build-config='NAME NAME2...
'
1637 use config/NAME.mk build configuration
1638 --with-build-time-tools=PATH
1639 use given path to find target tools during the build
1641 Some influential environment variables:
1642 CC C compiler command
1643 CFLAGS C compiler flags
1644 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1645 nonstandard directory <lib dir>
1646 LIBS libraries to pass to the linker, e.g. -l<library>
1647 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1648 you have headers in a nonstandard directory <include dir>
1649 CXX C++ compiler command
1650 CXXFLAGS C++ compiler flags
1652 additional configure arguments for build directories
1654 additional configure arguments for host directories
1656 additional configure arguments for target directories
1659 DLLTOOL DLLTOOL for the host
1660 DSYMUTIL DSYMUTIL for the host
1662 LIPO LIPO for the host
1664 RANLIB RANLIB for the host
1665 STRIP STRIP for the host
1666 WINDRES WINDRES for the host
1667 WINDMC WINDMC for the host
1668 OBJCOPY OBJCOPY for the host
1669 OBJDUMP OBJDUMP for the host
1670 OTOOL OTOOL for the host
1671 READELF READELF for the host
1679 GFORTRAN for the target
1689 DLLTOOL for the target
1691 DSYMUTIL for the target
1699 OBJCOPY for the target
1701 OBJDUMP for the target
1703 OTOOL for the target
1705 RANLIB for the target
1707 READELF for the target
1709 STRIP for the target
1711 WINDRES for the target
1713 WINDMC for the target
1715 Use these variables to override the choices made by `configure' or to
help
1716 it to
find libraries and programs with nonstandard names
/locations.
1718 Report bugs to the package provider.
1723 if test "$ac_init_help" = "recursive"; then
1724 # If there are subdirs, report their specific --help.
1725 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1726 test -d "$ac_dir" ||
1727 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1732 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1734 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1735 # A ".." for each directory in $ac_dir_suffix.
1736 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1737 case $ac_top_builddir_sub in
1738 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1739 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1742 ac_abs_top_builddir
=$ac_pwd
1743 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1744 # for backward compatibility:
1745 ac_top_builddir
=$ac_top_build_prefix
1748 .
) # We are building in place.
1750 ac_top_srcdir
=$ac_top_builddir_sub
1751 ac_abs_top_srcdir
=$ac_pwd ;;
1752 [\\/]* | ?
:[\\/]* ) # Absolute name.
1753 ac_srcdir
=$srcdir$ac_dir_suffix;
1754 ac_top_srcdir
=$srcdir
1755 ac_abs_top_srcdir
=$srcdir ;;
1757 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1758 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1759 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1761 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1763 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1764 # Check for guested configure.
1765 if test -f "$ac_srcdir/configure.gnu"; then
1767 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1768 elif test -f "$ac_srcdir/configure"; then
1770 $SHELL "$ac_srcdir/configure" --help=recursive
1772 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1774 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1778 test -n "$ac_init_help" && exit $ac_status
1779 if $ac_init_version; then
1782 generated by GNU Autoconf
2.69
1784 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1785 This configure
script is free software
; the Free Software Foundation
1786 gives unlimited permission to copy
, distribute and modify it.
1791 ## ------------------------ ##
1792 ## Autoconf initialization. ##
1793 ## ------------------------ ##
1795 # ac_fn_c_try_compile LINENO
1796 # --------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_compile
()
1800 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1801 rm -f conftest.
$ac_objext
1802 if { { ac_try
="$ac_compile"
1804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1805 *) ac_try_echo=$ac_try;;
1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err; then
1812 grep -v '^ *+' conftest.err >conftest.er1
1813 cat conftest.er1 >&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_c_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status $ac_retval
1831 } # ac_fn_c_try_compile
1833 # ac_fn_cxx_try_compile LINENO
1834 # ----------------------------
1835 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_cxx_try_compile ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 rm -f conftest.$ac_objext
1840 if { { ac_try="$ac_compile"
1842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1843 *) ac_try_echo
=$ac_try;;
1845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_compile") 2>conftest.err
1849 if test -s conftest.err
; then
1850 grep -v '^ *+' conftest.err
>conftest.er1
1851 cat conftest.er1
>&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_cxx_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest.
$ac_objext; then :
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.
$ac_ext >&5
1866 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867 as_fn_set_status
$ac_retval
1869 } # ac_fn_cxx_try_compile
1871 # ac_fn_cxx_try_link LINENO
1872 # -------------------------
1873 # Try to link conftest.$ac_ext, and return whether this succeeded.
1874 ac_fn_cxx_try_link
()
1876 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1877 rm -f conftest.
$ac_objext conftest
$ac_exeext
1878 if { { ac_try
="$ac_link"
1880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_link") 2>conftest.err
1887 if test -s conftest.err; then
1888 grep -v '^ *+' conftest.err >conftest.er1
1889 cat conftest.er1 >&5
1890 mv -f conftest.er1 conftest.err
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } && {
1894 test -z "$ac_cxx_werror_flag" ||
1895 test ! -s conftest.err
1896 } && test -s conftest$ac_exeext && {
1897 test "$cross_compiling" = yes ||
1898 test -x conftest$ac_exeext
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1907 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1908 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1909 # interfere with the next link command; also delete a directory that is
1910 # left behind by Apple's compiler. We do this before executing the actions.
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 as_fn_set_status $ac_retval
1915 } # ac_fn_cxx_try_link
1917 # ac_fn_c_try_link LINENO
1918 # -----------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded.
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 rm -f conftest.$ac_objext conftest$ac_exeext
1924 if { { ac_try="$ac_link"
1926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1927 *) ac_try_echo
=$ac_try;;
1929 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>conftest.err
1933 if test -s conftest.err
; then
1934 grep -v '^ *+' conftest.err
>conftest.er1
1935 cat conftest.er1
>&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_c_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest
$ac_exeext && {
1943 test "$cross_compiling" = yes ||
1944 test -x conftest
$ac_exeext
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1953 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1954 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1955 # interfere with the next link command; also delete a directory that is
1956 # left behind by Apple's compiler. We do this before executing the actions.
1957 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1959 as_fn_set_status
$ac_retval
1961 } # ac_fn_c_try_link
1962 cat >config.log
<<_ACEOF
1963 This file contains any messages produced by compilers while
1964 running configure, to aid debugging if configure makes a mistake.
1966 It was created by $as_me, which was
1967 generated by GNU Autoconf 2.69. Invocation command line was
1979 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1980 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1981 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1982 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1983 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1985 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1986 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1988 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1989 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1990 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1991 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1992 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1993 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1994 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir
=.
2003 $as_echo "PATH: $as_dir"
2019 # Keep a trace of the command line.
2020 # Strip out --no-create and --no-recursion so they do not pile up.
2021 # Strip out --silent because we don't want to record it for future runs.
2022 # Also quote any args containing shell meta-characters.
2023 # Make two passes to allow for proper duplicate-argument suppression.
2027 ac_must_keep_next
=false
2033 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2034 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2035 |
-silent |
--silent |
--silen |
--sile |
--sil)
2038 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2041 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2043 as_fn_append ac_configure_args1
" '$ac_arg'"
2044 if test $ac_must_keep_next = true
; then
2045 ac_must_keep_next
=false
# Got value, back to normal.
2048 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2049 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2050 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2051 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2052 case "$ac_configure_args0 " in
2053 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056 -* ) ac_must_keep_next
=true
;;
2059 as_fn_append ac_configure_args
" '$ac_arg'"
2064 { ac_configure_args0
=; unset ac_configure_args0
;}
2065 { ac_configure_args1
=; unset ac_configure_args1
;}
2067 # When interrupted or exit'd, cleanup temporary files, and complete
2068 # config.log. We remove comments because anyway the quotes in there
2069 # would cause problems or look ugly.
2070 # WARNING: Use '\'' to represent an apostrophe within the trap.
2071 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2072 trap 'exit_status=$?
2073 # Save into config.log some information that might help in debugging.
2077 $as_echo "## ---------------- ##
2078 ## Cache variables. ##
2079 ## ---------------- ##"
2081 # The following way of writing the cache mishandles newlines in values,
2083 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2084 eval ac_val=\$$ac_var
2088 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2089 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2092 _ | IFS | as_nl) ;; #(
2093 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2094 *) { eval $ac_var=; unset $ac_var;} ;;
2099 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2100 *${as_nl}ac_space=\ *)
2102 "s/'\''/'\''\\\\'\'''\''/g;
2103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2106 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2113 $as_echo "## ----------------- ##
2114 ## Output variables. ##
2115 ## ----------------- ##"
2117 for ac_var in $ac_subst_vars
2119 eval ac_val=\$$ac_var
2121 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2123 $as_echo "$ac_var='\''$ac_val'\''"
2127 if test -n "$ac_subst_files"; then
2128 $as_echo "## ------------------- ##
2129 ## File substitutions. ##
2130 ## ------------------- ##"
2132 for ac_var
in $ac_subst_files
2134 eval ac_val
=\$
$ac_var
2136 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2138 $as_echo "$ac_var='\''$ac_val'\''"
2143 if test -s confdefs.h; then
2144 $as_echo "## ----------- ##
2151 test "$ac_signal" != 0 &&
2152 $as_echo "$as_me: caught signal $ac_signal"
2153 $as_echo "$as_me: exit $exit_status"
2155 rm -f core *.core core.conftest.* &&
2156 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159 for ac_signal
in 1 2 13 15; do
2160 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2164 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2165 rm -f -r conftest
* confdefs.h
2167 $as_echo "/* confdefs.h */" > confdefs.h
2169 # Predefined preprocessor variables.
2171 cat >>confdefs.h
<<_ACEOF
2172 #define PACKAGE_NAME "$PACKAGE_NAME"
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179 cat >>confdefs.h
<<_ACEOF
2180 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2183 cat >>confdefs.h
<<_ACEOF
2184 #define PACKAGE_STRING "$PACKAGE_STRING"
2187 cat >>confdefs.h
<<_ACEOF
2188 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191 cat >>confdefs.h
<<_ACEOF
2192 #define PACKAGE_URL "$PACKAGE_URL"
2196 # Let the site file select an alternate cache file if it wants to.
2197 # Prefer an explicitly selected file to automatically selected ones.
2200 if test -n "$CONFIG_SITE"; then
2201 # We do not want a PATH search for config.site.
2202 case $CONFIG_SITE in #((
2203 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2204 */*) ac_site_file1
=$CONFIG_SITE;;
2205 *) ac_site_file1
=.
/$CONFIG_SITE;;
2207 elif test "x$prefix" != xNONE
; then
2208 ac_site_file1
=$prefix/share
/config.site
2209 ac_site_file2
=$prefix/etc
/config.site
2211 ac_site_file1
=$ac_default_prefix/share
/config.site
2212 ac_site_file2
=$ac_default_prefix/etc
/config.site
2214 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2216 test "x$ac_site_file" = xNONE
&& continue
2217 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2219 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2220 sed 's/^/| /' "$ac_site_file" >&5
2222 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2224 as_fn_error $?
"failed to load site script $ac_site_file
2225 See \`config.log' for more details" "$LINENO" 5; }
2229 if test -r "$cache_file"; then
2230 # Some versions of bash will fail to source /dev/null (special files
2231 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2232 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234 $as_echo "$as_me: loading cache $cache_file" >&6;}
2236 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2237 *) .
"./$cache_file";;
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2242 $as_echo "$as_me: creating cache $cache_file" >&6;}
2246 # Check that the precious variables saved in the cache have kept the same
2248 ac_cache_corrupted
=false
2249 for ac_var
in $ac_precious_vars; do
2250 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2251 eval ac_new_set
=\
$ac_env_${ac_var}_set
2252 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2253 eval ac_new_val
=\
$ac_env_${ac_var}_value
2254 case $ac_old_set,$ac_new_set in
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2257 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2258 ac_cache_corrupted
=: ;;
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2261 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2262 ac_cache_corrupted
=: ;;
2265 if test "x$ac_old_val" != "x$ac_new_val"; then
2266 # differences in whitespace do not lead to failure.
2267 ac_old_val_w
=`echo x $ac_old_val`
2268 ac_new_val_w
=`echo x $ac_new_val`
2269 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2271 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2272 ac_cache_corrupted
=:
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2275 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2276 eval $ac_var=\
$ac_old_val
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2279 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2281 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2284 # Pass precious variables to config.status.
2285 if test "$ac_new_set" = set; then
2287 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2288 *) ac_arg
=$ac_var=$ac_new_val ;;
2290 case " $ac_configure_args " in
2291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2292 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2296 if $ac_cache_corrupted; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2300 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2301 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303 ## -------------------- ##
2304 ## Main body of script. ##
2305 ## -------------------- ##
2308 ac_cpp
='$CPP $CPPFLAGS'
2309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2321 # if PWD already has a value, it is probably wrong.
2322 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2324 # Export original configure arguments for use by sub-configures.
2325 # Quote arguments with shell meta charatcers.
2326 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2327 set -- "$progname" "$@"
2331 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2332 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2333 # if the argument is of the form -foo=baz, quote the baz part only
2334 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2337 # Add the quoted argument to the list.
2338 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2340 if test "$silent" = yes; then
2341 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2343 # Remove the initial space we just introduced and, as these will be
2344 # expanded by make, quote '$'.
2345 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2348 # Find the build, host, and target systems.
2350 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2351 if test -f "$ac_dir/install-sh"; then
2353 ac_install_sh
="$ac_aux_dir/install-sh -c"
2355 elif test -f "$ac_dir/install.sh"; then
2357 ac_install_sh
="$ac_aux_dir/install.sh -c"
2359 elif test -f "$ac_dir/shtool"; then
2361 ac_install_sh
="$ac_aux_dir/shtool install -c"
2365 if test -z "$ac_aux_dir"; then
2366 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2369 # These three variables are undocumented and unsupported,
2370 # and are intended to be withdrawn in a future Autoconf release.
2371 # They can cause serious problems if a builder's source tree is in a directory
2372 # whose full name contains unusual characters.
2373 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2374 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2375 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2378 # Make sure we can run config.sub.
2379 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2380 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2383 $as_echo_n "checking build system type... " >&6; }
2384 if ${ac_cv_build+:} false
; then :
2385 $as_echo_n "(cached) " >&6
2387 ac_build_alias
=$build_alias
2388 test "x$ac_build_alias" = x
&&
2389 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2390 test "x$ac_build_alias" = x
&&
2391 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2392 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2393 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2397 $as_echo "$ac_cv_build" >&6; }
2398 case $ac_cv_build in
2400 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2403 ac_save_IFS
=$IFS; IFS
='-'
2409 # Remember, the first character of IFS is used to create $*,
2410 # except with old shells:
2413 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2416 case ${build_alias} in
2417 "") build_noncanonical
=${build} ;;
2418 *) build_noncanonical
=${build_alias} ;;
2423 case ${host_alias} in
2424 "") host_noncanonical
=${build_noncanonical} ;;
2425 *) host_noncanonical
=${host_alias} ;;
2430 case ${target_alias} in
2431 "") target_noncanonical
=${host_noncanonical} ;;
2432 *) target_noncanonical
=${target_alias} ;;
2438 test "$host_noncanonical" = "$target_noncanonical" &&
2439 test "$program_prefix$program_suffix$program_transform_name" = \
2441 program_transform_name
=s
,y
,y
,
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2444 $as_echo_n "checking host system type... " >&6; }
2445 if ${ac_cv_host+:} false
; then :
2446 $as_echo_n "(cached) " >&6
2448 if test "x$host_alias" = x
; then
2449 ac_cv_host
=$ac_cv_build
2451 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2452 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2457 $as_echo "$ac_cv_host" >&6; }
2460 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2463 ac_save_IFS
=$IFS; IFS
='-'
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2473 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2477 $as_echo_n "checking target system type... " >&6; }
2478 if ${ac_cv_target+:} false
; then :
2479 $as_echo_n "(cached) " >&6
2481 if test "x$target_alias" = x
; then
2482 ac_cv_target
=$ac_cv_host
2484 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2485 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2490 $as_echo "$ac_cv_target" >&6; }
2491 case $ac_cv_target in
2493 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2495 target
=$ac_cv_target
2496 ac_save_IFS
=$IFS; IFS
='-'
2502 # Remember, the first character of IFS is used to create $*,
2503 # except with old shells:
2506 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2509 # The aliases save the names the user supplied, while $host etc.
2510 # will get canonicalized.
2511 test -n "$target_alias" &&
2512 test "$program_prefix$program_suffix$program_transform_name" = \
2514 program_prefix
=${target_alias}-
2516 test "$program_prefix" != NONE
&&
2517 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2518 # Use a double $ so make ignores it.
2519 test "$program_suffix" != NONE
&&
2520 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2521 # Double any \ or $.
2522 # By default was `s,x,x', remove it if useless.
2523 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2524 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2528 # Get 'install' or 'install-sh' and its variants.
2529 # Find a good install program. We prefer a C program (faster),
2530 # so one script is as good as another. But avoid the broken or
2531 # incompatible versions:
2532 # SysV /etc/install, /usr/sbin/install
2533 # SunOS /usr/etc/install
2534 # IRIX /sbin/install
2536 # AmigaOS /C/install, which installs bootblocks on floppy discs
2537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2540 # OS/2's system install, which has a completely different semantic
2541 # ./install, which can be erroneously created by make from ./install.sh.
2542 # Reject install programs that cannot install multiple files.
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2544 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2545 if test -z "$INSTALL"; then
2546 if ${ac_cv_path_install+:} false
; then :
2547 $as_echo_n "(cached) " >&6
2549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir
=.
2554 # Account for people who put trailing slashes in PATH elements.
2555 case $as_dir/ in #((
2556 .
/ | .
// |
/[cC
]/* | \
2557 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2558 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2561 # OSF1 and SCO ODT 3.0 have their own names for install.
2562 # Don't use installbsd from OSF since it installs stuff as root
2564 for ac_prog
in ginstall scoinst
install; do
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2567 if test $ac_prog = install &&
2568 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2569 # AIX install. It has an incompatible calling convention.
2571 elif test $ac_prog = install &&
2572 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2573 # program-specific install script used by HP pwplus--don't use.
2576 rm -rf conftest.one conftest.two conftest.dir
2577 echo one
> conftest.one
2578 echo two
> conftest.two
2580 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2581 test -s conftest.one
&& test -s conftest.two
&&
2582 test -s conftest.dir
/conftest.one
&&
2583 test -s conftest.dir
/conftest.two
2585 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2598 rm -rf conftest.one conftest.two conftest.dir
2601 if test "${ac_cv_path_install+set}" = set; then
2602 INSTALL
=$ac_cv_path_install
2604 # As a last resort, use the slow shell script. Don't cache a
2605 # value for INSTALL within a source directory, because that will
2606 # break other packages using the cache if that directory is
2607 # removed, or if the value is a relative name.
2608 INSTALL
=$ac_install_sh
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2612 $as_echo "$INSTALL" >&6; }
2614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2615 # It thinks the first close brace ends the variable substitution.
2616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2620 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2623 $as_echo_n "checking whether ln works... " >&6; }
2624 if ${acx_cv_prog_LN+:} false
; then :
2625 $as_echo_n "(cached) " >&6
2627 rm -f conftestdata_t
2628 echo >conftestdata_f
2629 if ln conftestdata_f conftestdata_t
2>/dev
/null
2635 rm -f conftestdata_f conftestdata_t
2638 if test $acx_cv_prog_LN = no
; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2641 $as_echo "no, using $LN" >&6; }
2643 LN
="$acx_cv_prog_LN"
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2645 $as_echo "yes" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2649 $as_echo_n "checking whether ln -s works... " >&6; }
2651 if test "$LN_S" = "ln -s"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2653 $as_echo "yes" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2656 $as_echo "no, using $LN_S" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2660 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2661 if ${ac_cv_path_SED+:} false
; then :
2662 $as_echo_n "(cached) " >&6
2664 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2665 for ac_i
in 1 2 3 4 5 6 7; do
2666 ac_script
="$ac_script$as_nl$ac_script"
2668 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2669 { ac_script
=; unset ac_script
;}
2670 if test -z "$SED"; then
2671 ac_path_SED_found
=false
2672 # Loop through the user's path and test for each of PROGNAME-LIST
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_prog
in sed gsed
; do
2679 for ac_exec_ext
in '' $ac_executable_extensions; do
2680 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2681 as_fn_executable_p
"$ac_path_SED" ||
continue
2682 # Check for GNU ac_path_SED and select it if it is found.
2683 # Check for GNU $ac_path_SED
2684 case `"$ac_path_SED" --version 2>&1` in
2686 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2689 $as_echo_n 0123456789 >"conftest.in"
2692 cat "conftest.in" "conftest.in" >"conftest.tmp"
2693 mv "conftest.tmp" "conftest.in"
2694 cp "conftest.in" "conftest.nl"
2695 $as_echo '' >> "conftest.nl"
2696 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2697 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2698 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2699 if test $ac_count -gt ${ac_path_SED_max-0}; then
2700 # Best one so far, save it but keep looking for a better one
2701 ac_cv_path_SED
="$ac_path_SED"
2702 ac_path_SED_max
=$ac_count
2704 # 10*(2^10) chars as input seems more than enough
2705 test $ac_count -gt 10 && break
2707 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2710 $ac_path_SED_found && break 3
2715 if test -z "$ac_cv_path_SED"; then
2716 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2724 $as_echo "$ac_cv_path_SED" >&6; }
2725 SED
="$ac_cv_path_SED"
2728 for ac_prog
in gawk mawk nawk
awk
2730 # Extract the first word of "$ac_prog", so it can be a program name with args.
2731 set dummy
$ac_prog; ac_word
=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_AWK+:} false
; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$AWK"; then
2738 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 test -z "$as_dir" && as_dir
=.
2745 for ac_exec_ext
in '' $ac_executable_extensions; do
2746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2747 ac_cv_prog_AWK
="$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 if test -n "$AWK"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2760 $as_echo "$AWK" >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2767 test -n "$AWK" && break
2771 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2773 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2775 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2776 INSTALL
="${srcpwd}/install-sh -c"
2779 # Set srcdir to "." if that's what it is.
2780 # This is important for multilib support.
2782 if test "${pwd}" = "${srcpwd}" ; then
2790 ### To add a new directory to the tree, first choose whether it is a target
2791 ### or a host dependent tool. Then put it into the appropriate list
2792 ### (library or tools, host or target), doing a dependency sort.
2794 # Subdirs will be configured in the order listed in build_configdirs,
2795 # configdirs, or target_configdirs; see the serialization section below.
2797 # Dependency sorting is only needed when *configuration* must be done in
2798 # a particular order. In all cases a dependency should be specified in
2799 # the Makefile, whether or not it's implicitly specified here.
2801 # Double entries in build_configdirs, configdirs, or target_configdirs may
2802 # cause circular dependencies and break everything horribly.
2804 # these library is used by various programs built for the build
2807 build_libs
="build-libiberty build-libcpp"
2809 # these tools are built for the build environment
2810 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2812 # these libraries are used by various programs built for the host environment
2814 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2816 # these tools are built for the host environment
2817 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2818 # know that we are building the simulator.
2819 # binutils, gas and ld appear in that order because it makes sense to run
2820 # "make check" in that particular order.
2821 # If --enable-gold is used, "gold" may replace "ld".
2822 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"
2824 # these libraries are built for the target environment, and are built after
2825 # the host libraries and the host tools (which may be a cross compiler)
2826 # Note that libiberty is not a target library.
2827 target_libraries
="target-libgcc \
2828 target-libbacktrace \
2832 target-liboffloadmic \
2835 target-libstdc++-v3 \
2836 target-libsanitizer \
2839 target-libquadmath \
2840 target-libgfortran \
2848 # these tools are built using the target libraries, and are intended to
2849 # run only in the target environment
2851 # note: any program that *uses* libraries that are in the "target_libraries"
2852 # list belongs in this list.
2854 target_tools
="target-rda"
2856 ################################################################################
2858 ## All tools belong in one of the four categories, and are assigned above
2859 ## We assign ${configdirs} this way to remove all embedded newlines. This
2860 ## is important because configure will choke if they ever get through.
2861 ## ${configdirs} is directories we build using the host tools.
2862 ## ${target_configdirs} is directories we build using the target tools.
2863 configdirs
=`echo ${host_libs} ${host_tools}`
2864 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2865 build_configdirs
=`echo ${build_libs} ${build_tools}`
2869 ################################################################################
2871 srcname
="gnu development package"
2873 # This gets set non-empty for some net releases of packages.
2876 # Define is_cross_compiler to save on calls to 'test'.
2878 if test x
"${host}" = x
"${target}" ; then
2879 is_cross_compiler
=no
2881 is_cross_compiler
=yes
2884 # Find the build and target subdir names.
2886 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2887 # have matching libraries, they should use host libraries: Makefile.tpl
2888 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2889 # However, they still use the build modules, because the corresponding
2890 # host modules (e.g. bison) are only built for the host when bootstrap
2892 # - build_subdir is where we find build modules, and never changes.
2893 # - build_libsubdir is where we find build libraries, and can be overridden.
2895 # Prefix 'build-' so this never conflicts with target_subdir.
2896 build_subdir
="build-${build_noncanonical}"
2898 # Check whether --with-build-libsubdir was given.
2899 if test "${with_build_libsubdir+set}" = set; then :
2900 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2902 build_libsubdir
="$build_subdir"
2905 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2906 if ( test $srcdir = .
&& test -d gcc
) \
2907 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2908 host_subdir
="host-${host_noncanonical}"
2913 target_subdir
=${target_noncanonical}
2915 # Be sure to cover against remnants of an in-tree build.
2916 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2917 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2918 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2921 # Skipdirs are removed silently.
2923 # Noconfigdirs are removed loudly.
2927 # Make sure we don't let GNU ld be added if we didn't want it.
2928 if test x
$with_gnu_ld = xno
; then
2930 noconfigdirs
="$noconfigdirs ld gold"
2934 # Make sure we don't let GNU as be added if we didn't want it.
2935 if test x
$with_gnu_as = xno
; then
2937 noconfigdirs
="$noconfigdirs gas"
2942 # Check whether --with-system-zlib was given.
2943 if test "${with_system_zlib+set}" = set; then :
2944 withval
=$with_system_zlib;
2947 # Make sure we don't let ZLIB be added if we didn't want it.
2948 if test x
$with_system_zlib = xyes
; then
2949 use_included_zlib
=no
2950 noconfigdirs
="$noconfigdirs zlib"
2953 # some tools are so dependent upon X11 that if we're not building with X,
2954 # it's not even worth trying to configure, much less build, that tool.
2957 yes |
"") ;; # the default value for this tree is that X11 is available
2959 skipdirs
="${skipdirs} tk itcl libgui"
2960 # We won't be able to build gdbtk without X.
2963 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2966 # Some are only suitable for cross toolchains.
2967 # Remove these if host=target.
2968 cross_only
="target-libgloss target-newlib target-opcodes"
2970 case $is_cross_compiler in
2971 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2974 # If both --with-headers and --with-libs are specified, default to
2976 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2977 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2978 if test x
"${with_newlib}" = x
; then
2983 # Recognize --with-newlib/--without-newlib.
2984 case ${with_newlib} in
2985 no
) skipdirs
="${skipdirs} target-newlib" ;;
2986 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2989 # Check whether --enable-as-accelerator-for was given.
2990 if test "${enable_as_accelerator_for+set}" = set; then :
2991 enableval
=$enable_as_accelerator_for;
2995 # Check whether --enable-offload-targets was given.
2996 if test "${enable_offload_targets+set}" = set; then :
2997 enableval
=$enable_offload_targets;
2998 if test x
"$enable_offload_targets" = x
; then
2999 as_fn_error $?
"no offload targets specified" "$LINENO" 5
3003 enable_offload_targets
=
3007 # Check whether --enable-offload-defaulted was given.
3008 if test "${enable_offload_defaulted+set}" = set; then :
3009 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
3011 enable_offload_defaulted
=
3015 # Handle --enable-gold, --enable-ld.
3016 # --disable-gold [--enable-ld]
3017 # Build only ld. Default option.
3018 # --enable-gold [--enable-ld]
3019 # Build both gold and ld. Install gold as "ld.gold", install ld
3020 # as "ld.bfd" and "ld".
3021 # --enable-gold=default [--enable-ld]
3022 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3023 # install ld as "ld.bfd".
3024 # --enable-gold[=default] --disable-ld
3025 # Build only gold, which is then installed as both "ld.gold" and "ld".
3026 # --enable-gold --enable-ld=default
3027 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3029 # In other words, ld is default
3030 # --enable-gold=default --enable-ld=default
3034 # Check whether --enable-gold was given.
3035 if test "${enable_gold+set}" = set; then :
3036 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3041 case "${ENABLE_GOLD}" in
3043 # Check for ELF target.
3046 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3047 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3048 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3049 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3051 *-*-linux*aout
* |
*-*-linux*oldld
*)
3059 if test "$is_elf" = "yes"; then
3060 # Check for target supported by gold.
3062 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3063 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3064 configdirs
="$configdirs gold"
3065 if test x
${ENABLE_GOLD} = xdefault
; then
3076 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3080 # Check whether --enable-ld was given.
3081 if test "${enable_ld+set}" = set; then :
3082 enableval
=$enable_ld; ENABLE_LD
=$enableval
3088 case "${ENABLE_LD}" in
3090 if test x
${default_ld} != x
; then
3091 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3097 if test x
${ENABLE_GOLD} != xyes
; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3099 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3101 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3104 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3109 # Decide the default method for compressing debug sections.
3110 # Provide a configure time option to override our default.
3111 # Check whether --enable-compressed_debug_sections was given.
3112 if test "${enable_compressed_debug_sections+set}" = set; then :
3113 enableval
=$enable_compressed_debug_sections;
3114 if test x
"$enable_compressed_debug_sections" = xyes
; then
3115 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3119 enable_compressed_debug_sections
=
3123 # Configure extra directories which are host specific
3127 configdirs
="$configdirs libtermcap" ;;
3130 # A target can indicate whether a language isn't supported for some reason.
3131 # Only spaces may be used in this macro; not newlines or tabs.
3132 unsupported_languages
=
3134 # Remove more programs from consideration, based on the host or
3135 # target this usually means that a port of the program doesn't
3139 i
[3456789]86-*-msdosdjgpp*)
3140 noconfigdirs
="$noconfigdirs tcl tk itcl"
3145 # Check whether --enable-libquadmath was given.
3146 if test "${enable_libquadmath+set}" = set; then :
3147 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3149 ENABLE_LIBQUADMATH
=yes
3152 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3153 noconfigdirs
="$noconfigdirs target-libquadmath"
3157 # Check whether --enable-libquadmath-support was given.
3158 if test "${enable_libquadmath_support+set}" = set; then :
3159 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3161 ENABLE_LIBQUADMATH_SUPPORT
=yes
3164 enable_libquadmath_support
=
3165 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3166 enable_libquadmath_support
=no
3170 # Check whether --enable-libada was given.
3171 if test "${enable_libada+set}" = set; then :
3172 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3177 if test "${ENABLE_LIBADA}" != "yes" ; then
3178 noconfigdirs
="$noconfigdirs gnattools"
3181 # Check whether --enable-libssp was given.
3182 if test "${enable_libssp+set}" = set; then :
3183 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3189 # Check whether --enable-libstdcxx was given.
3190 if test "${enable_libstdcxx+set}" = set; then :
3191 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3193 ENABLE_LIBSTDCXX
=default
3196 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3197 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3200 # If this is accelerator compiler and its target is intelmic we enable
3201 # target liboffloadmic by default. If this is compiler with offloading
3202 # for intelmic we enable host liboffloadmic by default. Otherwise
3203 # liboffloadmic is disabled by default.
3204 # Check whether --enable-liboffloadmic was given.
3205 if test "${enable_liboffloadmic+set}" = set; then :
3206 enableval
=$enable_liboffloadmic; case "$enableval" in
3208 enable_liboffloadmic
=$enableval ;;
3210 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3213 if test x
"$enable_as_accelerator_for" != x
; then
3215 *-intelmic-* |
*-intelmicemul-*)
3216 enable_liboffloadmic
=target
3217 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3220 enable_liboffloadmic
=no
3224 case "${enable_offload_targets}" in
3225 *-intelmic-* |
*-intelmicemul-*)
3226 enable_liboffloadmic
=host
3227 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3230 enable_liboffloadmic
=no
3238 # Enable libgomp by default on hosted POSIX systems, and a few others.
3239 if test x
$enable_libgomp = x
; then
3241 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3243 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3245 *-*-solaris2* |
*-*-hpux11*)
3247 *-*-darwin* |
*-*-aix*)
3249 nvptx
*-*-* | amdgcn
*-*-*)
3252 noconfigdirs
="$noconfigdirs target-libgomp"
3257 # Disable libatomic on unsupported systems.
3258 if test -d ${srcdir}/libatomic
; then
3259 if test x
$enable_libatomic = x
; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3261 $as_echo_n "checking for libatomic support... " >&6; }
3262 if (srcdir
=${srcdir}/libatomic
; \
3263 .
${srcdir}/configure.tgt
; \
3264 test -n "$UNSUPPORTED")
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3268 noconfigdirs
="$noconfigdirs target-libatomic"
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3271 $as_echo "yes" >&6; }
3276 # Disable liboffloadmic on unsupported systems.
3277 if test -d ${srcdir}/liboffloadmic
; then
3278 if test x
$enable_liboffloadmic != xno
; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3280 $as_echo_n "checking for liboffloadmic support... " >&6; }
3281 if (srcdir
=${srcdir}/liboffloadmic
; \
3282 .
${srcdir}/configure.tgt
; \
3283 test -n "$UNSUPPORTED")
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3290 $as_echo "yes" >&6; }
3295 # Disable libitm on unsupported systems.
3296 if test -d ${srcdir}/libitm
; then
3297 if test x
$enable_libitm = x
; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3299 $as_echo_n "checking for libitm support... " >&6; }
3300 if (srcdir
=${srcdir}/libitm
; \
3301 .
${srcdir}/configure.tgt
; \
3302 test -n "$UNSUPPORTED")
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3306 noconfigdirs
="$noconfigdirs target-libitm"
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309 $as_echo "yes" >&6; }
3314 # Disable libsanitizer on unsupported systems.
3315 if test -d ${srcdir}/libsanitizer
; then
3316 if test x
$enable_libsanitizer = x
; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3318 $as_echo_n "checking for libsanitizer support... " >&6; }
3319 if (srcdir
=${srcdir}/libsanitizer
; \
3320 .
${srcdir}/configure.tgt
; \
3321 test -n "$UNSUPPORTED")
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 noconfigdirs
="$noconfigdirs target-libsanitizer"
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3328 $as_echo "yes" >&6; }
3333 # Disable libvtv on unsupported systems.
3334 if test -d ${srcdir}/libvtv
; then
3335 if test x
$enable_libvtv = x
; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3337 $as_echo_n "checking for libvtv support... " >&6; }
3338 if (srcdir
=${srcdir}/libvtv
; \
3339 .
${srcdir}/configure.tgt
; \
3340 test "$VTV_SUPPORTED" != "yes")
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 noconfigdirs
="$noconfigdirs target-libvtv"
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3347 $as_echo "yes" >&6; }
3352 # Disable libquadmath for some systems.
3355 noconfigdirs
="$noconfigdirs target-libquadmath"
3357 # libquadmath is unused on AIX and libquadmath build process use of
3358 # LD_LIBRARY_PATH can break AIX bootstrap.
3359 powerpc-
*-aix* | rs6000-
*-aix*)
3360 noconfigdirs
="$noconfigdirs target-libquadmath"
3364 # Disable libssp for some systems.
3367 # No hosted I/O support.
3368 noconfigdirs
="$noconfigdirs target-libssp"
3371 noconfigdirs
="$noconfigdirs target-libssp"
3373 powerpc-
*-aix* | rs6000-
*-aix*)
3374 noconfigdirs
="$noconfigdirs target-libssp"
3377 # No hosted I/O support.
3378 noconfigdirs
="$noconfigdirs target-libssp"
3381 # libssp uses a misaligned load to trigger a fault, but the RL78
3382 # doesn't fault for those - instead, it gives a build-time error
3383 # for explicit misaligned loads.
3384 noconfigdirs
="$noconfigdirs target-libssp"
3387 # No hosted I/O support.
3388 noconfigdirs
="$noconfigdirs target-libssp"
3392 # Disable libstdc++-v3 for some systems.
3393 # Allow user to override this if they pass --enable-libstdc++-v3
3394 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3397 # VxWorks uses the Dinkumware C++ library.
3398 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3401 # Not ported/fails to build when using newlib.
3402 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3405 # the C++ libraries don't build on top of CE's C libraries
3406 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3409 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3412 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3415 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3420 # Disable C++ on systems where it is known to not work.
3421 # For testing, you can override this with --enable-languages=c++.
3422 case ,${enable_languages}, in
3428 unsupported_languages
="$unsupported_languages c++"
3434 # Disable Objc on systems where it is known to not work.
3435 # For testing, you can override this with --enable-languages=objc.
3436 case ,${enable_languages}, in
3442 unsupported_languages
="$unsupported_languages objc"
3448 # Disable D on systems where it is known to not work.
3449 # For testing, you can override this with --enable-languages=d.
3450 case ,${enable_languages}, in
3456 unsupported_languages
="$unsupported_languages d"
3462 # Disable libphobos on unsupported systems.
3463 # For testing, you can override this with --enable-libphobos.
3464 if test -d ${srcdir}/libphobos
; then
3465 if test x
$enable_libphobos = x
; then
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3467 $as_echo_n "checking for libphobos support... " >&6; }
3468 if (srcdir
=${srcdir}/libphobos
; \
3469 .
${srcdir}/configure.tgt
; \
3470 test "$LIBPHOBOS_SUPPORTED" != "yes")
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3474 noconfigdirs
="$noconfigdirs target-libphobos"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3477 $as_echo "yes" >&6; }
3482 # Disable Fortran for some systems.
3485 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3486 unsupported_languages
="$unsupported_languages fortran"
3489 unsupported_languages
="$unsupported_languages fortran"
3493 # Disable libffi for some systems.
3497 i
[3456789]86-*-darwin*)
3499 x86_64-
*-darwin[912]*)
3502 noconfigdirs
="$noconfigdirs target-libffi"
3505 noconfigdirs
="$noconfigdirs target-libffi"
3508 noconfigdirs
="$noconfigdirs target-libffi"
3511 noconfigdirs
="$noconfigdirs target-libffi"
3514 noconfigdirs
="$noconfigdirs target-libffi"
3517 noconfigdirs
="$noconfigdirs target-libffi"
3520 noconfigdirs
="$noconfigdirs target-libffi"
3522 aarch64
*-*-freebsd*)
3523 noconfigdirs
="$noconfigdirs target-libffi"
3526 noconfigdirs
="$noconfigdirs target-libffi"
3529 noconfigdirs
="$noconfigdirs target-libffi"
3532 noconfigdirs
="$noconfigdirs target-libffi"
3535 noconfigdirs
="$noconfigdirs target-libffi"
3538 noconfigdirs
="$noconfigdirs target-libffi"
3540 cris-
*-* | crisv32-
*-*)
3544 *) # See PR46792 regarding target-libffi.
3545 noconfigdirs
="$noconfigdirs target-libffi";;
3549 noconfigdirs
="$noconfigdirs target-libffi"
3554 noconfigdirs
="$noconfigdirs target-libffi"
3557 noconfigdirs
="$noconfigdirs target-libffi"
3559 i
[3456789]86-w64-mingw*)
3560 noconfigdirs
="$noconfigdirs target-libffi"
3562 i
[3456789]86-*-mingw*)
3563 noconfigdirs
="$noconfigdirs target-libffi"
3566 noconfigdirs
="$noconfigdirs target-libffi"
3569 noconfigdirs
="$noconfigdirs target-libffi"
3576 noconfigdirs
="$noconfigdirs target-libffi"
3579 noconfigdirs
="$noconfigdirs target-libffi"
3583 # Disable the go frontend on systems where it is known to not work. Please keep
3584 # this in sync with contrib/config-list.mk.
3586 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3587 unsupported_languages
="$unsupported_languages go"
3591 # Only allow gdbserver on some systems.
3592 if test -d ${srcdir}/gdbserver
; then
3593 if test x
$enable_gdbserver = x
; then
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3595 $as_echo_n "checking for gdbserver support... " >&6; }
3596 if (srcdir
=${srcdir}/gdbserver
; \
3597 .
${srcdir}/configure.srv
; \
3598 test -n "$UNSUPPORTED")
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3602 noconfigdirs
="$noconfigdirs gdbserver"
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3605 $as_echo "yes" >&6; }
3610 # Disable libgo for some systems where it is known to not work.
3611 # For testing, you can easily override this with --enable-libgo.
3612 if test x
$enable_libgo = x
; then
3616 noconfigdirs
="$noconfigdirs target-libgo"
3618 *-*-cygwin* |
*-*-mingw*)
3619 noconfigdirs
="$noconfigdirs target-libgo"
3622 noconfigdirs
="$noconfigdirs target-libgo"
3627 # Default libgloss CPU subdirectory.
3628 libgloss_dir
="$target_cpu"
3631 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3635 libgloss_dir
=aarch64
3640 cris-
*-* | crisv32-
*-*)
3649 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3650 libgloss_dir
=m68hc11
3652 m68
*-*-* | fido-
*-*)
3669 # Disable newlib and libgloss for various target OSes.
3672 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3674 i
[3456789]86-*-linux*)
3675 # This section makes it possible to build newlib natively on linux.
3676 # If we are using a cross compiler then don't configure newlib.
3677 if test x
${is_cross_compiler} != xno
; then
3678 noconfigdirs
="$noconfigdirs target-newlib"
3680 noconfigdirs
="$noconfigdirs target-libgloss"
3681 # If we are not using a cross compiler, do configure newlib.
3682 # Note however, that newlib will only be configured in this situation
3683 # if the --with-newlib option has been given, because otherwise
3684 # 'target-newlib' will appear in skipdirs.
3686 i
[3456789]86-*-rdos*)
3687 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3690 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3693 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3699 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3702 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3705 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3708 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3711 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3713 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3714 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3717 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3720 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3723 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3726 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3729 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3732 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3735 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3743 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3744 noconfigdirs
="$noconfigdirs sim target-rda"
3749 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3750 noconfigdirs
="$noconfigdirs sim target-rda"
3753 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3754 noconfigdirs
="$noconfigdirs sim target-rda"
3756 i
[3456789]86-*-darwin*)
3757 noconfigdirs
="$noconfigdirs ld gprof"
3758 noconfigdirs
="$noconfigdirs sim target-rda"
3760 x86_64-
*-darwin[912]*)
3761 noconfigdirs
="$noconfigdirs ld gas gprof"
3762 noconfigdirs
="$noconfigdirs sim target-rda"
3765 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3766 noconfigdirs
="$noconfigdirs sim target-rda"
3771 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3772 && ! test -d ${srcdir}/gmp \
3773 && test -f /usr
/local
/include
/gmp.h
; then
3778 # Remove unsupported stuff on all kaOS configurations.
3779 noconfigdirs
="$noconfigdirs target-libgloss"
3786 noconfigdirs
="$noconfigdirs target-libgloss"
3789 noconfigdirs
="$noconfigdirs target-libgloss"
3791 # The tpf target doesn't support gdb yet.
3793 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3796 noconfigdirs
="$noconfigdirs target-rda"
3801 # ld works, but does not support shared libraries.
3802 # gas doesn't generate exception information.
3803 noconfigdirs
="$noconfigdirs gas ld"
3806 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3809 # newlib is not 64 bit ready
3810 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3813 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3815 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3816 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3819 noconfigdirs
="$noconfigdirs sim"
3822 noconfigdirs
="$noconfigdirs target-libgloss"
3825 noconfigdirs
="$noconfigdirs ld target-libgloss"
3828 if test x
${with_avrlibc} != xno
; then
3829 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3832 c4x-
*-* | tic4x-
*-*)
3833 noconfigdirs
="$noconfigdirs target-libgloss"
3836 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3839 noconfigdirs
="$noconfigdirs target-libgloss"
3842 noconfigdirs
="$noconfigdirs gdb"
3845 noconfigdirs
="$noconfigdirs gdb"
3848 noconfigdirs
="$noconfigdirs target-rda gprof"
3851 noconfigdirs
="$noconfigdirs"
3854 noconfigdirs
="$noconfigdirs target-libgloss"
3857 noconfigdirs
="$noconfigdirs target-libgloss"
3859 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3862 noconfigdirs
="$noconfigdirs gdb"
3865 noconfigdirs
="$noconfigdirs gdb ld"
3873 hppa
*-*-openbsd* | \
3879 noconfigdirs
="$noconfigdirs ld"
3882 noconfigdirs
="$noconfigdirs gdb"
3885 # No gdb support yet.
3886 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3889 # No ld support yet.
3890 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3893 # No ld support yet.
3894 noconfigdirs
="$noconfigdirs libgui itcl ld"
3896 i
[3456789]86-w64-mingw*)
3898 i
[3456789]86-*-mingw*)
3899 target_configdirs
="$target_configdirs target-winsup"
3902 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3903 noconfigdirs
="$noconfigdirs target-libgloss"
3904 # always build newlib if winsup directory is present.
3905 if test -d "$srcdir/winsup/cygwin"; then
3906 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3907 elif test -d "$srcdir/newlib"; then
3908 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3912 noconfigdirs
="$noconfigdirs target-libgloss"
3914 i
[3456789]86-*-sco3.2v5
*)
3915 # The linker does not yet know about weak symbols in COFF,
3916 # and is not configured to handle mixed ELF and COFF.
3917 noconfigdirs
="$noconfigdirs ld target-libgloss"
3919 i
[3456789]86-*-sco*)
3920 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3922 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3923 noconfigdirs
="$noconfigdirs target-libgloss"
3925 i
[3456789]86-*-sysv4*)
3926 noconfigdirs
="$noconfigdirs target-libgloss"
3928 i
[3456789]86-*-beos*)
3929 noconfigdirs
="$noconfigdirs gdb"
3931 i
[3456789]86-*-rdos*)
3932 noconfigdirs
="$noconfigdirs gdb"
3935 noconfigdirs
="$noconfigdirs gdb"
3938 noconfigdirs
="$noconfigdirs sim"
3941 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3942 noconfigdirs
="$noconfigdirs $target_libraries"
3945 noconfigdirs
="$noconfigdirs gdb gprof"
3948 # copied from rs6000-*-* entry
3949 noconfigdirs
="$noconfigdirs gprof"
3951 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3952 target_configdirs
="$target_configdirs target-winsup"
3953 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3954 # always build newlib.
3955 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3957 # This is temporary until we can link against shared libraries
3958 powerpcle-
*-solaris*)
3959 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3962 noconfigdirs
="$noconfigdirs gdb"
3965 noconfigdirs
="$noconfigdirs gprof"
3968 noconfigdirs
="$noconfigdirs gprof"
3971 noconfigdirs
="$noconfigdirs gprof"
3974 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3977 noconfigdirs
="$noconfigdirs gprof"
3979 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3980 if test x
$with_newlib = xyes
; then
3981 noconfigdirs
="$noconfigdirs gprof"
3985 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3988 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3991 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3995 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3996 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3997 noconfigdirs
="$noconfigdirs ld gas gprof"
4000 noconfigdirs
="$noconfigdirs gprof"
4003 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4010 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4014 if test x
${is_cross_compiler} = xno
; then
4019 noconfigdirs
="$noconfigdirs sim"
4021 tilepro
*-*-* | tilegx
*-*-*)
4022 noconfigdirs
="$noconfigdirs sim"
4025 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4028 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4031 noconfigdirs
="$noconfigdirs ld"
4035 # If we aren't building newlib, then don't build libgloss, since libgloss
4036 # depends upon some newlib header files.
4037 case "${noconfigdirs}" in
4038 *target-libgloss
*) ;;
4039 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4042 # Work in distributions that contain no compiler tools, like Autoconf.
4043 host_makefile_frag
=/dev
/null
4044 if test -d ${srcdir}/config
; then
4046 i
[3456789]86-*-msdosdjgpp*)
4047 host_makefile_frag
="config/mh-djgpp"
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4052 $as_echo_n "checking to see if cat works as expected... " >&6; }
4053 echo a
>cygwin-cat-check
4054 if test `cat cygwin-cat-check` = a
; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4057 $as_echo "yes" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4062 as_fn_error $?
"The cat command does not ignore carriage return characters.
4063 Please either mount the build directory in binary mode or run the following
4064 commands before running any configure script:
4070 host_makefile_frag
="config/mh-cygwin"
4073 host_makefile_frag
="config/mh-mingw"
4076 host_makefile_frag
="config/mh-alpha-linux"
4079 host_makefile_frag
="config/mh-pa-hpux10"
4082 host_makefile_frag
="config/mh-pa"
4085 host_makefile_frag
="config/mh-pa"
4087 i?
86-*-darwin[89]* | i?
86-*-darwin1[0-7]* | powerpc
*-*-darwin*)
4088 host_makefile_frag
="config/mh-darwin"
4091 host_makefile_frag
="config/mh-ppc-aix"
4094 host_makefile_frag
="config/mh-ppc-aix"
4099 if test "${build}" != "${host}" ; then
4100 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4101 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4102 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4103 CPP_FOR_BUILD
="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
4104 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4105 DSYMUTIL_FOR_BUILD
=${DSYMUTIL_FOR_BUILD-dsymutil}
4106 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4107 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4108 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4109 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4110 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4111 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4112 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4113 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4114 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4116 AR_FOR_BUILD
="\$(AR)"
4117 AS_FOR_BUILD
="\$(AS)"
4118 CC_FOR_BUILD
="\$(CC)"
4119 CXX_FOR_BUILD
="\$(CXX)"
4120 DSYMUTIL_FOR_BUILD
="\$(DSYMUTIL)"
4121 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4122 GOC_FOR_BUILD
="\$(GOC)"
4123 GDC_FOR_BUILD
="\$(GDC)"
4124 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4125 LD_FOR_BUILD
="\$(LD)"
4126 NM_FOR_BUILD
="\$(NM)"
4127 RANLIB_FOR_BUILD
="\$(RANLIB)"
4128 WINDRES_FOR_BUILD
="\$(WINDRES)"
4129 WINDMC_FOR_BUILD
="\$(WINDMC)"
4133 ac_cpp
='$CPP $CPPFLAGS'
4134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4137 if test -n "$ac_tool_prefix"; then
4138 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4139 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141 $as_echo_n "checking for $ac_word... " >&6; }
4142 if ${ac_cv_prog_CC+:} false
; then :
4143 $as_echo_n "(cached) " >&6
4145 if test -n "$CC"; then
4146 ac_cv_prog_CC
="$CC" # Let the user override the test.
4148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir
=.
4153 for ac_exec_ext
in '' $ac_executable_extensions; do
4154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4155 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 if test -n "$CC"; then
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4168 $as_echo "$CC" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4176 if test -z "$ac_cv_prog_CC"; then
4178 # Extract the first word of "gcc", so it can be a program name with args.
4179 set dummy gcc
; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$ac_ct_CC"; then
4186 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4195 ac_cv_prog_ac_ct_CC
="gcc"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4206 if test -n "$ac_ct_CC"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4208 $as_echo "$ac_ct_CC" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4214 if test "x$ac_ct_CC" = x
; then
4217 case $cross_compiling:$ac_tool_warned in
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4221 ac_tool_warned
=yes ;;
4229 if test -z "$CC"; then
4230 if test -n "$ac_tool_prefix"; then
4231 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4232 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if ${ac_cv_prog_CC+:} false
; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -n "$CC"; then
4239 ac_cv_prog_CC
="$CC" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4248 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 if test -n "$CC"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261 $as_echo "$CC" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4270 if test -z "$CC"; then
4271 # Extract the first word of "cc", so it can be a program name with args.
4272 set dummy cc
; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_CC+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$CC"; then
4279 ac_cv_prog_CC
="$CC" # Let the user override the test.
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_exec_ext
in '' $ac_executable_extensions; do
4288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4289 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4290 ac_prog_rejected
=yes
4294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 if test $ac_prog_rejected = yes; then
4302 # We found a bogon in the path, so make sure we never use it.
4303 set dummy
$ac_cv_prog_CC
4305 if test $# != 0; then
4306 # We chose a different compiler from the bogus one.
4307 # However, it has the same basename, so the bogon will be chosen
4308 # first if we set CC to just the basename; use the full file name.
4310 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4316 if test -n "$CC"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4318 $as_echo "$CC" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4326 if test -z "$CC"; then
4327 if test -n "$ac_tool_prefix"; then
4328 for ac_prog
in cl.exe
4330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4331 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false
; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC
="$CC" # Let the user override the test.
4340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4344 test -z "$as_dir" && as_dir
=.
4345 for ac_exec_ext
in '' $ac_executable_extensions; do
4346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4347 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 if test -n "$CC"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360 $as_echo "$CC" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4367 test -n "$CC" && break
4370 if test -z "$CC"; then
4372 for ac_prog
in cl.exe
4374 # Extract the first word of "$ac_prog", so it can be a program name with args.
4375 set dummy
$ac_prog; ac_word
=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4379 $as_echo_n "(cached) " >&6
4381 if test -n "$ac_ct_CC"; then
4382 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir
=.
4389 for ac_exec_ext
in '' $ac_executable_extensions; do
4390 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_ac_ct_CC
="$ac_prog"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4402 if test -n "$ac_ct_CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4404 $as_echo "$ac_ct_CC" >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4411 test -n "$ac_ct_CC" && break
4414 if test "x$ac_ct_CC" = x
; then
4417 case $cross_compiling:$ac_tool_warned in
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4421 ac_tool_warned
=yes ;;
4430 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4432 as_fn_error $?
"no acceptable C compiler found in \$PATH
4433 See \`config.log' for more details" "$LINENO" 5; }
4435 # Provide some information about the compiler.
4436 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4439 for ac_option
in --version -v -V -qversion; do
4440 { { ac_try
="$ac_compiler $ac_option >&5"
4442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4446 $as_echo "$ac_try_echo"; } >&5
4447 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4449 if test -s conftest.err; then
4451 ... rest of stderr output deleted ...
4452 10q' conftest.err >conftest.er1
4453 cat conftest.er1 >&5
4455 rm -f conftest.er1 conftest.err
4456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4457 test $ac_status = 0; }
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4471 ac_clean_files_save=$ac_clean_files
4472 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4473 # Try to create an executable without -o first, disregard a.out.
4474 # It will help us diagnose broken compilers, and finding out an intuition
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4477 $as_echo_n "checking whether the C compiler works... " >&6; }
4478 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4480 # The possible output files:
4481 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4484 for ac_file in $ac_files
4487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4488 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4493 if { { ac_try="$ac_link_default"
4495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4496 *) ac_try_echo
=$ac_try;;
4498 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499 $as_echo "$ac_try_echo"; } >&5
4500 (eval "$ac_link_default") 2>&5
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; then :
4504 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4505 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4506 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4507 # so that the user can short-circuit this test for compilers unknown to
4509 for ac_file
in $ac_files ''
4511 test -f "$ac_file" ||
continue
4513 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4516 # We found the default executable, but exeext='' is most
4520 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4522 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4524 # We set ac_cv_exeext here because the later test for it is not
4525 # safe: cross compilers may not add the suffix if given an `-o'
4526 # argument, so we may need to know it at that point already.
4527 # Even if this section looks crufty: it has the advantage of
4534 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4539 if test -z "$ac_file"; then :
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541 $as_echo "no" >&6; }
4542 $as_echo "$as_me: failed program was:" >&5
4543 sed 's/^/| /' conftest.
$ac_ext >&5
4545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4547 as_fn_error
77 "C compiler cannot create executables
4548 See \`config.log' for more details" "$LINENO" 5; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4551 $as_echo "yes" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4554 $as_echo_n "checking for C compiler default output file name... " >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4556 $as_echo "$ac_file" >&6; }
4557 ac_exeext
=$ac_cv_exeext
4559 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4560 ac_clean_files
=$ac_clean_files_save
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4562 $as_echo_n "checking for suffix of executables... " >&6; }
4563 if { { ac_try
="$ac_link"
4565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4566 *) ac_try_echo=$ac_try;;
4568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4569 $as_echo "$ac_try_echo"; } >&5
4570 (eval "$ac_link") 2>&5
4572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4573 test $ac_status = 0; }; then :
4574 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4575 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4576 # work properly (i.e., refer to `conftest.exe'), while it won't with
4578 for ac_file
in conftest.exe conftest conftest.
*; do
4579 test -f "$ac_file" ||
continue
4581 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4582 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4590 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4591 See \`config.log' for more details" "$LINENO" 5; }
4593 rm -f conftest conftest
$ac_cv_exeext
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4595 $as_echo "$ac_cv_exeext" >&6; }
4597 rm -f conftest.
$ac_ext
4598 EXEEXT
=$ac_cv_exeext
4600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4606 FILE *f = fopen ("conftest.out", "w");
4607 return ferror (f) || fclose (f) != 0;
4613 ac_clean_files
="$ac_clean_files conftest.out"
4614 # Check that the compiler produces executables we can run. If not, either
4615 # the compiler is broken, or we cross compile.
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4617 $as_echo_n "checking whether we are cross compiling... " >&6; }
4618 if test "$cross_compiling" != yes; then
4619 { { ac_try
="$ac_link"
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_link") 2>&5
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; }
4630 if { ac_try='./conftest$ac_cv_exeext'
4631 { { case "(($ac_try" in
4632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4633 *) ac_try_echo
=$ac_try;;
4635 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4636 $as_echo "$ac_try_echo"; } >&5
4637 (eval "$ac_try") 2>&5
4639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4640 test $ac_status = 0; }; }; then
4643 if test "$cross_compiling" = maybe
; then
4646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4648 as_fn_error $?
"cannot run C compiled programs.
4649 If you meant to cross compile, use \`--host'.
4650 See \`config.log' for more details" "$LINENO" 5; }
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4655 $as_echo "$cross_compiling" >&6; }
4657 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4658 ac_clean_files
=$ac_clean_files_save
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4660 $as_echo_n "checking for suffix of object files... " >&6; }
4661 if ${ac_cv_objext+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4675 rm -f conftest.o conftest.obj
4676 if { { ac_try
="$ac_compile"
4678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4679 *) ac_try_echo=$ac_try;;
4681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4682 $as_echo "$ac_try_echo"; } >&5
4683 (eval "$ac_compile") 2>&5
4685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4686 test $ac_status = 0; }; then :
4687 for ac_file in conftest.o conftest.obj conftest.*; do
4688 test -f "$ac_file" || continue;
4690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4691 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4696 $as_echo "$as_me: failed program was:" >&5
4697 sed 's/^/| /' conftest.$ac_ext >&5
4699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4701 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4702 See \
`config.log' for more details" "$LINENO" 5; }
4704 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4707 $as_echo "$ac_cv_objext" >&6; }
4708 OBJEXT=$ac_cv_objext
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4711 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4712 if ${ac_cv_c_compiler_gnu+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4729 if ac_fn_c_try_compile "$LINENO"; then :
4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4735 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4739 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4740 if test $ac_compiler_gnu = yes; then
4745 ac_test_CFLAGS=${CFLAGS+set}
4746 ac_save_CFLAGS=$CFLAGS
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4748 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4749 if ${ac_cv_prog_cc_g+:} false; then :
4750 $as_echo_n "(cached) " >&6
4752 ac_save_c_werror_flag=$ac_c_werror_flag
4753 ac_c_werror_flag=yes
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4767 if ac_fn_c_try_compile "$LINENO"; then :
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_c_try_compile "$LINENO"; then :
4785 ac_c_werror_flag=$ac_save_c_werror_flag
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4798 if ac_fn_c_try_compile "$LINENO"; then :
4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 ac_c_werror_flag=$ac_save_c_werror_flag
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4809 $as_echo "$ac_cv_prog_cc_g" >&6; }
4810 if test "$ac_test_CFLAGS" = set; then
4811 CFLAGS=$ac_save_CFLAGS
4812 elif test $ac_cv_prog_cc_g = yes; then
4813 if test "$GCC" = yes; then
4819 if test "$GCC" = yes; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4826 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4827 if ${ac_cv_prog_cc_c89+:} false; then :
4828 $as_echo_n "(cached) " >&6
4830 ac_cv_prog_cc_c89=no
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4837 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4838 struct buf { int x; };
4839 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4840 static char *e (p, i)
4846 static char *f (char * (*g) (char **, int), char **p, ...)
4851 s = g (p, va_arg (v,int));
4856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4857 function prototypes and stuff, but not '\xHH' hex character constants.
4858 These don't provoke an error unfortunately, instead are silently treated
4859 as 'x'. The following induces an error, until -std is added to get
4860 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4861 array size at least. It's necessary to write '\x00'==0 to get something
4862 that's true only with -std. */
4863 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4866 inside strings and character constants. */
4868 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4870 int test (int i, double x);
4871 struct s1 {int (*f) (int a);};
4872 struct s2 {int (*f) (double a);};
4873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4884 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4885 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4887 CC="$ac_save_CC $ac_arg"
4888 if ac_fn_c_try_compile "$LINENO"; then :
4889 ac_cv_prog_cc_c89=$ac_arg
4891 rm -f core conftest.err conftest.$ac_objext
4892 test "x$ac_cv_prog_cc_c89" != "xno" && break
4894 rm -f conftest.$ac_ext
4899 case "x$ac_cv_prog_cc_c89" in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4902 $as_echo "none needed" >&6; } ;;
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4905 $as_echo "unsupported" >&6; } ;;
4907 CC="$CC $ac_cv_prog_cc_c89"
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4909 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4911 if test "x$ac_cv_prog_cc_c89" != xno; then :
4916 ac_cpp='$CPP $CPPFLAGS'
4917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4922 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4923 if ${ac_cv_prog_cc_c99+:} false; then :
4924 $as_echo_n "(cached) " >&6
4926 ac_cv_prog_cc_c99=no
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4931 #include <stdbool.h>
4936 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4937 #define debug(...) fprintf (stderr, __VA_ARGS__)
4938 #define showlist(...) puts (#__VA_ARGS__)
4939 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4941 test_varargs_macros (void)
4946 debug ("X = %d\n", x);
4947 showlist (The first, second, and third items.);
4948 report (x>y, "x is %d but y is %d", x, y);
4951 // Check long long types.
4952 #define BIG64 18446744073709551615ull
4953 #define BIG32 4294967295ul
4954 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4956 your preprocessor is broken;
4960 your preprocessor is broken;
4962 static long long int bignum = -9223372036854775807LL;
4963 static unsigned long long int ubignum = BIG64;
4965 struct incomplete_array
4973 const wchar_t *name;
4977 typedef const char *ccp;
4980 test_restrict (ccp restrict text)
4982 // See if C++-style comments work.
4983 // Iterate through items via the restricted pointer.
4984 // Also check for declarations in for loops.
4985 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4990 // Check varargs and va_copy.
4992 test_varargs (const char *format, ...)
4995 va_start (args, format);
4997 va_copy (args_copy, args);
5008 str = va_arg (args_copy, const char *);
5011 number = va_arg (args_copy, int);
5014 fnumber = va_arg (args_copy, double);
5029 _Bool success = false;
5032 if (test_restrict ("String literal") == 0)
5034 char *restrict newvar = "Another string";
5037 test_varargs ("s, d' f .", "string", 65, 34.234);
5038 test_varargs_macros ();
5040 // Check flexible array members.
5041 struct incomplete_array *ia =
5042 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5044 for (int i = 0; i < ia->datasize; ++i)
5045 ia->data[i] = i * 1.234;
5047 // Check named initializers.
5048 struct named_init ni = {
5050 .name = L"Test wide string",
5051 .average = 543.34343,
5056 int dynamic_array[ni.number];
5057 dynamic_array[ni.number - 1] = 543;
5059 // work around unused variable warnings
5060 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5061 || dynamic_array[ni.number - 1] != 543);
5067 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5069 CC="$ac_save_CC $ac_arg"
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 ac_cv_prog_cc_c99=$ac_arg
5073 rm -f core conftest.err conftest.$ac_objext
5074 test "x$ac_cv_prog_cc_c99" != "xno" && break
5076 rm -f conftest.$ac_ext
5081 case "x$ac_cv_prog_cc_c99" in
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5084 $as_echo "none needed" >&6; } ;;
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5087 $as_echo "unsupported" >&6; } ;;
5089 CC="$CC $ac_cv_prog_cc_c99"
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5091 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5093 if test "x$ac_cv_prog_cc_c99" != xno; then :
5099 ac_cpp='$CXXCPP $CPPFLAGS'
5100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5103 if test -z "$CXX"; then
5104 if test -n "$CCC"; then
5107 if test -n "$ac_tool_prefix"; then
5108 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_CXX+:} false; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -n "$CXX"; then
5118 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 if test -n "$CXX"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5140 $as_echo "$CXX" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5147 test -n "$CXX" && break
5150 if test -z "$CXX"; then
5152 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5154 # Extract the first word of "$ac_prog", so it can be a program name with args.
5155 set dummy $ac_prog; ac_word=$2
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5157 $as_echo_n "checking for $ac_word... " >&6; }
5158 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5159 $as_echo_n "(cached) " >&6
5161 if test -n "$ac_ct_CXX"; then
5162 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_ac_ct_CXX="$ac_prog"
5172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5182 if test -n "$ac_ct_CXX"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5184 $as_echo "$ac_ct_CXX" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 test -n "$ac_ct_CXX" && break
5194 if test "x$ac_ct_CXX" = x; then
5197 case $cross_compiling:$ac_tool_warned in
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5201 ac_tool_warned=yes ;;
5209 # Provide some information about the compiler.
5210 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5213 for ac_option in --version -v -V -qversion; do
5214 { { ac_try="$ac_compiler $ac_option >&5"
5216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5217 *) ac_try_echo
=$ac_try;;
5219 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5220 $as_echo "$ac_try_echo"; } >&5
5221 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5223 if test -s conftest.err
; then
5225 ... rest of stderr output deleted ...
5226 10q' conftest.err
>conftest.er1
5227 cat conftest.er1
>&5
5229 rm -f conftest.er1 conftest.err
5230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5235 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5236 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5253 if ac_fn_cxx_try_compile
"$LINENO"; then :
5258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5259 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5263 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5264 if test $ac_compiler_gnu = yes; then
5269 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5270 ac_save_CXXFLAGS
=$CXXFLAGS
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5272 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5273 if ${ac_cv_prog_cxx_g+:} false
; then :
5274 $as_echo_n "(cached) " >&6
5276 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5277 ac_cxx_werror_flag
=yes
5280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5291 if ac_fn_cxx_try_compile
"$LINENO"; then :
5292 ac_cv_prog_cxx_g
=yes
5295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5306 if ac_fn_cxx_try_compile
"$LINENO"; then :
5309 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5322 if ac_fn_cxx_try_compile
"$LINENO"; then :
5323 ac_cv_prog_cxx_g
=yes
5325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5330 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5333 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5334 if test "$ac_test_CXXFLAGS" = set; then
5335 CXXFLAGS
=$ac_save_CXXFLAGS
5336 elif test $ac_cv_prog_cxx_g = yes; then
5337 if test "$GXX" = yes; then
5343 if test "$GXX" = yes; then
5350 ac_cpp
='$CPP $CPPFLAGS'
5351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5356 # We must set the default linker to the linker used by gcc for the correct
5357 # operation of libtool. If LD is not defined and we are using gcc, try to
5358 # set the LD default to the ld used by gcc.
5359 if test -z "$LD"; then
5360 if test "$GCC" = yes; then
5363 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5365 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5367 case $gcc_prog_ld in
5368 # Accept absolute paths.
5369 [\\/]* |
[A-Za-z
]:[\\/]*)
5370 LD
="$gcc_prog_ld" ;;
5375 # Check whether -static-libstdc++ -static-libgcc is supported.
5377 if test "$GCC" = yes; then
5378 saved_LDFLAGS
="$LDFLAGS"
5380 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5382 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5384 ac_cpp
='$CXXCPP $CPPFLAGS'
5385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5393 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5394 #error -static-libstdc++ not implemented
5398 if ac_fn_cxx_try_link
"$LINENO"; then :
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5400 $as_echo "yes" >&6; }; have_static_libs
=yes
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403 $as_echo "no" >&6; }
5405 rm -f core conftest.err conftest.
$ac_objext \
5406 conftest
$ac_exeext conftest.
$ac_ext
5408 ac_cpp
='$CPP $CPPFLAGS'
5409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5414 LDFLAGS
="$saved_LDFLAGS"
5420 if test -n "$ac_tool_prefix"; then
5421 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5422 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if ${ac_cv_prog_GNATBIND+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 if test -n "$GNATBIND"; then
5429 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_exec_ext
in '' $ac_executable_extensions; do
5437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5438 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 GNATBIND
=$ac_cv_prog_GNATBIND
5449 if test -n "$GNATBIND"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5451 $as_echo "$GNATBIND" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5459 if test -z "$ac_cv_prog_GNATBIND"; then
5460 ac_ct_GNATBIND
=$GNATBIND
5461 # Extract the first word of "gnatbind", so it can be a program name with args.
5462 set dummy gnatbind
; ac_word
=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5468 if test -n "$ac_ct_GNATBIND"; then
5469 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5475 test -z "$as_dir" && as_dir
=.
5476 for ac_exec_ext
in '' $ac_executable_extensions; do
5477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5489 if test -n "$ac_ct_GNATBIND"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5491 $as_echo "$ac_ct_GNATBIND" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5497 if test "x$ac_ct_GNATBIND" = x
; then
5500 case $cross_compiling:$ac_tool_warned in
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5504 ac_tool_warned
=yes ;;
5506 GNATBIND
=$ac_ct_GNATBIND
5509 GNATBIND
="$ac_cv_prog_GNATBIND"
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5514 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$GNATMAKE"; then
5521 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir
=.
5528 for ac_exec_ext
in '' $ac_executable_extensions; do
5529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 GNATMAKE
=$ac_cv_prog_GNATMAKE
5541 if test -n "$GNATMAKE"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5543 $as_echo "$GNATMAKE" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5551 if test -z "$ac_cv_prog_GNATMAKE"; then
5552 ac_ct_GNATMAKE
=$GNATMAKE
5553 # Extract the first word of "gnatmake", so it can be a program name with args.
5554 set dummy gnatmake
; ac_word
=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5560 if test -n "$ac_ct_GNATMAKE"; then
5561 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir
=.
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5581 if test -n "$ac_ct_GNATMAKE"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5583 $as_echo "$ac_ct_GNATMAKE" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5589 if test "x$ac_ct_GNATMAKE" = x
; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned
=yes ;;
5598 GNATMAKE
=$ac_ct_GNATMAKE
5601 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5605 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5606 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5607 $as_echo_n "(cached) " >&6
5609 cat >conftest.adb
<<EOF
5610 procedure conftest is begin null; end conftest;
5612 acx_cv_cc_gcc_supports_ada
=no
5613 # There is a bug in old released versions of GCC which causes the
5614 # driver to exit successfully when the appropriate language module
5615 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5616 # Therefore we must check for the error message as well as an
5617 # unsuccessful exit.
5618 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5619 # given a .adb file, but produce no object file. So we must check
5620 # if an object file was really produced to guard against this.
5621 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5622 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5623 acx_cv_cc_gcc_supports_ada
=yes
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5628 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5630 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5638 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5640 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_GDC+:} false
; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$GDC"; then
5647 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
5649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir
=.
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 if test -n "$GDC"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5669 $as_echo "$GDC" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5677 if test -z "$ac_cv_prog_GDC"; then
5679 # Extract the first word of "gdc", so it can be a program name with args.
5680 set dummy gdc
; ac_word
=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_ac_ct_GDC+:} false
; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -n "$ac_ct_GDC"; then
5687 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
5689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir
=.
5694 for ac_exec_ext
in '' $ac_executable_extensions; do
5695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_ac_ct_GDC
="gdc"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
5707 if test -n "$ac_ct_GDC"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5709 $as_echo "$ac_ct_GDC" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5715 if test "x$ac_ct_GDC" = x
; then
5718 case $cross_compiling:$ac_tool_warned in
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned
=yes ;;
5727 GDC
="$ac_cv_prog_GDC"
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the D compiler works" >&5
5731 $as_echo_n "checking whether the D compiler works... " >&6; }
5732 if ${acx_cv_d_compiler_works+:} false
; then :
5733 $as_echo_n "(cached) " >&6
5735 cat >conftest.d
<<EOF
5736 module conftest; int main() { return 0; }
5738 acx_cv_d_compiler_works
=no
5739 if test "x$GDC" != xno
; then
5740 errors
=`(${GDC} -c conftest.d) 2>&1 || echo failure`
5741 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5742 acx_cv_d_compiler_works
=yes
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_d_compiler_works" >&5
5748 $as_echo "$acx_cv_d_compiler_works" >&6; }
5749 if test "x$GDC" != xno
&& test x
$acx_cv_d_compiler_works != xno
; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5756 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5757 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5762 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5763 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5764 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5767 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5770 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5771 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5774 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5781 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5782 do_compare
="$gcc_cv_prog_cmp_skip"
5786 # Check whether --enable-bootstrap was given.
5787 if test "${enable_bootstrap+set}" = set; then :
5788 enableval
=$enable_bootstrap;
5790 enable_bootstrap
=default
5794 # Issue errors and warnings for invalid/strange bootstrap combinations.
5795 if test -r $srcdir/gcc
/configure
; then
5801 case "$have_compiler:$host:$target:$enable_bootstrap" in
5804 # Default behavior. Enable bootstrap if we have a compiler
5805 # and we are in a native configuration.
5806 yes:$build:$build:default
)
5807 enable_bootstrap
=yes ;;
5810 enable_bootstrap
=no
;;
5812 # We have a compiler and we are in a native configuration, bootstrap is ok
5813 yes:$build:$build:yes)
5816 # Other configurations, but we have a compiler. Assume the user knows
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5820 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5823 # No compiler: if they passed --enable-bootstrap explicitly, fail
5825 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5827 # Fail if wrong command line
5829 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5833 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5834 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5835 # require C++11 (or higher).
5836 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5837 CXX
="$CXX -std=c++11"
5838 elif test "$have_compiler" = yes; then
5839 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5841 ac_cpp
='$CXXCPP $CPPFLAGS'
5842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5848 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5849 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5850 $as_echo_n "(cached) " >&6
5852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5856 // If the compiler admits that it is not ready for C++11, why torture it?
5857 // Hopefully, this will speed up the test.
5861 #error "This is not a C++ compiler"
5863 #elif __cplusplus < 201103L
5865 #error "This is not a C++11 compiler"
5872 namespace test_static_assert
5875 template <typename T>
5878 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5883 namespace test_final_override
5892 struct Derived : public Base
5894 virtual ~Derived() override {}
5895 virtual void f() override {}
5900 namespace test_double_right_angle_brackets
5903 template < typename T >
5906 typedef check<void> single_type;
5907 typedef check<check<void>> double_type;
5908 typedef check<check<check<void>>> triple_type;
5909 typedef check<check<check<check<void>>>> quadruple_type;
5913 namespace test_decltype
5926 namespace test_type_deduction
5929 template < typename T1, typename T2 >
5932 static const bool value = false;
5935 template < typename T >
5936 struct is_same<T, T>
5938 static const bool value = true;
5941 template < typename T1, typename T2 >
5943 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5949 test(const int c, volatile int v)
5951 static_assert(is_same<int, decltype(0)>::value == true, "");
5952 static_assert(is_same<int, decltype(c)>::value == false, "");
5953 static_assert(is_same<int, decltype(v)>::value == false, "");
5956 auto sumi = ac + av + 'x';
5957 auto sumf = ac + av + 1.0;
5958 static_assert(is_same<int, decltype(ac)>::value == true, "");
5959 static_assert(is_same<int, decltype(av)>::value == true, "");
5960 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5961 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5962 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5963 return (sumf > 0.0) ? sumi : add(c, v);
5968 namespace test_noexcept
5971 int f() { return 0; }
5972 int g() noexcept { return 0; }
5974 static_assert(noexcept(f()) == false, "");
5975 static_assert(noexcept(g()) == true, "");
5979 namespace test_constexpr
5982 template < typename CharT >
5983 unsigned long constexpr
5984 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5986 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5989 template < typename CharT >
5990 unsigned long constexpr
5991 strlen_c(const CharT *const s) noexcept
5993 return strlen_c_r(s, 0UL);
5996 static_assert(strlen_c("") == 0UL, "");
5997 static_assert(strlen_c("1") == 1UL, "");
5998 static_assert(strlen_c("example") == 7UL, "");
5999 static_assert(strlen_c("another\0example") == 7UL, "");
6003 namespace test_rvalue_references
6009 static constexpr int value = N;
6012 answer<1> f(int&) { return answer<1>(); }
6013 answer<2> f(const int&) { return answer<2>(); }
6014 answer<3> f(int&&) { return answer<3>(); }
6021 static_assert(decltype(f(i))::value == 1, "");
6022 static_assert(decltype(f(c))::value == 2, "");
6023 static_assert(decltype(f(0))::value == 3, "");
6028 namespace test_uniform_initialization
6033 static const int zero {};
6034 static const int one {1};
6037 static_assert(test::zero == 0, "");
6038 static_assert(test::one == 1, "");
6042 namespace test_lambdas
6048 auto lambda1 = [](){};
6049 auto lambda2 = lambda1;
6057 auto a = [](int i, int j){ return i + j; }(1, 2);
6058 auto b = []() -> int { return '0'; }();
6059 auto c = [=](){ return a + b; }();
6060 auto d = [&](){ return c; }();
6061 auto e = [a, &b](int x) mutable {
6062 const auto identity = [](int y){ return y; };
6063 for (auto i = 0; i < a; ++i)
6065 return x + identity(a + b);
6067 return a + b + c + d + e;
6073 const auto nullary = [](){ return 0; };
6074 const auto unary = [](int x){ return x; };
6075 using nullary_t = decltype(nullary);
6076 using unary_t = decltype(unary);
6077 const auto higher1st = [](nullary_t f){ return f(); };
6078 const auto higher2nd = [unary](nullary_t f1){
6079 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6081 return higher1st(nullary) + higher2nd(nullary)(unary);
6086 namespace test_variadic_templates
6092 template <int N0, int... N1toN>
6093 struct sum<N0, N1toN...>
6095 static constexpr auto value = N0 + sum<N1toN...>::value;
6101 static constexpr auto value = 0;
6104 static_assert(sum<>::value == 0, "");
6105 static_assert(sum<1>::value == 1, "");
6106 static_assert(sum<23>::value == 23, "");
6107 static_assert(sum<1, 2>::value == 3, "");
6108 static_assert(sum<5, 5, 11>::value == 21, "");
6109 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6113 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6114 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6116 namespace test_template_alias_sfinae
6121 template<typename T>
6122 using member = typename T::member_type;
6124 template<typename T>
6127 template<typename T>
6128 void func(member<T>*) {}
6132 void test() { func<foo>(0); }
6136 } // namespace cxx11
6138 #endif // __cplusplus >= 201103L
6143 if ac_fn_cxx_try_compile
"$LINENO"; then :
6144 ax_cv_cxx_compile_cxx11
=yes
6146 ax_cv_cxx_compile_cxx11
=no
6148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
6151 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
6152 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
6156 if test x
$ac_success = xno
; then
6157 for alternative
in ${ax_cxx_compile_alternatives}; do
6158 switch
="-std=gnu++${alternative}"
6159 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6161 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6162 if eval \
${$cachevar+:} false
; then :
6163 $as_echo_n "(cached) " >&6
6167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6171 // If the compiler admits that it is not ready for C++11, why torture it?
6172 // Hopefully, this will speed up the test.
6176 #error "This is not a C++ compiler"
6178 #elif __cplusplus < 201103L
6180 #error "This is not a C++11 compiler"
6187 namespace test_static_assert
6190 template <typename T>
6193 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6198 namespace test_final_override
6207 struct Derived : public Base
6209 virtual ~Derived() override {}
6210 virtual void f() override {}
6215 namespace test_double_right_angle_brackets
6218 template < typename T >
6221 typedef check<void> single_type;
6222 typedef check<check<void>> double_type;
6223 typedef check<check<check<void>>> triple_type;
6224 typedef check<check<check<check<void>>>> quadruple_type;
6228 namespace test_decltype
6241 namespace test_type_deduction
6244 template < typename T1, typename T2 >
6247 static const bool value = false;
6250 template < typename T >
6251 struct is_same<T, T>
6253 static const bool value = true;
6256 template < typename T1, typename T2 >
6258 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6264 test(const int c, volatile int v)
6266 static_assert(is_same<int, decltype(0)>::value == true, "");
6267 static_assert(is_same<int, decltype(c)>::value == false, "");
6268 static_assert(is_same<int, decltype(v)>::value == false, "");
6271 auto sumi = ac + av + 'x';
6272 auto sumf = ac + av + 1.0;
6273 static_assert(is_same<int, decltype(ac)>::value == true, "");
6274 static_assert(is_same<int, decltype(av)>::value == true, "");
6275 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6276 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6277 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6278 return (sumf > 0.0) ? sumi : add(c, v);
6283 namespace test_noexcept
6286 int f() { return 0; }
6287 int g() noexcept { return 0; }
6289 static_assert(noexcept(f()) == false, "");
6290 static_assert(noexcept(g()) == true, "");
6294 namespace test_constexpr
6297 template < typename CharT >
6298 unsigned long constexpr
6299 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6301 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6304 template < typename CharT >
6305 unsigned long constexpr
6306 strlen_c(const CharT *const s) noexcept
6308 return strlen_c_r(s, 0UL);
6311 static_assert(strlen_c("") == 0UL, "");
6312 static_assert(strlen_c("1") == 1UL, "");
6313 static_assert(strlen_c("example") == 7UL, "");
6314 static_assert(strlen_c("another\0example") == 7UL, "");
6318 namespace test_rvalue_references
6324 static constexpr int value = N;
6327 answer<1> f(int&) { return answer<1>(); }
6328 answer<2> f(const int&) { return answer<2>(); }
6329 answer<3> f(int&&) { return answer<3>(); }
6336 static_assert(decltype(f(i))::value == 1, "");
6337 static_assert(decltype(f(c))::value == 2, "");
6338 static_assert(decltype(f(0))::value == 3, "");
6343 namespace test_uniform_initialization
6348 static const int zero {};
6349 static const int one {1};
6352 static_assert(test::zero == 0, "");
6353 static_assert(test::one == 1, "");
6357 namespace test_lambdas
6363 auto lambda1 = [](){};
6364 auto lambda2 = lambda1;
6372 auto a = [](int i, int j){ return i + j; }(1, 2);
6373 auto b = []() -> int { return '0'; }();
6374 auto c = [=](){ return a + b; }();
6375 auto d = [&](){ return c; }();
6376 auto e = [a, &b](int x) mutable {
6377 const auto identity = [](int y){ return y; };
6378 for (auto i = 0; i < a; ++i)
6380 return x + identity(a + b);
6382 return a + b + c + d + e;
6388 const auto nullary = [](){ return 0; };
6389 const auto unary = [](int x){ return x; };
6390 using nullary_t = decltype(nullary);
6391 using unary_t = decltype(unary);
6392 const auto higher1st = [](nullary_t f){ return f(); };
6393 const auto higher2nd = [unary](nullary_t f1){
6394 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6396 return higher1st(nullary) + higher2nd(nullary)(unary);
6401 namespace test_variadic_templates
6407 template <int N0, int... N1toN>
6408 struct sum<N0, N1toN...>
6410 static constexpr auto value = N0 + sum<N1toN...>::value;
6416 static constexpr auto value = 0;
6419 static_assert(sum<>::value == 0, "");
6420 static_assert(sum<1>::value == 1, "");
6421 static_assert(sum<23>::value == 23, "");
6422 static_assert(sum<1, 2>::value == 3, "");
6423 static_assert(sum<5, 5, 11>::value == 21, "");
6424 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6428 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6429 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6431 namespace test_template_alias_sfinae
6436 template<typename T>
6437 using member = typename T::member_type;
6439 template<typename T>
6442 template<typename T>
6443 void func(member<T>*) {}
6447 void test() { func<foo>(0); }
6451 } // namespace cxx11
6453 #endif // __cplusplus >= 201103L
6458 if ac_fn_cxx_try_compile
"$LINENO"; then :
6463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6466 eval ac_res
=\$
$cachevar
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6468 $as_echo "$ac_res" >&6; }
6469 if eval test x\$
$cachevar = xyes
; then
6471 if test -n "$CXXCPP" ; then
6472 CXXCPP
="$CXXCPP $switch"
6480 if test x
$ac_success = xno
; then
6481 for alternative
in ${ax_cxx_compile_alternatives}; do
6482 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6483 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6485 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6486 if eval \${$cachevar+:} false; then :
6487 $as_echo_n "(cached
) " >&6
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6495 // If the compiler admits that it is not ready for C++11, why torture it?
6496 // Hopefully, this will speed up the test.
6500 #error "This is not a C
++ compiler
"
6502 #elif __cplusplus < 201103L
6504 #error "This is not a C
++11 compiler
"
6511 namespace test_static_assert
6514 template <typename T>
6517 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6522 namespace test_final_override
6531 struct Derived : public Base
6533 virtual ~Derived() override {}
6534 virtual void f() override {}
6539 namespace test_double_right_angle_brackets
6542 template < typename T >
6545 typedef check<void> single_type;
6546 typedef check<check<void>> double_type;
6547 typedef check<check<check<void>>> triple_type;
6548 typedef check<check<check<check<void>>>> quadruple_type;
6552 namespace test_decltype
6565 namespace test_type_deduction
6568 template < typename T1, typename T2 >
6571 static const bool value = false;
6574 template < typename T >
6575 struct is_same<T, T>
6577 static const bool value = true;
6580 template < typename T1, typename T2 >
6582 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6588 test(const int c, volatile int v)
6590 static_assert(is_same<int, decltype(0)>::value == true, "");
6591 static_assert(is_same<int, decltype(c)>::value == false, "");
6592 static_assert(is_same<int, decltype(v)>::value == false, "");
6595 auto sumi = ac + av + 'x';
6596 auto sumf = ac + av + 1.0;
6597 static_assert(is_same<int, decltype(ac)>::value == true, "");
6598 static_assert(is_same<int, decltype(av)>::value == true, "");
6599 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6600 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6601 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6602 return (sumf > 0.0) ? sumi : add(c, v);
6607 namespace test_noexcept
6610 int f() { return 0; }
6611 int g() noexcept { return 0; }
6613 static_assert(noexcept(f()) == false, "");
6614 static_assert(noexcept(g()) == true, "");
6618 namespace test_constexpr
6621 template < typename CharT >
6622 unsigned long constexpr
6623 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6625 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6628 template < typename CharT >
6629 unsigned long constexpr
6630 strlen_c(const CharT *const s) noexcept
6632 return strlen_c_r(s, 0UL);
6635 static_assert(strlen_c("") == 0UL, "");
6636 static_assert(strlen_c("1") == 1UL, "");
6637 static_assert(strlen_c("example
") == 7UL, "");
6638 static_assert(strlen_c("another\
0example
") == 7UL, "");
6642 namespace test_rvalue_references
6648 static constexpr int value = N;
6651 answer<1> f(int&) { return answer<1>(); }
6652 answer<2> f(const int&) { return answer<2>(); }
6653 answer<3> f(int&&) { return answer<3>(); }
6660 static_assert(decltype(f(i))::value == 1, "");
6661 static_assert(decltype(f(c))::value == 2, "");
6662 static_assert(decltype(f(0))::value == 3, "");
6667 namespace test_uniform_initialization
6672 static const int zero {};
6673 static const int one {1};
6676 static_assert(test::zero == 0, "");
6677 static_assert(test::one == 1, "");
6681 namespace test_lambdas
6687 auto lambda1 = [](){};
6688 auto lambda2 = lambda1;
6696 auto a = [](int i, int j){ return i + j; }(1, 2);
6697 auto b = []() -> int { return '0'; }();
6698 auto c = [=](){ return a + b; }();
6699 auto d = [&](){ return c; }();
6700 auto e = [a, &b](int x) mutable {
6701 const auto identity = [](int y){ return y; };
6702 for (auto i = 0; i < a; ++i)
6704 return x + identity(a + b);
6706 return a + b + c + d + e;
6712 const auto nullary = [](){ return 0; };
6713 const auto unary = [](int x){ return x; };
6714 using nullary_t = decltype(nullary);
6715 using unary_t = decltype(unary);
6716 const auto higher1st = [](nullary_t f){ return f(); };
6717 const auto higher2nd = [unary](nullary_t f1){
6718 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6720 return higher1st(nullary) + higher2nd(nullary)(unary);
6725 namespace test_variadic_templates
6731 template <int N0, int... N1toN>
6732 struct sum<N0, N1toN...>
6734 static constexpr auto value = N0 + sum<N1toN...>::value;
6740 static constexpr auto value = 0;
6743 static_assert(sum<>::value == 0, "");
6744 static_assert(sum<1>::value == 1, "");
6745 static_assert(sum<23>::value == 23, "");
6746 static_assert(sum<1, 2>::value == 3, "");
6747 static_assert(sum<5, 5, 11>::value == 21, "");
6748 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6752 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6753 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6755 namespace test_template_alias_sfinae
6760 template<typename T>
6761 using member = typename T::member_type;
6763 template<typename T>
6766 template<typename T>
6767 void func(member<T>*) {}
6771 void test() { func<foo>(0); }
6775 } // namespace cxx11
6777 #endif // __cplusplus >= 201103L
6782 if ac_fn_cxx_try_compile "$LINENO"; then :
6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6790 eval ac_res=\$$cachevar
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6792 $as_echo "$ac_res" >&6; }
6793 if eval test x\$$cachevar = xyes; then
6795 if test -n "$CXXCPP" ; then
6796 CXXCPP="$CXXCPP $switch"
6802 if test x$ac_success = xyes; then
6809 ac_cpp='$CPP $CPPFLAGS'
6810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6814 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6815 if test x$ac_success = xno; then
6816 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6819 if test x$ac_success = xno; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6822 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6826 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6832 if test "${build}" != "${host}"; then
6833 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6835 ac_cpp
='$CXXCPP $CPPFLAGS'
6836 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6837 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6838 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6840 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6841 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6842 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6843 CXX
="$CXX_FOR_BUILD"
6844 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6845 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6847 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6848 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6849 $as_echo_n "(cached) " >&6
6851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6855 // If the compiler admits that it is not ready for C++11, why torture it?
6856 // Hopefully, this will speed up the test.
6860 #error "This is not a C++ compiler"
6862 #elif __cplusplus < 201103L
6864 #error "This is not a C++11 compiler"
6871 namespace test_static_assert
6874 template <typename T>
6877 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6882 namespace test_final_override
6891 struct Derived : public Base
6893 virtual ~Derived() override {}
6894 virtual void f() override {}
6899 namespace test_double_right_angle_brackets
6902 template < typename T >
6905 typedef check<void> single_type;
6906 typedef check<check<void>> double_type;
6907 typedef check<check<check<void>>> triple_type;
6908 typedef check<check<check<check<void>>>> quadruple_type;
6912 namespace test_decltype
6925 namespace test_type_deduction
6928 template < typename T1, typename T2 >
6931 static const bool value = false;
6934 template < typename T >
6935 struct is_same<T, T>
6937 static const bool value = true;
6940 template < typename T1, typename T2 >
6942 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6948 test(const int c, volatile int v)
6950 static_assert(is_same<int, decltype(0)>::value == true, "");
6951 static_assert(is_same<int, decltype(c)>::value == false, "");
6952 static_assert(is_same<int, decltype(v)>::value == false, "");
6955 auto sumi = ac + av + 'x';
6956 auto sumf = ac + av + 1.0;
6957 static_assert(is_same<int, decltype(ac)>::value == true, "");
6958 static_assert(is_same<int, decltype(av)>::value == true, "");
6959 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6960 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6961 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6962 return (sumf > 0.0) ? sumi : add(c, v);
6967 namespace test_noexcept
6970 int f() { return 0; }
6971 int g() noexcept { return 0; }
6973 static_assert(noexcept(f()) == false, "");
6974 static_assert(noexcept(g()) == true, "");
6978 namespace test_constexpr
6981 template < typename CharT >
6982 unsigned long constexpr
6983 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6985 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6988 template < typename CharT >
6989 unsigned long constexpr
6990 strlen_c(const CharT *const s) noexcept
6992 return strlen_c_r(s, 0UL);
6995 static_assert(strlen_c("") == 0UL, "");
6996 static_assert(strlen_c("1") == 1UL, "");
6997 static_assert(strlen_c("example") == 7UL, "");
6998 static_assert(strlen_c("another\0example") == 7UL, "");
7002 namespace test_rvalue_references
7008 static constexpr int value = N;
7011 answer<1> f(int&) { return answer<1>(); }
7012 answer<2> f(const int&) { return answer<2>(); }
7013 answer<3> f(int&&) { return answer<3>(); }
7020 static_assert(decltype(f(i))::value == 1, "");
7021 static_assert(decltype(f(c))::value == 2, "");
7022 static_assert(decltype(f(0))::value == 3, "");
7027 namespace test_uniform_initialization
7032 static const int zero {};
7033 static const int one {1};
7036 static_assert(test::zero == 0, "");
7037 static_assert(test::one == 1, "");
7041 namespace test_lambdas
7047 auto lambda1 = [](){};
7048 auto lambda2 = lambda1;
7056 auto a = [](int i, int j){ return i + j; }(1, 2);
7057 auto b = []() -> int { return '0'; }();
7058 auto c = [=](){ return a + b; }();
7059 auto d = [&](){ return c; }();
7060 auto e = [a, &b](int x) mutable {
7061 const auto identity = [](int y){ return y; };
7062 for (auto i = 0; i < a; ++i)
7064 return x + identity(a + b);
7066 return a + b + c + d + e;
7072 const auto nullary = [](){ return 0; };
7073 const auto unary = [](int x){ return x; };
7074 using nullary_t = decltype(nullary);
7075 using unary_t = decltype(unary);
7076 const auto higher1st = [](nullary_t f){ return f(); };
7077 const auto higher2nd = [unary](nullary_t f1){
7078 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7080 return higher1st(nullary) + higher2nd(nullary)(unary);
7085 namespace test_variadic_templates
7091 template <int N0, int... N1toN>
7092 struct sum<N0, N1toN...>
7094 static constexpr auto value = N0 + sum<N1toN...>::value;
7100 static constexpr auto value = 0;
7103 static_assert(sum<>::value == 0, "");
7104 static_assert(sum<1>::value == 1, "");
7105 static_assert(sum<23>::value == 23, "");
7106 static_assert(sum<1, 2>::value == 3, "");
7107 static_assert(sum<5, 5, 11>::value == 21, "");
7108 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7112 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7113 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7115 namespace test_template_alias_sfinae
7120 template<typename T>
7121 using member = typename T::member_type;
7123 template<typename T>
7126 template<typename T>
7127 void func(member<T>*) {}
7131 void test() { func<foo>(0); }
7135 } // namespace cxx11
7137 #endif // __cplusplus >= 201103L
7142 if ac_fn_cxx_try_compile
"$LINENO"; then :
7143 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
7145 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
7147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
7150 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
7151 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
7155 if test x
$ac_success = xno
; then
7156 for alternative
in ${ax_cxx_compile_alternatives}; do
7157 switch
="-std=gnu++${alternative}"
7158 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7160 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
7161 if eval \
${$cachevar+:} false
; then :
7162 $as_echo_n "(cached) " >&6
7166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7170 // If the compiler admits that it is not ready for C++11, why torture it?
7171 // Hopefully, this will speed up the test.
7175 #error "This is not a C++ compiler"
7177 #elif __cplusplus < 201103L
7179 #error "This is not a C++11 compiler"
7186 namespace test_static_assert
7189 template <typename T>
7192 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7197 namespace test_final_override
7206 struct Derived : public Base
7208 virtual ~Derived() override {}
7209 virtual void f() override {}
7214 namespace test_double_right_angle_brackets
7217 template < typename T >
7220 typedef check<void> single_type;
7221 typedef check<check<void>> double_type;
7222 typedef check<check<check<void>>> triple_type;
7223 typedef check<check<check<check<void>>>> quadruple_type;
7227 namespace test_decltype
7240 namespace test_type_deduction
7243 template < typename T1, typename T2 >
7246 static const bool value = false;
7249 template < typename T >
7250 struct is_same<T, T>
7252 static const bool value = true;
7255 template < typename T1, typename T2 >
7257 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7263 test(const int c, volatile int v)
7265 static_assert(is_same<int, decltype(0)>::value == true, "");
7266 static_assert(is_same<int, decltype(c)>::value == false, "");
7267 static_assert(is_same<int, decltype(v)>::value == false, "");
7270 auto sumi = ac + av + 'x';
7271 auto sumf = ac + av + 1.0;
7272 static_assert(is_same<int, decltype(ac)>::value == true, "");
7273 static_assert(is_same<int, decltype(av)>::value == true, "");
7274 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7275 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7276 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7277 return (sumf > 0.0) ? sumi : add(c, v);
7282 namespace test_noexcept
7285 int f() { return 0; }
7286 int g() noexcept { return 0; }
7288 static_assert(noexcept(f()) == false, "");
7289 static_assert(noexcept(g()) == true, "");
7293 namespace test_constexpr
7296 template < typename CharT >
7297 unsigned long constexpr
7298 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7300 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7303 template < typename CharT >
7304 unsigned long constexpr
7305 strlen_c(const CharT *const s) noexcept
7307 return strlen_c_r(s, 0UL);
7310 static_assert(strlen_c("") == 0UL, "");
7311 static_assert(strlen_c("1") == 1UL, "");
7312 static_assert(strlen_c("example") == 7UL, "");
7313 static_assert(strlen_c("another\0example") == 7UL, "");
7317 namespace test_rvalue_references
7323 static constexpr int value = N;
7326 answer<1> f(int&) { return answer<1>(); }
7327 answer<2> f(const int&) { return answer<2>(); }
7328 answer<3> f(int&&) { return answer<3>(); }
7335 static_assert(decltype(f(i))::value == 1, "");
7336 static_assert(decltype(f(c))::value == 2, "");
7337 static_assert(decltype(f(0))::value == 3, "");
7342 namespace test_uniform_initialization
7347 static const int zero {};
7348 static const int one {1};
7351 static_assert(test::zero == 0, "");
7352 static_assert(test::one == 1, "");
7356 namespace test_lambdas
7362 auto lambda1 = [](){};
7363 auto lambda2 = lambda1;
7371 auto a = [](int i, int j){ return i + j; }(1, 2);
7372 auto b = []() -> int { return '0'; }();
7373 auto c = [=](){ return a + b; }();
7374 auto d = [&](){ return c; }();
7375 auto e = [a, &b](int x) mutable {
7376 const auto identity = [](int y){ return y; };
7377 for (auto i = 0; i < a; ++i)
7379 return x + identity(a + b);
7381 return a + b + c + d + e;
7387 const auto nullary = [](){ return 0; };
7388 const auto unary = [](int x){ return x; };
7389 using nullary_t = decltype(nullary);
7390 using unary_t = decltype(unary);
7391 const auto higher1st = [](nullary_t f){ return f(); };
7392 const auto higher2nd = [unary](nullary_t f1){
7393 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7395 return higher1st(nullary) + higher2nd(nullary)(unary);
7400 namespace test_variadic_templates
7406 template <int N0, int... N1toN>
7407 struct sum<N0, N1toN...>
7409 static constexpr auto value = N0 + sum<N1toN...>::value;
7415 static constexpr auto value = 0;
7418 static_assert(sum<>::value == 0, "");
7419 static_assert(sum<1>::value == 1, "");
7420 static_assert(sum<23>::value == 23, "");
7421 static_assert(sum<1, 2>::value == 3, "");
7422 static_assert(sum<5, 5, 11>::value == 21, "");
7423 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7427 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7428 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7430 namespace test_template_alias_sfinae
7435 template<typename T>
7436 using member = typename T::member_type;
7438 template<typename T>
7441 template<typename T>
7442 void func(member<T>*) {}
7446 void test() { func<foo>(0); }
7450 } // namespace cxx11
7452 #endif // __cplusplus >= 201103L
7457 if ac_fn_cxx_try_compile
"$LINENO"; then :
7462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7465 eval ac_res
=\$
$cachevar
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7467 $as_echo "$ac_res" >&6; }
7468 if eval test x\$
$cachevar = xyes
; then
7470 if test -n "$CXXCPP" ; then
7471 CXXCPP
="$CXXCPP $switch"
7479 if test x
$ac_success = xno
; then
7480 for alternative
in ${ax_cxx_compile_alternatives}; do
7481 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7482 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7484 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7485 if eval \${$cachevar+:} false; then :
7486 $as_echo_n "(cached
) " >&6
7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491 /* end confdefs.h. */
7494 // If the compiler admits that it is not ready for C++11, why torture it?
7495 // Hopefully, this will speed up the test.
7499 #error "This is not a C
++ compiler
"
7501 #elif __cplusplus < 201103L
7503 #error "This is not a C
++11 compiler
"
7510 namespace test_static_assert
7513 template <typename T>
7516 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7521 namespace test_final_override
7530 struct Derived : public Base
7532 virtual ~Derived() override {}
7533 virtual void f() override {}
7538 namespace test_double_right_angle_brackets
7541 template < typename T >
7544 typedef check<void> single_type;
7545 typedef check<check<void>> double_type;
7546 typedef check<check<check<void>>> triple_type;
7547 typedef check<check<check<check<void>>>> quadruple_type;
7551 namespace test_decltype
7564 namespace test_type_deduction
7567 template < typename T1, typename T2 >
7570 static const bool value = false;
7573 template < typename T >
7574 struct is_same<T, T>
7576 static const bool value = true;
7579 template < typename T1, typename T2 >
7581 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7587 test(const int c, volatile int v)
7589 static_assert(is_same<int, decltype(0)>::value == true, "");
7590 static_assert(is_same<int, decltype(c)>::value == false, "");
7591 static_assert(is_same<int, decltype(v)>::value == false, "");
7594 auto sumi = ac + av + 'x';
7595 auto sumf = ac + av + 1.0;
7596 static_assert(is_same<int, decltype(ac)>::value == true, "");
7597 static_assert(is_same<int, decltype(av)>::value == true, "");
7598 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7599 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7600 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7601 return (sumf > 0.0) ? sumi : add(c, v);
7606 namespace test_noexcept
7609 int f() { return 0; }
7610 int g() noexcept { return 0; }
7612 static_assert(noexcept(f()) == false, "");
7613 static_assert(noexcept(g()) == true, "");
7617 namespace test_constexpr
7620 template < typename CharT >
7621 unsigned long constexpr
7622 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7624 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7627 template < typename CharT >
7628 unsigned long constexpr
7629 strlen_c(const CharT *const s) noexcept
7631 return strlen_c_r(s, 0UL);
7634 static_assert(strlen_c("") == 0UL, "");
7635 static_assert(strlen_c("1") == 1UL, "");
7636 static_assert(strlen_c("example
") == 7UL, "");
7637 static_assert(strlen_c("another\
0example
") == 7UL, "");
7641 namespace test_rvalue_references
7647 static constexpr int value = N;
7650 answer<1> f(int&) { return answer<1>(); }
7651 answer<2> f(const int&) { return answer<2>(); }
7652 answer<3> f(int&&) { return answer<3>(); }
7659 static_assert(decltype(f(i))::value == 1, "");
7660 static_assert(decltype(f(c))::value == 2, "");
7661 static_assert(decltype(f(0))::value == 3, "");
7666 namespace test_uniform_initialization
7671 static const int zero {};
7672 static const int one {1};
7675 static_assert(test::zero == 0, "");
7676 static_assert(test::one == 1, "");
7680 namespace test_lambdas
7686 auto lambda1 = [](){};
7687 auto lambda2 = lambda1;
7695 auto a = [](int i, int j){ return i + j; }(1, 2);
7696 auto b = []() -> int { return '0'; }();
7697 auto c = [=](){ return a + b; }();
7698 auto d = [&](){ return c; }();
7699 auto e = [a, &b](int x) mutable {
7700 const auto identity = [](int y){ return y; };
7701 for (auto i = 0; i < a; ++i)
7703 return x + identity(a + b);
7705 return a + b + c + d + e;
7711 const auto nullary = [](){ return 0; };
7712 const auto unary = [](int x){ return x; };
7713 using nullary_t = decltype(nullary);
7714 using unary_t = decltype(unary);
7715 const auto higher1st = [](nullary_t f){ return f(); };
7716 const auto higher2nd = [unary](nullary_t f1){
7717 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7719 return higher1st(nullary) + higher2nd(nullary)(unary);
7724 namespace test_variadic_templates
7730 template <int N0, int... N1toN>
7731 struct sum<N0, N1toN...>
7733 static constexpr auto value = N0 + sum<N1toN...>::value;
7739 static constexpr auto value = 0;
7742 static_assert(sum<>::value == 0, "");
7743 static_assert(sum<1>::value == 1, "");
7744 static_assert(sum<23>::value == 23, "");
7745 static_assert(sum<1, 2>::value == 3, "");
7746 static_assert(sum<5, 5, 11>::value == 21, "");
7747 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7751 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7752 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7754 namespace test_template_alias_sfinae
7759 template<typename T>
7760 using member = typename T::member_type;
7762 template<typename T>
7765 template<typename T>
7766 void func(member<T>*) {}
7770 void test() { func<foo>(0); }
7774 } // namespace cxx11
7776 #endif // __cplusplus >= 201103L
7781 if ac_fn_cxx_try_compile "$LINENO"; then :
7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7789 eval ac_res=\$$cachevar
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7791 $as_echo "$ac_res" >&6; }
7792 if eval test x\$$cachevar = xyes; then
7794 if test -n "$CXXCPP" ; then
7795 CXXCPP="$CXXCPP $switch"
7801 if test x$ac_success = xyes; then
7806 CXX_FOR_BUILD="$CXX"
7807 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7808 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7809 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7810 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7811 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7813 ac_cpp='$CPP $CPPFLAGS'
7814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7818 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7819 if test x$ac_success = xno; then
7820 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7823 if test x$ac_success = xno; then
7824 HAVE_CXX11_FOR_BUILD=0
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7826 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7828 HAVE_CXX11_FOR_BUILD=1
7830 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7838 # Check whether --enable-pgo-build was given.
7839 if test "${enable_pgo_build+set}" = set; then :
7840 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
7846 # Issue errors and warnings for invalid/strange PGO build combinations.
7847 case "$have_compiler:$host:$target:$enable_pgo_build" in
7850 # Allow the PGO build only if we aren't building a compiler and
7851 # we are in a native configuration.
7852 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
7854 # Disallow the PGO bootstrap if we are building a compiler.
7855 yes:*:*:yes |
yes:*:*:lto
)
7856 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7859 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
7863 if test "$enable_pgo_build" != "no"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
7865 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
7866 old_CFLAGS
="$CFLAGS"
7867 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
7868 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
7870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7874 if ac_fn_c_try_compile
"$LINENO"; then :
7877 PGO_BUILD_GEN_CFLAGS
=
7879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7880 CFLAGS
="$old_CFLAGS"
7881 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7883 $as_echo "yes" >&6; }
7884 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7888 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7891 if test "$enable_pgo_build" = "lto"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
7893 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
7894 old_CFLAGS
="$CFLAGS"
7895 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
7896 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
7897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7898 /* end confdefs.h. */
7901 if ac_fn_c_try_compile
"$LINENO"; then :
7904 PGO_BUILD_LTO_CFLAGS
=
7906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7907 CFLAGS
="$old_CFLAGS"
7908 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7910 $as_echo "yes" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 $as_echo "no" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
7915 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
7923 # Used for setting $lt_cv_objdir
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7925 $as_echo_n "checking for objdir... " >&6; }
7926 if ${lt_cv_objdir+:} false
; then :
7927 $as_echo_n "(cached) " >&6
7929 rm -f .libs
2>/dev
/null
7930 mkdir .libs
2>/dev
/null
7931 if test -d .libs
; then
7934 # MS-DOS does not allow filenames that begin with a dot.
7937 rmdir .libs
2>/dev
/null
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7940 $as_echo "$lt_cv_objdir" >&6; }
7941 objdir
=$lt_cv_objdir
7947 cat >>confdefs.h
<<_ACEOF
7948 #define LT_OBJDIR "$lt_cv_objdir/"
7953 # Check for GMP, MPFR and MPC
7954 gmplibs
="-lmpc -lmpfr -lgmp"
7958 # Specify a location for mpc
7959 # check for this first so it ends up on the link line before mpfr.
7961 # Check whether --with-mpc was given.
7962 if test "${with_mpc+set}" = set; then :
7967 # Check whether --with-mpc-include was given.
7968 if test "${with_mpc_include+set}" = set; then :
7969 withval
=$with_mpc_include;
7973 # Check whether --with-mpc-lib was given.
7974 if test "${with_mpc_lib+set}" = set; then :
7975 withval
=$with_mpc_lib;
7979 if test "x$with_mpc" != x
; then
7980 gmplibs
="-L$with_mpc/lib $gmplibs"
7981 gmpinc
="-I$with_mpc/include $gmpinc"
7983 if test "x$with_mpc_include" != x
; then
7984 gmpinc
="-I$with_mpc_include $gmpinc"
7986 if test "x$with_mpc_lib" != x
; then
7987 gmplibs
="-L$with_mpc_lib $gmplibs"
7989 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
7990 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
7991 gmpinc
='-I$$s/mpc/src '"$gmpinc"
7992 # Do not test the mpc version. Assume that it is sufficient, since
7993 # it is in the source tree, and the library has not been built yet
7994 # but it would be included on the link line in the version check below
7995 # hence making the test fail.
7999 # Specify a location for mpfr
8000 # check for this first so it ends up on the link line before gmp.
8002 # Check whether --with-mpfr-dir was given.
8003 if test "${with_mpfr_dir+set}" = set; then :
8004 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
8005 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
8010 # Check whether --with-mpfr was given.
8011 if test "${with_mpfr+set}" = set; then :
8016 # Check whether --with-mpfr-include was given.
8017 if test "${with_mpfr_include+set}" = set; then :
8018 withval
=$with_mpfr_include;
8022 # Check whether --with-mpfr-lib was given.
8023 if test "${with_mpfr_lib+set}" = set; then :
8024 withval
=$with_mpfr_lib;
8028 if test "x$with_mpfr" != x
; then
8029 gmplibs
="-L$with_mpfr/lib $gmplibs"
8030 gmpinc
="-I$with_mpfr/include $gmpinc"
8032 if test "x$with_mpfr_include" != x
; then
8033 gmpinc
="-I$with_mpfr_include $gmpinc"
8035 if test "x$with_mpfr_lib" != x
; then
8036 gmplibs
="-L$with_mpfr_lib $gmplibs"
8038 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
8039 # MPFR v3.1.0 moved the sources into a src sub-directory.
8040 if ! test -d ${srcdir}/mpfr
/src
; then
8041 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
8043 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
8044 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
8045 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
8046 # Do not test the mpfr version. Assume that it is sufficient, since
8047 # it is in the source tree, and the library has not been built yet
8048 # but it would be included on the link line in the version check below
8049 # hence making the test fail.
8053 # Specify a location for gmp
8055 # Check whether --with-gmp-dir was given.
8056 if test "${with_gmp_dir+set}" = set; then :
8057 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
8058 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
8063 # Check whether --with-gmp was given.
8064 if test "${with_gmp+set}" = set; then :
8069 # Check whether --with-gmp-include was given.
8070 if test "${with_gmp_include+set}" = set; then :
8071 withval
=$with_gmp_include;
8075 # Check whether --with-gmp-lib was given.
8076 if test "${with_gmp_lib+set}" = set; then :
8077 withval
=$with_gmp_lib;
8082 if test "x$with_gmp" != x
; then
8083 gmplibs
="-L$with_gmp/lib $gmplibs"
8084 gmpinc
="-I$with_gmp/include $gmpinc"
8086 if test "x$with_gmp_include" != x
; then
8087 gmpinc
="-I$with_gmp_include $gmpinc"
8089 if test "x$with_gmp_lib" != x
; then
8090 gmplibs
="-L$with_gmp_lib $gmplibs"
8092 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
8093 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
8094 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
8095 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8096 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8097 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
8098 # Do not test the gmp version. Assume that it is sufficient, since
8099 # it is in the source tree, and the library has not been built yet
8100 # but it would be included on the link line in the version check below
8101 # hence making the test fail.
8105 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
8107 saved_CFLAGS
="$CFLAGS"
8108 CFLAGS
="$CFLAGS $gmpinc"
8109 # Check for the recommended and required versions of GMP.
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
8111 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
8112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8119 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8120 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8121 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
8129 if ac_fn_c_try_compile
"$LINENO"; then :
8130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8131 /* end confdefs.h. */
8137 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8138 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8139 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
8147 if ac_fn_c_try_compile
"$LINENO"; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8149 $as_echo "yes" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8152 $as_echo "buggy but acceptable" >&6; }
8154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }; have_gmp
=no
8159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8161 # If we have GMP, check the MPFR version.
8162 if test x
"$have_gmp" = xyes
; then
8163 # Check for the recommended and required versions of MPFR.
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
8165 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
8166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8174 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
8182 if ac_fn_c_try_compile
"$LINENO"; then :
8183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8184 /* end confdefs.h. */
8191 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
8199 if ac_fn_c_try_compile
"$LINENO"; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8201 $as_echo "yes" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8204 $as_echo "buggy but acceptable" >&6; }
8206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209 $as_echo "no" >&6; }; have_gmp
=no
8211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8214 # Check for the MPC header version.
8215 if test x
"$have_gmp" = xyes
; then
8216 # Check for the recommended and required versions of MPC.
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
8218 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
8219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8226 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
8234 if ac_fn_c_try_compile
"$LINENO"; then :
8235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8242 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
8250 if ac_fn_c_try_compile
"$LINENO"; then :
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8252 $as_echo "yes" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8255 $as_echo "buggy but acceptable" >&6; }
8257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }; have_gmp
=no
8262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8265 # Now check the MPFR library.
8266 if test x
"$have_gmp" = xyes
; then
8268 LIBS
="$LIBS $gmplibs"
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
8270 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
8271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8284 mpfr_atan2 (n, n, x, MPFR_RNDN);
8285 mpfr_erfc (n, x, MPFR_RNDN);
8286 mpfr_subnormalize (x, t, MPFR_RNDN);
8290 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
8291 mpc_cosh (c, c, MPC_RNDNN);
8292 mpc_pow (c, c, c, MPC_RNDNN);
8293 mpc_acosh (c, c, MPC_RNDNN);
8300 if ac_fn_c_try_link
"$LINENO"; then :
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8302 $as_echo "yes" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }; have_gmp
=no
8307 rm -f core conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8312 CFLAGS
="$saved_CFLAGS"
8314 # The library versions listed in the error message below should match
8315 # the HARD-minimums enforced above.
8316 if test x
$have_gmp != xyes
; then
8317 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
8318 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
8319 their locations. Source code for these libraries can be found at
8320 their respective hosting sites as well as at
8321 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
8322 http://gcc.gnu.org/install/prerequisites.html for additional info. If
8323 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
8324 make sure that you have installed both the libraries and the header
8325 files. They may be located in separate packages." "$LINENO" 5
8329 # Flags needed for both GMP, MPFR and/or MPC.
8337 # Libraries to use for stage1 or when not bootstrapping.
8339 # Check whether --with-stage1-libs was given.
8340 if test "${with_stage1_libs+set}" = set; then :
8341 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8344 stage1_libs
=$withval
8352 # Whether or not to use -static-libstdc++ and -static-libgcc. The
8353 # default is yes if gcc is being built; no otherwise. The reason for
8354 # this default is that gdb is sometimes linked against GNU Source
8355 # Highlight, which is a shared library that uses C++ exceptions. In
8356 # this case, -static-libstdc++ will cause crashes.
8358 # Check whether --with-static-standard-libraries was given.
8359 if test "${with_static_standard_libraries+set}" = set; then :
8360 withval
=$with_static_standard_libraries;
8362 with_static_standard_libraries
=auto
8365 if test "$with_static_standard_libraries" = auto
; then
8366 with_static_standard_libraries
=$have_compiler
8369 # Linker flags to use for stage1 or when not bootstrapping.
8371 # Check whether --with-stage1-ldflags was given.
8372 if test "${with_stage1_ldflags+set}" = set; then :
8373 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8376 stage1_ldflags
=$withval
8380 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8381 # if supported. But if the user explicitly specified the libraries to use,
8382 # trust that they are doing what they want.
8383 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8384 -a "$have_static_libs" = yes; then
8385 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8391 # Libraries to use for stage2 and later builds.
8393 # Check whether --with-boot-libs was given.
8394 if test "${with_boot_libs+set}" = set; then :
8395 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8398 poststage1_libs
=$withval
8406 # Linker flags to use for stage2 and later builds.
8408 # Check whether --with-boot-ldflags was given.
8409 if test "${with_boot_ldflags+set}" = set; then :
8410 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8413 poststage1_ldflags
=$withval
8417 # In stages 2 and 3, default to linking libstdc++ and libgcc
8418 # statically. But if the user explicitly specified the libraries to
8419 # use, trust that they are doing what they want.
8420 if test "$poststage1_libs" = ""; then
8421 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8427 # GCC GRAPHITE dependency isl.
8428 # Basic setup is inlined here, actual checks are in config/isl.m4
8431 # Check whether --with-isl was given.
8432 if test "${with_isl+set}" = set; then :
8437 # Treat --without-isl as a request to disable
8438 # GRAPHITE support and skip all following checks.
8439 if test "x$with_isl" != "xno"; then
8443 # Check whether --with-isl-include was given.
8444 if test "${with_isl_include+set}" = set; then :
8445 withval
=$with_isl_include;
8449 # Check whether --with-isl-lib was given.
8450 if test "${with_isl_lib+set}" = set; then :
8451 withval
=$with_isl_lib;
8455 # Check whether --enable-isl-version-check was given.
8456 if test "${enable_isl_version_check+set}" = set; then :
8457 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8459 ENABLE_ISL_CHECK
=yes
8463 # Initialize isllibs and islinc.
8472 isllibs
="-L$with_isl/lib"
8473 islinc
="-I$with_isl/include"
8476 if test "x${with_isl_include}" != x
; then
8477 islinc
="-I$with_isl_include"
8479 if test "x${with_isl_lib}" != x
; then
8480 isllibs
="-L$with_isl_lib"
8482 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8483 && test -d ${srcdir}/isl
; then
8484 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8485 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8488 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8491 isllibs
="${isllibs} -lisl"
8495 if test "${ENABLE_ISL_CHECK}" = yes ; then
8496 _isl_saved_CFLAGS
=$CFLAGS
8497 _isl_saved_LDFLAGS
=$LDFLAGS
8498 _isl_saved_LIBS
=$LIBS
8500 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8501 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8502 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8505 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 #include <isl/schedule.h>
8512 isl_options_set_schedule_serialize_sccs (NULL, 0);
8517 if ac_fn_c_try_link
"$LINENO"; then :
8522 rm -f core conftest.err conftest.
$ac_objext \
8523 conftest
$ac_exeext conftest.
$ac_ext
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8525 $as_echo "$gcc_cv_isl" >&6; }
8527 if test "${gcc_cv_isl}" = no
; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8529 $as_echo "required isl version is 0.15 or later" >&6; }
8532 CFLAGS
=$_isl_saved_CFLAGS
8533 LDFLAGS
=$_isl_saved_LDFLAGS
8534 LIBS
=$_isl_saved_LIBS
8542 if test "x${with_isl}" = xno
; then
8543 graphite_requested
=no
8544 elif test "x${with_isl}" != x \
8545 ||
test "x${with_isl_include}" != x \
8546 ||
test "x${with_isl_lib}" != x
; then
8547 graphite_requested
=yes
8549 graphite_requested
=no
8554 if test "${gcc_cv_isl}" = no
; then
8559 if test "${graphite_requested}" = yes \
8560 && test "x${isllibs}" = x \
8561 && test "x${islinc}" = x
; then
8563 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8569 # If the isl check failed, disable builds of in-tree variant of isl
8570 if test "x$with_isl" = xno ||
8571 test "x$gcc_cv_isl" = xno
; then
8572 noconfigdirs
="$noconfigdirs isl"
8579 # Check for LTO support.
8580 # Check whether --enable-lto was given.
8581 if test "${enable_lto+set}" = set; then :
8582 enableval
=$enable_lto; enable_lto
=$enableval
8584 enable_lto
=yes; default_enable_lto
=yes
8593 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8594 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8595 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8604 if test $target_elf = yes; then :
8605 # ELF platforms build the lto-plugin always.
8606 build_lto_plugin
=yes
8609 if test x
"$default_enable_lto" = x
"yes" ; then
8611 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8612 # On other non-ELF platforms, LTO has yet to be validated.
8616 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8617 # It would also be nice to check the binutils support, but we don't
8618 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8619 # warn during gcc/ subconfigure; unless you're bootstrapping with
8620 # -flto it won't be needed until after installation anyway.
8622 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8623 *) if test x
"$enable_lto" = x
"yes"; then
8624 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8629 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8630 # Build it unless LTO was explicitly disabled.
8632 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8639 # Check whether --enable-linker-plugin-configure-flags was given.
8640 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8641 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8643 extra_linker_plugin_configure_flags
=
8647 # Check whether --enable-linker-plugin-flags was given.
8648 if test "${enable_linker_plugin_flags+set}" = set; then :
8649 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8651 extra_linker_plugin_flags
=
8656 # Enable --enable-host-shared.
8657 # Checked early to determine whether jit is an 'all' language
8658 # Check whether --enable-host-shared was given.
8659 if test "${enable_host_shared+set}" = set; then :
8660 enableval
=$enable_host_shared; host_shared
=$enableval
8662 x86_64-
*-darwin* | aarch64-
*-darwin*)
8663 if test x
$host_shared != xyes
; then
8664 # PIC is the default, and actually cannot be switched off.
8665 echo configure.ac
: warning
: PIC code is required
for the configured target
, host-shared setting ignored.
1>&2
8672 x86_64-
*-darwin* | aarch64-
*-darwin*) host_shared
=yes ;;
8673 *) host_shared
=no
;;
8679 # By default, C and C++ are the only stage 1 languages.
8680 stage1_languages
=,c
,
8682 # Target libraries that we bootstrap.
8683 bootstrap_target_libs
=,target-libgcc
,
8685 # Figure out what language subdirectories are present.
8686 # Look if the user specified --enable-languages="..."; if not, use
8687 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8689 # NB: embedded tabs in this IF block -- do not untabify
8690 if test -d ${srcdir}/gcc
; then
8691 if test x
"${enable_languages+set}" != xset
; then
8692 if test x
"${LANGUAGES+set}" = xset
; then
8693 enable_languages
="${LANGUAGES}"
8694 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8696 enable_languages
=default
8699 if test x
"${enable_languages}" = x ||
8700 test x
"${enable_languages}" = xyes
;
8702 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8706 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8708 # 'f95' is the old name for the 'fortran' language. We issue a warning
8709 # and make the substitution.
8710 case ,${enable_languages}, in
8712 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8713 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8717 # If bootstrapping, C++ must be enabled.
8718 case ",$enable_languages,:$enable_bootstrap" in
8721 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8722 enable_languages
="${enable_languages},c++"
8724 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8729 # First scan to see if an enabled language requires some other language.
8730 # We assume that a given config-lang.in will list all the language
8731 # front ends it requires, even if some are required indirectly.
8732 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8733 case ${lang_frag} in
8735 # The odd quoting in the next line works around
8736 # an apparent bug in bash 1.12 on linux.
8737 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8739 # From the config-lang.in, get $language, $lang_requires, and
8740 # $lang_requires_boot_languages.
8743 lang_requires_boot_languages
=
8744 # set srcdir during sourcing lang_frag to the gcc dir.
8745 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8746 # polutes this shell
8747 saved_srcdir
=${srcdir}
8748 srcdir
=${srcdir}/gcc .
${lang_frag}
8749 srcdir
=${saved_srcdir}
8750 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8751 case ,${enable_languages}, in
8756 echo " \`$other' language required by \`$language'; enabling" 1>&2
8757 enable_languages
="${enable_languages},${other}"
8761 for other
in ${lang_requires_boot_languages} ; do
8762 if test "$other" != "c"; then
8763 case ,${enable_stage1_languages}, in
8768 case ,${enable_languages}, in
8770 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8771 enable_stage1_languages
="$enable_stage1_languages,${other}"
8782 new_enable_languages
=,c
,
8784 # If LTO is enabled, add the LTO front end.
8785 if test "$enable_lto" = "yes" ; then
8786 case ,${enable_languages}, in
8788 *) enable_languages
="${enable_languages},lto" ;;
8790 if test "${build_lto_plugin}" = "yes" ; then
8791 configdirs
="$configdirs lto-plugin"
8795 # If we're building an offloading compiler, add the LTO front end.
8796 if test x
"$enable_as_accelerator_for" != x
; then
8797 case ,${enable_languages}, in
8799 *) enable_languages
="${enable_languages},lto" ;;
8803 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8804 potential_languages
=,c
,
8806 enabled_target_libs
=
8807 disabled_target_libs
=
8809 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8810 case ${lang_frag} in
8812 # The odd quoting in the next line works around
8813 # an apparent bug in bash 1.12 on linux.
8814 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8816 # From the config-lang.in, get $language, $target_libs,
8817 # $lang_dirs, $boot_language, and $build_by_default
8823 build_by_default
=yes
8824 # set srcdir during sourcing. See above about save & restore
8825 saved_srcdir
=${srcdir}
8826 srcdir
=${srcdir}/gcc .
${lang_frag}
8827 srcdir
=${saved_srcdir}
8828 if test x
${language} = x
; then
8829 echo "${lang_frag} doesn't set \$language." 1>&2
8833 if test "$language" = "c++"; then
8838 # C is always enabled, so no need to add it again
8839 if test "$language" != "c"; then
8840 case ,${enable_languages}, in
8842 # Language was explicitly selected; include it
8846 # All languages are enabled
8850 # 'default' was selected, select it if it is a default language
8851 add_this_lang
=${build_by_default}
8856 # Disable languages that need other directories if these aren't available.
8857 for i
in $subdir_requires; do
8858 test -f "$srcdir/gcc/$i/config-lang.in" && continue
8859 case ${add_this_lang} in
8861 # Specifically requested language; tell them.
8862 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
8866 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
8867 add_this_lang
=unsupported
8871 add_this_lang
=unsupported
8876 # Disable Ada if no preexisting GNAT is available.
8877 case ${add_this_lang}:${language}:${have_gnat} in
8879 # Specifically requested language; tell them.
8880 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
8884 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
8885 add_this_lang
=unsupported
8889 add_this_lang
=unsupported
8893 # Disable D if no preexisting GDC is available.
8894 case ${add_this_lang}:${language}:${have_gdc} in
8896 # Specifically requested language; tell them.
8897 as_fn_error $?
"GDC is required to build $language" "$LINENO" 5
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GDC is required to build $language" >&5
8901 $as_echo "$as_me: WARNING: GDC is required to build $language" >&2;}
8902 add_this_lang
=unsupported
8906 add_this_lang
=unsupported
8910 # Disable jit if -enable-host-shared not specified
8911 # but not if building for Mingw. All code in Windows
8912 # is position independent code (PIC).
8916 case ${add_this_lang}:${language}:${host_shared} in
8918 # PR jit/64780: explicitly specify --enable-host-shared
8920 Enabling language \"jit\" requires --enable-host-shared.
8922 --enable-host-shared typically slows the rest of the compiler down by
8923 a few %, so you must explicitly enable it.
8925 If you want to build both the jit and the regular compiler, it is often
8926 best to do this via two separate configure/builds, in separate
8927 directories, to avoid imposing the performance cost of
8928 --enable-host-shared on the regular compiler." "$LINENO" 5
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
8932 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
8933 add_this_lang
=unsupported
8937 add_this_lang
=unsupported
8943 # Disable a language that is unsupported by the target.
8944 case "${add_this_lang}: $unsupported_languages " in
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
8949 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
8950 add_this_lang
=unsupported
8954 case $add_this_lang in
8956 # Remove language-dependent dirs.
8957 disabled_target_libs
="$disabled_target_libs $target_libs"
8958 noconfigdirs
="$noconfigdirs $lang_dirs"
8961 # Remove language-dependent dirs; still show language as supported.
8962 disabled_target_libs
="$disabled_target_libs $target_libs"
8963 noconfigdirs
="$noconfigdirs $lang_dirs"
8964 potential_languages
="${potential_languages}${language},"
8967 new_enable_languages
="${new_enable_languages}${language},"
8968 potential_languages
="${potential_languages}${language},"
8969 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
8970 enabled_target_libs
="$enabled_target_libs $target_libs"
8971 case "${boot_language}:,$enable_stage1_languages," in
8972 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
8973 # Add to (comma-separated) list of stage 1 languages.
8974 case ",$stage1_languages," in
8975 *,$language,* |
,yes, |
,all
,) ;;
8976 *) stage1_languages
="${stage1_languages}${language}," ;;
8978 # We need to bootstrap any supporting libraries.
8979 bootstrap_target_libs
=`echo "${bootstrap_target_libs}${target_libs}," | sed "s/ /,/g"`
8988 # Add target libraries which are only needed for disabled languages
8990 if test -n "$disabled_target_libs"; then
8991 for dir
in $disabled_target_libs; do
8992 case " $enabled_target_libs " in
8994 *) noconfigdirs
="$noconfigdirs $dir" ;;
8999 # Check whether --enable-stage1-languages was given.
9000 if test "${enable_stage1_languages+set}" = set; then :
9001 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
9003 # Set it to something that will have no effect in the loop below
9004 enable_stage1_languages
=c
;;
9006 enable_stage1_languages
=`echo $new_enable_languages | \
9007 sed -e "s/^,//" -e "s/,$//" ` ;;
9009 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
9010 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
9013 # Add "good" languages from enable_stage1_languages to stage1_languages,
9014 # while "bad" languages go in missing_languages. Leave no duplicates.
9015 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
9016 case $potential_languages in
9018 case $stage1_languages in
9020 *) stage1_languages
="$stage1_languages$i," ;;
9023 case $missing_languages in
9025 *) missing_languages
="$missing_languages$i," ;;
9032 # Remove leading/trailing commas that were added for simplicity
9033 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
9034 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
9035 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
9036 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
9038 if test "x$missing_languages" != x
; then
9040 The following requested languages could not be built: ${missing_languages}
9041 Supported languages are: ${potential_languages}" "$LINENO" 5
9043 if test "x$new_enable_languages" != "x$enable_languages"; then
9044 echo The following languages will be built
: ${new_enable_languages}
9045 enable_languages
="$new_enable_languages"
9049 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
9052 # Handle --disable-<component> generically.
9053 for dir
in $configdirs $build_configdirs $target_configdirs ; do
9054 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
9055 varname
=`echo $dirname | sed -e s/+/_/g`
9056 if eval test x\
${enable_${varname}} "=" xno
; then
9057 noconfigdirs
="$noconfigdirs $dir"
9061 # Check for Boehm's garbage collector
9062 # Check whether --enable-objc-gc was given.
9063 if test "${enable_objc_gc+set}" = set; then :
9064 enableval
=$enable_objc_gc;
9068 # Check whether --with-target-bdw-gc was given.
9069 if test "${with_target_bdw_gc+set}" = set; then :
9070 withval
=$with_target_bdw_gc;
9074 # Check whether --with-target-bdw-gc-include was given.
9075 if test "${with_target_bdw_gc_include+set}" = set; then :
9076 withval
=$with_target_bdw_gc_include;
9080 # Check whether --with-target-bdw-gc-lib was given.
9081 if test "${with_target_bdw_gc_lib+set}" = set; then :
9082 withval
=$with_target_bdw_gc_lib;
9086 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
9088 $as_echo_n "checking for bdw garbage collector... " >&6; }
9089 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
9091 $as_echo "using bdw-gc in default locations" >&6; }
9093 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
9094 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
9095 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
9096 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
9099 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
9104 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
9105 case ,${enable_languages}, in
9107 # Disable libitm, libsanitizer if we're not building libstdc++
9108 case "${noconfigdirs}" in
9109 *target-libstdc
++-v3*)
9110 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
9116 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
9120 # If gcc/ is not in the source tree then we'll not be building a
9121 # target compiler, assume in that case we don't want to build any
9122 # target libraries or tools.
9124 # This was added primarily for the benefit for binutils-gdb who reuse
9125 # this configure script, but don't always have target tools available.
9126 if test ! -d ${srcdir}/gcc
; then
9127 skipdirs
="${skipdirs} ${target_configdirs}"
9130 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
9131 # $build_configdirs and $target_configdirs.
9132 # If we have the source for $noconfigdirs entries, add them to $notsupp.
9135 for dir
in .
$skipdirs $noconfigdirs ; do
9136 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
9137 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9138 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
9139 if test -r $srcdir/$dirname/configure
; then
9140 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9143 notsupp
="$notsupp $dir"
9147 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9148 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
9149 if test -r $srcdir/$dirname/configure
; then
9150 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9153 notsupp
="$notsupp $dir"
9157 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9158 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
9159 if test -r $srcdir/$dirname/configure
; then
9160 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9163 notsupp
="$notsupp $dir"
9169 # Quietly strip out all directories which aren't configurable in this tree.
9170 # This relies on all configurable subdirectories being autoconfiscated, which
9172 build_configdirs_all
="$build_configdirs"
9174 for i
in ${build_configdirs_all} ; do
9175 j
=`echo $i | sed -e s/build-//g`
9176 if test -f ${srcdir}/$j/configure
; then
9177 build_configdirs
="${build_configdirs} $i"
9181 configdirs_all
="$configdirs"
9183 for i
in ${configdirs_all} ; do
9184 if test -f ${srcdir}/$i/configure
; then
9185 configdirs
="${configdirs} $i"
9189 target_configdirs_all
="$target_configdirs"
9191 for i
in ${target_configdirs_all} ; do
9192 j
=`echo $i | sed -e s/target-//g`
9193 if test -f ${srcdir}/$j/configure
; then
9194 target_configdirs
="${target_configdirs} $i"
9198 # libiberty-linker-plugin is special: it doesn't have its own source directory,
9199 # so we have to add it after the preceding checks.
9200 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
9202 case " $configdirs " in
9204 # If we can build libiberty, we can also build libiberty-linker-plugin.
9205 configdirs
="$configdirs libiberty-linker-plugin"
9206 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
9207 --with-libiberty=../libiberty-linker-plugin";;
9209 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
9213 # Sometimes we have special requirements for the host libiberty.
9214 extra_host_libiberty_configure_flags
=
9215 extra_host_zlib_configure_flags
=
9216 case " $configdirs " in
9217 *" lto-plugin "* |
*" libcc1 "*)
9218 # When these are to be built as shared libraries, the same applies to
9220 extra_host_libiberty_configure_flags
=--enable-shared
9223 # When bfd is to be built as a shared library, the same applies to
9225 if test "$enable_shared" = "yes"; then
9226 extra_host_zlib_configure_flags
=--enable-host-shared
9233 # Produce a warning message for the subdirs we can't configure.
9234 # This isn't especially interesting in the Cygnus tree, but in the individual
9235 # FSF releases, it's important to let people know when their machine isn't
9236 # supported by the one or two programs in a package.
9238 if test -n "${notsupp}" && test -z "${norecursion}" ; then
9239 # If $appdirs is non-empty, at least one of those directories must still
9240 # be configured, or we error out. (E.g., if the gas release supports a
9241 # specified target in some subdirs but not the gas subdir, we shouldn't
9242 # pretend that all is well.)
9243 if test -n "$appdirs" ; then
9244 for dir
in $appdirs ; do
9245 if test -r $dir/Makefile.
in ; then
9246 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9250 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
9256 if test -n "$appdirs" ; then
9257 echo "*** This configuration is not supported by this package." 1>&2
9261 # Okay, some application will build, or we don't care to check. Still
9262 # notify of subdirs not getting built.
9263 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
9264 echo " ${notsupp}" 1>&2
9265 echo " (Any other directories should still work fine.)" 1>&2
9273 # To find our prefix, in gcc_cv_tool_prefix.
9275 # The user is always right.
9276 if test "${PATH_SEPARATOR+set}" != set; then
9277 echo "#! /bin/sh" >conf$$.sh
9278 echo "exit 0" >>conf$$.sh
9280 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9289 get_gcc_base_ver
="cat"
9291 # Check whether --with-gcc-major-version-only was given.
9292 if test "${with_gcc_major_version_only+set}" = set; then :
9293 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
9294 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
9304 if test "x$exec_prefix" = xNONE
; then
9305 if test "x$prefix" = xNONE
; then
9306 gcc_cv_tool_prefix
=$ac_default_prefix
9308 gcc_cv_tool_prefix
=$prefix
9311 gcc_cv_tool_prefix
=$exec_prefix
9314 # If there is no compiler in the tree, use the PATH only. In any
9315 # case, if there is no compiler in the tree nobody should use
9316 # AS_FOR_TARGET and LD_FOR_TARGET.
9317 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
9318 if test x
$with_gcc_major_version_only = xyes
; then
9319 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
9321 gcc_version
=`cat $srcdir/gcc/BASE-VER`
9323 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9324 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
9325 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9326 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
9327 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9328 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
9333 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
9334 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
9342 # Check whether --with-build-sysroot was given.
9343 if test "${with_build_sysroot+set}" = set; then :
9344 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
9345 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
9348 SYSROOT_CFLAGS_FOR_TARGET
=
9354 # Check whether --with-debug-prefix-map was given.
9355 if test "${with_debug_prefix_map+set}" = set; then :
9356 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
9357 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9358 for debug_map
in $withval; do
9359 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
9363 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9368 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
9369 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
9370 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
9371 # We want to ensure that TARGET libraries (which we know are built with
9372 # gcc) are built with "-O2 -g", so include those options when setting
9373 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
9374 if test "x$CFLAGS_FOR_TARGET" = x
; then
9375 if test "x${is_cross_compiler}" = xyes
; then
9376 CFLAGS_FOR_TARGET
="-g -O2"
9378 CFLAGS_FOR_TARGET
=$CFLAGS
9381 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
9384 *" -g "* |
*" -g3 "*) ;;
9385 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
9391 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
9392 if test "x${is_cross_compiler}" = xyes
; then
9393 CXXFLAGS_FOR_TARGET
="-g -O2"
9395 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
9396 case " $CXXFLAGS " in
9398 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
9400 case " $CXXFLAGS " in
9401 *" -g "* |
*" -g3 "*) ;;
9402 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
9410 # Handle --with-headers=XXX. If the value is not "yes", the contents of
9411 # the named directory are copied to $(tooldir)/sys-include.
9412 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
9413 if test x
${is_cross_compiler} = xno
; then
9414 echo 1>&2 '***' --with-headers is only supported when cross compiling
9417 if test x
"${with_headers}" != xyes
; then
9418 x
=${gcc_cv_tool_prefix}
9419 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9423 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9424 # the name directories are copied to $(tooldir)/lib. Multiple directories
9426 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9427 if test x
${is_cross_compiler} = xno
; then
9428 echo 1>&2 '***' --with-libs is only supported when cross compiling
9431 if test x
"${with_libs}" != xyes
; then
9432 # Copy the libraries in reverse order, so that files in the first named
9433 # library override files in subsequent libraries.
9434 x
=${gcc_cv_tool_prefix}
9435 for l
in ${with_libs}; do
9436 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9441 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9443 # This is done by determining whether or not the appropriate directory
9444 # is available, and by checking whether or not specific configurations
9445 # have requested that this magic not happen.
9447 # The command line options always override the explicit settings in
9448 # configure.ac, and the settings in configure.ac override this magic.
9450 # If the default for a toolchain is to use GNU as and ld, and you don't
9451 # want to do that, then you should use the --without-gnu-as and
9452 # --without-gnu-ld options for the configure script. Similarly, if
9453 # the default is to use the included zlib and you don't want to do that,
9454 # you should use the --with-system-zlib option for the configure script.
9456 if test x
${use_gnu_as} = x
&&
9457 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9459 extra_host_args
="$extra_host_args --with-gnu-as"
9462 if test x
${use_gnu_ld} = x
&&
9463 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9465 extra_host_args
="$extra_host_args --with-gnu-ld"
9468 if test x
${use_included_zlib} = x
&&
9469 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9472 with_system_zlib
=yes
9473 extra_host_args
="$extra_host_args --with-system-zlib"
9476 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9477 # can detect this case.
9479 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9481 extra_host_args
="$extra_host_args --with-newlib"
9484 # Handle ${copy_dirs}
9485 set fnord
${copy_dirs}
9487 while test $# != 0 ; do
9488 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9491 echo Copying
$1 to
$2
9493 # Use the install script to create the directory and all required
9494 # parent directories.
9495 if test -d $2 ; then
9499 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9502 # Copy the directory, assuming we have tar.
9503 # FIXME: Should we use B in the second tar? Not all systems support it.
9504 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9506 # It is the responsibility of the user to correctly adjust all
9507 # symlinks. If somebody can figure out how to handle them correctly
9508 # here, feel free to add the code.
9515 # Determine a target-dependent exec_prefix that the installed
9516 # gcc will search in. Keep this list sorted by triplet, with
9517 # the *-*-osname triplets last.
9520 i
[34567]86-pc-msdosdjgpp*)
9521 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9526 md_exec_prefix
=/usr
/ccs
/bin
9530 extra_arflags_for_target
=
9531 extra_nmflags_for_target
=
9532 extra_ranlibflags_for_target
=
9533 target_makefile_frag
=/dev
/null
9536 target_makefile_frag
="config/mt-spu"
9538 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9539 target_makefile_frag
="config/mt-sde"
9541 mipsisa
*-*-elfoabi*)
9542 target_makefile_frag
="config/mt-mips-elfoabi"
9544 mips
*-*-*linux
* | mips
*-*-gnu*)
9545 target_makefile_frag
="config/mt-mips-gnu"
9548 target_makefile_frag
="config/mt-nios2-elf"
9551 target_makefile_frag
="config/mt-android"
9553 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9554 target_makefile_frag
="config/mt-gnu"
9556 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9557 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9558 # commands to handle both 32-bit and 64-bit objects. These flags are
9559 # harmless if we're using GNU nm or ar.
9560 extra_arflags_for_target
=" -X32_64"
9561 extra_nmflags_for_target
=" -B -X32_64"
9565 alphaieee_frag
=/dev
/null
9568 # This just makes sure to use the -mieee option to build target libs.
9569 # This should probably be set individually by each library.
9570 alphaieee_frag
="config/mt-alphaieee"
9574 # If --enable-target-optspace always use -Os instead of -O2 to build
9575 # the target libraries, similarly if it is not specified, use -Os
9576 # on selected platforms.
9577 ospace_frag
=/dev
/null
9578 case "${enable_target_optspace}:${target}" in
9580 ospace_frag
="config/mt-ospace"
9583 ospace_frag
="config/mt-d30v"
9585 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9586 ospace_frag
="config/mt-ospace"
9591 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9595 # Some systems (e.g., one of the i386-aix systems the gas testers are
9596 # using) don't handle "\$" correctly, so don't use it here.
9597 tooldir
='${exec_prefix}'/${target_noncanonical}
9598 build_tooldir
=${tooldir}
9600 # Create a .gdbinit file which runs the one in srcdir
9601 # and tells GDB to look there for source files.
9603 if test -r ${srcdir}/.gdbinit
; then
9606 *) cat > .
/.gdbinit
<<EOF
9610 source ${srcdir}/.gdbinit
9616 # Make sure that the compiler is able to generate an executable. If it
9617 # can't, we are probably in trouble. We don't care whether we can run the
9618 # executable--we might be using a cross compiler--we only care whether it
9619 # can be created. At this point the main configure script has set CC.
9621 echo "int main () { return 0; }" > conftest.c
9622 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9623 if test $?
= 0 ; then
9624 if test -s conftest ||
test -s conftest.exe
; then
9630 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9631 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9638 # Decide which environment variable is used to find dynamic libraries.
9640 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9641 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9642 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9643 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9646 # On systems where the dynamic library environment variable is PATH,
9647 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9648 # built executables to PATH.
9649 if test "$RPATH_ENVVAR" = PATH
; then
9650 GCC_SHLIB_SUBDIR
=/shlib
9655 # Adjust the toplevel makefile according to whether bootstrap was selected.
9656 case $enable_bootstrap in
9658 bootstrap_suffix
=bootstrap
9659 BUILD_CONFIG
=bootstrap-debug
9662 bootstrap_suffix
=no-bootstrap
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9668 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9671 # Check whether --with-build-config was given.
9672 if test "${with_build_config+set}" = set; then :
9673 withval
=$with_build_config; case $with_build_config in
9674 yes) with_build_config
= ;;
9675 no
) with_build_config
= BUILD_CONFIG
= ;;
9680 if test "x${with_build_config}" != x
; then
9681 BUILD_CONFIG
=$with_build_config
9683 case $BUILD_CONFIG in
9685 if echo "int f (void) { return 0; }" > conftest.c
&&
9686 ${CC} -c conftest.c
&&
9687 mv conftest.o conftest.o.g0
&&
9688 ${CC} -c -g conftest.c
&&
9689 mv conftest.o conftest.o.g
&&
9690 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9695 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9700 $as_echo "$BUILD_CONFIG" >&6; }
9703 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9705 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9706 # Check whether --enable-vtable-verify was given.
9707 if test "${enable_vtable_verify+set}" = set; then :
9708 enableval
=$enable_vtable_verify; case "$enableval" in
9709 yes) enable_vtable_verify
=yes ;;
9710 no
) enable_vtable_verify
=no
;;
9711 *) enable_vtable_verify
=no
;;
9714 enable_vtable_verify
=no
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9718 $as_echo "$enable_vtable_verify" >&6; }
9720 # Record target_configdirs and the configure arguments for target and
9721 # build configuration in Makefile.
9722 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9723 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9724 bootstrap_fixincludes
=no
9726 # If we are building libgomp, bootstrap it.
9727 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9728 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9731 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9732 # or bootstrap-ubsan, bootstrap it.
9733 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9734 case "$BUILD_CONFIG" in
9735 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9736 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9737 bootstrap_fixincludes
=yes
9742 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9743 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9744 test "$enable_vtable_verify" != no
; then
9745 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9748 # If we are building libatomic and the list of enabled languages includes the
9749 # D frontend, bootstrap it.
9750 if echo " ${target_configdirs} " |
grep " libatomic " > /dev
/null
2>&1; then
9751 case ,${enable_languages}, in
9753 bootstrap_target_libs
=${bootstrap_target_libs}target-libatomic
,
9758 # Determine whether gdb needs tk/tcl or not.
9759 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9760 # and in that case we want gdb to be built without tk. Ugh!
9761 # In fact I believe gdb is the *only* package directly dependent on tk,
9762 # so we should be able to put the 'maybe's in unconditionally and
9763 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9764 # 100% sure that that's safe though.
9766 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9767 case "$enable_gdbtk" in
9771 GDB_TK
="${gdb_tk}" ;;
9773 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9774 # distro. Eventually someone will fix this and move Insight, nee
9775 # gdbtk to a separate directory.
9776 if test -d ${srcdir}/gdb
/gdbtk
; then
9783 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9784 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9786 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9787 # else does, only include them if one of these is built. The Makefile
9788 # provides the ordering, so it's enough here to add to the list.
9789 case " ${configdirs} " in
9791 configdirs
="${configdirs} gnulib gdbsupport"
9794 configdirs
="${configdirs} gnulib gdbsupport"
9797 configdirs
="${configdirs} gnulib"
9801 # Strip out unwanted targets.
9803 # While at that, we remove Makefiles if we were started for recursive
9804 # configuration, so that the top-level Makefile reconfigures them,
9805 # like we used to do when configure itself was recursive.
9807 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
9808 # but now we're fixing up the Makefile ourselves with the additional
9809 # commands passed to AC_CONFIG_FILES. Use separate variables
9810 # extrasub-{build,host,target} not because there is any reason to split
9811 # the substitutions up that way, but only to remain below the limit of
9812 # 99 commands in a script, for HP-UX sed.
9814 # Do not nest @if/@endif or @unless/@endunless pairs, because
9815 # configure will not warn you at all.
9817 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
9818 yes:yes:*\ gold\
*:*,c
++,*) ;;
9819 yes:yes:*\ gold\
*:*)
9820 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
9825 for module
in ${build_configdirs} ; do
9826 if test -z "${no_recursion}" \
9827 && test -f ${build_subdir}/${module}/Makefile
; then
9828 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
9829 rm -f ${build_subdir}/${module}/Makefile
9831 extrasub_build
="$extrasub_build
9832 /^@if build-$module\$/d
9833 /^@endif build-$module\$/d
9834 /^@unless build-$module\$/,/^@endunless build-$module\$/d
9835 /^@if build-$module-$bootstrap_suffix\$/d
9836 /^@endif build-$module-$bootstrap_suffix\$/d
9837 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
9840 for module
in ${configdirs} ; do
9841 if test -z "${no_recursion}"; then
9842 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
9843 if test -f ${file}; then
9844 echo 1>&2 "*** removing ${file} to force reconfigure"
9849 case ${module},${bootstrap_fixincludes} in
9850 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
9851 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
9853 extrasub_host
="$extrasub_host
9855 /^@endif $module\$/d
9856 /^@unless $module\$/,/^@endunless $module\$/d
9857 /^@if $module-$host_bootstrap_suffix\$/d
9858 /^@endif $module-$host_bootstrap_suffix\$/d
9859 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
9862 for module
in ${target_configdirs} ; do
9863 if test -z "${no_recursion}" \
9864 && test -f ${target_subdir}/${module}/Makefile
; then
9865 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
9866 rm -f ${target_subdir}/${module}/Makefile
9869 # We only bootstrap target libraries listed in bootstrap_target_libs.
9870 case $bootstrap_target_libs in
9871 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
9872 *) target_bootstrap_suffix
=no-bootstrap
;;
9875 extrasub_target
="$extrasub_target
9876 /^@if target-$module\$/d
9877 /^@endif target-$module\$/d
9878 /^@unless target-$module\$/,/^@endunless target-$module\$/d
9879 /^@if target-$module-$target_bootstrap_suffix\$/d
9880 /^@endif target-$module-$target_bootstrap_suffix\$/d
9881 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
9884 # Do the final fixup along with target modules.
9885 extrasub_target
="$extrasub_target
9890 if test "$enable_pgo_build" != "no"; then
9891 extrasub_build
="$extrasub_build
9893 /^@endif pgo-build\$/d"
9896 # Create the serialization dependencies. This uses a temporary file.
9898 # Check whether --enable-serial-configure was given.
9899 if test "${enable_serial_configure+set}" = set; then :
9900 enableval
=$enable_serial_configure;
9904 case ${enable_serial_configure} in
9906 enable_serial_build_configure
=yes
9907 enable_serial_host_configure
=yes
9908 enable_serial_target_configure
=yes
9912 # These force 'configure's to be done one at a time, to avoid problems
9913 # with contention over a shared config.cache.
9915 echo '# serdep.tmp' > serdep.tmp
9917 test "x${enable_serial_build_configure}" = xyes
&&
9918 for item
in ${build_configdirs} ; do
9921 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
9926 test "x${enable_serial_host_configure}" = xyes
&&
9927 for item
in ${configdirs} ; do
9930 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
9935 test "x${enable_serial_target_configure}" = xyes
&&
9936 for item
in ${target_configdirs} ; do
9939 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
9943 serialization_dependencies
=serdep.tmp
9946 # Base args. Strip norecursion, cache-file, srcdir, host, build,
9947 # target, nonopt, and variable assignments. These are the ones we
9948 # might not want to pass down to subconfigures. The exception being
9949 # --cache-file=/dev/null, which is used to turn off the use of cache
9950 # files altogether, and which should be passed on to subconfigures.
9951 # Also strip program-prefix, program-suffix, and program-transform-name,
9952 # so that we can pass down a consistent program-transform-name.
9957 eval "set -- $ac_configure_args"
9960 if test X
"$skip_next" = X
"yes"; then
9964 if test X
"$keep_next" = X
"yes"; then
9967 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9969 baseargs
="$baseargs '$ac_arg'"
9970 tbaseargs
="$tbaseargs '$ac_arg'"
9975 # Handle separated arguments. Based on the logic generated by
9978 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
9979 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
9980 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
9981 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
9995 --with-* |
--without-*)
9996 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
10000 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
10003 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
10012 mpc | mpfr | gmp | isl
)
10013 # If we're processing --with-$lib, --with-$lib-include or
10014 # --with-$lib-lib, for one of the libs above, and target is
10015 # different from host, don't pass the current argument to any
10016 # target library's configure.
10017 if test x
$is_cross_compiler = xyes
; then
10026 --cache-file=/dev
/null | \
10027 -cache-file=/dev
/null
)
10028 # Handled here to avoid the test to skip args below.
10029 baseargs
="$baseargs '$ac_arg'"
10030 tbaseargs
="$tbaseargs '$ac_arg'"
10031 # Assert: $separate_arg should always be no.
10032 keep_next
=$separate_arg
10048 -program-prefix* | \
10049 -program-suffix* | \
10050 -program-transform-name* )
10051 skip_next
=$separate_arg
10055 # An option. Add it.
10058 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10060 baseargs
="$baseargs '$ac_arg'"
10061 if test X
"$skip_targ" = Xno
; then
10062 tbaseargs
="$tbaseargs '$ac_arg'"
10064 keep_next
=$separate_arg
10067 # Either a variable assignment, or a nonopt (triplet). Don't
10068 # pass it down; let the Makefile handle this.
10073 # Remove the initial space we just introduced and, as these will be
10074 # expanded by make, quote '$'.
10075 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
10077 # Add in --program-transform-name, after --program-prefix and
10078 # --program-suffix have been applied to it. Autoconf has already
10079 # doubled dollar signs and backslashes in program_transform_name; we want
10080 # the backslashes un-doubled, and then the entire thing wrapped in single
10081 # quotes, because this will be expanded first by make and then by the shell.
10082 # Also, because we want to override the logic in subdir configure scripts to
10083 # choose program_transform_name, replace any s,x,x, with s,y,y,.
10084 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
10085 ${program_transform_name}
10087 gcc_transform_name
=`cat conftestsed.out`
10088 rm -f conftestsed.out
10089 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
10090 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
10091 if test "$silent" = yes; then
10092 baseargs
="$baseargs --silent"
10093 tbaseargs
="$tbaseargs --silent"
10095 baseargs
="$baseargs --disable-option-checking"
10096 tbaseargs
="$tbaseargs --disable-option-checking"
10098 # Record and document user additions to sub configure arguments.
10103 # For the build-side libraries, we just need to pretend we're native,
10104 # and not use the same cache file. Multilibs are neither needed nor
10105 # desired. We can't even use the same cache file for all build-side
10106 # libraries, as they're compiled differently; some with C, some with
10107 # C++ or with different feature-enabling options.
10108 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
10110 # For host modules, accept cache file option, or specification as blank.
10111 case "${cache_file}" in
10113 cache_file_option
="" ;;
10114 /* |
[A-Za-z
]:[\\/]* ) # absolute path
10115 cache_file_option
="--cache-file=${cache_file}" ;;
10117 cache_file_option
="--cache-file=../${cache_file}" ;;
10120 # Host dirs don't like to share a cache file either, horribly enough.
10121 # This seems to be due to autoconf 2.5x stupidity.
10122 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
10124 target_configargs
="$target_configargs ${tbaseargs}"
10126 # Passing a --with-cross-host argument lets the target libraries know
10127 # whether they are being built with a cross-compiler or being built
10128 # native. However, it would be better to use other mechanisms to make the
10129 # sorts of decisions they want to make on this basis. Please consider
10130 # this option to be deprecated. FIXME.
10131 if test x
${is_cross_compiler} = xyes
; then
10132 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
10135 # Special user-friendly check for native x86_64-linux build, if
10136 # multilib is not explicitly enabled.
10137 case "$target:$have_compiler:$host:$target:$enable_multilib" in
10138 x86_64-
*linux
*:yes:$build:$build:)
10139 # Make sure we have a development environment that handles 32-bit
10141 echo "int main () { return 0; }" > conftest.c
10142 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
10143 if test $?
= 0 ; then
10144 if test -s conftest ||
test -s conftest.exe
; then
10149 if test x
${dev64} != xyes
; then
10150 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
10155 # Default to --enable-multilib.
10156 if test x
${enable_multilib} = x
; then
10157 target_configargs
="--enable-multilib ${target_configargs}"
10160 # Pass --with-newlib if appropriate. Note that target_configdirs has
10161 # changed from the earlier setting of with_newlib.
10162 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
10163 target_configargs
="--with-newlib ${target_configargs}"
10166 # Different target subdirs use different values of certain variables
10167 # (notably CXX). Worse, multilibs use *lots* of different values.
10168 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
10169 # it doesn't automatically accept command-line overrides of them.
10170 # This means it's not safe for target subdirs to share a cache file,
10171 # which is disgusting, but there you have it. Hopefully this can be
10172 # fixed in future. It's still worthwhile to use a cache file for each
10173 # directory. I think.
10175 # Pass the appropriate --build, --host, --target and --cache-file arguments.
10176 # We need to pass --target, as newer autoconf's requires consistency
10177 # for target_alias and gcc doesn't manage it consistently.
10178 target_configargs
="--cache-file=./config.cache ${target_configargs}"
10181 case " $target_configdirs " in
10183 case " $target_configargs " in
10184 *" --with-newlib "*)
10187 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
10191 # If we're not building GCC, don't discard standard headers.
10192 if test -d ${srcdir}/gcc
; then
10193 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
10195 if test "${build}" != "${host}"; then
10196 # On Canadian crosses, CC_FOR_TARGET will have already been set
10197 # by `configure', so we won't have an opportunity to add -Bgcc/
10198 # to it. This is right: we don't want to search that directory
10199 # for binaries, but we want the header files in there, so add
10201 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
10203 # Someone might think of using the pre-installed headers on
10204 # Canadian crosses, in case the installed compiler is not fully
10205 # compatible with the compiler being built. In this case, it
10206 # would be better to flag an error than risking having
10207 # incompatible object files being constructed. We can't
10208 # guarantee that an error will be flagged, but let's hope the
10209 # compiler will do it, when presented with incompatible header
10214 case "${target}-${is_cross_compiler}" in
10215 i
[3456789]86-*-linux*-no)
10216 # Here host == target, so we don't need to build gcc,
10217 # so we don't want to discard standard headers.
10218 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
10221 # If we're building newlib, use its generic headers last, but search
10222 # for any libc-related directories first (so make it the last -B
10224 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
10226 # If we're building libgloss, find the startup file, simulator library
10227 # and linker script.
10228 case " $target_configdirs " in
10230 # Look for startup file, simulator library and maybe linker script.
10231 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
10232 # Look for libnosys.a in case the target needs it.
10233 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
10234 # Most targets have the linker script in the source directory.
10235 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
10246 x86_64-
*mingw
* |
*-w64-mingw*)
10247 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
10248 # however, use a symlink named 'mingw' in ${prefix} .
10249 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
10252 # MinGW can't be handled as Cygwin above since it does not use newlib.
10253 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'
10257 # Allow the user to override the flags for
10258 # our build compiler if desired.
10259 if test x
"${build}" = x
"${host}" ; then
10260 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
10261 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
10262 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
10263 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
10266 # On Canadian crosses, we'll be searching the right directories for
10267 # the previously-installed cross compiler, so don't bother to add
10268 # flags for directories within the install tree of the compiler
10269 # being built; programs in there won't even run.
10270 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
10271 # Search for pre-installed headers if nothing else fits.
10272 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
10275 if test "x
${use_gnu_ld}" = x &&
10276 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
10277 # Arrange for us to find uninstalled linker scripts.
10278 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
10281 # Search for other target-specific linker scripts and such.
10282 case "${target}" in
10284 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
10288 # Makefile fragments.
10289 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
10291 eval fragval=\$$frag
10292 if test $fragval != /dev/null; then
10293 eval $frag=${srcdir}/$fragval
10301 # Miscellanea: directories, flags, etc.
10310 # Build module lists & subconfigure args.
10314 # Host module lists & subconfigure args.
10319 # Target module lists & subconfigure args.
10344 # Generate default definitions for YACC, M4, LEX and other programs that run
10345 # on the build machine. These are used if the Makefile can't locate these
10346 # programs in objdir.
10347 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
10349 for ac_prog in 'bison -y' byacc yacc
10351 # Extract the first word of "$ac_prog", so it can be a program name with args.
10352 set dummy $ac_prog; ac_word=$2
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10354 $as_echo_n "checking
for $ac_word...
" >&6; }
10355 if ${ac_cv_prog_YACC+:} false; then :
10356 $as_echo_n "(cached
) " >&6
10358 if test -n "$YACC"; then
10359 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $PATH
10365 test -z "$as_dir" && as_dir=.
10366 for ac_exec_ext in '' $ac_executable_extensions; do
10367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10368 ac_cv_prog_YACC="$ac_prog"
10369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10378 YACC=$ac_cv_prog_YACC
10379 if test -n "$YACC"; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
10381 $as_echo "$YACC" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10384 $as_echo "no
" >&6; }
10388 test -n "$YACC" && break
10390 test -n "$YACC" || YACC="$MISSING bison
-y"
10392 case " $build_configdirs " in
10393 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
10396 for ac_prog in bison
10398 # Extract the first word of "$ac_prog", so it can be a program name with args.
10399 set dummy $ac_prog; ac_word=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10401 $as_echo_n "checking
for $ac_word...
" >&6; }
10402 if ${ac_cv_prog_BISON+:} false; then :
10403 $as_echo_n "(cached
) " >&6
10405 if test -n "$BISON"; then
10406 ac_cv_prog_BISON="$BISON" # Let the user override the test.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $PATH
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10415 ac_cv_prog_BISON="$ac_prog"
10416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10425 BISON=$ac_cv_prog_BISON
10426 if test -n "$BISON"; then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
10428 $as_echo "$BISON" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10431 $as_echo "no
" >&6; }
10435 test -n "$BISON" && break
10437 test -n "$BISON" || BISON="$MISSING bison
"
10439 case " $build_configdirs " in
10440 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10443 for ac_prog in gm4 gnum4 m4
10445 # Extract the first word of "$ac_prog", so it can be a program name with args.
10446 set dummy $ac_prog; ac_word=$2
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10448 $as_echo_n "checking
for $ac_word...
" >&6; }
10449 if ${ac_cv_prog_M4+:} false; then :
10450 $as_echo_n "(cached
) " >&6
10452 if test -n "$M4"; then
10453 ac_cv_prog_M4="$M4" # Let the user override the test.
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in $PATH
10459 test -z "$as_dir" && as_dir=.
10460 for ac_exec_ext in '' $ac_executable_extensions; do
10461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10462 ac_cv_prog_M4="$ac_prog"
10463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10473 if test -n "$M4"; then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10475 $as_echo "$M4" >&6; }
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10478 $as_echo "no
" >&6; }
10482 test -n "$M4" && break
10484 test -n "$M4" || M4="$MISSING m4"
10486 case " $build_configdirs " in
10487 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10490 for ac_prog in flex lex
10492 # Extract the first word of "$ac_prog", so it can be a program name with args.
10493 set dummy $ac_prog; ac_word=$2
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10495 $as_echo_n "checking
for $ac_word...
" >&6; }
10496 if ${ac_cv_prog_LEX+:} false; then :
10497 $as_echo_n "(cached
) " >&6
10499 if test -n "$LEX"; then
10500 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10503 for as_dir in $PATH
10506 test -z "$as_dir" && as_dir=.
10507 for ac_exec_ext in '' $ac_executable_extensions; do
10508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10509 ac_cv_prog_LEX="$ac_prog"
10510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10519 LEX=$ac_cv_prog_LEX
10520 if test -n "$LEX"; then
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10522 $as_echo "$LEX" >&6; }
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10525 $as_echo "no
" >&6; }
10529 test -n "$LEX" && break
10531 test -n "$LEX" || LEX="$MISSING flex
"
10533 case " $build_configdirs " in
10534 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10535 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10538 for ac_prog in flex
10540 # Extract the first word of "$ac_prog", so it can be a program name with args.
10541 set dummy $ac_prog; ac_word=$2
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10543 $as_echo_n "checking
for $ac_word...
" >&6; }
10544 if ${ac_cv_prog_FLEX+:} false; then :
10545 $as_echo_n "(cached
) " >&6
10547 if test -n "$FLEX"; then
10548 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10551 for as_dir in $PATH
10554 test -z "$as_dir" && as_dir=.
10555 for ac_exec_ext in '' $ac_executable_extensions; do
10556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10557 ac_cv_prog_FLEX="$ac_prog"
10558 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10567 FLEX=$ac_cv_prog_FLEX
10568 if test -n "$FLEX"; then
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10570 $as_echo "$FLEX" >&6; }
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10573 $as_echo "no
" >&6; }
10577 test -n "$FLEX" && break
10579 test -n "$FLEX" || FLEX="$MISSING flex
"
10581 case " $build_configdirs " in
10582 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10585 for ac_prog in makeinfo
10587 # Extract the first word of "$ac_prog", so it can be a program name with args.
10588 set dummy $ac_prog; ac_word=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10590 $as_echo_n "checking
for $ac_word...
" >&6; }
10591 if ${ac_cv_prog_MAKEINFO+:} false; then :
10592 $as_echo_n "(cached
) " >&6
10594 if test -n "$MAKEINFO"; then
10595 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10598 for as_dir in $PATH
10601 test -z "$as_dir" && as_dir=.
10602 for ac_exec_ext in '' $ac_executable_extensions; do
10603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10604 ac_cv_prog_MAKEINFO="$ac_prog"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 MAKEINFO=$ac_cv_prog_MAKEINFO
10615 if test -n "$MAKEINFO"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10617 $as_echo "$MAKEINFO" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10620 $as_echo "no
" >&6; }
10624 test -n "$MAKEINFO" && break
10626 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10628 case " $build_configdirs " in
10629 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10632 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10633 # higher, else we use the "missing
" dummy.
10634 if ${MAKEINFO} --version \
10635 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10638 MAKEINFO="$MISSING makeinfo
"
10644 # FIXME: expect and dejagnu may become build tools?
10646 for ac_prog in expect
10648 # Extract the first word of "$ac_prog", so it can be a program name with args.
10649 set dummy $ac_prog; ac_word=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10651 $as_echo_n "checking
for $ac_word...
" >&6; }
10652 if ${ac_cv_prog_EXPECT+:} false; then :
10653 $as_echo_n "(cached
) " >&6
10655 if test -n "$EXPECT"; then
10656 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10659 for as_dir in $PATH
10662 test -z "$as_dir" && as_dir=.
10663 for ac_exec_ext in '' $ac_executable_extensions; do
10664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10665 ac_cv_prog_EXPECT="$ac_prog"
10666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10675 EXPECT=$ac_cv_prog_EXPECT
10676 if test -n "$EXPECT"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10678 $as_echo "$EXPECT" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10681 $as_echo "no
" >&6; }
10685 test -n "$EXPECT" && break
10687 test -n "$EXPECT" || EXPECT="expect
"
10689 case " $configdirs " in
10691 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10695 for ac_prog in runtest
10697 # Extract the first word of "$ac_prog", so it can be a program name with args.
10698 set dummy $ac_prog; ac_word=$2
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10700 $as_echo_n "checking
for $ac_word...
" >&6; }
10701 if ${ac_cv_prog_RUNTEST+:} false; then :
10702 $as_echo_n "(cached
) " >&6
10704 if test -n "$RUNTEST"; then
10705 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10708 for as_dir in $PATH
10711 test -z "$as_dir" && as_dir=.
10712 for ac_exec_ext in '' $ac_executable_extensions; do
10713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10714 ac_cv_prog_RUNTEST="$ac_prog"
10715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10724 RUNTEST=$ac_cv_prog_RUNTEST
10725 if test -n "$RUNTEST"; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10727 $as_echo "$RUNTEST" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10730 $as_echo "no
" >&6; }
10734 test -n "$RUNTEST" && break
10736 test -n "$RUNTEST" || RUNTEST="runtest
"
10738 case " $configdirs " in
10740 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10747 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10748 ncn_target_tool_prefix=
10749 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10753 if test -n "$AR"; then
10755 elif test -n "$ac_cv_prog_AR"; then
10759 if test -n "$ac_cv_prog_AR"; then
10760 for ncn_progname in ar; do
10761 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10762 set dummy ${ncn_progname}; ac_word=$2
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10764 $as_echo_n "checking
for $ac_word...
" >&6; }
10765 if ${ac_cv_prog_AR+:} false; then :
10766 $as_echo_n "(cached
) " >&6
10768 if test -n "$AR"; then
10769 ac_cv_prog_AR="$AR" # Let the user override the test.
10771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10772 for as_dir in $PATH
10775 test -z "$as_dir" && as_dir=.
10776 for ac_exec_ext in '' $ac_executable_extensions; do
10777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10778 ac_cv_prog_AR="${ncn_progname}"
10779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10789 if test -n "$AR"; then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10791 $as_echo "$AR" >&6; }
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10794 $as_echo "no
" >&6; }
10801 for ncn_progname in ar; do
10802 if test -n "$ncn_tool_prefix"; then
10803 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10804 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10806 $as_echo_n "checking
for $ac_word...
" >&6; }
10807 if ${ac_cv_prog_AR+:} false; then :
10808 $as_echo_n "(cached
) " >&6
10810 if test -n "$AR"; then
10811 ac_cv_prog_AR="$AR" # Let the user override the test.
10813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10814 for as_dir in $PATH
10817 test -z "$as_dir" && as_dir=.
10818 for ac_exec_ext in '' $ac_executable_extensions; do
10819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10820 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
10821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10831 if test -n "$AR"; then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10833 $as_echo "$AR" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10836 $as_echo "no
" >&6; }
10841 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
10842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10843 set dummy ${ncn_progname}; ac_word=$2
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10845 $as_echo_n "checking
for $ac_word...
" >&6; }
10846 if ${ac_cv_prog_AR+:} false; then :
10847 $as_echo_n "(cached
) " >&6
10849 if test -n "$AR"; then
10850 ac_cv_prog_AR="$AR" # Let the user override the test.
10852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10853 for as_dir in $PATH
10856 test -z "$as_dir" && as_dir=.
10857 for ac_exec_ext in '' $ac_executable_extensions; do
10858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10859 ac_cv_prog_AR="${ncn_progname}"
10860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10870 if test -n "$AR"; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10872 $as_echo "$AR" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10875 $as_echo "no
" >&6; }
10880 test -n "$ac_cv_prog_AR" && break
10883 if test -z "$ac_cv_prog_AR" ; then
10885 if test $build = $host ; then
10888 AR="${ncn_tool_prefix}$2"
10894 if test -n "$AS"; then
10896 elif test -n "$ac_cv_prog_AS"; then
10900 if test -n "$ac_cv_prog_AS"; then
10901 for ncn_progname in as; do
10902 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10903 set dummy ${ncn_progname}; ac_word=$2
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10905 $as_echo_n "checking
for $ac_word...
" >&6; }
10906 if ${ac_cv_prog_AS+:} false; then :
10907 $as_echo_n "(cached
) " >&6
10909 if test -n "$AS"; then
10910 ac_cv_prog_AS="$AS" # Let the user override the test.
10912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10913 for as_dir in $PATH
10916 test -z "$as_dir" && as_dir=.
10917 for ac_exec_ext in '' $ac_executable_extensions; do
10918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10919 ac_cv_prog_AS="${ncn_progname}"
10920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10930 if test -n "$AS"; then
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10932 $as_echo "$AS" >&6; }
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10935 $as_echo "no
" >&6; }
10942 for ncn_progname in as; do
10943 if test -n "$ncn_tool_prefix"; then
10944 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10945 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10947 $as_echo_n "checking
for $ac_word...
" >&6; }
10948 if ${ac_cv_prog_AS+:} false; then :
10949 $as_echo_n "(cached
) " >&6
10951 if test -n "$AS"; then
10952 ac_cv_prog_AS="$AS" # Let the user override the test.
10954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10955 for as_dir in $PATH
10958 test -z "$as_dir" && as_dir=.
10959 for ac_exec_ext in '' $ac_executable_extensions; do
10960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10961 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
10962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10972 if test -n "$AS"; then
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10974 $as_echo "$AS" >&6; }
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10977 $as_echo "no
" >&6; }
10982 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
10983 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10984 set dummy ${ncn_progname}; ac_word=$2
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10986 $as_echo_n "checking
for $ac_word...
" >&6; }
10987 if ${ac_cv_prog_AS+:} false; then :
10988 $as_echo_n "(cached
) " >&6
10990 if test -n "$AS"; then
10991 ac_cv_prog_AS="$AS" # Let the user override the test.
10993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10994 for as_dir in $PATH
10997 test -z "$as_dir" && as_dir=.
10998 for ac_exec_ext in '' $ac_executable_extensions; do
10999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11000 ac_cv_prog_AS="${ncn_progname}"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11011 if test -n "$AS"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
11013 $as_echo "$AS" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11016 $as_echo "no
" >&6; }
11021 test -n "$ac_cv_prog_AS" && break
11024 if test -z "$ac_cv_prog_AS" ; then
11026 if test $build = $host ; then
11029 AS="${ncn_tool_prefix}$2"
11035 if test -n "$DLLTOOL"; then
11036 ac_cv_prog_DLLTOOL=$DLLTOOL
11037 elif test -n "$ac_cv_prog_DLLTOOL"; then
11038 DLLTOOL=$ac_cv_prog_DLLTOOL
11041 if test -n "$ac_cv_prog_DLLTOOL"; then
11042 for ncn_progname in dlltool; do
11043 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11044 set dummy ${ncn_progname}; ac_word=$2
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11046 $as_echo_n "checking
for $ac_word...
" >&6; }
11047 if ${ac_cv_prog_DLLTOOL+:} false; then :
11048 $as_echo_n "(cached
) " >&6
11050 if test -n "$DLLTOOL"; then
11051 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11054 for as_dir in $PATH
11057 test -z "$as_dir" && as_dir=.
11058 for ac_exec_ext in '' $ac_executable_extensions; do
11059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11060 ac_cv_prog_DLLTOOL="${ncn_progname}"
11061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11070 DLLTOOL=$ac_cv_prog_DLLTOOL
11071 if test -n "$DLLTOOL"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11073 $as_echo "$DLLTOOL" >&6; }
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11076 $as_echo "no
" >&6; }
11083 for ncn_progname in dlltool; do
11084 if test -n "$ncn_tool_prefix"; then
11085 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11086 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11088 $as_echo_n "checking
for $ac_word...
" >&6; }
11089 if ${ac_cv_prog_DLLTOOL+:} false; then :
11090 $as_echo_n "(cached
) " >&6
11092 if test -n "$DLLTOOL"; then
11093 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11096 for as_dir in $PATH
11099 test -z "$as_dir" && as_dir=.
11100 for ac_exec_ext in '' $ac_executable_extensions; do
11101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11102 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
11103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11112 DLLTOOL=$ac_cv_prog_DLLTOOL
11113 if test -n "$DLLTOOL"; then
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11115 $as_echo "$DLLTOOL" >&6; }
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11118 $as_echo "no
" >&6; }
11123 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
11124 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11125 set dummy ${ncn_progname}; ac_word=$2
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11127 $as_echo_n "checking
for $ac_word...
" >&6; }
11128 if ${ac_cv_prog_DLLTOOL+:} false; then :
11129 $as_echo_n "(cached
) " >&6
11131 if test -n "$DLLTOOL"; then
11132 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11135 for as_dir in $PATH
11138 test -z "$as_dir" && as_dir=.
11139 for ac_exec_ext in '' $ac_executable_extensions; do
11140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11141 ac_cv_prog_DLLTOOL="${ncn_progname}"
11142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11151 DLLTOOL=$ac_cv_prog_DLLTOOL
11152 if test -n "$DLLTOOL"; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11154 $as_echo "$DLLTOOL" >&6; }
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11157 $as_echo "no
" >&6; }
11162 test -n "$ac_cv_prog_DLLTOOL" && break
11165 if test -z "$ac_cv_prog_DLLTOOL" ; then
11167 if test $build = $host ; then
11170 DLLTOOL="${ncn_tool_prefix}$2"
11176 if test -n "$DSYMUTIL"; then
11177 ac_cv_prog_DSYMUTIL=$DSYMUTIL
11178 elif test -n "$ac_cv_prog_DSYMUTIL"; then
11179 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11182 if test -n "$ac_cv_prog_DSYMUTIL"; then
11183 for ncn_progname in dsymutil; do
11184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11185 set dummy ${ncn_progname}; ac_word=$2
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11187 $as_echo_n "checking
for $ac_word...
" >&6; }
11188 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11189 $as_echo_n "(cached
) " >&6
11191 if test -n "$DSYMUTIL"; then
11192 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11195 for as_dir in $PATH
11198 test -z "$as_dir" && as_dir=.
11199 for ac_exec_ext in '' $ac_executable_extensions; do
11200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11211 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11212 if test -n "$DSYMUTIL"; then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11214 $as_echo "$DSYMUTIL" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11217 $as_echo "no
" >&6; }
11224 for ncn_progname in dsymutil; do
11225 if test -n "$ncn_tool_prefix"; then
11226 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11227 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11229 $as_echo_n "checking
for $ac_word...
" >&6; }
11230 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11231 $as_echo_n "(cached
) " >&6
11233 if test -n "$DSYMUTIL"; then
11234 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237 for as_dir in $PATH
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
11244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11253 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11254 if test -n "$DSYMUTIL"; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11256 $as_echo "$DSYMUTIL" >&6; }
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11259 $as_echo "no
" >&6; }
11264 if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
11265 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11266 set dummy ${ncn_progname}; ac_word=$2
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11268 $as_echo_n "checking
for $ac_word...
" >&6; }
11269 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11270 $as_echo_n "(cached
) " >&6
11272 if test -n "$DSYMUTIL"; then
11273 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11276 for as_dir in $PATH
11279 test -z "$as_dir" && as_dir=.
11280 for ac_exec_ext in '' $ac_executable_extensions; do
11281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11282 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11292 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11293 if test -n "$DSYMUTIL"; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11295 $as_echo "$DSYMUTIL" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11298 $as_echo "no
" >&6; }
11303 test -n "$ac_cv_prog_DSYMUTIL" && break
11306 if test -z "$ac_cv_prog_DSYMUTIL" ; then
11308 if test $build = $host ; then
11311 DSYMUTIL="${ncn_tool_prefix}$2"
11317 if test -n "$LD"; then
11319 elif test -n "$ac_cv_prog_LD"; then
11323 if test -n "$ac_cv_prog_LD"; then
11324 for ncn_progname in ld; do
11325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11326 set dummy ${ncn_progname}; ac_word=$2
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11328 $as_echo_n "checking
for $ac_word...
" >&6; }
11329 if ${ac_cv_prog_LD+:} false; then :
11330 $as_echo_n "(cached
) " >&6
11332 if test -n "$LD"; then
11333 ac_cv_prog_LD="$LD" # Let the user override the test.
11335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11336 for as_dir in $PATH
11339 test -z "$as_dir" && as_dir=.
11340 for ac_exec_ext in '' $ac_executable_extensions; do
11341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11342 ac_cv_prog_LD="${ncn_progname}"
11343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11353 if test -n "$LD"; then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11355 $as_echo "$LD" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11358 $as_echo "no
" >&6; }
11365 for ncn_progname in ld; do
11366 if test -n "$ncn_tool_prefix"; then
11367 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11368 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11370 $as_echo_n "checking
for $ac_word...
" >&6; }
11371 if ${ac_cv_prog_LD+:} false; then :
11372 $as_echo_n "(cached
) " >&6
11374 if test -n "$LD"; then
11375 ac_cv_prog_LD="$LD" # Let the user override the test.
11377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11378 for as_dir in $PATH
11381 test -z "$as_dir" && as_dir=.
11382 for ac_exec_ext in '' $ac_executable_extensions; do
11383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11384 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
11385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11395 if test -n "$LD"; then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11397 $as_echo "$LD" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11400 $as_echo "no
" >&6; }
11405 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
11406 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11407 set dummy ${ncn_progname}; ac_word=$2
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11409 $as_echo_n "checking
for $ac_word...
" >&6; }
11410 if ${ac_cv_prog_LD+:} false; then :
11411 $as_echo_n "(cached
) " >&6
11413 if test -n "$LD"; then
11414 ac_cv_prog_LD="$LD" # Let the user override the test.
11416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11417 for as_dir in $PATH
11420 test -z "$as_dir" && as_dir=.
11421 for ac_exec_ext in '' $ac_executable_extensions; do
11422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11423 ac_cv_prog_LD="${ncn_progname}"
11424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11434 if test -n "$LD"; then
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11436 $as_echo "$LD" >&6; }
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11439 $as_echo "no
" >&6; }
11444 test -n "$ac_cv_prog_LD" && break
11447 if test -z "$ac_cv_prog_LD" ; then
11449 if test $build = $host ; then
11452 LD="${ncn_tool_prefix}$2"
11458 if test -n "$LIPO"; then
11459 ac_cv_prog_LIPO=$LIPO
11460 elif test -n "$ac_cv_prog_LIPO"; then
11461 LIPO=$ac_cv_prog_LIPO
11464 if test -n "$ac_cv_prog_LIPO"; then
11465 for ncn_progname in lipo; do
11466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11467 set dummy ${ncn_progname}; ac_word=$2
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11469 $as_echo_n "checking
for $ac_word...
" >&6; }
11470 if ${ac_cv_prog_LIPO+:} false; then :
11471 $as_echo_n "(cached
) " >&6
11473 if test -n "$LIPO"; then
11474 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11477 for as_dir in $PATH
11480 test -z "$as_dir" && as_dir=.
11481 for ac_exec_ext in '' $ac_executable_extensions; do
11482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11483 ac_cv_prog_LIPO="${ncn_progname}"
11484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11493 LIPO=$ac_cv_prog_LIPO
11494 if test -n "$LIPO"; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11496 $as_echo "$LIPO" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11499 $as_echo "no
" >&6; }
11506 for ncn_progname in lipo; do
11507 if test -n "$ncn_tool_prefix"; then
11508 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11509 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11511 $as_echo_n "checking
for $ac_word...
" >&6; }
11512 if ${ac_cv_prog_LIPO+:} false; then :
11513 $as_echo_n "(cached
) " >&6
11515 if test -n "$LIPO"; then
11516 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11519 for as_dir in $PATH
11522 test -z "$as_dir" && as_dir=.
11523 for ac_exec_ext in '' $ac_executable_extensions; do
11524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11525 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
11526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11535 LIPO=$ac_cv_prog_LIPO
11536 if test -n "$LIPO"; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11538 $as_echo "$LIPO" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11541 $as_echo "no
" >&6; }
11546 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
11547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11548 set dummy ${ncn_progname}; ac_word=$2
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11550 $as_echo_n "checking
for $ac_word...
" >&6; }
11551 if ${ac_cv_prog_LIPO+:} false; then :
11552 $as_echo_n "(cached
) " >&6
11554 if test -n "$LIPO"; then
11555 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11558 for as_dir in $PATH
11561 test -z "$as_dir" && as_dir=.
11562 for ac_exec_ext in '' $ac_executable_extensions; do
11563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11564 ac_cv_prog_LIPO="${ncn_progname}"
11565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11574 LIPO=$ac_cv_prog_LIPO
11575 if test -n "$LIPO"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11577 $as_echo "$LIPO" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11580 $as_echo "no
" >&6; }
11585 test -n "$ac_cv_prog_LIPO" && break
11588 if test -z "$ac_cv_prog_LIPO" ; then
11590 if test $build = $host ; then
11593 LIPO="${ncn_tool_prefix}$2"
11599 if test -n "$NM"; then
11601 elif test -n "$ac_cv_prog_NM"; then
11605 if test -n "$ac_cv_prog_NM"; then
11606 for ncn_progname in nm; do
11607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11608 set dummy ${ncn_progname}; ac_word=$2
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11610 $as_echo_n "checking
for $ac_word...
" >&6; }
11611 if ${ac_cv_prog_NM+:} false; then :
11612 $as_echo_n "(cached
) " >&6
11614 if test -n "$NM"; then
11615 ac_cv_prog_NM="$NM" # Let the user override the test.
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_prog_NM="${ncn_progname}"
11625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11635 if test -n "$NM"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11637 $as_echo "$NM" >&6; }
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11640 $as_echo "no
" >&6; }
11647 for ncn_progname in nm; do
11648 if test -n "$ncn_tool_prefix"; then
11649 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11650 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11652 $as_echo_n "checking
for $ac_word...
" >&6; }
11653 if ${ac_cv_prog_NM+:} false; then :
11654 $as_echo_n "(cached
) " >&6
11656 if test -n "$NM"; then
11657 ac_cv_prog_NM="$NM" # Let the user override the test.
11659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11660 for as_dir in $PATH
11663 test -z "$as_dir" && as_dir=.
11664 for ac_exec_ext in '' $ac_executable_extensions; do
11665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11677 if test -n "$NM"; then
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11679 $as_echo "$NM" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11682 $as_echo "no
" >&6; }
11687 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11688 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11689 set dummy ${ncn_progname}; ac_word=$2
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11691 $as_echo_n "checking
for $ac_word...
" >&6; }
11692 if ${ac_cv_prog_NM+:} false; then :
11693 $as_echo_n "(cached
) " >&6
11695 if test -n "$NM"; then
11696 ac_cv_prog_NM="$NM" # Let the user override the test.
11698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11699 for as_dir in $PATH
11702 test -z "$as_dir" && as_dir=.
11703 for ac_exec_ext in '' $ac_executable_extensions; do
11704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11705 ac_cv_prog_NM="${ncn_progname}"
11706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11716 if test -n "$NM"; then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11718 $as_echo "$NM" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11721 $as_echo "no
" >&6; }
11726 test -n "$ac_cv_prog_NM" && break
11729 if test -z "$ac_cv_prog_NM" ; then
11731 if test $build = $host ; then
11734 NM="${ncn_tool_prefix}$2"
11740 if test -n "$RANLIB"; then
11741 ac_cv_prog_RANLIB=$RANLIB
11742 elif test -n "$ac_cv_prog_RANLIB"; then
11743 RANLIB=$ac_cv_prog_RANLIB
11746 if test -n "$ac_cv_prog_RANLIB"; then
11747 for ncn_progname in ranlib; 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_RANLIB+:} false; then :
11753 $as_echo_n "(cached
) " >&6
11755 if test -n "$RANLIB"; then
11756 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_progname}"
11766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11775 RANLIB=$ac_cv_prog_RANLIB
11776 if test -n "$RANLIB"; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11778 $as_echo "$RANLIB" >&6; }
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11781 $as_echo "no
" >&6; }
11788 for ncn_progname in ranlib; 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_RANLIB+:} false; then :
11795 $as_echo_n "(cached
) " >&6
11797 if test -n "$RANLIB"; then
11798 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_tool_prefix}${ncn_progname}"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11817 RANLIB=$ac_cv_prog_RANLIB
11818 if test -n "$RANLIB"; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11820 $as_echo "$RANLIB" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11823 $as_echo "no
" >&6; }
11828 if test -z "$ac_cv_prog_RANLIB" && 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_RANLIB+:} false; then :
11834 $as_echo_n "(cached
) " >&6
11836 if test -n "$RANLIB"; then
11837 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_progname}"
11847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11856 RANLIB=$ac_cv_prog_RANLIB
11857 if test -n "$RANLIB"; then
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11859 $as_echo "$RANLIB" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11862 $as_echo "no
" >&6; }
11867 test -n "$ac_cv_prog_RANLIB" && break
11870 if test -z "$ac_cv_prog_RANLIB" ; then
11876 if test -n "$STRIP"; then
11877 ac_cv_prog_STRIP=$STRIP
11878 elif test -n "$ac_cv_prog_STRIP"; then
11879 STRIP=$ac_cv_prog_STRIP
11882 if test -n "$ac_cv_prog_STRIP"; then
11883 for ncn_progname in strip; do
11884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11885 set dummy ${ncn_progname}; ac_word=$2
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11887 $as_echo_n "checking
for $ac_word...
" >&6; }
11888 if ${ac_cv_prog_STRIP+:} false; then :
11889 $as_echo_n "(cached
) " >&6
11891 if test -n "$STRIP"; then
11892 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11895 for as_dir in $PATH
11898 test -z "$as_dir" && as_dir=.
11899 for ac_exec_ext in '' $ac_executable_extensions; do
11900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11901 ac_cv_prog_STRIP="${ncn_progname}"
11902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11911 STRIP=$ac_cv_prog_STRIP
11912 if test -n "$STRIP"; then
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11914 $as_echo "$STRIP" >&6; }
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11917 $as_echo "no
" >&6; }
11924 for ncn_progname in strip; do
11925 if test -n "$ncn_tool_prefix"; then
11926 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11927 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11929 $as_echo_n "checking
for $ac_word...
" >&6; }
11930 if ${ac_cv_prog_STRIP+:} false; then :
11931 $as_echo_n "(cached
) " >&6
11933 if test -n "$STRIP"; then
11934 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11953 STRIP=$ac_cv_prog_STRIP
11954 if test -n "$STRIP"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11956 $as_echo "$STRIP" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11959 $as_echo "no
" >&6; }
11964 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
11965 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11966 set dummy ${ncn_progname}; ac_word=$2
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11968 $as_echo_n "checking
for $ac_word...
" >&6; }
11969 if ${ac_cv_prog_STRIP+:} false; then :
11970 $as_echo_n "(cached
) " >&6
11972 if test -n "$STRIP"; then
11973 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $PATH
11979 test -z "$as_dir" && as_dir=.
11980 for ac_exec_ext in '' $ac_executable_extensions; do
11981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11982 ac_cv_prog_STRIP="${ncn_progname}"
11983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11992 STRIP=$ac_cv_prog_STRIP
11993 if test -n "$STRIP"; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11995 $as_echo "$STRIP" >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11998 $as_echo "no
" >&6; }
12003 test -n "$ac_cv_prog_STRIP" && break
12006 if test -z "$ac_cv_prog_STRIP" ; then
12012 if test -n "$WINDRES"; then
12013 ac_cv_prog_WINDRES=$WINDRES
12014 elif test -n "$ac_cv_prog_WINDRES"; then
12015 WINDRES=$ac_cv_prog_WINDRES
12018 if test -n "$ac_cv_prog_WINDRES"; then
12019 for ncn_progname in windres; do
12020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12021 set dummy ${ncn_progname}; ac_word=$2
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12023 $as_echo_n "checking
for $ac_word...
" >&6; }
12024 if ${ac_cv_prog_WINDRES+:} false; then :
12025 $as_echo_n "(cached
) " >&6
12027 if test -n "$WINDRES"; then
12028 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12031 for as_dir in $PATH
12034 test -z "$as_dir" && as_dir=.
12035 for ac_exec_ext in '' $ac_executable_extensions; do
12036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_prog_WINDRES="${ncn_progname}"
12038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12047 WINDRES=$ac_cv_prog_WINDRES
12048 if test -n "$WINDRES"; then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12050 $as_echo "$WINDRES" >&6; }
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12053 $as_echo "no
" >&6; }
12060 for ncn_progname in windres; do
12061 if test -n "$ncn_tool_prefix"; then
12062 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12063 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12065 $as_echo_n "checking
for $ac_word...
" >&6; }
12066 if ${ac_cv_prog_WINDRES+:} false; then :
12067 $as_echo_n "(cached
) " >&6
12069 if test -n "$WINDRES"; then
12070 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12073 for as_dir in $PATH
12076 test -z "$as_dir" && as_dir=.
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12079 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
12080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12089 WINDRES=$ac_cv_prog_WINDRES
12090 if test -n "$WINDRES"; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12092 $as_echo "$WINDRES" >&6; }
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12095 $as_echo "no
" >&6; }
12100 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
12101 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12102 set dummy ${ncn_progname}; ac_word=$2
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12104 $as_echo_n "checking
for $ac_word...
" >&6; }
12105 if ${ac_cv_prog_WINDRES+:} false; then :
12106 $as_echo_n "(cached
) " >&6
12108 if test -n "$WINDRES"; then
12109 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12112 for as_dir in $PATH
12115 test -z "$as_dir" && as_dir=.
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12118 ac_cv_prog_WINDRES="${ncn_progname}"
12119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12128 WINDRES=$ac_cv_prog_WINDRES
12129 if test -n "$WINDRES"; then
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12131 $as_echo "$WINDRES" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12134 $as_echo "no
" >&6; }
12139 test -n "$ac_cv_prog_WINDRES" && break
12142 if test -z "$ac_cv_prog_WINDRES" ; then
12144 if test $build = $host ; then
12147 WINDRES="${ncn_tool_prefix}$2"
12153 if test -n "$WINDMC"; then
12154 ac_cv_prog_WINDMC=$WINDMC
12155 elif test -n "$ac_cv_prog_WINDMC"; then
12156 WINDMC=$ac_cv_prog_WINDMC
12159 if test -n "$ac_cv_prog_WINDMC"; then
12160 for ncn_progname in windmc; do
12161 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12162 set dummy ${ncn_progname}; ac_word=$2
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12164 $as_echo_n "checking
for $ac_word...
" >&6; }
12165 if ${ac_cv_prog_WINDMC+:} false; then :
12166 $as_echo_n "(cached
) " >&6
12168 if test -n "$WINDMC"; then
12169 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12172 for as_dir in $PATH
12175 test -z "$as_dir" && as_dir=.
12176 for ac_exec_ext in '' $ac_executable_extensions; do
12177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12178 ac_cv_prog_WINDMC="${ncn_progname}"
12179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12188 WINDMC=$ac_cv_prog_WINDMC
12189 if test -n "$WINDMC"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12191 $as_echo "$WINDMC" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12194 $as_echo "no
" >&6; }
12201 for ncn_progname in windmc; do
12202 if test -n "$ncn_tool_prefix"; then
12203 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12204 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12206 $as_echo_n "checking
for $ac_word...
" >&6; }
12207 if ${ac_cv_prog_WINDMC+:} false; then :
12208 $as_echo_n "(cached
) " >&6
12210 if test -n "$WINDMC"; then
12211 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214 for as_dir in $PATH
12217 test -z "$as_dir" && as_dir=.
12218 for ac_exec_ext in '' $ac_executable_extensions; do
12219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12220 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
12221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12230 WINDMC=$ac_cv_prog_WINDMC
12231 if test -n "$WINDMC"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12233 $as_echo "$WINDMC" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12236 $as_echo "no
" >&6; }
12241 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
12242 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12243 set dummy ${ncn_progname}; ac_word=$2
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12245 $as_echo_n "checking
for $ac_word...
" >&6; }
12246 if ${ac_cv_prog_WINDMC+:} false; then :
12247 $as_echo_n "(cached
) " >&6
12249 if test -n "$WINDMC"; then
12250 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12253 for as_dir in $PATH
12256 test -z "$as_dir" && as_dir=.
12257 for ac_exec_ext in '' $ac_executable_extensions; do
12258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12259 ac_cv_prog_WINDMC="${ncn_progname}"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12269 WINDMC=$ac_cv_prog_WINDMC
12270 if test -n "$WINDMC"; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12272 $as_echo "$WINDMC" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12275 $as_echo "no
" >&6; }
12280 test -n "$ac_cv_prog_WINDMC" && break
12283 if test -z "$ac_cv_prog_WINDMC" ; then
12285 if test $build = $host ; then
12288 WINDMC="${ncn_tool_prefix}$2"
12294 if test -n "$OBJCOPY"; then
12295 ac_cv_prog_OBJCOPY=$OBJCOPY
12296 elif test -n "$ac_cv_prog_OBJCOPY"; then
12297 OBJCOPY=$ac_cv_prog_OBJCOPY
12300 if test -n "$ac_cv_prog_OBJCOPY"; then
12301 for ncn_progname in objcopy; do
12302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12303 set dummy ${ncn_progname}; ac_word=$2
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12305 $as_echo_n "checking
for $ac_word...
" >&6; }
12306 if ${ac_cv_prog_OBJCOPY+:} false; then :
12307 $as_echo_n "(cached
) " >&6
12309 if test -n "$OBJCOPY"; then
12310 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12313 for as_dir in $PATH
12316 test -z "$as_dir" && as_dir=.
12317 for ac_exec_ext in '' $ac_executable_extensions; do
12318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12319 ac_cv_prog_OBJCOPY="${ncn_progname}"
12320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12329 OBJCOPY=$ac_cv_prog_OBJCOPY
12330 if test -n "$OBJCOPY"; then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12332 $as_echo "$OBJCOPY" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12335 $as_echo "no
" >&6; }
12342 for ncn_progname in objcopy; do
12343 if test -n "$ncn_tool_prefix"; then
12344 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12345 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12347 $as_echo_n "checking
for $ac_word...
" >&6; }
12348 if ${ac_cv_prog_OBJCOPY+:} false; then :
12349 $as_echo_n "(cached
) " >&6
12351 if test -n "$OBJCOPY"; then
12352 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12358 test -z "$as_dir" && as_dir=.
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12361 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
12362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12371 OBJCOPY=$ac_cv_prog_OBJCOPY
12372 if test -n "$OBJCOPY"; then
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12374 $as_echo "$OBJCOPY" >&6; }
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12377 $as_echo "no
" >&6; }
12382 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
12383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12384 set dummy ${ncn_progname}; ac_word=$2
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12386 $as_echo_n "checking
for $ac_word...
" >&6; }
12387 if ${ac_cv_prog_OBJCOPY+:} false; then :
12388 $as_echo_n "(cached
) " >&6
12390 if test -n "$OBJCOPY"; then
12391 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12394 for as_dir in $PATH
12397 test -z "$as_dir" && as_dir=.
12398 for ac_exec_ext in '' $ac_executable_extensions; do
12399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12400 ac_cv_prog_OBJCOPY="${ncn_progname}"
12401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12410 OBJCOPY=$ac_cv_prog_OBJCOPY
12411 if test -n "$OBJCOPY"; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12413 $as_echo "$OBJCOPY" >&6; }
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12416 $as_echo "no
" >&6; }
12421 test -n "$ac_cv_prog_OBJCOPY" && break
12424 if test -z "$ac_cv_prog_OBJCOPY" ; then
12426 if test $build = $host ; then
12429 OBJCOPY="${ncn_tool_prefix}$2"
12435 if test -n "$OBJDUMP"; then
12436 ac_cv_prog_OBJDUMP=$OBJDUMP
12437 elif test -n "$ac_cv_prog_OBJDUMP"; then
12438 OBJDUMP=$ac_cv_prog_OBJDUMP
12441 if test -n "$ac_cv_prog_OBJDUMP"; then
12442 for ncn_progname in objdump; do
12443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12444 set dummy ${ncn_progname}; ac_word=$2
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12446 $as_echo_n "checking
for $ac_word...
" >&6; }
12447 if ${ac_cv_prog_OBJDUMP+:} false; then :
12448 $as_echo_n "(cached
) " >&6
12450 if test -n "$OBJDUMP"; then
12451 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12454 for as_dir in $PATH
12457 test -z "$as_dir" && as_dir=.
12458 for ac_exec_ext in '' $ac_executable_extensions; do
12459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12460 ac_cv_prog_OBJDUMP="${ncn_progname}"
12461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12470 OBJDUMP=$ac_cv_prog_OBJDUMP
12471 if test -n "$OBJDUMP"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12473 $as_echo "$OBJDUMP" >&6; }
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12476 $as_echo "no
" >&6; }
12483 for ncn_progname in objdump; do
12484 if test -n "$ncn_tool_prefix"; then
12485 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12486 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12488 $as_echo_n "checking
for $ac_word...
" >&6; }
12489 if ${ac_cv_prog_OBJDUMP+:} false; then :
12490 $as_echo_n "(cached
) " >&6
12492 if test -n "$OBJDUMP"; then
12493 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12496 for as_dir in $PATH
12499 test -z "$as_dir" && as_dir=.
12500 for ac_exec_ext in '' $ac_executable_extensions; do
12501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12502 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
12503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12512 OBJDUMP=$ac_cv_prog_OBJDUMP
12513 if test -n "$OBJDUMP"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12515 $as_echo "$OBJDUMP" >&6; }
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12518 $as_echo "no
" >&6; }
12523 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
12524 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12525 set dummy ${ncn_progname}; ac_word=$2
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12527 $as_echo_n "checking
for $ac_word...
" >&6; }
12528 if ${ac_cv_prog_OBJDUMP+:} false; then :
12529 $as_echo_n "(cached
) " >&6
12531 if test -n "$OBJDUMP"; then
12532 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535 for as_dir in $PATH
12538 test -z "$as_dir" && as_dir=.
12539 for ac_exec_ext in '' $ac_executable_extensions; do
12540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12541 ac_cv_prog_OBJDUMP="${ncn_progname}"
12542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12551 OBJDUMP=$ac_cv_prog_OBJDUMP
12552 if test -n "$OBJDUMP"; then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12554 $as_echo "$OBJDUMP" >&6; }
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12557 $as_echo "no
" >&6; }
12562 test -n "$ac_cv_prog_OBJDUMP" && break
12565 if test -z "$ac_cv_prog_OBJDUMP" ; then
12567 if test $build = $host ; then
12570 OBJDUMP="${ncn_tool_prefix}$2"
12576 if test -n "$OTOOL"; then
12577 ac_cv_prog_OTOOL=$OTOOL
12578 elif test -n "$ac_cv_prog_OTOOL"; then
12579 OTOOL=$ac_cv_prog_OTOOL
12582 if test -n "$ac_cv_prog_OTOOL"; then
12583 for ncn_progname in otool; do
12584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12585 set dummy ${ncn_progname}; ac_word=$2
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12587 $as_echo_n "checking
for $ac_word...
" >&6; }
12588 if ${ac_cv_prog_OTOOL+:} false; then :
12589 $as_echo_n "(cached
) " >&6
12591 if test -n "$OTOOL"; then
12592 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12595 for as_dir in $PATH
12598 test -z "$as_dir" && as_dir=.
12599 for ac_exec_ext in '' $ac_executable_extensions; do
12600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12601 ac_cv_prog_OTOOL="${ncn_progname}"
12602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12611 OTOOL=$ac_cv_prog_OTOOL
12612 if test -n "$OTOOL"; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12614 $as_echo "$OTOOL" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12617 $as_echo "no
" >&6; }
12624 for ncn_progname in otool; do
12625 if test -n "$ncn_tool_prefix"; then
12626 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12627 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12629 $as_echo_n "checking
for $ac_word...
" >&6; }
12630 if ${ac_cv_prog_OTOOL+:} false; then :
12631 $as_echo_n "(cached
) " >&6
12633 if test -n "$OTOOL"; then
12634 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12640 test -z "$as_dir" && as_dir=.
12641 for ac_exec_ext in '' $ac_executable_extensions; do
12642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12643 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12653 OTOOL=$ac_cv_prog_OTOOL
12654 if test -n "$OTOOL"; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12656 $as_echo "$OTOOL" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12659 $as_echo "no
" >&6; }
12664 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12665 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12666 set dummy ${ncn_progname}; ac_word=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12668 $as_echo_n "checking
for $ac_word...
" >&6; }
12669 if ${ac_cv_prog_OTOOL+:} false; then :
12670 $as_echo_n "(cached
) " >&6
12672 if test -n "$OTOOL"; then
12673 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12676 for as_dir in $PATH
12679 test -z "$as_dir" && as_dir=.
12680 for ac_exec_ext in '' $ac_executable_extensions; do
12681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12682 ac_cv_prog_OTOOL="${ncn_progname}"
12683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12692 OTOOL=$ac_cv_prog_OTOOL
12693 if test -n "$OTOOL"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12695 $as_echo "$OTOOL" >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12698 $as_echo "no
" >&6; }
12703 test -n "$ac_cv_prog_OTOOL" && break
12706 if test -z "$ac_cv_prog_OTOOL" ; then
12708 if test $build = $host ; then
12711 OTOOL="${ncn_tool_prefix}$2"
12717 if test -n "$READELF"; then
12718 ac_cv_prog_READELF=$READELF
12719 elif test -n "$ac_cv_prog_READELF"; then
12720 READELF=$ac_cv_prog_READELF
12723 if test -n "$ac_cv_prog_READELF"; then
12724 for ncn_progname in readelf; do
12725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12726 set dummy ${ncn_progname}; ac_word=$2
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12728 $as_echo_n "checking
for $ac_word...
" >&6; }
12729 if ${ac_cv_prog_READELF+:} false; then :
12730 $as_echo_n "(cached
) " >&6
12732 if test -n "$READELF"; then
12733 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12736 for as_dir in $PATH
12739 test -z "$as_dir" && as_dir=.
12740 for ac_exec_ext in '' $ac_executable_extensions; do
12741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12742 ac_cv_prog_READELF="${ncn_progname}"
12743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12752 READELF=$ac_cv_prog_READELF
12753 if test -n "$READELF"; then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12755 $as_echo "$READELF" >&6; }
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12758 $as_echo "no
" >&6; }
12765 for ncn_progname in readelf; do
12766 if test -n "$ncn_tool_prefix"; then
12767 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12768 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12770 $as_echo_n "checking
for $ac_word...
" >&6; }
12771 if ${ac_cv_prog_READELF+:} false; then :
12772 $as_echo_n "(cached
) " >&6
12774 if test -n "$READELF"; then
12775 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12778 for as_dir in $PATH
12781 test -z "$as_dir" && as_dir=.
12782 for ac_exec_ext in '' $ac_executable_extensions; do
12783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12784 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
12785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12794 READELF=$ac_cv_prog_READELF
12795 if test -n "$READELF"; then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12797 $as_echo "$READELF" >&6; }
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12800 $as_echo "no
" >&6; }
12805 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
12806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12807 set dummy ${ncn_progname}; ac_word=$2
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12809 $as_echo_n "checking
for $ac_word...
" >&6; }
12810 if ${ac_cv_prog_READELF+:} false; then :
12811 $as_echo_n "(cached
) " >&6
12813 if test -n "$READELF"; then
12814 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817 for as_dir in $PATH
12820 test -z "$as_dir" && as_dir=.
12821 for ac_exec_ext in '' $ac_executable_extensions; do
12822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12823 ac_cv_prog_READELF="${ncn_progname}"
12824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12833 READELF=$ac_cv_prog_READELF
12834 if test -n "$READELF"; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12836 $as_echo "$READELF" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12839 $as_echo "no
" >&6; }
12844 test -n "$ac_cv_prog_READELF" && break
12847 if test -z "$ac_cv_prog_READELF" ; then
12849 if test $build = $host ; then
12852 READELF="${ncn_tool_prefix}$2"
12865 # Check whether --with-build-time-tools was given.
12866 if test "${with_build_time_tools+set}" = set; then :
12867 withval=$with_build_time_tools; case x"$withval" in
12870 with_build_time_tools=
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
12872 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
12876 with_build_time_tools=
12882 if test -n "$CC_FOR_TARGET"; then
12883 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
12884 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12885 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12888 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12889 for ncn_progname in cc gcc; do
12890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12891 set dummy ${ncn_progname}; ac_word=$2
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12893 $as_echo_n "checking
for $ac_word...
" >&6; }
12894 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12895 $as_echo_n "(cached
) " >&6
12897 if test -n "$CC_FOR_TARGET"; then
12898 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12901 for as_dir in $PATH
12904 test -z "$as_dir" && as_dir=.
12905 for ac_exec_ext in '' $ac_executable_extensions; do
12906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12907 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12917 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12918 if test -n "$CC_FOR_TARGET"; then
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12920 $as_echo "$CC_FOR_TARGET" >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12923 $as_echo "no
" >&6; }
12930 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12931 for ncn_progname in cc gcc; do
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12933 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12934 if test -x $with_build_time_tools/${ncn_progname}; then
12935 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12937 $as_echo "yes" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12941 $as_echo "no
" >&6; }
12946 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
12947 for ncn_progname in cc gcc; do
12948 if test -n "$ncn_target_tool_prefix"; then
12949 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12950 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12952 $as_echo_n "checking
for $ac_word...
" >&6; }
12953 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12954 $as_echo_n "(cached
) " >&6
12956 if test -n "$CC_FOR_TARGET"; then
12957 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12963 test -z "$as_dir" && as_dir=.
12964 for ac_exec_ext in '' $ac_executable_extensions; do
12965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12966 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12976 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12977 if test -n "$CC_FOR_TARGET"; then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12979 $as_echo "$CC_FOR_TARGET" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12982 $as_echo "no
" >&6; }
12987 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
12988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12989 set dummy ${ncn_progname}; ac_word=$2
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12991 $as_echo_n "checking
for $ac_word...
" >&6; }
12992 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12993 $as_echo_n "(cached
) " >&6
12995 if test -n "$CC_FOR_TARGET"; then
12996 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12999 for as_dir in $PATH
13002 test -z "$as_dir" && as_dir=.
13003 for ac_exec_ext in '' $ac_executable_extensions; do
13004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13005 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
13006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13015 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
13016 if test -n "$CC_FOR_TARGET"; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
13018 $as_echo "$CC_FOR_TARGET" >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13021 $as_echo "no
" >&6; }
13026 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
13030 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
13032 if test $build = $target ; then
13035 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13038 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
13043 if test -n "$CXX_FOR_TARGET"; then
13044 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
13045 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13046 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13049 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13050 for ncn_progname in c++ g++ cxx gxx; do
13051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13052 set dummy ${ncn_progname}; ac_word=$2
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13054 $as_echo_n "checking
for $ac_word...
" >&6; }
13055 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13056 $as_echo_n "(cached
) " >&6
13058 if test -n "$CXX_FOR_TARGET"; then
13059 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13062 for as_dir in $PATH
13065 test -z "$as_dir" && as_dir=.
13066 for ac_exec_ext in '' $ac_executable_extensions; do
13067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13068 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13078 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13079 if test -n "$CXX_FOR_TARGET"; then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13081 $as_echo "$CXX_FOR_TARGET" >&6; }
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13084 $as_echo "no
" >&6; }
13091 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
13092 for ncn_progname in c++ g++ cxx gxx; do
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13094 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13095 if test -x $with_build_time_tools/${ncn_progname}; then
13096 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13098 $as_echo "yes" >&6; }
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13102 $as_echo "no
" >&6; }
13107 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
13108 for ncn_progname in c++ g++ cxx gxx; do
13109 if test -n "$ncn_target_tool_prefix"; then
13110 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13111 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13113 $as_echo_n "checking
for $ac_word...
" >&6; }
13114 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13115 $as_echo_n "(cached
) " >&6
13117 if test -n "$CXX_FOR_TARGET"; then
13118 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13127 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13137 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13138 if test -n "$CXX_FOR_TARGET"; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13140 $as_echo "$CXX_FOR_TARGET" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13143 $as_echo "no
" >&6; }
13148 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
13149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13150 set dummy ${ncn_progname}; ac_word=$2
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13152 $as_echo_n "checking
for $ac_word...
" >&6; }
13153 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13154 $as_echo_n "(cached
) " >&6
13156 if test -n "$CXX_FOR_TARGET"; then
13157 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13160 for as_dir in $PATH
13163 test -z "$as_dir" && as_dir=.
13164 for ac_exec_ext in '' $ac_executable_extensions; do
13165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13166 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13176 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13177 if test -n "$CXX_FOR_TARGET"; then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13179 $as_echo "$CXX_FOR_TARGET" >&6; }
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13182 $as_echo "no
" >&6; }
13187 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
13191 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
13192 set dummy c++ g++ cxx gxx
13193 if test $build = $target ; then
13194 CXX_FOR_TARGET="$2"
13196 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
13199 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
13204 if test -n "$GCC_FOR_TARGET"; then
13205 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
13206 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13207 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13210 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13211 for ncn_progname in gcc; do
13212 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13213 set dummy ${ncn_progname}; ac_word=$2
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13215 $as_echo_n "checking
for $ac_word...
" >&6; }
13216 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13217 $as_echo_n "(cached
) " >&6
13219 if test -n "$GCC_FOR_TARGET"; then
13220 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13223 for as_dir in $PATH
13226 test -z "$as_dir" && as_dir=.
13227 for ac_exec_ext in '' $ac_executable_extensions; do
13228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13229 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13239 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13240 if test -n "$GCC_FOR_TARGET"; then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13242 $as_echo "$GCC_FOR_TARGET" >&6; }
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13245 $as_echo "no
" >&6; }
13252 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13253 for ncn_progname in gcc; do
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13255 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13256 if test -x $with_build_time_tools/${ncn_progname}; then
13257 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13259 $as_echo "yes" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13263 $as_echo "no
" >&6; }
13268 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
13269 for ncn_progname in gcc; do
13270 if test -n "$ncn_target_tool_prefix"; then
13271 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13272 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13274 $as_echo_n "checking
for $ac_word...
" >&6; }
13275 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13276 $as_echo_n "(cached
) " >&6
13278 if test -n "$GCC_FOR_TARGET"; then
13279 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13282 for as_dir in $PATH
13285 test -z "$as_dir" && as_dir=.
13286 for ac_exec_ext in '' $ac_executable_extensions; do
13287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13288 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13298 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13299 if test -n "$GCC_FOR_TARGET"; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13301 $as_echo "$GCC_FOR_TARGET" >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13304 $as_echo "no
" >&6; }
13309 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
13310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13311 set dummy ${ncn_progname}; ac_word=$2
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13313 $as_echo_n "checking
for $ac_word...
" >&6; }
13314 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13315 $as_echo_n "(cached
) " >&6
13317 if test -n "$GCC_FOR_TARGET"; then
13318 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13321 for as_dir in $PATH
13324 test -z "$as_dir" && as_dir=.
13325 for ac_exec_ext in '' $ac_executable_extensions; do
13326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13327 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13337 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13338 if test -n "$GCC_FOR_TARGET"; then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13340 $as_echo "$GCC_FOR_TARGET" >&6; }
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13343 $as_echo "no
" >&6; }
13348 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
13352 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
13353 GCC_FOR_TARGET="${CC_FOR_TARGET}"
13355 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
13360 if test -n "$GFORTRAN_FOR_TARGET"; then
13361 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
13362 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13363 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13366 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13367 for ncn_progname in gfortran; do
13368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13369 set dummy ${ncn_progname}; ac_word=$2
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13371 $as_echo_n "checking
for $ac_word...
" >&6; }
13372 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13373 $as_echo_n "(cached
) " >&6
13375 if test -n "$GFORTRAN_FOR_TARGET"; then
13376 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13379 for as_dir in $PATH
13382 test -z "$as_dir" && as_dir=.
13383 for ac_exec_ext in '' $ac_executable_extensions; do
13384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13385 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13395 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13396 if test -n "$GFORTRAN_FOR_TARGET"; then
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13398 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13401 $as_echo "no
" >&6; }
13408 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
13409 for ncn_progname in gfortran; do
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13411 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13412 if test -x $with_build_time_tools/${ncn_progname}; then
13413 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13415 $as_echo "yes" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13419 $as_echo "no
" >&6; }
13424 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13425 for ncn_progname in gfortran; do
13426 if test -n "$ncn_target_tool_prefix"; then
13427 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13428 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13430 $as_echo_n "checking
for $ac_word...
" >&6; }
13431 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13432 $as_echo_n "(cached
) " >&6
13434 if test -n "$GFORTRAN_FOR_TARGET"; then
13435 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13438 for as_dir in $PATH
13441 test -z "$as_dir" && as_dir=.
13442 for ac_exec_ext in '' $ac_executable_extensions; do
13443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13444 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13454 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13455 if test -n "$GFORTRAN_FOR_TARGET"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13457 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13460 $as_echo "no
" >&6; }
13465 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
13466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13467 set dummy ${ncn_progname}; ac_word=$2
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13469 $as_echo_n "checking
for $ac_word...
" >&6; }
13470 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13471 $as_echo_n "(cached
) " >&6
13473 if test -n "$GFORTRAN_FOR_TARGET"; then
13474 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13477 for as_dir in $PATH
13480 test -z "$as_dir" && as_dir=.
13481 for ac_exec_ext in '' $ac_executable_extensions; do
13482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13483 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13493 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13494 if test -n "$GFORTRAN_FOR_TARGET"; then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13496 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13499 $as_echo "no
" >&6; }
13504 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
13508 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
13510 if test $build = $target ; then
13511 GFORTRAN_FOR_TARGET="$2"
13513 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
13516 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
13521 if test -n "$GOC_FOR_TARGET"; then
13522 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
13523 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13524 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13527 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13528 for ncn_progname in gccgo; do
13529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13530 set dummy ${ncn_progname}; ac_word=$2
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13532 $as_echo_n "checking
for $ac_word...
" >&6; }
13533 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13534 $as_echo_n "(cached
) " >&6
13536 if test -n "$GOC_FOR_TARGET"; then
13537 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13540 for as_dir in $PATH
13543 test -z "$as_dir" && as_dir=.
13544 for ac_exec_ext in '' $ac_executable_extensions; do
13545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13546 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13556 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13557 if test -n "$GOC_FOR_TARGET"; then
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13559 $as_echo "$GOC_FOR_TARGET" >&6; }
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13562 $as_echo "no
" >&6; }
13569 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13570 for ncn_progname in gccgo; do
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13572 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13573 if test -x $with_build_time_tools/${ncn_progname}; then
13574 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13576 $as_echo "yes" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13580 $as_echo "no
" >&6; }
13585 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13586 for ncn_progname in gccgo; do
13587 if test -n "$ncn_target_tool_prefix"; then
13588 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13589 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13591 $as_echo_n "checking
for $ac_word...
" >&6; }
13592 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13593 $as_echo_n "(cached
) " >&6
13595 if test -n "$GOC_FOR_TARGET"; then
13596 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13599 for as_dir in $PATH
13602 test -z "$as_dir" && as_dir=.
13603 for ac_exec_ext in '' $ac_executable_extensions; do
13604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13605 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13615 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13616 if test -n "$GOC_FOR_TARGET"; then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13618 $as_echo "$GOC_FOR_TARGET" >&6; }
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13621 $as_echo "no
" >&6; }
13626 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
13627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13628 set dummy ${ncn_progname}; ac_word=$2
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13630 $as_echo_n "checking
for $ac_word...
" >&6; }
13631 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13632 $as_echo_n "(cached
) " >&6
13634 if test -n "$GOC_FOR_TARGET"; then
13635 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13638 for as_dir in $PATH
13641 test -z "$as_dir" && as_dir=.
13642 for ac_exec_ext in '' $ac_executable_extensions; do
13643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13644 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13654 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13655 if test -n "$GOC_FOR_TARGET"; then
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13657 $as_echo "$GOC_FOR_TARGET" >&6; }
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13660 $as_echo "no
" >&6; }
13665 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
13669 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
13671 if test $build = $target ; then
13672 GOC_FOR_TARGET="$2"
13674 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13677 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
13682 if test -n "$GDC_FOR_TARGET"; then
13683 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
13684 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13685 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13688 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13689 for ncn_progname in gdc; do
13690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13691 set dummy ${ncn_progname}; ac_word=$2
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13693 $as_echo_n "checking
for $ac_word...
" >&6; }
13694 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13695 $as_echo_n "(cached
) " >&6
13697 if test -n "$GDC_FOR_TARGET"; then
13698 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13701 for as_dir in $PATH
13704 test -z "$as_dir" && as_dir=.
13705 for ac_exec_ext in '' $ac_executable_extensions; do
13706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13707 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13717 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13718 if test -n "$GDC_FOR_TARGET"; then
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13720 $as_echo "$GDC_FOR_TARGET" >&6; }
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13723 $as_echo "no
" >&6; }
13730 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13731 for ncn_progname in gdc; do
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13733 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13734 if test -x $with_build_time_tools/${ncn_progname}; then
13735 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13737 $as_echo "yes" >&6; }
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13741 $as_echo "no
" >&6; }
13746 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
13747 for ncn_progname in gdc; do
13748 if test -n "$ncn_target_tool_prefix"; then
13749 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13750 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13752 $as_echo_n "checking
for $ac_word...
" >&6; }
13753 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13754 $as_echo_n "(cached
) " >&6
13756 if test -n "$GDC_FOR_TARGET"; then
13757 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13760 for as_dir in $PATH
13763 test -z "$as_dir" && as_dir=.
13764 for ac_exec_ext in '' $ac_executable_extensions; do
13765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13766 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13776 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13777 if test -n "$GDC_FOR_TARGET"; then
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13779 $as_echo "$GDC_FOR_TARGET" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13782 $as_echo "no
" >&6; }
13787 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
13788 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13789 set dummy ${ncn_progname}; ac_word=$2
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13791 $as_echo_n "checking
for $ac_word...
" >&6; }
13792 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13793 $as_echo_n "(cached
) " >&6
13795 if test -n "$GDC_FOR_TARGET"; then
13796 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13799 for as_dir in $PATH
13802 test -z "$as_dir" && as_dir=.
13803 for ac_exec_ext in '' $ac_executable_extensions; do
13804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13805 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13815 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13816 if test -n "$GDC_FOR_TARGET"; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13818 $as_echo "$GDC_FOR_TARGET" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13821 $as_echo "no
" >&6; }
13826 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
13830 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
13832 if test $build = $target ; then
13833 GDC_FOR_TARGET="$2"
13835 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13838 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
13843 cat > conftest.c << \EOF
13848 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
13849 have_gcc_for_target=yes
13851 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
13852 have_gcc_for_target=no
13859 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13860 if test -n "$with_build_time_tools"; then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
13862 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
13863 if test -x $with_build_time_tools/ar; then
13864 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
13865 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
13867 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13870 $as_echo "no
" >&6; }
13872 elif test $build != $host && test $have_gcc_for_target = yes; then
13873 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
13874 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
13875 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13878 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13879 # Extract the first word of "ar", so it can be a program name with args.
13880 set dummy ar; ac_word=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13882 $as_echo_n "checking
for $ac_word...
" >&6; }
13883 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
13884 $as_echo_n "(cached
) " >&6
13886 case $AR_FOR_TARGET in
13888 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
13891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13892 for as_dir in $gcc_cv_tool_dirs
13895 test -z "$as_dir" && as_dir=.
13896 for ac_exec_ext in '' $ac_executable_extensions; do
13897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13898 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13909 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
13910 if test -n "$AR_FOR_TARGET"; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13912 $as_echo "$AR_FOR_TARGET" >&6; }
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13915 $as_echo "no
" >&6; }
13920 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13923 if test -n "$AR_FOR_TARGET"; then
13924 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
13925 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13926 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13929 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
13930 for ncn_progname in ar; do
13931 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13932 set dummy ${ncn_progname}; ac_word=$2
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13934 $as_echo_n "checking
for $ac_word...
" >&6; }
13935 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13936 $as_echo_n "(cached
) " >&6
13938 if test -n "$AR_FOR_TARGET"; then
13939 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
13941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13942 for as_dir in $PATH
13945 test -z "$as_dir" && as_dir=.
13946 for ac_exec_ext in '' $ac_executable_extensions; do
13947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13948 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
13949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13958 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
13959 if test -n "$AR_FOR_TARGET"; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
13961 $as_echo "$AR_FOR_TARGET" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13964 $as_echo "no
" >&6; }
13971 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
13972 for ncn_progname in ar; do
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13974 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13975 if test -x $with_build_time_tools/${ncn_progname}; then
13976 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13978 $as_echo "yes" >&6; }
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13982 $as_echo "no
" >&6; }
13987 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
13988 for ncn_progname in ar; do
13989 if test -n "$ncn_target_tool_prefix"; then
13990 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13991 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13993 $as_echo_n "checking
for $ac_word...
" >&6; }
13994 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
13995 $as_echo_n "(cached
) " >&6
13997 if test -n "$AR_FOR_TARGET"; then
13998 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14001 for as_dir in $PATH
14004 test -z "$as_dir" && as_dir=.
14005 for ac_exec_ext in '' $ac_executable_extensions; do
14006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14007 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14017 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14018 if test -n "$AR_FOR_TARGET"; then
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14020 $as_echo "$AR_FOR_TARGET" >&6; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14023 $as_echo "no
" >&6; }
14028 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
14029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14030 set dummy ${ncn_progname}; ac_word=$2
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14032 $as_echo_n "checking
for $ac_word...
" >&6; }
14033 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14034 $as_echo_n "(cached
) " >&6
14036 if test -n "$AR_FOR_TARGET"; then
14037 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14040 for as_dir in $PATH
14043 test -z "$as_dir" && as_dir=.
14044 for ac_exec_ext in '' $ac_executable_extensions; do
14045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14046 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
14047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14056 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14057 if test -n "$AR_FOR_TARGET"; then
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14059 $as_echo "$AR_FOR_TARGET" >&6; }
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14062 $as_echo "no
" >&6; }
14067 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
14071 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
14073 if test $build = $target ; then
14076 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
14079 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
14083 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
14089 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14090 if test -n "$with_build_time_tools"; then
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
14092 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
14093 if test -x $with_build_time_tools/as; then
14094 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
14095 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
14097 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14100 $as_echo "no
" >&6; }
14102 elif test $build != $host && test $have_gcc_for_target = yes; then
14103 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
14104 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
14105 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14108 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14109 # Extract the first word of "as
", so it can be a program name with args.
14110 set dummy as; ac_word=$2
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14112 $as_echo_n "checking
for $ac_word...
" >&6; }
14113 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
14114 $as_echo_n "(cached
) " >&6
14116 case $AS_FOR_TARGET in
14118 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
14121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14122 for as_dir in $gcc_cv_tool_dirs
14125 test -z "$as_dir" && as_dir=.
14126 for ac_exec_ext in '' $ac_executable_extensions; do
14127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14128 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14139 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14140 if test -n "$AS_FOR_TARGET"; then
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14142 $as_echo "$AS_FOR_TARGET" >&6; }
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14145 $as_echo "no
" >&6; }
14150 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14153 if test -n "$AS_FOR_TARGET"; then
14154 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
14155 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14156 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14159 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14160 for ncn_progname in as; do
14161 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14162 set dummy ${ncn_progname}; ac_word=$2
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14164 $as_echo_n "checking
for $ac_word...
" >&6; }
14165 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14166 $as_echo_n "(cached
) " >&6
14168 if test -n "$AS_FOR_TARGET"; then
14169 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14172 for as_dir in $PATH
14175 test -z "$as_dir" && as_dir=.
14176 for ac_exec_ext in '' $ac_executable_extensions; do
14177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14178 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14188 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14189 if test -n "$AS_FOR_TARGET"; then
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14191 $as_echo "$AS_FOR_TARGET" >&6; }
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14194 $as_echo "no
" >&6; }
14201 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
14202 for ncn_progname in as; do
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14204 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14205 if test -x $with_build_time_tools/${ncn_progname}; then
14206 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14208 $as_echo "yes" >&6; }
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14212 $as_echo "no
" >&6; }
14217 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
14218 for ncn_progname in as; do
14219 if test -n "$ncn_target_tool_prefix"; then
14220 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14221 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14223 $as_echo_n "checking
for $ac_word...
" >&6; }
14224 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14225 $as_echo_n "(cached
) " >&6
14227 if test -n "$AS_FOR_TARGET"; then
14228 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14231 for as_dir in $PATH
14234 test -z "$as_dir" && as_dir=.
14235 for ac_exec_ext in '' $ac_executable_extensions; do
14236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14237 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14247 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14248 if test -n "$AS_FOR_TARGET"; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14250 $as_echo "$AS_FOR_TARGET" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14253 $as_echo "no
" >&6; }
14258 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
14259 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14260 set dummy ${ncn_progname}; ac_word=$2
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14262 $as_echo_n "checking
for $ac_word...
" >&6; }
14263 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14264 $as_echo_n "(cached
) " >&6
14266 if test -n "$AS_FOR_TARGET"; then
14267 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14270 for as_dir in $PATH
14273 test -z "$as_dir" && as_dir=.
14274 for ac_exec_ext in '' $ac_executable_extensions; do
14275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14276 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14286 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14287 if test -n "$AS_FOR_TARGET"; then
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14289 $as_echo "$AS_FOR_TARGET" >&6; }
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14292 $as_echo "no
" >&6; }
14297 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
14301 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
14303 if test $build = $target ; then
14306 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
14309 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
14313 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14319 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14320 if test -n "$with_build_time_tools"; then
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
14322 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
14323 if test -x $with_build_time_tools/dlltool; then
14324 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
14325 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
14327 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14330 $as_echo "no
" >&6; }
14332 elif test $build != $host && test $have_gcc_for_target = yes; then
14333 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
14334 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
14335 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14338 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14339 # Extract the first word of "dlltool
", so it can be a program name with args.
14340 set dummy dlltool; ac_word=$2
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14342 $as_echo_n "checking
for $ac_word...
" >&6; }
14343 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
14344 $as_echo_n "(cached
) " >&6
14346 case $DLLTOOL_FOR_TARGET in
14348 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
14351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14352 for as_dir in $gcc_cv_tool_dirs
14355 test -z "$as_dir" && as_dir=.
14356 for ac_exec_ext in '' $ac_executable_extensions; do
14357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14358 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14359 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14369 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14370 if test -n "$DLLTOOL_FOR_TARGET"; then
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14372 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14375 $as_echo "no
" >&6; }
14380 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14383 if test -n "$DLLTOOL_FOR_TARGET"; then
14384 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14385 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14386 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14389 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14390 for ncn_progname in dlltool; do
14391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14392 set dummy ${ncn_progname}; ac_word=$2
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14394 $as_echo_n "checking
for $ac_word...
" >&6; }
14395 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14396 $as_echo_n "(cached
) " >&6
14398 if test -n "$DLLTOOL_FOR_TARGET"; then
14399 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14402 for as_dir in $PATH
14405 test -z "$as_dir" && as_dir=.
14406 for ac_exec_ext in '' $ac_executable_extensions; do
14407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14408 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14418 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14419 if test -n "$DLLTOOL_FOR_TARGET"; then
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14421 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14424 $as_echo "no
" >&6; }
14431 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14432 for ncn_progname in dlltool; do
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14434 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14435 if test -x $with_build_time_tools/${ncn_progname}; then
14436 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14438 $as_echo "yes" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14442 $as_echo "no
" >&6; }
14447 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14448 for ncn_progname in dlltool; do
14449 if test -n "$ncn_target_tool_prefix"; then
14450 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14451 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14453 $as_echo_n "checking
for $ac_word...
" >&6; }
14454 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14455 $as_echo_n "(cached
) " >&6
14457 if test -n "$DLLTOOL_FOR_TARGET"; then
14458 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14461 for as_dir in $PATH
14464 test -z "$as_dir" && as_dir=.
14465 for ac_exec_ext in '' $ac_executable_extensions; do
14466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14467 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14477 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14478 if test -n "$DLLTOOL_FOR_TARGET"; then
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14480 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14483 $as_echo "no
" >&6; }
14488 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
14489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14490 set dummy ${ncn_progname}; ac_word=$2
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14492 $as_echo_n "checking
for $ac_word...
" >&6; }
14493 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14494 $as_echo_n "(cached
) " >&6
14496 if test -n "$DLLTOOL_FOR_TARGET"; then
14497 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14500 for as_dir in $PATH
14503 test -z "$as_dir" && as_dir=.
14504 for ac_exec_ext in '' $ac_executable_extensions; do
14505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14506 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14516 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14517 if test -n "$DLLTOOL_FOR_TARGET"; then
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14519 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14522 $as_echo "no
" >&6; }
14527 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
14531 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
14533 if test $build = $target ; then
14534 DLLTOOL_FOR_TARGET="$2"
14536 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14539 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
14543 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14549 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14550 if test -n "$with_build_time_tools"; then
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dsymutil
in $with_build_time_tools" >&5
14552 $as_echo_n "checking
for dsymutil
in $with_build_time_tools...
" >&6; }
14553 if test -x $with_build_time_tools/dsymutil; then
14554 DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
14555 ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
14557 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14560 $as_echo "no
" >&6; }
14562 elif test $build != $host && test $have_gcc_for_target = yes; then
14563 DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
14564 test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
14565 test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14568 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14569 # Extract the first word of "dsymutil
", so it can be a program name with args.
14570 set dummy dsymutil; ac_word=$2
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14572 $as_echo_n "checking
for $ac_word...
" >&6; }
14573 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
14574 $as_echo_n "(cached
) " >&6
14576 case $DSYMUTIL_FOR_TARGET in
14578 ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
14581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14582 for as_dir in $gcc_cv_tool_dirs
14585 test -z "$as_dir" && as_dir=.
14586 for ac_exec_ext in '' $ac_executable_extensions; do
14587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14588 ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14599 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14600 if test -n "$DSYMUTIL_FOR_TARGET"; then
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14602 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14605 $as_echo "no
" >&6; }
14610 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14613 if test -n "$DSYMUTIL_FOR_TARGET"; then
14614 ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14615 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14616 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14619 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14620 for ncn_progname in dsymutil; do
14621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14622 set dummy ${ncn_progname}; ac_word=$2
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14624 $as_echo_n "checking
for $ac_word...
" >&6; }
14625 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14626 $as_echo_n "(cached
) " >&6
14628 if test -n "$DSYMUTIL_FOR_TARGET"; then
14629 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14632 for as_dir in $PATH
14635 test -z "$as_dir" && as_dir=.
14636 for ac_exec_ext in '' $ac_executable_extensions; do
14637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14638 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14648 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14649 if test -n "$DSYMUTIL_FOR_TARGET"; then
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14651 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14654 $as_echo "no
" >&6; }
14661 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14662 for ncn_progname in dsymutil; do
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14664 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14665 if test -x $with_build_time_tools/${ncn_progname}; then
14666 ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14668 $as_echo "yes" >&6; }
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14672 $as_echo "no
" >&6; }
14677 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14678 for ncn_progname in dsymutil; do
14679 if test -n "$ncn_target_tool_prefix"; then
14680 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14681 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14683 $as_echo_n "checking
for $ac_word...
" >&6; }
14684 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14685 $as_echo_n "(cached
) " >&6
14687 if test -n "$DSYMUTIL_FOR_TARGET"; then
14688 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14691 for as_dir in $PATH
14694 test -z "$as_dir" && as_dir=.
14695 for ac_exec_ext in '' $ac_executable_extensions; do
14696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14697 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14707 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14708 if test -n "$DSYMUTIL_FOR_TARGET"; then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14710 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14713 $as_echo "no
" >&6; }
14718 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
14719 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14720 set dummy ${ncn_progname}; ac_word=$2
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14722 $as_echo_n "checking
for $ac_word...
" >&6; }
14723 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14724 $as_echo_n "(cached
) " >&6
14726 if test -n "$DSYMUTIL_FOR_TARGET"; then
14727 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14730 for as_dir in $PATH
14733 test -z "$as_dir" && as_dir=.
14734 for ac_exec_ext in '' $ac_executable_extensions; do
14735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14736 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14746 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14747 if test -n "$DSYMUTIL_FOR_TARGET"; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14749 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14752 $as_echo "no
" >&6; }
14757 test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
14761 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
14763 if test $build = $target ; then
14764 DSYMUTIL_FOR_TARGET="$2"
14766 DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14769 DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
14773 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14779 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14780 if test -n "$with_build_time_tools"; then
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
14782 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
14783 if test -x $with_build_time_tools/ld; then
14784 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
14785 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
14787 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14790 $as_echo "no
" >&6; }
14792 elif test $build != $host && test $have_gcc_for_target = yes; then
14793 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
14794 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
14795 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14798 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14799 # Extract the first word of "ld
", so it can be a program name with args.
14800 set dummy ld; ac_word=$2
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14802 $as_echo_n "checking
for $ac_word...
" >&6; }
14803 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
14804 $as_echo_n "(cached
) " >&6
14806 case $LD_FOR_TARGET in
14808 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
14811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14812 for as_dir in $gcc_cv_tool_dirs
14815 test -z "$as_dir" && as_dir=.
14816 for ac_exec_ext in '' $ac_executable_extensions; do
14817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14818 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14829 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14830 if test -n "$LD_FOR_TARGET"; then
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14832 $as_echo "$LD_FOR_TARGET" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14835 $as_echo "no
" >&6; }
14840 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14843 if test -n "$LD_FOR_TARGET"; then
14844 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
14845 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14846 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14849 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14850 for ncn_progname in ld; do
14851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14852 set dummy ${ncn_progname}; ac_word=$2
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14854 $as_echo_n "checking
for $ac_word...
" >&6; }
14855 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14856 $as_echo_n "(cached
) " >&6
14858 if test -n "$LD_FOR_TARGET"; then
14859 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14862 for as_dir in $PATH
14865 test -z "$as_dir" && as_dir=.
14866 for ac_exec_ext in '' $ac_executable_extensions; do
14867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14868 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14878 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14879 if test -n "$LD_FOR_TARGET"; then
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14881 $as_echo "$LD_FOR_TARGET" >&6; }
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14884 $as_echo "no
" >&6; }
14891 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
14892 for ncn_progname in ld; do
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14894 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14895 if test -x $with_build_time_tools/${ncn_progname}; then
14896 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14898 $as_echo "yes" >&6; }
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14902 $as_echo "no
" >&6; }
14907 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
14908 for ncn_progname in ld; do
14909 if test -n "$ncn_target_tool_prefix"; then
14910 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14911 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14913 $as_echo_n "checking
for $ac_word...
" >&6; }
14914 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14915 $as_echo_n "(cached
) " >&6
14917 if test -n "$LD_FOR_TARGET"; then
14918 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14921 for as_dir in $PATH
14924 test -z "$as_dir" && as_dir=.
14925 for ac_exec_ext in '' $ac_executable_extensions; do
14926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14927 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14937 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14938 if test -n "$LD_FOR_TARGET"; then
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14940 $as_echo "$LD_FOR_TARGET" >&6; }
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14943 $as_echo "no
" >&6; }
14948 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
14949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14950 set dummy ${ncn_progname}; ac_word=$2
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14952 $as_echo_n "checking
for $ac_word...
" >&6; }
14953 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14954 $as_echo_n "(cached
) " >&6
14956 if test -n "$LD_FOR_TARGET"; then
14957 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14960 for as_dir in $PATH
14963 test -z "$as_dir" && as_dir=.
14964 for ac_exec_ext in '' $ac_executable_extensions; do
14965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14966 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14976 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14977 if test -n "$LD_FOR_TARGET"; then
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14979 $as_echo "$LD_FOR_TARGET" >&6; }
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14982 $as_echo "no
" >&6; }
14987 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
14991 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
14993 if test $build = $target ; then
14996 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
14999 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
15003 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
15009 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15010 if test -n "$with_build_time_tools"; then
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
15012 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
15013 if test -x $with_build_time_tools/lipo; then
15014 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
15015 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
15017 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15020 $as_echo "no
" >&6; }
15022 elif test $build != $host && test $have_gcc_for_target = yes; then
15023 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
15024 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
15025 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15028 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15029 # Extract the first word of "lipo
", so it can be a program name with args.
15030 set dummy lipo; ac_word=$2
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15032 $as_echo_n "checking
for $ac_word...
" >&6; }
15033 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
15034 $as_echo_n "(cached
) " >&6
15036 case $LIPO_FOR_TARGET in
15038 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
15041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15042 for as_dir in $gcc_cv_tool_dirs
15045 test -z "$as_dir" && as_dir=.
15046 for ac_exec_ext in '' $ac_executable_extensions; do
15047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15059 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15060 if test -n "$LIPO_FOR_TARGET"; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15062 $as_echo "$LIPO_FOR_TARGET" >&6; }
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15065 $as_echo "no
" >&6; }
15070 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15073 if test -n "$LIPO_FOR_TARGET"; then
15074 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15075 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15076 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15079 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15080 for ncn_progname in lipo; do
15081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15082 set dummy ${ncn_progname}; ac_word=$2
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15084 $as_echo_n "checking
for $ac_word...
" >&6; }
15085 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15086 $as_echo_n "(cached
) " >&6
15088 if test -n "$LIPO_FOR_TARGET"; then
15089 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15092 for as_dir in $PATH
15095 test -z "$as_dir" && as_dir=.
15096 for ac_exec_ext in '' $ac_executable_extensions; do
15097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15098 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15108 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15109 if test -n "$LIPO_FOR_TARGET"; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15111 $as_echo "$LIPO_FOR_TARGET" >&6; }
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15114 $as_echo "no
" >&6; }
15121 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
15122 for ncn_progname in lipo; do
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15124 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15125 if test -x $with_build_time_tools/${ncn_progname}; then
15126 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15128 $as_echo "yes" >&6; }
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15132 $as_echo "no
" >&6; }
15137 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
15138 for ncn_progname in lipo; do
15139 if test -n "$ncn_target_tool_prefix"; then
15140 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15141 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15143 $as_echo_n "checking
for $ac_word...
" >&6; }
15144 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15145 $as_echo_n "(cached
) " >&6
15147 if test -n "$LIPO_FOR_TARGET"; then
15148 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15151 for as_dir in $PATH
15154 test -z "$as_dir" && as_dir=.
15155 for ac_exec_ext in '' $ac_executable_extensions; do
15156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15157 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15167 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15168 if test -n "$LIPO_FOR_TARGET"; then
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15170 $as_echo "$LIPO_FOR_TARGET" >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15173 $as_echo "no
" >&6; }
15178 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
15179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15180 set dummy ${ncn_progname}; ac_word=$2
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15182 $as_echo_n "checking
for $ac_word...
" >&6; }
15183 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15184 $as_echo_n "(cached
) " >&6
15186 if test -n "$LIPO_FOR_TARGET"; then
15187 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15190 for as_dir in $PATH
15193 test -z "$as_dir" && as_dir=.
15194 for ac_exec_ext in '' $ac_executable_extensions; do
15195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15196 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15206 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15207 if test -n "$LIPO_FOR_TARGET"; then
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15209 $as_echo "$LIPO_FOR_TARGET" >&6; }
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15212 $as_echo "no
" >&6; }
15217 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
15221 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
15223 if test $build = $target ; then
15224 LIPO_FOR_TARGET="$2"
15226 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
15229 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
15233 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15239 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15240 if test -n "$with_build_time_tools"; then
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
15242 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
15243 if test -x $with_build_time_tools/nm; then
15244 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
15245 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
15247 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15250 $as_echo "no
" >&6; }
15252 elif test $build != $host && test $have_gcc_for_target = yes; then
15253 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
15254 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
15255 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15258 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15259 # Extract the first word of "nm
", so it can be a program name with args.
15260 set dummy nm; ac_word=$2
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15262 $as_echo_n "checking
for $ac_word...
" >&6; }
15263 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
15264 $as_echo_n "(cached
) " >&6
15266 case $NM_FOR_TARGET in
15268 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
15271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15272 for as_dir in $gcc_cv_tool_dirs
15275 test -z "$as_dir" && as_dir=.
15276 for ac_exec_ext in '' $ac_executable_extensions; do
15277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15278 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15289 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15290 if test -n "$NM_FOR_TARGET"; then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15292 $as_echo "$NM_FOR_TARGET" >&6; }
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15295 $as_echo "no
" >&6; }
15300 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15303 if test -n "$NM_FOR_TARGET"; then
15304 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
15305 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15306 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15309 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15310 for ncn_progname in nm; do
15311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15312 set dummy ${ncn_progname}; ac_word=$2
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15314 $as_echo_n "checking
for $ac_word...
" >&6; }
15315 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15316 $as_echo_n "(cached
) " >&6
15318 if test -n "$NM_FOR_TARGET"; then
15319 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15322 for as_dir in $PATH
15325 test -z "$as_dir" && as_dir=.
15326 for ac_exec_ext in '' $ac_executable_extensions; do
15327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15328 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15338 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15339 if test -n "$NM_FOR_TARGET"; then
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15341 $as_echo "$NM_FOR_TARGET" >&6; }
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15344 $as_echo "no
" >&6; }
15351 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
15352 for ncn_progname in nm; do
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15354 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15355 if test -x $with_build_time_tools/${ncn_progname}; then
15356 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15358 $as_echo "yes" >&6; }
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15362 $as_echo "no
" >&6; }
15367 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
15368 for ncn_progname in nm; do
15369 if test -n "$ncn_target_tool_prefix"; then
15370 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15371 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15373 $as_echo_n "checking
for $ac_word...
" >&6; }
15374 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15375 $as_echo_n "(cached
) " >&6
15377 if test -n "$NM_FOR_TARGET"; then
15378 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15381 for as_dir in $PATH
15384 test -z "$as_dir" && as_dir=.
15385 for ac_exec_ext in '' $ac_executable_extensions; do
15386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15387 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15397 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15398 if test -n "$NM_FOR_TARGET"; then
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15400 $as_echo "$NM_FOR_TARGET" >&6; }
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15403 $as_echo "no
" >&6; }
15408 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
15409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15410 set dummy ${ncn_progname}; ac_word=$2
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15412 $as_echo_n "checking
for $ac_word...
" >&6; }
15413 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15414 $as_echo_n "(cached
) " >&6
15416 if test -n "$NM_FOR_TARGET"; then
15417 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15420 for as_dir in $PATH
15423 test -z "$as_dir" && as_dir=.
15424 for ac_exec_ext in '' $ac_executable_extensions; do
15425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15426 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15436 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15437 if test -n "$NM_FOR_TARGET"; then
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15439 $as_echo "$NM_FOR_TARGET" >&6; }
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15442 $as_echo "no
" >&6; }
15447 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
15451 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
15453 if test $build = $target ; then
15456 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
15459 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
15463 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15469 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15470 if test -n "$with_build_time_tools"; then
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
15472 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
15473 if test -x $with_build_time_tools/objcopy; then
15474 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
15475 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
15477 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15480 $as_echo "no
" >&6; }
15482 elif test $build != $host && test $have_gcc_for_target = yes; then
15483 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
15484 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
15485 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15488 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15489 # Extract the first word of "objcopy
", so it can be a program name with args.
15490 set dummy objcopy; ac_word=$2
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15492 $as_echo_n "checking
for $ac_word...
" >&6; }
15493 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
15494 $as_echo_n "(cached
) " >&6
15496 case $OBJCOPY_FOR_TARGET in
15498 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
15501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15502 for as_dir in $gcc_cv_tool_dirs
15505 test -z "$as_dir" && as_dir=.
15506 for ac_exec_ext in '' $ac_executable_extensions; do
15507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15508 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15519 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15520 if test -n "$OBJCOPY_FOR_TARGET"; then
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15522 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15525 $as_echo "no
" >&6; }
15530 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15533 if test -n "$OBJCOPY_FOR_TARGET"; then
15534 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15535 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15536 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15539 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15540 for ncn_progname in objcopy; do
15541 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15542 set dummy ${ncn_progname}; ac_word=$2
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15544 $as_echo_n "checking
for $ac_word...
" >&6; }
15545 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15546 $as_echo_n "(cached
) " >&6
15548 if test -n "$OBJCOPY_FOR_TARGET"; then
15549 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15552 for as_dir in $PATH
15555 test -z "$as_dir" && as_dir=.
15556 for ac_exec_ext in '' $ac_executable_extensions; do
15557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15558 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15568 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15569 if test -n "$OBJCOPY_FOR_TARGET"; then
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15571 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15574 $as_echo "no
" >&6; }
15581 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
15582 for ncn_progname in objcopy; do
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15584 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15585 if test -x $with_build_time_tools/${ncn_progname}; then
15586 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15588 $as_echo "yes" >&6; }
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15592 $as_echo "no
" >&6; }
15597 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15598 for ncn_progname in objcopy; do
15599 if test -n "$ncn_target_tool_prefix"; then
15600 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15601 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15603 $as_echo_n "checking
for $ac_word...
" >&6; }
15604 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15605 $as_echo_n "(cached
) " >&6
15607 if test -n "$OBJCOPY_FOR_TARGET"; then
15608 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15611 for as_dir in $PATH
15614 test -z "$as_dir" && as_dir=.
15615 for ac_exec_ext in '' $ac_executable_extensions; do
15616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15617 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15627 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15628 if test -n "$OBJCOPY_FOR_TARGET"; then
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15630 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15633 $as_echo "no
" >&6; }
15638 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
15639 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15640 set dummy ${ncn_progname}; ac_word=$2
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15642 $as_echo_n "checking
for $ac_word...
" >&6; }
15643 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15644 $as_echo_n "(cached
) " >&6
15646 if test -n "$OBJCOPY_FOR_TARGET"; then
15647 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15650 for as_dir in $PATH
15653 test -z "$as_dir" && as_dir=.
15654 for ac_exec_ext in '' $ac_executable_extensions; do
15655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15656 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15666 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15667 if test -n "$OBJCOPY_FOR_TARGET"; then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15669 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15672 $as_echo "no
" >&6; }
15677 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
15681 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
15683 if test $build = $target ; then
15684 OBJCOPY_FOR_TARGET="$2"
15686 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
15689 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
15693 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15699 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15700 if test -n "$with_build_time_tools"; then
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
15702 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
15703 if test -x $with_build_time_tools/objdump; then
15704 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
15705 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
15707 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15710 $as_echo "no
" >&6; }
15712 elif test $build != $host && test $have_gcc_for_target = yes; then
15713 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
15714 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
15715 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15718 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15719 # Extract the first word of "objdump
", so it can be a program name with args.
15720 set dummy objdump; ac_word=$2
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15722 $as_echo_n "checking
for $ac_word...
" >&6; }
15723 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
15724 $as_echo_n "(cached
) " >&6
15726 case $OBJDUMP_FOR_TARGET in
15728 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
15731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15732 for as_dir in $gcc_cv_tool_dirs
15735 test -z "$as_dir" && as_dir=.
15736 for ac_exec_ext in '' $ac_executable_extensions; do
15737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15738 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15749 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15750 if test -n "$OBJDUMP_FOR_TARGET"; then
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15752 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15755 $as_echo "no
" >&6; }
15760 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15763 if test -n "$OBJDUMP_FOR_TARGET"; then
15764 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15765 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15766 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15769 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15770 for ncn_progname in objdump; do
15771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15772 set dummy ${ncn_progname}; ac_word=$2
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15774 $as_echo_n "checking
for $ac_word...
" >&6; }
15775 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15776 $as_echo_n "(cached
) " >&6
15778 if test -n "$OBJDUMP_FOR_TARGET"; then
15779 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15782 for as_dir in $PATH
15785 test -z "$as_dir" && as_dir=.
15786 for ac_exec_ext in '' $ac_executable_extensions; do
15787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15788 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15798 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15799 if test -n "$OBJDUMP_FOR_TARGET"; then
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15801 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15804 $as_echo "no
" >&6; }
15811 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15812 for ncn_progname in objdump; do
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15814 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15815 if test -x $with_build_time_tools/${ncn_progname}; then
15816 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15818 $as_echo "yes" >&6; }
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15822 $as_echo "no
" >&6; }
15827 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15828 for ncn_progname in objdump; do
15829 if test -n "$ncn_target_tool_prefix"; then
15830 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15831 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15833 $as_echo_n "checking
for $ac_word...
" >&6; }
15834 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15835 $as_echo_n "(cached
) " >&6
15837 if test -n "$OBJDUMP_FOR_TARGET"; then
15838 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15841 for as_dir in $PATH
15844 test -z "$as_dir" && as_dir=.
15845 for ac_exec_ext in '' $ac_executable_extensions; do
15846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15847 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15857 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15858 if test -n "$OBJDUMP_FOR_TARGET"; then
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15860 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15863 $as_echo "no
" >&6; }
15868 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
15869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15870 set dummy ${ncn_progname}; ac_word=$2
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15872 $as_echo_n "checking
for $ac_word...
" >&6; }
15873 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15874 $as_echo_n "(cached
) " >&6
15876 if test -n "$OBJDUMP_FOR_TARGET"; then
15877 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15880 for as_dir in $PATH
15883 test -z "$as_dir" && as_dir=.
15884 for ac_exec_ext in '' $ac_executable_extensions; do
15885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15886 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15896 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15897 if test -n "$OBJDUMP_FOR_TARGET"; then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15899 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15902 $as_echo "no
" >&6; }
15907 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
15911 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
15913 if test $build = $target ; then
15914 OBJDUMP_FOR_TARGET="$2"
15916 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
15919 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
15923 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15929 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15930 if test -n "$with_build_time_tools"; then
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
15932 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
15933 if test -x $with_build_time_tools/otool; then
15934 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
15935 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
15937 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15940 $as_echo "no
" >&6; }
15942 elif test $build != $host && test $have_gcc_for_target = yes; then
15943 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
15944 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
15945 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15948 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15949 # Extract the first word of "otool
", so it can be a program name with args.
15950 set dummy otool; ac_word=$2
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15952 $as_echo_n "checking
for $ac_word...
" >&6; }
15953 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
15954 $as_echo_n "(cached
) " >&6
15956 case $OTOOL_FOR_TARGET in
15958 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
15961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15962 for as_dir in $gcc_cv_tool_dirs
15965 test -z "$as_dir" && as_dir=.
15966 for ac_exec_ext in '' $ac_executable_extensions; do
15967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15968 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15979 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
15980 if test -n "$OTOOL_FOR_TARGET"; then
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
15982 $as_echo "$OTOOL_FOR_TARGET" >&6; }
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15985 $as_echo "no
" >&6; }
15990 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
15993 if test -n "$OTOOL_FOR_TARGET"; then
15994 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
15995 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
15996 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
15999 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16000 for ncn_progname in otool; do
16001 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16002 set dummy ${ncn_progname}; ac_word=$2
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16004 $as_echo_n "checking
for $ac_word...
" >&6; }
16005 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16006 $as_echo_n "(cached
) " >&6
16008 if test -n "$OTOOL_FOR_TARGET"; then
16009 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16012 for as_dir in $PATH
16015 test -z "$as_dir" && as_dir=.
16016 for ac_exec_ext in '' $ac_executable_extensions; do
16017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16018 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16028 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16029 if test -n "$OTOOL_FOR_TARGET"; then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16031 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16034 $as_echo "no
" >&6; }
16041 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
16042 for ncn_progname in otool; do
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16044 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16045 if test -x $with_build_time_tools/${ncn_progname}; then
16046 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16048 $as_echo "yes" >&6; }
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16052 $as_echo "no
" >&6; }
16057 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16058 for ncn_progname in otool; do
16059 if test -n "$ncn_target_tool_prefix"; then
16060 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16061 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16063 $as_echo_n "checking
for $ac_word...
" >&6; }
16064 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16065 $as_echo_n "(cached
) " >&6
16067 if test -n "$OTOOL_FOR_TARGET"; then
16068 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16071 for as_dir in $PATH
16074 test -z "$as_dir" && as_dir=.
16075 for ac_exec_ext in '' $ac_executable_extensions; do
16076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16077 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16087 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16088 if test -n "$OTOOL_FOR_TARGET"; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16090 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16093 $as_echo "no
" >&6; }
16098 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
16099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16100 set dummy ${ncn_progname}; ac_word=$2
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16102 $as_echo_n "checking
for $ac_word...
" >&6; }
16103 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16104 $as_echo_n "(cached
) " >&6
16106 if test -n "$OTOOL_FOR_TARGET"; then
16107 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16113 test -z "$as_dir" && as_dir=.
16114 for ac_exec_ext in '' $ac_executable_extensions; do
16115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16116 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16126 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16127 if test -n "$OTOOL_FOR_TARGET"; then
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16129 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16132 $as_echo "no
" >&6; }
16137 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
16141 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
16143 if test $build = $target ; then
16144 OTOOL_FOR_TARGET="$2"
16146 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
16149 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
16153 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
16159 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16160 if test -n "$with_build_time_tools"; then
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
16162 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
16163 if test -x $with_build_time_tools/ranlib; then
16164 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
16165 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
16167 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16170 $as_echo "no
" >&6; }
16172 elif test $build != $host && test $have_gcc_for_target = yes; then
16173 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
16174 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
16175 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16178 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16179 # Extract the first word of "ranlib
", so it can be a program name with args.
16180 set dummy ranlib; ac_word=$2
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16182 $as_echo_n "checking
for $ac_word...
" >&6; }
16183 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
16184 $as_echo_n "(cached
) " >&6
16186 case $RANLIB_FOR_TARGET in
16188 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
16191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16192 for as_dir in $gcc_cv_tool_dirs
16195 test -z "$as_dir" && as_dir=.
16196 for ac_exec_ext in '' $ac_executable_extensions; do
16197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16198 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16209 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16210 if test -n "$RANLIB_FOR_TARGET"; then
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16212 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16215 $as_echo "no
" >&6; }
16220 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16223 if test -n "$RANLIB_FOR_TARGET"; then
16224 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16225 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16226 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16229 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16230 for ncn_progname in ranlib; do
16231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16232 set dummy ${ncn_progname}; ac_word=$2
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16234 $as_echo_n "checking
for $ac_word...
" >&6; }
16235 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16236 $as_echo_n "(cached
) " >&6
16238 if test -n "$RANLIB_FOR_TARGET"; then
16239 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16242 for as_dir in $PATH
16245 test -z "$as_dir" && as_dir=.
16246 for ac_exec_ext in '' $ac_executable_extensions; do
16247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16248 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16258 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16259 if test -n "$RANLIB_FOR_TARGET"; then
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16261 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16264 $as_echo "no
" >&6; }
16271 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
16272 for ncn_progname in ranlib; do
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16274 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16275 if test -x $with_build_time_tools/${ncn_progname}; then
16276 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16278 $as_echo "yes" >&6; }
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16282 $as_echo "no
" >&6; }
16287 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16288 for ncn_progname in ranlib; do
16289 if test -n "$ncn_target_tool_prefix"; then
16290 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16291 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16293 $as_echo_n "checking
for $ac_word...
" >&6; }
16294 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16295 $as_echo_n "(cached
) " >&6
16297 if test -n "$RANLIB_FOR_TARGET"; then
16298 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16301 for as_dir in $PATH
16304 test -z "$as_dir" && as_dir=.
16305 for ac_exec_ext in '' $ac_executable_extensions; do
16306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16307 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16317 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16318 if test -n "$RANLIB_FOR_TARGET"; then
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16320 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16323 $as_echo "no
" >&6; }
16328 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
16329 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16330 set dummy ${ncn_progname}; ac_word=$2
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16332 $as_echo_n "checking
for $ac_word...
" >&6; }
16333 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16334 $as_echo_n "(cached
) " >&6
16336 if test -n "$RANLIB_FOR_TARGET"; then
16337 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16340 for as_dir in $PATH
16343 test -z "$as_dir" && as_dir=.
16344 for ac_exec_ext in '' $ac_executable_extensions; do
16345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16346 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16356 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16357 if test -n "$RANLIB_FOR_TARGET"; then
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16359 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16362 $as_echo "no
" >&6; }
16367 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
16371 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
16373 if test $build = $target ; then
16374 RANLIB_FOR_TARGET="$2"
16376 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
16379 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
16383 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16389 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16390 if test -n "$with_build_time_tools"; then
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
16392 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
16393 if test -x $with_build_time_tools/readelf; then
16394 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
16395 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
16397 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16400 $as_echo "no
" >&6; }
16402 elif test $build != $host && test $have_gcc_for_target = yes; then
16403 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
16404 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
16405 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16408 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16409 # Extract the first word of "readelf
", so it can be a program name with args.
16410 set dummy readelf; ac_word=$2
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16412 $as_echo_n "checking
for $ac_word...
" >&6; }
16413 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
16414 $as_echo_n "(cached
) " >&6
16416 case $READELF_FOR_TARGET in
16418 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
16421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16422 for as_dir in $gcc_cv_tool_dirs
16425 test -z "$as_dir" && as_dir=.
16426 for ac_exec_ext in '' $ac_executable_extensions; do
16427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16428 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16439 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16440 if test -n "$READELF_FOR_TARGET"; then
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16442 $as_echo "$READELF_FOR_TARGET" >&6; }
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16445 $as_echo "no
" >&6; }
16450 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16453 if test -n "$READELF_FOR_TARGET"; then
16454 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
16455 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16456 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16459 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16460 for ncn_progname in readelf; do
16461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16462 set dummy ${ncn_progname}; ac_word=$2
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16464 $as_echo_n "checking
for $ac_word...
" >&6; }
16465 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16466 $as_echo_n "(cached
) " >&6
16468 if test -n "$READELF_FOR_TARGET"; then
16469 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16472 for as_dir in $PATH
16475 test -z "$as_dir" && as_dir=.
16476 for ac_exec_ext in '' $ac_executable_extensions; do
16477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16478 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16488 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16489 if test -n "$READELF_FOR_TARGET"; then
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16491 $as_echo "$READELF_FOR_TARGET" >&6; }
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16494 $as_echo "no
" >&6; }
16501 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
16502 for ncn_progname in readelf; do
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16504 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16505 if test -x $with_build_time_tools/${ncn_progname}; then
16506 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16508 $as_echo "yes" >&6; }
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16512 $as_echo "no
" >&6; }
16517 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
16518 for ncn_progname in readelf; do
16519 if test -n "$ncn_target_tool_prefix"; then
16520 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16521 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16523 $as_echo_n "checking
for $ac_word...
" >&6; }
16524 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16525 $as_echo_n "(cached
) " >&6
16527 if test -n "$READELF_FOR_TARGET"; then
16528 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16531 for as_dir in $PATH
16534 test -z "$as_dir" && as_dir=.
16535 for ac_exec_ext in '' $ac_executable_extensions; do
16536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16537 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16547 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16548 if test -n "$READELF_FOR_TARGET"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16550 $as_echo "$READELF_FOR_TARGET" >&6; }
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16553 $as_echo "no
" >&6; }
16558 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
16559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16560 set dummy ${ncn_progname}; ac_word=$2
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16562 $as_echo_n "checking
for $ac_word...
" >&6; }
16563 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16564 $as_echo_n "(cached
) " >&6
16566 if test -n "$READELF_FOR_TARGET"; then
16567 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16570 for as_dir in $PATH
16573 test -z "$as_dir" && as_dir=.
16574 for ac_exec_ext in '' $ac_executable_extensions; do
16575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16576 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16586 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16587 if test -n "$READELF_FOR_TARGET"; then
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16589 $as_echo "$READELF_FOR_TARGET" >&6; }
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16592 $as_echo "no
" >&6; }
16597 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
16601 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
16603 if test $build = $target ; then
16604 READELF_FOR_TARGET="$2"
16606 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
16609 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
16613 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16619 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16620 if test -n "$with_build_time_tools"; then
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
16622 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
16623 if test -x $with_build_time_tools/strip; then
16624 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
16625 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
16627 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16630 $as_echo "no
" >&6; }
16632 elif test $build != $host && test $have_gcc_for_target = yes; then
16633 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
16634 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
16635 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16638 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16639 # Extract the first word of "strip
", so it can be a program name with args.
16640 set dummy strip; ac_word=$2
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16642 $as_echo_n "checking
for $ac_word...
" >&6; }
16643 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
16644 $as_echo_n "(cached
) " >&6
16646 case $STRIP_FOR_TARGET in
16648 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
16651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16652 for as_dir in $gcc_cv_tool_dirs
16655 test -z "$as_dir" && as_dir=.
16656 for ac_exec_ext in '' $ac_executable_extensions; do
16657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16658 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16669 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16670 if test -n "$STRIP_FOR_TARGET"; then
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16672 $as_echo "$STRIP_FOR_TARGET" >&6; }
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16675 $as_echo "no
" >&6; }
16680 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16683 if test -n "$STRIP_FOR_TARGET"; then
16684 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16685 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16686 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16689 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16690 for ncn_progname in strip; do
16691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16692 set dummy ${ncn_progname}; ac_word=$2
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16694 $as_echo_n "checking
for $ac_word...
" >&6; }
16695 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16696 $as_echo_n "(cached
) " >&6
16698 if test -n "$STRIP_FOR_TARGET"; then
16699 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702 for as_dir in $PATH
16705 test -z "$as_dir" && as_dir=.
16706 for ac_exec_ext in '' $ac_executable_extensions; do
16707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16708 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16718 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16719 if test -n "$STRIP_FOR_TARGET"; then
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16721 $as_echo "$STRIP_FOR_TARGET" >&6; }
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16724 $as_echo "no
" >&6; }
16731 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
16732 for ncn_progname in strip; do
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16734 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16735 if test -x $with_build_time_tools/${ncn_progname}; then
16736 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16738 $as_echo "yes" >&6; }
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16742 $as_echo "no
" >&6; }
16747 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
16748 for ncn_progname in strip; do
16749 if test -n "$ncn_target_tool_prefix"; then
16750 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16751 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16753 $as_echo_n "checking
for $ac_word...
" >&6; }
16754 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16755 $as_echo_n "(cached
) " >&6
16757 if test -n "$STRIP_FOR_TARGET"; then
16758 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16761 for as_dir in $PATH
16764 test -z "$as_dir" && as_dir=.
16765 for ac_exec_ext in '' $ac_executable_extensions; do
16766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16767 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16777 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16778 if test -n "$STRIP_FOR_TARGET"; then
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16780 $as_echo "$STRIP_FOR_TARGET" >&6; }
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16783 $as_echo "no
" >&6; }
16788 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
16789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16790 set dummy ${ncn_progname}; ac_word=$2
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16792 $as_echo_n "checking
for $ac_word...
" >&6; }
16793 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16794 $as_echo_n "(cached
) " >&6
16796 if test -n "$STRIP_FOR_TARGET"; then
16797 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16800 for as_dir in $PATH
16803 test -z "$as_dir" && as_dir=.
16804 for ac_exec_ext in '' $ac_executable_extensions; do
16805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16806 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16816 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16817 if test -n "$STRIP_FOR_TARGET"; then
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16819 $as_echo "$STRIP_FOR_TARGET" >&6; }
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16822 $as_echo "no
" >&6; }
16827 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
16831 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
16833 if test $build = $target ; then
16834 STRIP_FOR_TARGET="$2"
16836 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16839 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
16843 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16849 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16850 if test -n "$with_build_time_tools"; then
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
16852 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
16853 if test -x $with_build_time_tools/windres; then
16854 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
16855 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
16857 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16860 $as_echo "no
" >&6; }
16862 elif test $build != $host && test $have_gcc_for_target = yes; then
16863 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
16864 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
16865 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16868 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16869 # Extract the first word of "windres
", so it can be a program name with args.
16870 set dummy windres; ac_word=$2
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16872 $as_echo_n "checking
for $ac_word...
" >&6; }
16873 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
16874 $as_echo_n "(cached
) " >&6
16876 case $WINDRES_FOR_TARGET in
16878 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
16881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16882 for as_dir in $gcc_cv_tool_dirs
16885 test -z "$as_dir" && as_dir=.
16886 for ac_exec_ext in '' $ac_executable_extensions; do
16887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16888 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16899 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
16900 if test -n "$WINDRES_FOR_TARGET"; then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16902 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16905 $as_echo "no
" >&6; }
16910 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16913 if test -n "$WINDRES_FOR_TARGET"; then
16914 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16915 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16916 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16919 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16920 for ncn_progname in windres; do
16921 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16922 set dummy ${ncn_progname}; ac_word=$2
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16924 $as_echo_n "checking
for $ac_word...
" >&6; }
16925 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16926 $as_echo_n "(cached
) " >&6
16928 if test -n "$WINDRES_FOR_TARGET"; then
16929 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16932 for as_dir in $PATH
16935 test -z "$as_dir" && as_dir=.
16936 for ac_exec_ext in '' $ac_executable_extensions; do
16937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16938 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
16939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16948 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
16949 if test -n "$WINDRES_FOR_TARGET"; then
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
16951 $as_echo "$WINDRES_FOR_TARGET" >&6; }
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16954 $as_echo "no
" >&6; }
16961 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
16962 for ncn_progname in windres; do
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16964 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16965 if test -x $with_build_time_tools/${ncn_progname}; then
16966 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16968 $as_echo "yes" >&6; }
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16972 $as_echo "no
" >&6; }
16977 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
16978 for ncn_progname in windres; do
16979 if test -n "$ncn_target_tool_prefix"; then
16980 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16981 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16983 $as_echo_n "checking
for $ac_word...
" >&6; }
16984 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
16985 $as_echo_n "(cached
) " >&6
16987 if test -n "$WINDRES_FOR_TARGET"; then
16988 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
16990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16991 for as_dir in $PATH
16994 test -z "$as_dir" && as_dir=.
16995 for ac_exec_ext in '' $ac_executable_extensions; do
16996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16997 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17007 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17008 if test -n "$WINDRES_FOR_TARGET"; then
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17010 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17013 $as_echo "no
" >&6; }
17018 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
17019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17020 set dummy ${ncn_progname}; ac_word=$2
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17022 $as_echo_n "checking
for $ac_word...
" >&6; }
17023 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17024 $as_echo_n "(cached
) " >&6
17026 if test -n "$WINDRES_FOR_TARGET"; then
17027 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17030 for as_dir in $PATH
17033 test -z "$as_dir" && as_dir=.
17034 for ac_exec_ext in '' $ac_executable_extensions; do
17035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17036 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
17037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17046 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17047 if test -n "$WINDRES_FOR_TARGET"; then
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17049 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17052 $as_echo "no
" >&6; }
17057 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
17061 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
17063 if test $build = $target ; then
17064 WINDRES_FOR_TARGET="$2"
17066 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
17069 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
17073 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
17079 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17080 if test -n "$with_build_time_tools"; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
17082 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
17083 if test -x $with_build_time_tools/windmc; then
17084 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
17085 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
17087 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17090 $as_echo "no
" >&6; }
17092 elif test $build != $host && test $have_gcc_for_target = yes; then
17093 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
17094 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
17095 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17098 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
17099 # Extract the first word of "windmc
", so it can be a program name with args.
17100 set dummy windmc; ac_word=$2
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17102 $as_echo_n "checking
for $ac_word...
" >&6; }
17103 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
17104 $as_echo_n "(cached
) " >&6
17106 case $WINDMC_FOR_TARGET in
17108 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
17111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17112 for as_dir in $gcc_cv_tool_dirs
17115 test -z "$as_dir" && as_dir=.
17116 for ac_exec_ext in '' $ac_executable_extensions; do
17117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17118 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17129 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17130 if test -n "$WINDMC_FOR_TARGET"; then
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17132 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17135 $as_echo "no
" >&6; }
17140 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17143 if test -n "$WINDMC_FOR_TARGET"; then
17144 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17145 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17146 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17149 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17150 for ncn_progname in windmc; do
17151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17152 set dummy ${ncn_progname}; ac_word=$2
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17154 $as_echo_n "checking
for $ac_word...
" >&6; }
17155 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17156 $as_echo_n "(cached
) " >&6
17158 if test -n "$WINDMC_FOR_TARGET"; then
17159 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17162 for as_dir in $PATH
17165 test -z "$as_dir" && as_dir=.
17166 for ac_exec_ext in '' $ac_executable_extensions; do
17167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17168 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17178 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17179 if test -n "$WINDMC_FOR_TARGET"; then
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17181 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17184 $as_echo "no
" >&6; }
17191 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
17192 for ncn_progname in windmc; do
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17194 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17195 if test -x $with_build_time_tools/${ncn_progname}; then
17196 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17198 $as_echo "yes" >&6; }
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17202 $as_echo "no
" >&6; }
17207 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17208 for ncn_progname in windmc; do
17209 if test -n "$ncn_target_tool_prefix"; then
17210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17213 $as_echo_n "checking
for $ac_word...
" >&6; }
17214 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17215 $as_echo_n "(cached
) " >&6
17217 if test -n "$WINDMC_FOR_TARGET"; then
17218 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17221 for as_dir in $PATH
17224 test -z "$as_dir" && as_dir=.
17225 for ac_exec_ext in '' $ac_executable_extensions; do
17226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17227 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17237 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17238 if test -n "$WINDMC_FOR_TARGET"; then
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17240 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17243 $as_echo "no
" >&6; }
17248 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
17249 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17250 set dummy ${ncn_progname}; ac_word=$2
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17252 $as_echo_n "checking
for $ac_word...
" >&6; }
17253 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17254 $as_echo_n "(cached
) " >&6
17256 if test -n "$WINDMC_FOR_TARGET"; then
17257 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17260 for as_dir in $PATH
17263 test -z "$as_dir" && as_dir=.
17264 for ac_exec_ext in '' $ac_executable_extensions; do
17265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17266 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17276 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17277 if test -n "$WINDMC_FOR_TARGET"; then
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17279 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17282 $as_echo "no
" >&6; }
17287 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
17291 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
17293 if test $build = $target ; then
17294 WINDMC_FOR_TARGET="$2"
17296 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
17299 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
17303 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17307 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
17310 $as_echo_n "checking where to
find the target
ar...
" >&6; }
17311 if test "x
${build}" != "x
${host}" ; then
17312 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17313 # We already found the complete path
17314 ac_dir=`dirname $AR_FOR_TARGET`
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17316 $as_echo "pre-installed
in $ac_dir" >&6; }
17318 # Canadian cross, just use what we found
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17320 $as_echo "pre-installed
" >&6; }
17324 case " ${configdirs} " in
17329 if test $ok = yes; then
17330 # An in-tree tool is available and we can use it
17331 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17333 $as_echo "just compiled
" >&6; }
17334 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17335 # We already found the complete path
17336 ac_dir=`dirname $AR_FOR_TARGET`
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17338 $as_echo "pre-installed
in $ac_dir" >&6; }
17339 elif test "x
$target" = "x
$host"; then
17340 # We can use an host tool
17341 AR_FOR_TARGET='$(AR)'
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17343 $as_echo "host tool
" >&6; }
17345 # We need a cross tool
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17347 $as_echo "pre-installed
" >&6; }
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
17352 $as_echo_n "checking where to
find the target as...
" >&6; }
17353 if test "x
${build}" != "x
${host}" ; then
17354 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17355 # We already found the complete path
17356 ac_dir=`dirname $AS_FOR_TARGET`
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17358 $as_echo "pre-installed
in $ac_dir" >&6; }
17360 # Canadian cross, just use what we found
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17362 $as_echo "pre-installed
" >&6; }
17366 case " ${configdirs} " in
17371 if test $ok = yes; then
17372 # An in-tree tool is available and we can use it
17373 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17375 $as_echo "just compiled
" >&6; }
17376 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17377 # We already found the complete path
17378 ac_dir=`dirname $AS_FOR_TARGET`
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17380 $as_echo "pre-installed
in $ac_dir" >&6; }
17381 elif test "x
$target" = "x
$host"; then
17382 # We can use an host tool
17383 AS_FOR_TARGET='$(AS)'
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17385 $as_echo "host tool
" >&6; }
17387 # We need a cross tool
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17389 $as_echo "pre-installed
" >&6; }
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
17394 $as_echo_n "checking where to
find the target cc...
" >&6; }
17395 if test "x
${build}" != "x
${host}" ; then
17396 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17397 # We already found the complete path
17398 ac_dir=`dirname $CC_FOR_TARGET`
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17400 $as_echo "pre-installed
in $ac_dir" >&6; }
17402 # Canadian cross, just use what we found
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17404 $as_echo "pre-installed
" >&6; }
17408 case " ${configdirs} " in
17413 if test $ok = yes; then
17414 # An in-tree tool is available and we can use it
17415 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17417 $as_echo "just compiled
" >&6; }
17418 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17419 # We already found the complete path
17420 ac_dir=`dirname $CC_FOR_TARGET`
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17422 $as_echo "pre-installed
in $ac_dir" >&6; }
17423 elif test "x
$target" = "x
$host"; then
17424 # We can use an host tool
17425 CC_FOR_TARGET='$(CC)'
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17427 $as_echo "host tool
" >&6; }
17429 # We need a cross tool
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17431 $as_echo "pre-installed
" >&6; }
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
17436 $as_echo_n "checking where to
find the target c
++...
" >&6; }
17437 if test "x
${build}" != "x
${host}" ; then
17438 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17439 # We already found the complete path
17440 ac_dir=`dirname $CXX_FOR_TARGET`
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17442 $as_echo "pre-installed
in $ac_dir" >&6; }
17444 # Canadian cross, just use what we found
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17446 $as_echo "pre-installed
" >&6; }
17450 case " ${configdirs} " in
17454 case ,${enable_languages}, in
17458 if test $ok = yes; then
17459 # An in-tree tool is available and we can use it
17460 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'
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17462 $as_echo "just compiled
" >&6; }
17463 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17464 # We already found the complete path
17465 ac_dir=`dirname $CXX_FOR_TARGET`
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17467 $as_echo "pre-installed
in $ac_dir" >&6; }
17468 elif test "x
$target" = "x
$host"; then
17469 # We can use an host tool
17470 CXX_FOR_TARGET='$(CXX)'
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17472 $as_echo "host tool
" >&6; }
17474 # We need a cross tool
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17476 $as_echo "pre-installed
" >&6; }
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
17481 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
17482 if test "x
${build}" != "x
${host}" ; then
17483 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17484 # We already found the complete path
17485 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17487 $as_echo "pre-installed
in $ac_dir" >&6; }
17489 # Canadian cross, just use what we found
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17491 $as_echo "pre-installed
" >&6; }
17495 case " ${configdirs} " in
17499 case ,${enable_languages}, in
17503 if test $ok = yes; then
17504 # An in-tree tool is available and we can use it
17505 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'
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17507 $as_echo "just compiled
" >&6; }
17508 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17509 # We already found the complete path
17510 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17512 $as_echo "pre-installed
in $ac_dir" >&6; }
17513 elif test "x
$target" = "x
$host"; then
17514 # We can use an host tool
17515 RAW_CXX_FOR_TARGET='$(CXX)'
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17517 $as_echo "host tool
" >&6; }
17519 # We need a cross tool
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17521 $as_echo "pre-installed
" >&6; }
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
17526 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
17527 if test "x
${build}" != "x
${host}" ; then
17528 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17529 # We already found the complete path
17530 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17532 $as_echo "pre-installed
in $ac_dir" >&6; }
17534 # Canadian cross, just use what we found
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17536 $as_echo "pre-installed
" >&6; }
17540 case " ${configdirs} " in
17545 if test $ok = yes; then
17546 # An in-tree tool is available and we can use it
17547 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17549 $as_echo "just compiled
" >&6; }
17550 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17551 # We already found the complete path
17552 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17554 $as_echo "pre-installed
in $ac_dir" >&6; }
17555 elif test "x
$target" = "x
$host"; then
17556 # We can use an host tool
17557 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17559 $as_echo "host tool
" >&6; }
17561 # We need a cross tool
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17563 $as_echo "pre-installed
" >&6; }
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dsymutil
" >&5
17568 $as_echo_n "checking where to
find the target dsymutil...
" >&6; }
17569 if test "x
${build}" != "x
${host}" ; then
17570 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17571 # We already found the complete path
17572 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17574 $as_echo "pre-installed
in $ac_dir" >&6; }
17576 # Canadian cross, just use what we found
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17578 $as_echo "pre-installed
" >&6; }
17581 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17582 # We already found the complete path
17583 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17585 $as_echo "pre-installed
in $ac_dir" >&6; }
17586 elif test "x
$target" = "x
$host"; then
17587 # We can use an host tool
17588 DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17590 $as_echo "host tool
" >&6; }
17592 # We need a cross tool
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17594 $as_echo "pre-installed
" >&6; }
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
17599 $as_echo_n "checking where to
find the target gcc...
" >&6; }
17600 if test "x
${build}" != "x
${host}" ; then
17601 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17602 # We already found the complete path
17603 ac_dir=`dirname $GCC_FOR_TARGET`
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17605 $as_echo "pre-installed
in $ac_dir" >&6; }
17607 # Canadian cross, just use what we found
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17609 $as_echo "pre-installed
" >&6; }
17613 case " ${configdirs} " in
17618 if test $ok = yes; then
17619 # An in-tree tool is available and we can use it
17620 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17622 $as_echo "just compiled
" >&6; }
17623 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17624 # We already found the complete path
17625 ac_dir=`dirname $GCC_FOR_TARGET`
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17627 $as_echo "pre-installed
in $ac_dir" >&6; }
17628 elif test "x
$target" = "x
$host"; then
17629 # We can use an host tool
17630 GCC_FOR_TARGET='$()'
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17632 $as_echo "host tool
" >&6; }
17634 # We need a cross tool
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17636 $as_echo "pre-installed
" >&6; }
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
17641 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
17642 if test "x
${build}" != "x
${host}" ; then
17643 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17644 # We already found the complete path
17645 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17647 $as_echo "pre-installed
in $ac_dir" >&6; }
17649 # Canadian cross, just use what we found
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17651 $as_echo "pre-installed
" >&6; }
17655 case " ${configdirs} " in
17659 case ,${enable_languages}, in
17663 if test $ok = yes; then
17664 # An in-tree tool is available and we can use it
17665 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17667 $as_echo "just compiled
" >&6; }
17668 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17669 # We already found the complete path
17670 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17672 $as_echo "pre-installed
in $ac_dir" >&6; }
17673 elif test "x
$target" = "x
$host"; then
17674 # We can use an host tool
17675 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17677 $as_echo "host tool
" >&6; }
17679 # We need a cross tool
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17681 $as_echo "pre-installed
" >&6; }
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
17686 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
17687 if test "x
${build}" != "x
${host}" ; then
17688 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17689 # We already found the complete path
17690 ac_dir=`dirname $GOC_FOR_TARGET`
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17692 $as_echo "pre-installed
in $ac_dir" >&6; }
17694 # Canadian cross, just use what we found
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17696 $as_echo "pre-installed
" >&6; }
17700 case " ${configdirs} " in
17704 case ,${enable_languages}, in
17708 if test $ok = yes; then
17709 # An in-tree tool is available and we can use it
17710 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17712 $as_echo "just compiled
" >&6; }
17713 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17714 # We already found the complete path
17715 ac_dir=`dirname $GOC_FOR_TARGET`
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17717 $as_echo "pre-installed
in $ac_dir" >&6; }
17718 elif test "x
$target" = "x
$host"; then
17719 # We can use an host tool
17720 GOC_FOR_TARGET='$(GOC)'
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17722 $as_echo "host tool
" >&6; }
17724 # We need a cross tool
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17726 $as_echo "pre-installed
" >&6; }
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
17731 $as_echo_n "checking where to
find the target gdc...
" >&6; }
17732 if test "x
${build}" != "x
${host}" ; then
17733 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17734 # We already found the complete path
17735 ac_dir=`dirname $GDC_FOR_TARGET`
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17737 $as_echo "pre-installed
in $ac_dir" >&6; }
17739 # Canadian cross, just use what we found
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17741 $as_echo "pre-installed
" >&6; }
17745 case " ${configdirs} " in
17749 case ,${enable_languages}, in
17753 if test $ok = yes; then
17754 # An in-tree tool is available and we can use it
17755 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17757 $as_echo "just compiled
" >&6; }
17758 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17759 # We already found the complete path
17760 ac_dir=`dirname $GDC_FOR_TARGET`
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17762 $as_echo "pre-installed
in $ac_dir" >&6; }
17763 elif test "x
$target" = "x
$host"; then
17764 # We can use an host tool
17765 GDC_FOR_TARGET='$(GDC)'
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17767 $as_echo "host tool
" >&6; }
17769 # We need a cross tool
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17771 $as_echo "pre-installed
" >&6; }
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
17776 $as_echo_n "checking where to
find the target ld...
" >&6; }
17777 if test "x
${build}" != "x
${host}" ; then
17778 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17779 # We already found the complete path
17780 ac_dir=`dirname $LD_FOR_TARGET`
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17782 $as_echo "pre-installed
in $ac_dir" >&6; }
17784 # Canadian cross, just use what we found
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17786 $as_echo "pre-installed
" >&6; }
17790 case " ${configdirs} " in
17795 if test $ok = yes; then
17796 # An in-tree tool is available and we can use it
17797 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17799 $as_echo "just compiled
" >&6; }
17800 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17801 # We already found the complete path
17802 ac_dir=`dirname $LD_FOR_TARGET`
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17804 $as_echo "pre-installed
in $ac_dir" >&6; }
17805 elif test "x
$target" = "x
$host"; then
17806 # We can use an host tool
17807 LD_FOR_TARGET='$(LD)'
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17809 $as_echo "host tool
" >&6; }
17811 # We need a cross tool
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17813 $as_echo "pre-installed
" >&6; }
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
17818 $as_echo_n "checking where to
find the target lipo...
" >&6; }
17819 if test "x
${build}" != "x
${host}" ; then
17820 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17821 # We already found the complete path
17822 ac_dir=`dirname $LIPO_FOR_TARGET`
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17824 $as_echo "pre-installed
in $ac_dir" >&6; }
17826 # Canadian cross, just use what we found
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17828 $as_echo "pre-installed
" >&6; }
17831 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17832 # We already found the complete path
17833 ac_dir=`dirname $LIPO_FOR_TARGET`
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17835 $as_echo "pre-installed
in $ac_dir" >&6; }
17836 elif test "x
$target" = "x
$host"; then
17837 # We can use an host tool
17838 LIPO_FOR_TARGET='$(LIPO)'
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17840 $as_echo "host tool
" >&6; }
17842 # We need a cross tool
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17844 $as_echo "pre-installed
" >&6; }
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
17849 $as_echo_n "checking where to
find the target nm...
" >&6; }
17850 if test "x
${build}" != "x
${host}" ; then
17851 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17852 # We already found the complete path
17853 ac_dir=`dirname $NM_FOR_TARGET`
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17855 $as_echo "pre-installed
in $ac_dir" >&6; }
17857 # Canadian cross, just use what we found
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17859 $as_echo "pre-installed
" >&6; }
17863 case " ${configdirs} " in
17868 if test $ok = yes; then
17869 # An in-tree tool is available and we can use it
17870 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17872 $as_echo "just compiled
" >&6; }
17873 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
17874 # We already found the complete path
17875 ac_dir=`dirname $NM_FOR_TARGET`
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17877 $as_echo "pre-installed
in $ac_dir" >&6; }
17878 elif test "x
$target" = "x
$host"; then
17879 # We can use an host tool
17880 NM_FOR_TARGET='$(NM)'
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17882 $as_echo "host tool
" >&6; }
17884 # We need a cross tool
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17886 $as_echo "pre-installed
" >&6; }
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
17891 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
17892 if test "x
${build}" != "x
${host}" ; then
17893 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17894 # We already found the complete path
17895 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17897 $as_echo "pre-installed
in $ac_dir" >&6; }
17899 # Canadian cross, just use what we found
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17901 $as_echo "pre-installed
" >&6; }
17905 case " ${configdirs} " in
17910 if test $ok = yes; then
17911 # An in-tree tool is available and we can use it
17912 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17914 $as_echo "just compiled
" >&6; }
17915 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
17916 # We already found the complete path
17917 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17919 $as_echo "pre-installed
in $ac_dir" >&6; }
17920 elif test "x
$target" = "x
$host"; then
17921 # We can use an host tool
17922 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17924 $as_echo "host tool
" >&6; }
17926 # We need a cross tool
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17928 $as_echo "pre-installed
" >&6; }
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
17933 $as_echo_n "checking where to
find the target objdump...
" >&6; }
17934 if test "x
${build}" != "x
${host}" ; then
17935 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17936 # We already found the complete path
17937 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17939 $as_echo "pre-installed
in $ac_dir" >&6; }
17941 # Canadian cross, just use what we found
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17943 $as_echo "pre-installed
" >&6; }
17947 case " ${configdirs} " in
17952 if test $ok = yes; then
17953 # An in-tree tool is available and we can use it
17954 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17956 $as_echo "just compiled
" >&6; }
17957 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
17958 # We already found the complete path
17959 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17961 $as_echo "pre-installed
in $ac_dir" >&6; }
17962 elif test "x
$target" = "x
$host"; then
17963 # We can use an host tool
17964 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17966 $as_echo "host tool
" >&6; }
17968 # We need a cross tool
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17970 $as_echo "pre-installed
" >&6; }
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
17975 $as_echo_n "checking where to
find the target otool...
" >&6; }
17976 if test "x
${build}" != "x
${host}" ; then
17977 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17978 # We already found the complete path
17979 ac_dir=`dirname $OTOOL_FOR_TARGET`
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17981 $as_echo "pre-installed
in $ac_dir" >&6; }
17983 # Canadian cross, just use what we found
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17985 $as_echo "pre-installed
" >&6; }
17988 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17989 # We already found the complete path
17990 ac_dir=`dirname $OTOOL_FOR_TARGET`
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17992 $as_echo "pre-installed
in $ac_dir" >&6; }
17993 elif test "x
$target" = "x
$host"; then
17994 # We can use an host tool
17995 OTOOL_FOR_TARGET='$(OTOOL)'
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17997 $as_echo "host tool
" >&6; }
17999 # We need a cross tool
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18001 $as_echo "pre-installed
" >&6; }
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
18006 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
18007 if test "x
${build}" != "x
${host}" ; then
18008 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18009 # We already found the complete path
18010 ac_dir=`dirname $RANLIB_FOR_TARGET`
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18012 $as_echo "pre-installed
in $ac_dir" >&6; }
18014 # Canadian cross, just use what we found
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18016 $as_echo "pre-installed
" >&6; }
18020 case " ${configdirs} " in
18025 if test $ok = yes; then
18026 # An in-tree tool is available and we can use it
18027 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18029 $as_echo "just compiled
" >&6; }
18030 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18031 # We already found the complete path
18032 ac_dir=`dirname $RANLIB_FOR_TARGET`
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18034 $as_echo "pre-installed
in $ac_dir" >&6; }
18035 elif test "x
$target" = "x
$host"; then
18036 # We can use an host tool
18037 RANLIB_FOR_TARGET='$(RANLIB)'
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18039 $as_echo "host tool
" >&6; }
18041 # We need a cross tool
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18043 $as_echo "pre-installed
" >&6; }
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
18048 $as_echo_n "checking where to
find the target readelf...
" >&6; }
18049 if test "x
${build}" != "x
${host}" ; then
18050 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18051 # We already found the complete path
18052 ac_dir=`dirname $READELF_FOR_TARGET`
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18054 $as_echo "pre-installed
in $ac_dir" >&6; }
18056 # Canadian cross, just use what we found
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18058 $as_echo "pre-installed
" >&6; }
18062 case " ${configdirs} " in
18067 if test $ok = yes; then
18068 # An in-tree tool is available and we can use it
18069 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18071 $as_echo "just compiled
" >&6; }
18072 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18073 # We already found the complete path
18074 ac_dir=`dirname $READELF_FOR_TARGET`
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18076 $as_echo "pre-installed
in $ac_dir" >&6; }
18077 elif test "x
$target" = "x
$host"; then
18078 # We can use an host tool
18079 READELF_FOR_TARGET='$(READELF)'
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18081 $as_echo "host tool
" >&6; }
18083 # We need a cross tool
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18085 $as_echo "pre-installed
" >&6; }
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
18090 $as_echo_n "checking where to
find the target strip...
" >&6; }
18091 if test "x
${build}" != "x
${host}" ; then
18092 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18093 # We already found the complete path
18094 ac_dir=`dirname $STRIP_FOR_TARGET`
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18096 $as_echo "pre-installed
in $ac_dir" >&6; }
18098 # Canadian cross, just use what we found
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18100 $as_echo "pre-installed
" >&6; }
18104 case " ${configdirs} " in
18109 if test $ok = yes; then
18110 # An in-tree tool is available and we can use it
18111 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18113 $as_echo "just compiled
" >&6; }
18114 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18115 # We already found the complete path
18116 ac_dir=`dirname $STRIP_FOR_TARGET`
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18118 $as_echo "pre-installed
in $ac_dir" >&6; }
18119 elif test "x
$target" = "x
$host"; then
18120 # We can use an host tool
18121 STRIP_FOR_TARGET='$(STRIP)'
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18123 $as_echo "host tool
" >&6; }
18125 # We need a cross tool
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18127 $as_echo "pre-installed
" >&6; }
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
18132 $as_echo_n "checking where to
find the target windres...
" >&6; }
18133 if test "x
${build}" != "x
${host}" ; then
18134 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18135 # We already found the complete path
18136 ac_dir=`dirname $WINDRES_FOR_TARGET`
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18138 $as_echo "pre-installed
in $ac_dir" >&6; }
18140 # Canadian cross, just use what we found
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18142 $as_echo "pre-installed
" >&6; }
18146 case " ${configdirs} " in
18151 if test $ok = yes; then
18152 # An in-tree tool is available and we can use it
18153 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18155 $as_echo "just compiled
" >&6; }
18156 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18157 # We already found the complete path
18158 ac_dir=`dirname $WINDRES_FOR_TARGET`
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18160 $as_echo "pre-installed
in $ac_dir" >&6; }
18161 elif test "x
$target" = "x
$host"; then
18162 # We can use an host tool
18163 WINDRES_FOR_TARGET='$(WINDRES)'
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18165 $as_echo "host tool
" >&6; }
18167 # We need a cross tool
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18169 $as_echo "pre-installed
" >&6; }
18173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
18174 $as_echo_n "checking where to
find the target windmc...
" >&6; }
18175 if test "x
${build}" != "x
${host}" ; then
18176 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18177 # We already found the complete path
18178 ac_dir=`dirname $WINDMC_FOR_TARGET`
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18180 $as_echo "pre-installed
in $ac_dir" >&6; }
18182 # Canadian cross, just use what we found
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18184 $as_echo "pre-installed
" >&6; }
18188 case " ${configdirs} " in
18193 if test $ok = yes; then
18194 # An in-tree tool is available and we can use it
18195 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18197 $as_echo "just compiled
" >&6; }
18198 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18199 # We already found the complete path
18200 ac_dir=`dirname $WINDMC_FOR_TARGET`
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18202 $as_echo "pre-installed
in $ac_dir" >&6; }
18203 elif test "x
$target" = "x
$host"; then
18204 # We can use an host tool
18205 WINDMC_FOR_TARGET='$(WINDMC)'
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18207 $as_echo "host tool
" >&6; }
18209 # We need a cross tool
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18211 $as_echo "pre-installed
" >&6; }
18219 # Certain tools may need extra flags.
18220 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
18221 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
18222 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
18224 # When building target libraries, except in a Canadian cross, we use
18225 # the same toolchain as the compiler we just built.
18226 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
18227 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
18228 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
18229 if test $host = $build; then
18230 case " $configdirs " in
18232 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
18233 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
18234 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
18244 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
18245 # Check whether --enable-maintainer-mode was given.
18246 if test "${enable_maintainer_mode+set}" = set; then :
18247 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18249 USE_MAINTAINER_MODE=no
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
18253 $as_echo "$USE_MAINTAINER_MODE" >&6; }
18256 if test "$USE_MAINTAINER_MODE" = yes; then
18257 MAINTAINER_MODE_TRUE=
18258 MAINTAINER_MODE_FALSE='#'
18260 MAINTAINER_MODE_TRUE='#'
18261 MAINTAINER_MODE_FALSE=
18263 MAINT=$MAINTAINER_MODE_TRUE
18265 # ---------------------
18266 # GCC bootstrap support
18267 # ---------------------
18269 # Stage specific cflags for build.
18274 yes) stage1_cflags="-g -Wa,-J" ;;
18275 *) stage1_cflags="-g -J" ;;
18281 # Enable --enable-checking in stage1 of the compiler.
18282 # Check whether --enable-stage1-checking was given.
18283 if test "${enable_stage1_checking+set}" = set; then :
18284 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
18286 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
18287 # For --disable-checking or implicit --enable-checking=release, avoid
18288 # setting --enable-checking=gc in the default stage1 checking for LTO
18289 # bootstraps. See PR62077.
18290 case $BUILD_CONFIG in
18292 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
18294 stage1_checking=--enable-checking=yes,types;;
18296 if test "x
$enable_checking" = x && \
18297 test -d ${srcdir}/gcc && \
18298 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
18299 stage1_checking=--enable-checking=yes,types,extra
18302 stage1_checking=--enable-checking=$enable_checking,types
18308 # Enable -Werror in bootstrap stage2 and later.
18309 # Check whether --enable-werror was given.
18310 if test "${enable_werror+set}" = set; then :
18311 enableval=$enable_werror;
18312 case ${enable_werror} in
18313 yes) stage2_werror_flag="--enable-werror-always" ;;
18314 *) stage2_werror_flag="" ;;
18319 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
18320 case $BUILD_CONFIG in
18322 stage2_werror_flag="--enable-werror-always" ;;
18324 stage2_werror_flag="--enable-werror-always" ;;
18333 # Specify what files to not compare during bootstrap.
18335 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
18337 hppa*64*-*-hpux*) ;;
18338 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
18339 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
18343 ac_config_files="$ac_config_files Makefile
"
18345 cat >confcache <<\_ACEOF
18346 # This file is a shell script that caches the results of configure
18347 # tests run on this system so they can be shared between configure
18348 # scripts and configure runs, see configure's option --config-cache.
18349 # It is not useful on other systems. If it contains results you don't
18350 # want to keep, you may remove or edit it.
18352 # config.status only pays attention to the cache file if you give it
18353 # the --recheck option to rerun configure.
18355 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18356 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18357 # following values.
18361 # The following way of writing the cache mishandles newlines in values,
18362 # but we know of no workaround that is simple, portable, and efficient.
18363 # So, we kill variables containing newlines.
18364 # Ultrix sh set writes to stderr and can't be redirected directly,
18365 # and sets the high bit in the cache file unless we assign to the vars.
18367 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18368 eval ac_val=\$$ac_var
18372 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
18373 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
18376 _ | IFS | as_nl) ;; #(
18377 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18378 *) { eval $ac_var=; unset $ac_var;} ;;
18384 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18385 *${as_nl}ac_space=\ *)
18386 # `set' does not quote correctly, so add quotes: double-quote
18387 # substitution turns \\\\ into \\, and sed turns \\ into \.
18390 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
18393 # `set' quotes correctly as required by POSIX, so do not add quotes.
18394 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
18403 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18405 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18407 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18408 if test -w "$cache_file"; then
18409 if test "x
$cache_file" != "x
/dev
/null
"; then
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
18411 $as_echo "$as_me: updating cache
$cache_file" >&6;}
18412 if test ! -f "$cache_file" || test -h "$cache_file"; then
18413 cat confcache >"$cache_file"
18415 case $cache_file in #(
18417 mv -f confcache "$cache_file"$$ &&
18418 mv -f "$cache_file"$$ "$cache_file" ;; #(
18420 mv -f confcache "$cache_file" ;;
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
18426 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
18431 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
18432 # Let make expand exec_prefix.
18433 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
18435 # Transform confdefs.h into DEFS.
18436 # Protect against shell expansion while executing Makefile rules.
18437 # Protect against Makefile macro expansion.
18439 # If the first sed substitution is executed (which looks for macros that
18440 # take arguments), then branch to the quote section. Otherwise,
18441 # look for a macro that doesn't take arguments.
18451 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18453 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18457 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
18470 DEFS=`sed -n "$ac_script" confdefs.h`
18476 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18477 # 1. Remove the extension, and $U if already installed.
18478 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
18479 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18480 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18481 # will be set to the directory where LIBOBJS objects are built.
18482 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18483 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
18485 LIBOBJS=$ac_libobjs
18487 LTLIBOBJS=$ac_ltlibobjs
18491 : "${CONFIG_STATUS=./config.status}"
18493 ac_clean_files_save=$ac_clean_files
18494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18496 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18498 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18500 # Generated by $as_me.
18501 # Run this file to recreate the current configuration.
18502 # Compiler output produced by configure, useful for debugging
18503 # configure, is in config.log if it exists.
18506 ac_cs_recheck=false
18509 SHELL=\${CONFIG_SHELL-$SHELL}
18512 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18513 ## -------------------- ##
18514 ## M4sh Initialization. ##
18515 ## -------------------- ##
18517 # Be more Bourne compatible
18518 DUALCASE=1; export DUALCASE # for MKS sh
18519 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18523 # is contrary to our usage. Disable this feature.
18524 alias -g '${1+"$@"}'='"$@"'
18525 setopt NO_GLOB_SUBST
18527 case `(set -o) 2>/dev/null` in #(
18539 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18540 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18541 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
18542 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18543 # Prefer a ksh shell builtin over an external printf program on Solaris,
18544 # but without wasting forks for bash or zsh.
18545 if test -z "$BASH_VERSION$ZSH_VERSION" \
18546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18547 as_echo
='print -r --'
18548 as_echo_n
='print -rn --'
18549 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18550 as_echo
='printf %s\n'
18551 as_echo_n
='printf %s'
18553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18554 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
18555 as_echo_n
='/usr/ucb/echo -n'
18557 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
18558 as_echo_n_body
='eval
18562 expr "X$arg" : "X\\(.*\\)$as_nl";
18563 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18565 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18567 export as_echo_n_body
18568 as_echo_n
='sh -c $as_echo_n_body as_echo'
18570 export as_echo_body
18571 as_echo
='sh -c $as_echo_body as_echo'
18574 # The user is always right.
18575 if test "${PATH_SEPARATOR+set}" != set; then
18577 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
18578 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
18585 # We need space, tab and new line, in precisely that order. Quoting is
18586 # there to prevent editors from complaining about space-tab.
18587 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18588 # splitting by setting IFS to empty value.)
18591 # Find who we are. Look in the path if we contain no directory separator.
18594 *[\\/]* ) as_myself
=$0 ;;
18595 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18596 for as_dir
in $PATH
18599 test -z "$as_dir" && as_dir
=.
18600 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18606 # We did not find ourselves, most probably we were run as `sh COMMAND'
18607 # in which case we are not to be found in the path.
18608 if test "x$as_myself" = x
; then
18611 if test ! -f "$as_myself"; then
18612 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18616 # Unset variables that we do not need and which cause bugs (e.g. in
18617 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18618 # suppresses any "Segmentation fault" message there. '((' could
18619 # trigger a bug in pdksh 5.2.14.
18620 for as_var
in BASH_ENV ENV MAIL MAILPATH
18621 do eval test x\
${$as_var+set} = xset \
18622 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18635 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18638 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18639 # ----------------------------------------
18640 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18641 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18642 # script with STATUS, using 1 if that was 0.
18645 as_status
=$1; test $as_status -eq 0 && as_status
=1
18647 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18650 $as_echo "$as_me: error: $2" >&2
18651 as_fn_exit
$as_status
18655 # as_fn_set_status STATUS
18656 # -----------------------
18657 # Set $? to STATUS, without forking.
18658 as_fn_set_status
()
18661 } # as_fn_set_status
18663 # as_fn_exit STATUS
18664 # -----------------
18665 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18669 as_fn_set_status
$1
18675 # Portably unset VAR.
18678 { eval $1=; unset $1;}
18680 as_unset
=as_fn_unset
18681 # as_fn_append VAR VALUE
18682 # ----------------------
18683 # Append the text in VALUE to the end of the definition contained in VAR. Take
18684 # advantage of any shell optimizations that allow amortized linear growth over
18685 # repeated appends, instead of the typical quadratic growth present in naive
18687 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18688 eval 'as_fn_append ()
18699 # as_fn_arith ARG...
18700 # ------------------
18701 # Perform arithmetic evaluation on the ARGs, and store the result in the
18702 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18703 # must be portable across $(()) and expr.
18704 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18705 eval 'as_fn_arith ()
18712 as_val
=`expr "$@" || test $? -eq 1`
18717 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18718 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18724 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18725 as_basename
=basename
18730 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18736 as_me
=`$as_basename -- "$0" ||
18737 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18738 X"$0" : 'X\(//\)$' \| \
18739 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18741 sed '/^.*\/\([^/][^/]*\)\/*$/{
18755 # Avoid depending upon Character Ranges.
18756 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18757 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18758 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18759 as_cr_digits
='0123456789'
18760 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18762 ECHO_C
= ECHO_N
= ECHO_T
=
18763 case `echo -n x` in #(((((
18765 case `echo 'xy\c'` in
18766 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18768 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18775 rm -f conf$$ conf$$.exe conf$$.
file
18776 if test -d conf$$.dir
; then
18777 rm -f conf$$.dir
/conf$$.
file
18780 mkdir conf$$.dir
2>/dev
/null
18782 if (echo >conf$$.
file) 2>/dev
/null
; then
18783 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18785 # ... but there are two gotchas:
18786 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18787 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18788 # In both cases, we have to default to `cp -pR'.
18789 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18791 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18799 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18800 rmdir conf$$.dir
2>/dev
/null
18805 # Create "$as_dir" as a directory, including parents if necessary.
18810 -*) as_dir
=.
/$as_dir;;
18812 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18816 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18817 *) as_qdir
=$as_dir;;
18819 as_dirs
="'$as_qdir' $as_dirs"
18820 as_dir
=`$as_dirname -- "$as_dir" ||
18821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18822 X"$as_dir" : 'X\(//\)[^/]' \| \
18823 X"$as_dir" : 'X\(//\)$' \| \
18824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18825 $as_echo X"$as_dir" |
18826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18830 /^X\(\/\/\)[^/].*/{
18843 test -d "$as_dir" && break
18845 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18846 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18850 if mkdir
-p .
2>/dev
/null
; then
18851 as_mkdir_p
='mkdir -p "$as_dir"'
18853 test -d .
/-p && rmdir .
/-p
18858 # as_fn_executable_p FILE
18859 # -----------------------
18860 # Test if FILE is an executable regular file.
18861 as_fn_executable_p
()
18863 test -f "$1" && test -x "$1"
18864 } # as_fn_executable_p
18865 as_test_x
='test -x'
18866 as_executable_p
=as_fn_executable_p
18868 # Sed expression to map a string onto a valid CPP name.
18869 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18871 # Sed expression to map a string onto a valid variable name.
18872 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18876 ## ----------------------------------- ##
18877 ## Main body of $CONFIG_STATUS script. ##
18878 ## ----------------------------------- ##
18880 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18883 # Save the log message, to keep $0 and so on meaningful, and to
18884 # report actual input values of CONFIG_FILES etc. instead of their
18885 # values after options handling.
18887 This file was extended by $as_me, which was
18888 generated by GNU Autoconf 2.69. Invocation command line was
18890 CONFIG_FILES = $CONFIG_FILES
18891 CONFIG_HEADERS = $CONFIG_HEADERS
18892 CONFIG_LINKS = $CONFIG_LINKS
18893 CONFIG_COMMANDS = $CONFIG_COMMANDS
18896 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18901 case $ac_config_files in *"
18902 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18908 # Files that config.status was made for.
18909 config_files="$ac_config_files"
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18915 \`$as_me' instantiates files and other configuration actions
18916 from templates according to the current configuration. Unless the files
18917 and actions are specified as TAGs, all are instantiated by default.
18919 Usage: $0 [OPTION]... [TAG]...
18921 -h, --help print this help, then exit
18922 -V, --version print version number and configuration settings, then exit
18923 --config print configuration, then exit
18924 -q, --quiet, --silent
18925 do not print progress messages
18926 -d, --debug don't remove temporary files
18927 --recheck update $as_me by reconfiguring in the same conditions
18928 --file=FILE[:TEMPLATE]
18929 instantiate the configuration file FILE
18931 Configuration files:
18934 Report bugs to the package provider."
18937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18938 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18941 configured by $0, generated by GNU Autoconf 2.69,
18942 with options \\"\$ac_cs_config\\"
18944 Copyright (C) 2012 Free Software Foundation, Inc.
18945 This config.status script is free software; the Free Software Foundation
18946 gives unlimited permission to copy, distribute and modify it."
18952 test -n "\$AWK" || AWK=awk
18955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18956 # The default lists apply if the user does not specify any file.
18962 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18963 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18967 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18979 # Handling of the options.
18980 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18982 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18983 $as_echo "$ac_cs_version"; exit ;;
18984 --config |
--confi |
--conf |
--con |
--co |
--c )
18985 $as_echo "$ac_cs_config"; exit ;;
18986 --debug |
--debu |
--deb |
--de |
--d |
-d )
18988 --file |
--fil |
--fi |
--f )
18991 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18992 '') as_fn_error $?
"missing file argument" ;;
18994 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18995 ac_need_defaults
=false
;;
18996 --he |
--h |
--help |
--hel |
-h )
18997 $as_echo "$ac_cs_usage"; exit ;;
18998 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18999 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19002 # This is an error.
19003 -*) as_fn_error $?
"unrecognized option: \`$1'
19004 Try \`$0 --help' for more information." ;;
19006 *) as_fn_append ac_config_targets
" $1"
19007 ac_need_defaults
=false
;;
19013 ac_configure_extra_args
=
19015 if $ac_cs_silent; then
19017 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19022 if \$ac_cs_recheck; then
19023 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19025 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19026 CONFIG_SHELL='$SHELL'
19027 export CONFIG_SHELL
19032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19036 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19037 ## Running $as_me. ##
19043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19047 extrasub_build="$extrasub_build"
19048 extrasub_host="$extrasub_host"
19049 extrasub_target="$extrasub_target"
19053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19055 # Handling of arguments.
19056 for ac_config_target
in $ac_config_targets
19058 case $ac_config_target in
19059 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19061 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19066 # If the user did not use the arguments to specify the items to instantiate,
19067 # then the envvar interface is used. Set only those that are not.
19068 # We use the long form for the default assignment because of an extremely
19069 # bizarre bug on SunOS 4.1.3.
19070 if $ac_need_defaults; then
19071 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19074 # Have a temporary directory for convenience. Make it in the build tree
19075 # simply because there is no reason against having it here, and in addition,
19076 # creating and moving files from /tmp can sometimes cause problems.
19077 # Hook for its removal unless debugging.
19078 # Note that there is a small window in which the directory will not be cleaned:
19079 # after its creation but before its name has been assigned to `$tmp'.
19083 trap 'exit_status=$?
19084 : "${ac_tmp:=$tmp}"
19085 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19087 trap 'as_fn_exit 1' 1 2 13 15
19089 # Create a (secure) tmp directory for tmp files.
19092 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19096 tmp
=.
/conf$$
-$RANDOM
19097 (umask 077 && mkdir
"$tmp")
19098 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19101 # Set up the scripts for CONFIG_FILES section.
19102 # No need to generate them if there are no CONFIG_FILES.
19103 # This happens for instance with `./config.status config.h'.
19104 if test -n "$CONFIG_FILES"; then
19106 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
19107 ac_cs_awk_getline
=:
19108 ac_cs_awk_pipe_init
=
19109 ac_cs_awk_read_file
='
19110 while ((getline aline < (F[key])) > 0)
19113 ac_cs_awk_pipe_fini
=
19115 ac_cs_awk_getline
=false
19116 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
19117 ac_cs_awk_read_file
='
19119 print "cat " F[key] " &&"
19120 '$ac_cs_awk_pipe_init
19121 # The final `:' finishes the AND list.
19122 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
19124 ac_cr
=`echo X | tr X '\015'`
19125 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19126 # But we know of no other shell where ac_cr would be empty at this
19127 # point, so we can use a bashism as a fallback.
19128 if test "x$ac_cr" = x
; then
19129 eval ac_cr
=\$
\'\\r
\'
19131 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19132 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19135 ac_cs_awk_cr
=$ac_cr
19138 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19141 # Create commands to substitute file output variables.
19143 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
19144 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
19145 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
19148 } >conf$
$files.sh
&&
19149 . .
/conf$
$files.sh ||
19150 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
19151 rm -f conf$
$files.sh
19154 echo "cat >conf$$subs.awk <<_ACEOF" &&
19155 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19157 } >conf$$subs.sh ||
19158 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19159 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19161 for ac_last_try in false false false false false :; do
19162 . ./conf$$subs.sh ||
19163 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19165 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19166 if test $ac_delim_n = $ac_delim_num; then
19168 elif $ac_last_try; then
19169 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19171 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19174 rm -f conf$$subs.sh
19176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19177 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19181 s/^/S["/; s
/!.
*/"]=/
19191 s/\(.\{148\}\)..*/\1/
19193 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19198 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19205 s/\(.\{148\}\)..*/\1/
19207 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19211 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19216 ' <conf$$subs.awk | sed '
19221 ' >>$CONFIG_STATUS || ac_write_fail=1
19222 rm -f conf$$subs.awk
19223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19226 for (key in S) S_is_set[key] = 1
19228 \$ac_cs_awk_pipe_init
19232 nfields = split(line, field, "@
")
19234 len = length(field[1])
19235 for (i = 2; i < nfields; i++) {
19237 keylen = length(key)
19238 if (S_is_set[key]) {
19240 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19241 len += length(value) + length(field[++i])
19246 if (nfields == 3 && !substed) {
19248 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
19249 \$ac_cs_awk_read_file
19255 \$ac_cs_awk_pipe_fini
19258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19259 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19260 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19263 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19264 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19267 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19268 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19269 # trailing colons and then remove the whole line if VPATH becomes empty
19270 # (actually we leave an empty line to preserve line numbers).
19271 if test "x
$srcdir" = x.; then
19272 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19291 fi # test -n "$CONFIG_FILES"
19294 eval set X " :F
$CONFIG_FILES "
19299 :[FHLC]) ac_mode=$ac_tag; continue;;
19301 case $ac_mode$ac_tag in
19303 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19304 :[FH]-) ac_tag=-:-;;
19305 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19322 -) ac_f="$ac_tmp/stdin";;
19323 *) # Look for the file first in the build tree, then in the source tree
19324 # (if the path is not absolute). The absolute path cannot be DOS-style,
19325 # because $ac_f cannot contain `:'.
19329 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19331 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19333 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19334 as_fn_append ac_file_inputs " '$ac_f'"
19337 # Let's still pretend it is `configure' which instantiates (i.e., don't
19338 # use $as_me), people would be surprised to read:
19339 # /* config.h. Generated by config.status. */
19340 configure_input='Generated from '`
19341 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19343 if test x"$ac_file" != x-; then
19344 configure_input="$ac_file.
$configure_input"
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19346 $as_echo "$as_me: creating
$ac_file" >&6;}
19348 # Neutralize special characters interpreted by sed in replacement strings.
19349 case $configure_input in #(
19350 *\&* | *\|* | *\\* )
19351 ac_sed_conf_input=`$as_echo "$configure_input" |
19352 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19353 *) ac_sed_conf_input=$configure_input;;
19357 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
19358 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
19363 ac_dir=`$as_dirname -- "$ac_file" ||
19364 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19365 X"$ac_file" : 'X\(//\)[^/]' \| \
19366 X"$ac_file" : 'X\(//\)$' \| \
19367 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19368 $as_echo X"$ac_file" |
19369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19373 /^X\(\/\/\)[^/].*/{
19386 as_dir="$ac_dir"; as_fn_mkdir_p
19390 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19392 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19393 # A "..
" for each directory in $ac_dir_suffix.
19394 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19395 case $ac_top_builddir_sub in
19396 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19397 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19400 ac_abs_top_builddir=$ac_pwd
19401 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19402 # for backward compatibility:
19403 ac_top_builddir=$ac_top_build_prefix
19406 .) # We are building in place.
19408 ac_top_srcdir=$ac_top_builddir_sub
19409 ac_abs_top_srcdir=$ac_pwd ;;
19410 [\\/]* | ?:[\\/]* ) # Absolute name.
19411 ac_srcdir=$srcdir$ac_dir_suffix;
19412 ac_top_srcdir=$srcdir
19413 ac_abs_top_srcdir=$srcdir ;;
19414 *) # Relative name.
19415 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19416 ac_top_srcdir=$ac_top_build_prefix$srcdir
19417 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19419 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19429 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19430 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19435 # If the template does not know about datarootdir, expand it.
19436 # FIXME: This hack should be removed a few years after 2.60.
19437 ac_datarootdir_hack=; ac_datarootdir_seen=
19448 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19449 *datarootdir*) ac_datarootdir_seen=yes;;
19450 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19452 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19455 ac_datarootdir_hack='
19456 s&@datadir@&$datadir&g
19457 s&@docdir@&$docdir&g
19458 s&@infodir@&$infodir&g
19459 s&@localedir@&$localedir&g
19460 s&@mandir@&$mandir&g
19461 s&\\\${datarootdir}&$datarootdir&g' ;;
19465 # Neutralize VPATH when `$srcdir' = `.'.
19466 # Shell code in configure.ac might set extrasub.
19467 # FIXME: do we really want to maintain this feature?
19468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19469 ac_sed_extra="$ac_vpsub
19472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19474 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19475 s|@configure_input@|
$ac_sed_conf_input|
;t t
19476 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19477 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19478 s
&@srcdir@
&$ac_srcdir&;t t
19479 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19480 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19481 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19482 s
&@builddir@
&$ac_builddir&;t t
19483 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19484 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19485 s
&@INSTALL@
&$ac_INSTALL&;t t
19486 $ac_datarootdir_hack
19488 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
19489 if $ac_cs_awk_getline; then
19490 $AWK -f "$ac_tmp/subs.
awk"
19492 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
19494 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19496 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19497 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19498 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19499 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19501 which seems to be undefined. Please make sure it is defined" >&5
19502 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19503 which seems to be undefined. Please make sure it is defined" >&2;}
19505 rm -f "$ac_tmp/stdin"
19507 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19508 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19510 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19518 case $ac_file$ac_mode in
19519 "Makefile":F) sed "$extrasub_build" Makefile |
19520 sed "$extrasub_host" |
19521 sed "$extrasub_target" > mf$$
19522 mv -f mf$$ Makefile ;;
19530 ac_clean_files=$ac_clean_files_save
19532 test $ac_write_fail = 0 ||
19533 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19536 # configure is writing to config.log, and then calls config.status.
19537 # config.status does its own redirection, appending to config.log.
19538 # Unfortunately, on DOS this fails, as config.log is still kept open
19539 # by configure, so config.status won't be able to
write to it
; its
19540 # output is simply discarded. So we exec the FD to /dev/null,
19541 # effectively closing config.log, so it can be properly (re)opened and
19542 # appended to by config.status. When coming back to configure, we
19543 # need to make the FD available again.
19544 if test "$no_create" != yes; then
19546 ac_config_status_args
=
19547 test "$silent" = yes &&
19548 ac_config_status_args
="$ac_config_status_args --quiet"
19550 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19552 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19553 # would make configure fail if this is the last instruction.
19554 $ac_cs_success || as_fn_exit
1
19556 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19558 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}