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
683 DEBUG_PREFIX_CFLAGS_FOR_TARGET
684 SYSROOT_CFLAGS_FOR_TARGET
686 extra_host_zlib_configure_flags
687 extra_host_libiberty_configure_flags
691 extra_linker_plugin_flags
692 extra_linker_plugin_configure_flags
699 extra_isl_gmp_configure_flags
700 extra_mpc_mpfr_configure_flags
701 extra_mpc_gmp_configure_flags
702 extra_mpfr_configure_flags
750 TOPLEVEL_CONFIGURE_ARGUMENTS
778 program_transform_name
789 ac_subst_files
='serialization_dependencies
795 enable_option_checking
798 enable_as_accelerator_for
799 enable_offload_targets
800 enable_offload_defaulted
803 enable_compressed_debug_sections
805 enable_libquadmath_support
822 with_static_standard_libraries
829 enable_isl_version_check
831 enable_linker_plugin_configure_flags
832 enable_linker_plugin_flags
834 enable_stage1_languages
837 with_target_bdw_gc_include
838 with_target_bdw_gc_lib
839 with_gcc_major_version_only
841 with_debug_prefix_map
844 enable_serial_configure
845 with_build_time_tools
846 enable_maintainer_mode
847 enable_stage1_checking
850 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-libgm2 build libgm2 directory
1547 --enable-libssp build libssp directory
1548 --disable-libstdcxx do not build libstdc
++-v3 directory
1549 --enable-bootstrap enable bootstrapping
[yes if native build
]
1550 --enable-pgo-build[=lto
]
1551 enable the PGO build
1552 --disable-isl-version-check
1553 disable check
for isl version
1554 --enable-lto enable link
time optimization support
1555 --enable-linker-plugin-configure-flags=FLAGS
1556 additional flags
for configuring linker plugins
1558 --enable-linker-plugin-flags=FLAGS
1559 additional flags
for configuring and building linker
1561 --enable-host-shared build
host code as shared libraries
1562 --enable-stage1-languages[=all
]
1563 choose additional languages to build during stage1.
1564 Mostly useful
for compiler development
1565 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1567 --enable-vtable-verify Enable vtable verification feature
1568 --enable-serial-[{host,target,build}-]configure
1569 force sequential configuration of sub-packages for
1570 the host, target or build machine, or all
1572 --enable-maintainer-mode
1573 enable make rules and dependencies not useful (and
1574 sometimes confusing) to the casual installer
1575 --enable-stage1-checking[=all]
1576 choose additional checking for stage1 of the
1578 --enable-werror enable -Werror in bootstrap stage2 and later
1581 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1582 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1583 --with-build-libsubdir=DIR Directory where to find libraries for build system
1584 --with-system-zlib use installed libz
1585 --with-mpc=PATH specify prefix directory for installed MPC package.
1586 Equivalent to --with-mpc-include=PATH/include plus
1587 --with-mpc-lib=PATH/lib
1588 --with-mpc-include=PATH specify directory for installed MPC include files
1589 --with-mpc-lib=PATH specify directory for the installed MPC library
1590 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1591 Equivalent to --with-mpfr-include=PATH/include plus
1592 --with-mpfr-lib=PATH/lib
1593 --with-mpfr-include=PATH
1594 specify directory for installed MPFR include files
1595 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1596 --with-gmp=PATH specify prefix directory for the installed GMP
1597 package. Equivalent to
1598 --with-gmp-include=PATH/include plus
1599 --with-gmp-lib=PATH/lib
1600 --with-gmp-include=PATH specify directory for installed GMP include files
1601 --with-gmp-lib=PATH specify directory for the installed GMP library
1602 --with-stage1-libs=LIBS libraries for stage1
1603 --with-static-standard-libraries
1604 use -static-libstdc++ and -static-libgcc
1606 --with-stage1-ldflags=FLAGS
1607 linker flags for stage1
1608 --with-boot-libs=LIBS libraries for stage2 and later
1609 --with-boot-ldflags=FLAGS
1610 linker flags for stage2 and later
1611 --with-isl=PATH Specify prefix directory for the installed isl
1612 package. Equivalent to
1613 --with-isl-include=PATH/include plus
1614 --with-isl-lib=PATH/lib
1615 --with-isl-include=PATH Specify directory for installed isl include files
1616 --with-isl-lib=PATH Specify the directory for the installed isl library
1617 --with-target-bdw-gc=PATHLIST
1618 specify prefix directory for installed bdw-gc
1619 package. Equivalent to
1620 --with-target-bdw-gc-include=PATH/include plus
1621 --with-target-bdw-gc-lib=PATH/lib
1622 --with-target-bdw-gc-include=PATHLIST
1623 specify directories for installed bdw-gc include
1625 --with-target-bdw-gc-lib=PATHLIST
1626 specify directories for installed bdw-gc library
1627 --with-gcc-major-version-only
1628 use only GCC major number in filesystem paths
1629 --with-build-sysroot=SYSROOT
1630 use sysroot as the system root during the build
1631 --with-debug-prefix-map='A
=B C
=D ...
'
1632 map A to B, C to D ... in debug information
1633 --with-build-config='NAME NAME2...
'
1634 use config/NAME.mk build configuration
1635 --with-build-time-tools=PATH
1636 use given path to find target tools during the build
1638 Some influential environment variables:
1639 CC C compiler command
1640 CFLAGS C compiler flags
1641 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1642 nonstandard directory <lib dir>
1643 LIBS libraries to pass to the linker, e.g. -l<library>
1644 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1645 you have headers in a nonstandard directory <include dir>
1646 CXX C++ compiler command
1647 CXXFLAGS C++ compiler flags
1649 additional configure arguments for build directories
1651 additional configure arguments for host directories
1653 additional configure arguments for target directories
1656 DLLTOOL DLLTOOL for the host
1657 DSYMUTIL DSYMUTIL for the host
1659 LIPO LIPO for the host
1661 RANLIB RANLIB for the host
1662 STRIP STRIP for the host
1663 WINDRES WINDRES for the host
1664 WINDMC WINDMC for the host
1665 OBJCOPY OBJCOPY for the host
1666 OBJDUMP OBJDUMP for the host
1667 OTOOL OTOOL for the host
1668 READELF READELF for the host
1676 GFORTRAN for the target
1688 DLLTOOL for the target
1690 DSYMUTIL for the target
1698 OBJCOPY for the target
1700 OBJDUMP for the target
1702 OTOOL for the target
1704 RANLIB for the target
1706 READELF for the target
1708 STRIP for the target
1710 WINDRES for the target
1712 WINDMC for the target
1714 Use these variables to override the choices made by `configure' or to
help
1715 it to
find libraries and programs with nonstandard names
/locations.
1717 Report bugs to the package provider.
1722 if test "$ac_init_help" = "recursive"; then
1723 # If there are subdirs, report their specific --help.
1724 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1725 test -d "$ac_dir" ||
1726 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1734 # A ".." for each directory in $ac_dir_suffix.
1735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1736 case $ac_top_builddir_sub in
1737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1741 ac_abs_top_builddir
=$ac_pwd
1742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1743 # for backward compatibility:
1744 ac_top_builddir
=$ac_top_build_prefix
1747 .
) # We are building in place.
1749 ac_top_srcdir
=$ac_top_builddir_sub
1750 ac_abs_top_srcdir
=$ac_pwd ;;
1751 [\\/]* | ?
:[\\/]* ) # Absolute name.
1752 ac_srcdir
=$srcdir$ac_dir_suffix;
1753 ac_top_srcdir
=$srcdir
1754 ac_abs_top_srcdir
=$srcdir ;;
1756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1762 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1763 # Check for guested configure.
1764 if test -f "$ac_srcdir/configure.gnu"; then
1766 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1767 elif test -f "$ac_srcdir/configure"; then
1769 $SHELL "$ac_srcdir/configure" --help=recursive
1771 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1773 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1777 test -n "$ac_init_help" && exit $ac_status
1778 if $ac_init_version; then
1781 generated by GNU Autoconf
2.69
1783 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1784 This configure
script is free software
; the Free Software Foundation
1785 gives unlimited permission to copy
, distribute and modify it.
1790 ## ------------------------ ##
1791 ## Autoconf initialization. ##
1792 ## ------------------------ ##
1794 # ac_fn_c_try_compile LINENO
1795 # --------------------------
1796 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1797 ac_fn_c_try_compile
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 rm -f conftest.
$ac_objext
1801 if { { ac_try
="$ac_compile"
1803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1804 *) ac_try_echo=$ac_try;;
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_compile") 2>conftest.err
1810 if test -s conftest.err; then
1811 grep -v '^ *+' conftest.err >conftest.er1
1812 cat conftest.er1 >&5
1813 mv -f conftest.er1 conftest.err
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } && {
1817 test -z "$ac_c_werror_flag" ||
1818 test ! -s conftest.err
1819 } && test -s conftest.$ac_objext; then :
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 as_fn_set_status $ac_retval
1830 } # ac_fn_c_try_compile
1832 # ac_fn_cxx_try_compile LINENO
1833 # ----------------------------
1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_cxx_try_compile ()
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext
1839 if { { ac_try="$ac_compile"
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_compile") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_cxx_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest.
$ac_objext; then :
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status
$ac_retval
1868 } # ac_fn_cxx_try_compile
1870 # ac_fn_cxx_try_link LINENO
1871 # -------------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1873 ac_fn_cxx_try_link
()
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 rm -f conftest.
$ac_objext conftest
$ac_exeext
1877 if { { ac_try
="$ac_link"
1879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err; then
1887 grep -v '^ *+' conftest.err >conftest.er1
1888 cat conftest.er1 >&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_cxx_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 test -x conftest$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912 as_fn_set_status $ac_retval
1914 } # ac_fn_cxx_try_link
1916 # ac_fn_c_try_link LINENO
1917 # -----------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext conftest$ac_exeext
1923 if { { ac_try="$ac_link"
1925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1926 *) ac_try_echo
=$ac_try;;
1928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1932 if test -s conftest.err
; then
1933 grep -v '^ *+' conftest.err
>conftest.er1
1934 cat conftest.er1
>&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_c_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest
$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 test -x conftest
$ac_exeext
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954 # interfere with the next link command; also delete a directory that is
1955 # left behind by Apple's compiler. We do this before executing the actions.
1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 as_fn_set_status
$ac_retval
1960 } # ac_fn_c_try_link
1961 cat >config.log
<<_ACEOF
1962 This file contains any messages produced by compilers while
1963 running configure, to aid debugging if configure makes a mistake.
1965 It was created by $as_me, which was
1966 generated by GNU Autoconf 2.69. Invocation command line was
1978 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1979 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1980 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1981 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1982 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1984 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1985 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1987 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1988 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1989 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1990 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1991 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1992 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1993 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir
=.
2002 $as_echo "PATH: $as_dir"
2018 # Keep a trace of the command line.
2019 # Strip out --no-create and --no-recursion so they do not pile up.
2020 # Strip out --silent because we don't want to record it for future runs.
2021 # Also quote any args containing shell meta-characters.
2022 # Make two passes to allow for proper duplicate-argument suppression.
2026 ac_must_keep_next
=false
2032 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2033 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2034 |
-silent |
--silent |
--silen |
--sile |
--sil)
2037 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2040 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2042 as_fn_append ac_configure_args1
" '$ac_arg'"
2043 if test $ac_must_keep_next = true
; then
2044 ac_must_keep_next
=false
# Got value, back to normal.
2047 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2048 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2049 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2050 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2051 case "$ac_configure_args0 " in
2052 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2055 -* ) ac_must_keep_next
=true
;;
2058 as_fn_append ac_configure_args
" '$ac_arg'"
2063 { ac_configure_args0
=; unset ac_configure_args0
;}
2064 { ac_configure_args1
=; unset ac_configure_args1
;}
2066 # When interrupted or exit'd, cleanup temporary files, and complete
2067 # config.log. We remove comments because anyway the quotes in there
2068 # would cause problems or look ugly.
2069 # WARNING: Use '\'' to represent an apostrophe within the trap.
2070 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2071 trap 'exit_status=$?
2072 # Save into config.log some information that might help in debugging.
2076 $as_echo "## ---------------- ##
2077 ## Cache variables. ##
2078 ## ---------------- ##"
2080 # The following way of writing the cache mishandles newlines in values,
2082 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2083 eval ac_val=\$$ac_var
2087 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2091 _ | IFS | as_nl) ;; #(
2092 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2093 *) { eval $ac_var=; unset $ac_var;} ;;
2098 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2099 *${as_nl}ac_space=\ *)
2101 "s/'\''/'\''\\\\'\'''\''/g;
2102 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2105 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2112 $as_echo "## ----------------- ##
2113 ## Output variables. ##
2114 ## ----------------- ##"
2116 for ac_var in $ac_subst_vars
2118 eval ac_val=\$$ac_var
2120 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122 $as_echo "$ac_var='\''$ac_val'\''"
2126 if test -n "$ac_subst_files"; then
2127 $as_echo "## ------------------- ##
2128 ## File substitutions. ##
2129 ## ------------------- ##"
2131 for ac_var
in $ac_subst_files
2133 eval ac_val
=\$
$ac_var
2135 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2137 $as_echo "$ac_var='\''$ac_val'\''"
2142 if test -s confdefs.h; then
2143 $as_echo "## ----------- ##
2150 test "$ac_signal" != 0 &&
2151 $as_echo "$as_me: caught signal $ac_signal"
2152 $as_echo "$as_me: exit $exit_status"
2154 rm -f core *.core core.conftest.* &&
2155 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2158 for ac_signal
in 1 2 13 15; do
2159 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2164 rm -f -r conftest
* confdefs.h
2166 $as_echo "/* confdefs.h */" > confdefs.h
2168 # Predefined preprocessor variables.
2170 cat >>confdefs.h
<<_ACEOF
2171 #define PACKAGE_NAME "$PACKAGE_NAME"
2174 cat >>confdefs.h
<<_ACEOF
2175 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2178 cat >>confdefs.h
<<_ACEOF
2179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2182 cat >>confdefs.h
<<_ACEOF
2183 #define PACKAGE_STRING "$PACKAGE_STRING"
2186 cat >>confdefs.h
<<_ACEOF
2187 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2190 cat >>confdefs.h
<<_ACEOF
2191 #define PACKAGE_URL "$PACKAGE_URL"
2195 # Let the site file select an alternate cache file if it wants to.
2196 # Prefer an explicitly selected file to automatically selected ones.
2199 if test -n "$CONFIG_SITE"; then
2200 # We do not want a PATH search for config.site.
2201 case $CONFIG_SITE in #((
2202 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2203 */*) ac_site_file1
=$CONFIG_SITE;;
2204 *) ac_site_file1
=.
/$CONFIG_SITE;;
2206 elif test "x$prefix" != xNONE
; then
2207 ac_site_file1
=$prefix/share
/config.site
2208 ac_site_file2
=$prefix/etc
/config.site
2210 ac_site_file1
=$ac_default_prefix/share
/config.site
2211 ac_site_file2
=$ac_default_prefix/etc
/config.site
2213 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2215 test "x$ac_site_file" = xNONE
&& continue
2216 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2218 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2219 sed 's/^/| /' "$ac_site_file" >&5
2221 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 as_fn_error $?
"failed to load site script $ac_site_file
2224 See \`config.log' for more details" "$LINENO" 5; }
2228 if test -r "$cache_file"; then
2229 # Some versions of bash will fail to source /dev/null (special files
2230 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2231 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2233 $as_echo "$as_me: loading cache $cache_file" >&6;}
2235 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2236 *) .
"./$cache_file";;
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2241 $as_echo "$as_me: creating cache $cache_file" >&6;}
2245 # Check that the precious variables saved in the cache have kept the same
2247 ac_cache_corrupted
=false
2248 for ac_var
in $ac_precious_vars; do
2249 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2250 eval ac_new_set
=\
$ac_env_${ac_var}_set
2251 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2252 eval ac_new_val
=\
$ac_env_${ac_var}_value
2253 case $ac_old_set,$ac_new_set in
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2256 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2257 ac_cache_corrupted
=: ;;
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2260 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2261 ac_cache_corrupted
=: ;;
2264 if test "x$ac_old_val" != "x$ac_new_val"; then
2265 # differences in whitespace do not lead to failure.
2266 ac_old_val_w
=`echo x $ac_old_val`
2267 ac_new_val_w
=`echo x $ac_new_val`
2268 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2270 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2271 ac_cache_corrupted
=:
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2274 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2275 eval $ac_var=\
$ac_old_val
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2278 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2280 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2283 # Pass precious variables to config.status.
2284 if test "$ac_new_set" = set; then
2286 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2287 *) ac_arg
=$ac_var=$ac_new_val ;;
2289 case " $ac_configure_args " in
2290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2291 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2295 if $ac_cache_corrupted; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2302 ## -------------------- ##
2303 ## Main body of script. ##
2304 ## -------------------- ##
2307 ac_cpp
='$CPP $CPPFLAGS'
2308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2320 # if PWD already has a value, it is probably wrong.
2321 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2323 # Export original configure arguments for use by sub-configures.
2324 # Quote arguments with shell meta charatcers.
2325 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2326 set -- "$progname" "$@"
2330 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2331 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2332 # if the argument is of the form -foo=baz, quote the baz part only
2333 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2336 # Add the quoted argument to the list.
2337 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2339 if test "$silent" = yes; then
2340 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2342 # Remove the initial space we just introduced and, as these will be
2343 # expanded by make, quote '$'.
2344 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2347 # Find the build, host, and target systems.
2349 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2350 if test -f "$ac_dir/install-sh"; then
2352 ac_install_sh
="$ac_aux_dir/install-sh -c"
2354 elif test -f "$ac_dir/install.sh"; then
2356 ac_install_sh
="$ac_aux_dir/install.sh -c"
2358 elif test -f "$ac_dir/shtool"; then
2360 ac_install_sh
="$ac_aux_dir/shtool install -c"
2364 if test -z "$ac_aux_dir"; then
2365 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2368 # These three variables are undocumented and unsupported,
2369 # and are intended to be withdrawn in a future Autoconf release.
2370 # They can cause serious problems if a builder's source tree is in a directory
2371 # whose full name contains unusual characters.
2372 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2373 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2374 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2377 # Make sure we can run config.sub.
2378 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2379 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2382 $as_echo_n "checking build system type... " >&6; }
2383 if ${ac_cv_build+:} false
; then :
2384 $as_echo_n "(cached) " >&6
2386 ac_build_alias
=$build_alias
2387 test "x$ac_build_alias" = x
&&
2388 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2389 test "x$ac_build_alias" = x
&&
2390 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2391 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2392 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2396 $as_echo "$ac_cv_build" >&6; }
2397 case $ac_cv_build in
2399 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2402 ac_save_IFS
=$IFS; IFS
='-'
2408 # Remember, the first character of IFS is used to create $*,
2409 # except with old shells:
2412 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2415 case ${build_alias} in
2416 "") build_noncanonical
=${build} ;;
2417 *) build_noncanonical
=${build_alias} ;;
2422 case ${host_alias} in
2423 "") host_noncanonical
=${build_noncanonical} ;;
2424 *) host_noncanonical
=${host_alias} ;;
2429 case ${target_alias} in
2430 "") target_noncanonical
=${host_noncanonical} ;;
2431 *) target_noncanonical
=${target_alias} ;;
2437 test "$host_noncanonical" = "$target_noncanonical" &&
2438 test "$program_prefix$program_suffix$program_transform_name" = \
2440 program_transform_name
=s
,y
,y
,
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2443 $as_echo_n "checking host system type... " >&6; }
2444 if ${ac_cv_host+:} false
; then :
2445 $as_echo_n "(cached) " >&6
2447 if test "x$host_alias" = x
; then
2448 ac_cv_host
=$ac_cv_build
2450 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2451 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2456 $as_echo "$ac_cv_host" >&6; }
2459 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2462 ac_save_IFS
=$IFS; IFS
='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2476 $as_echo_n "checking target system type... " >&6; }
2477 if ${ac_cv_target+:} false
; then :
2478 $as_echo_n "(cached) " >&6
2480 if test "x$target_alias" = x
; then
2481 ac_cv_target
=$ac_cv_host
2483 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2484 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2489 $as_echo "$ac_cv_target" >&6; }
2490 case $ac_cv_target in
2492 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2494 target
=$ac_cv_target
2495 ac_save_IFS
=$IFS; IFS
='-'
2501 # Remember, the first character of IFS is used to create $*,
2502 # except with old shells:
2505 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2508 # The aliases save the names the user supplied, while $host etc.
2509 # will get canonicalized.
2510 test -n "$target_alias" &&
2511 test "$program_prefix$program_suffix$program_transform_name" = \
2513 program_prefix
=${target_alias}-
2515 test "$program_prefix" != NONE
&&
2516 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2517 # Use a double $ so make ignores it.
2518 test "$program_suffix" != NONE
&&
2519 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2520 # Double any \ or $.
2521 # By default was `s,x,x', remove it if useless.
2522 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2523 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2527 # Get 'install' or 'install-sh' and its variants.
2528 # Find a good install program. We prefer a C program (faster),
2529 # so one script is as good as another. But avoid the broken or
2530 # incompatible versions:
2531 # SysV /etc/install, /usr/sbin/install
2532 # SunOS /usr/etc/install
2533 # IRIX /sbin/install
2535 # AmigaOS /C/install, which installs bootblocks on floppy discs
2536 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2539 # OS/2's system install, which has a completely different semantic
2540 # ./install, which can be erroneously created by make from ./install.sh.
2541 # Reject install programs that cannot install multiple files.
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2543 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2544 if test -z "$INSTALL"; then
2545 if ${ac_cv_path_install+:} false
; then :
2546 $as_echo_n "(cached) " >&6
2548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir
=.
2553 # Account for people who put trailing slashes in PATH elements.
2554 case $as_dir/ in #((
2555 .
/ | .
// |
/[cC
]/* | \
2556 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2557 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2560 # OSF1 and SCO ODT 3.0 have their own names for install.
2561 # Don't use installbsd from OSF since it installs stuff as root
2563 for ac_prog
in ginstall scoinst
install; do
2564 for ac_exec_ext
in '' $ac_executable_extensions; do
2565 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2566 if test $ac_prog = install &&
2567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2568 # AIX install. It has an incompatible calling convention.
2570 elif test $ac_prog = install &&
2571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2572 # program-specific install script used by HP pwplus--don't use.
2575 rm -rf conftest.one conftest.two conftest.dir
2576 echo one
> conftest.one
2577 echo two
> conftest.two
2579 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2580 test -s conftest.one
&& test -s conftest.two
&&
2581 test -s conftest.dir
/conftest.one
&&
2582 test -s conftest.dir
/conftest.two
2584 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2597 rm -rf conftest.one conftest.two conftest.dir
2600 if test "${ac_cv_path_install+set}" = set; then
2601 INSTALL
=$ac_cv_path_install
2603 # As a last resort, use the slow shell script. Don't cache a
2604 # value for INSTALL within a source directory, because that will
2605 # break other packages using the cache if that directory is
2606 # removed, or if the value is a relative name.
2607 INSTALL
=$ac_install_sh
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2611 $as_echo "$INSTALL" >&6; }
2613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2614 # It thinks the first close brace ends the variable substitution.
2615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2619 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2622 $as_echo_n "checking whether ln works... " >&6; }
2623 if ${acx_cv_prog_LN+:} false
; then :
2624 $as_echo_n "(cached) " >&6
2626 rm -f conftestdata_t
2627 echo >conftestdata_f
2628 if ln conftestdata_f conftestdata_t
2>/dev
/null
2634 rm -f conftestdata_f conftestdata_t
2637 if test $acx_cv_prog_LN = no
; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2640 $as_echo "no, using $LN" >&6; }
2642 LN
="$acx_cv_prog_LN"
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2644 $as_echo "yes" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2648 $as_echo_n "checking whether ln -s works... " >&6; }
2650 if test "$LN_S" = "ln -s"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652 $as_echo "yes" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2655 $as_echo "no, using $LN_S" >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2659 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2660 if ${ac_cv_path_SED+:} false
; then :
2661 $as_echo_n "(cached) " >&6
2663 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2664 for ac_i
in 1 2 3 4 5 6 7; do
2665 ac_script
="$ac_script$as_nl$ac_script"
2667 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2668 { ac_script
=; unset ac_script
;}
2669 if test -z "$SED"; then
2670 ac_path_SED_found
=false
2671 # Loop through the user's path and test for each of PROGNAME-LIST
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_prog
in sed gsed
; do
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2680 as_fn_executable_p
"$ac_path_SED" ||
continue
2681 # Check for GNU ac_path_SED and select it if it is found.
2682 # Check for GNU $ac_path_SED
2683 case `"$ac_path_SED" --version 2>&1` in
2685 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2688 $as_echo_n 0123456789 >"conftest.in"
2691 cat "conftest.in" "conftest.in" >"conftest.tmp"
2692 mv "conftest.tmp" "conftest.in"
2693 cp "conftest.in" "conftest.nl"
2694 $as_echo '' >> "conftest.nl"
2695 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2696 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2697 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2698 if test $ac_count -gt ${ac_path_SED_max-0}; then
2699 # Best one so far, save it but keep looking for a better one
2700 ac_cv_path_SED
="$ac_path_SED"
2701 ac_path_SED_max
=$ac_count
2703 # 10*(2^10) chars as input seems more than enough
2704 test $ac_count -gt 10 && break
2706 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2709 $ac_path_SED_found && break 3
2714 if test -z "$ac_cv_path_SED"; then
2715 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2723 $as_echo "$ac_cv_path_SED" >&6; }
2724 SED
="$ac_cv_path_SED"
2727 for ac_prog
in gawk mawk nawk
awk
2729 # Extract the first word of "$ac_prog", so it can be a program name with args.
2730 set dummy
$ac_prog; ac_word
=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if ${ac_cv_prog_AWK+:} false
; then :
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$AWK"; then
2737 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir
=.
2744 for ac_exec_ext
in '' $ac_executable_extensions; do
2745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2746 ac_cv_prog_AWK
="$ac_prog"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test -n "$AWK"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2759 $as_echo "$AWK" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2766 test -n "$AWK" && break
2770 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2772 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2774 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2775 INSTALL
="${srcpwd}/install-sh -c"
2778 # Set srcdir to "." if that's what it is.
2779 # This is important for multilib support.
2781 if test "${pwd}" = "${srcpwd}" ; then
2789 ### To add a new directory to the tree, first choose whether it is a target
2790 ### or a host dependent tool. Then put it into the appropriate list
2791 ### (library or tools, host or target), doing a dependency sort.
2793 # Subdirs will be configured in the order listed in build_configdirs,
2794 # configdirs, or target_configdirs; see the serialization section below.
2796 # Dependency sorting is only needed when *configuration* must be done in
2797 # a particular order. In all cases a dependency should be specified in
2798 # the Makefile, whether or not it's implicitly specified here.
2800 # Double entries in build_configdirs, configdirs, or target_configdirs may
2801 # cause circular dependencies and break everything horribly.
2803 # these library is used by various programs built for the build
2806 build_libs
="build-libiberty build-libcpp"
2808 # these tools are built for the build environment
2809 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2811 # these libraries are used by various programs built for the host environment
2813 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libcody libdecnumber gmp mpfr mpc isl libiconv libctf libsframe"
2815 # these tools are built for the host environment
2816 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2817 # know that we are building the simulator.
2818 # binutils, gas and ld appear in that order because it makes sense to run
2819 # "make check" in that particular order.
2820 # If --enable-gold is used, "gold" may replace "ld".
2821 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 gm2tools gotools c++tools"
2823 # these libraries are built for the target environment, and are built after
2824 # the host libraries and the host tools (which may be a cross compiler)
2825 # Note that libiberty is not a target library.
2826 target_libraries
="target-libgcc \
2827 target-libbacktrace \
2833 target-libstdc++-v3 \
2834 target-libsanitizer \
2837 target-libquadmath \
2838 target-libgfortran \
2847 # these tools are built using the target libraries, and are intended to
2848 # run only in the target environment
2850 # note: any program that *uses* libraries that are in the "target_libraries"
2851 # list belongs in this list.
2853 target_tools
="target-rda"
2855 ################################################################################
2857 ## All tools belong in one of the four categories, and are assigned above
2858 ## We assign ${configdirs} this way to remove all embedded newlines. This
2859 ## is important because configure will choke if they ever get through.
2860 ## ${configdirs} is directories we build using the host tools.
2861 ## ${target_configdirs} is directories we build using the target tools.
2862 configdirs
=`echo ${host_libs} ${host_tools}`
2863 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2864 build_configdirs
=`echo ${build_libs} ${build_tools}`
2868 ################################################################################
2870 srcname
="gnu development package"
2872 # This gets set non-empty for some net releases of packages.
2875 # Define is_cross_compiler to save on calls to 'test'.
2877 if test x
"${host}" = x
"${target}" ; then
2878 is_cross_compiler
=no
2880 is_cross_compiler
=yes
2883 # Find the build and target subdir names.
2885 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2886 # have matching libraries, they should use host libraries: Makefile.tpl
2887 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2888 # However, they still use the build modules, because the corresponding
2889 # host modules (e.g. bison) are only built for the host when bootstrap
2891 # - build_subdir is where we find build modules, and never changes.
2892 # - build_libsubdir is where we find build libraries, and can be overridden.
2894 # Prefix 'build-' so this never conflicts with target_subdir.
2895 build_subdir
="build-${build_noncanonical}"
2897 # Check whether --with-build-libsubdir was given.
2898 if test "${with_build_libsubdir+set}" = set; then :
2899 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2901 build_libsubdir
="$build_subdir"
2904 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2905 if ( test $srcdir = .
&& test -d gcc
) \
2906 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2907 host_subdir
="host-${host_noncanonical}"
2912 target_subdir
=${target_noncanonical}
2914 # Be sure to cover against remnants of an in-tree build.
2915 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2916 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2917 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2920 # Skipdirs are removed silently.
2922 # Noconfigdirs are removed loudly.
2926 # Make sure we don't let GNU ld be added if we didn't want it.
2927 if test x
$with_gnu_ld = xno
; then
2929 noconfigdirs
="$noconfigdirs ld gold"
2933 # Make sure we don't let GNU as be added if we didn't want it.
2934 if test x
$with_gnu_as = xno
; then
2936 noconfigdirs
="$noconfigdirs gas"
2941 # Check whether --with-system-zlib was given.
2942 if test "${with_system_zlib+set}" = set; then :
2943 withval
=$with_system_zlib;
2946 # Make sure we don't let ZLIB be added if we didn't want it.
2947 if test x
$with_system_zlib = xyes
; then
2948 use_included_zlib
=no
2949 noconfigdirs
="$noconfigdirs zlib"
2952 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2954 if test x
$with_system_readline = xyes
; then
2955 noconfigdirs
="$noconfigdirs readline"
2958 # some tools are so dependent upon X11 that if we're not building with X,
2959 # it's not even worth trying to configure, much less build, that tool.
2962 yes |
"") ;; # the default value for this tree is that X11 is available
2964 skipdirs
="${skipdirs} tk itcl libgui"
2965 # We won't be able to build gdbtk without X.
2968 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2971 # Some are only suitable for cross toolchains.
2972 # Remove these if host=target.
2973 cross_only
="target-libgloss target-newlib target-opcodes"
2975 case $is_cross_compiler in
2976 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2979 # If both --with-headers and --with-libs are specified, default to
2981 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2982 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2983 if test x
"${with_newlib}" = x
; then
2988 # Recognize --with-newlib/--without-newlib.
2989 case ${with_newlib} in
2990 no
) skipdirs
="${skipdirs} target-newlib" ;;
2991 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2994 # Check whether --enable-as-accelerator-for was given.
2995 if test "${enable_as_accelerator_for+set}" = set; then :
2996 enableval
=$enable_as_accelerator_for;
3000 # Check whether --enable-offload-targets was given.
3001 if test "${enable_offload_targets+set}" = set; then :
3002 enableval
=$enable_offload_targets;
3003 if test x
"$enable_offload_targets" = x
; then
3004 as_fn_error $?
"no offload targets specified" "$LINENO" 5
3008 enable_offload_targets
=
3012 # Check whether --enable-offload-defaulted was given.
3013 if test "${enable_offload_defaulted+set}" = set; then :
3014 enableval
=$enable_offload_defaulted; enable_offload_defaulted
=$enableval
3016 enable_offload_defaulted
=
3020 # Handle --enable-gold, --enable-ld.
3021 # --disable-gold [--enable-ld]
3022 # Build only ld. Default option.
3023 # --enable-gold [--enable-ld]
3024 # Build both gold and ld. Install gold as "ld.gold", install ld
3025 # as "ld.bfd" and "ld".
3026 # --enable-gold=default [--enable-ld]
3027 # Build both gold and ld. Install gold as "ld.gold" and "ld",
3028 # install ld as "ld.bfd".
3029 # --enable-gold[=default] --disable-ld
3030 # Build only gold, which is then installed as both "ld.gold" and "ld".
3031 # --enable-gold --enable-ld=default
3032 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3034 # In other words, ld is default
3035 # --enable-gold=default --enable-ld=default
3039 # Check whether --enable-gold was given.
3040 if test "${enable_gold+set}" = set; then :
3041 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3046 case "${ENABLE_GOLD}" in
3048 # Check for ELF target.
3051 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3052 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3053 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3054 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3056 *-*-linux*aout
* |
*-*-linux*oldld
*)
3064 if test "$is_elf" = "yes"; then
3065 # Check for target supported by gold.
3067 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3068 | aarch64
*-*-* | mips
*-*-* | s390
*-*-* | loongarch
*-*-*)
3069 configdirs
="$configdirs gold"
3070 if test x
${ENABLE_GOLD} = xdefault
; then
3081 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3085 # Check whether --enable-ld was given.
3086 if test "${enable_ld+set}" = set; then :
3087 enableval
=$enable_ld; ENABLE_LD
=$enableval
3093 case "${ENABLE_LD}" in
3095 if test x
${default_ld} != x
; then
3096 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3102 if test x
${ENABLE_GOLD} != xyes
; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3104 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3106 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3109 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3114 # Decide the default method for compressing debug sections.
3115 # Provide a configure time option to override our default.
3116 # Check whether --enable-compressed_debug_sections was given.
3117 if test "${enable_compressed_debug_sections+set}" = set; then :
3118 enableval
=$enable_compressed_debug_sections;
3119 if test x
"$enable_compressed_debug_sections" = xyes
; then
3120 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3124 enable_compressed_debug_sections
=
3128 # Configure extra directories which are host specific
3132 configdirs
="$configdirs libtermcap" ;;
3135 # A target can indicate whether a language isn't supported for some reason.
3136 # Only spaces may be used in this macro; not newlines or tabs.
3137 unsupported_languages
=
3139 # Remove more programs from consideration, based on the host or
3140 # target this usually means that a port of the program doesn't
3144 i
[3456789]86-*-msdosdjgpp*)
3145 noconfigdirs
="$noconfigdirs tcl tk itcl"
3150 # Check whether --enable-libquadmath was given.
3151 if test "${enable_libquadmath+set}" = set; then :
3152 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3154 ENABLE_LIBQUADMATH
=yes
3157 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3158 noconfigdirs
="$noconfigdirs target-libquadmath"
3162 # Check whether --enable-libquadmath-support was given.
3163 if test "${enable_libquadmath_support+set}" = set; then :
3164 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3166 ENABLE_LIBQUADMATH_SUPPORT
=yes
3169 enable_libquadmath_support
=
3170 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3171 enable_libquadmath_support
=no
3175 # Check whether --enable-libada was given.
3176 if test "${enable_libada+set}" = set; then :
3177 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3182 if test "${ENABLE_LIBADA}" != "yes" ; then
3183 noconfigdirs
="$noconfigdirs gnattools"
3186 # Check whether --enable-libgm2 was given.
3187 if test "${enable_libgm2+set}" = set; then :
3188 enableval
=$enable_libgm2; ENABLE_LIBGM2
=$enableval
3193 if test "${ENABLE_LIBGM2}" != "yes" ; then
3194 noconfigdirs
="$noconfigdirs gm2tools"
3197 # Check whether --enable-libssp was given.
3198 if test "${enable_libssp+set}" = set; then :
3199 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3205 # Check whether --enable-libstdcxx was given.
3206 if test "${enable_libstdcxx+set}" = set; then :
3207 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3209 ENABLE_LIBSTDCXX
=default
3212 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3213 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3216 # Enable libgomp by default on hosted POSIX systems, and a few others.
3217 if test x
$enable_libgomp = x
; then
3219 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3221 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3223 *-*-solaris2* |
*-*-hpux11*)
3225 *-*-darwin* |
*-*-aix*)
3227 nvptx
*-*-* | amdgcn
*-*-*)
3230 noconfigdirs
="$noconfigdirs target-libgomp"
3235 # Disable libatomic on unsupported systems.
3236 if test -d ${srcdir}/libatomic
; then
3237 if test x
$enable_libatomic = x
; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3239 $as_echo_n "checking for libatomic support... " >&6; }
3240 if (srcdir
=${srcdir}/libatomic
; \
3241 .
${srcdir}/configure.tgt
; \
3242 test -n "$UNSUPPORTED")
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3246 noconfigdirs
="$noconfigdirs target-libatomic"
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249 $as_echo "yes" >&6; }
3254 # Disable libitm on unsupported systems.
3255 if test -d ${srcdir}/libitm
; then
3256 if test x
$enable_libitm = x
; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3258 $as_echo_n "checking for libitm support... " >&6; }
3259 if (srcdir
=${srcdir}/libitm
; \
3260 .
${srcdir}/configure.tgt
; \
3261 test -n "$UNSUPPORTED")
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3265 noconfigdirs
="$noconfigdirs target-libitm"
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3273 # Disable libsanitizer on unsupported systems.
3274 if test -d ${srcdir}/libsanitizer
; then
3275 if test x
$enable_libsanitizer = x
; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3277 $as_echo_n "checking for libsanitizer support... " >&6; }
3278 if (srcdir
=${srcdir}/libsanitizer
; \
3279 .
${srcdir}/configure.tgt
; \
3280 test -n "$UNSUPPORTED")
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 noconfigdirs
="$noconfigdirs target-libsanitizer"
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3287 $as_echo "yes" >&6; }
3292 # Disable libvtv on unsupported systems.
3293 if test -d ${srcdir}/libvtv
; then
3294 if test x
$enable_libvtv = x
; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3296 $as_echo_n "checking for libvtv support... " >&6; }
3297 if (srcdir
=${srcdir}/libvtv
; \
3298 .
${srcdir}/configure.tgt
; \
3299 test "$VTV_SUPPORTED" != "yes")
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3303 noconfigdirs
="$noconfigdirs target-libvtv"
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3311 # Disable libquadmath for some systems.
3314 noconfigdirs
="$noconfigdirs target-libquadmath"
3316 # libquadmath is unused on AIX and libquadmath build process use of
3317 # LD_LIBRARY_PATH can break AIX bootstrap.
3318 powerpc-
*-aix* | rs6000-
*-aix*)
3319 noconfigdirs
="$noconfigdirs target-libquadmath"
3323 # Disable libssp for some systems.
3326 # No hosted I/O support.
3327 noconfigdirs
="$noconfigdirs target-libssp"
3330 noconfigdirs
="$noconfigdirs target-libssp"
3332 powerpc-
*-aix* | rs6000-
*-aix*)
3333 noconfigdirs
="$noconfigdirs target-libssp"
3336 # No hosted I/O support.
3337 noconfigdirs
="$noconfigdirs target-libssp"
3340 # libssp uses a misaligned load to trigger a fault, but the RL78
3341 # doesn't fault for those - instead, it gives a build-time error
3342 # for explicit misaligned loads.
3343 noconfigdirs
="$noconfigdirs target-libssp"
3346 # No hosted I/O support.
3347 noconfigdirs
="$noconfigdirs target-libssp"
3351 # Disable libstdc++-v3 for some systems.
3352 # Allow user to override this if they pass --enable-libstdcxx
3353 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3356 # VxWorks uses the Dinkumware C++ library.
3357 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3360 # Not ported/fails to build when using newlib.
3361 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3364 # the C++ libraries don't build on top of CE's C libraries
3365 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3368 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3371 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3374 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3379 # Disable C++ on systems where it is known to not work.
3380 # For testing, you can override this with --enable-languages=c++.
3381 case ,${enable_languages}, in
3387 unsupported_languages
="$unsupported_languages c++"
3393 # Disable Objc on systems where it is known to not work.
3394 # For testing, you can override this with --enable-languages=objc.
3395 case ,${enable_languages}, in
3401 unsupported_languages
="$unsupported_languages objc"
3407 # Disable D on systems where it is known to not work.
3408 # For testing, you can override this with --enable-languages=d.
3409 case ,${enable_languages}, in
3415 unsupported_languages
="$unsupported_languages d"
3421 # Disable libphobos on unsupported systems.
3422 # For testing, you can override this with --enable-libphobos.
3423 if test -d ${srcdir}/libphobos
; then
3424 if test x
$enable_libphobos = x
; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3426 $as_echo_n "checking for libphobos support... " >&6; }
3427 if (srcdir
=${srcdir}/libphobos
; \
3428 .
${srcdir}/configure.tgt
; \
3429 test "$LIBPHOBOS_SUPPORTED" != "yes")
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3433 noconfigdirs
="$noconfigdirs target-libphobos"
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3436 $as_echo "yes" >&6; }
3441 # Disable Fortran for some systems.
3444 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3445 unsupported_languages
="$unsupported_languages fortran"
3448 unsupported_languages
="$unsupported_languages fortran"
3452 # Disable libffi for some systems.
3456 i
[3456789]86-*-darwin*)
3458 x86_64-
*-darwin[912]*)
3461 noconfigdirs
="$noconfigdirs target-libffi"
3464 noconfigdirs
="$noconfigdirs target-libffi"
3467 noconfigdirs
="$noconfigdirs target-libffi"
3470 noconfigdirs
="$noconfigdirs target-libffi"
3473 noconfigdirs
="$noconfigdirs target-libffi"
3476 noconfigdirs
="$noconfigdirs target-libffi"
3479 noconfigdirs
="$noconfigdirs target-libffi"
3481 aarch64
*-*-freebsd*)
3482 noconfigdirs
="$noconfigdirs target-libffi"
3485 noconfigdirs
="$noconfigdirs target-libffi"
3488 noconfigdirs
="$noconfigdirs target-libffi"
3491 noconfigdirs
="$noconfigdirs target-libffi"
3494 noconfigdirs
="$noconfigdirs target-libffi"
3497 noconfigdirs
="$noconfigdirs target-libffi"
3499 cris-
*-* | crisv32-
*-*)
3503 *) # See PR46792 regarding target-libffi.
3504 noconfigdirs
="$noconfigdirs target-libffi";;
3508 noconfigdirs
="$noconfigdirs target-libffi"
3511 noconfigdirs
="$noconfigdirs target-libffi"
3513 i
[3456789]86-w64-mingw*)
3514 noconfigdirs
="$noconfigdirs target-libffi"
3516 i
[3456789]86-*-mingw*)
3517 noconfigdirs
="$noconfigdirs target-libffi"
3520 noconfigdirs
="$noconfigdirs target-libffi"
3523 noconfigdirs
="$noconfigdirs target-libffi"
3530 noconfigdirs
="$noconfigdirs target-libffi"
3533 noconfigdirs
="$noconfigdirs target-libffi"
3537 # Disable the go frontend on systems where it is known to not work. Please keep
3538 # this in sync with contrib/config-list.mk.
3540 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3541 unsupported_languages
="$unsupported_languages go"
3545 # Only allow gdbserver on some systems.
3546 if test -d ${srcdir}/gdbserver
; then
3547 if test x
$enable_gdbserver = x
; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3549 $as_echo_n "checking for gdbserver support... " >&6; }
3550 if (srcdir
=${srcdir}/gdbserver
; \
3551 .
${srcdir}/configure.srv
; \
3552 test -n "$UNSUPPORTED")
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 noconfigdirs
="$noconfigdirs gdbserver"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3559 $as_echo "yes" >&6; }
3564 # Disable libgo for some systems where it is known to not work.
3565 # For testing, you can easily override this with --enable-libgo.
3566 if test x
$enable_libgo = x
; then
3570 noconfigdirs
="$noconfigdirs target-libgo"
3572 *-*-cygwin* |
*-*-mingw*)
3573 noconfigdirs
="$noconfigdirs target-libgo"
3576 noconfigdirs
="$noconfigdirs target-libgo"
3581 # Default libgloss CPU subdirectory.
3582 libgloss_dir
="$target_cpu"
3585 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3589 libgloss_dir
=aarch64
3594 cris-
*-* | crisv32-
*-*)
3604 libgloss_dir
=loongarch
3606 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3607 libgloss_dir
=m68hc11
3609 m68
*-*-* | fido-
*-*)
3626 # Disable newlib and libgloss for various target OSes.
3629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3631 i
[3456789]86-*-linux*)
3632 # This section makes it possible to build newlib natively on linux.
3633 # If we are using a cross compiler then don't configure newlib.
3634 if test x
${is_cross_compiler} != xno
; then
3635 noconfigdirs
="$noconfigdirs target-newlib"
3637 noconfigdirs
="$noconfigdirs target-libgloss"
3638 # If we are not using a cross compiler, do configure newlib.
3639 # Note however, that newlib will only be configured in this situation
3640 # if the --with-newlib option has been given, because otherwise
3641 # 'target-newlib' will appear in skipdirs.
3643 i
[3456789]86-*-rdos*)
3644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3646 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3650 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3653 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3656 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3659 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3662 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3665 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3668 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3670 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3671 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3674 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3677 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3680 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3701 noconfigdirs
="$noconfigdirs sim target-rda"
3706 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3707 noconfigdirs
="$noconfigdirs sim target-rda"
3710 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3711 noconfigdirs
="$noconfigdirs sim target-rda"
3713 i
[3456789]86-*-darwin*)
3714 noconfigdirs
="$noconfigdirs ld gprof"
3715 noconfigdirs
="$noconfigdirs sim target-rda"
3717 x86_64-
*-darwin[912]*)
3718 noconfigdirs
="$noconfigdirs ld gas gprof"
3719 noconfigdirs
="$noconfigdirs sim target-rda"
3722 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3723 noconfigdirs
="$noconfigdirs sim target-rda"
3728 if test "x$with_gmp" = x \
3729 && ! test -d ${srcdir}/gmp \
3730 && test -f /usr
/local
/include
/gmp.h
; then
3735 # Remove unsupported stuff on all kaOS configurations.
3736 noconfigdirs
="$noconfigdirs target-libgloss"
3743 noconfigdirs
="$noconfigdirs target-libgloss"
3746 noconfigdirs
="$noconfigdirs target-libgloss"
3748 # The tpf target doesn't support gdb yet.
3750 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3753 noconfigdirs
="$noconfigdirs target-rda"
3758 # ld works, but does not support shared libraries.
3759 # gas doesn't generate exception information.
3760 noconfigdirs
="$noconfigdirs gas ld"
3763 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3766 # newlib is not 64 bit ready
3767 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3770 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3772 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3773 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3776 noconfigdirs
="$noconfigdirs sim"
3779 noconfigdirs
="$noconfigdirs target-libgloss"
3782 noconfigdirs
="$noconfigdirs ld target-libgloss"
3785 if test x
${with_avrlibc} != xno
; then
3786 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3789 c4x-
*-* | tic4x-
*-*)
3790 noconfigdirs
="$noconfigdirs target-libgloss"
3793 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3796 noconfigdirs
="$noconfigdirs target-libgloss"
3799 noconfigdirs
="$noconfigdirs gdb"
3802 noconfigdirs
="$noconfigdirs gdb"
3805 noconfigdirs
="$noconfigdirs target-rda gprof"
3808 noconfigdirs
="$noconfigdirs"
3811 noconfigdirs
="$noconfigdirs target-libgloss"
3814 noconfigdirs
="$noconfigdirs target-libgloss"
3817 noconfigdirs
="$noconfigdirs gdb"
3825 hppa
*-*-openbsd* | \
3831 noconfigdirs
="$noconfigdirs ld"
3834 noconfigdirs
="$noconfigdirs gdb"
3837 # No gdb support yet.
3838 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3841 # No ld support yet.
3842 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3845 # No ld support yet.
3846 noconfigdirs
="$noconfigdirs libgui itcl ld"
3848 i
[3456789]86-w64-mingw*)
3850 i
[3456789]86-*-mingw*)
3851 target_configdirs
="$target_configdirs target-winsup"
3854 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3855 noconfigdirs
="$noconfigdirs target-libgloss"
3856 # always build newlib if winsup directory is present.
3857 if test -d "$srcdir/winsup/cygwin"; then
3858 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3859 elif test -d "$srcdir/newlib"; then
3860 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3864 noconfigdirs
="$noconfigdirs target-libgloss"
3866 i
[3456789]86-*-sco3.2v5
*)
3867 # The linker does not yet know about weak symbols in COFF,
3868 # and is not configured to handle mixed ELF and COFF.
3869 noconfigdirs
="$noconfigdirs ld target-libgloss"
3871 i
[3456789]86-*-sco*)
3872 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3874 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3875 noconfigdirs
="$noconfigdirs target-libgloss"
3877 i
[3456789]86-*-sysv4*)
3878 noconfigdirs
="$noconfigdirs target-libgloss"
3880 i
[3456789]86-*-beos*)
3881 noconfigdirs
="$noconfigdirs gdb"
3883 i
[3456789]86-*-rdos*)
3884 noconfigdirs
="$noconfigdirs gdb"
3887 noconfigdirs
="$noconfigdirs gdb"
3890 noconfigdirs
="$noconfigdirs sim"
3893 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3894 noconfigdirs
="$noconfigdirs $target_libraries"
3897 noconfigdirs
="$noconfigdirs gdb gprof"
3900 # copied from rs6000-*-* entry
3901 noconfigdirs
="$noconfigdirs gprof"
3903 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3904 target_configdirs
="$target_configdirs target-winsup"
3905 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3906 # always build newlib.
3907 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3909 # This is temporary until we can link against shared libraries
3910 powerpcle-
*-solaris*)
3911 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3914 noconfigdirs
="$noconfigdirs gdb"
3917 noconfigdirs
="$noconfigdirs gprof"
3920 noconfigdirs
="$noconfigdirs gprof"
3923 noconfigdirs
="$noconfigdirs gprof"
3926 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3929 noconfigdirs
="$noconfigdirs gprof"
3931 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3932 if test x
$with_newlib = xyes
; then
3933 noconfigdirs
="$noconfigdirs gprof"
3937 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3940 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3943 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3947 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3948 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3949 noconfigdirs
="$noconfigdirs ld gas gprof"
3952 noconfigdirs
="$noconfigdirs gprof"
3955 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3962 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3966 if test x
${is_cross_compiler} = xno
; then
3971 noconfigdirs
="$noconfigdirs sim"
3974 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3977 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3980 noconfigdirs
="$noconfigdirs ld"
3982 loongarch
*-*-linux*)
3985 noconfigdirs
="$noconfigdirs gprof"
3989 # If we aren't building newlib, then don't build libgloss, since libgloss
3990 # depends upon some newlib header files.
3991 case "${noconfigdirs}" in
3992 *target-libgloss
*) ;;
3993 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3996 # Work in distributions that contain no compiler tools, like Autoconf.
3997 host_makefile_frag
=/dev
/null
3998 if test -d ${srcdir}/config
; then
4000 i
[3456789]86-*-msdosdjgpp*)
4001 host_makefile_frag
="config/mh-djgpp"
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4006 $as_echo_n "checking to see if cat works as expected... " >&6; }
4007 echo a
>cygwin-cat-check
4008 if test `cat cygwin-cat-check` = a
; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011 $as_echo "yes" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4016 as_fn_error $?
"The cat command does not ignore carriage return characters.
4017 Please either mount the build directory in binary mode or run the following
4018 commands before running any configure script:
4024 host_makefile_frag
="config/mh-cygwin"
4027 host_makefile_frag
="config/mh-mingw"
4030 host_makefile_frag
="config/mh-alpha-linux"
4033 host_makefile_frag
="config/mh-pa"
4036 host_makefile_frag
="config/mh-pa"
4038 i?
86-*-darwin[89]* | i?
86-*-darwin1[0-7]* | powerpc
*-*-darwin*)
4039 host_makefile_frag
="config/mh-darwin"
4042 host_makefile_frag
="config/mh-ppc-aix"
4045 host_makefile_frag
="config/mh-ppc-aix"
4050 if test "${build}" != "${host}" ; then
4051 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4052 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4053 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4054 CPP_FOR_BUILD
="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
4055 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4056 DSYMUTIL_FOR_BUILD
=${DSYMUTIL_FOR_BUILD-dsymutil}
4057 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4058 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4059 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4060 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4061 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4062 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4063 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4064 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4065 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4067 AR_FOR_BUILD
="\$(AR)"
4068 AS_FOR_BUILD
="\$(AS)"
4069 CC_FOR_BUILD
="\$(CC)"
4070 CXX_FOR_BUILD
="\$(CXX)"
4071 DSYMUTIL_FOR_BUILD
="\$(DSYMUTIL)"
4072 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4073 GOC_FOR_BUILD
="\$(GOC)"
4074 GDC_FOR_BUILD
="\$(GDC)"
4075 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4076 LD_FOR_BUILD
="\$(LD)"
4077 NM_FOR_BUILD
="\$(NM)"
4078 RANLIB_FOR_BUILD
="\$(RANLIB)"
4079 WINDRES_FOR_BUILD
="\$(WINDRES)"
4080 WINDMC_FOR_BUILD
="\$(WINDMC)"
4084 ac_cpp
='$CPP $CPPFLAGS'
4085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4088 if test -n "$ac_tool_prefix"; then
4089 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4090 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_CC+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$CC"; then
4097 ac_cv_prog_CC
="$CC" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 if test -n "$CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4119 $as_echo "$CC" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4127 if test -z "$ac_cv_prog_CC"; then
4129 # Extract the first word of "gcc", so it can be a program name with args.
4130 set dummy gcc
; ac_word
=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$ac_ct_CC"; then
4137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_ac_ct_CC
="gcc"
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4157 if test -n "$ac_ct_CC"; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4159 $as_echo "$ac_ct_CC" >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4165 if test "x$ac_ct_CC" = x
; then
4168 case $cross_compiling:$ac_tool_warned in
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4172 ac_tool_warned
=yes ;;
4180 if test -z "$CC"; then
4181 if test -n "$ac_tool_prefix"; then
4182 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4183 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if ${ac_cv_prog_CC+:} false
; then :
4187 $as_echo_n "(cached) " >&6
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC
="$CC" # Let the user override the test.
4192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir
=.
4197 for ac_exec_ext
in '' $ac_executable_extensions; do
4198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4199 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212 $as_echo "$CC" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4221 if test -z "$CC"; then
4222 # Extract the first word of "cc", so it can be a program name with args.
4223 set dummy cc
; ac_word
=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_prog_CC+:} false
; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -n "$CC"; then
4230 ac_cv_prog_CC
="$CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4240 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4241 ac_prog_rejected
=yes
4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 if test $ac_prog_rejected = yes; then
4253 # We found a bogon in the path, so make sure we never use it.
4254 set dummy
$ac_cv_prog_CC
4256 if test $# != 0; then
4257 # We chose a different compiler from the bogus one.
4258 # However, it has the same basename, so the bogon will be chosen
4259 # first if we set CC to just the basename; use the full file name.
4261 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4267 if test -n "$CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4269 $as_echo "$CC" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4277 if test -z "$CC"; then
4278 if test -n "$ac_tool_prefix"; then
4279 for ac_prog
in cl.exe
4281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4282 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_CC+:} false
; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$CC"; then
4289 ac_cv_prog_CC
="$CC" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$CC"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4311 $as_echo "$CC" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$CC" && break
4321 if test -z "$CC"; then
4323 for ac_prog
in cl.exe
4325 # Extract the first word of "$ac_prog", so it can be a program name with args.
4326 set dummy
$ac_prog; ac_word
=$2
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4328 $as_echo_n "checking for $ac_word... " >&6; }
4329 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4330 $as_echo_n "(cached) " >&6
4332 if test -n "$ac_ct_CC"; then
4333 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir
=.
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_prog_ac_ct_CC
="$ac_prog"
4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4353 if test -n "$ac_ct_CC"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4355 $as_echo "$ac_ct_CC" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4362 test -n "$ac_ct_CC" && break
4365 if test "x$ac_ct_CC" = x
; then
4368 case $cross_compiling:$ac_tool_warned in
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4372 ac_tool_warned
=yes ;;
4381 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4383 as_fn_error $?
"no acceptable C compiler found in \$PATH
4384 See \`config.log' for more details" "$LINENO" 5; }
4386 # Provide some information about the compiler.
4387 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4390 for ac_option
in --version -v -V -qversion; do
4391 { { ac_try
="$ac_compiler $ac_option >&5"
4393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4397 $as_echo "$ac_try_echo"; } >&5
4398 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4400 if test -s conftest.err; then
4402 ... rest of stderr output deleted ...
4403 10q' conftest.err >conftest.er1
4404 cat conftest.er1 >&5
4406 rm -f conftest.er1 conftest.err
4407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4408 test $ac_status = 0; }
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4422 ac_clean_files_save=$ac_clean_files
4423 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4424 # Try to create an executable without -o first, disregard a.out.
4425 # It will help us diagnose broken compilers, and finding out an intuition
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4428 $as_echo_n "checking whether the C compiler works... " >&6; }
4429 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4431 # The possible output files:
4432 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4435 for ac_file in $ac_files
4438 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4439 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4444 if { { ac_try="$ac_link_default"
4446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4447 *) ac_try_echo
=$ac_try;;
4449 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_link_default") 2>&5
4453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4454 test $ac_status = 0; }; then :
4455 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4456 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4457 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4458 # so that the user can short-circuit this test for compilers unknown to
4460 for ac_file
in $ac_files ''
4462 test -f "$ac_file" ||
continue
4464 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4467 # We found the default executable, but exeext='' is most
4471 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4473 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4475 # We set ac_cv_exeext here because the later test for it is not
4476 # safe: cross compilers may not add the suffix if given an `-o'
4477 # argument, so we may need to know it at that point already.
4478 # Even if this section looks crufty: it has the advantage of
4485 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4490 if test -z "$ac_file"; then :
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4493 $as_echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.
$ac_ext >&5
4496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4498 as_fn_error
77 "C compiler cannot create executables
4499 See \`config.log' for more details" "$LINENO" 5; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4502 $as_echo "yes" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4505 $as_echo_n "checking for C compiler default output file name... " >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4507 $as_echo "$ac_file" >&6; }
4508 ac_exeext
=$ac_cv_exeext
4510 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4511 ac_clean_files
=$ac_clean_files_save
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4513 $as_echo_n "checking for suffix of executables... " >&6; }
4514 if { { ac_try
="$ac_link"
4516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_link") 2>&5
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }; then :
4525 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4526 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4527 # work properly (i.e., refer to `conftest.exe'), while it won't with
4529 for ac_file
in conftest.exe conftest conftest.
*; do
4530 test -f "$ac_file" ||
continue
4532 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4533 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4541 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4542 See \`config.log' for more details" "$LINENO" 5; }
4544 rm -f conftest conftest
$ac_cv_exeext
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4546 $as_echo "$ac_cv_exeext" >&6; }
4548 rm -f conftest.
$ac_ext
4549 EXEEXT
=$ac_cv_exeext
4551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4557 FILE *f = fopen ("conftest.out", "w");
4558 return ferror (f) || fclose (f) != 0;
4564 ac_clean_files
="$ac_clean_files conftest.out"
4565 # Check that the compiler produces executables we can run. If not, either
4566 # the compiler is broken, or we cross compile.
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4568 $as_echo_n "checking whether we are cross compiling... " >&6; }
4569 if test "$cross_compiling" != yes; then
4570 { { ac_try
="$ac_link"
4572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4576 $as_echo "$ac_try_echo"; } >&5
4577 (eval "$ac_link") 2>&5
4579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4580 test $ac_status = 0; }
4581 if { ac_try='./conftest$ac_cv_exeext'
4582 { { case "(($ac_try" in
4583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4584 *) ac_try_echo
=$ac_try;;
4586 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4587 $as_echo "$ac_try_echo"; } >&5
4588 (eval "$ac_try") 2>&5
4590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4591 test $ac_status = 0; }; }; then
4594 if test "$cross_compiling" = maybe
; then
4597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4599 as_fn_error $?
"cannot run C compiled programs.
4600 If you meant to cross compile, use \`--host'.
4601 See \`config.log' for more details" "$LINENO" 5; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4606 $as_echo "$cross_compiling" >&6; }
4608 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4609 ac_clean_files
=$ac_clean_files_save
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4611 $as_echo_n "checking for suffix of object files... " >&6; }
4612 if ${ac_cv_objext+:} false
; then :
4613 $as_echo_n "(cached) " >&6
4615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4626 rm -f conftest.o conftest.obj
4627 if { { ac_try
="$ac_compile"
4629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4630 *) ac_try_echo=$ac_try;;
4632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4633 $as_echo "$ac_try_echo"; } >&5
4634 (eval "$ac_compile") 2>&5
4636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4637 test $ac_status = 0; }; then :
4638 for ac_file in conftest.o conftest.obj conftest.*; do
4639 test -f "$ac_file" || continue;
4641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4642 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4647 $as_echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.$ac_ext >&5
4650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4652 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4653 See \
`config.log' for more details" "$LINENO" 5; }
4655 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4658 $as_echo "$ac_cv_objext" >&6; }
4659 OBJEXT=$ac_cv_objext
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4662 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4663 if ${ac_cv_c_compiler_gnu+:} false; then :
4664 $as_echo_n "(cached) " >&6
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4680 if ac_fn_c_try_compile "$LINENO"; then :
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4690 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4691 if test $ac_compiler_gnu = yes; then
4696 ac_test_CFLAGS=${CFLAGS+set}
4697 ac_save_CFLAGS=$CFLAGS
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4699 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4700 if ${ac_cv_prog_cc_g+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 ac_save_c_werror_flag=$ac_c_werror_flag
4704 ac_c_werror_flag=yes
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4718 if ac_fn_c_try_compile "$LINENO"; then :
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4733 if ac_fn_c_try_compile "$LINENO"; then :
4736 ac_c_werror_flag=$ac_save_c_werror_flag
4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4749 if ac_fn_c_try_compile "$LINENO"; then :
4752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 ac_c_werror_flag=$ac_save_c_werror_flag
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4760 $as_echo "$ac_cv_prog_cc_g" >&6; }
4761 if test "$ac_test_CFLAGS" = set; then
4762 CFLAGS=$ac_save_CFLAGS
4763 elif test $ac_cv_prog_cc_g = yes; then
4764 if test "$GCC" = yes; then
4770 if test "$GCC" = yes; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4777 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4778 if ${ac_cv_prog_cc_c89+:} false; then :
4779 $as_echo_n "(cached) " >&6
4781 ac_cv_prog_cc_c89=no
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4788 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4789 struct buf { int x; };
4790 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4791 static char *e (p, i)
4797 static char *f (char * (*g) (char **, int), char **p, ...)
4802 s = g (p, va_arg (v,int));
4807 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4808 function prototypes and stuff, but not '\xHH' hex character constants.
4809 These don't provoke an error unfortunately, instead are silently treated
4810 as 'x'. The following induces an error, until -std is added to get
4811 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4812 array size at least. It's necessary to write '\x00'==0 to get something
4813 that's true only with -std. */
4814 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4816 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4817 inside strings and character constants. */
4819 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4821 int test (int i, double x);
4822 struct s1 {int (*f) (int a);};
4823 struct s2 {int (*f) (double a);};
4824 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4830 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4835 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4836 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4838 CC="$ac_save_CC $ac_arg"
4839 if ac_fn_c_try_compile "$LINENO"; then :
4840 ac_cv_prog_cc_c89=$ac_arg
4842 rm -f core conftest.err conftest.$ac_objext
4843 test "x$ac_cv_prog_cc_c89" != "xno" && break
4845 rm -f conftest.$ac_ext
4850 case "x$ac_cv_prog_cc_c89" in
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4853 $as_echo "none needed" >&6; } ;;
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4856 $as_echo "unsupported" >&6; } ;;
4858 CC="$CC $ac_cv_prog_cc_c89"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4860 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4862 if test "x$ac_cv_prog_cc_c89" != xno; then :
4867 ac_cpp='$CPP $CPPFLAGS'
4868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4873 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4874 if ${ac_cv_prog_cc_c99+:} false; then :
4875 $as_echo_n "(cached) " >&6
4877 ac_cv_prog_cc_c99=no
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4882 #include <stdbool.h>
4887 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4888 #define debug(...) fprintf (stderr, __VA_ARGS__)
4889 #define showlist(...) puts (#__VA_ARGS__)
4890 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4892 test_varargs_macros (void)
4897 debug ("X = %d\n", x);
4898 showlist (The first, second, and third items.);
4899 report (x>y, "x is %d but y is %d", x, y);
4902 // Check long long types.
4903 #define BIG64 18446744073709551615ull
4904 #define BIG32 4294967295ul
4905 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4907 your preprocessor is broken;
4911 your preprocessor is broken;
4913 static long long int bignum = -9223372036854775807LL;
4914 static unsigned long long int ubignum = BIG64;
4916 struct incomplete_array
4924 const wchar_t *name;
4928 typedef const char *ccp;
4931 test_restrict (ccp restrict text)
4933 // See if C++-style comments work.
4934 // Iterate through items via the restricted pointer.
4935 // Also check for declarations in for loops.
4936 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4941 // Check varargs and va_copy.
4943 test_varargs (const char *format, ...)
4946 va_start (args, format);
4948 va_copy (args_copy, args);
4959 str = va_arg (args_copy, const char *);
4962 number = va_arg (args_copy, int);
4965 fnumber = va_arg (args_copy, double);
4980 _Bool success = false;
4983 if (test_restrict ("String literal") == 0)
4985 char *restrict newvar = "Another string";
4988 test_varargs ("s, d' f .", "string", 65, 34.234);
4989 test_varargs_macros ();
4991 // Check flexible array members.
4992 struct incomplete_array *ia =
4993 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4995 for (int i = 0; i < ia->datasize; ++i)
4996 ia->data[i] = i * 1.234;
4998 // Check named initializers.
4999 struct named_init ni = {
5001 .name = L"Test wide string",
5002 .average = 543.34343,
5007 int dynamic_array[ni.number];
5008 dynamic_array[ni.number - 1] = 543;
5010 // work around unused variable warnings
5011 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5012 || dynamic_array[ni.number - 1] != 543);
5018 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5020 CC="$ac_save_CC $ac_arg"
5021 if ac_fn_c_try_compile "$LINENO"; then :
5022 ac_cv_prog_cc_c99=$ac_arg
5024 rm -f core conftest.err conftest.$ac_objext
5025 test "x$ac_cv_prog_cc_c99" != "xno" && break
5027 rm -f conftest.$ac_ext
5032 case "x$ac_cv_prog_cc_c99" in
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5035 $as_echo "none needed" >&6; } ;;
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5038 $as_echo "unsupported" >&6; } ;;
5040 CC="$CC $ac_cv_prog_cc_c99"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5042 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5044 if test "x$ac_cv_prog_cc_c99" != xno; then :
5050 ac_cpp='$CXXCPP $CPPFLAGS'
5051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5054 if test -z "$CXX"; then
5055 if test -n "$CCC"; then
5058 if test -n "$ac_tool_prefix"; then
5059 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if ${ac_cv_prog_CXX+:} false; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$CXX"; then
5069 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 if test -n "$CXX"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5091 $as_echo "$CXX" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5098 test -n "$CXX" && break
5101 if test -z "$CXX"; then
5103 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5105 # Extract the first word of "$ac_prog", so it can be a program name with args.
5106 set dummy $ac_prog; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$ac_ct_CXX"; then
5113 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_ac_ct_CXX="$ac_prog"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5133 if test -n "$ac_ct_CXX"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5135 $as_echo "$ac_ct_CXX" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 test -n "$ac_ct_CXX" && break
5145 if test "x$ac_ct_CXX" = x; then
5148 case $cross_compiling:$ac_tool_warned in
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5152 ac_tool_warned=yes ;;
5160 # Provide some information about the compiler.
5161 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5164 for ac_option in --version -v -V -qversion; do
5165 { { ac_try="$ac_compiler $ac_option >&5"
5167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5168 *) ac_try_echo
=$ac_try;;
5170 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 $as_echo "$ac_try_echo"; } >&5
5172 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5174 if test -s conftest.err
; then
5176 ... rest of stderr output deleted ...
5177 10q' conftest.err
>conftest.er1
5178 cat conftest.er1
>&5
5180 rm -f conftest.er1 conftest.err
5181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5182 test $ac_status = 0; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5186 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5187 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5204 if ac_fn_cxx_try_compile
"$LINENO"; then :
5209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5210 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5214 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5215 if test $ac_compiler_gnu = yes; then
5220 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5221 ac_save_CXXFLAGS
=$CXXFLAGS
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5223 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5224 if ${ac_cv_prog_cxx_g+:} false
; then :
5225 $as_echo_n "(cached) " >&6
5227 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5228 ac_cxx_werror_flag
=yes
5231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5242 if ac_fn_cxx_try_compile
"$LINENO"; then :
5243 ac_cv_prog_cxx_g
=yes
5246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5257 if ac_fn_cxx_try_compile
"$LINENO"; then :
5260 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5273 if ac_fn_cxx_try_compile
"$LINENO"; then :
5274 ac_cv_prog_cxx_g
=yes
5276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5281 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5284 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5285 if test "$ac_test_CXXFLAGS" = set; then
5286 CXXFLAGS
=$ac_save_CXXFLAGS
5287 elif test $ac_cv_prog_cxx_g = yes; then
5288 if test "$GXX" = yes; then
5294 if test "$GXX" = yes; then
5301 ac_cpp
='$CPP $CPPFLAGS'
5302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5307 # We must set the default linker to the linker used by gcc for the correct
5308 # operation of libtool. If LD is not defined and we are using gcc, try to
5309 # set the LD default to the ld used by gcc.
5310 if test -z "$LD"; then
5311 if test "$GCC" = yes; then
5314 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5316 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5318 case $gcc_prog_ld in
5319 # Accept absolute paths.
5320 [\\/]* |
[A-Za-z
]:[\\/]*)
5321 LD
="$gcc_prog_ld" ;;
5326 # Check whether -static-libstdc++ -static-libgcc is supported.
5328 if test "$GCC" = yes; then
5329 saved_LDFLAGS
="$LDFLAGS"
5331 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5333 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5335 ac_cpp
='$CXXCPP $CPPFLAGS'
5336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5344 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5345 #error -static-libstdc++ not implemented
5349 if ac_fn_cxx_try_link
"$LINENO"; then :
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }; have_static_libs
=yes
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5356 rm -f core conftest.err conftest.
$ac_objext \
5357 conftest
$ac_exeext conftest.
$ac_ext
5359 ac_cpp
='$CPP $CPPFLAGS'
5360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5365 LDFLAGS
="$saved_LDFLAGS"
5371 if test -n "$ac_tool_prefix"; then
5372 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5373 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_GNATBIND+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5379 if test -n "$GNATBIND"; then
5380 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5386 test -z "$as_dir" && as_dir
=.
5387 for ac_exec_ext
in '' $ac_executable_extensions; do
5388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399 GNATBIND
=$ac_cv_prog_GNATBIND
5400 if test -n "$GNATBIND"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5402 $as_echo "$GNATBIND" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5410 if test -z "$ac_cv_prog_GNATBIND"; then
5411 ac_ct_GNATBIND
=$GNATBIND
5412 # Extract the first word of "gnatbind", so it can be a program name with args.
5413 set dummy gnatbind
; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5419 if test -n "$ac_ct_GNATBIND"; then
5420 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5426 test -z "$as_dir" && as_dir
=.
5427 for ac_exec_ext
in '' $ac_executable_extensions; do
5428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5429 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5440 if test -n "$ac_ct_GNATBIND"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5442 $as_echo "$ac_ct_GNATBIND" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445 $as_echo "no" >&6; }
5448 if test "x$ac_ct_GNATBIND" = x
; then
5451 case $cross_compiling:$ac_tool_warned in
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455 ac_tool_warned
=yes ;;
5457 GNATBIND
=$ac_ct_GNATBIND
5460 GNATBIND
="$ac_cv_prog_GNATBIND"
5463 if test -n "$ac_tool_prefix"; then
5464 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5465 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5469 $as_echo_n "(cached) " >&6
5471 if test -n "$GNATMAKE"; then
5472 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir
=.
5479 for ac_exec_ext
in '' $ac_executable_extensions; do
5480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 GNATMAKE
=$ac_cv_prog_GNATMAKE
5492 if test -n "$GNATMAKE"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5494 $as_echo "$GNATMAKE" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5502 if test -z "$ac_cv_prog_GNATMAKE"; then
5503 ac_ct_GNATMAKE
=$GNATMAKE
5504 # Extract the first word of "gnatmake", so it can be a program name with args.
5505 set dummy gnatmake
; ac_word
=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$ac_ct_GNATMAKE"; then
5512 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_exec_ext
in '' $ac_executable_extensions; do
5520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5532 if test -n "$ac_ct_GNATMAKE"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5534 $as_echo "$ac_ct_GNATMAKE" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5540 if test "x$ac_ct_GNATMAKE" = x
; then
5543 case $cross_compiling:$ac_tool_warned in
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5547 ac_tool_warned
=yes ;;
5549 GNATMAKE
=$ac_ct_GNATMAKE
5552 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada and is recent enough" >&5
5556 $as_echo_n "checking whether compiler driver understands Ada and is recent enough... " >&6; }
5557 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5560 cat >conftest.adb
<<EOF
5561 pragma Warnings (Off);
5563 pragma Warnings (On);
5564 use type System.CRTL.int64;
5565 procedure conftest is begin null; end conftest;
5567 acx_cv_cc_gcc_supports_ada
=no
5568 # There is a bug in old released versions of GCC which causes the
5569 # driver to exit successfully when the appropriate language module
5570 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5571 # Therefore we must check for the error message as well as an
5572 # unsuccessful exit.
5573 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5574 # given a .adb file, but produce no object file. So we must check
5575 # if an object file was really produced to guard against this.
5576 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5577 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5578 acx_cv_cc_gcc_supports_ada
=yes
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5583 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5585 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5593 if test -n "$ac_tool_prefix"; then
5594 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5595 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_GDC+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 if test -n "$GDC"; then
5602 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 if test -n "$GDC"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5624 $as_echo "$GDC" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5632 if test -z "$ac_cv_prog_GDC"; then
5634 # Extract the first word of "gdc", so it can be a program name with args.
5635 set dummy gdc
; ac_word
=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_ac_ct_GDC+:} false
; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$ac_ct_GDC"; then
5642 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_ac_ct_GDC
="gdc"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
5662 if test -n "$ac_ct_GDC"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5664 $as_echo "$ac_ct_GDC" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5670 if test "x$ac_ct_GDC" = x
; then
5673 case $cross_compiling:$ac_tool_warned in
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5677 ac_tool_warned
=yes ;;
5682 GDC
="$ac_cv_prog_GDC"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the D compiler works" >&5
5686 $as_echo_n "checking whether the D compiler works... " >&6; }
5687 if ${acx_cv_d_compiler_works+:} false
; then :
5688 $as_echo_n "(cached) " >&6
5690 cat >conftest.d
<<EOF
5691 module conftest; int main() { return 0; }
5693 acx_cv_d_compiler_works
=no
5694 if test "x$GDC" != xno
; then
5695 errors
=`(${GDC} -c conftest.d) 2>&1 || echo failure`
5696 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5697 acx_cv_d_compiler_works
=yes
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_d_compiler_works" >&5
5703 $as_echo "$acx_cv_d_compiler_works" >&6; }
5704 if test "x$GDC" != xno
&& test x
$acx_cv_d_compiler_works != xno
; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5711 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5712 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5713 $as_echo_n "(cached) " >&6
5717 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5718 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5719 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5722 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5725 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5726 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5729 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5736 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5737 do_compare
="$gcc_cv_prog_cmp_skip"
5741 # Check whether --enable-bootstrap was given.
5742 if test "${enable_bootstrap+set}" = set; then :
5743 enableval
=$enable_bootstrap;
5745 enable_bootstrap
=default
5749 # Issue errors and warnings for invalid/strange bootstrap combinations.
5750 if test -r $srcdir/gcc
/configure
; then
5756 case "$have_compiler:$host:$target:$enable_bootstrap" in
5759 # Default behavior. Enable bootstrap if we have a compiler
5760 # and we are in a native configuration.
5761 yes:$build:$build:default
)
5762 enable_bootstrap
=yes ;;
5765 enable_bootstrap
=no
;;
5767 # We have a compiler and we are in a native configuration, bootstrap is ok
5768 yes:$build:$build:yes)
5771 # Other configurations, but we have a compiler. Assume the user knows
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5775 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5778 # No compiler: if they passed --enable-bootstrap explicitly, fail
5780 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5782 # Fail if wrong command line
5784 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5788 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5789 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5790 # require C++11 (or higher).
5791 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5792 CXX
="$CXX -std=c++11"
5793 elif test "$have_compiler" = yes; then
5794 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5796 ac_cpp
='$CXXCPP $CPPFLAGS'
5797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5803 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5804 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5805 $as_echo_n "(cached) " >&6
5807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5811 // If the compiler admits that it is not ready for C++11, why torture it?
5812 // Hopefully, this will speed up the test.
5816 #error "This is not a C++ compiler"
5818 #elif __cplusplus < 201103L
5820 #error "This is not a C++11 compiler"
5827 namespace test_static_assert
5830 template <typename T>
5833 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5838 namespace test_final_override
5847 struct Derived : public Base
5849 virtual ~Derived() override {}
5850 virtual void f() override {}
5855 namespace test_double_right_angle_brackets
5858 template < typename T >
5861 typedef check<void> single_type;
5862 typedef check<check<void>> double_type;
5863 typedef check<check<check<void>>> triple_type;
5864 typedef check<check<check<check<void>>>> quadruple_type;
5868 namespace test_decltype
5881 namespace test_type_deduction
5884 template < typename T1, typename T2 >
5887 static const bool value = false;
5890 template < typename T >
5891 struct is_same<T, T>
5893 static const bool value = true;
5896 template < typename T1, typename T2 >
5898 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5904 test(const int c, volatile int v)
5906 static_assert(is_same<int, decltype(0)>::value == true, "");
5907 static_assert(is_same<int, decltype(c)>::value == false, "");
5908 static_assert(is_same<int, decltype(v)>::value == false, "");
5911 auto sumi = ac + av + 'x';
5912 auto sumf = ac + av + 1.0;
5913 static_assert(is_same<int, decltype(ac)>::value == true, "");
5914 static_assert(is_same<int, decltype(av)>::value == true, "");
5915 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5916 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5917 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5918 return (sumf > 0.0) ? sumi : add(c, v);
5923 namespace test_noexcept
5926 int f() { return 0; }
5927 int g() noexcept { return 0; }
5929 static_assert(noexcept(f()) == false, "");
5930 static_assert(noexcept(g()) == true, "");
5934 namespace test_constexpr
5937 template < typename CharT >
5938 unsigned long constexpr
5939 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5941 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5944 template < typename CharT >
5945 unsigned long constexpr
5946 strlen_c(const CharT *const s) noexcept
5948 return strlen_c_r(s, 0UL);
5951 static_assert(strlen_c("") == 0UL, "");
5952 static_assert(strlen_c("1") == 1UL, "");
5953 static_assert(strlen_c("example") == 7UL, "");
5954 static_assert(strlen_c("another\0example") == 7UL, "");
5958 namespace test_rvalue_references
5964 static constexpr int value = N;
5967 answer<1> f(int&) { return answer<1>(); }
5968 answer<2> f(const int&) { return answer<2>(); }
5969 answer<3> f(int&&) { return answer<3>(); }
5976 static_assert(decltype(f(i))::value == 1, "");
5977 static_assert(decltype(f(c))::value == 2, "");
5978 static_assert(decltype(f(0))::value == 3, "");
5983 namespace test_uniform_initialization
5988 static const int zero {};
5989 static const int one {1};
5992 static_assert(test::zero == 0, "");
5993 static_assert(test::one == 1, "");
5997 namespace test_lambdas
6003 auto lambda1 = [](){};
6004 auto lambda2 = lambda1;
6012 auto a = [](int i, int j){ return i + j; }(1, 2);
6013 auto b = []() -> int { return '0'; }();
6014 auto c = [=](){ return a + b; }();
6015 auto d = [&](){ return c; }();
6016 auto e = [a, &b](int x) mutable {
6017 const auto identity = [](int y){ return y; };
6018 for (auto i = 0; i < a; ++i)
6020 return x + identity(a + b);
6022 return a + b + c + d + e;
6028 const auto nullary = [](){ return 0; };
6029 const auto unary = [](int x){ return x; };
6030 using nullary_t = decltype(nullary);
6031 using unary_t = decltype(unary);
6032 const auto higher1st = [](nullary_t f){ return f(); };
6033 const auto higher2nd = [unary](nullary_t f1){
6034 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6036 return higher1st(nullary) + higher2nd(nullary)(unary);
6041 namespace test_variadic_templates
6047 template <int N0, int... N1toN>
6048 struct sum<N0, N1toN...>
6050 static constexpr auto value = N0 + sum<N1toN...>::value;
6056 static constexpr auto value = 0;
6059 static_assert(sum<>::value == 0, "");
6060 static_assert(sum<1>::value == 1, "");
6061 static_assert(sum<23>::value == 23, "");
6062 static_assert(sum<1, 2>::value == 3, "");
6063 static_assert(sum<5, 5, 11>::value == 21, "");
6064 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6068 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6069 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6071 namespace test_template_alias_sfinae
6076 template<typename T>
6077 using member = typename T::member_type;
6079 template<typename T>
6082 template<typename T>
6083 void func(member<T>*) {}
6087 void test() { func<foo>(0); }
6091 } // namespace cxx11
6093 #endif // __cplusplus >= 201103L
6098 if ac_fn_cxx_try_compile
"$LINENO"; then :
6099 ax_cv_cxx_compile_cxx11
=yes
6101 ax_cv_cxx_compile_cxx11
=no
6103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
6106 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
6107 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
6111 if test x
$ac_success = xno
; then
6112 for alternative
in ${ax_cxx_compile_alternatives}; do
6113 switch
="-std=gnu++${alternative}"
6114 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
6116 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
6117 if eval \
${$cachevar+:} false
; then :
6118 $as_echo_n "(cached) " >&6
6122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6126 // If the compiler admits that it is not ready for C++11, why torture it?
6127 // Hopefully, this will speed up the test.
6131 #error "This is not a C++ compiler"
6133 #elif __cplusplus < 201103L
6135 #error "This is not a C++11 compiler"
6142 namespace test_static_assert
6145 template <typename T>
6148 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6153 namespace test_final_override
6162 struct Derived : public Base
6164 virtual ~Derived() override {}
6165 virtual void f() override {}
6170 namespace test_double_right_angle_brackets
6173 template < typename T >
6176 typedef check<void> single_type;
6177 typedef check<check<void>> double_type;
6178 typedef check<check<check<void>>> triple_type;
6179 typedef check<check<check<check<void>>>> quadruple_type;
6183 namespace test_decltype
6196 namespace test_type_deduction
6199 template < typename T1, typename T2 >
6202 static const bool value = false;
6205 template < typename T >
6206 struct is_same<T, T>
6208 static const bool value = true;
6211 template < typename T1, typename T2 >
6213 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6219 test(const int c, volatile int v)
6221 static_assert(is_same<int, decltype(0)>::value == true, "");
6222 static_assert(is_same<int, decltype(c)>::value == false, "");
6223 static_assert(is_same<int, decltype(v)>::value == false, "");
6226 auto sumi = ac + av + 'x';
6227 auto sumf = ac + av + 1.0;
6228 static_assert(is_same<int, decltype(ac)>::value == true, "");
6229 static_assert(is_same<int, decltype(av)>::value == true, "");
6230 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6231 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6232 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6233 return (sumf > 0.0) ? sumi : add(c, v);
6238 namespace test_noexcept
6241 int f() { return 0; }
6242 int g() noexcept { return 0; }
6244 static_assert(noexcept(f()) == false, "");
6245 static_assert(noexcept(g()) == true, "");
6249 namespace test_constexpr
6252 template < typename CharT >
6253 unsigned long constexpr
6254 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6256 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6259 template < typename CharT >
6260 unsigned long constexpr
6261 strlen_c(const CharT *const s) noexcept
6263 return strlen_c_r(s, 0UL);
6266 static_assert(strlen_c("") == 0UL, "");
6267 static_assert(strlen_c("1") == 1UL, "");
6268 static_assert(strlen_c("example") == 7UL, "");
6269 static_assert(strlen_c("another\0example") == 7UL, "");
6273 namespace test_rvalue_references
6279 static constexpr int value = N;
6282 answer<1> f(int&) { return answer<1>(); }
6283 answer<2> f(const int&) { return answer<2>(); }
6284 answer<3> f(int&&) { return answer<3>(); }
6291 static_assert(decltype(f(i))::value == 1, "");
6292 static_assert(decltype(f(c))::value == 2, "");
6293 static_assert(decltype(f(0))::value == 3, "");
6298 namespace test_uniform_initialization
6303 static const int zero {};
6304 static const int one {1};
6307 static_assert(test::zero == 0, "");
6308 static_assert(test::one == 1, "");
6312 namespace test_lambdas
6318 auto lambda1 = [](){};
6319 auto lambda2 = lambda1;
6327 auto a = [](int i, int j){ return i + j; }(1, 2);
6328 auto b = []() -> int { return '0'; }();
6329 auto c = [=](){ return a + b; }();
6330 auto d = [&](){ return c; }();
6331 auto e = [a, &b](int x) mutable {
6332 const auto identity = [](int y){ return y; };
6333 for (auto i = 0; i < a; ++i)
6335 return x + identity(a + b);
6337 return a + b + c + d + e;
6343 const auto nullary = [](){ return 0; };
6344 const auto unary = [](int x){ return x; };
6345 using nullary_t = decltype(nullary);
6346 using unary_t = decltype(unary);
6347 const auto higher1st = [](nullary_t f){ return f(); };
6348 const auto higher2nd = [unary](nullary_t f1){
6349 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6351 return higher1st(nullary) + higher2nd(nullary)(unary);
6356 namespace test_variadic_templates
6362 template <int N0, int... N1toN>
6363 struct sum<N0, N1toN...>
6365 static constexpr auto value = N0 + sum<N1toN...>::value;
6371 static constexpr auto value = 0;
6374 static_assert(sum<>::value == 0, "");
6375 static_assert(sum<1>::value == 1, "");
6376 static_assert(sum<23>::value == 23, "");
6377 static_assert(sum<1, 2>::value == 3, "");
6378 static_assert(sum<5, 5, 11>::value == 21, "");
6379 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6383 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6384 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6386 namespace test_template_alias_sfinae
6391 template<typename T>
6392 using member = typename T::member_type;
6394 template<typename T>
6397 template<typename T>
6398 void func(member<T>*) {}
6402 void test() { func<foo>(0); }
6406 } // namespace cxx11
6408 #endif // __cplusplus >= 201103L
6413 if ac_fn_cxx_try_compile
"$LINENO"; then :
6418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6421 eval ac_res
=\$
$cachevar
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6423 $as_echo "$ac_res" >&6; }
6424 if eval test x\$
$cachevar = xyes
; then
6426 if test -n "$CXXCPP" ; then
6427 CXXCPP
="$CXXCPP $switch"
6435 if test x
$ac_success = xno
; then
6436 for alternative
in ${ax_cxx_compile_alternatives}; do
6437 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6438 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6440 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6441 if eval \${$cachevar+:} false; then :
6442 $as_echo_n "(cached
) " >&6
6446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6447 /* end confdefs.h. */
6450 // If the compiler admits that it is not ready for C++11, why torture it?
6451 // Hopefully, this will speed up the test.
6455 #error "This is not a C
++ compiler
"
6457 #elif __cplusplus < 201103L
6459 #error "This is not a C
++11 compiler
"
6466 namespace test_static_assert
6469 template <typename T>
6472 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6477 namespace test_final_override
6486 struct Derived : public Base
6488 virtual ~Derived() override {}
6489 virtual void f() override {}
6494 namespace test_double_right_angle_brackets
6497 template < typename T >
6500 typedef check<void> single_type;
6501 typedef check<check<void>> double_type;
6502 typedef check<check<check<void>>> triple_type;
6503 typedef check<check<check<check<void>>>> quadruple_type;
6507 namespace test_decltype
6520 namespace test_type_deduction
6523 template < typename T1, typename T2 >
6526 static const bool value = false;
6529 template < typename T >
6530 struct is_same<T, T>
6532 static const bool value = true;
6535 template < typename T1, typename T2 >
6537 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6543 test(const int c, volatile int v)
6545 static_assert(is_same<int, decltype(0)>::value == true, "");
6546 static_assert(is_same<int, decltype(c)>::value == false, "");
6547 static_assert(is_same<int, decltype(v)>::value == false, "");
6550 auto sumi = ac + av + 'x';
6551 auto sumf = ac + av + 1.0;
6552 static_assert(is_same<int, decltype(ac)>::value == true, "");
6553 static_assert(is_same<int, decltype(av)>::value == true, "");
6554 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6555 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6556 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6557 return (sumf > 0.0) ? sumi : add(c, v);
6562 namespace test_noexcept
6565 int f() { return 0; }
6566 int g() noexcept { return 0; }
6568 static_assert(noexcept(f()) == false, "");
6569 static_assert(noexcept(g()) == true, "");
6573 namespace test_constexpr
6576 template < typename CharT >
6577 unsigned long constexpr
6578 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6580 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6583 template < typename CharT >
6584 unsigned long constexpr
6585 strlen_c(const CharT *const s) noexcept
6587 return strlen_c_r(s, 0UL);
6590 static_assert(strlen_c("") == 0UL, "");
6591 static_assert(strlen_c("1") == 1UL, "");
6592 static_assert(strlen_c("example
") == 7UL, "");
6593 static_assert(strlen_c("another\
0example
") == 7UL, "");
6597 namespace test_rvalue_references
6603 static constexpr int value = N;
6606 answer<1> f(int&) { return answer<1>(); }
6607 answer<2> f(const int&) { return answer<2>(); }
6608 answer<3> f(int&&) { return answer<3>(); }
6615 static_assert(decltype(f(i))::value == 1, "");
6616 static_assert(decltype(f(c))::value == 2, "");
6617 static_assert(decltype(f(0))::value == 3, "");
6622 namespace test_uniform_initialization
6627 static const int zero {};
6628 static const int one {1};
6631 static_assert(test::zero == 0, "");
6632 static_assert(test::one == 1, "");
6636 namespace test_lambdas
6642 auto lambda1 = [](){};
6643 auto lambda2 = lambda1;
6651 auto a = [](int i, int j){ return i + j; }(1, 2);
6652 auto b = []() -> int { return '0'; }();
6653 auto c = [=](){ return a + b; }();
6654 auto d = [&](){ return c; }();
6655 auto e = [a, &b](int x) mutable {
6656 const auto identity = [](int y){ return y; };
6657 for (auto i = 0; i < a; ++i)
6659 return x + identity(a + b);
6661 return a + b + c + d + e;
6667 const auto nullary = [](){ return 0; };
6668 const auto unary = [](int x){ return x; };
6669 using nullary_t = decltype(nullary);
6670 using unary_t = decltype(unary);
6671 const auto higher1st = [](nullary_t f){ return f(); };
6672 const auto higher2nd = [unary](nullary_t f1){
6673 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6675 return higher1st(nullary) + higher2nd(nullary)(unary);
6680 namespace test_variadic_templates
6686 template <int N0, int... N1toN>
6687 struct sum<N0, N1toN...>
6689 static constexpr auto value = N0 + sum<N1toN...>::value;
6695 static constexpr auto value = 0;
6698 static_assert(sum<>::value == 0, "");
6699 static_assert(sum<1>::value == 1, "");
6700 static_assert(sum<23>::value == 23, "");
6701 static_assert(sum<1, 2>::value == 3, "");
6702 static_assert(sum<5, 5, 11>::value == 21, "");
6703 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6707 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6708 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6710 namespace test_template_alias_sfinae
6715 template<typename T>
6716 using member = typename T::member_type;
6718 template<typename T>
6721 template<typename T>
6722 void func(member<T>*) {}
6726 void test() { func<foo>(0); }
6730 } // namespace cxx11
6732 #endif // __cplusplus >= 201103L
6737 if ac_fn_cxx_try_compile "$LINENO"; then :
6742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6745 eval ac_res=\$$cachevar
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6747 $as_echo "$ac_res" >&6; }
6748 if eval test x\$$cachevar = xyes; then
6750 if test -n "$CXXCPP" ; then
6751 CXXCPP="$CXXCPP $switch"
6757 if test x$ac_success = xyes; then
6764 ac_cpp='$CPP $CPPFLAGS'
6765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6769 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6770 if test x$ac_success = xno; then
6771 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6774 if test x$ac_success = xno; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6777 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6781 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6787 if test "${build}" != "${host}"; then
6788 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
6790 ac_cpp
='$CXXCPP $CPPFLAGS'
6791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6795 ax_cv_cxx_compile_cxx11_orig_cxx
="$CXX"
6796 ax_cv_cxx_compile_cxx11_orig_cxxflags
="$CXXFLAGS"
6797 ax_cv_cxx_compile_cxx11_orig_cppflags
="$CPPFLAGS"
6798 CXX
="$CXX_FOR_BUILD"
6799 CXXFLAGS
="$CXXFLAGS_FOR_BUILD"
6800 CPPFLAGS
="$CPPFLAGS_FOR_BUILD"
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
6802 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
6803 if ${ax_cv_cxx_compile_cxx11_FOR_BUILD+:} false
; then :
6804 $as_echo_n "(cached) " >&6
6806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6810 // If the compiler admits that it is not ready for C++11, why torture it?
6811 // Hopefully, this will speed up the test.
6815 #error "This is not a C++ compiler"
6817 #elif __cplusplus < 201103L
6819 #error "This is not a C++11 compiler"
6826 namespace test_static_assert
6829 template <typename T>
6832 static_assert(sizeof(int) <= sizeof(T), "not big enough");
6837 namespace test_final_override
6846 struct Derived : public Base
6848 virtual ~Derived() override {}
6849 virtual void f() override {}
6854 namespace test_double_right_angle_brackets
6857 template < typename T >
6860 typedef check<void> single_type;
6861 typedef check<check<void>> double_type;
6862 typedef check<check<check<void>>> triple_type;
6863 typedef check<check<check<check<void>>>> quadruple_type;
6867 namespace test_decltype
6880 namespace test_type_deduction
6883 template < typename T1, typename T2 >
6886 static const bool value = false;
6889 template < typename T >
6890 struct is_same<T, T>
6892 static const bool value = true;
6895 template < typename T1, typename T2 >
6897 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6903 test(const int c, volatile int v)
6905 static_assert(is_same<int, decltype(0)>::value == true, "");
6906 static_assert(is_same<int, decltype(c)>::value == false, "");
6907 static_assert(is_same<int, decltype(v)>::value == false, "");
6910 auto sumi = ac + av + 'x';
6911 auto sumf = ac + av + 1.0;
6912 static_assert(is_same<int, decltype(ac)>::value == true, "");
6913 static_assert(is_same<int, decltype(av)>::value == true, "");
6914 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6915 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6916 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6917 return (sumf > 0.0) ? sumi : add(c, v);
6922 namespace test_noexcept
6925 int f() { return 0; }
6926 int g() noexcept { return 0; }
6928 static_assert(noexcept(f()) == false, "");
6929 static_assert(noexcept(g()) == true, "");
6933 namespace test_constexpr
6936 template < typename CharT >
6937 unsigned long constexpr
6938 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6940 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6943 template < typename CharT >
6944 unsigned long constexpr
6945 strlen_c(const CharT *const s) noexcept
6947 return strlen_c_r(s, 0UL);
6950 static_assert(strlen_c("") == 0UL, "");
6951 static_assert(strlen_c("1") == 1UL, "");
6952 static_assert(strlen_c("example") == 7UL, "");
6953 static_assert(strlen_c("another\0example") == 7UL, "");
6957 namespace test_rvalue_references
6963 static constexpr int value = N;
6966 answer<1> f(int&) { return answer<1>(); }
6967 answer<2> f(const int&) { return answer<2>(); }
6968 answer<3> f(int&&) { return answer<3>(); }
6975 static_assert(decltype(f(i))::value == 1, "");
6976 static_assert(decltype(f(c))::value == 2, "");
6977 static_assert(decltype(f(0))::value == 3, "");
6982 namespace test_uniform_initialization
6987 static const int zero {};
6988 static const int one {1};
6991 static_assert(test::zero == 0, "");
6992 static_assert(test::one == 1, "");
6996 namespace test_lambdas
7002 auto lambda1 = [](){};
7003 auto lambda2 = lambda1;
7011 auto a = [](int i, int j){ return i + j; }(1, 2);
7012 auto b = []() -> int { return '0'; }();
7013 auto c = [=](){ return a + b; }();
7014 auto d = [&](){ return c; }();
7015 auto e = [a, &b](int x) mutable {
7016 const auto identity = [](int y){ return y; };
7017 for (auto i = 0; i < a; ++i)
7019 return x + identity(a + b);
7021 return a + b + c + d + e;
7027 const auto nullary = [](){ return 0; };
7028 const auto unary = [](int x){ return x; };
7029 using nullary_t = decltype(nullary);
7030 using unary_t = decltype(unary);
7031 const auto higher1st = [](nullary_t f){ return f(); };
7032 const auto higher2nd = [unary](nullary_t f1){
7033 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7035 return higher1st(nullary) + higher2nd(nullary)(unary);
7040 namespace test_variadic_templates
7046 template <int N0, int... N1toN>
7047 struct sum<N0, N1toN...>
7049 static constexpr auto value = N0 + sum<N1toN...>::value;
7055 static constexpr auto value = 0;
7058 static_assert(sum<>::value == 0, "");
7059 static_assert(sum<1>::value == 1, "");
7060 static_assert(sum<23>::value == 23, "");
7061 static_assert(sum<1, 2>::value == 3, "");
7062 static_assert(sum<5, 5, 11>::value == 21, "");
7063 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7067 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7068 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7070 namespace test_template_alias_sfinae
7075 template<typename T>
7076 using member = typename T::member_type;
7078 template<typename T>
7081 template<typename T>
7082 void func(member<T>*) {}
7086 void test() { func<foo>(0); }
7090 } // namespace cxx11
7092 #endif // __cplusplus >= 201103L
7097 if ac_fn_cxx_try_compile
"$LINENO"; then :
7098 ax_cv_cxx_compile_cxx11_FOR_BUILD
=yes
7100 ax_cv_cxx_compile_cxx11_FOR_BUILD
=no
7102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11_FOR_BUILD" >&5
7105 $as_echo "$ax_cv_cxx_compile_cxx11_FOR_BUILD" >&6; }
7106 if test x
$ax_cv_cxx_compile_cxx11_FOR_BUILD = xyes
; then
7110 if test x
$ac_success = xno
; then
7111 for alternative
in ${ax_cxx_compile_alternatives}; do
7112 switch
="-std=gnu++${alternative}"
7113 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_$switch" | $as_tr_sh`
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
7115 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
7116 if eval \
${$cachevar+:} false
; then :
7117 $as_echo_n "(cached) " >&6
7121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7125 // If the compiler admits that it is not ready for C++11, why torture it?
7126 // Hopefully, this will speed up the test.
7130 #error "This is not a C++ compiler"
7132 #elif __cplusplus < 201103L
7134 #error "This is not a C++11 compiler"
7141 namespace test_static_assert
7144 template <typename T>
7147 static_assert(sizeof(int) <= sizeof(T), "not big enough");
7152 namespace test_final_override
7161 struct Derived : public Base
7163 virtual ~Derived() override {}
7164 virtual void f() override {}
7169 namespace test_double_right_angle_brackets
7172 template < typename T >
7175 typedef check<void> single_type;
7176 typedef check<check<void>> double_type;
7177 typedef check<check<check<void>>> triple_type;
7178 typedef check<check<check<check<void>>>> quadruple_type;
7182 namespace test_decltype
7195 namespace test_type_deduction
7198 template < typename T1, typename T2 >
7201 static const bool value = false;
7204 template < typename T >
7205 struct is_same<T, T>
7207 static const bool value = true;
7210 template < typename T1, typename T2 >
7212 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7218 test(const int c, volatile int v)
7220 static_assert(is_same<int, decltype(0)>::value == true, "");
7221 static_assert(is_same<int, decltype(c)>::value == false, "");
7222 static_assert(is_same<int, decltype(v)>::value == false, "");
7225 auto sumi = ac + av + 'x';
7226 auto sumf = ac + av + 1.0;
7227 static_assert(is_same<int, decltype(ac)>::value == true, "");
7228 static_assert(is_same<int, decltype(av)>::value == true, "");
7229 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7230 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7231 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7232 return (sumf > 0.0) ? sumi : add(c, v);
7237 namespace test_noexcept
7240 int f() { return 0; }
7241 int g() noexcept { return 0; }
7243 static_assert(noexcept(f()) == false, "");
7244 static_assert(noexcept(g()) == true, "");
7248 namespace test_constexpr
7251 template < typename CharT >
7252 unsigned long constexpr
7253 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7255 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7258 template < typename CharT >
7259 unsigned long constexpr
7260 strlen_c(const CharT *const s) noexcept
7262 return strlen_c_r(s, 0UL);
7265 static_assert(strlen_c("") == 0UL, "");
7266 static_assert(strlen_c("1") == 1UL, "");
7267 static_assert(strlen_c("example") == 7UL, "");
7268 static_assert(strlen_c("another\0example") == 7UL, "");
7272 namespace test_rvalue_references
7278 static constexpr int value = N;
7281 answer<1> f(int&) { return answer<1>(); }
7282 answer<2> f(const int&) { return answer<2>(); }
7283 answer<3> f(int&&) { return answer<3>(); }
7290 static_assert(decltype(f(i))::value == 1, "");
7291 static_assert(decltype(f(c))::value == 2, "");
7292 static_assert(decltype(f(0))::value == 3, "");
7297 namespace test_uniform_initialization
7302 static const int zero {};
7303 static const int one {1};
7306 static_assert(test::zero == 0, "");
7307 static_assert(test::one == 1, "");
7311 namespace test_lambdas
7317 auto lambda1 = [](){};
7318 auto lambda2 = lambda1;
7326 auto a = [](int i, int j){ return i + j; }(1, 2);
7327 auto b = []() -> int { return '0'; }();
7328 auto c = [=](){ return a + b; }();
7329 auto d = [&](){ return c; }();
7330 auto e = [a, &b](int x) mutable {
7331 const auto identity = [](int y){ return y; };
7332 for (auto i = 0; i < a; ++i)
7334 return x + identity(a + b);
7336 return a + b + c + d + e;
7342 const auto nullary = [](){ return 0; };
7343 const auto unary = [](int x){ return x; };
7344 using nullary_t = decltype(nullary);
7345 using unary_t = decltype(unary);
7346 const auto higher1st = [](nullary_t f){ return f(); };
7347 const auto higher2nd = [unary](nullary_t f1){
7348 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7350 return higher1st(nullary) + higher2nd(nullary)(unary);
7355 namespace test_variadic_templates
7361 template <int N0, int... N1toN>
7362 struct sum<N0, N1toN...>
7364 static constexpr auto value = N0 + sum<N1toN...>::value;
7370 static constexpr auto value = 0;
7373 static_assert(sum<>::value == 0, "");
7374 static_assert(sum<1>::value == 1, "");
7375 static_assert(sum<23>::value == 23, "");
7376 static_assert(sum<1, 2>::value == 3, "");
7377 static_assert(sum<5, 5, 11>::value == 21, "");
7378 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7382 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7383 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7385 namespace test_template_alias_sfinae
7390 template<typename T>
7391 using member = typename T::member_type;
7393 template<typename T>
7396 template<typename T>
7397 void func(member<T>*) {}
7401 void test() { func<foo>(0); }
7405 } // namespace cxx11
7407 #endif // __cplusplus >= 201103L
7412 if ac_fn_cxx_try_compile
"$LINENO"; then :
7417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7420 eval ac_res
=\$
$cachevar
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7422 $as_echo "$ac_res" >&6; }
7423 if eval test x\$
$cachevar = xyes
; then
7425 if test -n "$CXXCPP" ; then
7426 CXXCPP
="$CXXCPP $switch"
7434 if test x
$ac_success = xno
; then
7435 for alternative
in ${ax_cxx_compile_alternatives}; do
7436 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
7437 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_FOR_BUILD_
$switch" | $as_tr_sh`
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
7439 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
7440 if eval \${$cachevar+:} false; then :
7441 $as_echo_n "(cached
) " >&6
7445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446 /* end confdefs.h. */
7449 // If the compiler admits that it is not ready for C++11, why torture it?
7450 // Hopefully, this will speed up the test.
7454 #error "This is not a C
++ compiler
"
7456 #elif __cplusplus < 201103L
7458 #error "This is not a C
++11 compiler
"
7465 namespace test_static_assert
7468 template <typename T>
7471 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
7476 namespace test_final_override
7485 struct Derived : public Base
7487 virtual ~Derived() override {}
7488 virtual void f() override {}
7493 namespace test_double_right_angle_brackets
7496 template < typename T >
7499 typedef check<void> single_type;
7500 typedef check<check<void>> double_type;
7501 typedef check<check<check<void>>> triple_type;
7502 typedef check<check<check<check<void>>>> quadruple_type;
7506 namespace test_decltype
7519 namespace test_type_deduction
7522 template < typename T1, typename T2 >
7525 static const bool value = false;
7528 template < typename T >
7529 struct is_same<T, T>
7531 static const bool value = true;
7534 template < typename T1, typename T2 >
7536 add(T1 a1, T2 a2) -> decltype(a1 + a2)
7542 test(const int c, volatile int v)
7544 static_assert(is_same<int, decltype(0)>::value == true, "");
7545 static_assert(is_same<int, decltype(c)>::value == false, "");
7546 static_assert(is_same<int, decltype(v)>::value == false, "");
7549 auto sumi = ac + av + 'x';
7550 auto sumf = ac + av + 1.0;
7551 static_assert(is_same<int, decltype(ac)>::value == true, "");
7552 static_assert(is_same<int, decltype(av)>::value == true, "");
7553 static_assert(is_same<int, decltype(sumi)>::value == true, "");
7554 static_assert(is_same<int, decltype(sumf)>::value == false, "");
7555 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
7556 return (sumf > 0.0) ? sumi : add(c, v);
7561 namespace test_noexcept
7564 int f() { return 0; }
7565 int g() noexcept { return 0; }
7567 static_assert(noexcept(f()) == false, "");
7568 static_assert(noexcept(g()) == true, "");
7572 namespace test_constexpr
7575 template < typename CharT >
7576 unsigned long constexpr
7577 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
7579 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
7582 template < typename CharT >
7583 unsigned long constexpr
7584 strlen_c(const CharT *const s) noexcept
7586 return strlen_c_r(s, 0UL);
7589 static_assert(strlen_c("") == 0UL, "");
7590 static_assert(strlen_c("1") == 1UL, "");
7591 static_assert(strlen_c("example
") == 7UL, "");
7592 static_assert(strlen_c("another\
0example
") == 7UL, "");
7596 namespace test_rvalue_references
7602 static constexpr int value = N;
7605 answer<1> f(int&) { return answer<1>(); }
7606 answer<2> f(const int&) { return answer<2>(); }
7607 answer<3> f(int&&) { return answer<3>(); }
7614 static_assert(decltype(f(i))::value == 1, "");
7615 static_assert(decltype(f(c))::value == 2, "");
7616 static_assert(decltype(f(0))::value == 3, "");
7621 namespace test_uniform_initialization
7626 static const int zero {};
7627 static const int one {1};
7630 static_assert(test::zero == 0, "");
7631 static_assert(test::one == 1, "");
7635 namespace test_lambdas
7641 auto lambda1 = [](){};
7642 auto lambda2 = lambda1;
7650 auto a = [](int i, int j){ return i + j; }(1, 2);
7651 auto b = []() -> int { return '0'; }();
7652 auto c = [=](){ return a + b; }();
7653 auto d = [&](){ return c; }();
7654 auto e = [a, &b](int x) mutable {
7655 const auto identity = [](int y){ return y; };
7656 for (auto i = 0; i < a; ++i)
7658 return x + identity(a + b);
7660 return a + b + c + d + e;
7666 const auto nullary = [](){ return 0; };
7667 const auto unary = [](int x){ return x; };
7668 using nullary_t = decltype(nullary);
7669 using unary_t = decltype(unary);
7670 const auto higher1st = [](nullary_t f){ return f(); };
7671 const auto higher2nd = [unary](nullary_t f1){
7672 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
7674 return higher1st(nullary) + higher2nd(nullary)(unary);
7679 namespace test_variadic_templates
7685 template <int N0, int... N1toN>
7686 struct sum<N0, N1toN...>
7688 static constexpr auto value = N0 + sum<N1toN...>::value;
7694 static constexpr auto value = 0;
7697 static_assert(sum<>::value == 0, "");
7698 static_assert(sum<1>::value == 1, "");
7699 static_assert(sum<23>::value == 23, "");
7700 static_assert(sum<1, 2>::value == 3, "");
7701 static_assert(sum<5, 5, 11>::value == 21, "");
7702 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
7706 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
7707 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
7709 namespace test_template_alias_sfinae
7714 template<typename T>
7715 using member = typename T::member_type;
7717 template<typename T>
7720 template<typename T>
7721 void func(member<T>*) {}
7725 void test() { func<foo>(0); }
7729 } // namespace cxx11
7731 #endif // __cplusplus >= 201103L
7736 if ac_fn_cxx_try_compile "$LINENO"; then :
7741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7744 eval ac_res=\$$cachevar
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
7746 $as_echo "$ac_res" >&6; }
7747 if eval test x\$$cachevar = xyes; then
7749 if test -n "$CXXCPP" ; then
7750 CXXCPP="$CXXCPP $switch"
7756 if test x$ac_success = xyes; then
7761 CXX_FOR_BUILD="$CXX"
7762 CXXFLAGS_FOR_BUILD="$CXXFLAGS"
7763 CPPFLAGS_FOR_BUILD="$CPPFLAGS"
7764 CXX="$ax_cv_cxx_compile_cxx11_orig_cxx"
7765 CXXFLAGS="$ax_cv_cxx_compile_cxx11_orig_cxxflags"
7766 CPPFLAGS="$ax_cv_cxx_compile_cxx11_orig_cppflags"
7768 ac_cpp='$CPP $CPPFLAGS'
7769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7773 if test x$ax_cxx_compile_cxx11_required = xtrue; then
7774 if test x$ac_success = xno; then
7775 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
7778 if test x$ac_success = xno; then
7779 HAVE_CXX11_FOR_BUILD=0
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
7781 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
7783 HAVE_CXX11_FOR_BUILD=1
7785 $as_echo "#define HAVE_CXX11_FOR_BUILD 1" >>confdefs.h
7793 # Check whether --enable-pgo-build was given.
7794 if test "${enable_pgo_build+set}" = set; then :
7795 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
7801 # Issue errors and warnings for invalid/strange PGO build combinations.
7802 case "$have_compiler:$host:$target:$enable_pgo_build" in
7805 # Allow the PGO build only if we aren't building a compiler and
7806 # we are in a native configuration.
7807 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
7809 # Disallow the PGO bootstrap if we are building a compiler.
7810 yes:*:*:yes |
yes:*:*:lto
)
7811 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
7814 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
7818 if test "$enable_pgo_build" != "no"; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
7820 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
7821 old_CFLAGS
="$CFLAGS"
7822 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
7823 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
7825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7826 /* end confdefs.h. */
7829 if ac_fn_c_try_compile
"$LINENO"; then :
7832 PGO_BUILD_GEN_CFLAGS
=
7834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7835 CFLAGS
="$old_CFLAGS"
7836 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7838 $as_echo "yes" >&6; }
7839 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842 $as_echo "no" >&6; }
7843 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
7846 if test "$enable_pgo_build" = "lto"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
7848 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
7849 old_CFLAGS
="$CFLAGS"
7850 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
7851 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
7852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7853 /* end confdefs.h. */
7856 if ac_fn_c_try_compile
"$LINENO"; then :
7859 PGO_BUILD_LTO_CFLAGS
=
7861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7862 CFLAGS
="$old_CFLAGS"
7863 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7865 $as_echo "yes" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
7870 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
7878 # Used for setting $lt_cv_objdir
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7880 $as_echo_n "checking for objdir... " >&6; }
7881 if ${lt_cv_objdir+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 rm -f .libs
2>/dev
/null
7885 mkdir .libs
2>/dev
/null
7886 if test -d .libs
; then
7889 # MS-DOS does not allow filenames that begin with a dot.
7892 rmdir .libs
2>/dev
/null
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7895 $as_echo "$lt_cv_objdir" >&6; }
7896 objdir
=$lt_cv_objdir
7902 cat >>confdefs.h
<<_ACEOF
7903 #define LT_OBJDIR "$lt_cv_objdir/"
7908 # Check for GMP, MPFR and MPC
7909 gmplibs
="-lmpc -lmpfr -lgmp"
7913 # Specify a location for mpc
7914 # check for this first so it ends up on the link line before mpfr.
7916 # Check whether --with-mpc was given.
7917 if test "${with_mpc+set}" = set; then :
7922 # Check whether --with-mpc-include was given.
7923 if test "${with_mpc_include+set}" = set; then :
7924 withval
=$with_mpc_include;
7928 # Check whether --with-mpc-lib was given.
7929 if test "${with_mpc_lib+set}" = set; then :
7930 withval
=$with_mpc_lib;
7934 if test "x$with_mpc" != x
; then
7935 gmplibs
="-L$with_mpc/lib $gmplibs"
7936 gmpinc
="-I$with_mpc/include $gmpinc"
7938 if test "x$with_mpc_include" != x
; then
7939 gmpinc
="-I$with_mpc_include $gmpinc"
7941 if test "x$with_mpc_lib" != x
; then
7942 gmplibs
="-L$with_mpc_lib $gmplibs"
7944 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
7945 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
7946 gmpinc
='-I$$s/mpc/src '"$gmpinc"
7947 # Do not test the mpc version. Assume that it is sufficient, since
7948 # it is in the source tree, and the library has not been built yet
7949 # but it would be included on the link line in the version check below
7950 # hence making the test fail.
7954 # Specify a location for mpfr
7955 # check for this first so it ends up on the link line before gmp.
7957 # Check whether --with-mpfr was given.
7958 if test "${with_mpfr+set}" = set; then :
7963 # Check whether --with-mpfr-include was given.
7964 if test "${with_mpfr_include+set}" = set; then :
7965 withval
=$with_mpfr_include;
7969 # Check whether --with-mpfr-lib was given.
7970 if test "${with_mpfr_lib+set}" = set; then :
7971 withval
=$with_mpfr_lib;
7975 if test "x$with_mpfr" != x
; then
7976 gmplibs
="-L$with_mpfr/lib $gmplibs"
7977 gmpinc
="-I$with_mpfr/include $gmpinc"
7979 if test "x$with_mpfr_include" != x
; then
7980 gmpinc
="-I$with_mpfr_include $gmpinc"
7982 if test "x$with_mpfr_lib" != x
; then
7983 gmplibs
="-L$with_mpfr_lib $gmplibs"
7985 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
7986 # MPFR v3.1.0 moved the sources into a src sub-directory.
7987 if ! test -d ${srcdir}/mpfr
/src
; then
7988 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
7990 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
7991 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
7992 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
7993 # Do not test the mpfr version. Assume that it is sufficient, since
7994 # it is in the source tree, and the library has not been built yet
7995 # but it would be included on the link line in the version check below
7996 # hence making the test fail.
8000 # Specify a location for gmp
8002 # Check whether --with-gmp was given.
8003 if test "${with_gmp+set}" = set; then :
8008 # Check whether --with-gmp-include was given.
8009 if test "${with_gmp_include+set}" = set; then :
8010 withval
=$with_gmp_include;
8014 # Check whether --with-gmp-lib was given.
8015 if test "${with_gmp_lib+set}" = set; then :
8016 withval
=$with_gmp_lib;
8021 if test "x$with_gmp" != x
; then
8022 gmplibs
="-L$with_gmp/lib $gmplibs"
8023 gmpinc
="-I$with_gmp/include $gmpinc"
8025 if test "x$with_gmp_include" != x
; then
8026 gmpinc
="-I$with_gmp_include $gmpinc"
8028 if test "x$with_gmp_lib" != x
; then
8029 gmplibs
="-L$with_gmp_lib $gmplibs"
8031 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
8032 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
8033 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
8034 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8035 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
8036 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
8037 # Do not test the gmp version. Assume that it is sufficient, since
8038 # it is in the source tree, and the library has not been built yet
8039 # but it would be included on the link line in the version check below
8040 # hence making the test fail.
8044 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
8046 saved_CFLAGS
="$CFLAGS"
8047 CFLAGS
="$CFLAGS $gmpinc"
8048 # Check for the recommended and required versions of GMP.
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
8050 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
8051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8052 /* end confdefs.h. */
8058 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8059 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8060 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
8068 if ac_fn_c_try_compile
"$LINENO"; then :
8069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8076 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
8077 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
8078 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
8086 if ac_fn_c_try_compile
"$LINENO"; then :
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8088 $as_echo "yes" >&6; }
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8091 $as_echo "buggy but acceptable" >&6; }
8093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }; have_gmp
=no
8098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8100 # If we have GMP, check the MPFR version.
8101 if test x
"$have_gmp" = xyes
; then
8102 # Check for the recommended and required versions of MPFR.
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
8104 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
8105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8106 /* end confdefs.h. */
8113 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
8121 if ac_fn_c_try_compile
"$LINENO"; then :
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8130 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
8138 if ac_fn_c_try_compile
"$LINENO"; then :
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8140 $as_echo "yes" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8143 $as_echo "buggy but acceptable" >&6; }
8145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }; have_gmp
=no
8150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8153 # Check for the MPC header version.
8154 if test x
"$have_gmp" = xyes
; then
8155 # Check for the recommended and required versions of MPC.
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
8157 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
8158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h. */
8165 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
8173 if ac_fn_c_try_compile
"$LINENO"; then :
8174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8181 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
8189 if ac_fn_c_try_compile
"$LINENO"; then :
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8191 $as_echo "yes" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
8194 $as_echo "buggy but acceptable" >&6; }
8196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }; have_gmp
=no
8201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8204 # Now check the MPFR library.
8205 if test x
"$have_gmp" = xyes
; then
8207 LIBS
="$LIBS $gmplibs"
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
8209 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
8210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8223 mpfr_atan2 (n, n, x, MPFR_RNDN);
8224 mpfr_erfc (n, x, MPFR_RNDN);
8225 mpfr_subnormalize (x, t, MPFR_RNDN);
8229 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
8230 mpc_cosh (c, c, MPC_RNDNN);
8231 mpc_pow (c, c, c, MPC_RNDNN);
8232 mpc_acosh (c, c, MPC_RNDNN);
8239 if ac_fn_c_try_link
"$LINENO"; then :
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8241 $as_echo "yes" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }; have_gmp
=no
8246 rm -f core conftest.err conftest.
$ac_objext \
8247 conftest
$ac_exeext conftest.
$ac_ext
8251 CFLAGS
="$saved_CFLAGS"
8253 # The library versions listed in the error message below should match
8254 # the HARD-minimums enforced above.
8255 if test x
$have_gmp != xyes
; then
8256 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
8257 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
8258 their locations. Source code for these libraries can be found at
8259 their respective hosting sites as well as at
8260 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
8261 http://gcc.gnu.org/install/prerequisites.html for additional info. If
8262 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
8263 make sure that you have installed both the libraries and the header
8264 files. They may be located in separate packages." "$LINENO" 5
8268 # Flags needed for both GMP, MPFR and/or MPC.
8276 # Libraries to use for stage1 or when not bootstrapping.
8278 # Check whether --with-stage1-libs was given.
8279 if test "${with_stage1_libs+set}" = set; then :
8280 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8283 stage1_libs
=$withval
8291 # Whether or not to use -static-libstdc++ and -static-libgcc. The
8292 # default is yes if gcc is being built; no otherwise. The reason for
8293 # this default is that gdb is sometimes linked against GNU Source
8294 # Highlight, which is a shared library that uses C++ exceptions. In
8295 # this case, -static-libstdc++ will cause crashes.
8297 # Check whether --with-static-standard-libraries was given.
8298 if test "${with_static_standard_libraries+set}" = set; then :
8299 withval
=$with_static_standard_libraries;
8301 with_static_standard_libraries
=auto
8304 if test "$with_static_standard_libraries" = auto
; then
8305 with_static_standard_libraries
=$have_compiler
8308 # Linker flags to use for stage1 or when not bootstrapping.
8310 # Check whether --with-stage1-ldflags was given.
8311 if test "${with_stage1_ldflags+set}" = set; then :
8312 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8315 stage1_ldflags
=$withval
8319 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
8320 # if supported. But if the user explicitly specified the libraries to use,
8321 # trust that they are doing what they want.
8322 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
8323 -a "$have_static_libs" = yes; then
8324 stage1_ldflags
="-static-libstdc++ -static-libgcc"
8330 # Libraries to use for stage2 and later builds.
8332 # Check whether --with-boot-libs was given.
8333 if test "${with_boot_libs+set}" = set; then :
8334 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
8337 poststage1_libs
=$withval
8345 # Linker flags to use for stage2 and later builds.
8347 # Check whether --with-boot-ldflags was given.
8348 if test "${with_boot_ldflags+set}" = set; then :
8349 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
8352 poststage1_ldflags
=$withval
8356 # In stages 2 and 3, default to linking libstdc++ and libgcc
8357 # statically. But if the user explicitly specified the libraries to
8358 # use, trust that they are doing what they want.
8359 if test "$poststage1_libs" = ""; then
8360 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
8366 # GCC GRAPHITE dependency isl.
8367 # Basic setup is inlined here, actual checks are in config/isl.m4
8370 # Check whether --with-isl was given.
8371 if test "${with_isl+set}" = set; then :
8376 # Treat --without-isl as a request to disable
8377 # GRAPHITE support and skip all following checks.
8378 if test "x$with_isl" != "xno"; then
8382 # Check whether --with-isl-include was given.
8383 if test "${with_isl_include+set}" = set; then :
8384 withval
=$with_isl_include;
8388 # Check whether --with-isl-lib was given.
8389 if test "${with_isl_lib+set}" = set; then :
8390 withval
=$with_isl_lib;
8394 # Check whether --enable-isl-version-check was given.
8395 if test "${enable_isl_version_check+set}" = set; then :
8396 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
8398 ENABLE_ISL_CHECK
=yes
8402 # Initialize isllibs and islinc.
8411 isllibs
="-L$with_isl/lib"
8412 islinc
="-I$with_isl/include"
8415 if test "x${with_isl_include}" != x
; then
8416 islinc
="-I$with_isl_include"
8418 if test "x${with_isl_lib}" != x
; then
8419 isllibs
="-L$with_isl_lib"
8421 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
8422 && test -d ${srcdir}/isl
; then
8423 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
8424 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
8427 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
8430 isllibs
="${isllibs} -lisl"
8434 if test "${ENABLE_ISL_CHECK}" = yes ; then
8435 _isl_saved_CFLAGS
=$CFLAGS
8436 _isl_saved_LDFLAGS
=$LDFLAGS
8437 _isl_saved_LIBS
=$LIBS
8439 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
8440 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
8441 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
8444 $as_echo_n "checking for isl 0.15 or later... " >&6; }
8445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 #include <isl/schedule.h>
8451 isl_options_set_schedule_serialize_sccs (NULL, 0);
8456 if ac_fn_c_try_link
"$LINENO"; then :
8461 rm -f core conftest.err conftest.
$ac_objext \
8462 conftest
$ac_exeext conftest.
$ac_ext
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
8464 $as_echo "$gcc_cv_isl" >&6; }
8466 if test "${gcc_cv_isl}" = no
; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
8468 $as_echo "required isl version is 0.15 or later" >&6; }
8471 CFLAGS
=$_isl_saved_CFLAGS
8472 LDFLAGS
=$_isl_saved_LDFLAGS
8473 LIBS
=$_isl_saved_LIBS
8481 if test "x${with_isl}" = xno
; then
8482 graphite_requested
=no
8483 elif test "x${with_isl}" != x \
8484 ||
test "x${with_isl_include}" != x \
8485 ||
test "x${with_isl_lib}" != x
; then
8486 graphite_requested
=yes
8488 graphite_requested
=no
8493 if test "${gcc_cv_isl}" = no
; then
8498 if test "${graphite_requested}" = yes \
8499 && test "x${isllibs}" = x \
8500 && test "x${islinc}" = x
; then
8502 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
8508 # If the isl check failed, disable builds of in-tree variant of isl
8509 if test "x$with_isl" = xno ||
8510 test "x$gcc_cv_isl" = xno
; then
8511 noconfigdirs
="$noconfigdirs isl"
8518 # Check for LTO support.
8519 # Check whether --enable-lto was given.
8520 if test "${enable_lto+set}" = set; then :
8521 enableval
=$enable_lto; enable_lto
=$enableval
8523 enable_lto
=yes; default_enable_lto
=yes
8532 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
8533 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
8534 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
8543 if test $target_elf = yes; then :
8544 # ELF platforms build the lto-plugin always.
8545 build_lto_plugin
=yes
8548 if test x
"$default_enable_lto" = x
"yes" ; then
8550 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
8551 # On other non-ELF platforms, LTO has yet to be validated.
8555 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
8556 # It would also be nice to check the binutils support, but we don't
8557 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
8558 # warn during gcc/ subconfigure; unless you're bootstrapping with
8559 # -flto it won't be needed until after installation anyway.
8561 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
8562 *) if test x
"$enable_lto" = x
"yes"; then
8563 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
8568 # Among non-ELF, only Windows platforms support the lto-plugin so far.
8569 # Build it unless LTO was explicitly disabled.
8571 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
8578 # Check whether --enable-linker-plugin-configure-flags was given.
8579 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
8580 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
8582 extra_linker_plugin_configure_flags
=
8586 # Check whether --enable-linker-plugin-flags was given.
8587 if test "${enable_linker_plugin_flags+set}" = set; then :
8588 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
8590 extra_linker_plugin_flags
=
8595 # Enable --enable-host-shared.
8596 # Checked early to determine whether jit is an 'all' language
8597 # Check whether --enable-host-shared was given.
8598 if test "${enable_host_shared+set}" = set; then :
8599 enableval
=$enable_host_shared; host_shared
=$enableval
8601 x86_64-
*-darwin* | aarch64-
*-darwin*)
8602 if test x
$host_shared != xyes
; then
8603 # PIC is the default, and actually cannot be switched off.
8604 echo configure.ac
: warning
: PIC code is required
for the configured target
, host-shared setting ignored.
1>&2
8611 x86_64-
*-darwin* | aarch64-
*-darwin*) host_shared
=yes ;;
8612 *) host_shared
=no
;;
8619 # If we are building PIC/PIE host executables, and we are building dependent
8620 # libs (e.g. GMP) in-tree those libs need to be configured to generate PIC
8623 if test "$host_shared" = "yes";then
8624 host_libs_picflag
='--with-pic'
8628 # By default, C and C++ are the only stage 1 languages.
8629 stage1_languages
=,c
,
8631 # Target libraries that we bootstrap.
8632 bootstrap_target_libs
=,target-libgcc
,
8634 # Figure out what language subdirectories are present.
8635 # Look if the user specified --enable-languages="..."; if not, use
8636 # the environment variable $LANGUAGES if defined. $LANGUAGES might
8638 # NB: embedded tabs in this IF block -- do not untabify
8639 if test -d ${srcdir}/gcc
; then
8640 if test x
"${enable_languages+set}" != xset
; then
8641 if test x
"${LANGUAGES+set}" = xset
; then
8642 enable_languages
="${LANGUAGES}"
8643 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
8645 enable_languages
=default
8648 if test x
"${enable_languages}" = x ||
8649 test x
"${enable_languages}" = xyes
;
8651 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
8655 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
8657 # 'f95' is the old name for the 'fortran' language. We issue a warning
8658 # and make the substitution.
8659 case ,${enable_languages}, in
8661 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
8662 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
8666 # If bootstrapping, C++ must be enabled.
8667 case ",$enable_languages,:$enable_bootstrap" in
8670 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
8671 enable_languages
="${enable_languages},c++"
8673 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
8678 # First scan to see if an enabled language requires some other language.
8679 # We assume that a given config-lang.in will list all the language
8680 # front ends it requires, even if some are required indirectly.
8681 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8682 case ${lang_frag} in
8684 # The odd quoting in the next line works around
8685 # an apparent bug in bash 1.12 on linux.
8686 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8688 # From the config-lang.in, get $language, $lang_requires, and
8689 # $lang_requires_boot_languages.
8692 lang_requires_boot_languages
=
8693 # set srcdir during sourcing lang_frag to the gcc dir.
8694 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
8695 # polutes this shell
8696 saved_srcdir
=${srcdir}
8697 srcdir
=${srcdir}/gcc .
${lang_frag}
8698 srcdir
=${saved_srcdir}
8699 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
8700 case ,${enable_languages}, in
8705 echo " \`$other' language required by \`$language'; enabling" 1>&2
8706 enable_languages
="${enable_languages},${other}"
8710 for other
in ${lang_requires_boot_languages} ; do
8711 if test "$other" != "c"; then
8712 case ,${enable_stage1_languages}, in
8717 case ,${enable_languages}, in
8719 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
8720 enable_stage1_languages
="$enable_stage1_languages,${other}"
8731 new_enable_languages
=,c
,
8733 # If LTO is enabled, add the LTO front end.
8734 if test "$enable_lto" = "yes" ; then
8735 case ,${enable_languages}, in
8737 *) enable_languages
="${enable_languages},lto" ;;
8739 if test "${build_lto_plugin}" = "yes" ; then
8740 configdirs
="$configdirs lto-plugin"
8744 # If we're building an offloading compiler, add the LTO front end.
8745 if test x
"$enable_as_accelerator_for" != x
; then
8746 case ,${enable_languages}, in
8748 *) enable_languages
="${enable_languages},lto" ;;
8752 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
8753 potential_languages
=,c
,
8755 enabled_target_libs
=
8756 disabled_target_libs
=
8758 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
8759 case ${lang_frag} in
8761 # The odd quoting in the next line works around
8762 # an apparent bug in bash 1.12 on linux.
8763 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
8765 # From the config-lang.in, get $language, $target_libs,
8766 # $lang_dirs, $boot_language, and $build_by_default
8772 build_by_default
=yes
8773 # set srcdir during sourcing. See above about save & restore
8774 saved_srcdir
=${srcdir}
8775 srcdir
=${srcdir}/gcc .
${lang_frag}
8776 srcdir
=${saved_srcdir}
8777 if test x
${language} = x
; then
8778 echo "${lang_frag} doesn't set \$language." 1>&2
8782 if test "$language" = "c++"; then
8787 # C is always enabled, so no need to add it again
8788 if test "$language" != "c"; then
8789 case ,${enable_languages}, in
8791 # Language was explicitly selected; include it
8795 # All languages are enabled
8799 # 'default' was selected, select it if it is a default language
8800 add_this_lang
=${build_by_default}
8805 # Disable languages that need other directories if these aren't available.
8806 for i
in $subdir_requires; do
8807 test -f "$srcdir/gcc/$i/config-lang.in" && continue
8808 case ${add_this_lang} in
8810 # Specifically requested language; tell them.
8811 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
8815 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
8816 add_this_lang
=unsupported
8820 add_this_lang
=unsupported
8825 # Disable Ada if no preexisting GNAT is available.
8826 case ${add_this_lang}:${language}:${have_gnat} in
8828 # Specifically requested language; tell them.
8829 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
8833 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
8834 add_this_lang
=unsupported
8838 add_this_lang
=unsupported
8842 # Disable D if no preexisting GDC is available.
8843 case ${add_this_lang}:${language}:${have_gdc} in
8845 # Specifically requested language; tell them.
8846 as_fn_error $?
"GDC is required to build $language" "$LINENO" 5
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GDC is required to build $language" >&5
8850 $as_echo "$as_me: WARNING: GDC is required to build $language" >&2;}
8851 add_this_lang
=unsupported
8855 add_this_lang
=unsupported
8859 # Disable jit if -enable-host-shared not specified
8860 # but not if building for Mingw. All code in Windows
8861 # is position independent code (PIC).
8865 case ${add_this_lang}:${language}:${host_shared} in
8867 # PR jit/64780: explicitly specify --enable-host-shared
8869 Enabling language \"jit\" requires --enable-host-shared.
8871 --enable-host-shared typically slows the rest of the compiler down by
8872 a few %, so you must explicitly enable it.
8874 If you want to build both the jit and the regular compiler, it is often
8875 best to do this via two separate configure/builds, in separate
8876 directories, to avoid imposing the performance cost of
8877 --enable-host-shared on the regular compiler." "$LINENO" 5
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
8881 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
8882 add_this_lang
=unsupported
8886 add_this_lang
=unsupported
8892 # Disable a language that is unsupported by the target.
8893 case "${add_this_lang}: $unsupported_languages " in
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
8898 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
8899 add_this_lang
=unsupported
8903 case $add_this_lang in
8905 # Remove language-dependent dirs.
8906 disabled_target_libs
="$disabled_target_libs $target_libs"
8907 noconfigdirs
="$noconfigdirs $lang_dirs"
8910 # Remove language-dependent dirs; still show language as supported.
8911 disabled_target_libs
="$disabled_target_libs $target_libs"
8912 noconfigdirs
="$noconfigdirs $lang_dirs"
8913 potential_languages
="${potential_languages}${language},"
8916 new_enable_languages
="${new_enable_languages}${language},"
8917 potential_languages
="${potential_languages}${language},"
8918 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
8919 enabled_target_libs
="$enabled_target_libs $target_libs"
8920 case "${boot_language}:,$enable_stage1_languages," in
8921 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
8922 # Add to (comma-separated) list of stage 1 languages.
8923 case ",$stage1_languages," in
8924 *,$language,* |
,yes, |
,all
,) ;;
8925 *) stage1_languages
="${stage1_languages}${language}," ;;
8927 # We need to bootstrap any supporting libraries.
8928 bootstrap_target_libs
=`echo "${bootstrap_target_libs}${target_libs}," | sed "s/ /,/g"`
8937 # Add target libraries which are only needed for disabled languages
8939 if test -n "$disabled_target_libs"; then
8940 for dir
in $disabled_target_libs; do
8941 case " $enabled_target_libs " in
8943 *) noconfigdirs
="$noconfigdirs $dir" ;;
8948 # Check whether --enable-stage1-languages was given.
8949 if test "${enable_stage1_languages+set}" = set; then :
8950 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
8952 # Set it to something that will have no effect in the loop below
8953 enable_stage1_languages
=c
;;
8955 enable_stage1_languages
=`echo $new_enable_languages | \
8956 sed -e "s/^,//" -e "s/,$//" ` ;;
8958 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
8959 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
8962 # Add "good" languages from enable_stage1_languages to stage1_languages,
8963 # while "bad" languages go in missing_languages. Leave no duplicates.
8964 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
8965 case $potential_languages in
8967 case $stage1_languages in
8969 *) stage1_languages
="$stage1_languages$i," ;;
8972 case $missing_languages in
8974 *) missing_languages
="$missing_languages$i," ;;
8981 # Remove leading/trailing commas that were added for simplicity
8982 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
8983 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
8984 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
8985 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
8987 if test "x$missing_languages" != x
; then
8989 The following requested languages could not be built: ${missing_languages}
8990 Supported languages are: ${potential_languages}" "$LINENO" 5
8992 if test "x$new_enable_languages" != "x$enable_languages"; then
8993 echo The following languages will be built
: ${new_enable_languages}
8994 enable_languages
="$new_enable_languages"
8998 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
9001 # Handle --disable-<component> generically.
9002 for dir
in $configdirs $build_configdirs $target_configdirs ; do
9003 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
9004 varname
=`echo $dirname | sed -e s/+/_/g`
9005 if eval test x\
${enable_${varname}} "=" xno
; then
9006 noconfigdirs
="$noconfigdirs $dir"
9010 # Check for Boehm's garbage collector
9011 # Check whether --enable-objc-gc was given.
9012 if test "${enable_objc_gc+set}" = set; then :
9013 enableval
=$enable_objc_gc;
9017 # Check whether --with-target-bdw-gc was given.
9018 if test "${with_target_bdw_gc+set}" = set; then :
9019 withval
=$with_target_bdw_gc;
9023 # Check whether --with-target-bdw-gc-include was given.
9024 if test "${with_target_bdw_gc_include+set}" = set; then :
9025 withval
=$with_target_bdw_gc_include;
9029 # Check whether --with-target-bdw-gc-lib was given.
9030 if test "${with_target_bdw_gc_lib+set}" = set; then :
9031 withval
=$with_target_bdw_gc_lib;
9035 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
9037 $as_echo_n "checking for bdw garbage collector... " >&6; }
9038 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
9040 $as_echo "using bdw-gc in default locations" >&6; }
9042 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
9043 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
9044 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
9045 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
9048 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
9053 # Disable libitm, libsanitizer, libvtv if we're not building C++
9054 case ,${enable_languages}, in
9056 # Disable libitm, libsanitizer if we're not building libstdc++
9057 case "${noconfigdirs}" in
9058 *target-libstdc
++-v3*)
9059 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
9065 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer target-libvtv"
9069 # If gcc/ is not in the source tree then we'll not be building a
9070 # target compiler, assume in that case we don't want to build any
9071 # target libraries or tools.
9073 # This was added primarily for the benefit for binutils-gdb who reuse
9074 # this configure script, but don't always have target tools available.
9075 if test ! -d ${srcdir}/gcc
; then
9076 skipdirs
="${skipdirs} ${target_configdirs}"
9079 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
9080 # $build_configdirs and $target_configdirs.
9081 # If we have the source for $noconfigdirs entries, add them to $notsupp.
9084 for dir
in .
$skipdirs $noconfigdirs ; do
9085 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
9086 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9087 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
9088 if test -r $srcdir/$dirname/configure
; then
9089 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9092 notsupp
="$notsupp $dir"
9096 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9097 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
9098 if test -r $srcdir/$dirname/configure
; then
9099 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9102 notsupp
="$notsupp $dir"
9106 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9107 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
9108 if test -r $srcdir/$dirname/configure
; then
9109 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9112 notsupp
="$notsupp $dir"
9118 # Quietly strip out all directories which aren't configurable in this tree.
9119 # This relies on all configurable subdirectories being autoconfiscated, which
9121 build_configdirs_all
="$build_configdirs"
9123 for i
in ${build_configdirs_all} ; do
9124 j
=`echo $i | sed -e s/build-//g`
9125 if test -f ${srcdir}/$j/configure
; then
9126 build_configdirs
="${build_configdirs} $i"
9130 configdirs_all
="$configdirs"
9132 for i
in ${configdirs_all} ; do
9133 if test -f ${srcdir}/$i/configure
; then
9134 configdirs
="${configdirs} $i"
9138 target_configdirs_all
="$target_configdirs"
9140 for i
in ${target_configdirs_all} ; do
9141 j
=`echo $i | sed -e s/target-//g`
9142 if test -f ${srcdir}/$j/configure
; then
9143 target_configdirs
="${target_configdirs} $i"
9147 # libiberty-linker-plugin is special: it doesn't have its own source directory,
9148 # so we have to add it after the preceding checks.
9149 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
9151 case " $configdirs " in
9153 # If we can build libiberty, we can also build libiberty-linker-plugin.
9154 configdirs
="$configdirs libiberty-linker-plugin"
9155 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
9156 --with-libiberty=../libiberty-linker-plugin";;
9158 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
9162 # Sometimes we have special requirements for the host libiberty.
9163 extra_host_libiberty_configure_flags
=
9164 case " $configdirs " in
9165 *" lto-plugin "* |
*" libcc1 "* |
*" gdbserver "*)
9166 # When these are to be built as shared libraries, the same applies to
9168 extra_host_libiberty_configure_flags
=--enable-shared
9173 # Sometimes we have special requirements for the host zlib.
9174 extra_host_zlib_configure_flags
=
9175 case " $configdirs " in
9177 # When bfd is to be built as a shared library, the same applies to
9179 if test "$enable_shared" = "yes"; then
9180 extra_host_zlib_configure_flags
=--enable-host-shared
9186 # Produce a warning message for the subdirs we can't configure.
9187 # This isn't especially interesting in the Cygnus tree, but in the individual
9188 # FSF releases, it's important to let people know when their machine isn't
9189 # supported by the one or two programs in a package.
9191 if test -n "${notsupp}" && test -z "${norecursion}" ; then
9192 # If $appdirs is non-empty, at least one of those directories must still
9193 # be configured, or we error out. (E.g., if the gas release supports a
9194 # specified target in some subdirs but not the gas subdir, we shouldn't
9195 # pretend that all is well.)
9196 if test -n "$appdirs" ; then
9197 for dir
in $appdirs ; do
9198 if test -r $dir/Makefile.
in ; then
9199 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
9203 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
9209 if test -n "$appdirs" ; then
9210 echo "*** This configuration is not supported by this package." 1>&2
9214 # Okay, some application will build, or we don't care to check. Still
9215 # notify of subdirs not getting built.
9216 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
9217 echo " ${notsupp}" 1>&2
9218 echo " (Any other directories should still work fine.)" 1>&2
9226 # To find our prefix, in gcc_cv_tool_prefix.
9228 # The user is always right.
9229 if test "${PATH_SEPARATOR+set}" != set; then
9230 echo "#! /bin/sh" >conf$$.sh
9231 echo "exit 0" >>conf$$.sh
9233 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9242 get_gcc_base_ver
="cat"
9244 # Check whether --with-gcc-major-version-only was given.
9245 if test "${with_gcc_major_version_only+set}" = set; then :
9246 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
9247 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
9257 if test "x$exec_prefix" = xNONE
; then
9258 if test "x$prefix" = xNONE
; then
9259 gcc_cv_tool_prefix
=$ac_default_prefix
9261 gcc_cv_tool_prefix
=$prefix
9264 gcc_cv_tool_prefix
=$exec_prefix
9267 # If there is no compiler in the tree, use the PATH only. In any
9268 # case, if there is no compiler in the tree nobody should use
9269 # AS_FOR_TARGET and LD_FOR_TARGET.
9270 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
9271 if test x
$with_gcc_major_version_only = xyes
; then
9272 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
9274 gcc_version
=`cat $srcdir/gcc/BASE-VER`
9276 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9277 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
9278 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9279 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
9280 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
9281 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
9286 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
9287 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
9295 # Check whether --with-build-sysroot was given.
9296 if test "${with_build_sysroot+set}" = set; then :
9297 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
9298 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
9301 SYSROOT_CFLAGS_FOR_TARGET
=
9307 # Check whether --with-debug-prefix-map was given.
9308 if test "${with_debug_prefix_map+set}" = set; then :
9309 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
9310 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9311 for debug_map
in $withval; do
9312 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
9316 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
9321 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
9322 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
9323 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
9324 # We want to ensure that TARGET libraries (which we know are built with
9325 # gcc) are built with "-O2 -g", so include those options when setting
9326 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
9327 if test "x$CFLAGS_FOR_TARGET" = x
; then
9328 if test "x${is_cross_compiler}" = xyes
; then
9329 CFLAGS_FOR_TARGET
="-g -O2"
9331 CFLAGS_FOR_TARGET
=$CFLAGS
9334 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
9337 *" -g "* |
*" -g3 "*) ;;
9338 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
9344 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
9345 if test "x${is_cross_compiler}" = xyes
; then
9346 CXXFLAGS_FOR_TARGET
="-g -O2"
9348 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
9349 case " $CXXFLAGS " in
9351 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
9353 case " $CXXFLAGS " in
9354 *" -g "* |
*" -g3 "*) ;;
9355 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
9363 # Handle --with-headers=XXX. If the value is not "yes", the contents of
9364 # the named directory are copied to $(tooldir)/sys-include.
9365 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
9366 if test x
${is_cross_compiler} = xno
; then
9367 echo 1>&2 '***' --with-headers is only supported when cross compiling
9370 if test x
"${with_headers}" != xyes
; then
9371 x
=${gcc_cv_tool_prefix}
9372 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
9376 # Handle --with-libs=XXX. If the value is not "yes", the contents of
9377 # the name directories are copied to $(tooldir)/lib. Multiple directories
9379 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
9380 if test x
${is_cross_compiler} = xno
; then
9381 echo 1>&2 '***' --with-libs is only supported when cross compiling
9384 if test x
"${with_libs}" != xyes
; then
9385 # Copy the libraries in reverse order, so that files in the first named
9386 # library override files in subsequent libraries.
9387 x
=${gcc_cv_tool_prefix}
9388 for l
in ${with_libs}; do
9389 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
9394 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
9396 # This is done by determining whether or not the appropriate directory
9397 # is available, and by checking whether or not specific configurations
9398 # have requested that this magic not happen.
9400 # The command line options always override the explicit settings in
9401 # configure.ac, and the settings in configure.ac override this magic.
9403 # If the default for a toolchain is to use GNU as and ld, and you don't
9404 # want to do that, then you should use the --without-gnu-as and
9405 # --without-gnu-ld options for the configure script. Similarly, if
9406 # the default is to use the included zlib and you don't want to do that,
9407 # you should use the --with-system-zlib option for the configure script.
9409 if test x
${use_gnu_as} = x
&&
9410 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
9412 extra_host_args
="$extra_host_args --with-gnu-as"
9415 if test x
${use_gnu_ld} = x
&&
9416 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
9418 extra_host_args
="$extra_host_args --with-gnu-ld"
9421 if test x
${use_included_zlib} = x
&&
9422 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
9425 with_system_zlib
=yes
9426 extra_host_args
="$extra_host_args --with-system-zlib"
9429 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
9430 # can detect this case.
9432 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
9434 extra_host_args
="$extra_host_args --with-newlib"
9437 # Handle ${copy_dirs}
9438 set fnord
${copy_dirs}
9440 while test $# != 0 ; do
9441 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
9444 echo Copying
$1 to
$2
9446 # Use the install script to create the directory and all required
9447 # parent directories.
9448 if test -d $2 ; then
9452 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
9455 # Copy the directory, assuming we have tar.
9456 # FIXME: Should we use B in the second tar? Not all systems support it.
9457 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
9459 # It is the responsibility of the user to correctly adjust all
9460 # symlinks. If somebody can figure out how to handle them correctly
9461 # here, feel free to add the code.
9468 # Determine a target-dependent exec_prefix that the installed
9469 # gcc will search in. Keep this list sorted by triplet, with
9470 # the *-*-osname triplets last.
9473 i
[34567]86-pc-msdosdjgpp*)
9474 md_exec_prefix
=/dev
/env
/DJDIR
/bin
9479 md_exec_prefix
=/usr
/ccs
/bin
9483 extra_arflags_for_target
=
9484 extra_nmflags_for_target
=
9485 extra_ranlibflags_for_target
=
9486 target_makefile_frag
=/dev
/null
9489 target_makefile_frag
="config/mt-spu"
9491 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
9492 target_makefile_frag
="config/mt-sde"
9494 mipsisa
*-*-elfoabi*)
9495 target_makefile_frag
="config/mt-mips-elfoabi"
9497 mips
*-*-*linux
* | mips
*-*-gnu*)
9498 target_makefile_frag
="config/mt-mips-gnu"
9501 target_makefile_frag
="config/mt-nios2-elf"
9504 target_makefile_frag
="config/mt-android"
9506 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
9507 target_makefile_frag
="config/mt-gnu"
9509 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
9510 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
9511 # commands to handle both 32-bit and 64-bit objects. These flags are
9512 # harmless if we're using GNU nm or ar.
9513 extra_arflags_for_target
=" -X32_64"
9514 extra_nmflags_for_target
=" -B -X32_64"
9518 alphaieee_frag
=/dev
/null
9521 # This just makes sure to use the -mieee option to build target libs.
9522 # This should probably be set individually by each library.
9523 alphaieee_frag
="config/mt-alphaieee"
9527 # If --enable-target-optspace always use -Os instead of -O2 to build
9528 # the target libraries, similarly if it is not specified, use -Os
9529 # on selected platforms.
9530 ospace_frag
=/dev
/null
9531 case "${enable_target_optspace}:${target}" in
9533 ospace_frag
="config/mt-ospace"
9536 ospace_frag
="config/mt-d30v"
9538 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
9539 ospace_frag
="config/mt-ospace"
9544 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
9548 # Some systems (e.g., one of the i386-aix systems the gas testers are
9549 # using) don't handle "\$" correctly, so don't use it here.
9550 tooldir
='${exec_prefix}'/${target_noncanonical}
9551 build_tooldir
=${tooldir}
9553 # Create a .gdbinit file which runs the one in srcdir
9554 # and tells GDB to look there for source files.
9556 if test -r ${srcdir}/.gdbinit
; then
9559 *) cat > .
/.gdbinit
<<EOF
9563 source ${srcdir}/.gdbinit
9569 # Make sure that the compiler is able to generate an executable. If it
9570 # can't, we are probably in trouble. We don't care whether we can run the
9571 # executable--we might be using a cross compiler--we only care whether it
9572 # can be created. At this point the main configure script has set CC.
9574 echo "int main () { return 0; }" > conftest.c
9575 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
9576 if test $?
= 0 ; then
9577 if test -s conftest ||
test -s conftest.exe
; then
9583 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
9584 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
9591 # Decide which environment variable is used to find dynamic libraries.
9593 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
9594 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
9595 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
9596 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
9599 # On systems where the dynamic library environment variable is PATH,
9600 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
9601 # built executables to PATH.
9602 if test "$RPATH_ENVVAR" = PATH
; then
9603 GCC_SHLIB_SUBDIR
=/shlib
9608 # Adjust the toplevel makefile according to whether bootstrap was selected.
9609 case $enable_bootstrap in
9611 bootstrap_suffix
=bootstrap
9612 BUILD_CONFIG
=bootstrap-debug
9615 bootstrap_suffix
=no-bootstrap
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
9621 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
9624 # Check whether --with-build-config was given.
9625 if test "${with_build_config+set}" = set; then :
9626 withval
=$with_build_config; case $with_build_config in
9627 yes) with_build_config
= ;;
9628 no
) with_build_config
= BUILD_CONFIG
= ;;
9633 if test "x${with_build_config}" != x
; then
9634 BUILD_CONFIG
=$with_build_config
9636 case $BUILD_CONFIG in
9638 if echo "int f (void) { return 0; }" > conftest.c
&&
9639 ${CC} -c conftest.c
&&
9640 mv conftest.o conftest.o.g0
&&
9641 ${CC} -c -g conftest.c
&&
9642 mv conftest.o conftest.o.g
&&
9643 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
9648 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
9653 $as_echo "$BUILD_CONFIG" >&6; }
9656 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
9658 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
9659 # Check whether --enable-vtable-verify was given.
9660 if test "${enable_vtable_verify+set}" = set; then :
9661 enableval
=$enable_vtable_verify; case "$enableval" in
9662 yes) enable_vtable_verify
=yes ;;
9663 no
) enable_vtable_verify
=no
;;
9664 *) enable_vtable_verify
=no
;;
9667 enable_vtable_verify
=no
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
9671 $as_echo "$enable_vtable_verify" >&6; }
9673 # Record target_configdirs and the configure arguments for target and
9674 # build configuration in Makefile.
9675 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
9676 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
9677 bootstrap_fixincludes
=no
9679 # If we are building libgomp, bootstrap it.
9680 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
9681 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
9684 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
9685 # or bootstrap-ubsan, bootstrap it.
9686 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
9687 case "$BUILD_CONFIG" in
9688 *bootstrap-hwasan
* |
*bootstrap-asan
* |
*bootstrap-ubsan
* )
9689 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
9690 bootstrap_fixincludes
=yes
9695 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
9696 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
9697 test "$enable_vtable_verify" != no
; then
9698 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
9701 # If we are building libatomic and the list of enabled languages includes the
9702 # D frontend, bootstrap it.
9703 if echo " ${target_configdirs} " |
grep " libatomic " > /dev
/null
2>&1; then
9704 case ,${enable_languages}, in
9706 bootstrap_target_libs
=${bootstrap_target_libs}target-libatomic
,
9711 # Determine whether gdb needs tk/tcl or not.
9712 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
9713 # and in that case we want gdb to be built without tk. Ugh!
9714 # In fact I believe gdb is the *only* package directly dependent on tk,
9715 # so we should be able to put the 'maybe's in unconditionally and
9716 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
9717 # 100% sure that that's safe though.
9719 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
9720 case "$enable_gdbtk" in
9724 GDB_TK
="${gdb_tk}" ;;
9726 # Only add the dependency on gdbtk when GDBtk is part of the gdb
9727 # distro. Eventually someone will fix this and move Insight, nee
9728 # gdbtk to a separate directory.
9729 if test -d ${srcdir}/gdb
/gdbtk
; then
9736 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
9737 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
9739 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
9740 # else does, only include them if one of these is built. The Makefile
9741 # provides the ordering, so it's enough here to add to the list.
9742 case " ${configdirs} " in
9744 configdirs
="${configdirs} gnulib gdbsupport"
9747 configdirs
="${configdirs} gnulib gdbsupport"
9750 configdirs
="${configdirs} gnulib"
9754 # Strip out unwanted targets.
9756 # While at that, we remove Makefiles if we were started for recursive
9757 # configuration, so that the top-level Makefile reconfigures them,
9758 # like we used to do when configure itself was recursive.
9760 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
9761 # but now we're fixing up the Makefile ourselves with the additional
9762 # commands passed to AC_CONFIG_FILES. Use separate variables
9763 # extrasub-{build,host,target} not because there is any reason to split
9764 # the substitutions up that way, but only to remain below the limit of
9765 # 99 commands in a script, for HP-UX sed.
9767 # Do not nest @if/@endif or @unless/@endunless pairs, because
9768 # configure will not warn you at all.
9770 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
9771 yes:yes:*\ gold\
*:*,c
++,*) ;;
9772 yes:yes:*\ gold\
*:*)
9773 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
9778 for module
in ${build_configdirs} ; do
9779 if test -z "${no_recursion}" \
9780 && test -f ${build_subdir}/${module}/Makefile
; then
9781 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
9782 rm -f ${build_subdir}/${module}/Makefile
9784 extrasub_build
="$extrasub_build
9785 /^@if build-$module\$/d
9786 /^@endif build-$module\$/d
9787 /^@unless build-$module\$/,/^@endunless build-$module\$/d
9788 /^@if build-$module-$bootstrap_suffix\$/d
9789 /^@endif build-$module-$bootstrap_suffix\$/d
9790 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
9793 for module
in ${configdirs} ; do
9794 if test -z "${no_recursion}"; then
9795 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
9796 if test -f ${file}; then
9797 echo 1>&2 "*** removing ${file} to force reconfigure"
9802 case ${module},${bootstrap_fixincludes} in
9803 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
9804 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
9806 extrasub_host
="$extrasub_host
9808 /^@endif $module\$/d
9809 /^@unless $module\$/,/^@endunless $module\$/d
9810 /^@if $module-$host_bootstrap_suffix\$/d
9811 /^@endif $module-$host_bootstrap_suffix\$/d
9812 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
9815 for module
in ${target_configdirs} ; do
9816 if test -z "${no_recursion}" \
9817 && test -f ${target_subdir}/${module}/Makefile
; then
9818 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
9819 rm -f ${target_subdir}/${module}/Makefile
9822 # We only bootstrap target libraries listed in bootstrap_target_libs.
9823 case $bootstrap_target_libs in
9824 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
9825 *) target_bootstrap_suffix
=no-bootstrap
;;
9828 extrasub_target
="$extrasub_target
9829 /^@if target-$module\$/d
9830 /^@endif target-$module\$/d
9831 /^@unless target-$module\$/,/^@endunless target-$module\$/d
9832 /^@if target-$module-$target_bootstrap_suffix\$/d
9833 /^@endif target-$module-$target_bootstrap_suffix\$/d
9834 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
9837 # Do the final fixup along with target modules.
9838 extrasub_target
="$extrasub_target
9843 if test "$enable_pgo_build" != "no"; then
9844 extrasub_build
="$extrasub_build
9846 /^@endif pgo-build\$/d"
9849 # Create the serialization dependencies. This uses a temporary file.
9851 # Check whether --enable-serial-configure was given.
9852 if test "${enable_serial_configure+set}" = set; then :
9853 enableval
=$enable_serial_configure;
9857 case ${enable_serial_configure} in
9859 enable_serial_build_configure
=yes
9860 enable_serial_host_configure
=yes
9861 enable_serial_target_configure
=yes
9865 # These force 'configure's to be done one at a time, to avoid problems
9866 # with contention over a shared config.cache.
9868 echo '# serdep.tmp' > serdep.tmp
9870 test "x${enable_serial_build_configure}" = xyes
&&
9871 for item
in ${build_configdirs} ; do
9874 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
9879 test "x${enable_serial_host_configure}" = xyes
&&
9880 for item
in ${configdirs} ; do
9883 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
9888 test "x${enable_serial_target_configure}" = xyes
&&
9889 for item
in ${target_configdirs} ; do
9892 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
9896 serialization_dependencies
=serdep.tmp
9899 # Base args. Strip norecursion, cache-file, srcdir, host, build,
9900 # target, nonopt, and variable assignments. These are the ones we
9901 # might not want to pass down to subconfigures. The exception being
9902 # --cache-file=/dev/null, which is used to turn off the use of cache
9903 # files altogether, and which should be passed on to subconfigures.
9904 # Also strip program-prefix, program-suffix, and program-transform-name,
9905 # so that we can pass down a consistent program-transform-name.
9910 eval "set -- $ac_configure_args"
9913 if test X
"$skip_next" = X
"yes"; then
9917 if test X
"$keep_next" = X
"yes"; then
9920 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9922 baseargs
="$baseargs '$ac_arg'"
9923 tbaseargs
="$tbaseargs '$ac_arg'"
9928 # Handle separated arguments. Based on the logic generated by
9931 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
9932 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
9933 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
9934 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
9948 --with-* |
--without-*)
9949 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
9953 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
9956 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
9965 mpc | mpfr | gmp | isl
)
9966 # If we're processing --with-$lib, --with-$lib-include or
9967 # --with-$lib-lib, for one of the libs above, and target is
9968 # different from host, don't pass the current argument to any
9969 # target library's configure.
9970 if test x
$is_cross_compiler = xyes
; then
9979 --cache-file=/dev
/null | \
9980 -cache-file=/dev
/null
)
9981 # Handled here to avoid the test to skip args below.
9982 baseargs
="$baseargs '$ac_arg'"
9983 tbaseargs
="$tbaseargs '$ac_arg'"
9984 # Assert: $separate_arg should always be no.
9985 keep_next
=$separate_arg
10001 -program-prefix* | \
10002 -program-suffix* | \
10003 -program-transform-name* )
10004 skip_next
=$separate_arg
10008 # An option. Add it.
10011 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10013 baseargs
="$baseargs '$ac_arg'"
10014 if test X
"$skip_targ" = Xno
; then
10015 tbaseargs
="$tbaseargs '$ac_arg'"
10017 keep_next
=$separate_arg
10020 # Either a variable assignment, or a nonopt (triplet). Don't
10021 # pass it down; let the Makefile handle this.
10026 # Remove the initial space we just introduced and, as these will be
10027 # expanded by make, quote '$'.
10028 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
10030 # Add in --program-transform-name, after --program-prefix and
10031 # --program-suffix have been applied to it. Autoconf has already
10032 # doubled dollar signs and backslashes in program_transform_name; we want
10033 # the backslashes un-doubled, and then the entire thing wrapped in single
10034 # quotes, because this will be expanded first by make and then by the shell.
10035 # Also, because we want to override the logic in subdir configure scripts to
10036 # choose program_transform_name, replace any s,x,x, with s,y,y,.
10037 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
10038 ${program_transform_name}
10040 gcc_transform_name
=`cat conftestsed.out`
10041 rm -f conftestsed.out
10042 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
10043 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
10044 if test "$silent" = yes; then
10045 baseargs
="$baseargs --silent"
10046 tbaseargs
="$tbaseargs --silent"
10048 baseargs
="$baseargs --disable-option-checking"
10049 tbaseargs
="$tbaseargs --disable-option-checking"
10051 # Record and document user additions to sub configure arguments.
10056 # For the build-side libraries, we just need to pretend we're native,
10057 # and not use the same cache file. Multilibs are neither needed nor
10058 # desired. We can't even use the same cache file for all build-side
10059 # libraries, as they're compiled differently; some with C, some with
10060 # C++ or with different feature-enabling options.
10061 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
10063 # For host modules, accept cache file option, or specification as blank.
10064 case "${cache_file}" in
10066 cache_file_option
="" ;;
10067 /* |
[A-Za-z
]:[\\/]* ) # absolute path
10068 cache_file_option
="--cache-file=${cache_file}" ;;
10070 cache_file_option
="--cache-file=../${cache_file}" ;;
10073 # Host dirs don't like to share a cache file either, horribly enough.
10074 # This seems to be due to autoconf 2.5x stupidity.
10075 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
10077 target_configargs
="$target_configargs ${tbaseargs}"
10079 # Passing a --with-cross-host argument lets the target libraries know
10080 # whether they are being built with a cross-compiler or being built
10081 # native. However, it would be better to use other mechanisms to make the
10082 # sorts of decisions they want to make on this basis. Please consider
10083 # this option to be deprecated. FIXME.
10084 if test x
${is_cross_compiler} = xyes
; then
10085 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
10088 # Special user-friendly check for native x86_64-linux build, if
10089 # multilib is not explicitly enabled.
10090 case "$target:$have_compiler:$host:$target:$enable_multilib" in
10091 x86_64-
*linux
*:yes:$build:$build:)
10092 # Make sure we have a development environment that handles 32-bit
10094 echo "int main () { return 0; }" > conftest.c
10095 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
10096 if test $?
= 0 ; then
10097 if test -s conftest ||
test -s conftest.exe
; then
10102 if test x
${dev64} != xyes
; then
10103 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
10108 # Default to --enable-multilib.
10109 if test x
${enable_multilib} = x
; then
10110 target_configargs
="--enable-multilib ${target_configargs}"
10113 # Pass --with-newlib if appropriate. Note that target_configdirs has
10114 # changed from the earlier setting of with_newlib.
10115 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
10116 target_configargs
="--with-newlib ${target_configargs}"
10119 # Different target subdirs use different values of certain variables
10120 # (notably CXX). Worse, multilibs use *lots* of different values.
10121 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
10122 # it doesn't automatically accept command-line overrides of them.
10123 # This means it's not safe for target subdirs to share a cache file,
10124 # which is disgusting, but there you have it. Hopefully this can be
10125 # fixed in future. It's still worthwhile to use a cache file for each
10126 # directory. I think.
10128 # Pass the appropriate --build, --host, --target and --cache-file arguments.
10129 # We need to pass --target, as newer autoconf's requires consistency
10130 # for target_alias and gcc doesn't manage it consistently.
10131 target_configargs
="--cache-file=./config.cache ${target_configargs}"
10134 case " $target_configdirs " in
10136 case " $target_configargs " in
10137 *" --with-newlib "*)
10140 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
10144 # If we're not building GCC, don't discard standard headers.
10145 if test -d ${srcdir}/gcc
; then
10146 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
10148 if test "${build}" != "${host}"; then
10149 # On Canadian crosses, CC_FOR_TARGET will have already been set
10150 # by `configure', so we won't have an opportunity to add -Bgcc/
10151 # to it. This is right: we don't want to search that directory
10152 # for binaries, but we want the header files in there, so add
10154 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
10156 # Someone might think of using the pre-installed headers on
10157 # Canadian crosses, in case the installed compiler is not fully
10158 # compatible with the compiler being built. In this case, it
10159 # would be better to flag an error than risking having
10160 # incompatible object files being constructed. We can't
10161 # guarantee that an error will be flagged, but let's hope the
10162 # compiler will do it, when presented with incompatible header
10167 case "${target}-${is_cross_compiler}" in
10168 i
[3456789]86-*-linux*-no)
10169 # Here host == target, so we don't need to build gcc,
10170 # so we don't want to discard standard headers.
10171 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
10174 # If we're building newlib, use its generic headers last, but search
10175 # for any libc-related directories first (so make it the last -B
10177 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
10179 # If we're building libgloss, find the startup file, simulator library
10180 # and linker script.
10181 case " $target_configdirs " in
10183 # Look for startup file, simulator library and maybe linker script.
10184 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
10185 # Look for libnosys.a in case the target needs it.
10186 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
10187 # Most targets have the linker script in the source directory.
10188 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
10199 x86_64-
*mingw
* |
*-w64-mingw*)
10200 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
10201 # however, use a symlink named 'mingw' in ${prefix} .
10202 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
10205 # MinGW can't be handled as Cygwin above since it does not use newlib.
10206 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'
10210 # Allow the user to override the flags for
10211 # our build compiler if desired.
10212 if test x
"${build}" = x
"${host}" ; then
10213 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
10214 CPPFLAGS_FOR_BUILD
=${CPPFLAGS_FOR_BUILD-${CPPFLAGS}}
10215 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
10216 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
10219 # On Canadian crosses, we'll be searching the right directories for
10220 # the previously-installed cross compiler, so don't bother to add
10221 # flags for directories within the install tree of the compiler
10222 # being built; programs in there won't even run.
10223 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
10224 # Search for pre-installed headers if nothing else fits.
10225 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
10228 if test "x
${use_gnu_ld}" = x &&
10229 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
10230 # Arrange for us to find uninstalled linker scripts.
10231 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
10234 # Search for other target-specific linker scripts and such.
10235 case "${target}" in
10237 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
10239 # The VxWorks support for shared libraries is getting in
10240 # incrementally. Make sure it doesn't get activated implicitly:
10242 if test "${enable_shared-unset}" = unset ; then
10244 # So the build of libraries knows ...
10245 target_configargs="${target_configargs} --disable-shared"
10247 host_configargs="${host_configargs} --disable-shared"
10252 # Makefile fragments.
10253 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
10255 eval fragval=\$$frag
10256 if test $fragval != /dev/null; then
10257 eval $frag=${srcdir}/$fragval
10265 # Miscellanea: directories, flags, etc.
10274 # Build module lists & subconfigure args.
10278 # Host module lists & subconfigure args.
10283 # Target module lists & subconfigure args.
10308 # Generate default definitions for YACC, M4, LEX and other programs that run
10309 # on the build machine. These are used if the Makefile can't locate these
10310 # programs in objdir.
10311 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
10313 for ac_prog in 'bison -y' byacc yacc
10315 # Extract the first word of "$ac_prog", so it can be a program name with args.
10316 set dummy $ac_prog; ac_word=$2
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10318 $as_echo_n "checking
for $ac_word...
" >&6; }
10319 if ${ac_cv_prog_YACC+:} false; then :
10320 $as_echo_n "(cached
) " >&6
10322 if test -n "$YACC"; then
10323 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10326 for as_dir in $PATH
10329 test -z "$as_dir" && as_dir=.
10330 for ac_exec_ext in '' $ac_executable_extensions; do
10331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10332 ac_cv_prog_YACC="$ac_prog"
10333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10342 YACC=$ac_cv_prog_YACC
10343 if test -n "$YACC"; then
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
10345 $as_echo "$YACC" >&6; }
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10348 $as_echo "no
" >&6; }
10352 test -n "$YACC" && break
10354 test -n "$YACC" || YACC="$MISSING bison
-y"
10356 case " $build_configdirs " in
10357 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
10360 for ac_prog in bison
10362 # Extract the first word of "$ac_prog", so it can be a program name with args.
10363 set dummy $ac_prog; ac_word=$2
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10365 $as_echo_n "checking
for $ac_word...
" >&6; }
10366 if ${ac_cv_prog_BISON+:} false; then :
10367 $as_echo_n "(cached
) " >&6
10369 if test -n "$BISON"; then
10370 ac_cv_prog_BISON="$BISON" # Let the user override the test.
10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10373 for as_dir in $PATH
10376 test -z "$as_dir" && as_dir=.
10377 for ac_exec_ext in '' $ac_executable_extensions; do
10378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10379 ac_cv_prog_BISON="$ac_prog"
10380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10389 BISON=$ac_cv_prog_BISON
10390 if test -n "$BISON"; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
10392 $as_echo "$BISON" >&6; }
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10395 $as_echo "no
" >&6; }
10399 test -n "$BISON" && break
10401 test -n "$BISON" || BISON="$MISSING bison
"
10403 case " $build_configdirs " in
10404 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
10407 for ac_prog in gm4 gnum4 m4
10409 # Extract the first word of "$ac_prog", so it can be a program name with args.
10410 set dummy $ac_prog; ac_word=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10412 $as_echo_n "checking
for $ac_word...
" >&6; }
10413 if ${ac_cv_prog_M4+:} false; then :
10414 $as_echo_n "(cached
) " >&6
10416 if test -n "$M4"; then
10417 ac_cv_prog_M4="$M4" # Let the user override the test.
10419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10420 for as_dir in $PATH
10423 test -z "$as_dir" && as_dir=.
10424 for ac_exec_ext in '' $ac_executable_extensions; do
10425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10426 ac_cv_prog_M4="$ac_prog"
10427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10437 if test -n "$M4"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
10439 $as_echo "$M4" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10442 $as_echo "no
" >&6; }
10446 test -n "$M4" && break
10448 test -n "$M4" || M4="$MISSING m4"
10450 case " $build_configdirs " in
10451 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
10454 for ac_prog in flex lex
10456 # Extract the first word of "$ac_prog", so it can be a program name with args.
10457 set dummy $ac_prog; ac_word=$2
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10459 $as_echo_n "checking
for $ac_word...
" >&6; }
10460 if ${ac_cv_prog_LEX+:} false; then :
10461 $as_echo_n "(cached
) " >&6
10463 if test -n "$LEX"; then
10464 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10470 test -z "$as_dir" && as_dir=.
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473 ac_cv_prog_LEX="$ac_prog"
10474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10483 LEX=$ac_cv_prog_LEX
10484 if test -n "$LEX"; then
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
10486 $as_echo "$LEX" >&6; }
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10489 $as_echo "no
" >&6; }
10493 test -n "$LEX" && break
10495 test -n "$LEX" || LEX="$MISSING flex
"
10497 case " $build_configdirs " in
10498 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10499 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
10502 for ac_prog in flex
10504 # Extract the first word of "$ac_prog", so it can be a program name with args.
10505 set dummy $ac_prog; ac_word=$2
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10507 $as_echo_n "checking
for $ac_word...
" >&6; }
10508 if ${ac_cv_prog_FLEX+:} false; then :
10509 $as_echo_n "(cached
) " >&6
10511 if test -n "$FLEX"; then
10512 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
10514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10515 for as_dir in $PATH
10518 test -z "$as_dir" && as_dir=.
10519 for ac_exec_ext in '' $ac_executable_extensions; do
10520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10521 ac_cv_prog_FLEX="$ac_prog"
10522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10531 FLEX=$ac_cv_prog_FLEX
10532 if test -n "$FLEX"; then
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
10534 $as_echo "$FLEX" >&6; }
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10537 $as_echo "no
" >&6; }
10541 test -n "$FLEX" && break
10543 test -n "$FLEX" || FLEX="$MISSING flex
"
10545 case " $build_configdirs " in
10546 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
10549 for ac_prog in makeinfo
10551 # Extract the first word of "$ac_prog", so it can be a program name with args.
10552 set dummy $ac_prog; ac_word=$2
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10554 $as_echo_n "checking
for $ac_word...
" >&6; }
10555 if ${ac_cv_prog_MAKEINFO+:} false; then :
10556 $as_echo_n "(cached
) " >&6
10558 if test -n "$MAKEINFO"; then
10559 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
10561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10562 for as_dir in $PATH
10565 test -z "$as_dir" && as_dir=.
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10568 ac_cv_prog_MAKEINFO="$ac_prog"
10569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10578 MAKEINFO=$ac_cv_prog_MAKEINFO
10579 if test -n "$MAKEINFO"; then
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
10581 $as_echo "$MAKEINFO" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10584 $as_echo "no
" >&6; }
10588 test -n "$MAKEINFO" && break
10590 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
10592 case " $build_configdirs " in
10593 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
10596 # For an installed makeinfo, we require it to be from texinfo 4.7 or
10597 # higher, else we use the "missing
" dummy.
10598 if ${MAKEINFO} --version \
10599 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
10602 MAKEINFO="$MISSING makeinfo
"
10608 # FIXME: expect and dejagnu may become build tools?
10610 for ac_prog in expect
10612 # Extract the first word of "$ac_prog", so it can be a program name with args.
10613 set dummy $ac_prog; ac_word=$2
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10615 $as_echo_n "checking
for $ac_word...
" >&6; }
10616 if ${ac_cv_prog_EXPECT+:} false; then :
10617 $as_echo_n "(cached
) " >&6
10619 if test -n "$EXPECT"; then
10620 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
10622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10623 for as_dir in $PATH
10626 test -z "$as_dir" && as_dir=.
10627 for ac_exec_ext in '' $ac_executable_extensions; do
10628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10629 ac_cv_prog_EXPECT="$ac_prog"
10630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10639 EXPECT=$ac_cv_prog_EXPECT
10640 if test -n "$EXPECT"; then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
10642 $as_echo "$EXPECT" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10645 $as_echo "no
" >&6; }
10649 test -n "$EXPECT" && break
10651 test -n "$EXPECT" || EXPECT="expect
"
10653 case " $configdirs " in
10655 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
10659 for ac_prog in runtest
10661 # Extract the first word of "$ac_prog", so it can be a program name with args.
10662 set dummy $ac_prog; ac_word=$2
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10664 $as_echo_n "checking
for $ac_word...
" >&6; }
10665 if ${ac_cv_prog_RUNTEST+:} false; then :
10666 $as_echo_n "(cached
) " >&6
10668 if test -n "$RUNTEST"; then
10669 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
10671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10672 for as_dir in $PATH
10675 test -z "$as_dir" && as_dir=.
10676 for ac_exec_ext in '' $ac_executable_extensions; do
10677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10678 ac_cv_prog_RUNTEST="$ac_prog"
10679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10688 RUNTEST=$ac_cv_prog_RUNTEST
10689 if test -n "$RUNTEST"; then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
10691 $as_echo "$RUNTEST" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10694 $as_echo "no
" >&6; }
10698 test -n "$RUNTEST" && break
10700 test -n "$RUNTEST" || RUNTEST="runtest
"
10702 case " $configdirs " in
10704 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
10711 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
10712 ncn_target_tool_prefix=
10713 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
10717 if test -n "$AR"; then
10719 elif test -n "$ac_cv_prog_AR"; then
10723 if test -n "$ac_cv_prog_AR"; then
10724 for ncn_progname in ar; do
10725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10726 set dummy ${ncn_progname}; ac_word=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10728 $as_echo_n "checking
for $ac_word...
" >&6; }
10729 if ${ac_cv_prog_AR+:} false; then :
10730 $as_echo_n "(cached
) " >&6
10732 if test -n "$AR"; then
10733 ac_cv_prog_AR="$AR" # Let the user override the test.
10735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10736 for as_dir in $PATH
10739 test -z "$as_dir" && as_dir=.
10740 for ac_exec_ext in '' $ac_executable_extensions; do
10741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10742 ac_cv_prog_AR="${ncn_progname}"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10753 if test -n "$AR"; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10755 $as_echo "$AR" >&6; }
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10758 $as_echo "no
" >&6; }
10765 for ncn_progname in ar; do
10766 if test -n "$ncn_tool_prefix"; then
10767 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10768 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10770 $as_echo_n "checking
for $ac_word...
" >&6; }
10771 if ${ac_cv_prog_AR+:} false; then :
10772 $as_echo_n "(cached
) " >&6
10774 if test -n "$AR"; then
10775 ac_cv_prog_AR="$AR" # Let the user override the test.
10777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10778 for as_dir in $PATH
10781 test -z "$as_dir" && as_dir=.
10782 for ac_exec_ext in '' $ac_executable_extensions; do
10783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10784 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
10785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10795 if test -n "$AR"; then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10797 $as_echo "$AR" >&6; }
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10800 $as_echo "no
" >&6; }
10805 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
10806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10807 set dummy ${ncn_progname}; ac_word=$2
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10809 $as_echo_n "checking
for $ac_word...
" >&6; }
10810 if ${ac_cv_prog_AR+:} false; then :
10811 $as_echo_n "(cached
) " >&6
10813 if test -n "$AR"; then
10814 ac_cv_prog_AR="$AR" # Let the user override the test.
10816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10817 for as_dir in $PATH
10820 test -z "$as_dir" && as_dir=.
10821 for ac_exec_ext in '' $ac_executable_extensions; do
10822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10823 ac_cv_prog_AR="${ncn_progname}"
10824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10834 if test -n "$AR"; then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10836 $as_echo "$AR" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10839 $as_echo "no
" >&6; }
10844 test -n "$ac_cv_prog_AR" && break
10847 if test -z "$ac_cv_prog_AR" ; then
10849 if test $build = $host ; then
10852 AR="${ncn_tool_prefix}$2"
10858 if test -n "$AS"; then
10860 elif test -n "$ac_cv_prog_AS"; then
10864 if test -n "$ac_cv_prog_AS"; then
10865 for ncn_progname in as; do
10866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10867 set dummy ${ncn_progname}; ac_word=$2
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10869 $as_echo_n "checking
for $ac_word...
" >&6; }
10870 if ${ac_cv_prog_AS+:} false; then :
10871 $as_echo_n "(cached
) " >&6
10873 if test -n "$AS"; then
10874 ac_cv_prog_AS="$AS" # Let the user override the test.
10876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10877 for as_dir in $PATH
10880 test -z "$as_dir" && as_dir=.
10881 for ac_exec_ext in '' $ac_executable_extensions; do
10882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10883 ac_cv_prog_AS="${ncn_progname}"
10884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10894 if test -n "$AS"; then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10896 $as_echo "$AS" >&6; }
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10899 $as_echo "no
" >&6; }
10906 for ncn_progname in as; do
10907 if test -n "$ncn_tool_prefix"; then
10908 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10909 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10911 $as_echo_n "checking
for $ac_word...
" >&6; }
10912 if ${ac_cv_prog_AS+:} false; then :
10913 $as_echo_n "(cached
) " >&6
10915 if test -n "$AS"; then
10916 ac_cv_prog_AS="$AS" # Let the user override the test.
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10925 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
10926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10936 if test -n "$AS"; then
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10938 $as_echo "$AS" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10941 $as_echo "no
" >&6; }
10946 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
10947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10948 set dummy ${ncn_progname}; ac_word=$2
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10950 $as_echo_n "checking
for $ac_word...
" >&6; }
10951 if ${ac_cv_prog_AS+:} false; then :
10952 $as_echo_n "(cached
) " >&6
10954 if test -n "$AS"; then
10955 ac_cv_prog_AS="$AS" # Let the user override the test.
10957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10958 for as_dir in $PATH
10961 test -z "$as_dir" && as_dir=.
10962 for ac_exec_ext in '' $ac_executable_extensions; do
10963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10964 ac_cv_prog_AS="${ncn_progname}"
10965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10975 if test -n "$AS"; then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
10977 $as_echo "$AS" >&6; }
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10980 $as_echo "no
" >&6; }
10985 test -n "$ac_cv_prog_AS" && break
10988 if test -z "$ac_cv_prog_AS" ; then
10990 if test $build = $host ; then
10993 AS="${ncn_tool_prefix}$2"
10999 if test -n "$DLLTOOL"; then
11000 ac_cv_prog_DLLTOOL=$DLLTOOL
11001 elif test -n "$ac_cv_prog_DLLTOOL"; then
11002 DLLTOOL=$ac_cv_prog_DLLTOOL
11005 if test -n "$ac_cv_prog_DLLTOOL"; then
11006 for ncn_progname in dlltool; do
11007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11008 set dummy ${ncn_progname}; ac_word=$2
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11010 $as_echo_n "checking
for $ac_word...
" >&6; }
11011 if ${ac_cv_prog_DLLTOOL+:} false; then :
11012 $as_echo_n "(cached
) " >&6
11014 if test -n "$DLLTOOL"; then
11015 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11018 for as_dir in $PATH
11021 test -z "$as_dir" && as_dir=.
11022 for ac_exec_ext in '' $ac_executable_extensions; do
11023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11024 ac_cv_prog_DLLTOOL="${ncn_progname}"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11034 DLLTOOL=$ac_cv_prog_DLLTOOL
11035 if test -n "$DLLTOOL"; then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11037 $as_echo "$DLLTOOL" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11040 $as_echo "no
" >&6; }
11047 for ncn_progname in dlltool; do
11048 if test -n "$ncn_tool_prefix"; then
11049 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11050 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11052 $as_echo_n "checking
for $ac_word...
" >&6; }
11053 if ${ac_cv_prog_DLLTOOL+:} false; then :
11054 $as_echo_n "(cached
) " >&6
11056 if test -n "$DLLTOOL"; then
11057 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11060 for as_dir in $PATH
11063 test -z "$as_dir" && as_dir=.
11064 for ac_exec_ext in '' $ac_executable_extensions; do
11065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11066 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
11067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11076 DLLTOOL=$ac_cv_prog_DLLTOOL
11077 if test -n "$DLLTOOL"; then
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11079 $as_echo "$DLLTOOL" >&6; }
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11082 $as_echo "no
" >&6; }
11087 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
11088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11089 set dummy ${ncn_progname}; ac_word=$2
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11091 $as_echo_n "checking
for $ac_word...
" >&6; }
11092 if ${ac_cv_prog_DLLTOOL+:} false; then :
11093 $as_echo_n "(cached
) " >&6
11095 if test -n "$DLLTOOL"; then
11096 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $PATH
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_prog_DLLTOOL="${ncn_progname}"
11106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11115 DLLTOOL=$ac_cv_prog_DLLTOOL
11116 if test -n "$DLLTOOL"; then
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
11118 $as_echo "$DLLTOOL" >&6; }
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11121 $as_echo "no
" >&6; }
11126 test -n "$ac_cv_prog_DLLTOOL" && break
11129 if test -z "$ac_cv_prog_DLLTOOL" ; then
11131 if test $build = $host ; then
11134 DLLTOOL="${ncn_tool_prefix}$2"
11140 if test -n "$DSYMUTIL"; then
11141 ac_cv_prog_DSYMUTIL=$DSYMUTIL
11142 elif test -n "$ac_cv_prog_DSYMUTIL"; then
11143 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11146 if test -n "$ac_cv_prog_DSYMUTIL"; then
11147 for ncn_progname in dsymutil; do
11148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11149 set dummy ${ncn_progname}; ac_word=$2
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11151 $as_echo_n "checking
for $ac_word...
" >&6; }
11152 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11153 $as_echo_n "(cached
) " >&6
11155 if test -n "$DSYMUTIL"; then
11156 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11162 test -z "$as_dir" && as_dir=.
11163 for ac_exec_ext in '' $ac_executable_extensions; do
11164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11165 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11175 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11176 if test -n "$DSYMUTIL"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11178 $as_echo "$DSYMUTIL" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11181 $as_echo "no
" >&6; }
11188 for ncn_progname in dsymutil; do
11189 if test -n "$ncn_tool_prefix"; then
11190 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11191 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11193 $as_echo_n "checking
for $ac_word...
" >&6; }
11194 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11195 $as_echo_n "(cached
) " >&6
11197 if test -n "$DSYMUTIL"; then
11198 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11201 for as_dir in $PATH
11204 test -z "$as_dir" && as_dir=.
11205 for ac_exec_ext in '' $ac_executable_extensions; do
11206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11207 ac_cv_prog_DSYMUTIL="${ncn_tool_prefix}${ncn_progname}"
11208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11217 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11218 if test -n "$DSYMUTIL"; then
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11220 $as_echo "$DSYMUTIL" >&6; }
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11223 $as_echo "no
" >&6; }
11228 if test -z "$ac_cv_prog_DSYMUTIL" && test $build = $host ; then
11229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11230 set dummy ${ncn_progname}; ac_word=$2
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11232 $as_echo_n "checking
for $ac_word...
" >&6; }
11233 if ${ac_cv_prog_DSYMUTIL+:} false; then :
11234 $as_echo_n "(cached
) " >&6
11236 if test -n "$DSYMUTIL"; then
11237 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11240 for as_dir in $PATH
11243 test -z "$as_dir" && as_dir=.
11244 for ac_exec_ext in '' $ac_executable_extensions; do
11245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11246 ac_cv_prog_DSYMUTIL="${ncn_progname}"
11247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11256 DSYMUTIL=$ac_cv_prog_DSYMUTIL
11257 if test -n "$DSYMUTIL"; then
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
11259 $as_echo "$DSYMUTIL" >&6; }
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11262 $as_echo "no
" >&6; }
11267 test -n "$ac_cv_prog_DSYMUTIL" && break
11270 if test -z "$ac_cv_prog_DSYMUTIL" ; then
11272 if test $build = $host ; then
11275 DSYMUTIL="${ncn_tool_prefix}$2"
11281 if test -n "$LD"; then
11283 elif test -n "$ac_cv_prog_LD"; then
11287 if test -n "$ac_cv_prog_LD"; then
11288 for ncn_progname in ld; do
11289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11290 set dummy ${ncn_progname}; ac_word=$2
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11292 $as_echo_n "checking
for $ac_word...
" >&6; }
11293 if ${ac_cv_prog_LD+:} false; then :
11294 $as_echo_n "(cached
) " >&6
11296 if test -n "$LD"; then
11297 ac_cv_prog_LD="$LD" # Let the user override the test.
11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300 for as_dir in $PATH
11303 test -z "$as_dir" && as_dir=.
11304 for ac_exec_ext in '' $ac_executable_extensions; do
11305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11306 ac_cv_prog_LD="${ncn_progname}"
11307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11317 if test -n "$LD"; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11319 $as_echo "$LD" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11322 $as_echo "no
" >&6; }
11329 for ncn_progname in ld; do
11330 if test -n "$ncn_tool_prefix"; then
11331 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11332 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11334 $as_echo_n "checking
for $ac_word...
" >&6; }
11335 if ${ac_cv_prog_LD+:} false; then :
11336 $as_echo_n "(cached
) " >&6
11338 if test -n "$LD"; then
11339 ac_cv_prog_LD="$LD" # Let the user override the test.
11341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11342 for as_dir in $PATH
11345 test -z "$as_dir" && as_dir=.
11346 for ac_exec_ext in '' $ac_executable_extensions; do
11347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11348 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
11349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11359 if test -n "$LD"; then
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11361 $as_echo "$LD" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11364 $as_echo "no
" >&6; }
11369 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
11370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11371 set dummy ${ncn_progname}; ac_word=$2
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11373 $as_echo_n "checking
for $ac_word...
" >&6; }
11374 if ${ac_cv_prog_LD+:} false; then :
11375 $as_echo_n "(cached
) " >&6
11377 if test -n "$LD"; then
11378 ac_cv_prog_LD="$LD" # Let the user override the test.
11380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11381 for as_dir in $PATH
11384 test -z "$as_dir" && as_dir=.
11385 for ac_exec_ext in '' $ac_executable_extensions; do
11386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11387 ac_cv_prog_LD="${ncn_progname}"
11388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11398 if test -n "$LD"; then
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
11400 $as_echo "$LD" >&6; }
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11403 $as_echo "no
" >&6; }
11408 test -n "$ac_cv_prog_LD" && break
11411 if test -z "$ac_cv_prog_LD" ; then
11413 if test $build = $host ; then
11416 LD="${ncn_tool_prefix}$2"
11422 if test -n "$LIPO"; then
11423 ac_cv_prog_LIPO=$LIPO
11424 elif test -n "$ac_cv_prog_LIPO"; then
11425 LIPO=$ac_cv_prog_LIPO
11428 if test -n "$ac_cv_prog_LIPO"; then
11429 for ncn_progname in lipo; do
11430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11431 set dummy ${ncn_progname}; ac_word=$2
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11433 $as_echo_n "checking
for $ac_word...
" >&6; }
11434 if ${ac_cv_prog_LIPO+:} false; then :
11435 $as_echo_n "(cached
) " >&6
11437 if test -n "$LIPO"; then
11438 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11441 for as_dir in $PATH
11444 test -z "$as_dir" && as_dir=.
11445 for ac_exec_ext in '' $ac_executable_extensions; do
11446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11447 ac_cv_prog_LIPO="${ncn_progname}"
11448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11457 LIPO=$ac_cv_prog_LIPO
11458 if test -n "$LIPO"; then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11460 $as_echo "$LIPO" >&6; }
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11463 $as_echo "no
" >&6; }
11470 for ncn_progname in lipo; do
11471 if test -n "$ncn_tool_prefix"; then
11472 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11473 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11475 $as_echo_n "checking
for $ac_word...
" >&6; }
11476 if ${ac_cv_prog_LIPO+:} false; then :
11477 $as_echo_n "(cached
) " >&6
11479 if test -n "$LIPO"; then
11480 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11483 for as_dir in $PATH
11486 test -z "$as_dir" && as_dir=.
11487 for ac_exec_ext in '' $ac_executable_extensions; do
11488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11489 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
11490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11499 LIPO=$ac_cv_prog_LIPO
11500 if test -n "$LIPO"; then
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11502 $as_echo "$LIPO" >&6; }
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11505 $as_echo "no
" >&6; }
11510 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
11511 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11512 set dummy ${ncn_progname}; ac_word=$2
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11514 $as_echo_n "checking
for $ac_word...
" >&6; }
11515 if ${ac_cv_prog_LIPO+:} false; then :
11516 $as_echo_n "(cached
) " >&6
11518 if test -n "$LIPO"; then
11519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11522 for as_dir in $PATH
11525 test -z "$as_dir" && as_dir=.
11526 for ac_exec_ext in '' $ac_executable_extensions; do
11527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11528 ac_cv_prog_LIPO="${ncn_progname}"
11529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11538 LIPO=$ac_cv_prog_LIPO
11539 if test -n "$LIPO"; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
11541 $as_echo "$LIPO" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11544 $as_echo "no
" >&6; }
11549 test -n "$ac_cv_prog_LIPO" && break
11552 if test -z "$ac_cv_prog_LIPO" ; then
11554 if test $build = $host ; then
11557 LIPO="${ncn_tool_prefix}$2"
11563 if test -n "$NM"; then
11565 elif test -n "$ac_cv_prog_NM"; then
11569 if test -n "$ac_cv_prog_NM"; then
11570 for ncn_progname in nm; do
11571 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11572 set dummy ${ncn_progname}; ac_word=$2
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11574 $as_echo_n "checking
for $ac_word...
" >&6; }
11575 if ${ac_cv_prog_NM+:} false; then :
11576 $as_echo_n "(cached
) " >&6
11578 if test -n "$NM"; then
11579 ac_cv_prog_NM="$NM" # Let the user override the test.
11581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11582 for as_dir in $PATH
11585 test -z "$as_dir" && as_dir=.
11586 for ac_exec_ext in '' $ac_executable_extensions; do
11587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11588 ac_cv_prog_NM="${ncn_progname}"
11589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11599 if test -n "$NM"; then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11601 $as_echo "$NM" >&6; }
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11604 $as_echo "no
" >&6; }
11611 for ncn_progname in nm; do
11612 if test -n "$ncn_tool_prefix"; then
11613 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11614 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11616 $as_echo_n "checking
for $ac_word...
" >&6; }
11617 if ${ac_cv_prog_NM+:} false; then :
11618 $as_echo_n "(cached
) " >&6
11620 if test -n "$NM"; then
11621 ac_cv_prog_NM="$NM" # Let the user override the test.
11623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11627 test -z "$as_dir" && as_dir=.
11628 for ac_exec_ext in '' $ac_executable_extensions; do
11629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11630 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11641 if test -n "$NM"; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11643 $as_echo "$NM" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11646 $as_echo "no
" >&6; }
11651 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
11652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11653 set dummy ${ncn_progname}; ac_word=$2
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11655 $as_echo_n "checking
for $ac_word...
" >&6; }
11656 if ${ac_cv_prog_NM+:} false; then :
11657 $as_echo_n "(cached
) " >&6
11659 if test -n "$NM"; then
11660 ac_cv_prog_NM="$NM" # Let the user override the test.
11662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11663 for as_dir in $PATH
11666 test -z "$as_dir" && as_dir=.
11667 for ac_exec_ext in '' $ac_executable_extensions; do
11668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11669 ac_cv_prog_NM="${ncn_progname}"
11670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11680 if test -n "$NM"; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
11682 $as_echo "$NM" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11685 $as_echo "no
" >&6; }
11690 test -n "$ac_cv_prog_NM" && break
11693 if test -z "$ac_cv_prog_NM" ; then
11695 if test $build = $host ; then
11698 NM="${ncn_tool_prefix}$2"
11704 if test -n "$RANLIB"; then
11705 ac_cv_prog_RANLIB=$RANLIB
11706 elif test -n "$ac_cv_prog_RANLIB"; then
11707 RANLIB=$ac_cv_prog_RANLIB
11710 if test -n "$ac_cv_prog_RANLIB"; then
11711 for ncn_progname in ranlib; do
11712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11713 set dummy ${ncn_progname}; ac_word=$2
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11715 $as_echo_n "checking
for $ac_word...
" >&6; }
11716 if ${ac_cv_prog_RANLIB+:} false; then :
11717 $as_echo_n "(cached
) " >&6
11719 if test -n "$RANLIB"; then
11720 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11723 for as_dir in $PATH
11726 test -z "$as_dir" && as_dir=.
11727 for ac_exec_ext in '' $ac_executable_extensions; do
11728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11729 ac_cv_prog_RANLIB="${ncn_progname}"
11730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11739 RANLIB=$ac_cv_prog_RANLIB
11740 if test -n "$RANLIB"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11742 $as_echo "$RANLIB" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11745 $as_echo "no
" >&6; }
11752 for ncn_progname in ranlib; do
11753 if test -n "$ncn_tool_prefix"; then
11754 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11755 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11757 $as_echo_n "checking
for $ac_word...
" >&6; }
11758 if ${ac_cv_prog_RANLIB+:} false; then :
11759 $as_echo_n "(cached
) " >&6
11761 if test -n "$RANLIB"; then
11762 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765 for as_dir in $PATH
11768 test -z "$as_dir" && as_dir=.
11769 for ac_exec_ext in '' $ac_executable_extensions; do
11770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
11772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11781 RANLIB=$ac_cv_prog_RANLIB
11782 if test -n "$RANLIB"; then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11784 $as_echo "$RANLIB" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11787 $as_echo "no
" >&6; }
11792 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
11793 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11794 set dummy ${ncn_progname}; ac_word=$2
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11796 $as_echo_n "checking
for $ac_word...
" >&6; }
11797 if ${ac_cv_prog_RANLIB+:} false; then :
11798 $as_echo_n "(cached
) " >&6
11800 if test -n "$RANLIB"; then
11801 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11804 for as_dir in $PATH
11807 test -z "$as_dir" && as_dir=.
11808 for ac_exec_ext in '' $ac_executable_extensions; do
11809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_prog_RANLIB="${ncn_progname}"
11811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11820 RANLIB=$ac_cv_prog_RANLIB
11821 if test -n "$RANLIB"; then
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
11823 $as_echo "$RANLIB" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11826 $as_echo "no
" >&6; }
11831 test -n "$ac_cv_prog_RANLIB" && break
11834 if test -z "$ac_cv_prog_RANLIB" ; then
11840 if test -n "$STRIP"; then
11841 ac_cv_prog_STRIP=$STRIP
11842 elif test -n "$ac_cv_prog_STRIP"; then
11843 STRIP=$ac_cv_prog_STRIP
11846 if test -n "$ac_cv_prog_STRIP"; then
11847 for ncn_progname in strip; do
11848 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11849 set dummy ${ncn_progname}; ac_word=$2
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11851 $as_echo_n "checking
for $ac_word...
" >&6; }
11852 if ${ac_cv_prog_STRIP+:} false; then :
11853 $as_echo_n "(cached
) " >&6
11855 if test -n "$STRIP"; then
11856 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11859 for as_dir in $PATH
11862 test -z "$as_dir" && as_dir=.
11863 for ac_exec_ext in '' $ac_executable_extensions; do
11864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11865 ac_cv_prog_STRIP="${ncn_progname}"
11866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11875 STRIP=$ac_cv_prog_STRIP
11876 if test -n "$STRIP"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11878 $as_echo "$STRIP" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11881 $as_echo "no
" >&6; }
11888 for ncn_progname in strip; do
11889 if test -n "$ncn_tool_prefix"; then
11890 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11891 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11893 $as_echo_n "checking
for $ac_word...
" >&6; }
11894 if ${ac_cv_prog_STRIP+:} false; then :
11895 $as_echo_n "(cached
) " >&6
11897 if test -n "$STRIP"; then
11898 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11901 for as_dir in $PATH
11904 test -z "$as_dir" && as_dir=.
11905 for ac_exec_ext in '' $ac_executable_extensions; do
11906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11907 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
11908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11917 STRIP=$ac_cv_prog_STRIP
11918 if test -n "$STRIP"; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11920 $as_echo "$STRIP" >&6; }
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11923 $as_echo "no
" >&6; }
11928 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
11929 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11930 set dummy ${ncn_progname}; ac_word=$2
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11932 $as_echo_n "checking
for $ac_word...
" >&6; }
11933 if ${ac_cv_prog_STRIP+:} false; then :
11934 $as_echo_n "(cached
) " >&6
11936 if test -n "$STRIP"; then
11937 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11940 for as_dir in $PATH
11943 test -z "$as_dir" && as_dir=.
11944 for ac_exec_ext in '' $ac_executable_extensions; do
11945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11946 ac_cv_prog_STRIP="${ncn_progname}"
11947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11956 STRIP=$ac_cv_prog_STRIP
11957 if test -n "$STRIP"; then
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
11959 $as_echo "$STRIP" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11962 $as_echo "no
" >&6; }
11967 test -n "$ac_cv_prog_STRIP" && break
11970 if test -z "$ac_cv_prog_STRIP" ; then
11976 if test -n "$WINDRES"; then
11977 ac_cv_prog_WINDRES=$WINDRES
11978 elif test -n "$ac_cv_prog_WINDRES"; then
11979 WINDRES=$ac_cv_prog_WINDRES
11982 if test -n "$ac_cv_prog_WINDRES"; then
11983 for ncn_progname in windres; do
11984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11985 set dummy ${ncn_progname}; ac_word=$2
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11987 $as_echo_n "checking
for $ac_word...
" >&6; }
11988 if ${ac_cv_prog_WINDRES+:} false; then :
11989 $as_echo_n "(cached
) " >&6
11991 if test -n "$WINDRES"; then
11992 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
11994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11995 for as_dir in $PATH
11998 test -z "$as_dir" && as_dir=.
11999 for ac_exec_ext in '' $ac_executable_extensions; do
12000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12001 ac_cv_prog_WINDRES="${ncn_progname}"
12002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12011 WINDRES=$ac_cv_prog_WINDRES
12012 if test -n "$WINDRES"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12014 $as_echo "$WINDRES" >&6; }
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12017 $as_echo "no
" >&6; }
12024 for ncn_progname in windres; do
12025 if test -n "$ncn_tool_prefix"; then
12026 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12027 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12029 $as_echo_n "checking
for $ac_word...
" >&6; }
12030 if ${ac_cv_prog_WINDRES+:} false; then :
12031 $as_echo_n "(cached
) " >&6
12033 if test -n "$WINDRES"; then
12034 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12037 for as_dir in $PATH
12040 test -z "$as_dir" && as_dir=.
12041 for ac_exec_ext in '' $ac_executable_extensions; do
12042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12043 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
12044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12053 WINDRES=$ac_cv_prog_WINDRES
12054 if test -n "$WINDRES"; then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12056 $as_echo "$WINDRES" >&6; }
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12059 $as_echo "no
" >&6; }
12064 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
12065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12066 set dummy ${ncn_progname}; ac_word=$2
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12068 $as_echo_n "checking
for $ac_word...
" >&6; }
12069 if ${ac_cv_prog_WINDRES+:} false; then :
12070 $as_echo_n "(cached
) " >&6
12072 if test -n "$WINDRES"; then
12073 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12076 for as_dir in $PATH
12079 test -z "$as_dir" && as_dir=.
12080 for ac_exec_ext in '' $ac_executable_extensions; do
12081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12082 ac_cv_prog_WINDRES="${ncn_progname}"
12083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12092 WINDRES=$ac_cv_prog_WINDRES
12093 if test -n "$WINDRES"; then
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
12095 $as_echo "$WINDRES" >&6; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12098 $as_echo "no
" >&6; }
12103 test -n "$ac_cv_prog_WINDRES" && break
12106 if test -z "$ac_cv_prog_WINDRES" ; then
12108 if test $build = $host ; then
12111 WINDRES="${ncn_tool_prefix}$2"
12117 if test -n "$WINDMC"; then
12118 ac_cv_prog_WINDMC=$WINDMC
12119 elif test -n "$ac_cv_prog_WINDMC"; then
12120 WINDMC=$ac_cv_prog_WINDMC
12123 if test -n "$ac_cv_prog_WINDMC"; then
12124 for ncn_progname in windmc; do
12125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12126 set dummy ${ncn_progname}; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12128 $as_echo_n "checking
for $ac_word...
" >&6; }
12129 if ${ac_cv_prog_WINDMC+:} false; then :
12130 $as_echo_n "(cached
) " >&6
12132 if test -n "$WINDMC"; then
12133 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12139 test -z "$as_dir" && as_dir=.
12140 for ac_exec_ext in '' $ac_executable_extensions; do
12141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12142 ac_cv_prog_WINDMC="${ncn_progname}"
12143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12152 WINDMC=$ac_cv_prog_WINDMC
12153 if test -n "$WINDMC"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12155 $as_echo "$WINDMC" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12158 $as_echo "no
" >&6; }
12165 for ncn_progname in windmc; do
12166 if test -n "$ncn_tool_prefix"; then
12167 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12168 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12170 $as_echo_n "checking
for $ac_word...
" >&6; }
12171 if ${ac_cv_prog_WINDMC+:} false; then :
12172 $as_echo_n "(cached
) " >&6
12174 if test -n "$WINDMC"; then
12175 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12178 for as_dir in $PATH
12181 test -z "$as_dir" && as_dir=.
12182 for ac_exec_ext in '' $ac_executable_extensions; do
12183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12184 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
12185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12194 WINDMC=$ac_cv_prog_WINDMC
12195 if test -n "$WINDMC"; then
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12197 $as_echo "$WINDMC" >&6; }
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12200 $as_echo "no
" >&6; }
12205 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
12206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12207 set dummy ${ncn_progname}; ac_word=$2
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12209 $as_echo_n "checking
for $ac_word...
" >&6; }
12210 if ${ac_cv_prog_WINDMC+:} false; then :
12211 $as_echo_n "(cached
) " >&6
12213 if test -n "$WINDMC"; then
12214 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12220 test -z "$as_dir" && as_dir=.
12221 for ac_exec_ext in '' $ac_executable_extensions; do
12222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_prog_WINDMC="${ncn_progname}"
12224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12233 WINDMC=$ac_cv_prog_WINDMC
12234 if test -n "$WINDMC"; then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
12236 $as_echo "$WINDMC" >&6; }
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12239 $as_echo "no
" >&6; }
12244 test -n "$ac_cv_prog_WINDMC" && break
12247 if test -z "$ac_cv_prog_WINDMC" ; then
12249 if test $build = $host ; then
12252 WINDMC="${ncn_tool_prefix}$2"
12258 if test -n "$OBJCOPY"; then
12259 ac_cv_prog_OBJCOPY=$OBJCOPY
12260 elif test -n "$ac_cv_prog_OBJCOPY"; then
12261 OBJCOPY=$ac_cv_prog_OBJCOPY
12264 if test -n "$ac_cv_prog_OBJCOPY"; then
12265 for ncn_progname in objcopy; do
12266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12267 set dummy ${ncn_progname}; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12269 $as_echo_n "checking
for $ac_word...
" >&6; }
12270 if ${ac_cv_prog_OBJCOPY+:} false; then :
12271 $as_echo_n "(cached
) " >&6
12273 if test -n "$OBJCOPY"; then
12274 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12280 test -z "$as_dir" && as_dir=.
12281 for ac_exec_ext in '' $ac_executable_extensions; do
12282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_prog_OBJCOPY="${ncn_progname}"
12284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12293 OBJCOPY=$ac_cv_prog_OBJCOPY
12294 if test -n "$OBJCOPY"; then
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12296 $as_echo "$OBJCOPY" >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12299 $as_echo "no
" >&6; }
12306 for ncn_progname in objcopy; do
12307 if test -n "$ncn_tool_prefix"; then
12308 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12309 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12311 $as_echo_n "checking
for $ac_word...
" >&6; }
12312 if ${ac_cv_prog_OBJCOPY+:} false; then :
12313 $as_echo_n "(cached
) " >&6
12315 if test -n "$OBJCOPY"; then
12316 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12319 for as_dir in $PATH
12322 test -z "$as_dir" && as_dir=.
12323 for ac_exec_ext in '' $ac_executable_extensions; do
12324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12325 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
12326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12335 OBJCOPY=$ac_cv_prog_OBJCOPY
12336 if test -n "$OBJCOPY"; then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12338 $as_echo "$OBJCOPY" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12341 $as_echo "no
" >&6; }
12346 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
12347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12348 set dummy ${ncn_progname}; ac_word=$2
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12350 $as_echo_n "checking
for $ac_word...
" >&6; }
12351 if ${ac_cv_prog_OBJCOPY+:} false; then :
12352 $as_echo_n "(cached
) " >&6
12354 if test -n "$OBJCOPY"; then
12355 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12358 for as_dir in $PATH
12361 test -z "$as_dir" && as_dir=.
12362 for ac_exec_ext in '' $ac_executable_extensions; do
12363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12364 ac_cv_prog_OBJCOPY="${ncn_progname}"
12365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12374 OBJCOPY=$ac_cv_prog_OBJCOPY
12375 if test -n "$OBJCOPY"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
12377 $as_echo "$OBJCOPY" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12380 $as_echo "no
" >&6; }
12385 test -n "$ac_cv_prog_OBJCOPY" && break
12388 if test -z "$ac_cv_prog_OBJCOPY" ; then
12390 if test $build = $host ; then
12393 OBJCOPY="${ncn_tool_prefix}$2"
12399 if test -n "$OBJDUMP"; then
12400 ac_cv_prog_OBJDUMP=$OBJDUMP
12401 elif test -n "$ac_cv_prog_OBJDUMP"; then
12402 OBJDUMP=$ac_cv_prog_OBJDUMP
12405 if test -n "$ac_cv_prog_OBJDUMP"; then
12406 for ncn_progname in objdump; do
12407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12408 set dummy ${ncn_progname}; ac_word=$2
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12410 $as_echo_n "checking
for $ac_word...
" >&6; }
12411 if ${ac_cv_prog_OBJDUMP+:} false; then :
12412 $as_echo_n "(cached
) " >&6
12414 if test -n "$OBJDUMP"; then
12415 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12421 test -z "$as_dir" && as_dir=.
12422 for ac_exec_ext in '' $ac_executable_extensions; do
12423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424 ac_cv_prog_OBJDUMP="${ncn_progname}"
12425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12434 OBJDUMP=$ac_cv_prog_OBJDUMP
12435 if test -n "$OBJDUMP"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12437 $as_echo "$OBJDUMP" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12440 $as_echo "no
" >&6; }
12447 for ncn_progname in objdump; do
12448 if test -n "$ncn_tool_prefix"; then
12449 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12450 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12452 $as_echo_n "checking
for $ac_word...
" >&6; }
12453 if ${ac_cv_prog_OBJDUMP+:} false; then :
12454 $as_echo_n "(cached
) " >&6
12456 if test -n "$OBJDUMP"; then
12457 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12466 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
12467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12476 OBJDUMP=$ac_cv_prog_OBJDUMP
12477 if test -n "$OBJDUMP"; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12479 $as_echo "$OBJDUMP" >&6; }
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12482 $as_echo "no
" >&6; }
12487 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
12488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12489 set dummy ${ncn_progname}; ac_word=$2
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12491 $as_echo_n "checking
for $ac_word...
" >&6; }
12492 if ${ac_cv_prog_OBJDUMP+:} false; then :
12493 $as_echo_n "(cached
) " >&6
12495 if test -n "$OBJDUMP"; then
12496 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12505 ac_cv_prog_OBJDUMP="${ncn_progname}"
12506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12515 OBJDUMP=$ac_cv_prog_OBJDUMP
12516 if test -n "$OBJDUMP"; then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
12518 $as_echo "$OBJDUMP" >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12521 $as_echo "no
" >&6; }
12526 test -n "$ac_cv_prog_OBJDUMP" && break
12529 if test -z "$ac_cv_prog_OBJDUMP" ; then
12531 if test $build = $host ; then
12534 OBJDUMP="${ncn_tool_prefix}$2"
12540 if test -n "$OTOOL"; then
12541 ac_cv_prog_OTOOL=$OTOOL
12542 elif test -n "$ac_cv_prog_OTOOL"; then
12543 OTOOL=$ac_cv_prog_OTOOL
12546 if test -n "$ac_cv_prog_OTOOL"; then
12547 for ncn_progname in otool; do
12548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12549 set dummy ${ncn_progname}; ac_word=$2
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12551 $as_echo_n "checking
for $ac_word...
" >&6; }
12552 if ${ac_cv_prog_OTOOL+:} false; then :
12553 $as_echo_n "(cached
) " >&6
12555 if test -n "$OTOOL"; then
12556 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12559 for as_dir in $PATH
12562 test -z "$as_dir" && as_dir=.
12563 for ac_exec_ext in '' $ac_executable_extensions; do
12564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12565 ac_cv_prog_OTOOL="${ncn_progname}"
12566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12575 OTOOL=$ac_cv_prog_OTOOL
12576 if test -n "$OTOOL"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12578 $as_echo "$OTOOL" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12581 $as_echo "no
" >&6; }
12588 for ncn_progname in otool; do
12589 if test -n "$ncn_tool_prefix"; then
12590 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12591 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12593 $as_echo_n "checking
for $ac_word...
" >&6; }
12594 if ${ac_cv_prog_OTOOL+:} false; then :
12595 $as_echo_n "(cached
) " >&6
12597 if test -n "$OTOOL"; then
12598 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12601 for as_dir in $PATH
12604 test -z "$as_dir" && as_dir=.
12605 for ac_exec_ext in '' $ac_executable_extensions; do
12606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12607 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
12608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12617 OTOOL=$ac_cv_prog_OTOOL
12618 if test -n "$OTOOL"; then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12620 $as_echo "$OTOOL" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12623 $as_echo "no
" >&6; }
12628 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
12629 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12630 set dummy ${ncn_progname}; ac_word=$2
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12632 $as_echo_n "checking
for $ac_word...
" >&6; }
12633 if ${ac_cv_prog_OTOOL+:} false; then :
12634 $as_echo_n "(cached
) " >&6
12636 if test -n "$OTOOL"; then
12637 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12640 for as_dir in $PATH
12643 test -z "$as_dir" && as_dir=.
12644 for ac_exec_ext in '' $ac_executable_extensions; do
12645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12646 ac_cv_prog_OTOOL="${ncn_progname}"
12647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12656 OTOOL=$ac_cv_prog_OTOOL
12657 if test -n "$OTOOL"; then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
12659 $as_echo "$OTOOL" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12662 $as_echo "no
" >&6; }
12667 test -n "$ac_cv_prog_OTOOL" && break
12670 if test -z "$ac_cv_prog_OTOOL" ; then
12672 if test $build = $host ; then
12675 OTOOL="${ncn_tool_prefix}$2"
12681 if test -n "$READELF"; then
12682 ac_cv_prog_READELF=$READELF
12683 elif test -n "$ac_cv_prog_READELF"; then
12684 READELF=$ac_cv_prog_READELF
12687 if test -n "$ac_cv_prog_READELF"; then
12688 for ncn_progname in readelf; do
12689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12690 set dummy ${ncn_progname}; ac_word=$2
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12692 $as_echo_n "checking
for $ac_word...
" >&6; }
12693 if ${ac_cv_prog_READELF+:} false; then :
12694 $as_echo_n "(cached
) " >&6
12696 if test -n "$READELF"; then
12697 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 for ac_exec_ext in '' $ac_executable_extensions; do
12705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12706 ac_cv_prog_READELF="${ncn_progname}"
12707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12716 READELF=$ac_cv_prog_READELF
12717 if test -n "$READELF"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12719 $as_echo "$READELF" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12722 $as_echo "no
" >&6; }
12729 for ncn_progname in readelf; do
12730 if test -n "$ncn_tool_prefix"; then
12731 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
12732 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12734 $as_echo_n "checking
for $ac_word...
" >&6; }
12735 if ${ac_cv_prog_READELF+:} false; then :
12736 $as_echo_n "(cached
) " >&6
12738 if test -n "$READELF"; then
12739 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12742 for as_dir in $PATH
12745 test -z "$as_dir" && as_dir=.
12746 for ac_exec_ext in '' $ac_executable_extensions; do
12747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12748 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
12749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12758 READELF=$ac_cv_prog_READELF
12759 if test -n "$READELF"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12761 $as_echo "$READELF" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12764 $as_echo "no
" >&6; }
12769 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
12770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12771 set dummy ${ncn_progname}; ac_word=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12773 $as_echo_n "checking
for $ac_word...
" >&6; }
12774 if ${ac_cv_prog_READELF+:} false; then :
12775 $as_echo_n "(cached
) " >&6
12777 if test -n "$READELF"; then
12778 ac_cv_prog_READELF="$READELF" # Let the user override the test.
12780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12781 for as_dir in $PATH
12784 test -z "$as_dir" && as_dir=.
12785 for ac_exec_ext in '' $ac_executable_extensions; do
12786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12787 ac_cv_prog_READELF="${ncn_progname}"
12788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12797 READELF=$ac_cv_prog_READELF
12798 if test -n "$READELF"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
12800 $as_echo "$READELF" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12803 $as_echo "no
" >&6; }
12808 test -n "$ac_cv_prog_READELF" && break
12811 if test -z "$ac_cv_prog_READELF" ; then
12813 if test $build = $host ; then
12816 READELF="${ncn_tool_prefix}$2"
12829 # Check whether --with-build-time-tools was given.
12830 if test "${with_build_time_tools+set}" = set; then :
12831 withval=$with_build_time_tools; case x"$withval" in
12834 with_build_time_tools=
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
12836 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
12840 with_build_time_tools=
12846 if test -n "$CC_FOR_TARGET"; then
12847 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
12848 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12849 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12852 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
12853 for ncn_progname in cc gcc; do
12854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12855 set dummy ${ncn_progname}; ac_word=$2
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12857 $as_echo_n "checking
for $ac_word...
" >&6; }
12858 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12859 $as_echo_n "(cached
) " >&6
12861 if test -n "$CC_FOR_TARGET"; then
12862 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12865 for as_dir in $PATH
12868 test -z "$as_dir" && as_dir=.
12869 for ac_exec_ext in '' $ac_executable_extensions; do
12870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12871 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12881 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12882 if test -n "$CC_FOR_TARGET"; then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12884 $as_echo "$CC_FOR_TARGET" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12887 $as_echo "no
" >&6; }
12894 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12895 for ncn_progname in cc gcc; do
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12897 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12898 if test -x $with_build_time_tools/${ncn_progname}; then
12899 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12901 $as_echo "yes" >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12905 $as_echo "no
" >&6; }
12910 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
12911 for ncn_progname in cc gcc; do
12912 if test -n "$ncn_target_tool_prefix"; then
12913 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12914 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12916 $as_echo_n "checking
for $ac_word...
" >&6; }
12917 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12918 $as_echo_n "(cached
) " >&6
12920 if test -n "$CC_FOR_TARGET"; then
12921 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12924 for as_dir in $PATH
12927 test -z "$as_dir" && as_dir=.
12928 for ac_exec_ext in '' $ac_executable_extensions; do
12929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12930 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12940 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12941 if test -n "$CC_FOR_TARGET"; then
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12943 $as_echo "$CC_FOR_TARGET" >&6; }
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12946 $as_echo "no
" >&6; }
12951 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
12952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12953 set dummy ${ncn_progname}; ac_word=$2
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12955 $as_echo_n "checking
for $ac_word...
" >&6; }
12956 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
12957 $as_echo_n "(cached
) " >&6
12959 if test -n "$CC_FOR_TARGET"; then
12960 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $PATH
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12969 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
12970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12979 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
12980 if test -n "$CC_FOR_TARGET"; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
12982 $as_echo "$CC_FOR_TARGET" >&6; }
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12985 $as_echo "no
" >&6; }
12990 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
12994 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
12996 if test $build = $target ; then
12999 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13002 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
13007 if test -n "$CXX_FOR_TARGET"; then
13008 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
13009 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13010 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13013 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
13014 for ncn_progname in c++ g++ cxx gxx; do
13015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13016 set dummy ${ncn_progname}; ac_word=$2
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13018 $as_echo_n "checking
for $ac_word...
" >&6; }
13019 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13020 $as_echo_n "(cached
) " >&6
13022 if test -n "$CXX_FOR_TARGET"; then
13023 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13029 test -z "$as_dir" && as_dir=.
13030 for ac_exec_ext in '' $ac_executable_extensions; do
13031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13032 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13042 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13043 if test -n "$CXX_FOR_TARGET"; then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13045 $as_echo "$CXX_FOR_TARGET" >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13048 $as_echo "no
" >&6; }
13055 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
13056 for ncn_progname in c++ g++ cxx gxx; do
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13058 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13059 if test -x $with_build_time_tools/${ncn_progname}; then
13060 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13062 $as_echo "yes" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13066 $as_echo "no
" >&6; }
13071 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
13072 for ncn_progname in c++ g++ cxx gxx; do
13073 if test -n "$ncn_target_tool_prefix"; then
13074 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13075 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13077 $as_echo_n "checking
for $ac_word...
" >&6; }
13078 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13079 $as_echo_n "(cached
) " >&6
13081 if test -n "$CXX_FOR_TARGET"; then
13082 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13085 for as_dir in $PATH
13088 test -z "$as_dir" && as_dir=.
13089 for ac_exec_ext in '' $ac_executable_extensions; do
13090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13091 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13101 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13102 if test -n "$CXX_FOR_TARGET"; then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13104 $as_echo "$CXX_FOR_TARGET" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13107 $as_echo "no
" >&6; }
13112 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
13113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13114 set dummy ${ncn_progname}; ac_word=$2
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13116 $as_echo_n "checking
for $ac_word...
" >&6; }
13117 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
13118 $as_echo_n "(cached
) " >&6
13120 if test -n "$CXX_FOR_TARGET"; then
13121 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
13123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13124 for as_dir in $PATH
13127 test -z "$as_dir" && as_dir=.
13128 for ac_exec_ext in '' $ac_executable_extensions; do
13129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13130 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
13131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13140 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
13141 if test -n "$CXX_FOR_TARGET"; then
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
13143 $as_echo "$CXX_FOR_TARGET" >&6; }
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13146 $as_echo "no
" >&6; }
13151 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
13155 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
13156 set dummy c++ g++ cxx gxx
13157 if test $build = $target ; then
13158 CXX_FOR_TARGET="$2"
13160 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
13163 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
13168 if test -n "$GCC_FOR_TARGET"; then
13169 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
13170 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13171 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13174 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
13175 for ncn_progname in gcc; do
13176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13177 set dummy ${ncn_progname}; ac_word=$2
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13179 $as_echo_n "checking
for $ac_word...
" >&6; }
13180 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13181 $as_echo_n "(cached
) " >&6
13183 if test -n "$GCC_FOR_TARGET"; then
13184 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13187 for as_dir in $PATH
13190 test -z "$as_dir" && as_dir=.
13191 for ac_exec_ext in '' $ac_executable_extensions; do
13192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13193 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13203 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13204 if test -n "$GCC_FOR_TARGET"; then
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13206 $as_echo "$GCC_FOR_TARGET" >&6; }
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13209 $as_echo "no
" >&6; }
13216 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13217 for ncn_progname in gcc; do
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13219 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13220 if test -x $with_build_time_tools/${ncn_progname}; then
13221 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13223 $as_echo "yes" >&6; }
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13227 $as_echo "no
" >&6; }
13232 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
13233 for ncn_progname in gcc; do
13234 if test -n "$ncn_target_tool_prefix"; then
13235 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13236 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13238 $as_echo_n "checking
for $ac_word...
" >&6; }
13239 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13240 $as_echo_n "(cached
) " >&6
13242 if test -n "$GCC_FOR_TARGET"; then
13243 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13246 for as_dir in $PATH
13249 test -z "$as_dir" && as_dir=.
13250 for ac_exec_ext in '' $ac_executable_extensions; do
13251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13252 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13262 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13263 if test -n "$GCC_FOR_TARGET"; then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13265 $as_echo "$GCC_FOR_TARGET" >&6; }
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13268 $as_echo "no
" >&6; }
13273 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
13274 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13275 set dummy ${ncn_progname}; ac_word=$2
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13277 $as_echo_n "checking
for $ac_word...
" >&6; }
13278 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
13279 $as_echo_n "(cached
) " >&6
13281 if test -n "$GCC_FOR_TARGET"; then
13282 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13288 test -z "$as_dir" && as_dir=.
13289 for ac_exec_ext in '' $ac_executable_extensions; do
13290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
13292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13301 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
13302 if test -n "$GCC_FOR_TARGET"; then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
13304 $as_echo "$GCC_FOR_TARGET" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13307 $as_echo "no
" >&6; }
13312 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
13316 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
13317 GCC_FOR_TARGET="${CC_FOR_TARGET}"
13319 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
13324 if test -n "$GFORTRAN_FOR_TARGET"; then
13325 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
13326 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13327 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13330 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13331 for ncn_progname in gfortran; do
13332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13333 set dummy ${ncn_progname}; ac_word=$2
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13335 $as_echo_n "checking
for $ac_word...
" >&6; }
13336 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13337 $as_echo_n "(cached
) " >&6
13339 if test -n "$GFORTRAN_FOR_TARGET"; then
13340 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343 for as_dir in $PATH
13346 test -z "$as_dir" && as_dir=.
13347 for ac_exec_ext in '' $ac_executable_extensions; do
13348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13349 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13359 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13360 if test -n "$GFORTRAN_FOR_TARGET"; then
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13362 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13365 $as_echo "no
" >&6; }
13372 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
13373 for ncn_progname in gfortran; do
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13375 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13376 if test -x $with_build_time_tools/${ncn_progname}; then
13377 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13379 $as_echo "yes" >&6; }
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13383 $as_echo "no
" >&6; }
13388 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
13389 for ncn_progname in gfortran; do
13390 if test -n "$ncn_target_tool_prefix"; then
13391 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13392 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13394 $as_echo_n "checking
for $ac_word...
" >&6; }
13395 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13396 $as_echo_n "(cached
) " >&6
13398 if test -n "$GFORTRAN_FOR_TARGET"; then
13399 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13402 for as_dir in $PATH
13405 test -z "$as_dir" && as_dir=.
13406 for ac_exec_ext in '' $ac_executable_extensions; do
13407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13408 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13418 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13419 if test -n "$GFORTRAN_FOR_TARGET"; then
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13421 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13424 $as_echo "no
" >&6; }
13429 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
13430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13431 set dummy ${ncn_progname}; ac_word=$2
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13433 $as_echo_n "checking
for $ac_word...
" >&6; }
13434 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
13435 $as_echo_n "(cached
) " >&6
13437 if test -n "$GFORTRAN_FOR_TARGET"; then
13438 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
13440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13441 for as_dir in $PATH
13444 test -z "$as_dir" && as_dir=.
13445 for ac_exec_ext in '' $ac_executable_extensions; do
13446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13447 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
13448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13457 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
13458 if test -n "$GFORTRAN_FOR_TARGET"; then
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
13460 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13463 $as_echo "no
" >&6; }
13468 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
13472 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
13474 if test $build = $target ; then
13475 GFORTRAN_FOR_TARGET="$2"
13477 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
13480 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
13485 if test -n "$GOC_FOR_TARGET"; then
13486 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
13487 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13488 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13491 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
13492 for ncn_progname in gccgo; do
13493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13494 set dummy ${ncn_progname}; ac_word=$2
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13496 $as_echo_n "checking
for $ac_word...
" >&6; }
13497 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13498 $as_echo_n "(cached
) " >&6
13500 if test -n "$GOC_FOR_TARGET"; then
13501 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13504 for as_dir in $PATH
13507 test -z "$as_dir" && as_dir=.
13508 for ac_exec_ext in '' $ac_executable_extensions; do
13509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13510 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13520 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13521 if test -n "$GOC_FOR_TARGET"; then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13523 $as_echo "$GOC_FOR_TARGET" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13526 $as_echo "no
" >&6; }
13533 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13534 for ncn_progname in gccgo; do
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13536 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13537 if test -x $with_build_time_tools/${ncn_progname}; then
13538 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13540 $as_echo "yes" >&6; }
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13544 $as_echo "no
" >&6; }
13549 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
13550 for ncn_progname in gccgo; do
13551 if test -n "$ncn_target_tool_prefix"; then
13552 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13553 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13555 $as_echo_n "checking
for $ac_word...
" >&6; }
13556 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13557 $as_echo_n "(cached
) " >&6
13559 if test -n "$GOC_FOR_TARGET"; then
13560 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13563 for as_dir in $PATH
13566 test -z "$as_dir" && as_dir=.
13567 for ac_exec_ext in '' $ac_executable_extensions; do
13568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13569 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13579 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13580 if test -n "$GOC_FOR_TARGET"; then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13582 $as_echo "$GOC_FOR_TARGET" >&6; }
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13585 $as_echo "no
" >&6; }
13590 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
13591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13592 set dummy ${ncn_progname}; ac_word=$2
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13594 $as_echo_n "checking
for $ac_word...
" >&6; }
13595 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
13596 $as_echo_n "(cached
) " >&6
13598 if test -n "$GOC_FOR_TARGET"; then
13599 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
13601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13602 for as_dir in $PATH
13605 test -z "$as_dir" && as_dir=.
13606 for ac_exec_ext in '' $ac_executable_extensions; do
13607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13608 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
13609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13618 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
13619 if test -n "$GOC_FOR_TARGET"; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
13621 $as_echo "$GOC_FOR_TARGET" >&6; }
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13624 $as_echo "no
" >&6; }
13629 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
13633 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
13635 if test $build = $target ; then
13636 GOC_FOR_TARGET="$2"
13638 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13641 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
13646 if test -n "$GDC_FOR_TARGET"; then
13647 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
13648 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13649 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13652 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
13653 for ncn_progname in gdc; do
13654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13655 set dummy ${ncn_progname}; ac_word=$2
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13657 $as_echo_n "checking
for $ac_word...
" >&6; }
13658 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13659 $as_echo_n "(cached
) " >&6
13661 if test -n "$GDC_FOR_TARGET"; then
13662 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13665 for as_dir in $PATH
13668 test -z "$as_dir" && as_dir=.
13669 for ac_exec_ext in '' $ac_executable_extensions; do
13670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13671 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13681 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13682 if test -n "$GDC_FOR_TARGET"; then
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13684 $as_echo "$GDC_FOR_TARGET" >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13687 $as_echo "no
" >&6; }
13694 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13695 for ncn_progname in gdc; do
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13697 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13698 if test -x $with_build_time_tools/${ncn_progname}; then
13699 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13701 $as_echo "yes" >&6; }
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13705 $as_echo "no
" >&6; }
13710 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
13711 for ncn_progname in gdc; do
13712 if test -n "$ncn_target_tool_prefix"; then
13713 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13714 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13716 $as_echo_n "checking
for $ac_word...
" >&6; }
13717 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13718 $as_echo_n "(cached
) " >&6
13720 if test -n "$GDC_FOR_TARGET"; then
13721 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in $PATH
13727 test -z "$as_dir" && as_dir=.
13728 for ac_exec_ext in '' $ac_executable_extensions; do
13729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13730 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13740 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13741 if test -n "$GDC_FOR_TARGET"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13743 $as_echo "$GDC_FOR_TARGET" >&6; }
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13746 $as_echo "no
" >&6; }
13751 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
13752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13753 set dummy ${ncn_progname}; ac_word=$2
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13755 $as_echo_n "checking
for $ac_word...
" >&6; }
13756 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
13757 $as_echo_n "(cached
) " >&6
13759 if test -n "$GDC_FOR_TARGET"; then
13760 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
13762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13763 for as_dir in $PATH
13766 test -z "$as_dir" && as_dir=.
13767 for ac_exec_ext in '' $ac_executable_extensions; do
13768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13769 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
13770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13779 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
13780 if test -n "$GDC_FOR_TARGET"; then
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
13782 $as_echo "$GDC_FOR_TARGET" >&6; }
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13785 $as_echo "no
" >&6; }
13790 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
13794 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
13796 if test $build = $target ; then
13797 GDC_FOR_TARGET="$2"
13799 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13802 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
13807 if test -n "$GM2_FOR_TARGET"; then
13808 ac_cv_prog_GM2_FOR_TARGET=$GM2_FOR_TARGET
13809 elif test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
13810 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
13813 if test -n "$ac_cv_prog_GM2_FOR_TARGET"; then
13814 for ncn_progname in gm2; do
13815 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13816 set dummy ${ncn_progname}; ac_word=$2
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13818 $as_echo_n "checking
for $ac_word...
" >&6; }
13819 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
13820 $as_echo_n "(cached
) " >&6
13822 if test -n "$GM2_FOR_TARGET"; then
13823 ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
13825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13826 for as_dir in $PATH
13829 test -z "$as_dir" && as_dir=.
13830 for ac_exec_ext in '' $ac_executable_extensions; do
13831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13832 ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
13833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13842 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
13843 if test -n "$GM2_FOR_TARGET"; then
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GM2_FOR_TARGET" >&5
13845 $as_echo "$GM2_FOR_TARGET" >&6; }
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13848 $as_echo "no
" >&6; }
13855 if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test -n "$with_build_time_tools"; then
13856 for ncn_progname in gm2; do
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13858 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13859 if test -x $with_build_time_tools/${ncn_progname}; then
13860 ac_cv_prog_GM2_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13862 $as_echo "yes" >&6; }
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13866 $as_echo "no
" >&6; }
13871 if test -z "$ac_cv_prog_GM2_FOR_TARGET"; then
13872 for ncn_progname in gm2; do
13873 if test -n "$ncn_target_tool_prefix"; then
13874 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13875 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13877 $as_echo_n "checking
for $ac_word...
" >&6; }
13878 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
13879 $as_echo_n "(cached
) " >&6
13881 if test -n "$GM2_FOR_TARGET"; then
13882 ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
13884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885 for as_dir in $PATH
13888 test -z "$as_dir" && as_dir=.
13889 for ac_exec_ext in '' $ac_executable_extensions; do
13890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13891 ac_cv_prog_GM2_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13901 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
13902 if test -n "$GM2_FOR_TARGET"; then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GM2_FOR_TARGET" >&5
13904 $as_echo "$GM2_FOR_TARGET" >&6; }
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13907 $as_echo "no
" >&6; }
13912 if test -z "$ac_cv_prog_GM2_FOR_TARGET" && test $build = $target ; then
13913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13914 set dummy ${ncn_progname}; ac_word=$2
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13916 $as_echo_n "checking
for $ac_word...
" >&6; }
13917 if ${ac_cv_prog_GM2_FOR_TARGET+:} false; then :
13918 $as_echo_n "(cached
) " >&6
13920 if test -n "$GM2_FOR_TARGET"; then
13921 ac_cv_prog_GM2_FOR_TARGET="$GM2_FOR_TARGET" # Let the user override the test.
13923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13924 for as_dir in $PATH
13927 test -z "$as_dir" && as_dir=.
13928 for ac_exec_ext in '' $ac_executable_extensions; do
13929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13930 ac_cv_prog_GM2_FOR_TARGET="${ncn_progname}"
13931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13940 GM2_FOR_TARGET=$ac_cv_prog_GM2_FOR_TARGET
13941 if test -n "$GM2_FOR_TARGET"; then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GM2_FOR_TARGET" >&5
13943 $as_echo "$GM2_FOR_TARGET" >&6; }
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13946 $as_echo "no
" >&6; }
13951 test -n "$ac_cv_prog_GM2_FOR_TARGET" && break
13955 if test -z "$ac_cv_prog_GM2_FOR_TARGET" ; then
13957 if test $build = $target ; then
13958 GM2_FOR_TARGET="$2"
13960 GM2_FOR_TARGET="${ncn_target_tool_prefix}$2"
13963 GM2_FOR_TARGET="$ac_cv_prog_GM2_FOR_TARGET"
13968 cat > conftest.c << \EOF
13973 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
13974 have_gcc_for_target=yes
13976 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
13977 have_gcc_for_target=no
13984 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
13985 if test -n "$with_build_time_tools"; then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
13987 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
13988 if test -x $with_build_time_tools/ar; then
13989 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
13990 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
13992 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13995 $as_echo "no
" >&6; }
13997 elif test $build != $host && test $have_gcc_for_target = yes; then
13998 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
13999 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
14000 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
14003 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14004 # Extract the first word of "ar", so it can be a program name with args.
14005 set dummy ar; ac_word=$2
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14007 $as_echo_n "checking
for $ac_word...
" >&6; }
14008 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
14009 $as_echo_n "(cached
) " >&6
14011 case $AR_FOR_TARGET in
14013 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
14016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14017 for as_dir in $gcc_cv_tool_dirs
14020 test -z "$as_dir" && as_dir=.
14021 for ac_exec_ext in '' $ac_executable_extensions; do
14022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14023 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14034 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
14035 if test -n "$AR_FOR_TARGET"; then
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14037 $as_echo "$AR_FOR_TARGET" >&6; }
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14040 $as_echo "no
" >&6; }
14045 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
14048 if test -n "$AR_FOR_TARGET"; then
14049 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
14050 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
14051 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14054 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
14055 for ncn_progname in ar; do
14056 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14057 set dummy ${ncn_progname}; ac_word=$2
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14059 $as_echo_n "checking
for $ac_word...
" >&6; }
14060 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14061 $as_echo_n "(cached
) " >&6
14063 if test -n "$AR_FOR_TARGET"; then
14064 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14067 for as_dir in $PATH
14070 test -z "$as_dir" && as_dir=.
14071 for ac_exec_ext in '' $ac_executable_extensions; do
14072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14073 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
14074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14083 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14084 if test -n "$AR_FOR_TARGET"; then
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14086 $as_echo "$AR_FOR_TARGET" >&6; }
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14089 $as_echo "no
" >&6; }
14096 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
14097 for ncn_progname in ar; do
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14099 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14100 if test -x $with_build_time_tools/${ncn_progname}; then
14101 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14103 $as_echo "yes" >&6; }
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14107 $as_echo "no
" >&6; }
14112 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
14113 for ncn_progname in ar; do
14114 if test -n "$ncn_target_tool_prefix"; then
14115 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14116 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14118 $as_echo_n "checking
for $ac_word...
" >&6; }
14119 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14120 $as_echo_n "(cached
) " >&6
14122 if test -n "$AR_FOR_TARGET"; then
14123 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14126 for as_dir in $PATH
14129 test -z "$as_dir" && as_dir=.
14130 for ac_exec_ext in '' $ac_executable_extensions; do
14131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14132 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14142 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14143 if test -n "$AR_FOR_TARGET"; then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14145 $as_echo "$AR_FOR_TARGET" >&6; }
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14148 $as_echo "no
" >&6; }
14153 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
14154 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14155 set dummy ${ncn_progname}; ac_word=$2
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14157 $as_echo_n "checking
for $ac_word...
" >&6; }
14158 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
14159 $as_echo_n "(cached
) " >&6
14161 if test -n "$AR_FOR_TARGET"; then
14162 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
14164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14165 for as_dir in $PATH
14168 test -z "$as_dir" && as_dir=.
14169 for ac_exec_ext in '' $ac_executable_extensions; do
14170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14171 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
14172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14181 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
14182 if test -n "$AR_FOR_TARGET"; then
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
14184 $as_echo "$AR_FOR_TARGET" >&6; }
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14187 $as_echo "no
" >&6; }
14192 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
14196 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
14198 if test $build = $target ; then
14201 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
14204 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
14208 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
14214 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14215 if test -n "$with_build_time_tools"; then
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
14217 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
14218 if test -x $with_build_time_tools/as; then
14219 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
14220 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
14222 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14225 $as_echo "no
" >&6; }
14227 elif test $build != $host && test $have_gcc_for_target = yes; then
14228 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
14229 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
14230 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
14233 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14234 # Extract the first word of "as
", so it can be a program name with args.
14235 set dummy as; ac_word=$2
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14237 $as_echo_n "checking
for $ac_word...
" >&6; }
14238 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
14239 $as_echo_n "(cached
) " >&6
14241 case $AS_FOR_TARGET in
14243 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
14246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14247 for as_dir in $gcc_cv_tool_dirs
14250 test -z "$as_dir" && as_dir=.
14251 for ac_exec_ext in '' $ac_executable_extensions; do
14252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14253 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14264 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14265 if test -n "$AS_FOR_TARGET"; then
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14267 $as_echo "$AS_FOR_TARGET" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14270 $as_echo "no
" >&6; }
14275 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
14278 if test -n "$AS_FOR_TARGET"; then
14279 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
14280 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14281 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14284 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
14285 for ncn_progname in as; do
14286 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14287 set dummy ${ncn_progname}; ac_word=$2
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14289 $as_echo_n "checking
for $ac_word...
" >&6; }
14290 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14291 $as_echo_n "(cached
) " >&6
14293 if test -n "$AS_FOR_TARGET"; then
14294 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14297 for as_dir in $PATH
14300 test -z "$as_dir" && as_dir=.
14301 for ac_exec_ext in '' $ac_executable_extensions; do
14302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14303 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14313 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14314 if test -n "$AS_FOR_TARGET"; then
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14316 $as_echo "$AS_FOR_TARGET" >&6; }
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14319 $as_echo "no
" >&6; }
14326 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
14327 for ncn_progname in as; do
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14329 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14330 if test -x $with_build_time_tools/${ncn_progname}; then
14331 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14333 $as_echo "yes" >&6; }
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14337 $as_echo "no
" >&6; }
14342 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
14343 for ncn_progname in as; do
14344 if test -n "$ncn_target_tool_prefix"; then
14345 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14346 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14348 $as_echo_n "checking
for $ac_word...
" >&6; }
14349 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14350 $as_echo_n "(cached
) " >&6
14352 if test -n "$AS_FOR_TARGET"; then
14353 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14356 for as_dir in $PATH
14359 test -z "$as_dir" && as_dir=.
14360 for ac_exec_ext in '' $ac_executable_extensions; do
14361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14362 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14372 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14373 if test -n "$AS_FOR_TARGET"; then
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14375 $as_echo "$AS_FOR_TARGET" >&6; }
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14378 $as_echo "no
" >&6; }
14383 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
14384 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14385 set dummy ${ncn_progname}; ac_word=$2
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14387 $as_echo_n "checking
for $ac_word...
" >&6; }
14388 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
14389 $as_echo_n "(cached
) " >&6
14391 if test -n "$AS_FOR_TARGET"; then
14392 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
14394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14395 for as_dir in $PATH
14398 test -z "$as_dir" && as_dir=.
14399 for ac_exec_ext in '' $ac_executable_extensions; do
14400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14401 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
14402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14411 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
14412 if test -n "$AS_FOR_TARGET"; then
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
14414 $as_echo "$AS_FOR_TARGET" >&6; }
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14417 $as_echo "no
" >&6; }
14422 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
14426 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
14428 if test $build = $target ; then
14431 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
14434 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
14438 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
14444 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14445 if test -n "$with_build_time_tools"; then
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
14447 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
14448 if test -x $with_build_time_tools/dlltool; then
14449 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
14450 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
14452 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14455 $as_echo "no
" >&6; }
14457 elif test $build != $host && test $have_gcc_for_target = yes; then
14458 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
14459 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
14460 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14463 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14464 # Extract the first word of "dlltool
", so it can be a program name with args.
14465 set dummy dlltool; ac_word=$2
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14467 $as_echo_n "checking
for $ac_word...
" >&6; }
14468 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
14469 $as_echo_n "(cached
) " >&6
14471 case $DLLTOOL_FOR_TARGET in
14473 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
14476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14477 for as_dir in $gcc_cv_tool_dirs
14480 test -z "$as_dir" && as_dir=.
14481 for ac_exec_ext in '' $ac_executable_extensions; do
14482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14483 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14494 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14495 if test -n "$DLLTOOL_FOR_TARGET"; then
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14497 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14500 $as_echo "no
" >&6; }
14505 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
14508 if test -n "$DLLTOOL_FOR_TARGET"; then
14509 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
14510 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14511 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14514 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14515 for ncn_progname in dlltool; do
14516 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14517 set dummy ${ncn_progname}; ac_word=$2
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14519 $as_echo_n "checking
for $ac_word...
" >&6; }
14520 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14521 $as_echo_n "(cached
) " >&6
14523 if test -n "$DLLTOOL_FOR_TARGET"; then
14524 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14527 for as_dir in $PATH
14530 test -z "$as_dir" && as_dir=.
14531 for ac_exec_ext in '' $ac_executable_extensions; do
14532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14533 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14543 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14544 if test -n "$DLLTOOL_FOR_TARGET"; then
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14546 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14549 $as_echo "no
" >&6; }
14556 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14557 for ncn_progname in dlltool; do
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14559 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14560 if test -x $with_build_time_tools/${ncn_progname}; then
14561 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14563 $as_echo "yes" >&6; }
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14567 $as_echo "no
" >&6; }
14572 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
14573 for ncn_progname in dlltool; do
14574 if test -n "$ncn_target_tool_prefix"; then
14575 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14576 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14578 $as_echo_n "checking
for $ac_word...
" >&6; }
14579 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14580 $as_echo_n "(cached
) " >&6
14582 if test -n "$DLLTOOL_FOR_TARGET"; then
14583 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14586 for as_dir in $PATH
14589 test -z "$as_dir" && as_dir=.
14590 for ac_exec_ext in '' $ac_executable_extensions; do
14591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14592 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14602 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14603 if test -n "$DLLTOOL_FOR_TARGET"; then
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14605 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14608 $as_echo "no
" >&6; }
14613 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
14614 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14615 set dummy ${ncn_progname}; ac_word=$2
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14617 $as_echo_n "checking
for $ac_word...
" >&6; }
14618 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
14619 $as_echo_n "(cached
) " >&6
14621 if test -n "$DLLTOOL_FOR_TARGET"; then
14622 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
14624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14625 for as_dir in $PATH
14628 test -z "$as_dir" && as_dir=.
14629 for ac_exec_ext in '' $ac_executable_extensions; do
14630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14631 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
14632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14641 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
14642 if test -n "$DLLTOOL_FOR_TARGET"; then
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
14644 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14647 $as_echo "no
" >&6; }
14652 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
14656 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
14658 if test $build = $target ; then
14659 DLLTOOL_FOR_TARGET="$2"
14661 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14664 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
14668 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
14674 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14675 if test -n "$with_build_time_tools"; then
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dsymutil
in $with_build_time_tools" >&5
14677 $as_echo_n "checking
for dsymutil
in $with_build_time_tools...
" >&6; }
14678 if test -x $with_build_time_tools/dsymutil; then
14679 DSYMUTIL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dsymutil
14680 ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DSYMUTIL_FOR_TARGET" >&5
14682 $as_echo "$ac_cv_path_DSYMUTIL_FOR_TARGET" >&6; }
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14685 $as_echo "no
" >&6; }
14687 elif test $build != $host && test $have_gcc_for_target = yes; then
14688 DSYMUTIL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dsymutil`
14689 test $DSYMUTIL_FOR_TARGET = dsymutil && DSYMUTIL_FOR_TARGET=
14690 test -n "$DSYMUTIL_FOR_TARGET" && ac_cv_path_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14693 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14694 # Extract the first word of "dsymutil
", so it can be a program name with args.
14695 set dummy dsymutil; ac_word=$2
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14697 $as_echo_n "checking
for $ac_word...
" >&6; }
14698 if ${ac_cv_path_DSYMUTIL_FOR_TARGET+:} false; then :
14699 $as_echo_n "(cached
) " >&6
14701 case $DSYMUTIL_FOR_TARGET in
14703 ac_cv_path_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test with a path.
14706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14707 for as_dir in $gcc_cv_tool_dirs
14710 test -z "$as_dir" && as_dir=.
14711 for ac_exec_ext in '' $ac_executable_extensions; do
14712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14713 ac_cv_path_DSYMUTIL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14724 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14725 if test -n "$DSYMUTIL_FOR_TARGET"; then
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14727 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14730 $as_echo "no
" >&6; }
14735 if test -z "$ac_cv_path_DSYMUTIL_FOR_TARGET" ; then
14738 if test -n "$DSYMUTIL_FOR_TARGET"; then
14739 ac_cv_prog_DSYMUTIL_FOR_TARGET=$DSYMUTIL_FOR_TARGET
14740 elif test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14741 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14744 if test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14745 for ncn_progname in dsymutil; do
14746 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14747 set dummy ${ncn_progname}; ac_word=$2
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14749 $as_echo_n "checking
for $ac_word...
" >&6; }
14750 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14751 $as_echo_n "(cached
) " >&6
14753 if test -n "$DSYMUTIL_FOR_TARGET"; then
14754 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14757 for as_dir in $PATH
14760 test -z "$as_dir" && as_dir=.
14761 for ac_exec_ext in '' $ac_executable_extensions; do
14762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14763 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14764 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14773 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14774 if test -n "$DSYMUTIL_FOR_TARGET"; then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14776 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14779 $as_echo "no
" >&6; }
14786 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14787 for ncn_progname in dsymutil; do
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14789 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14790 if test -x $with_build_time_tools/${ncn_progname}; then
14791 ac_cv_prog_DSYMUTIL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14793 $as_echo "yes" >&6; }
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14797 $as_echo "no
" >&6; }
14802 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET"; then
14803 for ncn_progname in dsymutil; do
14804 if test -n "$ncn_target_tool_prefix"; then
14805 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14806 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14808 $as_echo_n "checking
for $ac_word...
" >&6; }
14809 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14810 $as_echo_n "(cached
) " >&6
14812 if test -n "$DSYMUTIL_FOR_TARGET"; then
14813 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816 for as_dir in $PATH
14819 test -z "$as_dir" && as_dir=.
14820 for ac_exec_ext in '' $ac_executable_extensions; do
14821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14822 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14832 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14833 if test -n "$DSYMUTIL_FOR_TARGET"; then
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14835 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14838 $as_echo "no
" >&6; }
14843 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && test $build = $target ; then
14844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14845 set dummy ${ncn_progname}; ac_word=$2
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14847 $as_echo_n "checking
for $ac_word...
" >&6; }
14848 if ${ac_cv_prog_DSYMUTIL_FOR_TARGET+:} false; then :
14849 $as_echo_n "(cached
) " >&6
14851 if test -n "$DSYMUTIL_FOR_TARGET"; then
14852 ac_cv_prog_DSYMUTIL_FOR_TARGET="$DSYMUTIL_FOR_TARGET" # Let the user override the test.
14854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14855 for as_dir in $PATH
14858 test -z "$as_dir" && as_dir=.
14859 for ac_exec_ext in '' $ac_executable_extensions; do
14860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14861 ac_cv_prog_DSYMUTIL_FOR_TARGET="${ncn_progname}"
14862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14871 DSYMUTIL_FOR_TARGET=$ac_cv_prog_DSYMUTIL_FOR_TARGET
14872 if test -n "$DSYMUTIL_FOR_TARGET"; then
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL_FOR_TARGET" >&5
14874 $as_echo "$DSYMUTIL_FOR_TARGET" >&6; }
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14877 $as_echo "no
" >&6; }
14882 test -n "$ac_cv_prog_DSYMUTIL_FOR_TARGET" && break
14886 if test -z "$ac_cv_prog_DSYMUTIL_FOR_TARGET" ; then
14888 if test $build = $target ; then
14889 DSYMUTIL_FOR_TARGET="$2"
14891 DSYMUTIL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14894 DSYMUTIL_FOR_TARGET="$ac_cv_prog_DSYMUTIL_FOR_TARGET"
14898 DSYMUTIL_FOR_TARGET=$ac_cv_path_DSYMUTIL_FOR_TARGET
14904 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14905 if test -n "$with_build_time_tools"; then
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
14907 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
14908 if test -x $with_build_time_tools/ld; then
14909 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
14910 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
14912 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14915 $as_echo "no
" >&6; }
14917 elif test $build != $host && test $have_gcc_for_target = yes; then
14918 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
14919 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
14920 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
14923 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14924 # Extract the first word of "ld
", so it can be a program name with args.
14925 set dummy ld; ac_word=$2
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14927 $as_echo_n "checking
for $ac_word...
" >&6; }
14928 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
14929 $as_echo_n "(cached
) " >&6
14931 case $LD_FOR_TARGET in
14933 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
14936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14937 for as_dir in $gcc_cv_tool_dirs
14940 test -z "$as_dir" && as_dir=.
14941 for ac_exec_ext in '' $ac_executable_extensions; do
14942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14943 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14954 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
14955 if test -n "$LD_FOR_TARGET"; then
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
14957 $as_echo "$LD_FOR_TARGET" >&6; }
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14960 $as_echo "no
" >&6; }
14965 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
14968 if test -n "$LD_FOR_TARGET"; then
14969 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
14970 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14971 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
14974 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
14975 for ncn_progname in ld; do
14976 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14977 set dummy ${ncn_progname}; ac_word=$2
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14979 $as_echo_n "checking
for $ac_word...
" >&6; }
14980 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
14981 $as_echo_n "(cached
) " >&6
14983 if test -n "$LD_FOR_TARGET"; then
14984 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
14986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14987 for as_dir in $PATH
14990 test -z "$as_dir" && as_dir=.
14991 for ac_exec_ext in '' $ac_executable_extensions; do
14992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14993 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
14994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15003 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15004 if test -n "$LD_FOR_TARGET"; then
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15006 $as_echo "$LD_FOR_TARGET" >&6; }
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15009 $as_echo "no
" >&6; }
15016 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
15017 for ncn_progname in ld; do
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15019 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15020 if test -x $with_build_time_tools/${ncn_progname}; then
15021 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15023 $as_echo "yes" >&6; }
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15027 $as_echo "no
" >&6; }
15032 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
15033 for ncn_progname in ld; do
15034 if test -n "$ncn_target_tool_prefix"; then
15035 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15036 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15038 $as_echo_n "checking
for $ac_word...
" >&6; }
15039 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
15040 $as_echo_n "(cached
) " >&6
15042 if test -n "$LD_FOR_TARGET"; then
15043 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
15045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15046 for as_dir in $PATH
15049 test -z "$as_dir" && as_dir=.
15050 for ac_exec_ext in '' $ac_executable_extensions; do
15051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15052 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15062 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15063 if test -n "$LD_FOR_TARGET"; then
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15065 $as_echo "$LD_FOR_TARGET" >&6; }
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15068 $as_echo "no
" >&6; }
15073 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
15074 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15075 set dummy ${ncn_progname}; ac_word=$2
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15077 $as_echo_n "checking
for $ac_word...
" >&6; }
15078 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
15079 $as_echo_n "(cached
) " >&6
15081 if test -n "$LD_FOR_TARGET"; then
15082 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
15084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15085 for as_dir in $PATH
15088 test -z "$as_dir" && as_dir=.
15089 for ac_exec_ext in '' $ac_executable_extensions; do
15090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15091 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
15092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15101 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
15102 if test -n "$LD_FOR_TARGET"; then
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
15104 $as_echo "$LD_FOR_TARGET" >&6; }
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15107 $as_echo "no
" >&6; }
15112 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
15116 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
15118 if test $build = $target ; then
15121 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
15124 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
15128 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
15134 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15135 if test -n "$with_build_time_tools"; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
15137 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
15138 if test -x $with_build_time_tools/lipo; then
15139 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
15140 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
15142 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15145 $as_echo "no
" >&6; }
15147 elif test $build != $host && test $have_gcc_for_target = yes; then
15148 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
15149 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
15150 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15153 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15154 # Extract the first word of "lipo
", so it can be a program name with args.
15155 set dummy lipo; ac_word=$2
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15157 $as_echo_n "checking
for $ac_word...
" >&6; }
15158 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
15159 $as_echo_n "(cached
) " >&6
15161 case $LIPO_FOR_TARGET in
15163 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $gcc_cv_tool_dirs
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15173 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15184 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15185 if test -n "$LIPO_FOR_TARGET"; then
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15187 $as_echo "$LIPO_FOR_TARGET" >&6; }
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15190 $as_echo "no
" >&6; }
15195 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
15198 if test -n "$LIPO_FOR_TARGET"; then
15199 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
15200 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15201 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15204 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
15205 for ncn_progname in lipo; do
15206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15207 set dummy ${ncn_progname}; ac_word=$2
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15209 $as_echo_n "checking
for $ac_word...
" >&6; }
15210 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15211 $as_echo_n "(cached
) " >&6
15213 if test -n "$LIPO_FOR_TARGET"; then
15214 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15217 for as_dir in $PATH
15220 test -z "$as_dir" && as_dir=.
15221 for ac_exec_ext in '' $ac_executable_extensions; do
15222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15223 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15233 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15234 if test -n "$LIPO_FOR_TARGET"; then
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15236 $as_echo "$LIPO_FOR_TARGET" >&6; }
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15239 $as_echo "no
" >&6; }
15246 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
15247 for ncn_progname in lipo; do
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15249 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15250 if test -x $with_build_time_tools/${ncn_progname}; then
15251 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15253 $as_echo "yes" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15257 $as_echo "no
" >&6; }
15262 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
15263 for ncn_progname in lipo; do
15264 if test -n "$ncn_target_tool_prefix"; then
15265 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15266 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15268 $as_echo_n "checking
for $ac_word...
" >&6; }
15269 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15270 $as_echo_n "(cached
) " >&6
15272 if test -n "$LIPO_FOR_TARGET"; then
15273 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15276 for as_dir in $PATH
15279 test -z "$as_dir" && as_dir=.
15280 for ac_exec_ext in '' $ac_executable_extensions; do
15281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15282 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15292 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15293 if test -n "$LIPO_FOR_TARGET"; then
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15295 $as_echo "$LIPO_FOR_TARGET" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15298 $as_echo "no
" >&6; }
15303 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
15304 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15305 set dummy ${ncn_progname}; ac_word=$2
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15307 $as_echo_n "checking
for $ac_word...
" >&6; }
15308 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
15309 $as_echo_n "(cached
) " >&6
15311 if test -n "$LIPO_FOR_TARGET"; then
15312 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
15314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15315 for as_dir in $PATH
15318 test -z "$as_dir" && as_dir=.
15319 for ac_exec_ext in '' $ac_executable_extensions; do
15320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15321 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
15322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15331 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
15332 if test -n "$LIPO_FOR_TARGET"; then
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
15334 $as_echo "$LIPO_FOR_TARGET" >&6; }
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15337 $as_echo "no
" >&6; }
15342 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
15346 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
15348 if test $build = $target ; then
15349 LIPO_FOR_TARGET="$2"
15351 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
15354 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
15358 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
15364 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15365 if test -n "$with_build_time_tools"; then
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
15367 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
15368 if test -x $with_build_time_tools/nm; then
15369 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
15370 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
15372 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15375 $as_echo "no
" >&6; }
15377 elif test $build != $host && test $have_gcc_for_target = yes; then
15378 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
15379 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
15380 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
15383 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15384 # Extract the first word of "nm
", so it can be a program name with args.
15385 set dummy nm; ac_word=$2
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15387 $as_echo_n "checking
for $ac_word...
" >&6; }
15388 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
15389 $as_echo_n "(cached
) " >&6
15391 case $NM_FOR_TARGET in
15393 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
15396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15397 for as_dir in $gcc_cv_tool_dirs
15400 test -z "$as_dir" && as_dir=.
15401 for ac_exec_ext in '' $ac_executable_extensions; do
15402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15403 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15414 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15415 if test -n "$NM_FOR_TARGET"; then
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15417 $as_echo "$NM_FOR_TARGET" >&6; }
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15420 $as_echo "no
" >&6; }
15425 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
15428 if test -n "$NM_FOR_TARGET"; then
15429 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
15430 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15431 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15434 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
15435 for ncn_progname in nm; do
15436 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15437 set dummy ${ncn_progname}; ac_word=$2
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15439 $as_echo_n "checking
for $ac_word...
" >&6; }
15440 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15441 $as_echo_n "(cached
) " >&6
15443 if test -n "$NM_FOR_TARGET"; then
15444 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15447 for as_dir in $PATH
15450 test -z "$as_dir" && as_dir=.
15451 for ac_exec_ext in '' $ac_executable_extensions; do
15452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15453 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15463 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15464 if test -n "$NM_FOR_TARGET"; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15466 $as_echo "$NM_FOR_TARGET" >&6; }
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15469 $as_echo "no
" >&6; }
15476 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
15477 for ncn_progname in nm; do
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15479 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15480 if test -x $with_build_time_tools/${ncn_progname}; then
15481 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15483 $as_echo "yes" >&6; }
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15487 $as_echo "no
" >&6; }
15492 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
15493 for ncn_progname in nm; do
15494 if test -n "$ncn_target_tool_prefix"; then
15495 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15496 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15498 $as_echo_n "checking
for $ac_word...
" >&6; }
15499 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15500 $as_echo_n "(cached
) " >&6
15502 if test -n "$NM_FOR_TARGET"; then
15503 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15506 for as_dir in $PATH
15509 test -z "$as_dir" && as_dir=.
15510 for ac_exec_ext in '' $ac_executable_extensions; do
15511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15512 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15522 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15523 if test -n "$NM_FOR_TARGET"; then
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15525 $as_echo "$NM_FOR_TARGET" >&6; }
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15528 $as_echo "no
" >&6; }
15533 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
15534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15535 set dummy ${ncn_progname}; ac_word=$2
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15537 $as_echo_n "checking
for $ac_word...
" >&6; }
15538 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
15539 $as_echo_n "(cached
) " >&6
15541 if test -n "$NM_FOR_TARGET"; then
15542 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
15544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15545 for as_dir in $PATH
15548 test -z "$as_dir" && as_dir=.
15549 for ac_exec_ext in '' $ac_executable_extensions; do
15550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15551 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
15552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15561 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
15562 if test -n "$NM_FOR_TARGET"; then
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
15564 $as_echo "$NM_FOR_TARGET" >&6; }
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15567 $as_echo "no
" >&6; }
15572 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
15576 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
15578 if test $build = $target ; then
15581 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
15584 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
15588 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
15594 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15595 if test -n "$with_build_time_tools"; then
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
15597 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
15598 if test -x $with_build_time_tools/objcopy; then
15599 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
15600 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
15602 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15605 $as_echo "no
" >&6; }
15607 elif test $build != $host && test $have_gcc_for_target = yes; then
15608 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
15609 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
15610 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15613 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15614 # Extract the first word of "objcopy
", so it can be a program name with args.
15615 set dummy objcopy; ac_word=$2
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15617 $as_echo_n "checking
for $ac_word...
" >&6; }
15618 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
15619 $as_echo_n "(cached
) " >&6
15621 case $OBJCOPY_FOR_TARGET in
15623 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
15626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15627 for as_dir in $gcc_cv_tool_dirs
15630 test -z "$as_dir" && as_dir=.
15631 for ac_exec_ext in '' $ac_executable_extensions; do
15632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15633 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15644 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15645 if test -n "$OBJCOPY_FOR_TARGET"; then
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15647 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15650 $as_echo "no
" >&6; }
15655 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
15658 if test -n "$OBJCOPY_FOR_TARGET"; then
15659 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
15660 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15661 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15664 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15665 for ncn_progname in objcopy; do
15666 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15667 set dummy ${ncn_progname}; ac_word=$2
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15669 $as_echo_n "checking
for $ac_word...
" >&6; }
15670 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15671 $as_echo_n "(cached
) " >&6
15673 if test -n "$OBJCOPY_FOR_TARGET"; then
15674 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15677 for as_dir in $PATH
15680 test -z "$as_dir" && as_dir=.
15681 for ac_exec_ext in '' $ac_executable_extensions; do
15682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15683 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15693 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15694 if test -n "$OBJCOPY_FOR_TARGET"; then
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15696 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15699 $as_echo "no
" >&6; }
15706 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
15707 for ncn_progname in objcopy; do
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15709 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15710 if test -x $with_build_time_tools/${ncn_progname}; then
15711 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15713 $as_echo "yes" >&6; }
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15717 $as_echo "no
" >&6; }
15722 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
15723 for ncn_progname in objcopy; do
15724 if test -n "$ncn_target_tool_prefix"; then
15725 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15726 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15728 $as_echo_n "checking
for $ac_word...
" >&6; }
15729 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15730 $as_echo_n "(cached
) " >&6
15732 if test -n "$OBJCOPY_FOR_TARGET"; then
15733 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15736 for as_dir in $PATH
15739 test -z "$as_dir" && as_dir=.
15740 for ac_exec_ext in '' $ac_executable_extensions; do
15741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15742 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15752 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15753 if test -n "$OBJCOPY_FOR_TARGET"; then
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15755 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15758 $as_echo "no
" >&6; }
15763 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
15764 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15765 set dummy ${ncn_progname}; ac_word=$2
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15767 $as_echo_n "checking
for $ac_word...
" >&6; }
15768 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
15769 $as_echo_n "(cached
) " >&6
15771 if test -n "$OBJCOPY_FOR_TARGET"; then
15772 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
15774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15775 for as_dir in $PATH
15778 test -z "$as_dir" && as_dir=.
15779 for ac_exec_ext in '' $ac_executable_extensions; do
15780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15781 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
15782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15791 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
15792 if test -n "$OBJCOPY_FOR_TARGET"; then
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
15794 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15797 $as_echo "no
" >&6; }
15802 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
15806 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
15808 if test $build = $target ; then
15809 OBJCOPY_FOR_TARGET="$2"
15811 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
15814 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
15818 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
15824 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15825 if test -n "$with_build_time_tools"; then
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
15827 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
15828 if test -x $with_build_time_tools/objdump; then
15829 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
15830 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
15832 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15835 $as_echo "no
" >&6; }
15837 elif test $build != $host && test $have_gcc_for_target = yes; then
15838 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
15839 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
15840 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15843 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15844 # Extract the first word of "objdump
", so it can be a program name with args.
15845 set dummy objdump; ac_word=$2
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15847 $as_echo_n "checking
for $ac_word...
" >&6; }
15848 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
15849 $as_echo_n "(cached
) " >&6
15851 case $OBJDUMP_FOR_TARGET in
15853 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
15856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15857 for as_dir in $gcc_cv_tool_dirs
15860 test -z "$as_dir" && as_dir=.
15861 for ac_exec_ext in '' $ac_executable_extensions; do
15862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15863 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15874 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
15875 if test -n "$OBJDUMP_FOR_TARGET"; then
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15877 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15880 $as_echo "no
" >&6; }
15885 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
15888 if test -n "$OBJDUMP_FOR_TARGET"; then
15889 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
15890 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15891 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15894 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15895 for ncn_progname in objdump; do
15896 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15897 set dummy ${ncn_progname}; ac_word=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15899 $as_echo_n "checking
for $ac_word...
" >&6; }
15900 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15901 $as_echo_n "(cached
) " >&6
15903 if test -n "$OBJDUMP_FOR_TARGET"; then
15904 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15907 for as_dir in $PATH
15910 test -z "$as_dir" && as_dir=.
15911 for ac_exec_ext in '' $ac_executable_extensions; do
15912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15913 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
15914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15923 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15924 if test -n "$OBJDUMP_FOR_TARGET"; then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15926 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15929 $as_echo "no
" >&6; }
15936 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
15937 for ncn_progname in objdump; do
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15939 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15940 if test -x $with_build_time_tools/${ncn_progname}; then
15941 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15943 $as_echo "yes" >&6; }
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15947 $as_echo "no
" >&6; }
15952 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
15953 for ncn_progname in objdump; do
15954 if test -n "$ncn_target_tool_prefix"; then
15955 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15956 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15958 $as_echo_n "checking
for $ac_word...
" >&6; }
15959 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15960 $as_echo_n "(cached
) " >&6
15962 if test -n "$OBJDUMP_FOR_TARGET"; then
15963 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH
15969 test -z "$as_dir" && as_dir=.
15970 for ac_exec_ext in '' $ac_executable_extensions; do
15971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15972 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15982 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
15983 if test -n "$OBJDUMP_FOR_TARGET"; then
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
15985 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15988 $as_echo "no
" >&6; }
15993 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
15994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15995 set dummy ${ncn_progname}; ac_word=$2
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15997 $as_echo_n "checking
for $ac_word...
" >&6; }
15998 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
15999 $as_echo_n "(cached
) " >&6
16001 if test -n "$OBJDUMP_FOR_TARGET"; then
16002 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
16004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16005 for as_dir in $PATH
16008 test -z "$as_dir" && as_dir=.
16009 for ac_exec_ext in '' $ac_executable_extensions; do
16010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16011 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
16012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16021 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
16022 if test -n "$OBJDUMP_FOR_TARGET"; then
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
16024 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16027 $as_echo "no
" >&6; }
16032 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
16036 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
16038 if test $build = $target ; then
16039 OBJDUMP_FOR_TARGET="$2"
16041 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16044 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
16048 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
16054 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
16055 if test -n "$with_build_time_tools"; then
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
16057 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
16058 if test -x $with_build_time_tools/otool; then
16059 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
16060 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
16062 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16065 $as_echo "no
" >&6; }
16067 elif test $build != $host && test $have_gcc_for_target = yes; then
16068 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
16069 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
16070 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
16073 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16074 # Extract the first word of "otool
", so it can be a program name with args.
16075 set dummy otool; ac_word=$2
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16077 $as_echo_n "checking
for $ac_word...
" >&6; }
16078 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
16079 $as_echo_n "(cached
) " >&6
16081 case $OTOOL_FOR_TARGET in
16083 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
16086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16087 for as_dir in $gcc_cv_tool_dirs
16090 test -z "$as_dir" && as_dir=.
16091 for ac_exec_ext in '' $ac_executable_extensions; do
16092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16093 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16104 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
16105 if test -n "$OTOOL_FOR_TARGET"; then
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16107 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16110 $as_echo "no
" >&6; }
16115 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
16118 if test -n "$OTOOL_FOR_TARGET"; then
16119 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
16120 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16121 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16124 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16125 for ncn_progname in otool; do
16126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16127 set dummy ${ncn_progname}; ac_word=$2
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16129 $as_echo_n "checking
for $ac_word...
" >&6; }
16130 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16131 $as_echo_n "(cached
) " >&6
16133 if test -n "$OTOOL_FOR_TARGET"; then
16134 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16137 for as_dir in $PATH
16140 test -z "$as_dir" && as_dir=.
16141 for ac_exec_ext in '' $ac_executable_extensions; do
16142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16143 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16153 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16154 if test -n "$OTOOL_FOR_TARGET"; then
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16156 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16159 $as_echo "no
" >&6; }
16166 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
16167 for ncn_progname in otool; do
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16169 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16170 if test -x $with_build_time_tools/${ncn_progname}; then
16171 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16173 $as_echo "yes" >&6; }
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16177 $as_echo "no
" >&6; }
16182 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
16183 for ncn_progname in otool; do
16184 if test -n "$ncn_target_tool_prefix"; then
16185 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16186 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16188 $as_echo_n "checking
for $ac_word...
" >&6; }
16189 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16190 $as_echo_n "(cached
) " >&6
16192 if test -n "$OTOOL_FOR_TARGET"; then
16193 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16196 for as_dir in $PATH
16199 test -z "$as_dir" && as_dir=.
16200 for ac_exec_ext in '' $ac_executable_extensions; do
16201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16202 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16212 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16213 if test -n "$OTOOL_FOR_TARGET"; then
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16215 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16218 $as_echo "no
" >&6; }
16223 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
16224 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16225 set dummy ${ncn_progname}; ac_word=$2
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16227 $as_echo_n "checking
for $ac_word...
" >&6; }
16228 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
16229 $as_echo_n "(cached
) " >&6
16231 if test -n "$OTOOL_FOR_TARGET"; then
16232 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
16234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16235 for as_dir in $PATH
16238 test -z "$as_dir" && as_dir=.
16239 for ac_exec_ext in '' $ac_executable_extensions; do
16240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16241 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
16242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16251 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
16252 if test -n "$OTOOL_FOR_TARGET"; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
16254 $as_echo "$OTOOL_FOR_TARGET" >&6; }
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16257 $as_echo "no
" >&6; }
16262 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
16266 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
16268 if test $build = $target ; then
16269 OTOOL_FOR_TARGET="$2"
16271 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
16274 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
16278 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
16284 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16285 if test -n "$with_build_time_tools"; then
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
16287 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
16288 if test -x $with_build_time_tools/ranlib; then
16289 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
16290 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
16292 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16295 $as_echo "no
" >&6; }
16297 elif test $build != $host && test $have_gcc_for_target = yes; then
16298 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
16299 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
16300 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16303 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16304 # Extract the first word of "ranlib
", so it can be a program name with args.
16305 set dummy ranlib; ac_word=$2
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16307 $as_echo_n "checking
for $ac_word...
" >&6; }
16308 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
16309 $as_echo_n "(cached
) " >&6
16311 case $RANLIB_FOR_TARGET in
16313 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
16316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16317 for as_dir in $gcc_cv_tool_dirs
16320 test -z "$as_dir" && as_dir=.
16321 for ac_exec_ext in '' $ac_executable_extensions; do
16322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16323 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16334 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16335 if test -n "$RANLIB_FOR_TARGET"; then
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16337 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16340 $as_echo "no
" >&6; }
16345 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
16348 if test -n "$RANLIB_FOR_TARGET"; then
16349 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
16350 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16351 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16354 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16355 for ncn_progname in ranlib; do
16356 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16357 set dummy ${ncn_progname}; ac_word=$2
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16359 $as_echo_n "checking
for $ac_word...
" >&6; }
16360 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16361 $as_echo_n "(cached
) " >&6
16363 if test -n "$RANLIB_FOR_TARGET"; then
16364 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16367 for as_dir in $PATH
16370 test -z "$as_dir" && as_dir=.
16371 for ac_exec_ext in '' $ac_executable_extensions; do
16372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16373 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16383 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16384 if test -n "$RANLIB_FOR_TARGET"; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16386 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16389 $as_echo "no
" >&6; }
16396 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
16397 for ncn_progname in ranlib; do
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16399 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16400 if test -x $with_build_time_tools/${ncn_progname}; then
16401 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16403 $as_echo "yes" >&6; }
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16407 $as_echo "no
" >&6; }
16412 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
16413 for ncn_progname in ranlib; do
16414 if test -n "$ncn_target_tool_prefix"; then
16415 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16416 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16418 $as_echo_n "checking
for $ac_word...
" >&6; }
16419 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16420 $as_echo_n "(cached
) " >&6
16422 if test -n "$RANLIB_FOR_TARGET"; then
16423 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16426 for as_dir in $PATH
16429 test -z "$as_dir" && as_dir=.
16430 for ac_exec_ext in '' $ac_executable_extensions; do
16431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16432 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16442 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16443 if test -n "$RANLIB_FOR_TARGET"; then
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16445 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16448 $as_echo "no
" >&6; }
16453 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
16454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16455 set dummy ${ncn_progname}; ac_word=$2
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16457 $as_echo_n "checking
for $ac_word...
" >&6; }
16458 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
16459 $as_echo_n "(cached
) " >&6
16461 if test -n "$RANLIB_FOR_TARGET"; then
16462 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
16464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16465 for as_dir in $PATH
16468 test -z "$as_dir" && as_dir=.
16469 for ac_exec_ext in '' $ac_executable_extensions; do
16470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16471 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
16472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16481 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
16482 if test -n "$RANLIB_FOR_TARGET"; then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
16484 $as_echo "$RANLIB_FOR_TARGET" >&6; }
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16487 $as_echo "no
" >&6; }
16492 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
16496 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
16498 if test $build = $target ; then
16499 RANLIB_FOR_TARGET="$2"
16501 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
16504 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
16508 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
16514 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16515 if test -n "$with_build_time_tools"; then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
16517 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
16518 if test -x $with_build_time_tools/readelf; then
16519 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
16520 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
16522 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16525 $as_echo "no
" >&6; }
16527 elif test $build != $host && test $have_gcc_for_target = yes; then
16528 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
16529 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
16530 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
16533 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16534 # Extract the first word of "readelf
", so it can be a program name with args.
16535 set dummy readelf; ac_word=$2
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16537 $as_echo_n "checking
for $ac_word...
" >&6; }
16538 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
16539 $as_echo_n "(cached
) " >&6
16541 case $READELF_FOR_TARGET in
16543 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
16546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16547 for as_dir in $gcc_cv_tool_dirs
16550 test -z "$as_dir" && as_dir=.
16551 for ac_exec_ext in '' $ac_executable_extensions; do
16552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16553 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16564 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16565 if test -n "$READELF_FOR_TARGET"; then
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16567 $as_echo "$READELF_FOR_TARGET" >&6; }
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16570 $as_echo "no
" >&6; }
16575 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
16578 if test -n "$READELF_FOR_TARGET"; then
16579 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
16580 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16581 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16584 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
16585 for ncn_progname in readelf; do
16586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16587 set dummy ${ncn_progname}; ac_word=$2
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16589 $as_echo_n "checking
for $ac_word...
" >&6; }
16590 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16591 $as_echo_n "(cached
) " >&6
16593 if test -n "$READELF_FOR_TARGET"; then
16594 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16597 for as_dir in $PATH
16600 test -z "$as_dir" && as_dir=.
16601 for ac_exec_ext in '' $ac_executable_extensions; do
16602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16603 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16613 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16614 if test -n "$READELF_FOR_TARGET"; then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16616 $as_echo "$READELF_FOR_TARGET" >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16619 $as_echo "no
" >&6; }
16626 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
16627 for ncn_progname in readelf; do
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16629 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16630 if test -x $with_build_time_tools/${ncn_progname}; then
16631 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16633 $as_echo "yes" >&6; }
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16637 $as_echo "no
" >&6; }
16642 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
16643 for ncn_progname in readelf; do
16644 if test -n "$ncn_target_tool_prefix"; then
16645 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16646 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16648 $as_echo_n "checking
for $ac_word...
" >&6; }
16649 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16650 $as_echo_n "(cached
) " >&6
16652 if test -n "$READELF_FOR_TARGET"; then
16653 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16656 for as_dir in $PATH
16659 test -z "$as_dir" && as_dir=.
16660 for ac_exec_ext in '' $ac_executable_extensions; do
16661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16662 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16672 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16673 if test -n "$READELF_FOR_TARGET"; then
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16675 $as_echo "$READELF_FOR_TARGET" >&6; }
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16678 $as_echo "no
" >&6; }
16683 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
16684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16685 set dummy ${ncn_progname}; ac_word=$2
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16687 $as_echo_n "checking
for $ac_word...
" >&6; }
16688 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
16689 $as_echo_n "(cached
) " >&6
16691 if test -n "$READELF_FOR_TARGET"; then
16692 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
16694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16695 for as_dir in $PATH
16698 test -z "$as_dir" && as_dir=.
16699 for ac_exec_ext in '' $ac_executable_extensions; do
16700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16701 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
16702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16711 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
16712 if test -n "$READELF_FOR_TARGET"; then
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
16714 $as_echo "$READELF_FOR_TARGET" >&6; }
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16717 $as_echo "no
" >&6; }
16722 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
16726 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
16728 if test $build = $target ; then
16729 READELF_FOR_TARGET="$2"
16731 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
16734 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
16738 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
16744 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16745 if test -n "$with_build_time_tools"; then
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
16747 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
16748 if test -x $with_build_time_tools/strip; then
16749 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
16750 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
16752 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16755 $as_echo "no
" >&6; }
16757 elif test $build != $host && test $have_gcc_for_target = yes; then
16758 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
16759 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
16760 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16763 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16764 # Extract the first word of "strip
", so it can be a program name with args.
16765 set dummy strip; ac_word=$2
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16767 $as_echo_n "checking
for $ac_word...
" >&6; }
16768 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
16769 $as_echo_n "(cached
) " >&6
16771 case $STRIP_FOR_TARGET in
16773 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
16776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16777 for as_dir in $gcc_cv_tool_dirs
16780 test -z "$as_dir" && as_dir=.
16781 for ac_exec_ext in '' $ac_executable_extensions; do
16782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16783 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
16784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16794 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16795 if test -n "$STRIP_FOR_TARGET"; then
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16797 $as_echo "$STRIP_FOR_TARGET" >&6; }
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16800 $as_echo "no
" >&6; }
16805 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
16808 if test -n "$STRIP_FOR_TARGET"; then
16809 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
16810 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16811 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16814 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
16815 for ncn_progname in strip; do
16816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16817 set dummy ${ncn_progname}; ac_word=$2
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16819 $as_echo_n "checking
for $ac_word...
" >&6; }
16820 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16821 $as_echo_n "(cached
) " >&6
16823 if test -n "$STRIP_FOR_TARGET"; then
16824 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16827 for as_dir in $PATH
16830 test -z "$as_dir" && as_dir=.
16831 for ac_exec_ext in '' $ac_executable_extensions; do
16832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16833 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16843 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16844 if test -n "$STRIP_FOR_TARGET"; then
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16846 $as_echo "$STRIP_FOR_TARGET" >&6; }
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16849 $as_echo "no
" >&6; }
16856 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
16857 for ncn_progname in strip; do
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
16859 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
16860 if test -x $with_build_time_tools/${ncn_progname}; then
16861 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16863 $as_echo "yes" >&6; }
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16867 $as_echo "no
" >&6; }
16872 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
16873 for ncn_progname in strip; do
16874 if test -n "$ncn_target_tool_prefix"; then
16875 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
16876 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16878 $as_echo_n "checking
for $ac_word...
" >&6; }
16879 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16880 $as_echo_n "(cached
) " >&6
16882 if test -n "$STRIP_FOR_TARGET"; then
16883 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16886 for as_dir in $PATH
16889 test -z "$as_dir" && as_dir=.
16890 for ac_exec_ext in '' $ac_executable_extensions; do
16891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16892 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
16893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16902 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16903 if test -n "$STRIP_FOR_TARGET"; then
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16905 $as_echo "$STRIP_FOR_TARGET" >&6; }
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16908 $as_echo "no
" >&6; }
16913 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
16914 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
16915 set dummy ${ncn_progname}; ac_word=$2
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16917 $as_echo_n "checking
for $ac_word...
" >&6; }
16918 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
16919 $as_echo_n "(cached
) " >&6
16921 if test -n "$STRIP_FOR_TARGET"; then
16922 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
16924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16925 for as_dir in $PATH
16928 test -z "$as_dir" && as_dir=.
16929 for ac_exec_ext in '' $ac_executable_extensions; do
16930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16931 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
16932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16941 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
16942 if test -n "$STRIP_FOR_TARGET"; then
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
16944 $as_echo "$STRIP_FOR_TARGET" >&6; }
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16947 $as_echo "no
" >&6; }
16952 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
16956 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
16958 if test $build = $target ; then
16959 STRIP_FOR_TARGET="$2"
16961 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
16964 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
16968 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
16974 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
16975 if test -n "$with_build_time_tools"; then
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
16977 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
16978 if test -x $with_build_time_tools/windres; then
16979 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
16980 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
16982 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16985 $as_echo "no
" >&6; }
16987 elif test $build != $host && test $have_gcc_for_target = yes; then
16988 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
16989 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
16990 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
16993 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
16994 # Extract the first word of "windres
", so it can be a program name with args.
16995 set dummy windres; ac_word=$2
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16997 $as_echo_n "checking
for $ac_word...
" >&6; }
16998 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
16999 $as_echo_n "(cached
) " >&6
17001 case $WINDRES_FOR_TARGET in
17003 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
17006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17007 for as_dir in $gcc_cv_tool_dirs
17010 test -z "$as_dir" && as_dir=.
17011 for ac_exec_ext in '' $ac_executable_extensions; do
17012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17013 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17024 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
17025 if test -n "$WINDRES_FOR_TARGET"; then
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17027 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17030 $as_echo "no
" >&6; }
17035 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
17038 if test -n "$WINDRES_FOR_TARGET"; then
17039 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
17040 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
17041 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17044 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
17045 for ncn_progname in windres; do
17046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17047 set dummy ${ncn_progname}; ac_word=$2
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17049 $as_echo_n "checking
for $ac_word...
" >&6; }
17050 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17051 $as_echo_n "(cached
) " >&6
17053 if test -n "$WINDRES_FOR_TARGET"; then
17054 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17057 for as_dir in $PATH
17060 test -z "$as_dir" && as_dir=.
17061 for ac_exec_ext in '' $ac_executable_extensions; do
17062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17063 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
17064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17073 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17074 if test -n "$WINDRES_FOR_TARGET"; then
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17076 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17079 $as_echo "no
" >&6; }
17086 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
17087 for ncn_progname in windres; do
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17089 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17090 if test -x $with_build_time_tools/${ncn_progname}; then
17091 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17093 $as_echo "yes" >&6; }
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17097 $as_echo "no
" >&6; }
17102 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
17103 for ncn_progname in windres; do
17104 if test -n "$ncn_target_tool_prefix"; then
17105 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17106 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17108 $as_echo_n "checking
for $ac_word...
" >&6; }
17109 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17110 $as_echo_n "(cached
) " >&6
17112 if test -n "$WINDRES_FOR_TARGET"; then
17113 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17116 for as_dir in $PATH
17119 test -z "$as_dir" && as_dir=.
17120 for ac_exec_ext in '' $ac_executable_extensions; do
17121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17122 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17132 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17133 if test -n "$WINDRES_FOR_TARGET"; then
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17135 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17138 $as_echo "no
" >&6; }
17143 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
17144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17145 set dummy ${ncn_progname}; ac_word=$2
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17147 $as_echo_n "checking
for $ac_word...
" >&6; }
17148 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
17149 $as_echo_n "(cached
) " >&6
17151 if test -n "$WINDRES_FOR_TARGET"; then
17152 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
17154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17155 for as_dir in $PATH
17158 test -z "$as_dir" && as_dir=.
17159 for ac_exec_ext in '' $ac_executable_extensions; do
17160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17161 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
17162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17171 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
17172 if test -n "$WINDRES_FOR_TARGET"; then
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
17174 $as_echo "$WINDRES_FOR_TARGET" >&6; }
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17177 $as_echo "no
" >&6; }
17182 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
17186 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
17188 if test $build = $target ; then
17189 WINDRES_FOR_TARGET="$2"
17191 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
17194 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
17198 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
17204 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17205 if test -n "$with_build_time_tools"; then
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
17207 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
17208 if test -x $with_build_time_tools/windmc; then
17209 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
17210 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
17212 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17215 $as_echo "no
" >&6; }
17217 elif test $build != $host && test $have_gcc_for_target = yes; then
17218 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
17219 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
17220 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17223 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
17224 # Extract the first word of "windmc
", so it can be a program name with args.
17225 set dummy windmc; ac_word=$2
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17227 $as_echo_n "checking
for $ac_word...
" >&6; }
17228 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
17229 $as_echo_n "(cached
) " >&6
17231 case $WINDMC_FOR_TARGET in
17233 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
17236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17237 for as_dir in $gcc_cv_tool_dirs
17240 test -z "$as_dir" && as_dir=.
17241 for ac_exec_ext in '' $ac_executable_extensions; do
17242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17243 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
17244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17254 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17255 if test -n "$WINDMC_FOR_TARGET"; then
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17257 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17260 $as_echo "no
" >&6; }
17265 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
17268 if test -n "$WINDMC_FOR_TARGET"; then
17269 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
17270 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17271 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17274 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17275 for ncn_progname in windmc; do
17276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17277 set dummy ${ncn_progname}; ac_word=$2
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17279 $as_echo_n "checking
for $ac_word...
" >&6; }
17280 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17281 $as_echo_n "(cached
) " >&6
17283 if test -n "$WINDMC_FOR_TARGET"; then
17284 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17287 for as_dir in $PATH
17290 test -z "$as_dir" && as_dir=.
17291 for ac_exec_ext in '' $ac_executable_extensions; do
17292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17293 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17303 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17304 if test -n "$WINDMC_FOR_TARGET"; then
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17306 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17309 $as_echo "no
" >&6; }
17316 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
17317 for ncn_progname in windmc; do
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
17319 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
17320 if test -x $with_build_time_tools/${ncn_progname}; then
17321 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
17323 $as_echo "yes" >&6; }
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17327 $as_echo "no
" >&6; }
17332 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
17333 for ncn_progname in windmc; do
17334 if test -n "$ncn_target_tool_prefix"; then
17335 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
17336 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17338 $as_echo_n "checking
for $ac_word...
" >&6; }
17339 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17340 $as_echo_n "(cached
) " >&6
17342 if test -n "$WINDMC_FOR_TARGET"; then
17343 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17346 for as_dir in $PATH
17349 test -z "$as_dir" && as_dir=.
17350 for ac_exec_ext in '' $ac_executable_extensions; do
17351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17352 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
17353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17362 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17363 if test -n "$WINDMC_FOR_TARGET"; then
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17365 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17368 $as_echo "no
" >&6; }
17373 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
17374 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
17375 set dummy ${ncn_progname}; ac_word=$2
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
17377 $as_echo_n "checking
for $ac_word...
" >&6; }
17378 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
17379 $as_echo_n "(cached
) " >&6
17381 if test -n "$WINDMC_FOR_TARGET"; then
17382 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
17384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17385 for as_dir in $PATH
17388 test -z "$as_dir" && as_dir=.
17389 for ac_exec_ext in '' $ac_executable_extensions; do
17390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17391 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
17392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
17401 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
17402 if test -n "$WINDMC_FOR_TARGET"; then
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
17404 $as_echo "$WINDMC_FOR_TARGET" >&6; }
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
17407 $as_echo "no
" >&6; }
17412 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
17416 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
17418 if test $build = $target ; then
17419 WINDMC_FOR_TARGET="$2"
17421 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
17424 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
17428 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
17432 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
17435 $as_echo_n "checking where to
find the target
ar...
" >&6; }
17436 if test "x
${build}" != "x
${host}" ; then
17437 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17438 # We already found the complete path
17439 ac_dir=`dirname $AR_FOR_TARGET`
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17441 $as_echo "pre-installed
in $ac_dir" >&6; }
17443 # Canadian cross, just use what we found
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17445 $as_echo "pre-installed
" >&6; }
17449 case " ${configdirs} " in
17454 if test $ok = yes; then
17455 # An in-tree tool is available and we can use it
17456 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17458 $as_echo "just compiled
" >&6; }
17459 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
17460 # We already found the complete path
17461 ac_dir=`dirname $AR_FOR_TARGET`
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17463 $as_echo "pre-installed
in $ac_dir" >&6; }
17464 elif test "x
$target" = "x
$host"; then
17465 # We can use an host tool
17466 AR_FOR_TARGET='$(AR)'
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17468 $as_echo "host tool
" >&6; }
17470 # We need a cross tool
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17472 $as_echo "pre-installed
" >&6; }
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
17477 $as_echo_n "checking where to
find the target as...
" >&6; }
17478 if test "x
${build}" != "x
${host}" ; then
17479 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17480 # We already found the complete path
17481 ac_dir=`dirname $AS_FOR_TARGET`
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17483 $as_echo "pre-installed
in $ac_dir" >&6; }
17485 # Canadian cross, just use what we found
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17487 $as_echo "pre-installed
" >&6; }
17491 case " ${configdirs} " in
17496 if test $ok = yes; then
17497 # An in-tree tool is available and we can use it
17498 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17500 $as_echo "just compiled
" >&6; }
17501 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
17502 # We already found the complete path
17503 ac_dir=`dirname $AS_FOR_TARGET`
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17505 $as_echo "pre-installed
in $ac_dir" >&6; }
17506 elif test "x
$target" = "x
$host"; then
17507 # We can use an host tool
17508 AS_FOR_TARGET='$(AS)'
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17510 $as_echo "host tool
" >&6; }
17512 # We need a cross tool
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17514 $as_echo "pre-installed
" >&6; }
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
17519 $as_echo_n "checking where to
find the target cc...
" >&6; }
17520 if test "x
${build}" != "x
${host}" ; then
17521 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17522 # We already found the complete path
17523 ac_dir=`dirname $CC_FOR_TARGET`
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17525 $as_echo "pre-installed
in $ac_dir" >&6; }
17527 # Canadian cross, just use what we found
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17529 $as_echo "pre-installed
" >&6; }
17533 case " ${configdirs} " in
17538 if test $ok = yes; then
17539 # An in-tree tool is available and we can use it
17540 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17542 $as_echo "just compiled
" >&6; }
17543 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
17544 # We already found the complete path
17545 ac_dir=`dirname $CC_FOR_TARGET`
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17547 $as_echo "pre-installed
in $ac_dir" >&6; }
17548 elif test "x
$target" = "x
$host"; then
17549 # We can use an host tool
17550 CC_FOR_TARGET='$(CC)'
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17552 $as_echo "host tool
" >&6; }
17554 # We need a cross tool
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17556 $as_echo "pre-installed
" >&6; }
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
17561 $as_echo_n "checking where to
find the target c
++...
" >&6; }
17562 if test "x
${build}" != "x
${host}" ; then
17563 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17564 # We already found the complete path
17565 ac_dir=`dirname $CXX_FOR_TARGET`
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17567 $as_echo "pre-installed
in $ac_dir" >&6; }
17569 # Canadian cross, just use what we found
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17571 $as_echo "pre-installed
" >&6; }
17575 case " ${configdirs} " in
17579 case ,${enable_languages}, in
17583 if test $ok = yes; then
17584 # An in-tree tool is available and we can use it
17585 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'
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17587 $as_echo "just compiled
" >&6; }
17588 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
17589 # We already found the complete path
17590 ac_dir=`dirname $CXX_FOR_TARGET`
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17592 $as_echo "pre-installed
in $ac_dir" >&6; }
17593 elif test "x
$target" = "x
$host"; then
17594 # We can use an host tool
17595 CXX_FOR_TARGET='$(CXX)'
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17597 $as_echo "host tool
" >&6; }
17599 # We need a cross tool
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17601 $as_echo "pre-installed
" >&6; }
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
17606 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
17607 if test "x
${build}" != "x
${host}" ; then
17608 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17609 # We already found the complete path
17610 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17612 $as_echo "pre-installed
in $ac_dir" >&6; }
17614 # Canadian cross, just use what we found
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17616 $as_echo "pre-installed
" >&6; }
17620 case " ${configdirs} " in
17624 case ,${enable_languages}, in
17628 if test $ok = yes; then
17629 # An in-tree tool is available and we can use it
17630 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'
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17632 $as_echo "just compiled
" >&6; }
17633 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
17634 # We already found the complete path
17635 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17637 $as_echo "pre-installed
in $ac_dir" >&6; }
17638 elif test "x
$target" = "x
$host"; then
17639 # We can use an host tool
17640 RAW_CXX_FOR_TARGET='$(CXX)'
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17642 $as_echo "host tool
" >&6; }
17644 # We need a cross tool
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17646 $as_echo "pre-installed
" >&6; }
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
17651 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
17652 if test "x
${build}" != "x
${host}" ; then
17653 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17654 # We already found the complete path
17655 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17657 $as_echo "pre-installed
in $ac_dir" >&6; }
17659 # Canadian cross, just use what we found
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17661 $as_echo "pre-installed
" >&6; }
17665 case " ${configdirs} " in
17670 if test $ok = yes; then
17671 # An in-tree tool is available and we can use it
17672 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17674 $as_echo "just compiled
" >&6; }
17675 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
17676 # We already found the complete path
17677 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17679 $as_echo "pre-installed
in $ac_dir" >&6; }
17680 elif test "x
$target" = "x
$host"; then
17681 # We can use an host tool
17682 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17684 $as_echo "host tool
" >&6; }
17686 # We need a cross tool
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17688 $as_echo "pre-installed
" >&6; }
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dsymutil
" >&5
17693 $as_echo_n "checking where to
find the target dsymutil...
" >&6; }
17694 if test "x
${build}" != "x
${host}" ; then
17695 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17696 # We already found the complete path
17697 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17699 $as_echo "pre-installed
in $ac_dir" >&6; }
17701 # Canadian cross, just use what we found
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17703 $as_echo "pre-installed
" >&6; }
17706 if expr "x
$DSYMUTIL_FOR_TARGET" : "x
/" > /dev/null; then
17707 # We already found the complete path
17708 ac_dir=`dirname $DSYMUTIL_FOR_TARGET`
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17710 $as_echo "pre-installed
in $ac_dir" >&6; }
17711 elif test "x
$target" = "x
$host"; then
17712 # We can use an host tool
17713 DSYMUTIL_FOR_TARGET='$(DSYMUTIL)'
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17715 $as_echo "host tool
" >&6; }
17717 # We need a cross tool
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17719 $as_echo "pre-installed
" >&6; }
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
17724 $as_echo_n "checking where to
find the target gcc...
" >&6; }
17725 if test "x
${build}" != "x
${host}" ; then
17726 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17727 # We already found the complete path
17728 ac_dir=`dirname $GCC_FOR_TARGET`
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17730 $as_echo "pre-installed
in $ac_dir" >&6; }
17732 # Canadian cross, just use what we found
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17734 $as_echo "pre-installed
" >&6; }
17738 case " ${configdirs} " in
17743 if test $ok = yes; then
17744 # An in-tree tool is available and we can use it
17745 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17747 $as_echo "just compiled
" >&6; }
17748 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
17749 # We already found the complete path
17750 ac_dir=`dirname $GCC_FOR_TARGET`
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17752 $as_echo "pre-installed
in $ac_dir" >&6; }
17753 elif test "x
$target" = "x
$host"; then
17754 # We can use an host tool
17755 GCC_FOR_TARGET='$()'
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17757 $as_echo "host tool
" >&6; }
17759 # We need a cross tool
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17761 $as_echo "pre-installed
" >&6; }
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
17766 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
17767 if test "x
${build}" != "x
${host}" ; then
17768 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17769 # We already found the complete path
17770 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17772 $as_echo "pre-installed
in $ac_dir" >&6; }
17774 # Canadian cross, just use what we found
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17776 $as_echo "pre-installed
" >&6; }
17780 case " ${configdirs} " in
17784 case ,${enable_languages}, in
17788 if test $ok = yes; then
17789 # An in-tree tool is available and we can use it
17790 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17792 $as_echo "just compiled
" >&6; }
17793 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
17794 # We already found the complete path
17795 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17797 $as_echo "pre-installed
in $ac_dir" >&6; }
17798 elif test "x
$target" = "x
$host"; then
17799 # We can use an host tool
17800 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17802 $as_echo "host tool
" >&6; }
17804 # We need a cross tool
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17806 $as_echo "pre-installed
" >&6; }
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
17811 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
17812 if test "x
${build}" != "x
${host}" ; then
17813 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17814 # We already found the complete path
17815 ac_dir=`dirname $GOC_FOR_TARGET`
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17817 $as_echo "pre-installed
in $ac_dir" >&6; }
17819 # Canadian cross, just use what we found
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17821 $as_echo "pre-installed
" >&6; }
17825 case " ${configdirs} " in
17829 case ,${enable_languages}, in
17833 if test $ok = yes; then
17834 # An in-tree tool is available and we can use it
17835 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17837 $as_echo "just compiled
" >&6; }
17838 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
17839 # We already found the complete path
17840 ac_dir=`dirname $GOC_FOR_TARGET`
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17842 $as_echo "pre-installed
in $ac_dir" >&6; }
17843 elif test "x
$target" = "x
$host"; then
17844 # We can use an host tool
17845 GOC_FOR_TARGET='$(GOC)'
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17847 $as_echo "host tool
" >&6; }
17849 # We need a cross tool
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17851 $as_echo "pre-installed
" >&6; }
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
17856 $as_echo_n "checking where to
find the target gdc...
" >&6; }
17857 if test "x
${build}" != "x
${host}" ; then
17858 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17859 # We already found the complete path
17860 ac_dir=`dirname $GDC_FOR_TARGET`
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17862 $as_echo "pre-installed
in $ac_dir" >&6; }
17864 # Canadian cross, just use what we found
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17866 $as_echo "pre-installed
" >&6; }
17870 case " ${configdirs} " in
17874 case ,${enable_languages}, in
17878 if test $ok = yes; then
17879 # An in-tree tool is available and we can use it
17880 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17882 $as_echo "just compiled
" >&6; }
17883 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
17884 # We already found the complete path
17885 ac_dir=`dirname $GDC_FOR_TARGET`
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17887 $as_echo "pre-installed
in $ac_dir" >&6; }
17888 elif test "x
$target" = "x
$host"; then
17889 # We can use an host tool
17890 GDC_FOR_TARGET='$(GDC)'
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17892 $as_echo "host tool
" >&6; }
17894 # We need a cross tool
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17896 $as_echo "pre-installed
" >&6; }
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gm2
" >&5
17901 $as_echo_n "checking where to
find the target gm2...
" >&6; }
17902 if test "x
${build}" != "x
${host}" ; then
17903 if expr "x
$GM2_FOR_TARGET" : "x
/" > /dev/null; then
17904 # We already found the complete path
17905 ac_dir=`dirname $GM2_FOR_TARGET`
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17907 $as_echo "pre-installed
in $ac_dir" >&6; }
17909 # Canadian cross, just use what we found
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17911 $as_echo "pre-installed
" >&6; }
17915 case " ${configdirs} " in
17919 case ,${enable_languages}, in
17923 if test $ok = yes; then
17924 # An in-tree tool is available and we can use it
17925 GM2_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gm2 -B$$r/$(HOST_SUBDIR)/gcc/'
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17927 $as_echo "just compiled
" >&6; }
17928 elif expr "x
$GM2_FOR_TARGET" : "x
/" > /dev/null; then
17929 # We already found the complete path
17930 ac_dir=`dirname $GM2_FOR_TARGET`
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17932 $as_echo "pre-installed
in $ac_dir" >&6; }
17933 elif test "x
$target" = "x
$host"; then
17934 # We can use an host tool
17935 GM2_FOR_TARGET='$(GM2)'
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17937 $as_echo "host tool
" >&6; }
17939 # We need a cross tool
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17941 $as_echo "pre-installed
" >&6; }
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
17946 $as_echo_n "checking where to
find the target ld...
" >&6; }
17947 if test "x
${build}" != "x
${host}" ; then
17948 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17949 # We already found the complete path
17950 ac_dir=`dirname $LD_FOR_TARGET`
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17952 $as_echo "pre-installed
in $ac_dir" >&6; }
17954 # Canadian cross, just use what we found
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17956 $as_echo "pre-installed
" >&6; }
17960 case " ${configdirs} " in
17965 if test $ok = yes; then
17966 # An in-tree tool is available and we can use it
17967 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
17969 $as_echo "just compiled
" >&6; }
17970 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
17971 # We already found the complete path
17972 ac_dir=`dirname $LD_FOR_TARGET`
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17974 $as_echo "pre-installed
in $ac_dir" >&6; }
17975 elif test "x
$target" = "x
$host"; then
17976 # We can use an host tool
17977 LD_FOR_TARGET='$(LD)'
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
17979 $as_echo "host tool
" >&6; }
17981 # We need a cross tool
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17983 $as_echo "pre-installed
" >&6; }
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
17988 $as_echo_n "checking where to
find the target lipo...
" >&6; }
17989 if test "x
${build}" != "x
${host}" ; then
17990 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
17991 # We already found the complete path
17992 ac_dir=`dirname $LIPO_FOR_TARGET`
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
17994 $as_echo "pre-installed
in $ac_dir" >&6; }
17996 # Canadian cross, just use what we found
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
17998 $as_echo "pre-installed
" >&6; }
18001 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
18002 # We already found the complete path
18003 ac_dir=`dirname $LIPO_FOR_TARGET`
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18005 $as_echo "pre-installed
in $ac_dir" >&6; }
18006 elif test "x
$target" = "x
$host"; then
18007 # We can use an host tool
18008 LIPO_FOR_TARGET='$(LIPO)'
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18010 $as_echo "host tool
" >&6; }
18012 # We need a cross tool
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18014 $as_echo "pre-installed
" >&6; }
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
18019 $as_echo_n "checking where to
find the target nm...
" >&6; }
18020 if test "x
${build}" != "x
${host}" ; then
18021 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
18022 # We already found the complete path
18023 ac_dir=`dirname $NM_FOR_TARGET`
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18025 $as_echo "pre-installed
in $ac_dir" >&6; }
18027 # Canadian cross, just use what we found
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18029 $as_echo "pre-installed
" >&6; }
18033 case " ${configdirs} " in
18038 if test $ok = yes; then
18039 # An in-tree tool is available and we can use it
18040 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18042 $as_echo "just compiled
" >&6; }
18043 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
18044 # We already found the complete path
18045 ac_dir=`dirname $NM_FOR_TARGET`
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18047 $as_echo "pre-installed
in $ac_dir" >&6; }
18048 elif test "x
$target" = "x
$host"; then
18049 # We can use an host tool
18050 NM_FOR_TARGET='$(NM)'
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18052 $as_echo "host tool
" >&6; }
18054 # We need a cross tool
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18056 $as_echo "pre-installed
" >&6; }
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
18061 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
18062 if test "x
${build}" != "x
${host}" ; then
18063 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
18064 # We already found the complete path
18065 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18067 $as_echo "pre-installed
in $ac_dir" >&6; }
18069 # Canadian cross, just use what we found
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18071 $as_echo "pre-installed
" >&6; }
18075 case " ${configdirs} " in
18080 if test $ok = yes; then
18081 # An in-tree tool is available and we can use it
18082 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18084 $as_echo "just compiled
" >&6; }
18085 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
18086 # We already found the complete path
18087 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18089 $as_echo "pre-installed
in $ac_dir" >&6; }
18090 elif test "x
$target" = "x
$host"; then
18091 # We can use an host tool
18092 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18094 $as_echo "host tool
" >&6; }
18096 # We need a cross tool
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18098 $as_echo "pre-installed
" >&6; }
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
18103 $as_echo_n "checking where to
find the target objdump...
" >&6; }
18104 if test "x
${build}" != "x
${host}" ; then
18105 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
18106 # We already found the complete path
18107 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18109 $as_echo "pre-installed
in $ac_dir" >&6; }
18111 # Canadian cross, just use what we found
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18113 $as_echo "pre-installed
" >&6; }
18117 case " ${configdirs} " in
18122 if test $ok = yes; then
18123 # An in-tree tool is available and we can use it
18124 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18126 $as_echo "just compiled
" >&6; }
18127 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
18128 # We already found the complete path
18129 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18131 $as_echo "pre-installed
in $ac_dir" >&6; }
18132 elif test "x
$target" = "x
$host"; then
18133 # We can use an host tool
18134 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18136 $as_echo "host tool
" >&6; }
18138 # We need a cross tool
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18140 $as_echo "pre-installed
" >&6; }
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
18145 $as_echo_n "checking where to
find the target otool...
" >&6; }
18146 if test "x
${build}" != "x
${host}" ; then
18147 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
18148 # We already found the complete path
18149 ac_dir=`dirname $OTOOL_FOR_TARGET`
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18151 $as_echo "pre-installed
in $ac_dir" >&6; }
18153 # Canadian cross, just use what we found
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18155 $as_echo "pre-installed
" >&6; }
18158 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
18159 # We already found the complete path
18160 ac_dir=`dirname $OTOOL_FOR_TARGET`
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18162 $as_echo "pre-installed
in $ac_dir" >&6; }
18163 elif test "x
$target" = "x
$host"; then
18164 # We can use an host tool
18165 OTOOL_FOR_TARGET='$(OTOOL)'
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18167 $as_echo "host tool
" >&6; }
18169 # We need a cross tool
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18171 $as_echo "pre-installed
" >&6; }
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
18176 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
18177 if test "x
${build}" != "x
${host}" ; then
18178 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18179 # We already found the complete path
18180 ac_dir=`dirname $RANLIB_FOR_TARGET`
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18182 $as_echo "pre-installed
in $ac_dir" >&6; }
18184 # Canadian cross, just use what we found
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18186 $as_echo "pre-installed
" >&6; }
18190 case " ${configdirs} " in
18195 if test $ok = yes; then
18196 # An in-tree tool is available and we can use it
18197 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18199 $as_echo "just compiled
" >&6; }
18200 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
18201 # We already found the complete path
18202 ac_dir=`dirname $RANLIB_FOR_TARGET`
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18204 $as_echo "pre-installed
in $ac_dir" >&6; }
18205 elif test "x
$target" = "x
$host"; then
18206 # We can use an host tool
18207 RANLIB_FOR_TARGET='$(RANLIB)'
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18209 $as_echo "host tool
" >&6; }
18211 # We need a cross tool
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18213 $as_echo "pre-installed
" >&6; }
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
18218 $as_echo_n "checking where to
find the target readelf...
" >&6; }
18219 if test "x
${build}" != "x
${host}" ; then
18220 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18221 # We already found the complete path
18222 ac_dir=`dirname $READELF_FOR_TARGET`
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18224 $as_echo "pre-installed
in $ac_dir" >&6; }
18226 # Canadian cross, just use what we found
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18228 $as_echo "pre-installed
" >&6; }
18232 case " ${configdirs} " in
18237 if test $ok = yes; then
18238 # An in-tree tool is available and we can use it
18239 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18241 $as_echo "just compiled
" >&6; }
18242 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
18243 # We already found the complete path
18244 ac_dir=`dirname $READELF_FOR_TARGET`
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18246 $as_echo "pre-installed
in $ac_dir" >&6; }
18247 elif test "x
$target" = "x
$host"; then
18248 # We can use an host tool
18249 READELF_FOR_TARGET='$(READELF)'
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18251 $as_echo "host tool
" >&6; }
18253 # We need a cross tool
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18255 $as_echo "pre-installed
" >&6; }
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
18260 $as_echo_n "checking where to
find the target strip...
" >&6; }
18261 if test "x
${build}" != "x
${host}" ; then
18262 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18263 # We already found the complete path
18264 ac_dir=`dirname $STRIP_FOR_TARGET`
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18266 $as_echo "pre-installed
in $ac_dir" >&6; }
18268 # Canadian cross, just use what we found
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18270 $as_echo "pre-installed
" >&6; }
18274 case " ${configdirs} " in
18279 if test $ok = yes; then
18280 # An in-tree tool is available and we can use it
18281 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18283 $as_echo "just compiled
" >&6; }
18284 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
18285 # We already found the complete path
18286 ac_dir=`dirname $STRIP_FOR_TARGET`
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18288 $as_echo "pre-installed
in $ac_dir" >&6; }
18289 elif test "x
$target" = "x
$host"; then
18290 # We can use an host tool
18291 STRIP_FOR_TARGET='$(STRIP)'
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18293 $as_echo "host tool
" >&6; }
18295 # We need a cross tool
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18297 $as_echo "pre-installed
" >&6; }
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
18302 $as_echo_n "checking where to
find the target windres...
" >&6; }
18303 if test "x
${build}" != "x
${host}" ; then
18304 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18305 # We already found the complete path
18306 ac_dir=`dirname $WINDRES_FOR_TARGET`
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18308 $as_echo "pre-installed
in $ac_dir" >&6; }
18310 # Canadian cross, just use what we found
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18312 $as_echo "pre-installed
" >&6; }
18316 case " ${configdirs} " in
18321 if test $ok = yes; then
18322 # An in-tree tool is available and we can use it
18323 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18325 $as_echo "just compiled
" >&6; }
18326 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
18327 # We already found the complete path
18328 ac_dir=`dirname $WINDRES_FOR_TARGET`
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18330 $as_echo "pre-installed
in $ac_dir" >&6; }
18331 elif test "x
$target" = "x
$host"; then
18332 # We can use an host tool
18333 WINDRES_FOR_TARGET='$(WINDRES)'
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18335 $as_echo "host tool
" >&6; }
18337 # We need a cross tool
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18339 $as_echo "pre-installed
" >&6; }
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
18344 $as_echo_n "checking where to
find the target windmc...
" >&6; }
18345 if test "x
${build}" != "x
${host}" ; then
18346 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18347 # We already found the complete path
18348 ac_dir=`dirname $WINDMC_FOR_TARGET`
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18350 $as_echo "pre-installed
in $ac_dir" >&6; }
18352 # Canadian cross, just use what we found
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18354 $as_echo "pre-installed
" >&6; }
18358 case " ${configdirs} " in
18363 if test $ok = yes; then
18364 # An in-tree tool is available and we can use it
18365 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
18367 $as_echo "just compiled
" >&6; }
18368 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
18369 # We already found the complete path
18370 ac_dir=`dirname $WINDMC_FOR_TARGET`
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
18372 $as_echo "pre-installed
in $ac_dir" >&6; }
18373 elif test "x
$target" = "x
$host"; then
18374 # We can use an host tool
18375 WINDMC_FOR_TARGET='$(WINDMC)'
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
18377 $as_echo "host tool
" >&6; }
18379 # We need a cross tool
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
18381 $as_echo "pre-installed
" >&6; }
18389 # Certain tools may need extra flags.
18390 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
18391 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
18392 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
18394 # When building target libraries, except in a Canadian cross, we use
18395 # the same toolchain as the compiler we just built.
18396 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
18397 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
18398 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
18399 if test $host = $build; then
18400 case " $configdirs " in
18402 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
18403 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
18404 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
18414 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
18415 # Check whether --enable-maintainer-mode was given.
18416 if test "${enable_maintainer_mode+set}" = set; then :
18417 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
18419 USE_MAINTAINER_MODE=no
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
18423 $as_echo "$USE_MAINTAINER_MODE" >&6; }
18426 if test "$USE_MAINTAINER_MODE" = yes; then
18427 MAINTAINER_MODE_TRUE=
18428 MAINTAINER_MODE_FALSE='#'
18430 MAINTAINER_MODE_TRUE='#'
18431 MAINTAINER_MODE_FALSE=
18433 MAINT=$MAINTAINER_MODE_TRUE
18435 # ---------------------
18436 # GCC bootstrap support
18437 # ---------------------
18439 # Stage specific cflags for build.
18444 yes) stage1_cflags="-g -Wa,-J" ;;
18445 *) stage1_cflags="-g -J" ;;
18451 # Enable --enable-checking in stage1 of the compiler.
18452 # Check whether --enable-stage1-checking was given.
18453 if test "${enable_stage1_checking+set}" = set; then :
18454 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
18456 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
18457 # For --disable-checking or implicit --enable-checking=release, avoid
18458 # setting --enable-checking=gc in the default stage1 checking for LTO
18459 # bootstraps. See PR62077.
18460 case $BUILD_CONFIG in
18462 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
18464 stage1_checking=--enable-checking=yes,types;;
18466 if test "x
$enable_checking" = x && \
18467 test -d ${srcdir}/gcc && \
18468 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
18469 stage1_checking=--enable-checking=yes,types,extra
18472 stage1_checking=--enable-checking=$enable_checking,types
18478 # Enable -Werror in bootstrap stage2 and later.
18479 # Check whether --enable-werror was given.
18480 if test "${enable_werror+set}" = set; then :
18481 enableval=$enable_werror;
18482 case ${enable_werror} in
18483 yes) stage2_werror_flag="--enable-werror-always" ;;
18484 *) stage2_werror_flag="" ;;
18489 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
18490 case $BUILD_CONFIG in
18492 stage2_werror_flag="--enable-werror-always" ;;
18494 stage2_werror_flag="--enable-werror-always" ;;
18503 # Specify what files to not compare during bootstrap.
18505 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
18506 compare_exclusions="$compare_exclusions | gcc
/m
2/gm2-compiler-boot
/M2Version
*"
18507 compare_exclusions="$compare_exclusions | gcc
/m
2/gm2-compiler-boot
/SYSTEM
*"
18508 compare_exclusions="$compare_exclusions | gcc
/m
2/gm2version
*"
18510 hppa*64*-*-hpux*) ;;
18511 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
18515 ac_config_files="$ac_config_files Makefile
"
18517 cat >confcache <<\_ACEOF
18518 # This file is a shell script that caches the results of configure
18519 # tests run on this system so they can be shared between configure
18520 # scripts and configure runs, see configure's option --config-cache.
18521 # It is not useful on other systems. If it contains results you don't
18522 # want to keep, you may remove or edit it.
18524 # config.status only pays attention to the cache file if you give it
18525 # the --recheck option to rerun configure.
18527 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18528 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18529 # following values.
18533 # The following way of writing the cache mishandles newlines in values,
18534 # but we know of no workaround that is simple, portable, and efficient.
18535 # So, we kill variables containing newlines.
18536 # Ultrix sh set writes to stderr and can't be redirected directly,
18537 # and sets the high bit in the cache file unless we assign to the vars.
18539 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18540 eval ac_val=\$$ac_var
18544 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
18545 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
18548 _ | IFS | as_nl) ;; #(
18549 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18550 *) { eval $ac_var=; unset $ac_var;} ;;
18556 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18557 *${as_nl}ac_space=\ *)
18558 # `set' does not quote correctly, so add quotes: double-quote
18559 # substitution turns \\\\ into \\, and sed turns \\ into \.
18562 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
18565 # `set' quotes correctly as required by POSIX, so do not add quotes.
18566 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
18575 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18577 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18579 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18580 if test -w "$cache_file"; then
18581 if test "x
$cache_file" != "x
/dev
/null
"; then
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
18583 $as_echo "$as_me: updating cache
$cache_file" >&6;}
18584 if test ! -f "$cache_file" || test -h "$cache_file"; then
18585 cat confcache >"$cache_file"
18587 case $cache_file in #(
18589 mv -f confcache "$cache_file"$$ &&
18590 mv -f "$cache_file"$$ "$cache_file" ;; #(
18592 mv -f confcache "$cache_file" ;;
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
18598 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
18603 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
18604 # Let make expand exec_prefix.
18605 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
18607 # Transform confdefs.h into DEFS.
18608 # Protect against shell expansion while executing Makefile rules.
18609 # Protect against Makefile macro expansion.
18611 # If the first sed substitution is executed (which looks for macros that
18612 # take arguments), then branch to the quote section. Otherwise,
18613 # look for a macro that doesn't take arguments.
18623 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18625 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18629 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
18642 DEFS=`sed -n "$ac_script" confdefs.h`
18648 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18649 # 1. Remove the extension, and $U if already installed.
18650 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
18651 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18653 # will be set to the directory where LIBOBJS objects are built.
18654 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18655 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
18657 LIBOBJS=$ac_libobjs
18659 LTLIBOBJS=$ac_ltlibobjs
18663 : "${CONFIG_STATUS=./config.status}"
18665 ac_clean_files_save=$ac_clean_files
18666 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18668 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18670 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18672 # Generated by $as_me.
18673 # Run this file to recreate the current configuration.
18674 # Compiler output produced by configure, useful for debugging
18675 # configure, is in config.log if it exists.
18678 ac_cs_recheck=false
18681 SHELL=\${CONFIG_SHELL-$SHELL}
18684 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18685 ## -------------------- ##
18686 ## M4sh Initialization. ##
18687 ## -------------------- ##
18689 # Be more Bourne compatible
18690 DUALCASE=1; export DUALCASE # for MKS sh
18691 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18694 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18695 # is contrary to our usage. Disable this feature.
18696 alias -g '${1+"$@"}'='"$@"'
18697 setopt NO_GLOB_SUBST
18699 case `(set -o) 2>/dev/null` in #(
18711 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18712 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18713 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
18714 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18715 # Prefer a ksh shell builtin over an external printf program on Solaris,
18716 # but without wasting forks for bash or zsh.
18717 if test -z "$BASH_VERSION$ZSH_VERSION" \
18718 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18719 as_echo
='print -r --'
18720 as_echo_n
='print -rn --'
18721 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
18722 as_echo
='printf %s\n'
18723 as_echo_n
='printf %s'
18725 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18726 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
18727 as_echo_n
='/usr/ucb/echo -n'
18729 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
18730 as_echo_n_body
='eval
18734 expr "X$arg" : "X\\(.*\\)$as_nl";
18735 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18737 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18739 export as_echo_n_body
18740 as_echo_n
='sh -c $as_echo_n_body as_echo'
18742 export as_echo_body
18743 as_echo
='sh -c $as_echo_body as_echo'
18746 # The user is always right.
18747 if test "${PATH_SEPARATOR+set}" != set; then
18749 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
18750 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
18757 # We need space, tab and new line, in precisely that order. Quoting is
18758 # there to prevent editors from complaining about space-tab.
18759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18760 # splitting by setting IFS to empty value.)
18763 # Find who we are. Look in the path if we contain no directory separator.
18766 *[\\/]* ) as_myself
=$0 ;;
18767 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18768 for as_dir
in $PATH
18771 test -z "$as_dir" && as_dir
=.
18772 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18778 # We did not find ourselves, most probably we were run as `sh COMMAND'
18779 # in which case we are not to be found in the path.
18780 if test "x$as_myself" = x
; then
18783 if test ! -f "$as_myself"; then
18784 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18788 # Unset variables that we do not need and which cause bugs (e.g. in
18789 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18790 # suppresses any "Segmentation fault" message there. '((' could
18791 # trigger a bug in pdksh 5.2.14.
18792 for as_var
in BASH_ENV ENV MAIL MAILPATH
18793 do eval test x\
${$as_var+set} = xset \
18794 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18807 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18810 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18811 # ----------------------------------------
18812 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18813 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18814 # script with STATUS, using 1 if that was 0.
18817 as_status
=$1; test $as_status -eq 0 && as_status
=1
18819 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18820 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18822 $as_echo "$as_me: error: $2" >&2
18823 as_fn_exit
$as_status
18827 # as_fn_set_status STATUS
18828 # -----------------------
18829 # Set $? to STATUS, without forking.
18830 as_fn_set_status
()
18833 } # as_fn_set_status
18835 # as_fn_exit STATUS
18836 # -----------------
18837 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18841 as_fn_set_status
$1
18847 # Portably unset VAR.
18850 { eval $1=; unset $1;}
18852 as_unset
=as_fn_unset
18853 # as_fn_append VAR VALUE
18854 # ----------------------
18855 # Append the text in VALUE to the end of the definition contained in VAR. Take
18856 # advantage of any shell optimizations that allow amortized linear growth over
18857 # repeated appends, instead of the typical quadratic growth present in naive
18859 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18860 eval 'as_fn_append ()
18871 # as_fn_arith ARG...
18872 # ------------------
18873 # Perform arithmetic evaluation on the ARGs, and store the result in the
18874 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18875 # must be portable across $(()) and expr.
18876 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18877 eval 'as_fn_arith ()
18884 as_val
=`expr "$@" || test $? -eq 1`
18889 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18890 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18896 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18897 as_basename
=basename
18902 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18908 as_me
=`$as_basename -- "$0" ||
18909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18910 X"$0" : 'X\(//\)$' \| \
18911 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18913 sed '/^.*\/\([^/][^/]*\)\/*$/{
18927 # Avoid depending upon Character Ranges.
18928 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18929 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18930 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18931 as_cr_digits
='0123456789'
18932 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18934 ECHO_C
= ECHO_N
= ECHO_T
=
18935 case `echo -n x` in #(((((
18937 case `echo 'xy\c'` in
18938 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18940 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18947 rm -f conf$$ conf$$.exe conf$$.
file
18948 if test -d conf$$.dir
; then
18949 rm -f conf$$.dir
/conf$$.
file
18952 mkdir conf$$.dir
2>/dev
/null
18954 if (echo >conf$$.
file) 2>/dev
/null
; then
18955 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18957 # ... but there are two gotchas:
18958 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18959 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18960 # In both cases, we have to default to `cp -pR'.
18961 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18963 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18971 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18972 rmdir conf$$.dir
2>/dev
/null
18977 # Create "$as_dir" as a directory, including parents if necessary.
18982 -*) as_dir
=.
/$as_dir;;
18984 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18988 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18989 *) as_qdir
=$as_dir;;
18991 as_dirs
="'$as_qdir' $as_dirs"
18992 as_dir
=`$as_dirname -- "$as_dir" ||
18993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18994 X"$as_dir" : 'X\(//\)[^/]' \| \
18995 X"$as_dir" : 'X\(//\)$' \| \
18996 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18997 $as_echo X"$as_dir" |
18998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19002 /^X\(\/\/\)[^/].*/{
19015 test -d "$as_dir" && break
19017 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19018 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19022 if mkdir
-p .
2>/dev
/null
; then
19023 as_mkdir_p
='mkdir -p "$as_dir"'
19025 test -d .
/-p && rmdir .
/-p
19030 # as_fn_executable_p FILE
19031 # -----------------------
19032 # Test if FILE is an executable regular file.
19033 as_fn_executable_p
()
19035 test -f "$1" && test -x "$1"
19036 } # as_fn_executable_p
19037 as_test_x
='test -x'
19038 as_executable_p
=as_fn_executable_p
19040 # Sed expression to map a string onto a valid CPP name.
19041 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19043 # Sed expression to map a string onto a valid variable name.
19044 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19048 ## ----------------------------------- ##
19049 ## Main body of $CONFIG_STATUS script. ##
19050 ## ----------------------------------- ##
19052 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19055 # Save the log message, to keep $0 and so on meaningful, and to
19056 # report actual input values of CONFIG_FILES etc. instead of their
19057 # values after options handling.
19059 This file was extended by $as_me, which was
19060 generated by GNU Autoconf 2.69. Invocation command line was
19062 CONFIG_FILES = $CONFIG_FILES
19063 CONFIG_HEADERS = $CONFIG_HEADERS
19064 CONFIG_LINKS = $CONFIG_LINKS
19065 CONFIG_COMMANDS = $CONFIG_COMMANDS
19068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19073 case $ac_config_files in *"
19074 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19080 # Files that config.status was made for.
19081 config_files="$ac_config_files"
19085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19087 \`$as_me' instantiates files and other configuration actions
19088 from templates according to the current configuration. Unless the files
19089 and actions are specified as TAGs, all are instantiated by default.
19091 Usage: $0 [OPTION]... [TAG]...
19093 -h, --help print this help, then exit
19094 -V, --version print version number and configuration settings, then exit
19095 --config print configuration, then exit
19096 -q, --quiet, --silent
19097 do not print progress messages
19098 -d, --debug don't remove temporary files
19099 --recheck update $as_me by reconfiguring in the same conditions
19100 --file=FILE[:TEMPLATE]
19101 instantiate the configuration file FILE
19103 Configuration files:
19106 Report bugs to the package provider."
19109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19110 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19113 configured by $0, generated by GNU Autoconf 2.69,
19114 with options \\"\$ac_cs_config\\"
19116 Copyright (C) 2012 Free Software Foundation, Inc.
19117 This config.status script is free software; the Free Software Foundation
19118 gives unlimited permission to copy, distribute and modify it."
19124 test -n "\$AWK" || AWK=awk
19127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19128 # The default lists apply if the user does not specify any file.
19134 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19135 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19139 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19151 # Handling of the options.
19152 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19154 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
19155 $as_echo "$ac_cs_version"; exit ;;
19156 --config |
--confi |
--conf |
--con |
--co |
--c )
19157 $as_echo "$ac_cs_config"; exit ;;
19158 --debug |
--debu |
--deb |
--de |
--d |
-d )
19160 --file |
--fil |
--fi |
--f )
19163 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19164 '') as_fn_error $?
"missing file argument" ;;
19166 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19167 ac_need_defaults
=false
;;
19168 --he |
--h |
--help |
--hel |
-h )
19169 $as_echo "$ac_cs_usage"; exit ;;
19170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19171 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19174 # This is an error.
19175 -*) as_fn_error $?
"unrecognized option: \`$1'
19176 Try \`$0 --help' for more information." ;;
19178 *) as_fn_append ac_config_targets
" $1"
19179 ac_need_defaults
=false
;;
19185 ac_configure_extra_args
=
19187 if $ac_cs_silent; then
19189 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19194 if \$ac_cs_recheck; then
19195 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19197 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19198 CONFIG_SHELL='$SHELL'
19199 export CONFIG_SHELL
19204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19209 ## Running $as_me. ##
19215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19219 extrasub_build="$extrasub_build"
19220 extrasub_host="$extrasub_host"
19221 extrasub_target="$extrasub_target"
19225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19227 # Handling of arguments.
19228 for ac_config_target
in $ac_config_targets
19230 case $ac_config_target in
19231 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19233 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19238 # If the user did not use the arguments to specify the items to instantiate,
19239 # then the envvar interface is used. Set only those that are not.
19240 # We use the long form for the default assignment because of an extremely
19241 # bizarre bug on SunOS 4.1.3.
19242 if $ac_need_defaults; then
19243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19246 # Have a temporary directory for convenience. Make it in the build tree
19247 # simply because there is no reason against having it here, and in addition,
19248 # creating and moving files from /tmp can sometimes cause problems.
19249 # Hook for its removal unless debugging.
19250 # Note that there is a small window in which the directory will not be cleaned:
19251 # after its creation but before its name has been assigned to `$tmp'.
19255 trap 'exit_status=$?
19256 : "${ac_tmp:=$tmp}"
19257 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19259 trap 'as_fn_exit 1' 1 2 13 15
19261 # Create a (secure) tmp directory for tmp files.
19264 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19268 tmp
=.
/conf$$
-$RANDOM
19269 (umask 077 && mkdir
"$tmp")
19270 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
19273 # Set up the scripts for CONFIG_FILES section.
19274 # No need to generate them if there are no CONFIG_FILES.
19275 # This happens for instance with `./config.status config.h'.
19276 if test -n "$CONFIG_FILES"; then
19278 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
19279 ac_cs_awk_getline
=:
19280 ac_cs_awk_pipe_init
=
19281 ac_cs_awk_read_file
='
19282 while ((getline aline < (F[key])) > 0)
19285 ac_cs_awk_pipe_fini
=
19287 ac_cs_awk_getline
=false
19288 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
19289 ac_cs_awk_read_file
='
19291 print "cat " F[key] " &&"
19292 '$ac_cs_awk_pipe_init
19293 # The final `:' finishes the AND list.
19294 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
19296 ac_cr
=`echo X | tr X '\015'`
19297 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19298 # But we know of no other shell where ac_cr would be empty at this
19299 # point, so we can use a bashism as a fallback.
19300 if test "x$ac_cr" = x
; then
19301 eval ac_cr
=\$
\'\\r
\'
19303 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19304 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19307 ac_cs_awk_cr
=$ac_cr
19310 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19313 # Create commands to substitute file output variables.
19315 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
19316 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
19317 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
19320 } >conf$
$files.sh
&&
19321 . .
/conf$
$files.sh ||
19322 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
19323 rm -f conf$
$files.sh
19326 echo "cat >conf$$subs.awk <<_ACEOF" &&
19327 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19329 } >conf$$subs.sh ||
19330 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19331 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19333 for ac_last_try in false false false false false :; do
19334 . ./conf$$subs.sh ||
19335 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19337 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19338 if test $ac_delim_n = $ac_delim_num; then
19340 elif $ac_last_try; then
19341 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
19343 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19346 rm -f conf$$subs.sh
19348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19349 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
19353 s/^/S["/; s
/!.
*/"]=/
19363 s/\(.\{148\}\)..*/\1/
19365 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19370 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19377 s/\(.\{148\}\)..*/\1/
19379 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19383 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19388 ' <conf$$subs.awk | sed '
19393 ' >>$CONFIG_STATUS || ac_write_fail=1
19394 rm -f conf$$subs.awk
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19397 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
19398 for (key in S) S_is_set[key] = 1
19400 \$ac_cs_awk_pipe_init
19404 nfields = split(line, field, "@
")
19406 len = length(field[1])
19407 for (i = 2; i < nfields; i++) {
19409 keylen = length(key)
19410 if (S_is_set[key]) {
19412 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19413 len += length(value) + length(field[++i])
19418 if (nfields == 3 && !substed) {
19420 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
19421 \$ac_cs_awk_read_file
19427 \$ac_cs_awk_pipe_fini
19430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19431 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19432 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19435 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
19436 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
19439 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19440 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
19441 # trailing colons and then remove the whole line if VPATH becomes empty
19442 # (actually we leave an empty line to preserve line numbers).
19443 if test "x
$srcdir" = x.; then
19444 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19463 fi # test -n "$CONFIG_FILES"
19466 eval set X " :F
$CONFIG_FILES "
19471 :[FHLC]) ac_mode=$ac_tag; continue;;
19473 case $ac_mode$ac_tag in
19475 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19476 :[FH]-) ac_tag=-:-;;
19477 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19494 -) ac_f="$ac_tmp/stdin";;
19495 *) # Look for the file first in the build tree, then in the source tree
19496 # (if the path is not absolute). The absolute path cannot be DOS-style,
19497 # because $ac_f cannot contain `:'.
19501 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19503 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19505 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19506 as_fn_append ac_file_inputs " '$ac_f'"
19509 # Let's still pretend it is `configure' which instantiates (i.e., don't
19510 # use $as_me), people would be surprised to read:
19511 # /* config.h. Generated by config.status. */
19512 configure_input='Generated from '`
19513 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19515 if test x"$ac_file" != x-; then
19516 configure_input="$ac_file.
$configure_input"
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19518 $as_echo "$as_me: creating
$ac_file" >&6;}
19520 # Neutralize special characters interpreted by sed in replacement strings.
19521 case $configure_input in #(
19522 *\&* | *\|* | *\\* )
19523 ac_sed_conf_input=`$as_echo "$configure_input" |
19524 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19525 *) ac_sed_conf_input=$configure_input;;
19529 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
19530 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
19535 ac_dir=`$as_dirname -- "$ac_file" ||
19536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19537 X"$ac_file" : 'X\(//\)[^/]' \| \
19538 X"$ac_file" : 'X\(//\)$' \| \
19539 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19540 $as_echo X"$ac_file" |
19541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19545 /^X\(\/\/\)[^/].*/{
19558 as_dir="$ac_dir"; as_fn_mkdir_p
19562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19564 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19565 # A "..
" for each directory in $ac_dir_suffix.
19566 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19567 case $ac_top_builddir_sub in
19568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19572 ac_abs_top_builddir=$ac_pwd
19573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19574 # for backward compatibility:
19575 ac_top_builddir=$ac_top_build_prefix
19578 .) # We are building in place.
19580 ac_top_srcdir=$ac_top_builddir_sub
19581 ac_abs_top_srcdir=$ac_pwd ;;
19582 [\\/]* | ?:[\\/]* ) # Absolute name.
19583 ac_srcdir=$srcdir$ac_dir_suffix;
19584 ac_top_srcdir=$srcdir
19585 ac_abs_top_srcdir=$srcdir ;;
19586 *) # Relative name.
19587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19588 ac_top_srcdir=$ac_top_build_prefix$srcdir
19589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19601 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19602 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19607 # If the template does not know about datarootdir, expand it.
19608 # FIXME: This hack should be removed a few years after 2.60.
19609 ac_datarootdir_hack=; ac_datarootdir_seen=
19620 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19621 *datarootdir*) ac_datarootdir_seen=yes;;
19622 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19624 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19627 ac_datarootdir_hack='
19628 s&@datadir@&$datadir&g
19629 s&@docdir@&$docdir&g
19630 s&@infodir@&$infodir&g
19631 s&@localedir@&$localedir&g
19632 s&@mandir@&$mandir&g
19633 s&\\\${datarootdir}&$datarootdir&g' ;;
19637 # Neutralize VPATH when `$srcdir' = `.'.
19638 # Shell code in configure.ac might set extrasub.
19639 # FIXME: do we really want to maintain this feature?
19640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19641 ac_sed_extra="$ac_vpsub
19644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19646 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19647 s|@configure_input@|
$ac_sed_conf_input|
;t t
19648 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19649 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19650 s
&@srcdir@
&$ac_srcdir&;t t
19651 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19652 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19653 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19654 s
&@builddir@
&$ac_builddir&;t t
19655 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19656 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19657 s
&@INSTALL@
&$ac_INSTALL&;t t
19658 $ac_datarootdir_hack
19660 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
19661 if $ac_cs_awk_getline; then
19662 $AWK -f "$ac_tmp/subs.
awk"
19664 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
19666 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19669 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19671 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19673 which seems to be undefined. Please make sure it is defined" >&5
19674 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19675 which seems to be undefined. Please make sure it is defined" >&2;}
19677 rm -f "$ac_tmp/stdin"
19679 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19680 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19682 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19690 case $ac_file$ac_mode in
19691 "Makefile":F) sed "$extrasub_build" Makefile |
19692 sed "$extrasub_host" |
19693 sed "$extrasub_target" > mf$$
19694 mv -f mf$$ Makefile ;;
19702 ac_clean_files=$ac_clean_files_save
19704 test $ac_write_fail = 0 ||
19705 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19708 # configure is writing to config.log, and then calls config.status.
19709 # config.status does its own redirection, appending to config.log.
19710 # Unfortunately, on DOS this fails, as config.log is still kept open
19711 # by configure, so config.status won't be able to
write to it
; its
19712 # output is simply discarded. So we exec the FD to /dev/null,
19713 # effectively closing config.log, so it can be properly (re)opened and
19714 # appended to by config.status. When coming back to configure, we
19715 # need to make the FD available again.
19716 if test "$no_create" != yes; then
19718 ac_config_status_args
=
19719 test "$silent" = yes &&
19720 ac_config_status_args
="$ac_config_status_args --quiet"
19722 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19724 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19725 # would make configure fail if this is the last instruction.
19726 $ac_cs_success || as_fn_exit
1
19728 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19730 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}