2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
676 DEBUG_PREFIX_CFLAGS_FOR_TARGET
677 SYSROOT_CFLAGS_FOR_TARGET
679 extra_host_zlib_configure_flags
680 extra_host_libiberty_configure_flags
683 extra_linker_plugin_flags
684 extra_linker_plugin_configure_flags
691 extra_isl_gmp_configure_flags
692 extra_mpc_mpfr_configure_flags
693 extra_mpc_gmp_configure_flags
694 extra_mpfr_configure_flags
711 extra_liboffloadmic_configure_flags
738 TOPLEVEL_CONFIGURE_ARGUMENTS
766 program_transform_name
777 ac_subst_files
='serialization_dependencies
783 enable_option_checking
786 enable_as_accelerator_for
787 enable_offload_targets
790 enable_compressed_debug_sections
792 enable_libquadmath_support
810 with_static_standard_libraries
817 enable_isl_version_check
819 enable_linker_plugin_configure_flags
820 enable_linker_plugin_flags
822 enable_stage1_languages
825 with_target_bdw_gc_include
826 with_target_bdw_gc_lib
827 with_gcc_major_version_only
829 with_debug_prefix_map
832 enable_serial_configure
833 with_build_time_tools
834 enable_maintainer_mode
835 enable_stage1_checking
838 ac_precious_vars
='build_alias
888 # Initialize some variables set by options.
890 ac_init_version
=false
891 ac_unrecognized_opts
=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
902 program_transform_name
=s
,x
,x
,
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir
='${exec_prefix}/bin'
917 sbindir
='${exec_prefix}/sbin'
918 libexecdir
='${exec_prefix}/libexec'
919 datarootdir
='${prefix}/share'
920 datadir
='${datarootdir}'
921 sysconfdir
='${prefix}/etc'
922 sharedstatedir
='${prefix}/com'
923 localstatedir
='${prefix}/var'
924 includedir
='${prefix}/include'
925 oldincludedir
='/usr/include'
926 docdir
='${datarootdir}/doc/${PACKAGE}'
927 infodir
='${datarootdir}/info'
932 libdir
='${exec_prefix}/lib'
933 localedir
='${datarootdir}/locale'
934 mandir
='${datarootdir}/man'
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\
$ac_option
948 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 # Accept the important Cygnus configure options, so we can diagnose typos.
955 case $ac_dashdash$ac_option in
959 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
961 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
964 -build |
--build |
--buil |
--bui |
--bu)
965 ac_prev
=build_alias
;;
966 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
967 build_alias
=$ac_optarg ;;
969 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
970 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
971 ac_prev
=cache_file
;;
972 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
973 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
974 cache_file
=$ac_optarg ;;
977 cache_file
=config.cache
;;
979 -datadir |
--datadir |
--datadi |
--datad)
981 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
982 datadir
=$ac_optarg ;;
984 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
985 |
--dataroo |
--dataro |
--datar)
986 ac_prev
=datarootdir
;;
987 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
988 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
989 datarootdir
=$ac_optarg ;;
991 -disable-* |
--disable-*)
992 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
995 as_fn_error $?
"invalid feature name: $ac_useropt"
996 ac_useropt_orig
=$ac_useropt
997 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
1000 "enable_
$ac_useropt"
1002 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1003 ac_unrecognized_sep
=', ';;
1005 eval enable_
$ac_useropt=no
;;
1007 -docdir |
--docdir |
--docdi |
--doc |
--do)
1009 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1010 docdir
=$ac_optarg ;;
1012 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1014 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1015 dvidir
=$ac_optarg ;;
1017 -enable-* |
--enable-*)
1018 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1021 as_fn_error $?
"invalid feature name: $ac_useropt"
1022 ac_useropt_orig
=$ac_useropt
1023 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "enable_
$ac_useropt"
1028 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1029 ac_unrecognized_sep
=', ';;
1031 eval enable_
$ac_useropt=\
$ac_optarg ;;
1033 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1034 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1035 |
--exec |
--exe |
--ex)
1036 ac_prev
=exec_prefix
;;
1037 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1038 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1039 |
--exec=* |
--exe=* |
--ex=*)
1040 exec_prefix
=$ac_optarg ;;
1042 -gas |
--gas |
--ga |
--g)
1043 # Obsolete; use --with-gas.
1046 -help |
--help |
--hel |
--he |
-h)
1047 ac_init_help
=long
;;
1048 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1049 ac_init_help
=recursive
;;
1050 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1051 ac_init_help
=short
;;
1053 -host |
--host |
--hos |
--ho)
1054 ac_prev
=host_alias
;;
1055 -host=* |
--host=* |
--hos=* |
--ho=*)
1056 host_alias
=$ac_optarg ;;
1058 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1060 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1062 htmldir
=$ac_optarg ;;
1064 -includedir |
--includedir |
--includedi |
--included |
--include \
1065 |
--includ |
--inclu |
--incl |
--inc)
1066 ac_prev
=includedir
;;
1067 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1068 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1069 includedir
=$ac_optarg ;;
1071 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1073 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1074 infodir
=$ac_optarg ;;
1076 -libdir |
--libdir |
--libdi |
--libd)
1078 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1079 libdir
=$ac_optarg ;;
1081 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1082 |
--libexe |
--libex |
--libe)
1083 ac_prev
=libexecdir
;;
1084 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1085 |
--libexe=* |
--libex=* |
--libe=*)
1086 libexecdir
=$ac_optarg ;;
1088 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1089 ac_prev
=localedir
;;
1090 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1091 localedir
=$ac_optarg ;;
1093 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1094 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1095 ac_prev
=localstatedir
;;
1096 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1097 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1098 localstatedir
=$ac_optarg ;;
1100 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1102 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1103 mandir
=$ac_optarg ;;
1105 -nfp |
--nfp |
--nf)
1106 # Obsolete; use --without-fp.
1109 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1110 |
--no-cr |
--no-c |
-n)
1113 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1114 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1117 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1118 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1119 |
--oldin |
--oldi |
--old |
--ol |
--o)
1120 ac_prev
=oldincludedir
;;
1121 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1122 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1123 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1124 oldincludedir
=$ac_optarg ;;
1126 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1128 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1129 prefix
=$ac_optarg ;;
1131 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1132 |
--program-pre |
--program-pr |
--program-p)
1133 ac_prev
=program_prefix
;;
1134 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1135 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1136 program_prefix
=$ac_optarg ;;
1138 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1139 |
--program-suf |
--program-su |
--program-s)
1140 ac_prev
=program_suffix
;;
1141 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1142 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1143 program_suffix
=$ac_optarg ;;
1145 -program-transform-name |
--program-transform-name \
1146 |
--program-transform-nam |
--program-transform-na \
1147 |
--program-transform-n |
--program-transform- \
1148 |
--program-transform |
--program-transfor \
1149 |
--program-transfo |
--program-transf \
1150 |
--program-trans |
--program-tran \
1151 |
--progr-tra |
--program-tr |
--program-t)
1152 ac_prev
=program_transform_name
;;
1153 -program-transform-name=* |
--program-transform-name=* \
1154 |
--program-transform-nam=* |
--program-transform-na=* \
1155 |
--program-transform-n=* |
--program-transform-=* \
1156 |
--program-transform=* |
--program-transfor=* \
1157 |
--program-transfo=* |
--program-transf=* \
1158 |
--program-trans=* |
--program-tran=* \
1159 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1160 program_transform_name
=$ac_optarg ;;
1162 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1164 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1165 pdfdir
=$ac_optarg ;;
1167 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1169 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1172 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1173 |
-silent |
--silent |
--silen |
--sile |
--sil)
1176 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1178 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1180 sbindir
=$ac_optarg ;;
1182 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1183 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1184 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1186 ac_prev
=sharedstatedir
;;
1187 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1188 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1189 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1191 sharedstatedir
=$ac_optarg ;;
1193 -site |
--site |
--sit)
1195 -site=* |
--site=* |
--sit=*)
1198 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1200 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1201 srcdir
=$ac_optarg ;;
1203 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1204 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1205 ac_prev
=sysconfdir
;;
1206 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1207 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1208 sysconfdir
=$ac_optarg ;;
1210 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1211 ac_prev
=target_alias
;;
1212 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1213 target_alias
=$ac_optarg ;;
1215 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1218 -version |
--version |
--versio |
--versi |
--vers |
-V)
1219 ac_init_version
=: ;;
1222 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1225 as_fn_error $?
"invalid package name: $ac_useropt"
1226 ac_useropt_orig
=$ac_useropt
1227 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228 case $ac_user_opts in
1232 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1233 ac_unrecognized_sep
=', ';;
1235 eval with_
$ac_useropt=\
$ac_optarg ;;
1237 -without-* |
--without-*)
1238 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1239 # Reject names that are not valid shell variable names.
1240 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1241 as_fn_error $?
"invalid package name: $ac_useropt"
1242 ac_useropt_orig
=$ac_useropt
1243 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244 case $ac_user_opts in
1248 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1249 ac_unrecognized_sep
=', ';;
1251 eval with_
$ac_useropt=no
;;
1254 # Obsolete; use --with-x.
1257 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1258 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1259 ac_prev
=x_includes
;;
1260 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1261 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1262 x_includes
=$ac_optarg ;;
1264 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1265 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1266 ac_prev
=x_libraries
;;
1267 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1268 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1269 x_libraries
=$ac_optarg ;;
1271 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1272 Try \`$0 --help' for more information"
1276 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1277 # Reject names that are not valid shell variable names.
1278 case $ac_envvar in #(
1279 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1280 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1282 eval $ac_envvar=\
$ac_optarg
1283 export $ac_envvar ;;
1286 # FIXME: should be removed in autoconf 3.0.
1287 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1288 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1289 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1290 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1296 if test -n "$ac_prev"; then
1297 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1298 as_fn_error $?
"missing argument to $ac_option"
1301 if test -n "$ac_unrecognized_opts"; then
1302 case $enable_option_checking in
1304 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1305 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309 # Check all directory arguments for consistency.
1310 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1311 datadir sysconfdir sharedstatedir localstatedir includedir \
1312 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1313 libdir localedir mandir
1315 eval ac_val
=\$
$ac_var
1316 # Remove trailing slashes.
1319 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1320 eval $ac_var=\
$ac_val;;
1322 # Be sure to have absolute directory names.
1324 [\\/$
]* | ?
:[\\/]* ) continue;;
1325 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1327 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1330 # There might be people who depend on the old broken behavior: `$host'
1331 # used to hold the argument of --host etc.
1332 # FIXME: To remove some day.
1335 target
=$target_alias
1337 # FIXME: To remove some day.
1338 if test "x$host_alias" != x
; then
1339 if test "x$build_alias" = x
; then
1340 cross_compiling
=maybe
1341 elif test "x$build_alias" != "x$host_alias"; then
1347 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1349 test "$silent" = yes && exec 6>/dev
/null
1352 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1353 ac_ls_di
=`ls -di .` &&
1354 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1355 as_fn_error $?
"working directory cannot be determined"
1356 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357 as_fn_error $?
"pwd does not report name of working directory"
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted
=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir
=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$as_myself" : 'X\(//\)[^/]' \| \
1367 X"$as_myself" : 'X\(//\)$' \| \
1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1392 ac_srcdir_defaulted
=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1396 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1398 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1402 # When building in place, set srcdir=.
1403 if test "$ac_abs_confdir" = "$ac_pwd"; then
1406 # Remove unnecessary trailing slashes from srcdir.
1407 # Double slashes in file names in object file debugging info
1408 # mess up M-x gdb in Emacs.
1410 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 as_fn_error $?
"path to source, $srcdir, contains spaces"
1417 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1419 for ac_var
in $ac_precious_vars; do
1420 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1421 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1422 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1423 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1427 # Report the --help message.
1429 if test "$ac_init_help" = "long"; then
1430 # Omit some internal or obsolete options to make the list less imposing.
1431 # This message is too long to be a string in the A/UX 3.1 sh.
1433 \`configure' configures this package to adapt to many kinds of systems.
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1438 VAR=VALUE. See below for descriptions of some of the useful variables.
1440 Defaults for the options are specified in brackets.
1443 -h, --help display this help and exit
1444 --help=short display options specific to this package
1445 --help=recursive display the short help of all the included packages
1446 -V, --version display version information and exit
1447 -q, --quiet, --silent do not print \`checking ...' messages
1448 --cache-file=FILE cache test results in FILE [disabled]
1449 -C, --config-cache alias for \`--cache-file=config.cache'
1450 -n, --no-create do not create output files
1451 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1453 Installation directories:
1454 --prefix=PREFIX install architecture-independent files in PREFIX
1455 [$ac_default_prefix]
1456 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1462 for instance \`--prefix=\$HOME'.
1464 For better control, use the options below.
1466 Fine tuning of the installation directories:
1467 --bindir=DIR user executables [EPREFIX/bin]
1468 --sbindir=DIR system admin executables [EPREFIX/sbin]
1469 --libexecdir=DIR program executables [EPREFIX/libexec]
1470 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1471 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1472 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1473 --libdir=DIR object code libraries [EPREFIX/lib]
1474 --includedir=DIR C header files [PREFIX/include]
1475 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1476 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1477 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1478 --infodir=DIR info documentation [DATAROOTDIR/info]
1479 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1480 --mandir=DIR man documentation [DATAROOTDIR/man]
1481 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1482 --htmldir=DIR html documentation [DOCDIR]
1483 --dvidir=DIR dvi documentation [DOCDIR]
1484 --pdfdir=DIR pdf documentation [DOCDIR]
1485 --psdir=DIR ps documentation [DOCDIR]
1491 --program-prefix=PREFIX prepend PREFIX to installed program names
1492 --program-suffix=SUFFIX append SUFFIX to installed program names
1493 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1496 --build=BUILD configure
for building on BUILD
[guessed
]
1497 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1498 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1502 if test -n "$ac_init_help"; then
1507 --disable-option-checking ignore unrecognized
--enable/--with options
1508 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1509 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1510 --enable-as-accelerator-for=ARG
1511 build as offload target compiler. Specify offload
1513 --enable-offload-targets=LIST
1514 enable offloading to devices from comma-separated
1515 LIST of TARGET
[=DIR
]. Use optional path to
find
1516 offload target compiler during the build
1517 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1518 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1519 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1520 Enable compressed debug sections
for gas
, gold or ld
1522 --disable-libquadmath do not build libquadmath directory
1523 --disable-libquadmath-support
1524 disable libquadmath support
for Fortran
1525 --enable-libada build libada directory
1526 --enable-libssp build libssp directory
1527 --disable-libstdcxx do not build libstdc
++-v3 directory
1528 --enable-liboffloadmic=ARG
1529 build liboffloadmic
[ARG
={no
,host,target
}]
1530 --enable-bootstrap enable bootstrapping
[yes if native build
]
1531 --disable-isl-version-check
1532 disable check
for isl version
1533 --enable-lto enable link
time optimization support
1534 --enable-linker-plugin-configure-flags=FLAGS
1535 additional flags
for configuring linker plugins
1537 --enable-linker-plugin-flags=FLAGS
1538 additional flags
for configuring and building linker
1540 --enable-host-shared build
host code as shared libraries
1541 --enable-stage1-languages[=all
]
1542 choose additional languages to build during stage1.
1543 Mostly useful
for compiler development
1544 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1546 --enable-vtable-verify Enable vtable verification feature
1547 --enable-serial-[{host,target,build}-]configure
1548 force sequential configuration of sub-packages for
1549 the host, target or build machine, or all
1551 --enable-maintainer-mode
1552 enable make rules and dependencies not useful (and
1553 sometimes confusing) to the casual installer
1554 --enable-stage1-checking[=all]
1555 choose additional checking for stage1 of the
1557 --enable-werror enable -Werror in bootstrap stage2 and later
1560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1562 --with-build-libsubdir=DIR Directory where to find libraries for build system
1563 --with-system-zlib use installed libz
1564 --with-mpc=PATH specify prefix directory for installed MPC package.
1565 Equivalent to --with-mpc-include=PATH/include plus
1566 --with-mpc-lib=PATH/lib
1567 --with-mpc-include=PATH specify directory for installed MPC include files
1568 --with-mpc-lib=PATH specify directory for the installed MPC library
1569 --with-mpfr-dir=PATH this option has been REMOVED
1570 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1571 Equivalent to --with-mpfr-include=PATH/include plus
1572 --with-mpfr-lib=PATH/lib
1573 --with-mpfr-include=PATH
1574 specify directory for installed MPFR include files
1575 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1576 --with-gmp-dir=PATH this option has been REMOVED
1577 --with-gmp=PATH specify prefix directory for the installed GMP
1578 package. Equivalent to
1579 --with-gmp-include=PATH/include plus
1580 --with-gmp-lib=PATH/lib
1581 --with-gmp-include=PATH specify directory for installed GMP include files
1582 --with-gmp-lib=PATH specify directory for the installed GMP library
1583 --with-stage1-libs=LIBS libraries for stage1
1584 --with-static-standard-libraries
1585 use -static-libstdc++ and -static-libgcc
1587 --with-stage1-ldflags=FLAGS
1588 linker flags for stage1
1589 --with-boot-libs=LIBS libraries for stage2 and later
1590 --with-boot-ldflags=FLAGS
1591 linker flags for stage2 and later
1592 --with-isl=PATH Specify prefix directory for the installed isl
1593 package. Equivalent to
1594 --with-isl-include=PATH/include plus
1595 --with-isl-lib=PATH/lib
1596 --with-isl-include=PATH Specify directory for installed isl include files
1597 --with-isl-lib=PATH Specify the directory for the installed isl library
1598 --with-target-bdw-gc=PATHLIST
1599 specify prefix directory for installed bdw-gc
1600 package. Equivalent to
1601 --with-target-bdw-gc-include=PATH/include plus
1602 --with-target-bdw-gc-lib=PATH/lib
1603 --with-target-bdw-gc-include=PATHLIST
1604 specify directories for installed bdw-gc include
1606 --with-target-bdw-gc-lib=PATHLIST
1607 specify directories for installed bdw-gc library
1608 --with-gcc-major-version-only
1609 use only GCC major number in filesystem paths
1610 --with-build-sysroot=SYSROOT
1611 use sysroot as the system root during the build
1612 --with-debug-prefix-map='A
=B C
=D ...
'
1613 map A to B, C to D ... in debug information
1614 --with-build-config='NAME NAME2...
'
1615 use config/NAME.mk build configuration
1616 --with-build-time-tools=PATH
1617 use given path to find target tools during the build
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1630 additional configure arguments for build directories
1632 additional configure arguments for host directories
1634 additional configure arguments for target directories
1637 DLLTOOL DLLTOOL for the host
1639 LIPO LIPO for the host
1641 RANLIB RANLIB for the host
1642 STRIP STRIP for the host
1643 WINDRES WINDRES for the host
1644 WINDMC WINDMC for the host
1645 OBJCOPY OBJCOPY for the host
1646 OBJDUMP OBJDUMP for the host
1647 OTOOL OTOOL for the host
1648 READELF READELF for the host
1656 GFORTRAN for the target
1666 DLLTOOL for the target
1674 OBJCOPY for the target
1676 OBJDUMP for the target
1678 OTOOL for the target
1680 RANLIB for the target
1682 READELF for the target
1684 STRIP for the target
1686 WINDRES for the target
1688 WINDMC for the target
1690 Use these variables to override the choices made by `configure' or to
help
1691 it to
find libraries and programs with nonstandard names
/locations.
1693 Report bugs to the package provider.
1698 if test "$ac_init_help" = "recursive"; then
1699 # If there are subdirs, report their specific --help.
1700 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1701 test -d "$ac_dir" ||
1702 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1707 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1709 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1710 # A ".." for each directory in $ac_dir_suffix.
1711 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1712 case $ac_top_builddir_sub in
1713 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1714 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1717 ac_abs_top_builddir
=$ac_pwd
1718 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1719 # for backward compatibility:
1720 ac_top_builddir
=$ac_top_build_prefix
1723 .
) # We are building in place.
1725 ac_top_srcdir
=$ac_top_builddir_sub
1726 ac_abs_top_srcdir
=$ac_pwd ;;
1727 [\\/]* | ?
:[\\/]* ) # Absolute name.
1728 ac_srcdir
=$srcdir$ac_dir_suffix;
1729 ac_top_srcdir
=$srcdir
1730 ac_abs_top_srcdir
=$srcdir ;;
1732 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1733 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1734 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1736 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1738 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1739 # Check for guested configure.
1740 if test -f "$ac_srcdir/configure.gnu"; then
1742 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1743 elif test -f "$ac_srcdir/configure"; then
1745 $SHELL "$ac_srcdir/configure" --help=recursive
1747 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1749 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1753 test -n "$ac_init_help" && exit $ac_status
1754 if $ac_init_version; then
1757 generated by GNU Autoconf
2.69
1759 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1760 This configure
script is free software
; the Free Software Foundation
1761 gives unlimited permission to copy
, distribute and modify it.
1766 ## ------------------------ ##
1767 ## Autoconf initialization. ##
1768 ## ------------------------ ##
1770 # ac_fn_c_try_compile LINENO
1771 # --------------------------
1772 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1773 ac_fn_c_try_compile
()
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 rm -f conftest.
$ac_objext
1777 if { { ac_try
="$ac_compile"
1779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1780 *) ac_try_echo=$ac_try;;
1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_compile") 2>conftest.err
1786 if test -s conftest.err; then
1787 grep -v '^ *+' conftest.err >conftest.er1
1788 cat conftest.er1 >&5
1789 mv -f conftest.er1 conftest.err
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && {
1793 test -z "$ac_c_werror_flag" ||
1794 test ! -s conftest.err
1795 } && test -s conftest.$ac_objext; then :
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 as_fn_set_status $ac_retval
1806 } # ac_fn_c_try_compile
1808 # ac_fn_cxx_try_compile LINENO
1809 # ----------------------------
1810 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1811 ac_fn_cxx_try_compile ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 rm -f conftest.$ac_objext
1815 if { { ac_try="$ac_compile"
1817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1818 *) ac_try_echo
=$ac_try;;
1820 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_compile") 2>conftest.err
1824 if test -s conftest.err
; then
1825 grep -v '^ *+' conftest.err
>conftest.er1
1826 cat conftest.er1
>&5
1827 mv -f conftest.er1 conftest.err
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && {
1831 test -z "$ac_cxx_werror_flag" ||
1832 test ! -s conftest.err
1833 } && test -s conftest.
$ac_objext; then :
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.
$ac_ext >&5
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status
$ac_retval
1844 } # ac_fn_cxx_try_compile
1846 # ac_fn_cxx_try_link LINENO
1847 # -------------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded.
1849 ac_fn_cxx_try_link
()
1851 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1852 rm -f conftest.
$ac_objext conftest
$ac_exeext
1853 if { { ac_try
="$ac_link"
1855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>conftest.err
1862 if test -s conftest.err; then
1863 grep -v '^ *+' conftest.err >conftest.er1
1864 cat conftest.er1 >&5
1865 mv -f conftest.er1 conftest.err
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && {
1869 test -z "$ac_cxx_werror_flag" ||
1870 test ! -s conftest.err
1871 } && test -s conftest$ac_exeext && {
1872 test "$cross_compiling" = yes ||
1873 test -x conftest$ac_exeext
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1882 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1883 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1884 # interfere with the next link command; also delete a directory that is
1885 # left behind by Apple's compiler. We do this before executing the actions.
1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_status $ac_retval
1890 } # ac_fn_cxx_try_link
1892 # ac_fn_c_try_link LINENO
1893 # -----------------------
1894 # Try to link conftest.$ac_ext, and return whether this succeeded.
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 rm -f conftest.$ac_objext conftest$ac_exeext
1899 if { { ac_try="$ac_link"
1901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1902 *) ac_try_echo
=$ac_try;;
1904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_link") 2>conftest.err
1908 if test -s conftest.err
; then
1909 grep -v '^ *+' conftest.err
>conftest.er1
1910 cat conftest.er1
>&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } && {
1915 test -z "$ac_c_werror_flag" ||
1916 test ! -s conftest.err
1917 } && test -s conftest
$ac_exeext && {
1918 test "$cross_compiling" = yes ||
1919 test -x conftest
$ac_exeext
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.
$ac_ext >&5
1928 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1929 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1930 # interfere with the next link command; also delete a directory that is
1931 # left behind by Apple's compiler. We do this before executing the actions.
1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934 as_fn_set_status
$ac_retval
1936 } # ac_fn_c_try_link
1937 cat >config.log
<<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1941 It was created by $as_me, which was
1942 generated by GNU Autoconf 2.69. Invocation command line was
1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1961 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1963 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1964 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1966 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1967 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1968 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1969 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir
=.
1978 $as_echo "PATH: $as_dir"
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
2002 ac_must_keep_next
=false
2008 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2009 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2010 |
-silent |
--silent |
--silen |
--sile |
--sil)
2013 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2016 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2018 as_fn_append ac_configure_args1
" '$ac_arg'"
2019 if test $ac_must_keep_next = true
; then
2020 ac_must_keep_next
=false
# Got value, back to normal.
2023 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2024 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2025 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2026 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2027 case "$ac_configure_args0 " in
2028 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2031 -* ) ac_must_keep_next
=true
;;
2034 as_fn_append ac_configure_args
" '$ac_arg'"
2039 { ac_configure_args0
=; unset ac_configure_args0
;}
2040 { ac_configure_args1
=; unset ac_configure_args1
;}
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log. We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048 # Save into config.log some information that might help in debugging.
2052 $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2056 # The following way of writing the cache mishandles newlines in values,
2058 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2059 eval ac_val=\$$ac_var
2063 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2067 _ | IFS | as_nl) ;; #(
2068 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069 *) { eval $ac_var=; unset $ac_var;} ;;
2074 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2075 *${as_nl}ac_space=\ *)
2077 "s/'\''/'\''\\\\'\'''\''/g;
2078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088 $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2103 $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2107 for ac_var
in $ac_subst_files
2109 eval ac_val
=\$
$ac_var
2111 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2113 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -s confdefs.h; then
2119 $as_echo "## ----------- ##
2126 test "$ac_signal" != 0 &&
2127 $as_echo "$as_me: caught signal $ac_signal"
2128 $as_echo "$as_me: exit $exit_status"
2130 rm -f core *.core core.conftest.* &&
2131 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2134 for ac_signal
in 1 2 13 15; do
2135 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest
* confdefs.h
2142 $as_echo "/* confdefs.h */" > confdefs.h
2144 # Predefined preprocessor variables.
2146 cat >>confdefs.h
<<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2150 cat >>confdefs.h
<<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2154 cat >>confdefs.h
<<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2158 cat >>confdefs.h
<<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2162 cat >>confdefs.h
<<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2166 cat >>confdefs.h
<<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2175 if test -n "$CONFIG_SITE"; then
2176 # We do not want a PATH search for config.site.
2177 case $CONFIG_SITE in #((
2178 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2179 */*) ac_site_file1
=$CONFIG_SITE;;
2180 *) ac_site_file1
=.
/$CONFIG_SITE;;
2182 elif test "x$prefix" != xNONE
; then
2183 ac_site_file1
=$prefix/share
/config.site
2184 ac_site_file2
=$prefix/etc
/config.site
2186 ac_site_file1
=$ac_default_prefix/share
/config.site
2187 ac_site_file2
=$ac_default_prefix/etc
/config.site
2189 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2191 test "x$ac_site_file" = xNONE
&& continue
2192 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195 sed 's/^/| /' "$ac_site_file" >&5
2197 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $?
"failed to load site script $ac_site_file
2200 See \`config.log' for more details" "$LINENO" 5; }
2204 if test -r "$cache_file"; then
2205 # Some versions of bash will fail to source /dev/null (special files
2206 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2207 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2211 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2212 *) .
"./$cache_file";;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2221 # Check that the precious variables saved in the cache have kept the same
2223 ac_cache_corrupted
=false
2224 for ac_var
in $ac_precious_vars; do
2225 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2226 eval ac_new_set
=\
$ac_env_${ac_var}_set
2227 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2228 eval ac_new_val
=\
$ac_env_${ac_var}_value
2229 case $ac_old_set,$ac_new_set in
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2232 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2233 ac_cache_corrupted
=: ;;
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2236 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2237 ac_cache_corrupted
=: ;;
2240 if test "x$ac_old_val" != "x$ac_new_val"; then
2241 # differences in whitespace do not lead to failure.
2242 ac_old_val_w
=`echo x $ac_old_val`
2243 ac_new_val_w
=`echo x $ac_new_val`
2244 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2247 ac_cache_corrupted
=:
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2251 eval $ac_var=\
$ac_old_val
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2254 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2256 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2259 # Pass precious variables to config.status.
2260 if test "$ac_new_set" = set; then
2262 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2263 *) ac_arg
=$ac_var=$ac_new_val ;;
2265 case " $ac_configure_args " in
2266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2267 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2271 if $ac_cache_corrupted; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2276 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2278 ## -------------------- ##
2279 ## Main body of script. ##
2280 ## -------------------- ##
2283 ac_cpp
='$CPP $CPPFLAGS'
2284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2296 # if PWD already has a value, it is probably wrong.
2297 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2299 # Export original configure arguments for use by sub-configures.
2300 # Quote arguments with shell meta charatcers.
2301 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2302 set -- "$progname" "$@"
2306 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2307 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2308 # if the argument is of the form -foo=baz, quote the baz part only
2309 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2312 # Add the quoted argument to the list.
2313 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2315 if test "$silent" = yes; then
2316 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2318 # Remove the initial space we just introduced and, as these will be
2319 # expanded by make, quote '$'.
2320 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2323 # Find the build, host, and target systems.
2325 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2326 if test -f "$ac_dir/install-sh"; then
2328 ac_install_sh
="$ac_aux_dir/install-sh -c"
2330 elif test -f "$ac_dir/install.sh"; then
2332 ac_install_sh
="$ac_aux_dir/install.sh -c"
2334 elif test -f "$ac_dir/shtool"; then
2336 ac_install_sh
="$ac_aux_dir/shtool install -c"
2340 if test -z "$ac_aux_dir"; then
2341 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2344 # These three variables are undocumented and unsupported,
2345 # and are intended to be withdrawn in a future Autoconf release.
2346 # They can cause serious problems if a builder's source tree is in a directory
2347 # whose full name contains unusual characters.
2348 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2349 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2350 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2353 # Make sure we can run config.sub.
2354 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2355 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2358 $as_echo_n "checking build system type... " >&6; }
2359 if ${ac_cv_build+:} false
; then :
2360 $as_echo_n "(cached) " >&6
2362 ac_build_alias
=$build_alias
2363 test "x$ac_build_alias" = x
&&
2364 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2365 test "x$ac_build_alias" = x
&&
2366 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2367 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2368 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2372 $as_echo "$ac_cv_build" >&6; }
2373 case $ac_cv_build in
2375 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2378 ac_save_IFS
=$IFS; IFS
='-'
2384 # Remember, the first character of IFS is used to create $*,
2385 # except with old shells:
2388 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2391 case ${build_alias} in
2392 "") build_noncanonical
=${build} ;;
2393 *) build_noncanonical
=${build_alias} ;;
2398 case ${host_alias} in
2399 "") host_noncanonical
=${build_noncanonical} ;;
2400 *) host_noncanonical
=${host_alias} ;;
2405 case ${target_alias} in
2406 "") target_noncanonical
=${host_noncanonical} ;;
2407 *) target_noncanonical
=${target_alias} ;;
2413 test "$host_noncanonical" = "$target_noncanonical" &&
2414 test "$program_prefix$program_suffix$program_transform_name" = \
2416 program_transform_name
=s
,y
,y
,
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2419 $as_echo_n "checking host system type... " >&6; }
2420 if ${ac_cv_host+:} false
; then :
2421 $as_echo_n "(cached) " >&6
2423 if test "x$host_alias" = x
; then
2424 ac_cv_host
=$ac_cv_build
2426 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2427 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2432 $as_echo "$ac_cv_host" >&6; }
2435 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2438 ac_save_IFS
=$IFS; IFS
='-'
2444 # Remember, the first character of IFS is used to create $*,
2445 # except with old shells:
2448 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2452 $as_echo_n "checking target system type... " >&6; }
2453 if ${ac_cv_target+:} false
; then :
2454 $as_echo_n "(cached) " >&6
2456 if test "x$target_alias" = x
; then
2457 ac_cv_target
=$ac_cv_host
2459 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2460 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2465 $as_echo "$ac_cv_target" >&6; }
2466 case $ac_cv_target in
2468 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2470 target
=$ac_cv_target
2471 ac_save_IFS
=$IFS; IFS
='-'
2477 # Remember, the first character of IFS is used to create $*,
2478 # except with old shells:
2481 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2484 # The aliases save the names the user supplied, while $host etc.
2485 # will get canonicalized.
2486 test -n "$target_alias" &&
2487 test "$program_prefix$program_suffix$program_transform_name" = \
2489 program_prefix
=${target_alias}-
2491 test "$program_prefix" != NONE
&&
2492 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2493 # Use a double $ so make ignores it.
2494 test "$program_suffix" != NONE
&&
2495 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2496 # Double any \ or $.
2497 # By default was `s,x,x', remove it if useless.
2498 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2499 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2503 # Get 'install' or 'install-sh' and its variants.
2504 # Find a good install program. We prefer a C program (faster),
2505 # so one script is as good as another. But avoid the broken or
2506 # incompatible versions:
2507 # SysV /etc/install, /usr/sbin/install
2508 # SunOS /usr/etc/install
2509 # IRIX /sbin/install
2511 # AmigaOS /C/install, which installs bootblocks on floppy discs
2512 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2513 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2514 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2515 # OS/2's system install, which has a completely different semantic
2516 # ./install, which can be erroneously created by make from ./install.sh.
2517 # Reject install programs that cannot install multiple files.
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2519 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2520 if test -z "$INSTALL"; then
2521 if ${ac_cv_path_install+:} false
; then :
2522 $as_echo_n "(cached) " >&6
2524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir
=.
2529 # Account for people who put trailing slashes in PATH elements.
2530 case $as_dir/ in #((
2531 .
/ | .
// |
/[cC
]/* | \
2532 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2533 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2536 # OSF1 and SCO ODT 3.0 have their own names for install.
2537 # Don't use installbsd from OSF since it installs stuff as root
2539 for ac_prog
in ginstall scoinst
install; do
2540 for ac_exec_ext
in '' $ac_executable_extensions; do
2541 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2542 if test $ac_prog = install &&
2543 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2544 # AIX install. It has an incompatible calling convention.
2546 elif test $ac_prog = install &&
2547 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2548 # program-specific install script used by HP pwplus--don't use.
2551 rm -rf conftest.one conftest.two conftest.dir
2552 echo one
> conftest.one
2553 echo two
> conftest.two
2555 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2556 test -s conftest.one
&& test -s conftest.two
&&
2557 test -s conftest.dir
/conftest.one
&&
2558 test -s conftest.dir
/conftest.two
2560 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2573 rm -rf conftest.one conftest.two conftest.dir
2576 if test "${ac_cv_path_install+set}" = set; then
2577 INSTALL
=$ac_cv_path_install
2579 # As a last resort, use the slow shell script. Don't cache a
2580 # value for INSTALL within a source directory, because that will
2581 # break other packages using the cache if that directory is
2582 # removed, or if the value is a relative name.
2583 INSTALL
=$ac_install_sh
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2587 $as_echo "$INSTALL" >&6; }
2589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2590 # It thinks the first close brace ends the variable substitution.
2591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2595 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2598 $as_echo_n "checking whether ln works... " >&6; }
2599 if ${acx_cv_prog_LN+:} false
; then :
2600 $as_echo_n "(cached) " >&6
2602 rm -f conftestdata_t
2603 echo >conftestdata_f
2604 if ln conftestdata_f conftestdata_t
2>/dev
/null
2610 rm -f conftestdata_f conftestdata_t
2613 if test $acx_cv_prog_LN = no
; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2616 $as_echo "no, using $LN" >&6; }
2618 LN
="$acx_cv_prog_LN"
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2620 $as_echo "yes" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2624 $as_echo_n "checking whether ln -s works... " >&6; }
2626 if test "$LN_S" = "ln -s"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2628 $as_echo "yes" >&6; }
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2631 $as_echo "no, using $LN_S" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2635 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2636 if ${ac_cv_path_SED+:} false
; then :
2637 $as_echo_n "(cached) " >&6
2639 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2640 for ac_i
in 1 2 3 4 5 6 7; do
2641 ac_script
="$ac_script$as_nl$ac_script"
2643 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2644 { ac_script
=; unset ac_script
;}
2645 if test -z "$SED"; then
2646 ac_path_SED_found
=false
2647 # Loop through the user's path and test for each of PROGNAME-LIST
2648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir
=.
2653 for ac_prog
in sed gsed
; do
2654 for ac_exec_ext
in '' $ac_executable_extensions; do
2655 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2656 as_fn_executable_p
"$ac_path_SED" ||
continue
2657 # Check for GNU ac_path_SED and select it if it is found.
2658 # Check for GNU $ac_path_SED
2659 case `"$ac_path_SED" --version 2>&1` in
2661 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2664 $as_echo_n 0123456789 >"conftest.in"
2667 cat "conftest.in" "conftest.in" >"conftest.tmp"
2668 mv "conftest.tmp" "conftest.in"
2669 cp "conftest.in" "conftest.nl"
2670 $as_echo '' >> "conftest.nl"
2671 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2672 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2673 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2674 if test $ac_count -gt ${ac_path_SED_max-0}; then
2675 # Best one so far, save it but keep looking for a better one
2676 ac_cv_path_SED
="$ac_path_SED"
2677 ac_path_SED_max
=$ac_count
2679 # 10*(2^10) chars as input seems more than enough
2680 test $ac_count -gt 10 && break
2682 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2685 $ac_path_SED_found && break 3
2690 if test -z "$ac_cv_path_SED"; then
2691 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2699 $as_echo "$ac_cv_path_SED" >&6; }
2700 SED
="$ac_cv_path_SED"
2703 for ac_prog
in gawk mawk nawk
awk
2705 # Extract the first word of "$ac_prog", so it can be a program name with args.
2706 set dummy
$ac_prog; ac_word
=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_AWK+:} false
; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$AWK"; then
2713 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_AWK
="$ac_prog"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$AWK"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2735 $as_echo "$AWK" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$AWK" && break
2746 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2748 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2750 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2751 INSTALL
="${srcpwd}/install-sh -c"
2754 # Set srcdir to "." if that's what it is.
2755 # This is important for multilib support.
2757 if test "${pwd}" = "${srcpwd}" ; then
2765 ### To add a new directory to the tree, first choose whether it is a target
2766 ### or a host dependent tool. Then put it into the appropriate list
2767 ### (library or tools, host or target), doing a dependency sort.
2769 # Subdirs will be configured in the order listed in build_configdirs,
2770 # configdirs, or target_configdirs; see the serialization section below.
2772 # Dependency sorting is only needed when *configuration* must be done in
2773 # a particular order. In all cases a dependency should be specified in
2774 # the Makefile, whether or not it's implicitly specified here.
2776 # Double entries in build_configdirs, configdirs, or target_configdirs may
2777 # cause circular dependencies and break everything horribly.
2779 # these library is used by various programs built for the build
2782 build_libs
="build-libiberty build-libcpp"
2784 # these tools are built for the build environment
2785 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2787 # these libraries are used by various programs built for the host environment
2789 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2791 # these tools are built for the host environment
2792 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2793 # know that we are building the simulator.
2794 # binutils, gas and ld appear in that order because it makes sense to run
2795 # "make check" in that particular order.
2796 # If --enable-gold is used, "gold" may replace "ld".
2797 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2799 # these libraries are built for the target environment, and are built after
2800 # the host libraries and the host tools (which may be a cross compiler)
2801 # Note that libiberty is not a target library.
2802 target_libraries
="target-libgcc \
2803 target-libbacktrace \
2807 target-liboffloadmic \
2808 target-libhsail-rt \
2811 target-libstdc++-v3 \
2812 target-libsanitizer \
2815 target-libquadmath \
2816 target-libgfortran \
2824 # these tools are built using the target libraries, and are intended to
2825 # run only in the target environment
2827 # note: any program that *uses* libraries that are in the "target_libraries"
2828 # list belongs in this list.
2830 target_tools
="target-rda"
2832 ################################################################################
2834 ## All tools belong in one of the four categories, and are assigned above
2835 ## We assign ${configdirs} this way to remove all embedded newlines. This
2836 ## is important because configure will choke if they ever get through.
2837 ## ${configdirs} is directories we build using the host tools.
2838 ## ${target_configdirs} is directories we build using the target tools.
2839 configdirs
=`echo ${host_libs} ${host_tools}`
2840 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2841 build_configdirs
=`echo ${build_libs} ${build_tools}`
2845 ################################################################################
2847 srcname
="gnu development package"
2849 # This gets set non-empty for some net releases of packages.
2852 # Define is_cross_compiler to save on calls to 'test'.
2854 if test x
"${host}" = x
"${target}" ; then
2855 is_cross_compiler
=no
2857 is_cross_compiler
=yes
2860 # Find the build and target subdir names.
2862 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2863 # have matching libraries, they should use host libraries: Makefile.tpl
2864 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2865 # However, they still use the build modules, because the corresponding
2866 # host modules (e.g. bison) are only built for the host when bootstrap
2868 # - build_subdir is where we find build modules, and never changes.
2869 # - build_libsubdir is where we find build libraries, and can be overridden.
2871 # Prefix 'build-' so this never conflicts with target_subdir.
2872 build_subdir
="build-${build_noncanonical}"
2874 # Check whether --with-build-libsubdir was given.
2875 if test "${with_build_libsubdir+set}" = set; then :
2876 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2878 build_libsubdir
="$build_subdir"
2881 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2882 if ( test $srcdir = .
&& test -d gcc
) \
2883 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2884 host_subdir
="host-${host_noncanonical}"
2889 target_subdir
=${target_noncanonical}
2891 # Be sure to cover against remnants of an in-tree build.
2892 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2893 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2894 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2897 # Skipdirs are removed silently.
2899 # Noconfigdirs are removed loudly.
2903 # Make sure we don't let GNU ld be added if we didn't want it.
2904 if test x
$with_gnu_ld = xno
; then
2906 noconfigdirs
="$noconfigdirs ld gold"
2910 # Make sure we don't let GNU as be added if we didn't want it.
2911 if test x
$with_gnu_as = xno
; then
2913 noconfigdirs
="$noconfigdirs gas"
2918 # Check whether --with-system-zlib was given.
2919 if test "${with_system_zlib+set}" = set; then :
2920 withval
=$with_system_zlib;
2923 # Make sure we don't let ZLIB be added if we didn't want it.
2924 if test x
$with_system_zlib = xyes
; then
2925 use_included_zlib
=no
2926 noconfigdirs
="$noconfigdirs zlib"
2929 # some tools are so dependent upon X11 that if we're not building with X,
2930 # it's not even worth trying to configure, much less build, that tool.
2933 yes |
"") ;; # the default value for this tree is that X11 is available
2935 skipdirs
="${skipdirs} tk itcl libgui"
2936 # We won't be able to build gdbtk without X.
2939 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2942 # Some are only suitable for cross toolchains.
2943 # Remove these if host=target.
2944 cross_only
="target-libgloss target-newlib target-opcodes"
2946 case $is_cross_compiler in
2947 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2950 # If both --with-headers and --with-libs are specified, default to
2952 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2953 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2954 if test x
"${with_newlib}" = x
; then
2959 # Recognize --with-newlib/--without-newlib.
2960 case ${with_newlib} in
2961 no
) skipdirs
="${skipdirs} target-newlib" ;;
2962 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2965 # Check whether --enable-as-accelerator-for was given.
2966 if test "${enable_as_accelerator_for+set}" = set; then :
2967 enableval
=$enable_as_accelerator_for;
2971 # Check whether --enable-offload-targets was given.
2972 if test "${enable_offload_targets+set}" = set; then :
2973 enableval
=$enable_offload_targets;
2974 if test x
"$enable_offload_targets" = x
; then
2975 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2979 enable_offload_targets
=
2983 # Handle --enable-gold, --enable-ld.
2984 # --disable-gold [--enable-ld]
2985 # Build only ld. Default option.
2986 # --enable-gold [--enable-ld]
2987 # Build both gold and ld. Install gold as "ld.gold", install ld
2988 # as "ld.bfd" and "ld".
2989 # --enable-gold=default [--enable-ld]
2990 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2991 # install ld as "ld.bfd".
2992 # --enable-gold[=default] --disable-ld
2993 # Build only gold, which is then installed as both "ld.gold" and "ld".
2994 # --enable-gold --enable-ld=default
2995 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2997 # In other words, ld is default
2998 # --enable-gold=default --enable-ld=default
3002 # Check whether --enable-gold was given.
3003 if test "${enable_gold+set}" = set; then :
3004 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3009 case "${ENABLE_GOLD}" in
3011 # Check for ELF target.
3014 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3015 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3016 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3017 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3019 *-*-linux*aout
* |
*-*-linux*oldld
*)
3027 if test "$is_elf" = "yes"; then
3028 # Check for target supported by gold.
3030 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3031 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3032 configdirs
="$configdirs gold"
3033 if test x
${ENABLE_GOLD} = xdefault
; then
3044 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3048 # Check whether --enable-ld was given.
3049 if test "${enable_ld+set}" = set; then :
3050 enableval
=$enable_ld; ENABLE_LD
=$enableval
3056 case "${ENABLE_LD}" in
3058 if test x
${default_ld} != x
; then
3059 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3065 if test x
${ENABLE_GOLD} != xyes
; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3067 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3069 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3072 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3077 # Decide the default method for compressing debug sections.
3078 # Provide a configure time option to override our default.
3079 # Check whether --enable-compressed_debug_sections was given.
3080 if test "${enable_compressed_debug_sections+set}" = set; then :
3081 enableval
=$enable_compressed_debug_sections;
3082 if test x
"$enable_compressed_debug_sections" = xyes
; then
3083 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3087 enable_compressed_debug_sections
=
3091 # Configure extra directories which are host specific
3095 configdirs
="$configdirs libtermcap" ;;
3098 # A target can indicate whether a language isn't supported for some reason.
3099 # Only spaces may be used in this macro; not newlines or tabs.
3100 unsupported_languages
=
3102 # Remove more programs from consideration, based on the host or
3103 # target this usually means that a port of the program doesn't
3107 i
[3456789]86-*-msdosdjgpp*)
3108 noconfigdirs
="$noconfigdirs tcl tk itcl"
3113 # Check whether --enable-libquadmath was given.
3114 if test "${enable_libquadmath+set}" = set; then :
3115 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3117 ENABLE_LIBQUADMATH
=yes
3120 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3121 noconfigdirs
="$noconfigdirs target-libquadmath"
3125 # Check whether --enable-libquadmath-support was given.
3126 if test "${enable_libquadmath_support+set}" = set; then :
3127 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3129 ENABLE_LIBQUADMATH_SUPPORT
=yes
3132 enable_libquadmath_support
=
3133 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3134 enable_libquadmath_support
=no
3138 # Check whether --enable-libada was given.
3139 if test "${enable_libada+set}" = set; then :
3140 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3145 if test "${ENABLE_LIBADA}" != "yes" ; then
3146 noconfigdirs
="$noconfigdirs gnattools"
3149 # Check whether --enable-libssp was given.
3150 if test "${enable_libssp+set}" = set; then :
3151 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3157 # Check whether --enable-libstdcxx was given.
3158 if test "${enable_libstdcxx+set}" = set; then :
3159 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3161 ENABLE_LIBSTDCXX
=default
3164 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3165 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3168 # If this is accelerator compiler and its target is intelmic we enable
3169 # target liboffloadmic by default. If this is compiler with offloading
3170 # for intelmic we enable host liboffloadmic by default. Otherwise
3171 # liboffloadmic is disabled by default.
3172 # Check whether --enable-liboffloadmic was given.
3173 if test "${enable_liboffloadmic+set}" = set; then :
3174 enableval
=$enable_liboffloadmic; case "$enableval" in
3176 enable_liboffloadmic
=$enableval ;;
3178 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3181 if test x
"$enable_as_accelerator_for" != x
; then
3183 *-intelmic-* |
*-intelmicemul-*)
3184 enable_liboffloadmic
=target
3185 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3188 enable_liboffloadmic
=no
3192 case "${enable_offload_targets}" in
3193 *-intelmic-* |
*-intelmicemul-*)
3194 enable_liboffloadmic
=host
3195 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3198 enable_liboffloadmic
=no
3206 # Enable libgomp by default on hosted POSIX systems, and a few others.
3207 if test x
$enable_libgomp = x
; then
3209 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3211 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3213 *-*-solaris2* |
*-*-hpux11*)
3215 *-*-darwin* |
*-*-aix*)
3217 nvptx
*-*-* | amdgcn
*-*-*)
3220 noconfigdirs
="$noconfigdirs target-libgomp"
3225 # Disable libatomic on unsupported systems.
3226 if test -d ${srcdir}/libatomic
; then
3227 if test x
$enable_libatomic = x
; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3229 $as_echo_n "checking for libatomic support... " >&6; }
3230 if (srcdir
=${srcdir}/libatomic
; \
3231 .
${srcdir}/configure.tgt
; \
3232 test -n "$UNSUPPORTED")
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 noconfigdirs
="$noconfigdirs target-libatomic"
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3239 $as_echo "yes" >&6; }
3244 # Disable liboffloadmic on unsupported systems.
3245 if test -d ${srcdir}/liboffloadmic
; then
3246 if test x
$enable_liboffloadmic != xno
; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3248 $as_echo_n "checking for liboffloadmic support... " >&6; }
3249 if (srcdir
=${srcdir}/liboffloadmic
; \
3250 .
${srcdir}/configure.tgt
; \
3251 test -n "$UNSUPPORTED")
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3258 $as_echo "yes" >&6; }
3263 # Disable libitm on unsupported systems.
3264 if test -d ${srcdir}/libitm
; then
3265 if test x
$enable_libitm = x
; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3267 $as_echo_n "checking for libitm support... " >&6; }
3268 if (srcdir
=${srcdir}/libitm
; \
3269 .
${srcdir}/configure.tgt
; \
3270 test -n "$UNSUPPORTED")
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3274 noconfigdirs
="$noconfigdirs target-libitm"
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3277 $as_echo "yes" >&6; }
3282 # Disable libsanitizer on unsupported systems.
3283 if test -d ${srcdir}/libsanitizer
; then
3284 if test x
$enable_libsanitizer = x
; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3286 $as_echo_n "checking for libsanitizer support... " >&6; }
3287 if (srcdir
=${srcdir}/libsanitizer
; \
3288 .
${srcdir}/configure.tgt
; \
3289 test -n "$UNSUPPORTED")
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 noconfigdirs
="$noconfigdirs target-libsanitizer"
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3296 $as_echo "yes" >&6; }
3301 # Disable libvtv on unsupported systems.
3302 if test -d ${srcdir}/libvtv
; then
3303 if test x
$enable_libvtv = x
; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3305 $as_echo_n "checking for libvtv support... " >&6; }
3306 if (srcdir
=${srcdir}/libvtv
; \
3307 .
${srcdir}/configure.tgt
; \
3308 test "$VTV_SUPPORTED" != "yes")
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 noconfigdirs
="$noconfigdirs target-libvtv"
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3321 # Disable libhsail-rt on unsupported systems.
3322 if test -d ${srcdir}/libhsail-rt
; then
3323 if test x
$enable_libhsail_rt = x
; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3325 $as_echo_n "checking for libhsail-rt support... " >&6; }
3326 if (srcdir
=${srcdir}/libhsail-rt
; \
3327 .
${srcdir}/configure.tgt
; \
3328 test -n "$UNSUPPORTED")
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 unsupported_languages
="$unsupported_languages brig"
3333 # This implicitly disables also target-libhsail-rt as it won't
3334 # get added to the build without BRIG FE.
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3337 $as_echo "yes" >&6; }
3343 # Disable libquadmath for some systems.
3346 noconfigdirs
="$noconfigdirs target-libquadmath"
3348 # libquadmath is unused on AIX and libquadmath build process use of
3349 # LD_LIBRARY_PATH can break AIX bootstrap.
3350 powerpc-
*-aix* | rs6000-
*-aix*)
3351 noconfigdirs
="$noconfigdirs target-libquadmath"
3355 # Disable libssp for some systems.
3358 # No hosted I/O support.
3359 noconfigdirs
="$noconfigdirs target-libssp"
3362 noconfigdirs
="$noconfigdirs target-libssp"
3364 powerpc-
*-aix* | rs6000-
*-aix*)
3365 noconfigdirs
="$noconfigdirs target-libssp"
3368 # No hosted I/O support.
3369 noconfigdirs
="$noconfigdirs target-libssp"
3372 # libssp uses a misaligned load to trigger a fault, but the RL78
3373 # doesn't fault for those - instead, it gives a build-time error
3374 # for explicit misaligned loads.
3375 noconfigdirs
="$noconfigdirs target-libssp"
3378 # No hosted I/O support.
3379 noconfigdirs
="$noconfigdirs target-libssp"
3383 # Disable libstdc++-v3 for some systems.
3384 # Allow user to override this if they pass --enable-libstdc++-v3
3385 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3388 # VxWorks uses the Dinkumware C++ library.
3389 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3392 # Not ported/fails to build when using newlib.
3393 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3396 # the C++ libraries don't build on top of CE's C libraries
3397 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3400 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3403 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3406 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3411 # Disable C++ on systems where it is known to not work.
3412 # For testing, you can override this with --enable-languages=c++.
3413 case ,${enable_languages}, in
3419 unsupported_languages
="$unsupported_languages c++"
3425 # Disable Objc on systems where it is known to not work.
3426 # For testing, you can override this with --enable-languages=objc.
3427 case ,${enable_languages}, in
3433 unsupported_languages
="$unsupported_languages objc"
3439 # Disable D on systems where it is known to not work.
3440 # For testing, you can override this with --enable-languages=d.
3441 case ,${enable_languages}, in
3447 unsupported_languages
="$unsupported_languages d"
3450 unsupported_languages
="$unsupported_languages d"
3456 # Disable libphobos on unsupported systems.
3457 # For testing, you can override this with --enable-libphobos.
3458 if test -d ${srcdir}/libphobos
; then
3459 if test x
$enable_libphobos = x
; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3461 $as_echo_n "checking for libphobos support... " >&6; }
3462 if (srcdir
=${srcdir}/libphobos
; \
3463 .
${srcdir}/configure.tgt
; \
3464 test "$LIBPHOBOS_SUPPORTED" != "yes")
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3468 noconfigdirs
="$noconfigdirs target-libphobos"
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3471 $as_echo "yes" >&6; }
3476 # Disable Fortran for some systems.
3479 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3480 unsupported_languages
="$unsupported_languages fortran"
3483 unsupported_languages
="$unsupported_languages fortran"
3487 # Disable libffi for some systems.
3491 i
[3456789]86-*-darwin*)
3493 x86_64-
*-darwin[912]*)
3496 noconfigdirs
="$noconfigdirs target-libffi"
3499 noconfigdirs
="$noconfigdirs target-libffi"
3502 noconfigdirs
="$noconfigdirs target-libffi"
3505 noconfigdirs
="$noconfigdirs target-libffi"
3508 noconfigdirs
="$noconfigdirs target-libffi"
3511 noconfigdirs
="$noconfigdirs target-libffi"
3514 noconfigdirs
="$noconfigdirs target-libffi"
3516 aarch64
*-*-freebsd*)
3517 noconfigdirs
="$noconfigdirs target-libffi"
3520 noconfigdirs
="$noconfigdirs target-libffi"
3523 noconfigdirs
="$noconfigdirs target-libffi"
3526 noconfigdirs
="$noconfigdirs target-libffi"
3529 noconfigdirs
="$noconfigdirs target-libffi"
3532 noconfigdirs
="$noconfigdirs target-libffi"
3534 cris-
*-* | crisv32-
*-*)
3538 *) # See PR46792 regarding target-libffi.
3539 noconfigdirs
="$noconfigdirs target-libffi";;
3543 noconfigdirs
="$noconfigdirs target-libffi"
3548 noconfigdirs
="$noconfigdirs target-libffi"
3551 noconfigdirs
="$noconfigdirs target-libffi"
3553 i
[3456789]86-w64-mingw*)
3554 noconfigdirs
="$noconfigdirs target-libffi"
3556 i
[3456789]86-*-mingw*)
3557 noconfigdirs
="$noconfigdirs target-libffi"
3560 noconfigdirs
="$noconfigdirs target-libffi"
3563 noconfigdirs
="$noconfigdirs target-libffi"
3570 noconfigdirs
="$noconfigdirs target-libffi"
3573 noconfigdirs
="$noconfigdirs target-libffi"
3577 # Disable the go frontend on systems where it is known to not work. Please keep
3578 # this in sync with contrib/config-list.mk.
3580 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3581 unsupported_languages
="$unsupported_languages go"
3585 # Only allow gdbserver on some systems.
3586 if test -d ${srcdir}/gdbserver
; then
3587 if test x
$enable_gdbserver = x
; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3589 $as_echo_n "checking for gdbserver support... " >&6; }
3590 if (srcdir
=${srcdir}/gdbserver
; \
3591 .
${srcdir}/configure.srv
; \
3592 test -n "$UNSUPPORTED")
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 noconfigdirs
="$noconfigdirs gdbserver"
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3599 $as_echo "yes" >&6; }
3604 # Disable libgo for some systems where it is known to not work.
3605 # For testing, you can easily override this with --enable-libgo.
3606 if test x
$enable_libgo = x
; then
3610 noconfigdirs
="$noconfigdirs target-libgo"
3612 *-*-cygwin* |
*-*-mingw*)
3613 noconfigdirs
="$noconfigdirs target-libgo"
3616 noconfigdirs
="$noconfigdirs target-libgo"
3621 # Default libgloss CPU subdirectory.
3622 libgloss_dir
="$target_cpu"
3625 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3629 libgloss_dir
=aarch64
3634 cris-
*-* | crisv32-
*-*)
3643 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3644 libgloss_dir
=m68hc11
3646 m68
*-*-* | fido-
*-*)
3663 # Disable newlib and libgloss for various target OSes.
3666 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3668 i
[3456789]86-*-linux*)
3669 # This section makes it possible to build newlib natively on linux.
3670 # If we are using a cross compiler then don't configure newlib.
3671 if test x
${is_cross_compiler} != xno
; then
3672 noconfigdirs
="$noconfigdirs target-newlib"
3674 noconfigdirs
="$noconfigdirs target-libgloss"
3675 # If we are not using a cross compiler, do configure newlib.
3676 # Note however, that newlib will only be configured in this situation
3677 # if the --with-newlib option has been given, because otherwise
3678 # 'target-newlib' will appear in skipdirs.
3680 i
[3456789]86-*-rdos*)
3681 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3684 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3687 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3690 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3693 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3699 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3702 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3705 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3707 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3708 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3711 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3714 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3717 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3720 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3723 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3726 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3729 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3737 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3738 noconfigdirs
="$noconfigdirs sim target-rda"
3743 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3744 noconfigdirs
="$noconfigdirs sim target-rda"
3747 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3748 noconfigdirs
="$noconfigdirs sim target-rda"
3750 i
[3456789]86-*-darwin*)
3751 noconfigdirs
="$noconfigdirs ld gprof"
3752 noconfigdirs
="$noconfigdirs sim target-rda"
3754 x86_64-
*-darwin[912]*)
3755 noconfigdirs
="$noconfigdirs ld gas gprof"
3756 noconfigdirs
="$noconfigdirs sim target-rda"
3759 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3760 noconfigdirs
="$noconfigdirs sim target-rda"
3765 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3766 && test -f /usr
/local
/include
/gmp.h
; then
3771 # Remove unsupported stuff on all kaOS configurations.
3772 noconfigdirs
="$noconfigdirs target-libgloss"
3779 noconfigdirs
="$noconfigdirs target-libgloss"
3782 noconfigdirs
="$noconfigdirs target-libgloss"
3784 # The tpf target doesn't support gdb yet.
3786 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3789 noconfigdirs
="$noconfigdirs target-rda"
3794 # ld works, but does not support shared libraries.
3795 # gas doesn't generate exception information.
3796 noconfigdirs
="$noconfigdirs gas ld"
3799 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3802 # newlib is not 64 bit ready
3803 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3806 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3808 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3809 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3812 noconfigdirs
="$noconfigdirs sim"
3815 noconfigdirs
="$noconfigdirs target-libgloss"
3818 noconfigdirs
="$noconfigdirs ld target-libgloss"
3821 if test x
${with_avrlibc} != xno
; then
3822 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3825 c4x-
*-* | tic4x-
*-*)
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3829 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3832 noconfigdirs
="$noconfigdirs target-libgloss"
3835 noconfigdirs
="$noconfigdirs gdb"
3838 noconfigdirs
="$noconfigdirs gdb"
3841 noconfigdirs
="$noconfigdirs target-rda gprof"
3844 noconfigdirs
="$noconfigdirs"
3847 noconfigdirs
="$noconfigdirs target-libgloss"
3850 noconfigdirs
="$noconfigdirs target-libgloss"
3852 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3855 noconfigdirs
="$noconfigdirs gdb"
3858 noconfigdirs
="$noconfigdirs gdb ld"
3866 hppa
*-*-openbsd* | \
3872 noconfigdirs
="$noconfigdirs ld"
3875 noconfigdirs
="$noconfigdirs gdb"
3878 # No gdb support yet.
3879 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3882 # No ld support yet.
3883 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3886 # No ld support yet.
3887 noconfigdirs
="$noconfigdirs libgui itcl ld"
3889 i
[3456789]86-w64-mingw*)
3891 i
[3456789]86-*-mingw*)
3892 target_configdirs
="$target_configdirs target-winsup"
3895 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3896 noconfigdirs
="$noconfigdirs target-libgloss"
3897 # always build newlib if winsup directory is present.
3898 if test -d "$srcdir/winsup/cygwin"; then
3899 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3900 elif test -d "$srcdir/newlib"; then
3901 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3905 noconfigdirs
="$noconfigdirs target-libgloss"
3907 i
[3456789]86-*-sco3.2v5
*)
3908 # The linker does not yet know about weak symbols in COFF,
3909 # and is not configured to handle mixed ELF and COFF.
3910 noconfigdirs
="$noconfigdirs ld target-libgloss"
3912 i
[3456789]86-*-sco*)
3913 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3915 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3916 noconfigdirs
="$noconfigdirs target-libgloss"
3918 i
[3456789]86-*-sysv4*)
3919 noconfigdirs
="$noconfigdirs target-libgloss"
3921 i
[3456789]86-*-beos*)
3922 noconfigdirs
="$noconfigdirs gdb"
3924 i
[3456789]86-*-rdos*)
3925 noconfigdirs
="$noconfigdirs gdb"
3928 noconfigdirs
="$noconfigdirs gdb"
3931 noconfigdirs
="$noconfigdirs sim"
3934 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3935 noconfigdirs
="$noconfigdirs $target_libraries"
3938 noconfigdirs
="$noconfigdirs gdb gprof"
3941 # copied from rs6000-*-* entry
3942 noconfigdirs
="$noconfigdirs gprof"
3944 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3945 target_configdirs
="$target_configdirs target-winsup"
3946 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3947 # always build newlib.
3948 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3950 # This is temporary until we can link against shared libraries
3951 powerpcle-
*-solaris*)
3952 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3955 noconfigdirs
="$noconfigdirs gdb"
3958 noconfigdirs
="$noconfigdirs gprof"
3961 noconfigdirs
="$noconfigdirs gprof"
3964 noconfigdirs
="$noconfigdirs gprof"
3967 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3970 noconfigdirs
="$noconfigdirs gprof"
3972 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3973 if test x
$with_newlib = xyes
; then
3974 noconfigdirs
="$noconfigdirs gprof"
3978 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3981 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3984 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3988 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3989 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3990 noconfigdirs
="$noconfigdirs ld gas gprof"
3993 noconfigdirs
="$noconfigdirs gprof"
3996 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4003 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4007 if test x
${is_cross_compiler} = xno
; then
4012 noconfigdirs
="$noconfigdirs sim"
4014 tilepro
*-*-* | tilegx
*-*-*)
4015 noconfigdirs
="$noconfigdirs sim"
4018 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4021 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4024 noconfigdirs
="$noconfigdirs ld"
4028 # If we aren't building newlib, then don't build libgloss, since libgloss
4029 # depends upon some newlib header files.
4030 case "${noconfigdirs}" in
4031 *target-libgloss
*) ;;
4032 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4035 # Work in distributions that contain no compiler tools, like Autoconf.
4036 host_makefile_frag
=/dev
/null
4037 if test -d ${srcdir}/config
; then
4039 i
[3456789]86-*-msdosdjgpp*)
4040 host_makefile_frag
="config/mh-djgpp"
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4045 $as_echo_n "checking to see if cat works as expected... " >&6; }
4046 echo a
>cygwin-cat-check
4047 if test `cat cygwin-cat-check` = a
; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4050 $as_echo "yes" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4055 as_fn_error $?
"The cat command does not ignore carriage return characters.
4056 Please either mount the build directory in binary mode or run the following
4057 commands before running any configure script:
4063 host_makefile_frag
="config/mh-cygwin"
4066 host_makefile_frag
="config/mh-mingw"
4069 host_makefile_frag
="config/mh-alpha-linux"
4072 host_makefile_frag
="config/mh-pa-hpux10"
4075 host_makefile_frag
="config/mh-pa"
4078 host_makefile_frag
="config/mh-pa"
4081 host_makefile_frag
="config/mh-darwin"
4084 host_makefile_frag
="config/mh-ppc-aix"
4087 host_makefile_frag
="config/mh-ppc-aix"
4092 if test "${build}" != "${host}" ; then
4093 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4094 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4095 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4096 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4097 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4098 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4099 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4100 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4101 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4102 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4103 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4104 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4105 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4107 AR_FOR_BUILD
="\$(AR)"
4108 AS_FOR_BUILD
="\$(AS)"
4109 CC_FOR_BUILD
="\$(CC)"
4110 CXX_FOR_BUILD
="\$(CXX)"
4111 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4112 GOC_FOR_BUILD
="\$(GOC)"
4113 GDC_FOR_BUILD
="\$(GDC)"
4114 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4115 LD_FOR_BUILD
="\$(LD)"
4116 NM_FOR_BUILD
="\$(NM)"
4117 RANLIB_FOR_BUILD
="\$(RANLIB)"
4118 WINDRES_FOR_BUILD
="\$(WINDRES)"
4119 WINDMC_FOR_BUILD
="\$(WINDMC)"
4123 ac_cpp
='$CPP $CPPFLAGS'
4124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4127 if test -n "$ac_tool_prefix"; then
4128 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4129 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_CC+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -n "$CC"; then
4136 ac_cv_prog_CC
="$CC" # Let the user override the test.
4138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir
=.
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4145 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 if test -n "$CC"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4158 $as_echo "$CC" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4166 if test -z "$ac_cv_prog_CC"; then
4168 # Extract the first word of "gcc", so it can be a program name with args.
4169 set dummy gcc
; ac_word
=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$ac_ct_CC"; then
4176 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4185 ac_cv_prog_ac_ct_CC
="gcc"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4196 if test -n "$ac_ct_CC"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4198 $as_echo "$ac_ct_CC" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4204 if test "x$ac_ct_CC" = x
; then
4207 case $cross_compiling:$ac_tool_warned in
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4211 ac_tool_warned
=yes ;;
4219 if test -z "$CC"; then
4220 if test -n "$ac_tool_prefix"; then
4221 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4222 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_CC+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$CC"; then
4229 ac_cv_prog_CC
="$CC" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test -n "$CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4251 $as_echo "$CC" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4260 if test -z "$CC"; then
4261 # Extract the first word of "cc", so it can be a program name with args.
4262 set dummy cc
; ac_word
=$2
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4264 $as_echo_n "checking for $ac_word... " >&6; }
4265 if ${ac_cv_prog_CC+:} false
; then :
4266 $as_echo_n "(cached) " >&6
4268 if test -n "$CC"; then
4269 ac_cv_prog_CC
="$CC" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4279 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4280 ac_prog_rejected
=yes
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test $ac_prog_rejected = yes; then
4292 # We found a bogon in the path, so make sure we never use it.
4293 set dummy
$ac_cv_prog_CC
4295 if test $# != 0; then
4296 # We chose a different compiler from the bogus one.
4297 # However, it has the same basename, so the bogon will be chosen
4298 # first if we set CC to just the basename; use the full file name.
4300 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4306 if test -n "$CC"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4308 $as_echo "$CC" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4316 if test -z "$CC"; then
4317 if test -n "$ac_tool_prefix"; then
4318 for ac_prog
in cl.exe
4320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4321 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_prog_CC+:} false
; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -n "$CC"; then
4328 ac_cv_prog_CC
="$CC" # Let the user override the test.
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4337 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 if test -n "$CC"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4350 $as_echo "$CC" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4357 test -n "$CC" && break
4360 if test -z "$CC"; then
4362 for ac_prog
in cl.exe
4364 # Extract the first word of "$ac_prog", so it can be a program name with args.
4365 set dummy
$ac_prog; ac_word
=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 if test -n "$ac_ct_CC"; then
4372 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_exec_ext
in '' $ac_executable_extensions; do
4380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_ac_ct_CC
="$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4392 if test -n "$ac_ct_CC"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4394 $as_echo "$ac_ct_CC" >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$ac_ct_CC" && break
4404 if test "x$ac_ct_CC" = x
; then
4407 case $cross_compiling:$ac_tool_warned in
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4411 ac_tool_warned
=yes ;;
4420 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error $?
"no acceptable C compiler found in \$PATH
4423 See \`config.log' for more details" "$LINENO" 5; }
4425 # Provide some information about the compiler.
4426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4429 for ac_option
in --version -v -V -qversion; do
4430 { { ac_try
="$ac_compiler $ac_option >&5"
4432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4436 $as_echo "$ac_try_echo"; } >&5
4437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4439 if test -s conftest.err; then
4441 ... rest of stderr output deleted ...
4442 10q' conftest.err >conftest.er1
4443 cat conftest.er1 >&5
4445 rm -f conftest.er1 conftest.err
4446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4447 test $ac_status = 0; }
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4461 ac_clean_files_save=$ac_clean_files
4462 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4463 # Try to create an executable without -o first, disregard a.out.
4464 # It will help us diagnose broken compilers, and finding out an intuition
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4467 $as_echo_n "checking whether the C compiler works... " >&6; }
4468 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4470 # The possible output files:
4471 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4474 for ac_file in $ac_files
4477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4483 if { { ac_try="$ac_link_default"
4485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4486 *) ac_try_echo
=$ac_try;;
4488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490 (eval "$ac_link_default") 2>&5
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then :
4494 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4495 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4496 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4497 # so that the user can short-circuit this test for compilers unknown to
4499 for ac_file
in $ac_files ''
4501 test -f "$ac_file" ||
continue
4503 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4506 # We found the default executable, but exeext='' is most
4510 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4512 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4514 # We set ac_cv_exeext here because the later test for it is not
4515 # safe: cross compilers may not add the suffix if given an `-o'
4516 # argument, so we may need to know it at that point already.
4517 # Even if this section looks crufty: it has the advantage of
4524 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4529 if test -z "$ac_file"; then :
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4532 $as_echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.
$ac_ext >&5
4535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4537 as_fn_error
77 "C compiler cannot create executables
4538 See \`config.log' for more details" "$LINENO" 5; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4541 $as_echo "yes" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4544 $as_echo_n "checking for C compiler default output file name... " >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4546 $as_echo "$ac_file" >&6; }
4547 ac_exeext
=$ac_cv_exeext
4549 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4550 ac_clean_files
=$ac_clean_files_save
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4552 $as_echo_n "checking for suffix of executables... " >&6; }
4553 if { { ac_try
="$ac_link"
4555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4559 $as_echo "$ac_try_echo"; } >&5
4560 (eval "$ac_link") 2>&5
4562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4563 test $ac_status = 0; }; then :
4564 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4565 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4566 # work properly (i.e., refer to `conftest.exe'), while it won't with
4568 for ac_file
in conftest.exe conftest conftest.
*; do
4569 test -f "$ac_file" ||
continue
4571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4581 See \`config.log' for more details" "$LINENO" 5; }
4583 rm -f conftest conftest
$ac_cv_exeext
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4585 $as_echo "$ac_cv_exeext" >&6; }
4587 rm -f conftest.
$ac_ext
4588 EXEEXT
=$ac_cv_exeext
4590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4596 FILE *f = fopen ("conftest.out", "w");
4597 return ferror (f) || fclose (f) != 0;
4603 ac_clean_files
="$ac_clean_files conftest.out"
4604 # Check that the compiler produces executables we can run. If not, either
4605 # the compiler is broken, or we cross compile.
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4607 $as_echo_n "checking whether we are cross compiling... " >&6; }
4608 if test "$cross_compiling" != yes; then
4609 { { ac_try
="$ac_link"
4611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4615 $as_echo "$ac_try_echo"; } >&5
4616 (eval "$ac_link") 2>&5
4618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4619 test $ac_status = 0; }
4620 if { ac_try='./conftest$ac_cv_exeext'
4621 { { case "(($ac_try" in
4622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4623 *) ac_try_echo
=$ac_try;;
4625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4626 $as_echo "$ac_try_echo"; } >&5
4627 (eval "$ac_try") 2>&5
4629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4630 test $ac_status = 0; }; }; then
4633 if test "$cross_compiling" = maybe
; then
4636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4638 as_fn_error $?
"cannot run C compiled programs.
4639 If you meant to cross compile, use \`--host'.
4640 See \`config.log' for more details" "$LINENO" 5; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4645 $as_echo "$cross_compiling" >&6; }
4647 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4648 ac_clean_files
=$ac_clean_files_save
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4650 $as_echo_n "checking for suffix of object files... " >&6; }
4651 if ${ac_cv_objext+:} false
; then :
4652 $as_echo_n "(cached) " >&6
4654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4665 rm -f conftest.o conftest.obj
4666 if { { ac_try
="$ac_compile"
4668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4672 $as_echo "$ac_try_echo"; } >&5
4673 (eval "$ac_compile") 2>&5
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }; then :
4677 for ac_file in conftest.o conftest.obj conftest.*; do
4678 test -f "$ac_file" || continue;
4680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4686 $as_echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4692 See \
`config.log' for more details" "$LINENO" 5; }
4694 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4697 $as_echo "$ac_cv_objext" >&6; }
4698 OBJEXT=$ac_cv_objext
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4701 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4702 if ${ac_cv_c_compiler_gnu+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4719 if ac_fn_c_try_compile "$LINENO"; then :
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4729 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4730 if test $ac_compiler_gnu = yes; then
4735 ac_test_CFLAGS=${CFLAGS+set}
4736 ac_save_CFLAGS=$CFLAGS
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4738 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4739 if ${ac_cv_prog_cc_g+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 ac_save_c_werror_flag=$ac_c_werror_flag
4743 ac_c_werror_flag=yes
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4757 if ac_fn_c_try_compile "$LINENO"; then :
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4772 if ac_fn_c_try_compile "$LINENO"; then :
4775 ac_c_werror_flag=$ac_save_c_werror_flag
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4788 if ac_fn_c_try_compile "$LINENO"; then :
4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 ac_c_werror_flag=$ac_save_c_werror_flag
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4799 $as_echo "$ac_cv_prog_cc_g" >&6; }
4800 if test "$ac_test_CFLAGS" = set; then
4801 CFLAGS=$ac_save_CFLAGS
4802 elif test $ac_cv_prog_cc_g = yes; then
4803 if test "$GCC" = yes; then
4809 if test "$GCC" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4816 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4817 if ${ac_cv_prog_cc_c89+:} false; then :
4818 $as_echo_n "(cached) " >&6
4820 ac_cv_prog_cc_c89=no
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4827 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4828 struct buf { int x; };
4829 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4830 static char *e (p, i)
4836 static char *f (char * (*g) (char **, int), char **p, ...)
4841 s = g (p, va_arg (v,int));
4846 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4847 function prototypes and stuff, but not '\xHH' hex character constants.
4848 These don't provoke an error unfortunately, instead are silently treated
4849 as 'x'. The following induces an error, until -std is added to get
4850 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4851 array size at least. It's necessary to write '\x00'==0 to get something
4852 that's true only with -std. */
4853 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4855 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4856 inside strings and character constants. */
4858 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4860 int test (int i, double x);
4861 struct s1 {int (*f) (int a);};
4862 struct s2 {int (*f) (double a);};
4863 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4869 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4874 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4875 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4877 CC="$ac_save_CC $ac_arg"
4878 if ac_fn_c_try_compile "$LINENO"; then :
4879 ac_cv_prog_cc_c89=$ac_arg
4881 rm -f core conftest.err conftest.$ac_objext
4882 test "x$ac_cv_prog_cc_c89" != "xno" && break
4884 rm -f conftest.$ac_ext
4889 case "x$ac_cv_prog_cc_c89" in
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4892 $as_echo "none needed" >&6; } ;;
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4895 $as_echo "unsupported" >&6; } ;;
4897 CC="$CC $ac_cv_prog_cc_c89"
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4899 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4901 if test "x$ac_cv_prog_cc_c89" != xno; then :
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 ac_cpp='$CXXCPP $CPPFLAGS'
4913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4916 if test -z "$CXX"; then
4917 if test -n "$CCC"; then
4920 if test -n "$ac_tool_prefix"; then
4921 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_CXX+:} false; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$CXX"; then
4931 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 if test -n "$CXX"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4953 $as_echo "$CXX" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$CXX" && break
4963 if test -z "$CXX"; then
4965 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy $ac_prog; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$ac_ct_CXX"; then
4975 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_ac_ct_CXX="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4995 if test -n "$ac_ct_CXX"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4997 $as_echo "$ac_ct_CXX" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$ac_ct_CXX" && break
5007 if test "x$ac_ct_CXX" = x; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5022 # Provide some information about the compiler.
5023 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5026 for ac_option in --version -v -V -qversion; do
5027 { { ac_try="$ac_compiler $ac_option >&5"
5029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5030 *) ac_try_echo
=$ac_try;;
5032 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5033 $as_echo "$ac_try_echo"; } >&5
5034 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5036 if test -s conftest.err
; then
5038 ... rest of stderr output deleted ...
5039 10q' conftest.err
>conftest.er1
5040 cat conftest.er1
>&5
5042 rm -f conftest.er1 conftest.err
5043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5044 test $ac_status = 0; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5048 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5049 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5050 $as_echo_n "(cached) " >&6
5052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h. */
5066 if ac_fn_cxx_try_compile
"$LINENO"; then :
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5072 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5076 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5077 if test $ac_compiler_gnu = yes; then
5082 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5083 ac_save_CXXFLAGS
=$CXXFLAGS
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5085 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5086 if ${ac_cv_prog_cxx_g+:} false
; then :
5087 $as_echo_n "(cached) " >&6
5089 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5090 ac_cxx_werror_flag
=yes
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5104 if ac_fn_cxx_try_compile
"$LINENO"; then :
5105 ac_cv_prog_cxx_g
=yes
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5119 if ac_fn_cxx_try_compile
"$LINENO"; then :
5122 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5135 if ac_fn_cxx_try_compile
"$LINENO"; then :
5136 ac_cv_prog_cxx_g
=yes
5138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5143 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5146 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5147 if test "$ac_test_CXXFLAGS" = set; then
5148 CXXFLAGS
=$ac_save_CXXFLAGS
5149 elif test $ac_cv_prog_cxx_g = yes; then
5150 if test "$GXX" = yes; then
5156 if test "$GXX" = yes; then
5163 ac_cpp
='$CPP $CPPFLAGS'
5164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5169 # We must set the default linker to the linker used by gcc for the correct
5170 # operation of libtool. If LD is not defined and we are using gcc, try to
5171 # set the LD default to the ld used by gcc.
5172 if test -z "$LD"; then
5173 if test "$GCC" = yes; then
5176 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5178 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5180 case $gcc_prog_ld in
5181 # Accept absolute paths.
5182 [\\/]* |
[A-Za-z
]:[\\/]*)
5183 LD
="$gcc_prog_ld" ;;
5188 # Check whether -static-libstdc++ -static-libgcc is supported.
5190 if test "$GCC" = yes; then
5191 saved_LDFLAGS
="$LDFLAGS"
5193 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5195 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5197 ac_cpp
='$CXXCPP $CPPFLAGS'
5198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5206 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5207 #error -static-libstdc++ not implemented
5211 if ac_fn_cxx_try_link
"$LINENO"; then :
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5213 $as_echo "yes" >&6; }; have_static_libs
=yes
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5218 rm -f core conftest.err conftest.
$ac_objext \
5219 conftest
$ac_exeext conftest.
$ac_ext
5221 ac_cpp
='$CPP $CPPFLAGS'
5222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5227 LDFLAGS
="$saved_LDFLAGS"
5233 if test -n "$ac_tool_prefix"; then
5234 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5235 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_GNATBIND+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$GNATBIND"; then
5242 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 GNATBIND
=$ac_cv_prog_GNATBIND
5262 if test -n "$GNATBIND"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5264 $as_echo "$GNATBIND" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5272 if test -z "$ac_cv_prog_GNATBIND"; then
5273 ac_ct_GNATBIND
=$GNATBIND
5274 # Extract the first word of "gnatbind", so it can be a program name with args.
5275 set dummy gnatbind
; ac_word
=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -n "$ac_ct_GNATBIND"; then
5282 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5302 if test -n "$ac_ct_GNATBIND"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5304 $as_echo "$ac_ct_GNATBIND" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5310 if test "x$ac_ct_GNATBIND" = x
; then
5313 case $cross_compiling:$ac_tool_warned in
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned
=yes ;;
5319 GNATBIND
=$ac_ct_GNATBIND
5322 GNATBIND
="$ac_cv_prog_GNATBIND"
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5327 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$GNATMAKE"; then
5334 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 GNATMAKE
=$ac_cv_prog_GNATMAKE
5354 if test -n "$GNATMAKE"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5356 $as_echo "$GNATMAKE" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5364 if test -z "$ac_cv_prog_GNATMAKE"; then
5365 ac_ct_GNATMAKE
=$GNATMAKE
5366 # Extract the first word of "gnatmake", so it can be a program name with args.
5367 set dummy gnatmake
; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$ac_ct_GNATMAKE"; then
5374 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5394 if test -n "$ac_ct_GNATMAKE"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5396 $as_echo "$ac_ct_GNATMAKE" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5402 if test "x$ac_ct_GNATMAKE" = x
; then
5405 case $cross_compiling:$ac_tool_warned in
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5409 ac_tool_warned
=yes ;;
5411 GNATMAKE
=$ac_ct_GNATMAKE
5414 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5418 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5419 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5420 $as_echo_n "(cached) " >&6
5422 cat >conftest.adb
<<EOF
5423 procedure conftest is begin null; end conftest;
5425 acx_cv_cc_gcc_supports_ada
=no
5426 # There is a bug in old released versions of GCC which causes the
5427 # driver to exit successfully when the appropriate language module
5428 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5429 # Therefore we must check for the error message as well as an
5430 # unsuccessful exit.
5431 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5432 # given a .adb file, but produce no object file. So we must check
5433 # if an object file was really produced to guard against this.
5434 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5435 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5436 acx_cv_cc_gcc_supports_ada
=yes
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5441 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5443 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5450 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5451 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5452 $as_echo_n "(cached) " >&6
5456 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5457 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5458 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5461 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5464 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5465 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5468 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5475 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5476 do_compare
="$gcc_cv_prog_cmp_skip"
5480 # Check whether --enable-bootstrap was given.
5481 if test "${enable_bootstrap+set}" = set; then :
5482 enableval
=$enable_bootstrap;
5484 enable_bootstrap
=default
5488 # Issue errors and warnings for invalid/strange bootstrap combinations.
5489 if test -r $srcdir/gcc
/configure
; then
5495 case "$have_compiler:$host:$target:$enable_bootstrap" in
5498 # Default behavior. Enable bootstrap if we have a compiler
5499 # and we are in a native configuration.
5500 yes:$build:$build:default
)
5501 enable_bootstrap
=yes ;;
5504 enable_bootstrap
=no
;;
5506 # We have a compiler and we are in a native configuration, bootstrap is ok
5507 yes:$build:$build:yes)
5510 # Other configurations, but we have a compiler. Assume the user knows
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5514 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5517 # No compiler: if they passed --enable-bootstrap explicitly, fail
5519 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5521 # Fail if wrong command line
5523 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5527 # When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a
5528 # C++11 compiler can still start the bootstrap. Otherwise, if building GCC,
5529 # require C++11 (or higher).
5530 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5531 CXX
="$CXX -std=c++11"
5532 elif test "$have_compiler" = yes; then
5533 ax_cxx_compile_alternatives
="11 0x" ax_cxx_compile_cxx11_required
=true
5535 ac_cpp
='$CXXCPP $CPPFLAGS'
5536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
5542 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
5543 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
5544 $as_echo_n "(cached) " >&6
5546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5550 // If the compiler admits that it is not ready for C++11, why torture it?
5551 // Hopefully, this will speed up the test.
5555 #error "This is not a C++ compiler"
5557 #elif __cplusplus < 201103L
5559 #error "This is not a C++11 compiler"
5566 namespace test_static_assert
5569 template <typename T>
5572 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5577 namespace test_final_override
5586 struct Derived : public Base
5588 virtual ~Derived() override {}
5589 virtual void f() override {}
5594 namespace test_double_right_angle_brackets
5597 template < typename T >
5600 typedef check<void> single_type;
5601 typedef check<check<void>> double_type;
5602 typedef check<check<check<void>>> triple_type;
5603 typedef check<check<check<check<void>>>> quadruple_type;
5607 namespace test_decltype
5620 namespace test_type_deduction
5623 template < typename T1, typename T2 >
5626 static const bool value = false;
5629 template < typename T >
5630 struct is_same<T, T>
5632 static const bool value = true;
5635 template < typename T1, typename T2 >
5637 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5643 test(const int c, volatile int v)
5645 static_assert(is_same<int, decltype(0)>::value == true, "");
5646 static_assert(is_same<int, decltype(c)>::value == false, "");
5647 static_assert(is_same<int, decltype(v)>::value == false, "");
5650 auto sumi = ac + av + 'x';
5651 auto sumf = ac + av + 1.0;
5652 static_assert(is_same<int, decltype(ac)>::value == true, "");
5653 static_assert(is_same<int, decltype(av)>::value == true, "");
5654 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5655 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5656 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5657 return (sumf > 0.0) ? sumi : add(c, v);
5662 namespace test_noexcept
5665 int f() { return 0; }
5666 int g() noexcept { return 0; }
5668 static_assert(noexcept(f()) == false, "");
5669 static_assert(noexcept(g()) == true, "");
5673 namespace test_constexpr
5676 template < typename CharT >
5677 unsigned long constexpr
5678 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5680 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5683 template < typename CharT >
5684 unsigned long constexpr
5685 strlen_c(const CharT *const s) noexcept
5687 return strlen_c_r(s, 0UL);
5690 static_assert(strlen_c("") == 0UL, "");
5691 static_assert(strlen_c("1") == 1UL, "");
5692 static_assert(strlen_c("example") == 7UL, "");
5693 static_assert(strlen_c("another\0example") == 7UL, "");
5697 namespace test_rvalue_references
5703 static constexpr int value = N;
5706 answer<1> f(int&) { return answer<1>(); }
5707 answer<2> f(const int&) { return answer<2>(); }
5708 answer<3> f(int&&) { return answer<3>(); }
5715 static_assert(decltype(f(i))::value == 1, "");
5716 static_assert(decltype(f(c))::value == 2, "");
5717 static_assert(decltype(f(0))::value == 3, "");
5722 namespace test_uniform_initialization
5727 static const int zero {};
5728 static const int one {1};
5731 static_assert(test::zero == 0, "");
5732 static_assert(test::one == 1, "");
5736 namespace test_lambdas
5742 auto lambda1 = [](){};
5743 auto lambda2 = lambda1;
5751 auto a = [](int i, int j){ return i + j; }(1, 2);
5752 auto b = []() -> int { return '0'; }();
5753 auto c = [=](){ return a + b; }();
5754 auto d = [&](){ return c; }();
5755 auto e = [a, &b](int x) mutable {
5756 const auto identity = [](int y){ return y; };
5757 for (auto i = 0; i < a; ++i)
5759 return x + identity(a + b);
5761 return a + b + c + d + e;
5767 const auto nullary = [](){ return 0; };
5768 const auto unary = [](int x){ return x; };
5769 using nullary_t = decltype(nullary);
5770 using unary_t = decltype(unary);
5771 const auto higher1st = [](nullary_t f){ return f(); };
5772 const auto higher2nd = [unary](nullary_t f1){
5773 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
5775 return higher1st(nullary) + higher2nd(nullary)(unary);
5780 namespace test_variadic_templates
5786 template <int N0, int... N1toN>
5787 struct sum<N0, N1toN...>
5789 static constexpr auto value = N0 + sum<N1toN...>::value;
5795 static constexpr auto value = 0;
5798 static_assert(sum<>::value == 0, "");
5799 static_assert(sum<1>::value == 1, "");
5800 static_assert(sum<23>::value == 23, "");
5801 static_assert(sum<1, 2>::value == 3, "");
5802 static_assert(sum<5, 5, 11>::value == 21, "");
5803 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
5807 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
5808 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
5810 namespace test_template_alias_sfinae
5815 template<typename T>
5816 using member = typename T::member_type;
5818 template<typename T>
5821 template<typename T>
5822 void func(member<T>*) {}
5826 void test() { func<foo>(0); }
5830 } // namespace cxx11
5832 #endif // __cplusplus >= 201103L
5837 if ac_fn_cxx_try_compile
"$LINENO"; then :
5838 ax_cv_cxx_compile_cxx11
=yes
5840 ax_cv_cxx_compile_cxx11
=no
5842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
5845 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
5846 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
5850 if test x
$ac_success = xno
; then
5851 for alternative
in ${ax_cxx_compile_alternatives}; do
5852 switch
="-std=gnu++${alternative}"
5853 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
5855 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
5856 if eval \
${$cachevar+:} false
; then :
5857 $as_echo_n "(cached) " >&6
5861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5865 // If the compiler admits that it is not ready for C++11, why torture it?
5866 // Hopefully, this will speed up the test.
5870 #error "This is not a C++ compiler"
5872 #elif __cplusplus < 201103L
5874 #error "This is not a C++11 compiler"
5881 namespace test_static_assert
5884 template <typename T>
5887 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5892 namespace test_final_override
5901 struct Derived : public Base
5903 virtual ~Derived() override {}
5904 virtual void f() override {}
5909 namespace test_double_right_angle_brackets
5912 template < typename T >
5915 typedef check<void> single_type;
5916 typedef check<check<void>> double_type;
5917 typedef check<check<check<void>>> triple_type;
5918 typedef check<check<check<check<void>>>> quadruple_type;
5922 namespace test_decltype
5935 namespace test_type_deduction
5938 template < typename T1, typename T2 >
5941 static const bool value = false;
5944 template < typename T >
5945 struct is_same<T, T>
5947 static const bool value = true;
5950 template < typename T1, typename T2 >
5952 add(T1 a1, T2 a2) -> decltype(a1 + a2)
5958 test(const int c, volatile int v)
5960 static_assert(is_same<int, decltype(0)>::value == true, "");
5961 static_assert(is_same<int, decltype(c)>::value == false, "");
5962 static_assert(is_same<int, decltype(v)>::value == false, "");
5965 auto sumi = ac + av + 'x';
5966 auto sumf = ac + av + 1.0;
5967 static_assert(is_same<int, decltype(ac)>::value == true, "");
5968 static_assert(is_same<int, decltype(av)>::value == true, "");
5969 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5970 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5971 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5972 return (sumf > 0.0) ? sumi : add(c, v);
5977 namespace test_noexcept
5980 int f() { return 0; }
5981 int g() noexcept { return 0; }
5983 static_assert(noexcept(f()) == false, "");
5984 static_assert(noexcept(g()) == true, "");
5988 namespace test_constexpr
5991 template < typename CharT >
5992 unsigned long constexpr
5993 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
5995 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
5998 template < typename CharT >
5999 unsigned long constexpr
6000 strlen_c(const CharT *const s) noexcept
6002 return strlen_c_r(s, 0UL);
6005 static_assert(strlen_c("") == 0UL, "");
6006 static_assert(strlen_c("1") == 1UL, "");
6007 static_assert(strlen_c("example") == 7UL, "");
6008 static_assert(strlen_c("another\0example") == 7UL, "");
6012 namespace test_rvalue_references
6018 static constexpr int value = N;
6021 answer<1> f(int&) { return answer<1>(); }
6022 answer<2> f(const int&) { return answer<2>(); }
6023 answer<3> f(int&&) { return answer<3>(); }
6030 static_assert(decltype(f(i))::value == 1, "");
6031 static_assert(decltype(f(c))::value == 2, "");
6032 static_assert(decltype(f(0))::value == 3, "");
6037 namespace test_uniform_initialization
6042 static const int zero {};
6043 static const int one {1};
6046 static_assert(test::zero == 0, "");
6047 static_assert(test::one == 1, "");
6051 namespace test_lambdas
6057 auto lambda1 = [](){};
6058 auto lambda2 = lambda1;
6066 auto a = [](int i, int j){ return i + j; }(1, 2);
6067 auto b = []() -> int { return '0'; }();
6068 auto c = [=](){ return a + b; }();
6069 auto d = [&](){ return c; }();
6070 auto e = [a, &b](int x) mutable {
6071 const auto identity = [](int y){ return y; };
6072 for (auto i = 0; i < a; ++i)
6074 return x + identity(a + b);
6076 return a + b + c + d + e;
6082 const auto nullary = [](){ return 0; };
6083 const auto unary = [](int x){ return x; };
6084 using nullary_t = decltype(nullary);
6085 using unary_t = decltype(unary);
6086 const auto higher1st = [](nullary_t f){ return f(); };
6087 const auto higher2nd = [unary](nullary_t f1){
6088 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6090 return higher1st(nullary) + higher2nd(nullary)(unary);
6095 namespace test_variadic_templates
6101 template <int N0, int... N1toN>
6102 struct sum<N0, N1toN...>
6104 static constexpr auto value = N0 + sum<N1toN...>::value;
6110 static constexpr auto value = 0;
6113 static_assert(sum<>::value == 0, "");
6114 static_assert(sum<1>::value == 1, "");
6115 static_assert(sum<23>::value == 23, "");
6116 static_assert(sum<1, 2>::value == 3, "");
6117 static_assert(sum<5, 5, 11>::value == 21, "");
6118 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6122 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6123 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6125 namespace test_template_alias_sfinae
6130 template<typename T>
6131 using member = typename T::member_type;
6133 template<typename T>
6136 template<typename T>
6137 void func(member<T>*) {}
6141 void test() { func<foo>(0); }
6145 } // namespace cxx11
6147 #endif // __cplusplus >= 201103L
6152 if ac_fn_cxx_try_compile
"$LINENO"; then :
6157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6160 eval ac_res
=\$
$cachevar
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6162 $as_echo "$ac_res" >&6; }
6163 if eval test x\$
$cachevar = xyes
; then
6165 if test -n "$CXXCPP" ; then
6166 CXXCPP
="$CXXCPP $switch"
6174 if test x
$ac_success = xno
; then
6175 for alternative
in ${ax_cxx_compile_alternatives}; do
6176 for switch
in -std=c
++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
6177 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_
$switch" | $as_tr_sh`
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX supports C
++11 features with
$switch" >&5
6179 $as_echo_n "checking whether
$CXX supports C
++11 features with
$switch...
" >&6; }
6180 if eval \${$cachevar+:} false; then :
6181 $as_echo_n "(cached
) " >&6
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6189 // If the compiler admits that it is not ready for C++11, why torture it?
6190 // Hopefully, this will speed up the test.
6194 #error "This is not a C
++ compiler
"
6196 #elif __cplusplus < 201103L
6198 #error "This is not a C
++11 compiler
"
6205 namespace test_static_assert
6208 template <typename T>
6211 static_assert(sizeof(int) <= sizeof(T), "not big enough
");
6216 namespace test_final_override
6225 struct Derived : public Base
6227 virtual ~Derived() override {}
6228 virtual void f() override {}
6233 namespace test_double_right_angle_brackets
6236 template < typename T >
6239 typedef check<void> single_type;
6240 typedef check<check<void>> double_type;
6241 typedef check<check<check<void>>> triple_type;
6242 typedef check<check<check<check<void>>>> quadruple_type;
6246 namespace test_decltype
6259 namespace test_type_deduction
6262 template < typename T1, typename T2 >
6265 static const bool value = false;
6268 template < typename T >
6269 struct is_same<T, T>
6271 static const bool value = true;
6274 template < typename T1, typename T2 >
6276 add(T1 a1, T2 a2) -> decltype(a1 + a2)
6282 test(const int c, volatile int v)
6284 static_assert(is_same<int, decltype(0)>::value == true, "");
6285 static_assert(is_same<int, decltype(c)>::value == false, "");
6286 static_assert(is_same<int, decltype(v)>::value == false, "");
6289 auto sumi = ac + av + 'x';
6290 auto sumf = ac + av + 1.0;
6291 static_assert(is_same<int, decltype(ac)>::value == true, "");
6292 static_assert(is_same<int, decltype(av)>::value == true, "");
6293 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6294 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6295 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6296 return (sumf > 0.0) ? sumi : add(c, v);
6301 namespace test_noexcept
6304 int f() { return 0; }
6305 int g() noexcept { return 0; }
6307 static_assert(noexcept(f()) == false, "");
6308 static_assert(noexcept(g()) == true, "");
6312 namespace test_constexpr
6315 template < typename CharT >
6316 unsigned long constexpr
6317 strlen_c_r(const CharT *const s, const unsigned long acc) noexcept
6319 return *s ? strlen_c_r(s + 1, acc + 1) : acc;
6322 template < typename CharT >
6323 unsigned long constexpr
6324 strlen_c(const CharT *const s) noexcept
6326 return strlen_c_r(s, 0UL);
6329 static_assert(strlen_c("") == 0UL, "");
6330 static_assert(strlen_c("1") == 1UL, "");
6331 static_assert(strlen_c("example
") == 7UL, "");
6332 static_assert(strlen_c("another\
0example
") == 7UL, "");
6336 namespace test_rvalue_references
6342 static constexpr int value = N;
6345 answer<1> f(int&) { return answer<1>(); }
6346 answer<2> f(const int&) { return answer<2>(); }
6347 answer<3> f(int&&) { return answer<3>(); }
6354 static_assert(decltype(f(i))::value == 1, "");
6355 static_assert(decltype(f(c))::value == 2, "");
6356 static_assert(decltype(f(0))::value == 3, "");
6361 namespace test_uniform_initialization
6366 static const int zero {};
6367 static const int one {1};
6370 static_assert(test::zero == 0, "");
6371 static_assert(test::one == 1, "");
6375 namespace test_lambdas
6381 auto lambda1 = [](){};
6382 auto lambda2 = lambda1;
6390 auto a = [](int i, int j){ return i + j; }(1, 2);
6391 auto b = []() -> int { return '0'; }();
6392 auto c = [=](){ return a + b; }();
6393 auto d = [&](){ return c; }();
6394 auto e = [a, &b](int x) mutable {
6395 const auto identity = [](int y){ return y; };
6396 for (auto i = 0; i < a; ++i)
6398 return x + identity(a + b);
6400 return a + b + c + d + e;
6406 const auto nullary = [](){ return 0; };
6407 const auto unary = [](int x){ return x; };
6408 using nullary_t = decltype(nullary);
6409 using unary_t = decltype(unary);
6410 const auto higher1st = [](nullary_t f){ return f(); };
6411 const auto higher2nd = [unary](nullary_t f1){
6412 return [unary, f1](unary_t f2){ return f2(unary(f1())); };
6414 return higher1st(nullary) + higher2nd(nullary)(unary);
6419 namespace test_variadic_templates
6425 template <int N0, int... N1toN>
6426 struct sum<N0, N1toN...>
6428 static constexpr auto value = N0 + sum<N1toN...>::value;
6434 static constexpr auto value = 0;
6437 static_assert(sum<>::value == 0, "");
6438 static_assert(sum<1>::value == 1, "");
6439 static_assert(sum<23>::value == 23, "");
6440 static_assert(sum<1, 2>::value == 3, "");
6441 static_assert(sum<5, 5, 11>::value == 21, "");
6442 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
6446 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
6447 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function
6449 namespace test_template_alias_sfinae
6454 template<typename T>
6455 using member = typename T::member_type;
6457 template<typename T>
6460 template<typename T>
6461 void func(member<T>*) {}
6465 void test() { func<foo>(0); }
6469 } // namespace cxx11
6471 #endif // __cplusplus >= 201103L
6476 if ac_fn_cxx_try_compile "$LINENO"; then :
6481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6484 eval ac_res=\$$cachevar
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_res" >&5
6486 $as_echo "$ac_res" >&6; }
6487 if eval test x\$$cachevar = xyes; then
6489 if test -n "$CXXCPP" ; then
6490 CXXCPP="$CXXCPP $switch"
6496 if test x$ac_success = xyes; then
6502 ac_cpp='$CPP $CPPFLAGS'
6503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6507 if test x$ax_cxx_compile_cxx11_required = xtrue; then
6508 if test x$ac_success = xno; then
6509 as_fn_error $? "*** A compiler with support
for C
++11 language features is required.
" "$LINENO" 5
6512 if test x$ac_success = xno; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C
++11 support was found
" >&5
6515 $as_echo "$as_me: No compiler with C
++11 support was found
" >&6;}
6519 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
6526 # Used for setting $lt_cv_objdir
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6528 $as_echo_n "checking for objdir... " >&6; }
6529 if ${lt_cv_objdir+:} false
; then :
6530 $as_echo_n "(cached) " >&6
6532 rm -f .libs
2>/dev
/null
6533 mkdir .libs
2>/dev
/null
6534 if test -d .libs
; then
6537 # MS-DOS does not allow filenames that begin with a dot.
6540 rmdir .libs
2>/dev
/null
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6543 $as_echo "$lt_cv_objdir" >&6; }
6544 objdir
=$lt_cv_objdir
6550 cat >>confdefs.h
<<_ACEOF
6551 #define LT_OBJDIR "$lt_cv_objdir/"
6556 # Check for GMP, MPFR and MPC
6557 gmplibs
="-lmpc -lmpfr -lgmp"
6561 # Specify a location for mpc
6562 # check for this first so it ends up on the link line before mpfr.
6564 # Check whether --with-mpc was given.
6565 if test "${with_mpc+set}" = set; then :
6570 # Check whether --with-mpc-include was given.
6571 if test "${with_mpc_include+set}" = set; then :
6572 withval
=$with_mpc_include;
6576 # Check whether --with-mpc-lib was given.
6577 if test "${with_mpc_lib+set}" = set; then :
6578 withval
=$with_mpc_lib;
6582 if test "x$with_mpc" != x
; then
6583 gmplibs
="-L$with_mpc/lib $gmplibs"
6584 gmpinc
="-I$with_mpc/include $gmpinc"
6586 if test "x$with_mpc_include" != x
; then
6587 gmpinc
="-I$with_mpc_include $gmpinc"
6589 if test "x$with_mpc_lib" != x
; then
6590 gmplibs
="-L$with_mpc_lib $gmplibs"
6592 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
6593 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
6594 gmpinc
='-I$$s/mpc/src '"$gmpinc"
6595 # Do not test the mpc version. Assume that it is sufficient, since
6596 # it is in the source tree, and the library has not been built yet
6597 # but it would be included on the link line in the version check below
6598 # hence making the test fail.
6602 # Specify a location for mpfr
6603 # check for this first so it ends up on the link line before gmp.
6605 # Check whether --with-mpfr-dir was given.
6606 if test "${with_mpfr_dir+set}" = set; then :
6607 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
6608 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
6613 # Check whether --with-mpfr was given.
6614 if test "${with_mpfr+set}" = set; then :
6619 # Check whether --with-mpfr-include was given.
6620 if test "${with_mpfr_include+set}" = set; then :
6621 withval
=$with_mpfr_include;
6625 # Check whether --with-mpfr-lib was given.
6626 if test "${with_mpfr_lib+set}" = set; then :
6627 withval
=$with_mpfr_lib;
6631 if test "x$with_mpfr" != x
; then
6632 gmplibs
="-L$with_mpfr/lib $gmplibs"
6633 gmpinc
="-I$with_mpfr/include $gmpinc"
6635 if test "x$with_mpfr_include" != x
; then
6636 gmpinc
="-I$with_mpfr_include $gmpinc"
6638 if test "x$with_mpfr_lib" != x
; then
6639 gmplibs
="-L$with_mpfr_lib $gmplibs"
6641 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
6642 # MPFR v3.1.0 moved the sources into a src sub-directory.
6643 if ! test -d ${srcdir}/mpfr
/src
; then
6644 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
6646 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
6647 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
6648 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
6649 # Do not test the mpfr version. Assume that it is sufficient, since
6650 # it is in the source tree, and the library has not been built yet
6651 # but it would be included on the link line in the version check below
6652 # hence making the test fail.
6656 # Specify a location for gmp
6658 # Check whether --with-gmp-dir was given.
6659 if test "${with_gmp_dir+set}" = set; then :
6660 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
6661 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
6666 # Check whether --with-gmp was given.
6667 if test "${with_gmp+set}" = set; then :
6672 # Check whether --with-gmp-include was given.
6673 if test "${with_gmp_include+set}" = set; then :
6674 withval
=$with_gmp_include;
6678 # Check whether --with-gmp-lib was given.
6679 if test "${with_gmp_lib+set}" = set; then :
6680 withval
=$with_gmp_lib;
6685 if test "x$with_gmp" != x
; then
6686 gmplibs
="-L$with_gmp/lib $gmplibs"
6687 gmpinc
="-I$with_gmp/include $gmpinc"
6689 if test "x$with_gmp_include" != x
; then
6690 gmpinc
="-I$with_gmp_include $gmpinc"
6692 if test "x$with_gmp_lib" != x
; then
6693 gmplibs
="-L$with_gmp_lib $gmplibs"
6695 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
6696 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
6697 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
6698 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
6699 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
6700 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
6701 # Do not test the gmp version. Assume that it is sufficient, since
6702 # it is in the source tree, and the library has not been built yet
6703 # but it would be included on the link line in the version check below
6704 # hence making the test fail.
6708 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
6710 saved_CFLAGS
="$CFLAGS"
6711 CFLAGS
="$CFLAGS $gmpinc"
6712 # Check for the recommended and required versions of GMP.
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
6714 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
6716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6723 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
6724 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
6725 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
6733 if ac_fn_c_try_compile
"$LINENO"; then :
6734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6741 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
6742 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
6743 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
6751 if ac_fn_c_try_compile
"$LINENO"; then :
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6753 $as_echo "yes" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6756 $as_echo "buggy but acceptable" >&6; }
6758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }; have_gmp
=no
6763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6765 # If we have GMP, check the MPFR version.
6766 if test x
"$have_gmp" = xyes
; then
6767 # Check for the recommended and required versions of MPFR.
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
6769 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
6770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6778 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
6786 if ac_fn_c_try_compile
"$LINENO"; then :
6787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h. */
6795 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
6803 if ac_fn_c_try_compile
"$LINENO"; then :
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6805 $as_echo "yes" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6808 $as_echo "buggy but acceptable" >&6; }
6810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }; have_gmp
=no
6815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6818 # Check for the MPC header version.
6819 if test x
"$have_gmp" = xyes
; then
6820 # Check for the recommended and required versions of MPC.
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
6822 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
6823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6830 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
6838 if ac_fn_c_try_compile
"$LINENO"; then :
6839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6840 /* end confdefs.h. */
6846 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
6854 if ac_fn_c_try_compile
"$LINENO"; then :
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6856 $as_echo "yes" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6859 $as_echo "buggy but acceptable" >&6; }
6861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }; have_gmp
=no
6866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6869 # Now check the MPFR library.
6870 if test x
"$have_gmp" = xyes
; then
6872 LIBS
="$LIBS $gmplibs"
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
6874 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6888 mpfr_atan2 (n, n, x, MPFR_RNDN);
6889 mpfr_erfc (n, x, MPFR_RNDN);
6890 mpfr_subnormalize (x, t, MPFR_RNDN);
6894 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
6895 mpc_cosh (c, c, MPC_RNDNN);
6896 mpc_pow (c, c, c, MPC_RNDNN);
6897 mpc_acosh (c, c, MPC_RNDNN);
6904 if ac_fn_c_try_link
"$LINENO"; then :
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6906 $as_echo "yes" >&6; }
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6909 $as_echo "no" >&6; }; have_gmp
=no
6911 rm -f core conftest.err conftest.
$ac_objext \
6912 conftest
$ac_exeext conftest.
$ac_ext
6916 CFLAGS
="$saved_CFLAGS"
6918 # The library versions listed in the error message below should match
6919 # the HARD-minimums enforced above.
6920 if test x
$have_gmp != xyes
; then
6921 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
6922 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
6923 their locations. Source code for these libraries can be found at
6924 their respective hosting sites as well as at
6925 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
6926 http://gcc.gnu.org/install/prerequisites.html for additional info. If
6927 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
6928 make sure that you have installed both the libraries and the header
6929 files. They may be located in separate packages." "$LINENO" 5
6933 # Flags needed for both GMP, MPFR and/or MPC.
6941 # Libraries to use for stage1 or when not bootstrapping.
6943 # Check whether --with-stage1-libs was given.
6944 if test "${with_stage1_libs+set}" = set; then :
6945 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
6948 stage1_libs
=$withval
6956 # Whether or not to use -static-libstdc++ and -static-libgcc. The
6957 # default is yes if gcc is being built; no otherwise. The reason for
6958 # this default is that gdb is sometimes linked against GNU Source
6959 # Highlight, which is a shared library that uses C++ exceptions. In
6960 # this case, -static-libstdc++ will cause crashes.
6962 # Check whether --with-static-standard-libraries was given.
6963 if test "${with_static_standard_libraries+set}" = set; then :
6964 withval
=$with_static_standard_libraries;
6966 with_static_standard_libraries
=auto
6969 if test "$with_static_standard_libraries" = auto
; then
6970 with_static_standard_libraries
=$have_compiler
6973 # Linker flags to use for stage1 or when not bootstrapping.
6975 # Check whether --with-stage1-ldflags was given.
6976 if test "${with_stage1_ldflags+set}" = set; then :
6977 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6980 stage1_ldflags
=$withval
6984 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
6985 # if supported. But if the user explicitly specified the libraries to use,
6986 # trust that they are doing what they want.
6987 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
6988 -a "$have_static_libs" = yes; then
6989 stage1_ldflags
="-static-libstdc++ -static-libgcc"
6995 # Libraries to use for stage2 and later builds.
6997 # Check whether --with-boot-libs was given.
6998 if test "${with_boot_libs+set}" = set; then :
6999 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
7002 poststage1_libs
=$withval
7010 # Linker flags to use for stage2 and later builds.
7012 # Check whether --with-boot-ldflags was given.
7013 if test "${with_boot_ldflags+set}" = set; then :
7014 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
7017 poststage1_ldflags
=$withval
7021 # In stages 2 and 3, default to linking libstdc++ and libgcc
7022 # statically. But if the user explicitly specified the libraries to
7023 # use, trust that they are doing what they want.
7024 if test "$poststage1_libs" = ""; then
7025 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
7031 # GCC GRAPHITE dependency isl.
7032 # Basic setup is inlined here, actual checks are in config/isl.m4
7035 # Check whether --with-isl was given.
7036 if test "${with_isl+set}" = set; then :
7041 # Treat --without-isl as a request to disable
7042 # GRAPHITE support and skip all following checks.
7043 if test "x$with_isl" != "xno"; then
7047 # Check whether --with-isl-include was given.
7048 if test "${with_isl_include+set}" = set; then :
7049 withval
=$with_isl_include;
7053 # Check whether --with-isl-lib was given.
7054 if test "${with_isl_lib+set}" = set; then :
7055 withval
=$with_isl_lib;
7059 # Check whether --enable-isl-version-check was given.
7060 if test "${enable_isl_version_check+set}" = set; then :
7061 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
7063 ENABLE_ISL_CHECK
=yes
7067 # Initialize isllibs and islinc.
7076 isllibs
="-L$with_isl/lib"
7077 islinc
="-I$with_isl/include"
7080 if test "x${with_isl_include}" != x
; then
7081 islinc
="-I$with_isl_include"
7083 if test "x${with_isl_lib}" != x
; then
7084 isllibs
="-L$with_isl_lib"
7086 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
7087 && test -d ${srcdir}/isl
; then
7088 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
7089 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
7092 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
7095 isllibs
="${isllibs} -lisl"
7099 if test "${ENABLE_ISL_CHECK}" = yes ; then
7100 _isl_saved_CFLAGS
=$CFLAGS
7101 _isl_saved_LDFLAGS
=$LDFLAGS
7102 _isl_saved_LIBS
=$LIBS
7104 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
7105 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
7106 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
7109 $as_echo_n "checking for isl 0.15 or later... " >&6; }
7110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7111 /* end confdefs.h. */
7112 #include <isl/schedule.h>
7116 isl_options_set_schedule_serialize_sccs (NULL, 0);
7121 if ac_fn_c_try_link
"$LINENO"; then :
7126 rm -f core conftest.err conftest.
$ac_objext \
7127 conftest
$ac_exeext conftest.
$ac_ext
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
7129 $as_echo "$gcc_cv_isl" >&6; }
7131 if test "${gcc_cv_isl}" = no
; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
7133 $as_echo "required isl version is 0.15 or later" >&6; }
7136 CFLAGS
=$_isl_saved_CFLAGS
7137 LDFLAGS
=$_isl_saved_LDFLAGS
7138 LIBS
=$_isl_saved_LIBS
7146 if test "x${with_isl}" = xno
; then
7147 graphite_requested
=no
7148 elif test "x${with_isl}" != x \
7149 ||
test "x${with_isl_include}" != x \
7150 ||
test "x${with_isl_lib}" != x
; then
7151 graphite_requested
=yes
7153 graphite_requested
=no
7158 if test "${gcc_cv_isl}" = no
; then
7163 if test "${graphite_requested}" = yes \
7164 && test "x${isllibs}" = x \
7165 && test "x${islinc}" = x
; then
7167 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
7173 # If the isl check failed, disable builds of in-tree variant of isl
7174 if test "x$with_isl" = xno ||
7175 test "x$gcc_cv_isl" = xno
; then
7176 noconfigdirs
="$noconfigdirs isl"
7183 # Check for LTO support.
7184 # Check whether --enable-lto was given.
7185 if test "${enable_lto+set}" = set; then :
7186 enableval
=$enable_lto; enable_lto
=$enableval
7188 enable_lto
=yes; default_enable_lto
=yes
7197 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
7198 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
7199 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
7208 if test $target_elf = yes; then :
7209 # ELF platforms build the lto-plugin always.
7210 build_lto_plugin
=yes
7213 if test x
"$default_enable_lto" = x
"yes" ; then
7215 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
7216 # On other non-ELF platforms, LTO has yet to be validated.
7220 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
7221 # It would also be nice to check the binutils support, but we don't
7222 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
7223 # warn during gcc/ subconfigure; unless you're bootstrapping with
7224 # -flto it won't be needed until after installation anyway.
7226 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
7227 *) if test x
"$enable_lto" = x
"yes"; then
7228 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
7233 # Among non-ELF, only Windows platforms support the lto-plugin so far.
7234 # Build it unless LTO was explicitly disabled.
7236 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
7243 # Check whether --enable-linker-plugin-configure-flags was given.
7244 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
7245 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
7247 extra_linker_plugin_configure_flags
=
7251 # Check whether --enable-linker-plugin-flags was given.
7252 if test "${enable_linker_plugin_flags+set}" = set; then :
7253 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
7255 extra_linker_plugin_flags
=
7260 # Enable --enable-host-shared.
7261 # Checked early to determine whether jit is an 'all' language
7262 # Check whether --enable-host-shared was given.
7263 if test "${enable_host_shared+set}" = set; then :
7264 enableval
=$enable_host_shared; host_shared
=$enableval
7271 # By default, C and C++ are the only stage 1 languages.
7272 stage1_languages
=,c
,
7274 # Target libraries that we bootstrap.
7275 bootstrap_target_libs
=,target-libgcc
,
7277 # Figure out what language subdirectories are present.
7278 # Look if the user specified --enable-languages="..."; if not, use
7279 # the environment variable $LANGUAGES if defined. $LANGUAGES might
7281 # NB: embedded tabs in this IF block -- do not untabify
7282 if test -d ${srcdir}/gcc
; then
7283 if test x
"${enable_languages+set}" != xset
; then
7284 if test x
"${LANGUAGES+set}" = xset
; then
7285 enable_languages
="${LANGUAGES}"
7286 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
7288 enable_languages
=default
7291 if test x
"${enable_languages}" = x ||
7292 test x
"${enable_languages}" = xyes
;
7294 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
7298 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
7300 # 'f95' is the old name for the 'fortran' language. We issue a warning
7301 # and make the substitution.
7302 case ,${enable_languages}, in
7304 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
7305 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
7309 # If bootstrapping, C++ must be enabled.
7310 case ",$enable_languages,:$enable_bootstrap" in
7313 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
7314 enable_languages
="${enable_languages},c++"
7316 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
7321 # First scan to see if an enabled language requires some other language.
7322 # We assume that a given config-lang.in will list all the language
7323 # front ends it requires, even if some are required indirectly.
7324 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
7325 case ${lang_frag} in
7327 # The odd quoting in the next line works around
7328 # an apparent bug in bash 1.12 on linux.
7329 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
7331 # From the config-lang.in, get $language, $lang_requires, and
7332 # $lang_requires_boot_languages.
7335 lang_requires_boot_languages
=
7336 # set srcdir during sourcing lang_frag to the gcc dir.
7337 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
7338 # polutes this shell
7339 saved_srcdir
=${srcdir}
7340 srcdir
=${srcdir}/gcc .
${lang_frag}
7341 srcdir
=${saved_srcdir}
7342 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
7343 case ,${enable_languages}, in
7348 echo " \`$other' language required by \`$language'; enabling" 1>&2
7349 enable_languages
="${enable_languages},${other}"
7353 for other
in ${lang_requires_boot_languages} ; do
7354 if test "$other" != "c"; then
7355 case ,${enable_stage1_languages}, in
7360 case ,${enable_languages}, in
7362 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
7363 enable_stage1_languages
="$enable_stage1_languages,${other}"
7374 new_enable_languages
=,c
,
7376 # If LTO is enabled, add the LTO front end.
7377 if test "$enable_lto" = "yes" ; then
7378 case ,${enable_languages}, in
7380 *) enable_languages
="${enable_languages},lto" ;;
7382 if test "${build_lto_plugin}" = "yes" ; then
7383 configdirs
="$configdirs lto-plugin"
7387 # If we're building an offloading compiler, add the LTO front end.
7388 if test x
"$enable_as_accelerator_for" != x
; then
7389 case ,${enable_languages}, in
7391 *) enable_languages
="${enable_languages},lto" ;;
7395 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
7396 potential_languages
=,c
,
7398 enabled_target_libs
=
7399 disabled_target_libs
=
7401 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
7402 case ${lang_frag} in
7404 # The odd quoting in the next line works around
7405 # an apparent bug in bash 1.12 on linux.
7406 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
7408 # From the config-lang.in, get $language, $target_libs,
7409 # $lang_dirs, $boot_language, and $build_by_default
7415 build_by_default
=yes
7416 # set srcdir during sourcing. See above about save & restore
7417 saved_srcdir
=${srcdir}
7418 srcdir
=${srcdir}/gcc .
${lang_frag}
7419 srcdir
=${saved_srcdir}
7420 if test x
${language} = x
; then
7421 echo "${lang_frag} doesn't set \$language." 1>&2
7425 if test "$language" = "c++"; then
7430 # C is always enabled, so no need to add it again
7431 if test "$language" != "c"; then
7432 case ,${enable_languages}, in
7434 # Language was explicitly selected; include it
7438 # All languages are enabled
7442 # 'default' was selected, select it if it is a default language
7443 add_this_lang
=${build_by_default}
7448 # Disable languages that need other directories if these aren't available.
7449 for i
in $subdir_requires; do
7450 test -f "$srcdir/gcc/$i/config-lang.in" && continue
7451 case ${add_this_lang} in
7453 # Specifically requested language; tell them.
7454 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
7458 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
7459 add_this_lang
=unsupported
7463 add_this_lang
=unsupported
7468 # Disable Ada if no preexisting GNAT is available.
7469 case ${add_this_lang}:${language}:${have_gnat} in
7471 # Specifically requested language; tell them.
7472 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
7476 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
7477 add_this_lang
=unsupported
7481 add_this_lang
=unsupported
7485 # Disable jit if -enable-host-shared not specified
7486 # but not if building for Mingw. All code in Windows
7487 # is position independent code (PIC).
7491 case ${add_this_lang}:${language}:${host_shared} in
7493 # PR jit/64780: explicitly specify --enable-host-shared
7495 Enabling language \"jit\" requires --enable-host-shared.
7497 --enable-host-shared typically slows the rest of the compiler down by
7498 a few %, so you must explicitly enable it.
7500 If you want to build both the jit and the regular compiler, it is often
7501 best to do this via two separate configure/builds, in separate
7502 directories, to avoid imposing the performance cost of
7503 --enable-host-shared on the regular compiler." "$LINENO" 5
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
7507 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
7508 add_this_lang
=unsupported
7512 add_this_lang
=unsupported
7518 # Disable a language that is unsupported by the target.
7519 case "${add_this_lang}: $unsupported_languages " in
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
7524 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
7525 add_this_lang
=unsupported
7529 case $add_this_lang in
7531 # Remove language-dependent dirs.
7532 disabled_target_libs
="$disabled_target_libs $target_libs"
7533 noconfigdirs
="$noconfigdirs $lang_dirs"
7536 # Remove language-dependent dirs; still show language as supported.
7537 disabled_target_libs
="$disabled_target_libs $target_libs"
7538 noconfigdirs
="$noconfigdirs $lang_dirs"
7539 potential_languages
="${potential_languages}${language},"
7542 new_enable_languages
="${new_enable_languages}${language},"
7543 potential_languages
="${potential_languages}${language},"
7544 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
7545 enabled_target_libs
="$enabled_target_libs $target_libs"
7546 case "${boot_language}:,$enable_stage1_languages," in
7547 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
7548 # Add to (comma-separated) list of stage 1 languages.
7549 case ",$stage1_languages," in
7550 *,$language,* |
,yes, |
,all
,) ;;
7551 *) stage1_languages
="${stage1_languages}${language}," ;;
7553 # We need to bootstrap any supporting libraries.
7554 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
7563 # Add target libraries which are only needed for disabled languages
7565 if test -n "$disabled_target_libs"; then
7566 for dir
in $disabled_target_libs; do
7567 case " $enabled_target_libs " in
7569 *) noconfigdirs
="$noconfigdirs $dir" ;;
7574 # Check whether --enable-stage1-languages was given.
7575 if test "${enable_stage1_languages+set}" = set; then :
7576 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
7578 # Set it to something that will have no effect in the loop below
7579 enable_stage1_languages
=c
;;
7581 enable_stage1_languages
=`echo $new_enable_languages | \
7582 sed -e "s/^,//" -e "s/,$//" ` ;;
7584 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
7585 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
7588 # Add "good" languages from enable_stage1_languages to stage1_languages,
7589 # while "bad" languages go in missing_languages. Leave no duplicates.
7590 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
7591 case $potential_languages in
7593 case $stage1_languages in
7595 *) stage1_languages
="$stage1_languages$i," ;;
7598 case $missing_languages in
7600 *) missing_languages
="$missing_languages$i," ;;
7607 # Remove leading/trailing commas that were added for simplicity
7608 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
7609 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
7610 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
7611 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
7613 if test "x$missing_languages" != x
; then
7615 The following requested languages could not be built: ${missing_languages}
7616 Supported languages are: ${potential_languages}" "$LINENO" 5
7618 if test "x$new_enable_languages" != "x$enable_languages"; then
7619 echo The following languages will be built
: ${new_enable_languages}
7620 enable_languages
="$new_enable_languages"
7624 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
7627 # Handle --disable-<component> generically.
7628 for dir
in $configdirs $build_configdirs $target_configdirs ; do
7629 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
7630 varname
=`echo $dirname | sed -e s/+/_/g`
7631 if eval test x\
${enable_${varname}} "=" xno
; then
7632 noconfigdirs
="$noconfigdirs $dir"
7636 # Check for Boehm's garbage collector
7637 # Check whether --enable-objc-gc was given.
7638 if test "${enable_objc_gc+set}" = set; then :
7639 enableval
=$enable_objc_gc;
7643 # Check whether --with-target-bdw-gc was given.
7644 if test "${with_target_bdw_gc+set}" = set; then :
7645 withval
=$with_target_bdw_gc;
7649 # Check whether --with-target-bdw-gc-include was given.
7650 if test "${with_target_bdw_gc_include+set}" = set; then :
7651 withval
=$with_target_bdw_gc_include;
7655 # Check whether --with-target-bdw-gc-lib was given.
7656 if test "${with_target_bdw_gc_lib+set}" = set; then :
7657 withval
=$with_target_bdw_gc_lib;
7661 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
7663 $as_echo_n "checking for bdw garbage collector... " >&6; }
7664 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
7666 $as_echo "using bdw-gc in default locations" >&6; }
7668 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
7669 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
7670 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
7671 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
7674 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
7679 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
7680 case ,${enable_languages}, in
7682 # Disable libitm, libsanitizer if we're not building libstdc++
7683 case "${noconfigdirs}" in
7684 *target-libstdc
++-v3*)
7685 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
7691 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
7695 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
7696 # $build_configdirs and $target_configdirs.
7697 # If we have the source for $noconfigdirs entries, add them to $notsupp.
7700 for dir
in .
$skipdirs $noconfigdirs ; do
7701 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
7702 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7703 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
7704 if test -r $srcdir/$dirname/configure
; then
7705 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7708 notsupp
="$notsupp $dir"
7712 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7713 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
7714 if test -r $srcdir/$dirname/configure
; then
7715 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7718 notsupp
="$notsupp $dir"
7722 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7723 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
7724 if test -r $srcdir/$dirname/configure
; then
7725 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7728 notsupp
="$notsupp $dir"
7734 # Quietly strip out all directories which aren't configurable in this tree.
7735 # This relies on all configurable subdirectories being autoconfiscated, which
7737 build_configdirs_all
="$build_configdirs"
7739 for i
in ${build_configdirs_all} ; do
7740 j
=`echo $i | sed -e s/build-//g`
7741 if test -f ${srcdir}/$j/configure
; then
7742 build_configdirs
="${build_configdirs} $i"
7746 configdirs_all
="$configdirs"
7748 for i
in ${configdirs_all} ; do
7749 if test -f ${srcdir}/$i/configure
; then
7750 configdirs
="${configdirs} $i"
7754 target_configdirs_all
="$target_configdirs"
7756 for i
in ${target_configdirs_all} ; do
7757 j
=`echo $i | sed -e s/target-//g`
7758 if test -f ${srcdir}/$j/configure
; then
7759 target_configdirs
="${target_configdirs} $i"
7763 # libiberty-linker-plugin is special: it doesn't have its own source directory,
7764 # so we have to add it after the preceding checks.
7765 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
7767 case " $configdirs " in
7769 # If we can build libiberty, we can also build libiberty-linker-plugin.
7770 configdirs
="$configdirs libiberty-linker-plugin"
7771 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
7772 --with-libiberty=../libiberty-linker-plugin";;
7774 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
7778 # Sometimes we have special requirements for the host libiberty.
7779 extra_host_libiberty_configure_flags
=
7780 extra_host_zlib_configure_flags
=
7781 case " $configdirs " in
7782 *" lto-plugin "* |
*" libcc1 "*)
7783 # When these are to be built as shared libraries, the same applies to
7785 extra_host_libiberty_configure_flags
=--enable-shared
7788 # When bfd is to be built as a shared library, the same applies to
7790 if test "$enable_shared" = "yes"; then
7791 extra_host_zlib_configure_flags
=--enable-host-shared
7798 # Produce a warning message for the subdirs we can't configure.
7799 # This isn't especially interesting in the Cygnus tree, but in the individual
7800 # FSF releases, it's important to let people know when their machine isn't
7801 # supported by the one or two programs in a package.
7803 if test -n "${notsupp}" && test -z "${norecursion}" ; then
7804 # If $appdirs is non-empty, at least one of those directories must still
7805 # be configured, or we error out. (E.g., if the gas release supports a
7806 # specified target in some subdirs but not the gas subdir, we shouldn't
7807 # pretend that all is well.)
7808 if test -n "$appdirs" ; then
7809 for dir
in $appdirs ; do
7810 if test -r $dir/Makefile.
in ; then
7811 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7815 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
7821 if test -n "$appdirs" ; then
7822 echo "*** This configuration is not supported by this package." 1>&2
7826 # Okay, some application will build, or we don't care to check. Still
7827 # notify of subdirs not getting built.
7828 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
7829 echo " ${notsupp}" 1>&2
7830 echo " (Any other directories should still work fine.)" 1>&2
7838 # To find our prefix, in gcc_cv_tool_prefix.
7840 # The user is always right.
7841 if test "${PATH_SEPARATOR+set}" != set; then
7842 echo "#! /bin/sh" >conf$$.sh
7843 echo "exit 0" >>conf$$.sh
7845 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7854 get_gcc_base_ver
="cat"
7856 # Check whether --with-gcc-major-version-only was given.
7857 if test "${with_gcc_major_version_only+set}" = set; then :
7858 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
7859 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
7869 if test "x$exec_prefix" = xNONE
; then
7870 if test "x$prefix" = xNONE
; then
7871 gcc_cv_tool_prefix
=$ac_default_prefix
7873 gcc_cv_tool_prefix
=$prefix
7876 gcc_cv_tool_prefix
=$exec_prefix
7879 # If there is no compiler in the tree, use the PATH only. In any
7880 # case, if there is no compiler in the tree nobody should use
7881 # AS_FOR_TARGET and LD_FOR_TARGET.
7882 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
7883 if test x
$with_gcc_major_version_only = xyes
; then
7884 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
7886 gcc_version
=`cat $srcdir/gcc/BASE-VER`
7888 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7889 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
7890 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7891 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
7892 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7893 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
7898 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
7899 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
7907 # Check whether --with-build-sysroot was given.
7908 if test "${with_build_sysroot+set}" = set; then :
7909 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
7910 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
7913 SYSROOT_CFLAGS_FOR_TARGET
=
7919 # Check whether --with-debug-prefix-map was given.
7920 if test "${with_debug_prefix_map+set}" = set; then :
7921 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
7922 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7923 for debug_map
in $withval; do
7924 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
7928 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7933 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
7934 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
7935 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
7936 # We want to ensure that TARGET libraries (which we know are built with
7937 # gcc) are built with "-O2 -g", so include those options when setting
7938 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
7939 if test "x$CFLAGS_FOR_TARGET" = x
; then
7940 if test "x${is_cross_compiler}" = xyes
; then
7941 CFLAGS_FOR_TARGET
="-g -O2"
7943 CFLAGS_FOR_TARGET
=$CFLAGS
7946 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
7949 *" -g "* |
*" -g3 "*) ;;
7950 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
7956 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
7957 if test "x${is_cross_compiler}" = xyes
; then
7958 CXXFLAGS_FOR_TARGET
="-g -O2"
7960 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
7961 case " $CXXFLAGS " in
7963 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
7965 case " $CXXFLAGS " in
7966 *" -g "* |
*" -g3 "*) ;;
7967 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
7975 # Handle --with-headers=XXX. If the value is not "yes", the contents of
7976 # the named directory are copied to $(tooldir)/sys-include.
7977 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
7978 if test x
${is_cross_compiler} = xno
; then
7979 echo 1>&2 '***' --with-headers is only supported when cross compiling
7982 if test x
"${with_headers}" != xyes
; then
7983 x
=${gcc_cv_tool_prefix}
7984 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
7988 # Handle --with-libs=XXX. If the value is not "yes", the contents of
7989 # the name directories are copied to $(tooldir)/lib. Multiple directories
7991 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
7992 if test x
${is_cross_compiler} = xno
; then
7993 echo 1>&2 '***' --with-libs is only supported when cross compiling
7996 if test x
"${with_libs}" != xyes
; then
7997 # Copy the libraries in reverse order, so that files in the first named
7998 # library override files in subsequent libraries.
7999 x
=${gcc_cv_tool_prefix}
8000 for l
in ${with_libs}; do
8001 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
8006 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
8008 # This is done by determining whether or not the appropriate directory
8009 # is available, and by checking whether or not specific configurations
8010 # have requested that this magic not happen.
8012 # The command line options always override the explicit settings in
8013 # configure.ac, and the settings in configure.ac override this magic.
8015 # If the default for a toolchain is to use GNU as and ld, and you don't
8016 # want to do that, then you should use the --without-gnu-as and
8017 # --without-gnu-ld options for the configure script. Similarly, if
8018 # the default is to use the included zlib and you don't want to do that,
8019 # you should use the --with-system-zlib option for the configure script.
8021 if test x
${use_gnu_as} = x
&&
8022 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
8024 extra_host_args
="$extra_host_args --with-gnu-as"
8027 if test x
${use_gnu_ld} = x
&&
8028 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
8030 extra_host_args
="$extra_host_args --with-gnu-ld"
8033 if test x
${use_included_zlib} = x
&&
8034 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
8037 with_system_zlib
=yes
8038 extra_host_args
="$extra_host_args --with-system-zlib"
8041 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
8042 # can detect this case.
8044 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
8046 extra_host_args
="$extra_host_args --with-newlib"
8049 # Handle ${copy_dirs}
8050 set fnord
${copy_dirs}
8052 while test $# != 0 ; do
8053 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
8056 echo Copying
$1 to
$2
8058 # Use the install script to create the directory and all required
8059 # parent directories.
8060 if test -d $2 ; then
8064 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
8067 # Copy the directory, assuming we have tar.
8068 # FIXME: Should we use B in the second tar? Not all systems support it.
8069 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
8071 # It is the responsibility of the user to correctly adjust all
8072 # symlinks. If somebody can figure out how to handle them correctly
8073 # here, feel free to add the code.
8080 # Determine a target-dependent exec_prefix that the installed
8081 # gcc will search in. Keep this list sorted by triplet, with
8082 # the *-*-osname triplets last.
8085 i
[34567]86-pc-msdosdjgpp*)
8086 md_exec_prefix
=/dev
/env
/DJDIR
/bin
8091 md_exec_prefix
=/usr
/ccs
/bin
8095 extra_arflags_for_target
=
8096 extra_nmflags_for_target
=
8097 extra_ranlibflags_for_target
=
8098 target_makefile_frag
=/dev
/null
8101 target_makefile_frag
="config/mt-spu"
8103 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
8104 target_makefile_frag
="config/mt-sde"
8106 mipsisa
*-*-elfoabi*)
8107 target_makefile_frag
="config/mt-mips-elfoabi"
8109 mips
*-*-*linux
* | mips
*-*-gnu*)
8110 target_makefile_frag
="config/mt-mips-gnu"
8113 target_makefile_frag
="config/mt-nios2-elf"
8116 target_makefile_frag
="config/mt-android"
8118 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
8119 target_makefile_frag
="config/mt-gnu"
8121 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
8122 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
8123 # commands to handle both 32-bit and 64-bit objects. These flags are
8124 # harmless if we're using GNU nm or ar.
8125 extra_arflags_for_target
=" -X32_64"
8126 extra_nmflags_for_target
=" -B -X32_64"
8130 alphaieee_frag
=/dev
/null
8133 # This just makes sure to use the -mieee option to build target libs.
8134 # This should probably be set individually by each library.
8135 alphaieee_frag
="config/mt-alphaieee"
8139 # If --enable-target-optspace always use -Os instead of -O2 to build
8140 # the target libraries, similarly if it is not specified, use -Os
8141 # on selected platforms.
8142 ospace_frag
=/dev
/null
8143 case "${enable_target_optspace}:${target}" in
8145 ospace_frag
="config/mt-ospace"
8148 ospace_frag
="config/mt-d30v"
8150 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
8151 ospace_frag
="config/mt-ospace"
8156 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
8160 # Some systems (e.g., one of the i386-aix systems the gas testers are
8161 # using) don't handle "\$" correctly, so don't use it here.
8162 tooldir
='${exec_prefix}'/${target_noncanonical}
8163 build_tooldir
=${tooldir}
8165 # Create a .gdbinit file which runs the one in srcdir
8166 # and tells GDB to look there for source files.
8168 if test -r ${srcdir}/.gdbinit
; then
8171 *) cat > .
/.gdbinit
<<EOF
8175 source ${srcdir}/.gdbinit
8181 # Make sure that the compiler is able to generate an executable. If it
8182 # can't, we are probably in trouble. We don't care whether we can run the
8183 # executable--we might be using a cross compiler--we only care whether it
8184 # can be created. At this point the main configure script has set CC.
8186 echo "int main () { return 0; }" > conftest.c
8187 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
8188 if test $?
= 0 ; then
8189 if test -s conftest ||
test -s conftest.exe
; then
8195 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
8196 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
8203 # Decide which environment variable is used to find dynamic libraries.
8205 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
8206 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
8207 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
8208 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
8211 # On systems where the dynamic library environment variable is PATH,
8212 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
8213 # built executables to PATH.
8214 if test "$RPATH_ENVVAR" = PATH
; then
8215 GCC_SHLIB_SUBDIR
=/shlib
8220 # Adjust the toplevel makefile according to whether bootstrap was selected.
8221 case $enable_bootstrap in
8223 bootstrap_suffix
=bootstrap
8224 BUILD_CONFIG
=bootstrap-debug
8227 bootstrap_suffix
=no-bootstrap
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
8233 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
8236 # Check whether --with-build-config was given.
8237 if test "${with_build_config+set}" = set; then :
8238 withval
=$with_build_config; case $with_build_config in
8239 yes) with_build_config
= ;;
8240 no
) with_build_config
= BUILD_CONFIG
= ;;
8245 if test "x${with_build_config}" != x
; then
8246 BUILD_CONFIG
=$with_build_config
8248 case $BUILD_CONFIG in
8250 if echo "int f (void) { return 0; }" > conftest.c
&&
8251 ${CC} -c conftest.c
&&
8252 mv conftest.o conftest.o.g0
&&
8253 ${CC} -c -g conftest.c
&&
8254 mv conftest.o conftest.o.g
&&
8255 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
8260 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
8265 $as_echo "$BUILD_CONFIG" >&6; }
8268 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
8270 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
8271 # Check whether --enable-vtable-verify was given.
8272 if test "${enable_vtable_verify+set}" = set; then :
8273 enableval
=$enable_vtable_verify; case "$enableval" in
8274 yes) enable_vtable_verify
=yes ;;
8275 no
) enable_vtable_verify
=no
;;
8276 *) enable_vtable_verify
=no
;;
8279 enable_vtable_verify
=no
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
8283 $as_echo "$enable_vtable_verify" >&6; }
8285 # Record target_configdirs and the configure arguments for target and
8286 # build configuration in Makefile.
8287 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
8288 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
8289 bootstrap_fixincludes
=no
8291 # If we are building libgomp, bootstrap it.
8292 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
8293 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
8296 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
8297 # or bootstrap-ubsan, bootstrap it.
8298 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
8299 case "$BUILD_CONFIG" in
8300 *bootstrap-asan
* |
*bootstrap-ubsan
* )
8301 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
8302 bootstrap_fixincludes
=yes
8307 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
8308 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
8309 test "$enable_vtable_verify" != no
; then
8310 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
8313 # Determine whether gdb needs tk/tcl or not.
8314 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
8315 # and in that case we want gdb to be built without tk. Ugh!
8316 # In fact I believe gdb is the *only* package directly dependent on tk,
8317 # so we should be able to put the 'maybe's in unconditionally and
8318 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
8319 # 100% sure that that's safe though.
8321 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
8322 case "$enable_gdbtk" in
8326 GDB_TK
="${gdb_tk}" ;;
8328 # Only add the dependency on gdbtk when GDBtk is part of the gdb
8329 # distro. Eventually someone will fix this and move Insight, nee
8330 # gdbtk to a separate directory.
8331 if test -d ${srcdir}/gdb
/gdbtk
; then
8338 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
8339 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
8341 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
8342 # else does, only include them if one of these is built. The Makefile
8343 # provides the ordering, so it's enough here to add to the list.
8344 case " ${configdirs} " in
8346 configdirs
="${configdirs} gnulib gdbsupport"
8349 configdirs
="${configdirs} gnulib gdbsupport"
8353 # Strip out unwanted targets.
8355 # While at that, we remove Makefiles if we were started for recursive
8356 # configuration, so that the top-level Makefile reconfigures them,
8357 # like we used to do when configure itself was recursive.
8359 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
8360 # but now we're fixing up the Makefile ourselves with the additional
8361 # commands passed to AC_CONFIG_FILES. Use separate variables
8362 # extrasub-{build,host,target} not because there is any reason to split
8363 # the substitutions up that way, but only to remain below the limit of
8364 # 99 commands in a script, for HP-UX sed.
8366 # Do not nest @if/@endif or @unless/@endunless pairs, because
8367 # configure will not warn you at all.
8369 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
8370 yes:yes:*\ gold\
*:*,c
++,*) ;;
8371 yes:yes:*\ gold\
*:*)
8372 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
8377 for module
in ${build_configdirs} ; do
8378 if test -z "${no_recursion}" \
8379 && test -f ${build_subdir}/${module}/Makefile
; then
8380 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
8381 rm -f ${build_subdir}/${module}/Makefile
8383 extrasub_build
="$extrasub_build
8384 /^@if build-$module\$/d
8385 /^@endif build-$module\$/d
8386 /^@unless build-$module\$/,/^@endunless build-$module\$/d
8387 /^@if build-$module-$bootstrap_suffix\$/d
8388 /^@endif build-$module-$bootstrap_suffix\$/d
8389 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
8392 for module
in ${configdirs} ; do
8393 if test -z "${no_recursion}"; then
8394 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
8395 if test -f ${file}; then
8396 echo 1>&2 "*** removing ${file} to force reconfigure"
8401 case ${module},${bootstrap_fixincludes} in
8402 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
8403 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
8405 extrasub_host
="$extrasub_host
8407 /^@endif $module\$/d
8408 /^@unless $module\$/,/^@endunless $module\$/d
8409 /^@if $module-$host_bootstrap_suffix\$/d
8410 /^@endif $module-$host_bootstrap_suffix\$/d
8411 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
8414 for module
in ${target_configdirs} ; do
8415 if test -z "${no_recursion}" \
8416 && test -f ${target_subdir}/${module}/Makefile
; then
8417 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
8418 rm -f ${target_subdir}/${module}/Makefile
8421 # We only bootstrap target libraries listed in bootstrap_target_libs.
8422 case $bootstrap_target_libs in
8423 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
8424 *) target_bootstrap_suffix
=no-bootstrap
;;
8427 extrasub_target
="$extrasub_target
8428 /^@if target-$module\$/d
8429 /^@endif target-$module\$/d
8430 /^@unless target-$module\$/,/^@endunless target-$module\$/d
8431 /^@if target-$module-$target_bootstrap_suffix\$/d
8432 /^@endif target-$module-$target_bootstrap_suffix\$/d
8433 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
8436 # Do the final fixup along with target modules.
8437 extrasub_target
="$extrasub_target
8442 # Create the serialization dependencies. This uses a temporary file.
8444 # Check whether --enable-serial-configure was given.
8445 if test "${enable_serial_configure+set}" = set; then :
8446 enableval
=$enable_serial_configure;
8450 case ${enable_serial_configure} in
8452 enable_serial_build_configure
=yes
8453 enable_serial_host_configure
=yes
8454 enable_serial_target_configure
=yes
8458 # These force 'configure's to be done one at a time, to avoid problems
8459 # with contention over a shared config.cache.
8461 echo '# serdep.tmp' > serdep.tmp
8463 test "x${enable_serial_build_configure}" = xyes
&&
8464 for item
in ${build_configdirs} ; do
8467 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
8472 test "x${enable_serial_host_configure}" = xyes
&&
8473 for item
in ${configdirs} ; do
8476 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
8481 test "x${enable_serial_target_configure}" = xyes
&&
8482 for item
in ${target_configdirs} ; do
8485 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
8489 serialization_dependencies
=serdep.tmp
8492 # Base args. Strip norecursion, cache-file, srcdir, host, build,
8493 # target, nonopt, and variable assignments. These are the ones we
8494 # might not want to pass down to subconfigures. The exception being
8495 # --cache-file=/dev/null, which is used to turn off the use of cache
8496 # files altogether, and which should be passed on to subconfigures.
8497 # Also strip program-prefix, program-suffix, and program-transform-name,
8498 # so that we can pass down a consistent program-transform-name.
8503 eval "set -- $ac_configure_args"
8506 if test X
"$skip_next" = X
"yes"; then
8510 if test X
"$keep_next" = X
"yes"; then
8513 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8515 baseargs
="$baseargs '$ac_arg'"
8516 tbaseargs
="$tbaseargs '$ac_arg'"
8521 # Handle separated arguments. Based on the logic generated by
8524 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
8525 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
8526 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
8527 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
8541 --with-* |
--without-*)
8542 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
8546 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
8549 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
8558 mpc | mpfr | gmp | isl
)
8559 # If we're processing --with-$lib, --with-$lib-include or
8560 # --with-$lib-lib, for one of the libs above, and target is
8561 # different from host, don't pass the current argument to any
8562 # target library's configure.
8563 if test x
$is_cross_compiler = xyes
; then
8572 --cache-file=/dev
/null | \
8573 -cache-file=/dev
/null
)
8574 # Handled here to avoid the test to skip args below.
8575 baseargs
="$baseargs '$ac_arg'"
8576 tbaseargs
="$tbaseargs '$ac_arg'"
8577 # Assert: $separate_arg should always be no.
8578 keep_next
=$separate_arg
8594 -program-prefix* | \
8595 -program-suffix* | \
8596 -program-transform-name* )
8597 skip_next
=$separate_arg
8601 # An option. Add it.
8604 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8606 baseargs
="$baseargs '$ac_arg'"
8607 if test X
"$skip_targ" = Xno
; then
8608 tbaseargs
="$tbaseargs '$ac_arg'"
8610 keep_next
=$separate_arg
8613 # Either a variable assignment, or a nonopt (triplet). Don't
8614 # pass it down; let the Makefile handle this.
8619 # Remove the initial space we just introduced and, as these will be
8620 # expanded by make, quote '$'.
8621 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
8623 # Add in --program-transform-name, after --program-prefix and
8624 # --program-suffix have been applied to it. Autoconf has already
8625 # doubled dollar signs and backslashes in program_transform_name; we want
8626 # the backslashes un-doubled, and then the entire thing wrapped in single
8627 # quotes, because this will be expanded first by make and then by the shell.
8628 # Also, because we want to override the logic in subdir configure scripts to
8629 # choose program_transform_name, replace any s,x,x, with s,y,y,.
8630 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
8631 ${program_transform_name}
8633 gcc_transform_name
=`cat conftestsed.out`
8634 rm -f conftestsed.out
8635 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
8636 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
8637 if test "$silent" = yes; then
8638 baseargs
="$baseargs --silent"
8639 tbaseargs
="$tbaseargs --silent"
8641 baseargs
="$baseargs --disable-option-checking"
8642 tbaseargs
="$tbaseargs --disable-option-checking"
8644 # Record and document user additions to sub configure arguments.
8649 # For the build-side libraries, we just need to pretend we're native,
8650 # and not use the same cache file. Multilibs are neither needed nor
8651 # desired. We can't even use the same cache file for all build-side
8652 # libraries, as they're compiled differently; some with C, some with
8653 # C++ or with different feature-enabling options.
8654 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
8656 # For host modules, accept cache file option, or specification as blank.
8657 case "${cache_file}" in
8659 cache_file_option
="" ;;
8660 /* |
[A-Za-z
]:[\\/]* ) # absolute path
8661 cache_file_option
="--cache-file=${cache_file}" ;;
8663 cache_file_option
="--cache-file=../${cache_file}" ;;
8666 # Host dirs don't like to share a cache file either, horribly enough.
8667 # This seems to be due to autoconf 2.5x stupidity.
8668 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
8670 target_configargs
="$target_configargs ${tbaseargs}"
8672 # Passing a --with-cross-host argument lets the target libraries know
8673 # whether they are being built with a cross-compiler or being built
8674 # native. However, it would be better to use other mechanisms to make the
8675 # sorts of decisions they want to make on this basis. Please consider
8676 # this option to be deprecated. FIXME.
8677 if test x
${is_cross_compiler} = xyes
; then
8678 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
8681 # Special user-friendly check for native x86_64-linux build, if
8682 # multilib is not explicitly enabled.
8683 case "$target:$have_compiler:$host:$target:$enable_multilib" in
8684 x86_64-
*linux
*:yes:$build:$build:)
8685 # Make sure we have a development environment that handles 32-bit
8687 echo "int main () { return 0; }" > conftest.c
8688 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
8689 if test $?
= 0 ; then
8690 if test -s conftest ||
test -s conftest.exe
; then
8695 if test x
${dev64} != xyes
; then
8696 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
8701 # Default to --enable-multilib.
8702 if test x
${enable_multilib} = x
; then
8703 target_configargs
="--enable-multilib ${target_configargs}"
8706 # Pass --with-newlib if appropriate. Note that target_configdirs has
8707 # changed from the earlier setting of with_newlib.
8708 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
8709 target_configargs
="--with-newlib ${target_configargs}"
8712 # Different target subdirs use different values of certain variables
8713 # (notably CXX). Worse, multilibs use *lots* of different values.
8714 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
8715 # it doesn't automatically accept command-line overrides of them.
8716 # This means it's not safe for target subdirs to share a cache file,
8717 # which is disgusting, but there you have it. Hopefully this can be
8718 # fixed in future. It's still worthwhile to use a cache file for each
8719 # directory. I think.
8721 # Pass the appropriate --build, --host, --target and --cache-file arguments.
8722 # We need to pass --target, as newer autoconf's requires consistency
8723 # for target_alias and gcc doesn't manage it consistently.
8724 target_configargs
="--cache-file=./config.cache ${target_configargs}"
8727 case " $target_configdirs " in
8729 case " $target_configargs " in
8730 *" --with-newlib "*)
8733 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
8737 # If we're not building GCC, don't discard standard headers.
8738 if test -d ${srcdir}/gcc
; then
8739 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
8741 if test "${build}" != "${host}"; then
8742 # On Canadian crosses, CC_FOR_TARGET will have already been set
8743 # by `configure', so we won't have an opportunity to add -Bgcc/
8744 # to it. This is right: we don't want to search that directory
8745 # for binaries, but we want the header files in there, so add
8747 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
8749 # Someone might think of using the pre-installed headers on
8750 # Canadian crosses, in case the installed compiler is not fully
8751 # compatible with the compiler being built. In this case, it
8752 # would be better to flag an error than risking having
8753 # incompatible object files being constructed. We can't
8754 # guarantee that an error will be flagged, but let's hope the
8755 # compiler will do it, when presented with incompatible header
8760 case "${target}-${is_cross_compiler}" in
8761 i
[3456789]86-*-linux*-no)
8762 # Here host == target, so we don't need to build gcc,
8763 # so we don't want to discard standard headers.
8764 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
8767 # If we're building newlib, use its generic headers last, but search
8768 # for any libc-related directories first (so make it the last -B
8770 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
8772 # If we're building libgloss, find the startup file, simulator library
8773 # and linker script.
8774 case " $target_configdirs " in
8776 # Look for startup file, simulator library and maybe linker script.
8777 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
8778 # Look for libnosys.a in case the target needs it.
8779 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
8780 # Most targets have the linker script in the source directory.
8781 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
8792 x86_64-
*mingw
* |
*-w64-mingw*)
8793 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
8794 # however, use a symlink named 'mingw' in ${prefix} .
8795 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
8798 # MinGW can't be handled as Cygwin above since it does not use newlib.
8799 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'
8803 # Allow the user to override the flags for
8804 # our build compiler if desired.
8805 if test x
"${build}" = x
"${host}" ; then
8806 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
8807 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
8808 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
8811 # On Canadian crosses, we'll be searching the right directories for
8812 # the previously-installed cross compiler, so don't bother to add
8813 # flags for directories within the install tree of the compiler
8814 # being built; programs in there won't even run.
8815 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
8816 # Search for pre-installed headers if nothing else fits.
8817 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
8820 if test "x
${use_gnu_ld}" = x &&
8821 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
8822 # Arrange for us to find uninstalled linker scripts.
8823 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
8826 # Search for other target-specific linker scripts and such.
8829 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
8833 # Makefile fragments.
8834 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
8836 eval fragval=\$$frag
8837 if test $fragval != /dev/null; then
8838 eval $frag=${srcdir}/$fragval
8846 # Miscellanea: directories, flags, etc.
8855 # Build module lists & subconfigure args.
8859 # Host module lists & subconfigure args.
8864 # Target module lists & subconfigure args.
8886 # Generate default definitions for YACC, M4, LEX and other programs that run
8887 # on the build machine. These are used if the Makefile can't locate these
8888 # programs in objdir.
8889 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
8891 for ac_prog in 'bison -y' byacc yacc
8893 # Extract the first word of "$ac_prog", so it can be a program name with args.
8894 set dummy $ac_prog; ac_word=$2
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8896 $as_echo_n "checking
for $ac_word...
" >&6; }
8897 if ${ac_cv_prog_YACC+:} false; then :
8898 $as_echo_n "(cached
) " >&6
8900 if test -n "$YACC"; then
8901 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8907 test -z "$as_dir" && as_dir=.
8908 for ac_exec_ext in '' $ac_executable_extensions; do
8909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8910 ac_cv_prog_YACC="$ac_prog"
8911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8920 YACC=$ac_cv_prog_YACC
8921 if test -n "$YACC"; then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
8923 $as_echo "$YACC" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8926 $as_echo "no
" >&6; }
8930 test -n "$YACC" && break
8932 test -n "$YACC" || YACC="$MISSING bison
-y"
8934 case " $build_configdirs " in
8935 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
8938 for ac_prog in bison
8940 # Extract the first word of "$ac_prog", so it can be a program name with args.
8941 set dummy $ac_prog; ac_word=$2
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8943 $as_echo_n "checking
for $ac_word...
" >&6; }
8944 if ${ac_cv_prog_BISON+:} false; then :
8945 $as_echo_n "(cached
) " >&6
8947 if test -n "$BISON"; then
8948 ac_cv_prog_BISON="$BISON" # Let the user override the test.
8950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 for ac_exec_ext in '' $ac_executable_extensions; do
8956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8957 ac_cv_prog_BISON="$ac_prog"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8967 BISON=$ac_cv_prog_BISON
8968 if test -n "$BISON"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
8970 $as_echo "$BISON" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8973 $as_echo "no
" >&6; }
8977 test -n "$BISON" && break
8979 test -n "$BISON" || BISON="$MISSING bison
"
8981 case " $build_configdirs " in
8982 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
8985 for ac_prog in gm4 gnum4 m4
8987 # Extract the first word of "$ac_prog", so it can be a program name with args.
8988 set dummy $ac_prog; ac_word=$2
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8990 $as_echo_n "checking
for $ac_word...
" >&6; }
8991 if ${ac_cv_prog_M4+:} false; then :
8992 $as_echo_n "(cached
) " >&6
8994 if test -n "$M4"; then
8995 ac_cv_prog_M4="$M4" # Let the user override the test.
8997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9001 test -z "$as_dir" && as_dir=.
9002 for ac_exec_ext in '' $ac_executable_extensions; do
9003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9004 ac_cv_prog_M4="$ac_prog"
9005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9015 if test -n "$M4"; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
9017 $as_echo "$M4" >&6; }
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9020 $as_echo "no
" >&6; }
9024 test -n "$M4" && break
9026 test -n "$M4" || M4="$MISSING m4"
9028 case " $build_configdirs " in
9029 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
9032 for ac_prog in flex lex
9034 # Extract the first word of "$ac_prog", so it can be a program name with args.
9035 set dummy $ac_prog; ac_word=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9037 $as_echo_n "checking
for $ac_word...
" >&6; }
9038 if ${ac_cv_prog_LEX+:} false; then :
9039 $as_echo_n "(cached
) " >&6
9041 if test -n "$LEX"; then
9042 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9048 test -z "$as_dir" && as_dir=.
9049 for ac_exec_ext in '' $ac_executable_extensions; do
9050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9051 ac_cv_prog_LEX="$ac_prog"
9052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9062 if test -n "$LEX"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
9064 $as_echo "$LEX" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9067 $as_echo "no
" >&6; }
9071 test -n "$LEX" && break
9073 test -n "$LEX" || LEX="$MISSING flex
"
9075 case " $build_configdirs " in
9076 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
9077 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
9082 # Extract the first word of "$ac_prog", so it can be a program name with args.
9083 set dummy $ac_prog; ac_word=$2
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9085 $as_echo_n "checking
for $ac_word...
" >&6; }
9086 if ${ac_cv_prog_FLEX+:} false; then :
9087 $as_echo_n "(cached
) " >&6
9089 if test -n "$FLEX"; then
9090 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
9092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9096 test -z "$as_dir" && as_dir=.
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9099 ac_cv_prog_FLEX="$ac_prog"
9100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9109 FLEX=$ac_cv_prog_FLEX
9110 if test -n "$FLEX"; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
9112 $as_echo "$FLEX" >&6; }
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9115 $as_echo "no
" >&6; }
9119 test -n "$FLEX" && break
9121 test -n "$FLEX" || FLEX="$MISSING flex
"
9123 case " $build_configdirs " in
9124 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
9127 for ac_prog in makeinfo
9129 # Extract the first word of "$ac_prog", so it can be a program name with args.
9130 set dummy $ac_prog; ac_word=$2
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9132 $as_echo_n "checking
for $ac_word...
" >&6; }
9133 if ${ac_cv_prog_MAKEINFO+:} false; then :
9134 $as_echo_n "(cached
) " >&6
9136 if test -n "$MAKEINFO"; then
9137 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
9139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9143 test -z "$as_dir" && as_dir=.
9144 for ac_exec_ext in '' $ac_executable_extensions; do
9145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9146 ac_cv_prog_MAKEINFO="$ac_prog"
9147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9156 MAKEINFO=$ac_cv_prog_MAKEINFO
9157 if test -n "$MAKEINFO"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
9159 $as_echo "$MAKEINFO" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9162 $as_echo "no
" >&6; }
9166 test -n "$MAKEINFO" && break
9168 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
9170 case " $build_configdirs " in
9171 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
9174 # For an installed makeinfo, we require it to be from texinfo 4.7 or
9175 # higher, else we use the "missing
" dummy.
9176 if ${MAKEINFO} --version \
9177 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
9180 MAKEINFO="$MISSING makeinfo
"
9186 # FIXME: expect and dejagnu may become build tools?
9188 for ac_prog in expect
9190 # Extract the first word of "$ac_prog", so it can be a program name with args.
9191 set dummy $ac_prog; ac_word=$2
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9193 $as_echo_n "checking
for $ac_word...
" >&6; }
9194 if ${ac_cv_prog_EXPECT+:} false; then :
9195 $as_echo_n "(cached
) " >&6
9197 if test -n "$EXPECT"; then
9198 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
9200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9204 test -z "$as_dir" && as_dir=.
9205 for ac_exec_ext in '' $ac_executable_extensions; do
9206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9207 ac_cv_prog_EXPECT="$ac_prog"
9208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9217 EXPECT=$ac_cv_prog_EXPECT
9218 if test -n "$EXPECT"; then
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
9220 $as_echo "$EXPECT" >&6; }
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9223 $as_echo "no
" >&6; }
9227 test -n "$EXPECT" && break
9229 test -n "$EXPECT" || EXPECT="expect
"
9231 case " $configdirs " in
9233 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
9237 for ac_prog in runtest
9239 # Extract the first word of "$ac_prog", so it can be a program name with args.
9240 set dummy $ac_prog; ac_word=$2
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9242 $as_echo_n "checking
for $ac_word...
" >&6; }
9243 if ${ac_cv_prog_RUNTEST+:} false; then :
9244 $as_echo_n "(cached
) " >&6
9246 if test -n "$RUNTEST"; then
9247 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9253 test -z "$as_dir" && as_dir=.
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9256 ac_cv_prog_RUNTEST="$ac_prog"
9257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9266 RUNTEST=$ac_cv_prog_RUNTEST
9267 if test -n "$RUNTEST"; then
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
9269 $as_echo "$RUNTEST" >&6; }
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9272 $as_echo "no
" >&6; }
9276 test -n "$RUNTEST" && break
9278 test -n "$RUNTEST" || RUNTEST="runtest
"
9280 case " $configdirs " in
9282 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
9289 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
9290 ncn_target_tool_prefix=
9291 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
9295 if test -n "$AR"; then
9297 elif test -n "$ac_cv_prog_AR"; then
9301 if test -n "$ac_cv_prog_AR"; then
9302 for ncn_progname in ar; do
9303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9304 set dummy ${ncn_progname}; ac_word=$2
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9306 $as_echo_n "checking
for $ac_word...
" >&6; }
9307 if ${ac_cv_prog_AR+:} false; then :
9308 $as_echo_n "(cached
) " >&6
9310 if test -n "$AR"; then
9311 ac_cv_prog_AR="$AR" # Let the user override the test.
9313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9317 test -z "$as_dir" && as_dir=.
9318 for ac_exec_ext in '' $ac_executable_extensions; do
9319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9320 ac_cv_prog_AR="${ncn_progname}"
9321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9331 if test -n "$AR"; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
9333 $as_echo "$AR" >&6; }
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9336 $as_echo "no
" >&6; }
9343 for ncn_progname in ar; do
9344 if test -n "$ncn_tool_prefix"; then
9345 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9346 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9348 $as_echo_n "checking
for $ac_word...
" >&6; }
9349 if ${ac_cv_prog_AR+:} false; then :
9350 $as_echo_n "(cached
) " >&6
9352 if test -n "$AR"; then
9353 ac_cv_prog_AR="$AR" # Let the user override the test.
9355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9359 test -z "$as_dir" && as_dir=.
9360 for ac_exec_ext in '' $ac_executable_extensions; do
9361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9362 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
9363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9373 if test -n "$AR"; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
9375 $as_echo "$AR" >&6; }
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9378 $as_echo "no
" >&6; }
9383 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
9384 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9385 set dummy ${ncn_progname}; ac_word=$2
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9387 $as_echo_n "checking
for $ac_word...
" >&6; }
9388 if ${ac_cv_prog_AR+:} false; then :
9389 $as_echo_n "(cached
) " >&6
9391 if test -n "$AR"; then
9392 ac_cv_prog_AR="$AR" # Let the user override the test.
9394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9398 test -z "$as_dir" && as_dir=.
9399 for ac_exec_ext in '' $ac_executable_extensions; do
9400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9401 ac_cv_prog_AR="${ncn_progname}"
9402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9412 if test -n "$AR"; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
9414 $as_echo "$AR" >&6; }
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9417 $as_echo "no
" >&6; }
9422 test -n "$ac_cv_prog_AR" && break
9425 if test -z "$ac_cv_prog_AR" ; then
9427 if test $build = $host ; then
9430 AR="${ncn_tool_prefix}$2"
9436 if test -n "$AS"; then
9438 elif test -n "$ac_cv_prog_AS"; then
9442 if test -n "$ac_cv_prog_AS"; then
9443 for ncn_progname in as; do
9444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9445 set dummy ${ncn_progname}; ac_word=$2
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9447 $as_echo_n "checking
for $ac_word...
" >&6; }
9448 if ${ac_cv_prog_AS+:} false; then :
9449 $as_echo_n "(cached
) " >&6
9451 if test -n "$AS"; then
9452 ac_cv_prog_AS="$AS" # Let the user override the test.
9454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9458 test -z "$as_dir" && as_dir=.
9459 for ac_exec_ext in '' $ac_executable_extensions; do
9460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9461 ac_cv_prog_AS="${ncn_progname}"
9462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9472 if test -n "$AS"; then
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
9474 $as_echo "$AS" >&6; }
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9477 $as_echo "no
" >&6; }
9484 for ncn_progname in as; do
9485 if test -n "$ncn_tool_prefix"; then
9486 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9487 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9489 $as_echo_n "checking
for $ac_word...
" >&6; }
9490 if ${ac_cv_prog_AS+:} false; then :
9491 $as_echo_n "(cached
) " >&6
9493 if test -n "$AS"; then
9494 ac_cv_prog_AS="$AS" # Let the user override the test.
9496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500 test -z "$as_dir" && as_dir=.
9501 for ac_exec_ext in '' $ac_executable_extensions; do
9502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9503 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
9504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9514 if test -n "$AS"; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
9516 $as_echo "$AS" >&6; }
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9519 $as_echo "no
" >&6; }
9524 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
9525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9526 set dummy ${ncn_progname}; ac_word=$2
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9528 $as_echo_n "checking
for $ac_word...
" >&6; }
9529 if ${ac_cv_prog_AS+:} false; then :
9530 $as_echo_n "(cached
) " >&6
9532 if test -n "$AS"; then
9533 ac_cv_prog_AS="$AS" # Let the user override the test.
9535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9539 test -z "$as_dir" && as_dir=.
9540 for ac_exec_ext in '' $ac_executable_extensions; do
9541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9542 ac_cv_prog_AS="${ncn_progname}"
9543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9553 if test -n "$AS"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
9555 $as_echo "$AS" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9558 $as_echo "no
" >&6; }
9563 test -n "$ac_cv_prog_AS" && break
9566 if test -z "$ac_cv_prog_AS" ; then
9568 if test $build = $host ; then
9571 AS="${ncn_tool_prefix}$2"
9577 if test -n "$DLLTOOL"; then
9578 ac_cv_prog_DLLTOOL=$DLLTOOL
9579 elif test -n "$ac_cv_prog_DLLTOOL"; then
9580 DLLTOOL=$ac_cv_prog_DLLTOOL
9583 if test -n "$ac_cv_prog_DLLTOOL"; then
9584 for ncn_progname in dlltool; do
9585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9586 set dummy ${ncn_progname}; ac_word=$2
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9588 $as_echo_n "checking
for $ac_word...
" >&6; }
9589 if ${ac_cv_prog_DLLTOOL+:} false; then :
9590 $as_echo_n "(cached
) " >&6
9592 if test -n "$DLLTOOL"; then
9593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9599 test -z "$as_dir" && as_dir=.
9600 for ac_exec_ext in '' $ac_executable_extensions; do
9601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9602 ac_cv_prog_DLLTOOL="${ncn_progname}"
9603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9612 DLLTOOL=$ac_cv_prog_DLLTOOL
9613 if test -n "$DLLTOOL"; then
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
9615 $as_echo "$DLLTOOL" >&6; }
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9618 $as_echo "no
" >&6; }
9625 for ncn_progname in dlltool; do
9626 if test -n "$ncn_tool_prefix"; then
9627 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9628 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9630 $as_echo_n "checking
for $ac_word...
" >&6; }
9631 if ${ac_cv_prog_DLLTOOL+:} false; then :
9632 $as_echo_n "(cached
) " >&6
9634 if test -n "$DLLTOOL"; then
9635 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9641 test -z "$as_dir" && as_dir=.
9642 for ac_exec_ext in '' $ac_executable_extensions; do
9643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9644 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
9645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9654 DLLTOOL=$ac_cv_prog_DLLTOOL
9655 if test -n "$DLLTOOL"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
9657 $as_echo "$DLLTOOL" >&6; }
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9660 $as_echo "no
" >&6; }
9665 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
9666 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9667 set dummy ${ncn_progname}; ac_word=$2
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9669 $as_echo_n "checking
for $ac_word...
" >&6; }
9670 if ${ac_cv_prog_DLLTOOL+:} false; then :
9671 $as_echo_n "(cached
) " >&6
9673 if test -n "$DLLTOOL"; then
9674 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9680 test -z "$as_dir" && as_dir=.
9681 for ac_exec_ext in '' $ac_executable_extensions; do
9682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9683 ac_cv_prog_DLLTOOL="${ncn_progname}"
9684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9693 DLLTOOL=$ac_cv_prog_DLLTOOL
9694 if test -n "$DLLTOOL"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
9696 $as_echo "$DLLTOOL" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9699 $as_echo "no
" >&6; }
9704 test -n "$ac_cv_prog_DLLTOOL" && break
9707 if test -z "$ac_cv_prog_DLLTOOL" ; then
9709 if test $build = $host ; then
9712 DLLTOOL="${ncn_tool_prefix}$2"
9718 if test -n "$LD"; then
9720 elif test -n "$ac_cv_prog_LD"; then
9724 if test -n "$ac_cv_prog_LD"; then
9725 for ncn_progname in ld; do
9726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9727 set dummy ${ncn_progname}; ac_word=$2
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9729 $as_echo_n "checking
for $ac_word...
" >&6; }
9730 if ${ac_cv_prog_LD+:} false; then :
9731 $as_echo_n "(cached
) " >&6
9733 if test -n "$LD"; then
9734 ac_cv_prog_LD="$LD" # Let the user override the test.
9736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9740 test -z "$as_dir" && as_dir=.
9741 for ac_exec_ext in '' $ac_executable_extensions; do
9742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9743 ac_cv_prog_LD="${ncn_progname}"
9744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9754 if test -n "$LD"; then
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9756 $as_echo "$LD" >&6; }
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9759 $as_echo "no
" >&6; }
9766 for ncn_progname in ld; do
9767 if test -n "$ncn_tool_prefix"; then
9768 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9769 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9771 $as_echo_n "checking
for $ac_word...
" >&6; }
9772 if ${ac_cv_prog_LD+:} false; then :
9773 $as_echo_n "(cached
) " >&6
9775 if test -n "$LD"; then
9776 ac_cv_prog_LD="$LD" # Let the user override the test.
9778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9782 test -z "$as_dir" && as_dir=.
9783 for ac_exec_ext in '' $ac_executable_extensions; do
9784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9785 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
9786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9796 if test -n "$LD"; then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9798 $as_echo "$LD" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9801 $as_echo "no
" >&6; }
9806 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
9807 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9808 set dummy ${ncn_progname}; ac_word=$2
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9810 $as_echo_n "checking
for $ac_word...
" >&6; }
9811 if ${ac_cv_prog_LD+:} false; then :
9812 $as_echo_n "(cached
) " >&6
9814 if test -n "$LD"; then
9815 ac_cv_prog_LD="$LD" # Let the user override the test.
9817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 test -z "$as_dir" && as_dir=.
9822 for ac_exec_ext in '' $ac_executable_extensions; do
9823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9824 ac_cv_prog_LD="${ncn_progname}"
9825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9835 if test -n "$LD"; then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9837 $as_echo "$LD" >&6; }
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9840 $as_echo "no
" >&6; }
9845 test -n "$ac_cv_prog_LD" && break
9848 if test -z "$ac_cv_prog_LD" ; then
9850 if test $build = $host ; then
9853 LD="${ncn_tool_prefix}$2"
9859 if test -n "$LIPO"; then
9860 ac_cv_prog_LIPO=$LIPO
9861 elif test -n "$ac_cv_prog_LIPO"; then
9862 LIPO=$ac_cv_prog_LIPO
9865 if test -n "$ac_cv_prog_LIPO"; then
9866 for ncn_progname in lipo; do
9867 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9868 set dummy ${ncn_progname}; ac_word=$2
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9870 $as_echo_n "checking
for $ac_word...
" >&6; }
9871 if ${ac_cv_prog_LIPO+:} false; then :
9872 $as_echo_n "(cached
) " >&6
9874 if test -n "$LIPO"; then
9875 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9881 test -z "$as_dir" && as_dir=.
9882 for ac_exec_ext in '' $ac_executable_extensions; do
9883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9884 ac_cv_prog_LIPO="${ncn_progname}"
9885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9894 LIPO=$ac_cv_prog_LIPO
9895 if test -n "$LIPO"; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9897 $as_echo "$LIPO" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9900 $as_echo "no
" >&6; }
9907 for ncn_progname in lipo; do
9908 if test -n "$ncn_tool_prefix"; then
9909 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9910 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9912 $as_echo_n "checking
for $ac_word...
" >&6; }
9913 if ${ac_cv_prog_LIPO+:} false; then :
9914 $as_echo_n "(cached
) " >&6
9916 if test -n "$LIPO"; then
9917 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9923 test -z "$as_dir" && as_dir=.
9924 for ac_exec_ext in '' $ac_executable_extensions; do
9925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9926 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
9927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9936 LIPO=$ac_cv_prog_LIPO
9937 if test -n "$LIPO"; then
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9939 $as_echo "$LIPO" >&6; }
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9942 $as_echo "no
" >&6; }
9947 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
9948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9949 set dummy ${ncn_progname}; ac_word=$2
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9951 $as_echo_n "checking
for $ac_word...
" >&6; }
9952 if ${ac_cv_prog_LIPO+:} false; then :
9953 $as_echo_n "(cached
) " >&6
9955 if test -n "$LIPO"; then
9956 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9962 test -z "$as_dir" && as_dir=.
9963 for ac_exec_ext in '' $ac_executable_extensions; do
9964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9965 ac_cv_prog_LIPO="${ncn_progname}"
9966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9975 LIPO=$ac_cv_prog_LIPO
9976 if test -n "$LIPO"; then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9978 $as_echo "$LIPO" >&6; }
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9981 $as_echo "no
" >&6; }
9986 test -n "$ac_cv_prog_LIPO" && break
9989 if test -z "$ac_cv_prog_LIPO" ; then
9991 if test $build = $host ; then
9994 LIPO="${ncn_tool_prefix}$2"
10000 if test -n "$NM"; then
10002 elif test -n "$ac_cv_prog_NM"; then
10006 if test -n "$ac_cv_prog_NM"; then
10007 for ncn_progname in nm; do
10008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10009 set dummy ${ncn_progname}; ac_word=$2
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10011 $as_echo_n "checking
for $ac_word...
" >&6; }
10012 if ${ac_cv_prog_NM+:} false; then :
10013 $as_echo_n "(cached
) " >&6
10015 if test -n "$NM"; then
10016 ac_cv_prog_NM="$NM" # Let the user override the test.
10018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10019 for as_dir in $PATH
10022 test -z "$as_dir" && as_dir=.
10023 for ac_exec_ext in '' $ac_executable_extensions; do
10024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10025 ac_cv_prog_NM="${ncn_progname}"
10026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10036 if test -n "$NM"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
10038 $as_echo "$NM" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10041 $as_echo "no
" >&6; }
10048 for ncn_progname in nm; do
10049 if test -n "$ncn_tool_prefix"; then
10050 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10051 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10053 $as_echo_n "checking
for $ac_word...
" >&6; }
10054 if ${ac_cv_prog_NM+:} false; then :
10055 $as_echo_n "(cached
) " >&6
10057 if test -n "$NM"; then
10058 ac_cv_prog_NM="$NM" # Let the user override the test.
10060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10061 for as_dir in $PATH
10064 test -z "$as_dir" && as_dir=.
10065 for ac_exec_ext in '' $ac_executable_extensions; do
10066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10067 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10078 if test -n "$NM"; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
10080 $as_echo "$NM" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10083 $as_echo "no
" >&6; }
10088 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
10089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10090 set dummy ${ncn_progname}; ac_word=$2
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10092 $as_echo_n "checking
for $ac_word...
" >&6; }
10093 if ${ac_cv_prog_NM+:} false; then :
10094 $as_echo_n "(cached
) " >&6
10096 if test -n "$NM"; then
10097 ac_cv_prog_NM="$NM" # Let the user override the test.
10099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10100 for as_dir in $PATH
10103 test -z "$as_dir" && as_dir=.
10104 for ac_exec_ext in '' $ac_executable_extensions; do
10105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10106 ac_cv_prog_NM="${ncn_progname}"
10107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10117 if test -n "$NM"; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
10119 $as_echo "$NM" >&6; }
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10122 $as_echo "no
" >&6; }
10127 test -n "$ac_cv_prog_NM" && break
10130 if test -z "$ac_cv_prog_NM" ; then
10132 if test $build = $host ; then
10135 NM="${ncn_tool_prefix}$2"
10141 if test -n "$RANLIB"; then
10142 ac_cv_prog_RANLIB=$RANLIB
10143 elif test -n "$ac_cv_prog_RANLIB"; then
10144 RANLIB=$ac_cv_prog_RANLIB
10147 if test -n "$ac_cv_prog_RANLIB"; then
10148 for ncn_progname in ranlib; do
10149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10150 set dummy ${ncn_progname}; ac_word=$2
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10152 $as_echo_n "checking
for $ac_word...
" >&6; }
10153 if ${ac_cv_prog_RANLIB+:} false; then :
10154 $as_echo_n "(cached
) " >&6
10156 if test -n "$RANLIB"; then
10157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10160 for as_dir in $PATH
10163 test -z "$as_dir" && as_dir=.
10164 for ac_exec_ext in '' $ac_executable_extensions; do
10165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10166 ac_cv_prog_RANLIB="${ncn_progname}"
10167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10176 RANLIB=$ac_cv_prog_RANLIB
10177 if test -n "$RANLIB"; then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
10179 $as_echo "$RANLIB" >&6; }
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10182 $as_echo "no
" >&6; }
10189 for ncn_progname in ranlib; do
10190 if test -n "$ncn_tool_prefix"; then
10191 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10192 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10194 $as_echo_n "checking
for $ac_word...
" >&6; }
10195 if ${ac_cv_prog_RANLIB+:} false; then :
10196 $as_echo_n "(cached
) " >&6
10198 if test -n "$RANLIB"; then
10199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10202 for as_dir in $PATH
10205 test -z "$as_dir" && as_dir=.
10206 for ac_exec_ext in '' $ac_executable_extensions; do
10207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10208 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
10209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10218 RANLIB=$ac_cv_prog_RANLIB
10219 if test -n "$RANLIB"; then
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
10221 $as_echo "$RANLIB" >&6; }
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10224 $as_echo "no
" >&6; }
10229 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
10230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10231 set dummy ${ncn_progname}; ac_word=$2
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10233 $as_echo_n "checking
for $ac_word...
" >&6; }
10234 if ${ac_cv_prog_RANLIB+:} false; then :
10235 $as_echo_n "(cached
) " >&6
10237 if test -n "$RANLIB"; then
10238 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10241 for as_dir in $PATH
10244 test -z "$as_dir" && as_dir=.
10245 for ac_exec_ext in '' $ac_executable_extensions; do
10246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10247 ac_cv_prog_RANLIB="${ncn_progname}"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10257 RANLIB=$ac_cv_prog_RANLIB
10258 if test -n "$RANLIB"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
10260 $as_echo "$RANLIB" >&6; }
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10263 $as_echo "no
" >&6; }
10268 test -n "$ac_cv_prog_RANLIB" && break
10271 if test -z "$ac_cv_prog_RANLIB" ; then
10277 if test -n "$STRIP"; then
10278 ac_cv_prog_STRIP=$STRIP
10279 elif test -n "$ac_cv_prog_STRIP"; then
10280 STRIP=$ac_cv_prog_STRIP
10283 if test -n "$ac_cv_prog_STRIP"; then
10284 for ncn_progname in strip; do
10285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10286 set dummy ${ncn_progname}; ac_word=$2
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10288 $as_echo_n "checking
for $ac_word...
" >&6; }
10289 if ${ac_cv_prog_STRIP+:} false; then :
10290 $as_echo_n "(cached
) " >&6
10292 if test -n "$STRIP"; then
10293 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10296 for as_dir in $PATH
10299 test -z "$as_dir" && as_dir=.
10300 for ac_exec_ext in '' $ac_executable_extensions; do
10301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10302 ac_cv_prog_STRIP="${ncn_progname}"
10303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10312 STRIP=$ac_cv_prog_STRIP
10313 if test -n "$STRIP"; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
10315 $as_echo "$STRIP" >&6; }
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10318 $as_echo "no
" >&6; }
10325 for ncn_progname in strip; do
10326 if test -n "$ncn_tool_prefix"; then
10327 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10328 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10330 $as_echo_n "checking
for $ac_word...
" >&6; }
10331 if ${ac_cv_prog_STRIP+:} false; then :
10332 $as_echo_n "(cached
) " >&6
10334 if test -n "$STRIP"; then
10335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10338 for as_dir in $PATH
10341 test -z "$as_dir" && as_dir=.
10342 for ac_exec_ext in '' $ac_executable_extensions; do
10343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10344 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
10345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10354 STRIP=$ac_cv_prog_STRIP
10355 if test -n "$STRIP"; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
10357 $as_echo "$STRIP" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10360 $as_echo "no
" >&6; }
10365 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
10366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10367 set dummy ${ncn_progname}; ac_word=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10369 $as_echo_n "checking
for $ac_word...
" >&6; }
10370 if ${ac_cv_prog_STRIP+:} false; then :
10371 $as_echo_n "(cached
) " >&6
10373 if test -n "$STRIP"; then
10374 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_STRIP="${ncn_progname}"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10393 STRIP=$ac_cv_prog_STRIP
10394 if test -n "$STRIP"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
10396 $as_echo "$STRIP" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10399 $as_echo "no
" >&6; }
10404 test -n "$ac_cv_prog_STRIP" && break
10407 if test -z "$ac_cv_prog_STRIP" ; then
10413 if test -n "$WINDRES"; then
10414 ac_cv_prog_WINDRES=$WINDRES
10415 elif test -n "$ac_cv_prog_WINDRES"; then
10416 WINDRES=$ac_cv_prog_WINDRES
10419 if test -n "$ac_cv_prog_WINDRES"; then
10420 for ncn_progname in windres; do
10421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10422 set dummy ${ncn_progname}; ac_word=$2
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10424 $as_echo_n "checking
for $ac_word...
" >&6; }
10425 if ${ac_cv_prog_WINDRES+:} false; then :
10426 $as_echo_n "(cached
) " >&6
10428 if test -n "$WINDRES"; then
10429 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
10431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10432 for as_dir in $PATH
10435 test -z "$as_dir" && as_dir=.
10436 for ac_exec_ext in '' $ac_executable_extensions; do
10437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10438 ac_cv_prog_WINDRES="${ncn_progname}"
10439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10448 WINDRES=$ac_cv_prog_WINDRES
10449 if test -n "$WINDRES"; then
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
10451 $as_echo "$WINDRES" >&6; }
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10454 $as_echo "no
" >&6; }
10461 for ncn_progname in windres; do
10462 if test -n "$ncn_tool_prefix"; then
10463 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10464 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10466 $as_echo_n "checking
for $ac_word...
" >&6; }
10467 if ${ac_cv_prog_WINDRES+:} false; then :
10468 $as_echo_n "(cached
) " >&6
10470 if test -n "$WINDRES"; then
10471 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10477 test -z "$as_dir" && as_dir=.
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10490 WINDRES=$ac_cv_prog_WINDRES
10491 if test -n "$WINDRES"; then
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
10493 $as_echo "$WINDRES" >&6; }
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10496 $as_echo "no
" >&6; }
10501 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
10502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10503 set dummy ${ncn_progname}; ac_word=$2
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10505 $as_echo_n "checking
for $ac_word...
" >&6; }
10506 if ${ac_cv_prog_WINDRES+:} false; then :
10507 $as_echo_n "(cached
) " >&6
10509 if test -n "$WINDRES"; then
10510 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
10512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10513 for as_dir in $PATH
10516 test -z "$as_dir" && as_dir=.
10517 for ac_exec_ext in '' $ac_executable_extensions; do
10518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10519 ac_cv_prog_WINDRES="${ncn_progname}"
10520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10529 WINDRES=$ac_cv_prog_WINDRES
10530 if test -n "$WINDRES"; then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
10532 $as_echo "$WINDRES" >&6; }
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10535 $as_echo "no
" >&6; }
10540 test -n "$ac_cv_prog_WINDRES" && break
10543 if test -z "$ac_cv_prog_WINDRES" ; then
10545 if test $build = $host ; then
10548 WINDRES="${ncn_tool_prefix}$2"
10554 if test -n "$WINDMC"; then
10555 ac_cv_prog_WINDMC=$WINDMC
10556 elif test -n "$ac_cv_prog_WINDMC"; then
10557 WINDMC=$ac_cv_prog_WINDMC
10560 if test -n "$ac_cv_prog_WINDMC"; then
10561 for ncn_progname in windmc; do
10562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10563 set dummy ${ncn_progname}; ac_word=$2
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10565 $as_echo_n "checking
for $ac_word...
" >&6; }
10566 if ${ac_cv_prog_WINDMC+:} false; then :
10567 $as_echo_n "(cached
) " >&6
10569 if test -n "$WINDMC"; then
10570 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
10572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10573 for as_dir in $PATH
10576 test -z "$as_dir" && as_dir=.
10577 for ac_exec_ext in '' $ac_executable_extensions; do
10578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579 ac_cv_prog_WINDMC="${ncn_progname}"
10580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10589 WINDMC=$ac_cv_prog_WINDMC
10590 if test -n "$WINDMC"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
10592 $as_echo "$WINDMC" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10595 $as_echo "no
" >&6; }
10602 for ncn_progname in windmc; do
10603 if test -n "$ncn_tool_prefix"; then
10604 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10605 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10607 $as_echo_n "checking
for $ac_word...
" >&6; }
10608 if ${ac_cv_prog_WINDMC+:} false; then :
10609 $as_echo_n "(cached
) " >&6
10611 if test -n "$WINDMC"; then
10612 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
10614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10615 for as_dir in $PATH
10618 test -z "$as_dir" && as_dir=.
10619 for ac_exec_ext in '' $ac_executable_extensions; do
10620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10631 WINDMC=$ac_cv_prog_WINDMC
10632 if test -n "$WINDMC"; then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
10634 $as_echo "$WINDMC" >&6; }
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10637 $as_echo "no
" >&6; }
10642 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
10643 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10644 set dummy ${ncn_progname}; ac_word=$2
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10646 $as_echo_n "checking
for $ac_word...
" >&6; }
10647 if ${ac_cv_prog_WINDMC+:} false; then :
10648 $as_echo_n "(cached
) " >&6
10650 if test -n "$WINDMC"; then
10651 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
10653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10654 for as_dir in $PATH
10657 test -z "$as_dir" && as_dir=.
10658 for ac_exec_ext in '' $ac_executable_extensions; do
10659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10660 ac_cv_prog_WINDMC="${ncn_progname}"
10661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10670 WINDMC=$ac_cv_prog_WINDMC
10671 if test -n "$WINDMC"; then
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
10673 $as_echo "$WINDMC" >&6; }
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10676 $as_echo "no
" >&6; }
10681 test -n "$ac_cv_prog_WINDMC" && break
10684 if test -z "$ac_cv_prog_WINDMC" ; then
10686 if test $build = $host ; then
10689 WINDMC="${ncn_tool_prefix}$2"
10695 if test -n "$OBJCOPY"; then
10696 ac_cv_prog_OBJCOPY=$OBJCOPY
10697 elif test -n "$ac_cv_prog_OBJCOPY"; then
10698 OBJCOPY=$ac_cv_prog_OBJCOPY
10701 if test -n "$ac_cv_prog_OBJCOPY"; then
10702 for ncn_progname in objcopy; do
10703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10704 set dummy ${ncn_progname}; ac_word=$2
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10706 $as_echo_n "checking
for $ac_word...
" >&6; }
10707 if ${ac_cv_prog_OBJCOPY+:} false; then :
10708 $as_echo_n "(cached
) " >&6
10710 if test -n "$OBJCOPY"; then
10711 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714 for as_dir in $PATH
10717 test -z "$as_dir" && as_dir=.
10718 for ac_exec_ext in '' $ac_executable_extensions; do
10719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10720 ac_cv_prog_OBJCOPY="${ncn_progname}"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10730 OBJCOPY=$ac_cv_prog_OBJCOPY
10731 if test -n "$OBJCOPY"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10733 $as_echo "$OBJCOPY" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10736 $as_echo "no
" >&6; }
10743 for ncn_progname in objcopy; do
10744 if test -n "$ncn_tool_prefix"; then
10745 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10746 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10748 $as_echo_n "checking
for $ac_word...
" >&6; }
10749 if ${ac_cv_prog_OBJCOPY+:} false; then :
10750 $as_echo_n "(cached
) " >&6
10752 if test -n "$OBJCOPY"; then
10753 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10756 for as_dir in $PATH
10759 test -z "$as_dir" && as_dir=.
10760 for ac_exec_ext in '' $ac_executable_extensions; do
10761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10762 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
10763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10772 OBJCOPY=$ac_cv_prog_OBJCOPY
10773 if test -n "$OBJCOPY"; then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10775 $as_echo "$OBJCOPY" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10778 $as_echo "no
" >&6; }
10783 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
10784 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10785 set dummy ${ncn_progname}; ac_word=$2
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10787 $as_echo_n "checking
for $ac_word...
" >&6; }
10788 if ${ac_cv_prog_OBJCOPY+:} false; then :
10789 $as_echo_n "(cached
) " >&6
10791 if test -n "$OBJCOPY"; then
10792 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in $PATH
10798 test -z "$as_dir" && as_dir=.
10799 for ac_exec_ext in '' $ac_executable_extensions; do
10800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10801 ac_cv_prog_OBJCOPY="${ncn_progname}"
10802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10811 OBJCOPY=$ac_cv_prog_OBJCOPY
10812 if test -n "$OBJCOPY"; then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10814 $as_echo "$OBJCOPY" >&6; }
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10817 $as_echo "no
" >&6; }
10822 test -n "$ac_cv_prog_OBJCOPY" && break
10825 if test -z "$ac_cv_prog_OBJCOPY" ; then
10827 if test $build = $host ; then
10830 OBJCOPY="${ncn_tool_prefix}$2"
10836 if test -n "$OBJDUMP"; then
10837 ac_cv_prog_OBJDUMP=$OBJDUMP
10838 elif test -n "$ac_cv_prog_OBJDUMP"; then
10839 OBJDUMP=$ac_cv_prog_OBJDUMP
10842 if test -n "$ac_cv_prog_OBJDUMP"; then
10843 for ncn_progname in objdump; do
10844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10845 set dummy ${ncn_progname}; ac_word=$2
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10847 $as_echo_n "checking
for $ac_word...
" >&6; }
10848 if ${ac_cv_prog_OBJDUMP+:} false; then :
10849 $as_echo_n "(cached
) " >&6
10851 if test -n "$OBJDUMP"; then
10852 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10855 for as_dir in $PATH
10858 test -z "$as_dir" && as_dir=.
10859 for ac_exec_ext in '' $ac_executable_extensions; do
10860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10861 ac_cv_prog_OBJDUMP="${ncn_progname}"
10862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10871 OBJDUMP=$ac_cv_prog_OBJDUMP
10872 if test -n "$OBJDUMP"; then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10874 $as_echo "$OBJDUMP" >&6; }
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10877 $as_echo "no
" >&6; }
10884 for ncn_progname in objdump; do
10885 if test -n "$ncn_tool_prefix"; then
10886 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10887 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10889 $as_echo_n "checking
for $ac_word...
" >&6; }
10890 if ${ac_cv_prog_OBJDUMP+:} false; then :
10891 $as_echo_n "(cached
) " >&6
10893 if test -n "$OBJDUMP"; then
10894 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10897 for as_dir in $PATH
10900 test -z "$as_dir" && as_dir=.
10901 for ac_exec_ext in '' $ac_executable_extensions; do
10902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10903 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
10904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10913 OBJDUMP=$ac_cv_prog_OBJDUMP
10914 if test -n "$OBJDUMP"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10916 $as_echo "$OBJDUMP" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10919 $as_echo "no
" >&6; }
10924 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
10925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10926 set dummy ${ncn_progname}; ac_word=$2
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10928 $as_echo_n "checking
for $ac_word...
" >&6; }
10929 if ${ac_cv_prog_OBJDUMP+:} false; then :
10930 $as_echo_n "(cached
) " >&6
10932 if test -n "$OBJDUMP"; then
10933 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10936 for as_dir in $PATH
10939 test -z "$as_dir" && as_dir=.
10940 for ac_exec_ext in '' $ac_executable_extensions; do
10941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10942 ac_cv_prog_OBJDUMP="${ncn_progname}"
10943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10952 OBJDUMP=$ac_cv_prog_OBJDUMP
10953 if test -n "$OBJDUMP"; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10955 $as_echo "$OBJDUMP" >&6; }
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10958 $as_echo "no
" >&6; }
10963 test -n "$ac_cv_prog_OBJDUMP" && break
10966 if test -z "$ac_cv_prog_OBJDUMP" ; then
10968 if test $build = $host ; then
10971 OBJDUMP="${ncn_tool_prefix}$2"
10977 if test -n "$OTOOL"; then
10978 ac_cv_prog_OTOOL=$OTOOL
10979 elif test -n "$ac_cv_prog_OTOOL"; then
10980 OTOOL=$ac_cv_prog_OTOOL
10983 if test -n "$ac_cv_prog_OTOOL"; then
10984 for ncn_progname in otool; do
10985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10986 set dummy ${ncn_progname}; ac_word=$2
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10988 $as_echo_n "checking
for $ac_word...
" >&6; }
10989 if ${ac_cv_prog_OTOOL+:} false; then :
10990 $as_echo_n "(cached
) " >&6
10992 if test -n "$OTOOL"; then
10993 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10996 for as_dir in $PATH
10999 test -z "$as_dir" && as_dir=.
11000 for ac_exec_ext in '' $ac_executable_extensions; do
11001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11002 ac_cv_prog_OTOOL="${ncn_progname}"
11003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11012 OTOOL=$ac_cv_prog_OTOOL
11013 if test -n "$OTOOL"; then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
11015 $as_echo "$OTOOL" >&6; }
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11018 $as_echo "no
" >&6; }
11025 for ncn_progname in otool; do
11026 if test -n "$ncn_tool_prefix"; then
11027 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11028 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11030 $as_echo_n "checking
for $ac_word...
" >&6; }
11031 if ${ac_cv_prog_OTOOL+:} false; then :
11032 $as_echo_n "(cached
) " >&6
11034 if test -n "$OTOOL"; then
11035 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11038 for as_dir in $PATH
11041 test -z "$as_dir" && as_dir=.
11042 for ac_exec_ext in '' $ac_executable_extensions; do
11043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11044 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
11045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11054 OTOOL=$ac_cv_prog_OTOOL
11055 if test -n "$OTOOL"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
11057 $as_echo "$OTOOL" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11060 $as_echo "no
" >&6; }
11065 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
11066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11067 set dummy ${ncn_progname}; ac_word=$2
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11069 $as_echo_n "checking
for $ac_word...
" >&6; }
11070 if ${ac_cv_prog_OTOOL+:} false; then :
11071 $as_echo_n "(cached
) " >&6
11073 if test -n "$OTOOL"; then
11074 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11077 for as_dir in $PATH
11080 test -z "$as_dir" && as_dir=.
11081 for ac_exec_ext in '' $ac_executable_extensions; do
11082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11083 ac_cv_prog_OTOOL="${ncn_progname}"
11084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11093 OTOOL=$ac_cv_prog_OTOOL
11094 if test -n "$OTOOL"; then
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
11096 $as_echo "$OTOOL" >&6; }
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11099 $as_echo "no
" >&6; }
11104 test -n "$ac_cv_prog_OTOOL" && break
11107 if test -z "$ac_cv_prog_OTOOL" ; then
11109 if test $build = $host ; then
11112 OTOOL="${ncn_tool_prefix}$2"
11118 if test -n "$READELF"; then
11119 ac_cv_prog_READELF=$READELF
11120 elif test -n "$ac_cv_prog_READELF"; then
11121 READELF=$ac_cv_prog_READELF
11124 if test -n "$ac_cv_prog_READELF"; then
11125 for ncn_progname in readelf; do
11126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11127 set dummy ${ncn_progname}; ac_word=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11129 $as_echo_n "checking
for $ac_word...
" >&6; }
11130 if ${ac_cv_prog_READELF+:} false; then :
11131 $as_echo_n "(cached
) " >&6
11133 if test -n "$READELF"; then
11134 ac_cv_prog_READELF="$READELF" # Let the user override the test.
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11140 test -z "$as_dir" && as_dir=.
11141 for ac_exec_ext in '' $ac_executable_extensions; do
11142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11143 ac_cv_prog_READELF="${ncn_progname}"
11144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11153 READELF=$ac_cv_prog_READELF
11154 if test -n "$READELF"; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
11156 $as_echo "$READELF" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11159 $as_echo "no
" >&6; }
11166 for ncn_progname in readelf; do
11167 if test -n "$ncn_tool_prefix"; then
11168 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
11169 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11171 $as_echo_n "checking
for $ac_word...
" >&6; }
11172 if ${ac_cv_prog_READELF+:} false; then :
11173 $as_echo_n "(cached
) " >&6
11175 if test -n "$READELF"; then
11176 ac_cv_prog_READELF="$READELF" # Let the user override the test.
11178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11179 for as_dir in $PATH
11182 test -z "$as_dir" && as_dir=.
11183 for ac_exec_ext in '' $ac_executable_extensions; do
11184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11185 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
11186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11195 READELF=$ac_cv_prog_READELF
11196 if test -n "$READELF"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
11198 $as_echo "$READELF" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11201 $as_echo "no
" >&6; }
11206 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
11207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11208 set dummy ${ncn_progname}; ac_word=$2
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11210 $as_echo_n "checking
for $ac_word...
" >&6; }
11211 if ${ac_cv_prog_READELF+:} false; then :
11212 $as_echo_n "(cached
) " >&6
11214 if test -n "$READELF"; then
11215 ac_cv_prog_READELF="$READELF" # Let the user override the test.
11217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11218 for as_dir in $PATH
11221 test -z "$as_dir" && as_dir=.
11222 for ac_exec_ext in '' $ac_executable_extensions; do
11223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11224 ac_cv_prog_READELF="${ncn_progname}"
11225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11234 READELF=$ac_cv_prog_READELF
11235 if test -n "$READELF"; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
11237 $as_echo "$READELF" >&6; }
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11240 $as_echo "no
" >&6; }
11245 test -n "$ac_cv_prog_READELF" && break
11248 if test -z "$ac_cv_prog_READELF" ; then
11250 if test $build = $host ; then
11253 READELF="${ncn_tool_prefix}$2"
11264 # Check whether --with-build-time-tools was given.
11265 if test "${with_build_time_tools+set}" = set; then :
11266 withval=$with_build_time_tools; case x"$withval" in
11269 with_build_time_tools=
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
11271 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
11275 with_build_time_tools=
11281 if test -n "$CC_FOR_TARGET"; then
11282 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
11283 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
11284 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
11287 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
11288 for ncn_progname in cc gcc; 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_CC_FOR_TARGET+:} false; then :
11294 $as_echo_n "(cached
) " >&6
11296 if test -n "$CC_FOR_TARGET"; then
11297 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # 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_CC_FOR_TARGET="${ncn_progname}"
11307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11316 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
11317 if test -n "$CC_FOR_TARGET"; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
11319 $as_echo "$CC_FOR_TARGET" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11322 $as_echo "no
" >&6; }
11329 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11330 for ncn_progname in cc gcc; do
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11332 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11333 if test -x $with_build_time_tools/${ncn_progname}; then
11334 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11336 $as_echo "yes" >&6; }
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11340 $as_echo "no
" >&6; }
11345 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
11346 for ncn_progname in cc gcc; do
11347 if test -n "$ncn_target_tool_prefix"; then
11348 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11349 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11351 $as_echo_n "checking
for $ac_word...
" >&6; }
11352 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
11353 $as_echo_n "(cached
) " >&6
11355 if test -n "$CC_FOR_TARGET"; then
11356 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
11358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11359 for as_dir in $PATH
11362 test -z "$as_dir" && as_dir=.
11363 for ac_exec_ext in '' $ac_executable_extensions; do
11364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11365 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11375 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
11376 if test -n "$CC_FOR_TARGET"; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
11378 $as_echo "$CC_FOR_TARGET" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11381 $as_echo "no
" >&6; }
11386 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
11387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11388 set dummy ${ncn_progname}; ac_word=$2
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11390 $as_echo_n "checking
for $ac_word...
" >&6; }
11391 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
11392 $as_echo_n "(cached
) " >&6
11394 if test -n "$CC_FOR_TARGET"; then
11395 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
11397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11398 for as_dir in $PATH
11401 test -z "$as_dir" && as_dir=.
11402 for ac_exec_ext in '' $ac_executable_extensions; do
11403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11404 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
11405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11414 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
11415 if test -n "$CC_FOR_TARGET"; then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
11417 $as_echo "$CC_FOR_TARGET" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11420 $as_echo "no
" >&6; }
11425 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
11429 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
11431 if test $build = $target ; then
11434 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11437 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
11442 if test -n "$CXX_FOR_TARGET"; then
11443 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
11444 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
11445 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
11448 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
11449 for ncn_progname in c++ g++ cxx gxx; do
11450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11451 set dummy ${ncn_progname}; ac_word=$2
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11453 $as_echo_n "checking
for $ac_word...
" >&6; }
11454 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
11455 $as_echo_n "(cached
) " >&6
11457 if test -n "$CXX_FOR_TARGET"; then
11458 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
11460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11461 for as_dir in $PATH
11464 test -z "$as_dir" && as_dir=.
11465 for ac_exec_ext in '' $ac_executable_extensions; do
11466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11467 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
11468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11477 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
11478 if test -n "$CXX_FOR_TARGET"; then
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
11480 $as_echo "$CXX_FOR_TARGET" >&6; }
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11483 $as_echo "no
" >&6; }
11490 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
11491 for ncn_progname in c++ g++ cxx gxx; do
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11493 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11494 if test -x $with_build_time_tools/${ncn_progname}; then
11495 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11497 $as_echo "yes" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11501 $as_echo "no
" >&6; }
11506 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
11507 for ncn_progname in c++ g++ cxx gxx; do
11508 if test -n "$ncn_target_tool_prefix"; then
11509 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11510 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11512 $as_echo_n "checking
for $ac_word...
" >&6; }
11513 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
11514 $as_echo_n "(cached
) " >&6
11516 if test -n "$CXX_FOR_TARGET"; then
11517 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
11519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11520 for as_dir in $PATH
11523 test -z "$as_dir" && as_dir=.
11524 for ac_exec_ext in '' $ac_executable_extensions; do
11525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11526 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11536 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
11537 if test -n "$CXX_FOR_TARGET"; then
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
11539 $as_echo "$CXX_FOR_TARGET" >&6; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11542 $as_echo "no
" >&6; }
11547 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
11548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11549 set dummy ${ncn_progname}; ac_word=$2
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11551 $as_echo_n "checking
for $ac_word...
" >&6; }
11552 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
11553 $as_echo_n "(cached
) " >&6
11555 if test -n "$CXX_FOR_TARGET"; then
11556 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
11558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11559 for as_dir in $PATH
11562 test -z "$as_dir" && as_dir=.
11563 for ac_exec_ext in '' $ac_executable_extensions; do
11564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
11566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11575 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
11576 if test -n "$CXX_FOR_TARGET"; then
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
11578 $as_echo "$CXX_FOR_TARGET" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11581 $as_echo "no
" >&6; }
11586 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
11590 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
11591 set dummy c++ g++ cxx gxx
11592 if test $build = $target ; then
11593 CXX_FOR_TARGET="$2"
11595 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
11598 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
11603 if test -n "$GCC_FOR_TARGET"; then
11604 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
11605 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
11606 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
11609 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
11610 for ncn_progname in gcc; do
11611 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11612 set dummy ${ncn_progname}; ac_word=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11614 $as_echo_n "checking
for $ac_word...
" >&6; }
11615 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
11616 $as_echo_n "(cached
) " >&6
11618 if test -n "$GCC_FOR_TARGET"; then
11619 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
11621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11622 for as_dir in $PATH
11625 test -z "$as_dir" && as_dir=.
11626 for ac_exec_ext in '' $ac_executable_extensions; do
11627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11628 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
11629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11638 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
11639 if test -n "$GCC_FOR_TARGET"; then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
11641 $as_echo "$GCC_FOR_TARGET" >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11644 $as_echo "no
" >&6; }
11651 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11652 for ncn_progname in gcc; do
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11654 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11655 if test -x $with_build_time_tools/${ncn_progname}; then
11656 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11658 $as_echo "yes" >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11662 $as_echo "no
" >&6; }
11667 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
11668 for ncn_progname in gcc; do
11669 if test -n "$ncn_target_tool_prefix"; then
11670 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11671 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11673 $as_echo_n "checking
for $ac_word...
" >&6; }
11674 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
11675 $as_echo_n "(cached
) " >&6
11677 if test -n "$GCC_FOR_TARGET"; then
11678 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
11680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11681 for as_dir in $PATH
11684 test -z "$as_dir" && as_dir=.
11685 for ac_exec_ext in '' $ac_executable_extensions; do
11686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11687 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11697 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
11698 if test -n "$GCC_FOR_TARGET"; then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
11700 $as_echo "$GCC_FOR_TARGET" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11703 $as_echo "no
" >&6; }
11708 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
11709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11710 set dummy ${ncn_progname}; ac_word=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11712 $as_echo_n "checking
for $ac_word...
" >&6; }
11713 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
11714 $as_echo_n "(cached
) " >&6
11716 if test -n "$GCC_FOR_TARGET"; then
11717 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $PATH
11723 test -z "$as_dir" && as_dir=.
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
11727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11736 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
11737 if test -n "$GCC_FOR_TARGET"; then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
11739 $as_echo "$GCC_FOR_TARGET" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11742 $as_echo "no
" >&6; }
11747 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
11751 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
11752 GCC_FOR_TARGET="${CC_FOR_TARGET}"
11754 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
11759 if test -n "$GFORTRAN_FOR_TARGET"; then
11760 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
11761 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
11762 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11765 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
11766 for ncn_progname in gfortran; do
11767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11768 set dummy ${ncn_progname}; ac_word=$2
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11770 $as_echo_n "checking
for $ac_word...
" >&6; }
11771 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11772 $as_echo_n "(cached
) " >&6
11774 if test -n "$GFORTRAN_FOR_TARGET"; then
11775 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $PATH
11781 test -z "$as_dir" && as_dir=.
11782 for ac_exec_ext in '' $ac_executable_extensions; do
11783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11794 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11795 if test -n "$GFORTRAN_FOR_TARGET"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11797 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11800 $as_echo "no
" >&6; }
11807 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
11808 for ncn_progname in gfortran; do
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11810 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11811 if test -x $with_build_time_tools/${ncn_progname}; then
11812 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11814 $as_echo "yes" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11818 $as_echo "no
" >&6; }
11823 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
11824 for ncn_progname in gfortran; do
11825 if test -n "$ncn_target_tool_prefix"; then
11826 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11827 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11829 $as_echo_n "checking
for $ac_word...
" >&6; }
11830 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11831 $as_echo_n "(cached
) " >&6
11833 if test -n "$GFORTRAN_FOR_TARGET"; then
11834 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $PATH
11840 test -z "$as_dir" && as_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11843 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11853 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11854 if test -n "$GFORTRAN_FOR_TARGET"; then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11856 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11859 $as_echo "no
" >&6; }
11864 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
11865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11866 set dummy ${ncn_progname}; ac_word=$2
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11868 $as_echo_n "checking
for $ac_word...
" >&6; }
11869 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11870 $as_echo_n "(cached
) " >&6
11872 if test -n "$GFORTRAN_FOR_TARGET"; then
11873 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11876 for as_dir in $PATH
11879 test -z "$as_dir" && as_dir=.
11880 for ac_exec_ext in '' $ac_executable_extensions; do
11881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11882 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11892 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11893 if test -n "$GFORTRAN_FOR_TARGET"; then
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11895 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11898 $as_echo "no
" >&6; }
11903 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
11907 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
11909 if test $build = $target ; then
11910 GFORTRAN_FOR_TARGET="$2"
11912 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
11915 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
11920 if test -n "$GOC_FOR_TARGET"; then
11921 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
11922 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11923 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11926 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11927 for ncn_progname in gccgo; do
11928 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11929 set dummy ${ncn_progname}; ac_word=$2
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11931 $as_echo_n "checking
for $ac_word...
" >&6; }
11932 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11933 $as_echo_n "(cached
) " >&6
11935 if test -n "$GOC_FOR_TARGET"; then
11936 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11939 for as_dir in $PATH
11942 test -z "$as_dir" && as_dir=.
11943 for ac_exec_ext in '' $ac_executable_extensions; do
11944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11945 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11955 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11956 if test -n "$GOC_FOR_TARGET"; then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11958 $as_echo "$GOC_FOR_TARGET" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11961 $as_echo "no
" >&6; }
11968 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11969 for ncn_progname in gccgo; do
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11971 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11972 if test -x $with_build_time_tools/${ncn_progname}; then
11973 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11975 $as_echo "yes" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11979 $as_echo "no
" >&6; }
11984 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
11985 for ncn_progname in gccgo; do
11986 if test -n "$ncn_target_tool_prefix"; then
11987 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11988 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11990 $as_echo_n "checking
for $ac_word...
" >&6; }
11991 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11992 $as_echo_n "(cached
) " >&6
11994 if test -n "$GOC_FOR_TARGET"; then
11995 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11998 for as_dir in $PATH
12001 test -z "$as_dir" && as_dir=.
12002 for ac_exec_ext in '' $ac_executable_extensions; do
12003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12004 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12014 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
12015 if test -n "$GOC_FOR_TARGET"; then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
12017 $as_echo "$GOC_FOR_TARGET" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12020 $as_echo "no
" >&6; }
12025 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
12026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12027 set dummy ${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_GOC_FOR_TARGET+:} false; then :
12031 $as_echo_n "(cached
) " >&6
12033 if test -n "$GOC_FOR_TARGET"; then
12034 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # 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_GOC_FOR_TARGET="${ncn_progname}"
12044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12053 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
12054 if test -n "$GOC_FOR_TARGET"; then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
12056 $as_echo "$GOC_FOR_TARGET" >&6; }
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12059 $as_echo "no
" >&6; }
12064 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
12068 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
12070 if test $build = $target ; then
12071 GOC_FOR_TARGET="$2"
12073 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12076 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
12081 if test -n "$GDC_FOR_TARGET"; then
12082 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
12083 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
12084 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
12087 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
12088 for ncn_progname in gdc; do
12089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12090 set dummy ${ncn_progname}; ac_word=$2
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12092 $as_echo_n "checking
for $ac_word...
" >&6; }
12093 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
12094 $as_echo_n "(cached
) " >&6
12096 if test -n "$GDC_FOR_TARGET"; then
12097 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
12099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100 for as_dir in $PATH
12103 test -z "$as_dir" && as_dir=.
12104 for ac_exec_ext in '' $ac_executable_extensions; do
12105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12106 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
12107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12116 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
12117 if test -n "$GDC_FOR_TARGET"; then
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
12119 $as_echo "$GDC_FOR_TARGET" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12122 $as_echo "no
" >&6; }
12129 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12130 for ncn_progname in gdc; do
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12132 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12133 if test -x $with_build_time_tools/${ncn_progname}; then
12134 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12136 $as_echo "yes" >&6; }
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12140 $as_echo "no
" >&6; }
12145 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
12146 for ncn_progname in gdc; do
12147 if test -n "$ncn_target_tool_prefix"; then
12148 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12149 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12151 $as_echo_n "checking
for $ac_word...
" >&6; }
12152 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
12153 $as_echo_n "(cached
) " >&6
12155 if test -n "$GDC_FOR_TARGET"; then
12156 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12162 test -z "$as_dir" && as_dir=.
12163 for ac_exec_ext in '' $ac_executable_extensions; do
12164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12165 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12175 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
12176 if test -n "$GDC_FOR_TARGET"; then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
12178 $as_echo "$GDC_FOR_TARGET" >&6; }
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12181 $as_echo "no
" >&6; }
12186 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
12187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12188 set dummy ${ncn_progname}; ac_word=$2
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12190 $as_echo_n "checking
for $ac_word...
" >&6; }
12191 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
12192 $as_echo_n "(cached
) " >&6
12194 if test -n "$GDC_FOR_TARGET"; then
12195 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
12197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12198 for as_dir in $PATH
12201 test -z "$as_dir" && as_dir=.
12202 for ac_exec_ext in '' $ac_executable_extensions; do
12203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
12205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12214 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
12215 if test -n "$GDC_FOR_TARGET"; then
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
12217 $as_echo "$GDC_FOR_TARGET" >&6; }
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12220 $as_echo "no
" >&6; }
12225 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
12229 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
12231 if test $build = $target ; then
12232 GDC_FOR_TARGET="$2"
12234 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12237 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
12242 cat > conftest.c << \EOF
12247 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
12248 have_gcc_for_target=yes
12250 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
12251 have_gcc_for_target=no
12258 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
12259 if test -n "$with_build_time_tools"; then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
12261 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
12262 if test -x $with_build_time_tools/ar; then
12263 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
12264 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
12266 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12269 $as_echo "no
" >&6; }
12271 elif test $build != $host && test $have_gcc_for_target = yes; then
12272 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
12273 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
12274 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
12277 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12278 # Extract the first word of "ar", so it can be a program name with args.
12279 set dummy ar; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12281 $as_echo_n "checking
for $ac_word...
" >&6; }
12282 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
12283 $as_echo_n "(cached
) " >&6
12285 case $AR_FOR_TARGET in
12287 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
12290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291 for as_dir in $gcc_cv_tool_dirs
12294 test -z "$as_dir" && as_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12308 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
12309 if test -n "$AR_FOR_TARGET"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
12311 $as_echo "$AR_FOR_TARGET" >&6; }
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12314 $as_echo "no
" >&6; }
12319 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
12322 if test -n "$AR_FOR_TARGET"; then
12323 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
12324 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
12325 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
12328 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
12329 for ncn_progname in ar; do
12330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12331 set dummy ${ncn_progname}; ac_word=$2
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12333 $as_echo_n "checking
for $ac_word...
" >&6; }
12334 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
12335 $as_echo_n "(cached
) " >&6
12337 if test -n "$AR_FOR_TARGET"; then
12338 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12341 for as_dir in $PATH
12344 test -z "$as_dir" && as_dir=.
12345 for ac_exec_ext in '' $ac_executable_extensions; do
12346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12347 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
12348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12357 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
12358 if test -n "$AR_FOR_TARGET"; then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
12360 $as_echo "$AR_FOR_TARGET" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12363 $as_echo "no
" >&6; }
12370 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
12371 for ncn_progname in ar; do
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12373 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12374 if test -x $with_build_time_tools/${ncn_progname}; then
12375 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12377 $as_echo "yes" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12381 $as_echo "no
" >&6; }
12386 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
12387 for ncn_progname in ar; do
12388 if test -n "$ncn_target_tool_prefix"; then
12389 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12390 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12392 $as_echo_n "checking
for $ac_word...
" >&6; }
12393 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
12394 $as_echo_n "(cached
) " >&6
12396 if test -n "$AR_FOR_TARGET"; then
12397 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
12399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12400 for as_dir in $PATH
12403 test -z "$as_dir" && as_dir=.
12404 for ac_exec_ext in '' $ac_executable_extensions; do
12405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12406 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12416 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
12417 if test -n "$AR_FOR_TARGET"; then
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
12419 $as_echo "$AR_FOR_TARGET" >&6; }
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12422 $as_echo "no
" >&6; }
12427 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
12428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12429 set dummy ${ncn_progname}; ac_word=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12431 $as_echo_n "checking
for $ac_word...
" >&6; }
12432 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
12433 $as_echo_n "(cached
) " >&6
12435 if test -n "$AR_FOR_TARGET"; then
12436 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
12438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12439 for as_dir in $PATH
12442 test -z "$as_dir" && as_dir=.
12443 for ac_exec_ext in '' $ac_executable_extensions; do
12444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12445 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
12446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12455 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
12456 if test -n "$AR_FOR_TARGET"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
12458 $as_echo "$AR_FOR_TARGET" >&6; }
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12461 $as_echo "no
" >&6; }
12466 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
12470 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
12472 if test $build = $target ; then
12475 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
12478 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
12482 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
12488 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
12489 if test -n "$with_build_time_tools"; then
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
12491 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
12492 if test -x $with_build_time_tools/as; then
12493 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
12494 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
12496 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12499 $as_echo "no
" >&6; }
12501 elif test $build != $host && test $have_gcc_for_target = yes; then
12502 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
12503 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
12504 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
12507 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12508 # Extract the first word of "as
", so it can be a program name with args.
12509 set dummy as; ac_word=$2
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12511 $as_echo_n "checking
for $ac_word...
" >&6; }
12512 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
12513 $as_echo_n "(cached
) " >&6
12515 case $AS_FOR_TARGET in
12517 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
12520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12521 for as_dir in $gcc_cv_tool_dirs
12524 test -z "$as_dir" && as_dir=.
12525 for ac_exec_ext in '' $ac_executable_extensions; do
12526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12527 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12528 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12538 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
12539 if test -n "$AS_FOR_TARGET"; then
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
12541 $as_echo "$AS_FOR_TARGET" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12544 $as_echo "no
" >&6; }
12549 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
12552 if test -n "$AS_FOR_TARGET"; then
12553 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
12554 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
12555 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
12558 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
12559 for ncn_progname in as; do
12560 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12561 set dummy ${ncn_progname}; ac_word=$2
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12563 $as_echo_n "checking
for $ac_word...
" >&6; }
12564 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
12565 $as_echo_n "(cached
) " >&6
12567 if test -n "$AS_FOR_TARGET"; then
12568 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $PATH
12574 test -z "$as_dir" && as_dir=.
12575 for ac_exec_ext in '' $ac_executable_extensions; do
12576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12577 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
12578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12587 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
12588 if test -n "$AS_FOR_TARGET"; then
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
12590 $as_echo "$AS_FOR_TARGET" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12593 $as_echo "no
" >&6; }
12600 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
12601 for ncn_progname in as; do
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12603 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12604 if test -x $with_build_time_tools/${ncn_progname}; then
12605 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12607 $as_echo "yes" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12611 $as_echo "no
" >&6; }
12616 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
12617 for ncn_progname in as; do
12618 if test -n "$ncn_target_tool_prefix"; then
12619 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12620 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12622 $as_echo_n "checking
for $ac_word...
" >&6; }
12623 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
12624 $as_echo_n "(cached
) " >&6
12626 if test -n "$AS_FOR_TARGET"; then
12627 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
12629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12630 for as_dir in $PATH
12633 test -z "$as_dir" && as_dir=.
12634 for ac_exec_ext in '' $ac_executable_extensions; do
12635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12636 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12646 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
12647 if test -n "$AS_FOR_TARGET"; then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
12649 $as_echo "$AS_FOR_TARGET" >&6; }
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12652 $as_echo "no
" >&6; }
12657 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
12658 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12659 set dummy ${ncn_progname}; ac_word=$2
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12661 $as_echo_n "checking
for $ac_word...
" >&6; }
12662 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
12663 $as_echo_n "(cached
) " >&6
12665 if test -n "$AS_FOR_TARGET"; then
12666 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
12668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12669 for as_dir in $PATH
12672 test -z "$as_dir" && as_dir=.
12673 for ac_exec_ext in '' $ac_executable_extensions; do
12674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12675 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
12676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12685 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
12686 if test -n "$AS_FOR_TARGET"; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
12688 $as_echo "$AS_FOR_TARGET" >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12691 $as_echo "no
" >&6; }
12696 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
12700 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
12702 if test $build = $target ; then
12705 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
12708 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
12712 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
12718 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
12719 if test -n "$with_build_time_tools"; then
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
12721 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
12722 if test -x $with_build_time_tools/dlltool; then
12723 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
12724 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
12726 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12729 $as_echo "no
" >&6; }
12731 elif test $build != $host && test $have_gcc_for_target = yes; then
12732 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
12733 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
12734 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
12737 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12738 # Extract the first word of "dlltool
", so it can be a program name with args.
12739 set dummy dlltool; ac_word=$2
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12741 $as_echo_n "checking
for $ac_word...
" >&6; }
12742 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
12743 $as_echo_n "(cached
) " >&6
12745 case $DLLTOOL_FOR_TARGET in
12747 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
12750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12751 for as_dir in $gcc_cv_tool_dirs
12754 test -z "$as_dir" && as_dir=.
12755 for ac_exec_ext in '' $ac_executable_extensions; do
12756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12757 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12768 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
12769 if test -n "$DLLTOOL_FOR_TARGET"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
12771 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12774 $as_echo "no
" >&6; }
12779 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
12782 if test -n "$DLLTOOL_FOR_TARGET"; then
12783 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
12784 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
12785 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
12788 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
12789 for ncn_progname in dlltool; do
12790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12791 set dummy ${ncn_progname}; ac_word=$2
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12793 $as_echo_n "checking
for $ac_word...
" >&6; }
12794 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
12795 $as_echo_n "(cached
) " >&6
12797 if test -n "$DLLTOOL_FOR_TARGET"; then
12798 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $PATH
12804 test -z "$as_dir" && as_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12807 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
12808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12817 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
12818 if test -n "$DLLTOOL_FOR_TARGET"; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
12820 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12823 $as_echo "no
" >&6; }
12830 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
12831 for ncn_progname in dlltool; do
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12833 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12834 if test -x $with_build_time_tools/${ncn_progname}; then
12835 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12837 $as_echo "yes" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12841 $as_echo "no
" >&6; }
12846 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
12847 for ncn_progname in dlltool; do
12848 if test -n "$ncn_target_tool_prefix"; then
12849 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12850 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12852 $as_echo_n "checking
for $ac_word...
" >&6; }
12853 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
12854 $as_echo_n "(cached
) " >&6
12856 if test -n "$DLLTOOL_FOR_TARGET"; then
12857 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
12859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12860 for as_dir in $PATH
12863 test -z "$as_dir" && as_dir=.
12864 for ac_exec_ext in '' $ac_executable_extensions; do
12865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12866 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12876 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
12877 if test -n "$DLLTOOL_FOR_TARGET"; then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
12879 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12882 $as_echo "no
" >&6; }
12887 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
12888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12889 set dummy ${ncn_progname}; ac_word=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12891 $as_echo_n "checking
for $ac_word...
" >&6; }
12892 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
12893 $as_echo_n "(cached
) " >&6
12895 if test -n "$DLLTOOL_FOR_TARGET"; then
12896 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
12898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12899 for as_dir in $PATH
12902 test -z "$as_dir" && as_dir=.
12903 for ac_exec_ext in '' $ac_executable_extensions; do
12904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12905 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
12906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12915 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
12916 if test -n "$DLLTOOL_FOR_TARGET"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
12918 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12921 $as_echo "no
" >&6; }
12926 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
12930 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
12932 if test $build = $target ; then
12933 DLLTOOL_FOR_TARGET="$2"
12935 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
12938 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
12942 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
12948 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12949 if test -n "$with_build_time_tools"; then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
12951 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
12952 if test -x $with_build_time_tools/ld; then
12953 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
12954 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
12956 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12959 $as_echo "no
" >&6; }
12961 elif test $build != $host && test $have_gcc_for_target = yes; then
12962 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
12963 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
12964 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
12967 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12968 # Extract the first word of "ld
", so it can be a program name with args.
12969 set dummy ld; ac_word=$2
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12971 $as_echo_n "checking
for $ac_word...
" >&6; }
12972 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
12973 $as_echo_n "(cached
) " >&6
12975 case $LD_FOR_TARGET in
12977 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
12980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981 for as_dir in $gcc_cv_tool_dirs
12984 test -z "$as_dir" && as_dir=.
12985 for ac_exec_ext in '' $ac_executable_extensions; do
12986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12987 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12998 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12999 if test -n "$LD_FOR_TARGET"; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
13001 $as_echo "$LD_FOR_TARGET" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13004 $as_echo "no
" >&6; }
13009 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
13012 if test -n "$LD_FOR_TARGET"; then
13013 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
13014 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
13015 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
13018 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
13019 for ncn_progname in ld; do
13020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13021 set dummy ${ncn_progname}; ac_word=$2
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13023 $as_echo_n "checking
for $ac_word...
" >&6; }
13024 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
13025 $as_echo_n "(cached
) " >&6
13027 if test -n "$LD_FOR_TARGET"; then
13028 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
13030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13031 for as_dir in $PATH
13034 test -z "$as_dir" && as_dir=.
13035 for ac_exec_ext in '' $ac_executable_extensions; do
13036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13037 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
13038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13047 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
13048 if test -n "$LD_FOR_TARGET"; then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
13050 $as_echo "$LD_FOR_TARGET" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13053 $as_echo "no
" >&6; }
13060 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
13061 for ncn_progname in ld; do
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13063 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13064 if test -x $with_build_time_tools/${ncn_progname}; then
13065 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13067 $as_echo "yes" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13071 $as_echo "no
" >&6; }
13076 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
13077 for ncn_progname in ld; do
13078 if test -n "$ncn_target_tool_prefix"; then
13079 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13080 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13082 $as_echo_n "checking
for $ac_word...
" >&6; }
13083 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
13084 $as_echo_n "(cached
) " >&6
13086 if test -n "$LD_FOR_TARGET"; then
13087 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
13089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13090 for as_dir in $PATH
13093 test -z "$as_dir" && as_dir=.
13094 for ac_exec_ext in '' $ac_executable_extensions; do
13095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13096 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13106 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
13107 if test -n "$LD_FOR_TARGET"; then
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
13109 $as_echo "$LD_FOR_TARGET" >&6; }
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13112 $as_echo "no
" >&6; }
13117 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
13118 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13119 set dummy ${ncn_progname}; ac_word=$2
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13121 $as_echo_n "checking
for $ac_word...
" >&6; }
13122 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
13123 $as_echo_n "(cached
) " >&6
13125 if test -n "$LD_FOR_TARGET"; then
13126 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
13128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13129 for as_dir in $PATH
13132 test -z "$as_dir" && as_dir=.
13133 for ac_exec_ext in '' $ac_executable_extensions; do
13134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13135 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
13136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13145 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
13146 if test -n "$LD_FOR_TARGET"; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
13148 $as_echo "$LD_FOR_TARGET" >&6; }
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13151 $as_echo "no
" >&6; }
13156 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
13160 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
13162 if test $build = $target ; then
13165 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
13168 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
13172 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
13178 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
13179 if test -n "$with_build_time_tools"; then
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
13181 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
13182 if test -x $with_build_time_tools/lipo; then
13183 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
13184 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
13186 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13189 $as_echo "no
" >&6; }
13191 elif test $build != $host && test $have_gcc_for_target = yes; then
13192 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
13193 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
13194 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
13197 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13198 # Extract the first word of "lipo
", so it can be a program name with args.
13199 set dummy lipo; ac_word=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13201 $as_echo_n "checking
for $ac_word...
" >&6; }
13202 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
13203 $as_echo_n "(cached
) " >&6
13205 case $LIPO_FOR_TARGET in
13207 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $gcc_cv_tool_dirs
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13217 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13228 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
13229 if test -n "$LIPO_FOR_TARGET"; then
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
13231 $as_echo "$LIPO_FOR_TARGET" >&6; }
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13234 $as_echo "no
" >&6; }
13239 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
13242 if test -n "$LIPO_FOR_TARGET"; then
13243 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
13244 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
13245 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
13248 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
13249 for ncn_progname in lipo; do
13250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13251 set dummy ${ncn_progname}; ac_word=$2
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13253 $as_echo_n "checking
for $ac_word...
" >&6; }
13254 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
13255 $as_echo_n "(cached
) " >&6
13257 if test -n "$LIPO_FOR_TARGET"; then
13258 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13267 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
13268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13277 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
13278 if test -n "$LIPO_FOR_TARGET"; then
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
13280 $as_echo "$LIPO_FOR_TARGET" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13283 $as_echo "no
" >&6; }
13290 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
13291 for ncn_progname in lipo; do
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13293 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13294 if test -x $with_build_time_tools/${ncn_progname}; then
13295 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13297 $as_echo "yes" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13301 $as_echo "no
" >&6; }
13306 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
13307 for ncn_progname in lipo; do
13308 if test -n "$ncn_target_tool_prefix"; then
13309 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13310 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13312 $as_echo_n "checking
for $ac_word...
" >&6; }
13313 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
13314 $as_echo_n "(cached
) " >&6
13316 if test -n "$LIPO_FOR_TARGET"; then
13317 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
13319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13320 for as_dir in $PATH
13323 test -z "$as_dir" && as_dir=.
13324 for ac_exec_ext in '' $ac_executable_extensions; do
13325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13326 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13336 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
13337 if test -n "$LIPO_FOR_TARGET"; then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
13339 $as_echo "$LIPO_FOR_TARGET" >&6; }
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13342 $as_echo "no
" >&6; }
13347 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
13348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13349 set dummy ${ncn_progname}; ac_word=$2
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13351 $as_echo_n "checking
for $ac_word...
" >&6; }
13352 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
13353 $as_echo_n "(cached
) " >&6
13355 if test -n "$LIPO_FOR_TARGET"; then
13356 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
13358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13359 for as_dir in $PATH
13362 test -z "$as_dir" && as_dir=.
13363 for ac_exec_ext in '' $ac_executable_extensions; do
13364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13365 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
13366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13375 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
13376 if test -n "$LIPO_FOR_TARGET"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
13378 $as_echo "$LIPO_FOR_TARGET" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13381 $as_echo "no
" >&6; }
13386 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
13390 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
13392 if test $build = $target ; then
13393 LIPO_FOR_TARGET="$2"
13395 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
13398 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
13402 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
13408 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
13409 if test -n "$with_build_time_tools"; then
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
13411 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
13412 if test -x $with_build_time_tools/nm; then
13413 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
13414 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
13416 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13419 $as_echo "no
" >&6; }
13421 elif test $build != $host && test $have_gcc_for_target = yes; then
13422 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
13423 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
13424 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
13427 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13428 # Extract the first word of "nm
", so it can be a program name with args.
13429 set dummy nm; ac_word=$2
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13431 $as_echo_n "checking
for $ac_word...
" >&6; }
13432 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
13433 $as_echo_n "(cached
) " >&6
13435 case $NM_FOR_TARGET in
13437 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
13440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13441 for as_dir in $gcc_cv_tool_dirs
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_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13458 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
13459 if test -n "$NM_FOR_TARGET"; then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
13461 $as_echo "$NM_FOR_TARGET" >&6; }
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13464 $as_echo "no
" >&6; }
13469 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
13472 if test -n "$NM_FOR_TARGET"; then
13473 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
13474 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
13475 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
13478 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
13479 for ncn_progname in nm; do
13480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13481 set dummy ${ncn_progname}; ac_word=$2
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13483 $as_echo_n "checking
for $ac_word...
" >&6; }
13484 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
13485 $as_echo_n "(cached
) " >&6
13487 if test -n "$NM_FOR_TARGET"; then
13488 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
13490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13491 for as_dir in $PATH
13494 test -z "$as_dir" && as_dir=.
13495 for ac_exec_ext in '' $ac_executable_extensions; do
13496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13497 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
13498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13507 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
13508 if test -n "$NM_FOR_TARGET"; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
13510 $as_echo "$NM_FOR_TARGET" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13513 $as_echo "no
" >&6; }
13520 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
13521 for ncn_progname in nm; do
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13523 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13524 if test -x $with_build_time_tools/${ncn_progname}; then
13525 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13527 $as_echo "yes" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13531 $as_echo "no
" >&6; }
13536 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
13537 for ncn_progname in nm; do
13538 if test -n "$ncn_target_tool_prefix"; then
13539 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13540 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13542 $as_echo_n "checking
for $ac_word...
" >&6; }
13543 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
13544 $as_echo_n "(cached
) " >&6
13546 if test -n "$NM_FOR_TARGET"; then
13547 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
13549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13550 for as_dir in $PATH
13553 test -z "$as_dir" && as_dir=.
13554 for ac_exec_ext in '' $ac_executable_extensions; do
13555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13556 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13566 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
13567 if test -n "$NM_FOR_TARGET"; then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
13569 $as_echo "$NM_FOR_TARGET" >&6; }
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13572 $as_echo "no
" >&6; }
13577 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
13578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13579 set dummy ${ncn_progname}; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13581 $as_echo_n "checking
for $ac_word...
" >&6; }
13582 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
13583 $as_echo_n "(cached
) " >&6
13585 if test -n "$NM_FOR_TARGET"; then
13586 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
13588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13589 for as_dir in $PATH
13592 test -z "$as_dir" && as_dir=.
13593 for ac_exec_ext in '' $ac_executable_extensions; do
13594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13595 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
13596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13605 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
13606 if test -n "$NM_FOR_TARGET"; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
13608 $as_echo "$NM_FOR_TARGET" >&6; }
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13611 $as_echo "no
" >&6; }
13616 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
13620 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
13622 if test $build = $target ; then
13625 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
13628 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
13632 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
13638 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
13639 if test -n "$with_build_time_tools"; then
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
13641 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
13642 if test -x $with_build_time_tools/objcopy; then
13643 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
13644 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
13646 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13649 $as_echo "no
" >&6; }
13651 elif test $build != $host && test $have_gcc_for_target = yes; then
13652 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
13653 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
13654 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
13657 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13658 # Extract the first word of "objcopy
", so it can be a program name with args.
13659 set dummy objcopy; ac_word=$2
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13661 $as_echo_n "checking
for $ac_word...
" >&6; }
13662 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
13663 $as_echo_n "(cached
) " >&6
13665 case $OBJCOPY_FOR_TARGET in
13667 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
13670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13671 for as_dir in $gcc_cv_tool_dirs
13674 test -z "$as_dir" && as_dir=.
13675 for ac_exec_ext in '' $ac_executable_extensions; do
13676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13677 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13688 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
13689 if test -n "$OBJCOPY_FOR_TARGET"; then
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
13691 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13694 $as_echo "no
" >&6; }
13699 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
13702 if test -n "$OBJCOPY_FOR_TARGET"; then
13703 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
13704 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
13705 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
13708 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
13709 for ncn_progname in objcopy; do
13710 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13711 set dummy ${ncn_progname}; ac_word=$2
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13713 $as_echo_n "checking
for $ac_word...
" >&6; }
13714 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
13715 $as_echo_n "(cached
) " >&6
13717 if test -n "$OBJCOPY_FOR_TARGET"; then
13718 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
13720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13721 for as_dir in $PATH
13724 test -z "$as_dir" && as_dir=.
13725 for ac_exec_ext in '' $ac_executable_extensions; do
13726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13727 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
13728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13737 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
13738 if test -n "$OBJCOPY_FOR_TARGET"; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
13740 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13743 $as_echo "no
" >&6; }
13750 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
13751 for ncn_progname in objcopy; do
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13753 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13754 if test -x $with_build_time_tools/${ncn_progname}; then
13755 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13757 $as_echo "yes" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13761 $as_echo "no
" >&6; }
13766 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
13767 for ncn_progname in objcopy; do
13768 if test -n "$ncn_target_tool_prefix"; then
13769 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13770 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13772 $as_echo_n "checking
for $ac_word...
" >&6; }
13773 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
13774 $as_echo_n "(cached
) " >&6
13776 if test -n "$OBJCOPY_FOR_TARGET"; then
13777 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
13779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13780 for as_dir in $PATH
13783 test -z "$as_dir" && as_dir=.
13784 for ac_exec_ext in '' $ac_executable_extensions; do
13785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13786 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13796 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
13797 if test -n "$OBJCOPY_FOR_TARGET"; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
13799 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13802 $as_echo "no
" >&6; }
13807 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
13808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13809 set dummy ${ncn_progname}; ac_word=$2
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13811 $as_echo_n "checking
for $ac_word...
" >&6; }
13812 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
13813 $as_echo_n "(cached
) " >&6
13815 if test -n "$OBJCOPY_FOR_TARGET"; then
13816 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
13818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13819 for as_dir in $PATH
13822 test -z "$as_dir" && as_dir=.
13823 for ac_exec_ext in '' $ac_executable_extensions; do
13824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13825 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
13826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13835 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
13836 if test -n "$OBJCOPY_FOR_TARGET"; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
13838 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13841 $as_echo "no
" >&6; }
13846 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
13850 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
13852 if test $build = $target ; then
13853 OBJCOPY_FOR_TARGET="$2"
13855 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
13858 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
13862 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
13868 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
13869 if test -n "$with_build_time_tools"; then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
13871 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
13872 if test -x $with_build_time_tools/objdump; then
13873 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
13874 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
13876 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13879 $as_echo "no
" >&6; }
13881 elif test $build != $host && test $have_gcc_for_target = yes; then
13882 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
13883 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
13884 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
13887 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13888 # Extract the first word of "objdump
", so it can be a program name with args.
13889 set dummy objdump; ac_word=$2
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13891 $as_echo_n "checking
for $ac_word...
" >&6; }
13892 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
13893 $as_echo_n "(cached
) " >&6
13895 case $OBJDUMP_FOR_TARGET in
13897 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
13900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13901 for as_dir in $gcc_cv_tool_dirs
13904 test -z "$as_dir" && as_dir=.
13905 for ac_exec_ext in '' $ac_executable_extensions; do
13906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13907 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13918 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13919 if test -n "$OBJDUMP_FOR_TARGET"; then
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13921 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13924 $as_echo "no
" >&6; }
13929 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
13932 if test -n "$OBJDUMP_FOR_TARGET"; then
13933 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
13934 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13935 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13938 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13939 for ncn_progname in objdump; do
13940 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13941 set dummy ${ncn_progname}; ac_word=$2
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13943 $as_echo_n "checking
for $ac_word...
" >&6; }
13944 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13945 $as_echo_n "(cached
) " >&6
13947 if test -n "$OBJDUMP_FOR_TARGET"; then
13948 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13951 for as_dir in $PATH
13954 test -z "$as_dir" && as_dir=.
13955 for ac_exec_ext in '' $ac_executable_extensions; do
13956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13957 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13967 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13968 if test -n "$OBJDUMP_FOR_TARGET"; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13970 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13973 $as_echo "no
" >&6; }
13980 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13981 for ncn_progname in objdump; do
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13983 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13984 if test -x $with_build_time_tools/${ncn_progname}; then
13985 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13987 $as_echo "yes" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13991 $as_echo "no
" >&6; }
13996 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13997 for ncn_progname in objdump; do
13998 if test -n "$ncn_target_tool_prefix"; then
13999 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14000 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14002 $as_echo_n "checking
for $ac_word...
" >&6; }
14003 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
14004 $as_echo_n "(cached
) " >&6
14006 if test -n "$OBJDUMP_FOR_TARGET"; then
14007 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
14009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14013 test -z "$as_dir" && as_dir=.
14014 for ac_exec_ext in '' $ac_executable_extensions; do
14015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14026 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
14027 if test -n "$OBJDUMP_FOR_TARGET"; then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
14029 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14032 $as_echo "no
" >&6; }
14037 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
14038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14039 set dummy ${ncn_progname}; ac_word=$2
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14041 $as_echo_n "checking
for $ac_word...
" >&6; }
14042 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
14043 $as_echo_n "(cached
) " >&6
14045 if test -n "$OBJDUMP_FOR_TARGET"; then
14046 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
14048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14049 for as_dir in $PATH
14052 test -z "$as_dir" && as_dir=.
14053 for ac_exec_ext in '' $ac_executable_extensions; do
14054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14055 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
14056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14065 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
14066 if test -n "$OBJDUMP_FOR_TARGET"; then
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
14068 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14071 $as_echo "no
" >&6; }
14076 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
14080 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
14082 if test $build = $target ; then
14083 OBJDUMP_FOR_TARGET="$2"
14085 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
14088 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
14092 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
14098 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
14099 if test -n "$with_build_time_tools"; then
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
14101 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
14102 if test -x $with_build_time_tools/otool; then
14103 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
14104 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
14106 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14109 $as_echo "no
" >&6; }
14111 elif test $build != $host && test $have_gcc_for_target = yes; then
14112 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
14113 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
14114 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
14117 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14118 # Extract the first word of "otool
", so it can be a program name with args.
14119 set dummy otool; ac_word=$2
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14121 $as_echo_n "checking
for $ac_word...
" >&6; }
14122 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
14123 $as_echo_n "(cached
) " >&6
14125 case $OTOOL_FOR_TARGET in
14127 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
14130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14131 for as_dir in $gcc_cv_tool_dirs
14134 test -z "$as_dir" && as_dir=.
14135 for ac_exec_ext in '' $ac_executable_extensions; do
14136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14137 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14148 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
14149 if test -n "$OTOOL_FOR_TARGET"; then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
14151 $as_echo "$OTOOL_FOR_TARGET" >&6; }
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14154 $as_echo "no
" >&6; }
14159 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
14162 if test -n "$OTOOL_FOR_TARGET"; then
14163 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
14164 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
14165 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
14168 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
14169 for ncn_progname in otool; do
14170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14171 set dummy ${ncn_progname}; ac_word=$2
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14173 $as_echo_n "checking
for $ac_word...
" >&6; }
14174 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
14175 $as_echo_n "(cached
) " >&6
14177 if test -n "$OTOOL_FOR_TARGET"; then
14178 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
14180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14181 for as_dir in $PATH
14184 test -z "$as_dir" && as_dir=.
14185 for ac_exec_ext in '' $ac_executable_extensions; do
14186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14187 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
14188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14197 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
14198 if test -n "$OTOOL_FOR_TARGET"; then
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
14200 $as_echo "$OTOOL_FOR_TARGET" >&6; }
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14203 $as_echo "no
" >&6; }
14210 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
14211 for ncn_progname in otool; do
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14213 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14214 if test -x $with_build_time_tools/${ncn_progname}; then
14215 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14217 $as_echo "yes" >&6; }
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14221 $as_echo "no
" >&6; }
14226 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
14227 for ncn_progname in otool; do
14228 if test -n "$ncn_target_tool_prefix"; then
14229 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14230 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14232 $as_echo_n "checking
for $ac_word...
" >&6; }
14233 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
14234 $as_echo_n "(cached
) " >&6
14236 if test -n "$OTOOL_FOR_TARGET"; then
14237 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
14239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14240 for as_dir in $PATH
14243 test -z "$as_dir" && as_dir=.
14244 for ac_exec_ext in '' $ac_executable_extensions; do
14245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14246 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14256 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
14257 if test -n "$OTOOL_FOR_TARGET"; then
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
14259 $as_echo "$OTOOL_FOR_TARGET" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14262 $as_echo "no
" >&6; }
14267 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
14268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14269 set dummy ${ncn_progname}; ac_word=$2
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14271 $as_echo_n "checking
for $ac_word...
" >&6; }
14272 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
14273 $as_echo_n "(cached
) " >&6
14275 if test -n "$OTOOL_FOR_TARGET"; then
14276 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
14278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14279 for as_dir in $PATH
14282 test -z "$as_dir" && as_dir=.
14283 for ac_exec_ext in '' $ac_executable_extensions; do
14284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14285 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
14286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14295 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
14296 if test -n "$OTOOL_FOR_TARGET"; then
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
14298 $as_echo "$OTOOL_FOR_TARGET" >&6; }
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14301 $as_echo "no
" >&6; }
14306 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
14310 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
14312 if test $build = $target ; then
14313 OTOOL_FOR_TARGET="$2"
14315 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
14318 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
14322 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
14328 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
14329 if test -n "$with_build_time_tools"; then
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
14331 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
14332 if test -x $with_build_time_tools/ranlib; then
14333 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
14334 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
14336 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14339 $as_echo "no
" >&6; }
14341 elif test $build != $host && test $have_gcc_for_target = yes; then
14342 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
14343 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
14344 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
14347 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14348 # Extract the first word of "ranlib
", so it can be a program name with args.
14349 set dummy ranlib; ac_word=$2
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14351 $as_echo_n "checking
for $ac_word...
" >&6; }
14352 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
14353 $as_echo_n "(cached
) " >&6
14355 case $RANLIB_FOR_TARGET in
14357 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
14360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14361 for as_dir in $gcc_cv_tool_dirs
14364 test -z "$as_dir" && as_dir=.
14365 for ac_exec_ext in '' $ac_executable_extensions; do
14366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14367 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14378 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
14379 if test -n "$RANLIB_FOR_TARGET"; then
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
14381 $as_echo "$RANLIB_FOR_TARGET" >&6; }
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14384 $as_echo "no
" >&6; }
14389 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
14392 if test -n "$RANLIB_FOR_TARGET"; then
14393 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
14394 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
14395 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
14398 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
14399 for ncn_progname in ranlib; do
14400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14401 set dummy ${ncn_progname}; ac_word=$2
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14403 $as_echo_n "checking
for $ac_word...
" >&6; }
14404 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
14405 $as_echo_n "(cached
) " >&6
14407 if test -n "$RANLIB_FOR_TARGET"; then
14408 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
14410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14411 for as_dir in $PATH
14414 test -z "$as_dir" && as_dir=.
14415 for ac_exec_ext in '' $ac_executable_extensions; do
14416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14417 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
14418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14427 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
14428 if test -n "$RANLIB_FOR_TARGET"; then
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
14430 $as_echo "$RANLIB_FOR_TARGET" >&6; }
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14433 $as_echo "no
" >&6; }
14440 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
14441 for ncn_progname in ranlib; do
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14443 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14444 if test -x $with_build_time_tools/${ncn_progname}; then
14445 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14447 $as_echo "yes" >&6; }
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14451 $as_echo "no
" >&6; }
14456 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
14457 for ncn_progname in ranlib; do
14458 if test -n "$ncn_target_tool_prefix"; then
14459 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14460 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14462 $as_echo_n "checking
for $ac_word...
" >&6; }
14463 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
14464 $as_echo_n "(cached
) " >&6
14466 if test -n "$RANLIB_FOR_TARGET"; then
14467 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
14469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14473 test -z "$as_dir" && as_dir=.
14474 for ac_exec_ext in '' $ac_executable_extensions; do
14475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14476 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14486 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
14487 if test -n "$RANLIB_FOR_TARGET"; then
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
14489 $as_echo "$RANLIB_FOR_TARGET" >&6; }
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14492 $as_echo "no
" >&6; }
14497 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
14498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14499 set dummy ${ncn_progname}; ac_word=$2
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14501 $as_echo_n "checking
for $ac_word...
" >&6; }
14502 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
14503 $as_echo_n "(cached
) " >&6
14505 if test -n "$RANLIB_FOR_TARGET"; then
14506 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
14508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14509 for as_dir in $PATH
14512 test -z "$as_dir" && as_dir=.
14513 for ac_exec_ext in '' $ac_executable_extensions; do
14514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14515 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
14516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14525 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
14526 if test -n "$RANLIB_FOR_TARGET"; then
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
14528 $as_echo "$RANLIB_FOR_TARGET" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14531 $as_echo "no
" >&6; }
14536 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
14540 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
14542 if test $build = $target ; then
14543 RANLIB_FOR_TARGET="$2"
14545 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
14548 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
14552 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
14558 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
14559 if test -n "$with_build_time_tools"; then
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
14561 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
14562 if test -x $with_build_time_tools/readelf; then
14563 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
14564 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
14566 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14569 $as_echo "no
" >&6; }
14571 elif test $build != $host && test $have_gcc_for_target = yes; then
14572 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
14573 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
14574 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
14577 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14578 # Extract the first word of "readelf
", so it can be a program name with args.
14579 set dummy readelf; ac_word=$2
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14581 $as_echo_n "checking
for $ac_word...
" >&6; }
14582 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
14583 $as_echo_n "(cached
) " >&6
14585 case $READELF_FOR_TARGET in
14587 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
14590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14591 for as_dir in $gcc_cv_tool_dirs
14594 test -z "$as_dir" && as_dir=.
14595 for ac_exec_ext in '' $ac_executable_extensions; do
14596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14597 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14608 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
14609 if test -n "$READELF_FOR_TARGET"; then
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
14611 $as_echo "$READELF_FOR_TARGET" >&6; }
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14614 $as_echo "no
" >&6; }
14619 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
14622 if test -n "$READELF_FOR_TARGET"; then
14623 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
14624 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
14625 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
14628 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
14629 for ncn_progname in readelf; do
14630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14631 set dummy ${ncn_progname}; ac_word=$2
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14633 $as_echo_n "checking
for $ac_word...
" >&6; }
14634 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
14635 $as_echo_n "(cached
) " >&6
14637 if test -n "$READELF_FOR_TARGET"; then
14638 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
14640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14641 for as_dir in $PATH
14644 test -z "$as_dir" && as_dir=.
14645 for ac_exec_ext in '' $ac_executable_extensions; do
14646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14647 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
14648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14657 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
14658 if test -n "$READELF_FOR_TARGET"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
14660 $as_echo "$READELF_FOR_TARGET" >&6; }
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14663 $as_echo "no
" >&6; }
14670 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
14671 for ncn_progname in readelf; do
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14673 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14674 if test -x $with_build_time_tools/${ncn_progname}; then
14675 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14677 $as_echo "yes" >&6; }
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14681 $as_echo "no
" >&6; }
14686 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
14687 for ncn_progname in readelf; do
14688 if test -n "$ncn_target_tool_prefix"; then
14689 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14690 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14692 $as_echo_n "checking
for $ac_word...
" >&6; }
14693 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
14694 $as_echo_n "(cached
) " >&6
14696 if test -n "$READELF_FOR_TARGET"; then
14697 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
14699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14700 for as_dir in $PATH
14703 test -z "$as_dir" && as_dir=.
14704 for ac_exec_ext in '' $ac_executable_extensions; do
14705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14706 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14716 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
14717 if test -n "$READELF_FOR_TARGET"; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
14719 $as_echo "$READELF_FOR_TARGET" >&6; }
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14722 $as_echo "no
" >&6; }
14727 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
14728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14729 set dummy ${ncn_progname}; ac_word=$2
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14731 $as_echo_n "checking
for $ac_word...
" >&6; }
14732 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
14733 $as_echo_n "(cached
) " >&6
14735 if test -n "$READELF_FOR_TARGET"; then
14736 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
14738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14739 for as_dir in $PATH
14742 test -z "$as_dir" && as_dir=.
14743 for ac_exec_ext in '' $ac_executable_extensions; do
14744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14745 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
14746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14755 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
14756 if test -n "$READELF_FOR_TARGET"; then
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
14758 $as_echo "$READELF_FOR_TARGET" >&6; }
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14761 $as_echo "no
" >&6; }
14766 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
14770 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
14772 if test $build = $target ; then
14773 READELF_FOR_TARGET="$2"
14775 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
14778 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
14782 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
14788 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
14789 if test -n "$with_build_time_tools"; then
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
14791 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
14792 if test -x $with_build_time_tools/strip; then
14793 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
14794 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
14796 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14799 $as_echo "no
" >&6; }
14801 elif test $build != $host && test $have_gcc_for_target = yes; then
14802 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
14803 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
14804 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
14807 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14808 # Extract the first word of "strip
", so it can be a program name with args.
14809 set dummy strip; ac_word=$2
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14811 $as_echo_n "checking
for $ac_word...
" >&6; }
14812 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
14813 $as_echo_n "(cached
) " >&6
14815 case $STRIP_FOR_TARGET in
14817 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
14820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14821 for as_dir in $gcc_cv_tool_dirs
14824 test -z "$as_dir" && as_dir=.
14825 for ac_exec_ext in '' $ac_executable_extensions; do
14826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14827 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14838 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
14839 if test -n "$STRIP_FOR_TARGET"; then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
14841 $as_echo "$STRIP_FOR_TARGET" >&6; }
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14844 $as_echo "no
" >&6; }
14849 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
14852 if test -n "$STRIP_FOR_TARGET"; then
14853 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
14854 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
14855 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
14858 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
14859 for ncn_progname in strip; do
14860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14861 set dummy ${ncn_progname}; ac_word=$2
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14863 $as_echo_n "checking
for $ac_word...
" >&6; }
14864 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
14865 $as_echo_n "(cached
) " >&6
14867 if test -n "$STRIP_FOR_TARGET"; then
14868 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
14870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14871 for as_dir in $PATH
14874 test -z "$as_dir" && as_dir=.
14875 for ac_exec_ext in '' $ac_executable_extensions; do
14876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14877 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
14878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14887 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
14888 if test -n "$STRIP_FOR_TARGET"; then
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
14890 $as_echo "$STRIP_FOR_TARGET" >&6; }
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14893 $as_echo "no
" >&6; }
14900 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
14901 for ncn_progname in strip; do
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14903 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14904 if test -x $with_build_time_tools/${ncn_progname}; then
14905 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14907 $as_echo "yes" >&6; }
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14911 $as_echo "no
" >&6; }
14916 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
14917 for ncn_progname in strip; do
14918 if test -n "$ncn_target_tool_prefix"; then
14919 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14920 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14922 $as_echo_n "checking
for $ac_word...
" >&6; }
14923 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
14924 $as_echo_n "(cached
) " >&6
14926 if test -n "$STRIP_FOR_TARGET"; then
14927 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
14929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14930 for as_dir in $PATH
14933 test -z "$as_dir" && as_dir=.
14934 for ac_exec_ext in '' $ac_executable_extensions; do
14935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14936 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14946 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
14947 if test -n "$STRIP_FOR_TARGET"; then
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
14949 $as_echo "$STRIP_FOR_TARGET" >&6; }
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14952 $as_echo "no
" >&6; }
14957 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
14958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14959 set dummy ${ncn_progname}; ac_word=$2
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14961 $as_echo_n "checking
for $ac_word...
" >&6; }
14962 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
14963 $as_echo_n "(cached
) " >&6
14965 if test -n "$STRIP_FOR_TARGET"; then
14966 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
14968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14969 for as_dir in $PATH
14972 test -z "$as_dir" && as_dir=.
14973 for ac_exec_ext in '' $ac_executable_extensions; do
14974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14975 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
14976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14985 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
14986 if test -n "$STRIP_FOR_TARGET"; then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
14988 $as_echo "$STRIP_FOR_TARGET" >&6; }
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14991 $as_echo "no
" >&6; }
14996 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
15000 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
15002 if test $build = $target ; then
15003 STRIP_FOR_TARGET="$2"
15005 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
15008 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
15012 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
15018 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
15019 if test -n "$with_build_time_tools"; then
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
15021 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
15022 if test -x $with_build_time_tools/windres; then
15023 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
15024 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
15026 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15029 $as_echo "no
" >&6; }
15031 elif test $build != $host && test $have_gcc_for_target = yes; then
15032 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
15033 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
15034 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
15037 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15038 # Extract the first word of "windres
", so it can be a program name with args.
15039 set dummy windres; ac_word=$2
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15041 $as_echo_n "checking
for $ac_word...
" >&6; }
15042 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
15043 $as_echo_n "(cached
) " >&6
15045 case $WINDRES_FOR_TARGET in
15047 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $gcc_cv_tool_dirs
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15057 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15068 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
15069 if test -n "$WINDRES_FOR_TARGET"; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
15071 $as_echo "$WINDRES_FOR_TARGET" >&6; }
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15074 $as_echo "no
" >&6; }
15079 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
15082 if test -n "$WINDRES_FOR_TARGET"; then
15083 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
15084 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
15085 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
15088 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
15089 for ncn_progname in windres; do
15090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15091 set dummy ${ncn_progname}; ac_word=$2
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15093 $as_echo_n "checking
for $ac_word...
" >&6; }
15094 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
15095 $as_echo_n "(cached
) " >&6
15097 if test -n "$WINDRES_FOR_TARGET"; then
15098 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
15100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15101 for as_dir in $PATH
15104 test -z "$as_dir" && as_dir=.
15105 for ac_exec_ext in '' $ac_executable_extensions; do
15106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15107 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
15108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15117 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
15118 if test -n "$WINDRES_FOR_TARGET"; then
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
15120 $as_echo "$WINDRES_FOR_TARGET" >&6; }
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15123 $as_echo "no
" >&6; }
15130 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
15131 for ncn_progname in windres; do
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15133 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15134 if test -x $with_build_time_tools/${ncn_progname}; then
15135 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15137 $as_echo "yes" >&6; }
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15141 $as_echo "no
" >&6; }
15146 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
15147 for ncn_progname in windres; do
15148 if test -n "$ncn_target_tool_prefix"; then
15149 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15150 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15152 $as_echo_n "checking
for $ac_word...
" >&6; }
15153 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
15154 $as_echo_n "(cached
) " >&6
15156 if test -n "$WINDRES_FOR_TARGET"; then
15157 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
15159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15160 for as_dir in $PATH
15163 test -z "$as_dir" && as_dir=.
15164 for ac_exec_ext in '' $ac_executable_extensions; do
15165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15166 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15176 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
15177 if test -n "$WINDRES_FOR_TARGET"; then
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
15179 $as_echo "$WINDRES_FOR_TARGET" >&6; }
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15182 $as_echo "no
" >&6; }
15187 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
15188 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15189 set dummy ${ncn_progname}; ac_word=$2
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15191 $as_echo_n "checking
for $ac_word...
" >&6; }
15192 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
15193 $as_echo_n "(cached
) " >&6
15195 if test -n "$WINDRES_FOR_TARGET"; then
15196 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
15198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15199 for as_dir in $PATH
15202 test -z "$as_dir" && as_dir=.
15203 for ac_exec_ext in '' $ac_executable_extensions; do
15204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15205 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
15206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15215 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
15216 if test -n "$WINDRES_FOR_TARGET"; then
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
15218 $as_echo "$WINDRES_FOR_TARGET" >&6; }
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15221 $as_echo "no
" >&6; }
15226 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
15230 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
15232 if test $build = $target ; then
15233 WINDRES_FOR_TARGET="$2"
15235 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
15238 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
15242 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
15248 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
15249 if test -n "$with_build_time_tools"; then
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
15251 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
15252 if test -x $with_build_time_tools/windmc; then
15253 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
15254 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
15256 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15259 $as_echo "no
" >&6; }
15261 elif test $build != $host && test $have_gcc_for_target = yes; then
15262 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
15263 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
15264 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
15267 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
15268 # Extract the first word of "windmc
", so it can be a program name with args.
15269 set dummy windmc; ac_word=$2
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15271 $as_echo_n "checking
for $ac_word...
" >&6; }
15272 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
15273 $as_echo_n "(cached
) " >&6
15275 case $WINDMC_FOR_TARGET in
15277 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $gcc_cv_tool_dirs
15284 test -z "$as_dir" && as_dir=.
15285 for ac_exec_ext in '' $ac_executable_extensions; do
15286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
15288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15298 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
15299 if test -n "$WINDMC_FOR_TARGET"; then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
15301 $as_echo "$WINDMC_FOR_TARGET" >&6; }
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15304 $as_echo "no
" >&6; }
15309 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
15312 if test -n "$WINDMC_FOR_TARGET"; then
15313 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
15314 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
15315 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
15318 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
15319 for ncn_progname in windmc; do
15320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15321 set dummy ${ncn_progname}; ac_word=$2
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15323 $as_echo_n "checking
for $ac_word...
" >&6; }
15324 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
15325 $as_echo_n "(cached
) " >&6
15327 if test -n "$WINDMC_FOR_TARGET"; then
15328 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
15330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15331 for as_dir in $PATH
15334 test -z "$as_dir" && as_dir=.
15335 for ac_exec_ext in '' $ac_executable_extensions; do
15336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15337 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
15338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15347 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
15348 if test -n "$WINDMC_FOR_TARGET"; then
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
15350 $as_echo "$WINDMC_FOR_TARGET" >&6; }
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15353 $as_echo "no
" >&6; }
15360 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
15361 for ncn_progname in windmc; do
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
15363 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
15364 if test -x $with_build_time_tools/${ncn_progname}; then
15365 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15367 $as_echo "yes" >&6; }
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15371 $as_echo "no
" >&6; }
15376 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
15377 for ncn_progname in windmc; do
15378 if test -n "$ncn_target_tool_prefix"; then
15379 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
15380 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15382 $as_echo_n "checking
for $ac_word...
" >&6; }
15383 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
15384 $as_echo_n "(cached
) " >&6
15386 if test -n "$WINDMC_FOR_TARGET"; then
15387 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
15389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15390 for as_dir in $PATH
15393 test -z "$as_dir" && as_dir=.
15394 for ac_exec_ext in '' $ac_executable_extensions; do
15395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15396 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
15397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15406 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
15407 if test -n "$WINDMC_FOR_TARGET"; then
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
15409 $as_echo "$WINDMC_FOR_TARGET" >&6; }
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15412 $as_echo "no
" >&6; }
15417 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
15418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
15419 set dummy ${ncn_progname}; ac_word=$2
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
15421 $as_echo_n "checking
for $ac_word...
" >&6; }
15422 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
15423 $as_echo_n "(cached
) " >&6
15425 if test -n "$WINDMC_FOR_TARGET"; then
15426 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
15428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15429 for as_dir in $PATH
15432 test -z "$as_dir" && as_dir=.
15433 for ac_exec_ext in '' $ac_executable_extensions; do
15434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15435 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
15436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
15445 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
15446 if test -n "$WINDMC_FOR_TARGET"; then
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
15448 $as_echo "$WINDMC_FOR_TARGET" >&6; }
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15451 $as_echo "no
" >&6; }
15456 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
15460 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
15462 if test $build = $target ; then
15463 WINDMC_FOR_TARGET="$2"
15465 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
15468 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
15472 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
15476 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
15479 $as_echo_n "checking where to
find the target
ar...
" >&6; }
15480 if test "x
${build}" != "x
${host}" ; then
15481 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
15482 # We already found the complete path
15483 ac_dir=`dirname $AR_FOR_TARGET`
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15485 $as_echo "pre-installed
in $ac_dir" >&6; }
15487 # Canadian cross, just use what we found
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15489 $as_echo "pre-installed
" >&6; }
15493 case " ${configdirs} " in
15498 if test $ok = yes; then
15499 # An in-tree tool is available and we can use it
15500 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15502 $as_echo "just compiled
" >&6; }
15503 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
15504 # We already found the complete path
15505 ac_dir=`dirname $AR_FOR_TARGET`
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15507 $as_echo "pre-installed
in $ac_dir" >&6; }
15508 elif test "x
$target" = "x
$host"; then
15509 # We can use an host tool
15510 AR_FOR_TARGET='$(AR)'
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15512 $as_echo "host tool
" >&6; }
15514 # We need a cross tool
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15516 $as_echo "pre-installed
" >&6; }
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
15521 $as_echo_n "checking where to
find the target as...
" >&6; }
15522 if test "x
${build}" != "x
${host}" ; then
15523 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
15524 # We already found the complete path
15525 ac_dir=`dirname $AS_FOR_TARGET`
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15527 $as_echo "pre-installed
in $ac_dir" >&6; }
15529 # Canadian cross, just use what we found
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15531 $as_echo "pre-installed
" >&6; }
15535 case " ${configdirs} " in
15540 if test $ok = yes; then
15541 # An in-tree tool is available and we can use it
15542 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15544 $as_echo "just compiled
" >&6; }
15545 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
15546 # We already found the complete path
15547 ac_dir=`dirname $AS_FOR_TARGET`
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15549 $as_echo "pre-installed
in $ac_dir" >&6; }
15550 elif test "x
$target" = "x
$host"; then
15551 # We can use an host tool
15552 AS_FOR_TARGET='$(AS)'
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15554 $as_echo "host tool
" >&6; }
15556 # We need a cross tool
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15558 $as_echo "pre-installed
" >&6; }
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
15563 $as_echo_n "checking where to
find the target cc...
" >&6; }
15564 if test "x
${build}" != "x
${host}" ; then
15565 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
15566 # We already found the complete path
15567 ac_dir=`dirname $CC_FOR_TARGET`
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15569 $as_echo "pre-installed
in $ac_dir" >&6; }
15571 # Canadian cross, just use what we found
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15573 $as_echo "pre-installed
" >&6; }
15577 case " ${configdirs} " in
15582 if test $ok = yes; then
15583 # An in-tree tool is available and we can use it
15584 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15586 $as_echo "just compiled
" >&6; }
15587 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
15588 # We already found the complete path
15589 ac_dir=`dirname $CC_FOR_TARGET`
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15591 $as_echo "pre-installed
in $ac_dir" >&6; }
15592 elif test "x
$target" = "x
$host"; then
15593 # We can use an host tool
15594 CC_FOR_TARGET='$(CC)'
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15596 $as_echo "host tool
" >&6; }
15598 # We need a cross tool
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15600 $as_echo "pre-installed
" >&6; }
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
15605 $as_echo_n "checking where to
find the target c
++...
" >&6; }
15606 if test "x
${build}" != "x
${host}" ; then
15607 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
15608 # We already found the complete path
15609 ac_dir=`dirname $CXX_FOR_TARGET`
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15611 $as_echo "pre-installed
in $ac_dir" >&6; }
15613 # Canadian cross, just use what we found
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15615 $as_echo "pre-installed
" >&6; }
15619 case " ${configdirs} " in
15623 case ,${enable_languages}, in
15627 if test $ok = yes; then
15628 # An in-tree tool is available and we can use it
15629 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'
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15631 $as_echo "just compiled
" >&6; }
15632 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
15633 # We already found the complete path
15634 ac_dir=`dirname $CXX_FOR_TARGET`
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15636 $as_echo "pre-installed
in $ac_dir" >&6; }
15637 elif test "x
$target" = "x
$host"; then
15638 # We can use an host tool
15639 CXX_FOR_TARGET='$(CXX)'
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15641 $as_echo "host tool
" >&6; }
15643 # We need a cross tool
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15645 $as_echo "pre-installed
" >&6; }
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
15650 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
15651 if test "x
${build}" != "x
${host}" ; then
15652 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
15653 # We already found the complete path
15654 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15656 $as_echo "pre-installed
in $ac_dir" >&6; }
15658 # Canadian cross, just use what we found
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15660 $as_echo "pre-installed
" >&6; }
15664 case " ${configdirs} " in
15668 case ,${enable_languages}, in
15672 if test $ok = yes; then
15673 # An in-tree tool is available and we can use it
15674 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'
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15676 $as_echo "just compiled
" >&6; }
15677 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
15678 # We already found the complete path
15679 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15681 $as_echo "pre-installed
in $ac_dir" >&6; }
15682 elif test "x
$target" = "x
$host"; then
15683 # We can use an host tool
15684 RAW_CXX_FOR_TARGET='$(CXX)'
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15686 $as_echo "host tool
" >&6; }
15688 # We need a cross tool
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15690 $as_echo "pre-installed
" >&6; }
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
15695 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
15696 if test "x
${build}" != "x
${host}" ; then
15697 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15698 # We already found the complete path
15699 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15701 $as_echo "pre-installed
in $ac_dir" >&6; }
15703 # Canadian cross, just use what we found
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15705 $as_echo "pre-installed
" >&6; }
15709 case " ${configdirs} " in
15714 if test $ok = yes; then
15715 # An in-tree tool is available and we can use it
15716 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15718 $as_echo "just compiled
" >&6; }
15719 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15720 # We already found the complete path
15721 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15723 $as_echo "pre-installed
in $ac_dir" >&6; }
15724 elif test "x
$target" = "x
$host"; then
15725 # We can use an host tool
15726 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15728 $as_echo "host tool
" >&6; }
15730 # We need a cross tool
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15732 $as_echo "pre-installed
" >&6; }
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
15737 $as_echo_n "checking where to
find the target gcc...
" >&6; }
15738 if test "x
${build}" != "x
${host}" ; then
15739 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
15740 # We already found the complete path
15741 ac_dir=`dirname $GCC_FOR_TARGET`
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15743 $as_echo "pre-installed
in $ac_dir" >&6; }
15745 # Canadian cross, just use what we found
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15747 $as_echo "pre-installed
" >&6; }
15751 case " ${configdirs} " in
15756 if test $ok = yes; then
15757 # An in-tree tool is available and we can use it
15758 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15760 $as_echo "just compiled
" >&6; }
15761 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
15762 # We already found the complete path
15763 ac_dir=`dirname $GCC_FOR_TARGET`
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15765 $as_echo "pre-installed
in $ac_dir" >&6; }
15766 elif test "x
$target" = "x
$host"; then
15767 # We can use an host tool
15768 GCC_FOR_TARGET='$()'
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15770 $as_echo "host tool
" >&6; }
15772 # We need a cross tool
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15774 $as_echo "pre-installed
" >&6; }
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
15779 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
15780 if test "x
${build}" != "x
${host}" ; then
15781 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
15782 # We already found the complete path
15783 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15785 $as_echo "pre-installed
in $ac_dir" >&6; }
15787 # Canadian cross, just use what we found
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15789 $as_echo "pre-installed
" >&6; }
15793 case " ${configdirs} " in
15797 case ,${enable_languages}, in
15801 if test $ok = yes; then
15802 # An in-tree tool is available and we can use it
15803 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15805 $as_echo "just compiled
" >&6; }
15806 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
15807 # We already found the complete path
15808 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15810 $as_echo "pre-installed
in $ac_dir" >&6; }
15811 elif test "x
$target" = "x
$host"; then
15812 # We can use an host tool
15813 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15815 $as_echo "host tool
" >&6; }
15817 # We need a cross tool
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15819 $as_echo "pre-installed
" >&6; }
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
15824 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
15825 if test "x
${build}" != "x
${host}" ; then
15826 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
15827 # We already found the complete path
15828 ac_dir=`dirname $GOC_FOR_TARGET`
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15830 $as_echo "pre-installed
in $ac_dir" >&6; }
15832 # Canadian cross, just use what we found
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15834 $as_echo "pre-installed
" >&6; }
15838 case " ${configdirs} " in
15842 case ,${enable_languages}, in
15846 if test $ok = yes; then
15847 # An in-tree tool is available and we can use it
15848 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15850 $as_echo "just compiled
" >&6; }
15851 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
15852 # We already found the complete path
15853 ac_dir=`dirname $GOC_FOR_TARGET`
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15855 $as_echo "pre-installed
in $ac_dir" >&6; }
15856 elif test "x
$target" = "x
$host"; then
15857 # We can use an host tool
15858 GOC_FOR_TARGET='$(GOC)'
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15860 $as_echo "host tool
" >&6; }
15862 # We need a cross tool
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15864 $as_echo "pre-installed
" >&6; }
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
15869 $as_echo_n "checking where to
find the target gdc...
" >&6; }
15870 if test "x
${build}" != "x
${host}" ; then
15871 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
15872 # We already found the complete path
15873 ac_dir=`dirname $GDC_FOR_TARGET`
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15875 $as_echo "pre-installed
in $ac_dir" >&6; }
15877 # Canadian cross, just use what we found
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15879 $as_echo "pre-installed
" >&6; }
15883 case " ${configdirs} " in
15887 case ,${enable_languages}, in
15891 if test $ok = yes; then
15892 # An in-tree tool is available and we can use it
15893 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15895 $as_echo "just compiled
" >&6; }
15896 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
15897 # We already found the complete path
15898 ac_dir=`dirname $GDC_FOR_TARGET`
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15900 $as_echo "pre-installed
in $ac_dir" >&6; }
15901 elif test "x
$target" = "x
$host"; then
15902 # We can use an host tool
15903 GDC_FOR_TARGET='$(GDC)'
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15905 $as_echo "host tool
" >&6; }
15907 # We need a cross tool
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15909 $as_echo "pre-installed
" >&6; }
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
15914 $as_echo_n "checking where to
find the target ld...
" >&6; }
15915 if test "x
${build}" != "x
${host}" ; then
15916 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
15917 # We already found the complete path
15918 ac_dir=`dirname $LD_FOR_TARGET`
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15920 $as_echo "pre-installed
in $ac_dir" >&6; }
15922 # Canadian cross, just use what we found
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15924 $as_echo "pre-installed
" >&6; }
15928 case " ${configdirs} " in
15933 if test $ok = yes; then
15934 # An in-tree tool is available and we can use it
15935 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15937 $as_echo "just compiled
" >&6; }
15938 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
15939 # We already found the complete path
15940 ac_dir=`dirname $LD_FOR_TARGET`
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15942 $as_echo "pre-installed
in $ac_dir" >&6; }
15943 elif test "x
$target" = "x
$host"; then
15944 # We can use an host tool
15945 LD_FOR_TARGET='$(LD)'
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15947 $as_echo "host tool
" >&6; }
15949 # We need a cross tool
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15951 $as_echo "pre-installed
" >&6; }
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
15956 $as_echo_n "checking where to
find the target lipo...
" >&6; }
15957 if test "x
${build}" != "x
${host}" ; then
15958 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
15959 # We already found the complete path
15960 ac_dir=`dirname $LIPO_FOR_TARGET`
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15962 $as_echo "pre-installed
in $ac_dir" >&6; }
15964 # Canadian cross, just use what we found
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15966 $as_echo "pre-installed
" >&6; }
15969 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
15970 # We already found the complete path
15971 ac_dir=`dirname $LIPO_FOR_TARGET`
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15973 $as_echo "pre-installed
in $ac_dir" >&6; }
15974 elif test "x
$target" = "x
$host"; then
15975 # We can use an host tool
15976 LIPO_FOR_TARGET='$(LIPO)'
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15978 $as_echo "host tool
" >&6; }
15980 # We need a cross tool
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15982 $as_echo "pre-installed
" >&6; }
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
15987 $as_echo_n "checking where to
find the target nm...
" >&6; }
15988 if test "x
${build}" != "x
${host}" ; then
15989 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
15990 # We already found the complete path
15991 ac_dir=`dirname $NM_FOR_TARGET`
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15993 $as_echo "pre-installed
in $ac_dir" >&6; }
15995 # Canadian cross, just use what we found
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15997 $as_echo "pre-installed
" >&6; }
16001 case " ${configdirs} " in
16006 if test $ok = yes; then
16007 # An in-tree tool is available and we can use it
16008 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16010 $as_echo "just compiled
" >&6; }
16011 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
16012 # We already found the complete path
16013 ac_dir=`dirname $NM_FOR_TARGET`
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16015 $as_echo "pre-installed
in $ac_dir" >&6; }
16016 elif test "x
$target" = "x
$host"; then
16017 # We can use an host tool
16018 NM_FOR_TARGET='$(NM)'
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16020 $as_echo "host tool
" >&6; }
16022 # We need a cross tool
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16024 $as_echo "pre-installed
" >&6; }
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
16029 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
16030 if test "x
${build}" != "x
${host}" ; then
16031 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
16032 # We already found the complete path
16033 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16035 $as_echo "pre-installed
in $ac_dir" >&6; }
16037 # Canadian cross, just use what we found
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16039 $as_echo "pre-installed
" >&6; }
16043 case " ${configdirs} " in
16048 if test $ok = yes; then
16049 # An in-tree tool is available and we can use it
16050 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16052 $as_echo "just compiled
" >&6; }
16053 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
16054 # We already found the complete path
16055 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16057 $as_echo "pre-installed
in $ac_dir" >&6; }
16058 elif test "x
$target" = "x
$host"; then
16059 # We can use an host tool
16060 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16062 $as_echo "host tool
" >&6; }
16064 # We need a cross tool
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16066 $as_echo "pre-installed
" >&6; }
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
16071 $as_echo_n "checking where to
find the target objdump...
" >&6; }
16072 if test "x
${build}" != "x
${host}" ; then
16073 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
16074 # We already found the complete path
16075 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16077 $as_echo "pre-installed
in $ac_dir" >&6; }
16079 # Canadian cross, just use what we found
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16081 $as_echo "pre-installed
" >&6; }
16085 case " ${configdirs} " in
16090 if test $ok = yes; then
16091 # An in-tree tool is available and we can use it
16092 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16094 $as_echo "just compiled
" >&6; }
16095 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
16096 # We already found the complete path
16097 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16099 $as_echo "pre-installed
in $ac_dir" >&6; }
16100 elif test "x
$target" = "x
$host"; then
16101 # We can use an host tool
16102 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16104 $as_echo "host tool
" >&6; }
16106 # We need a cross tool
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16108 $as_echo "pre-installed
" >&6; }
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
16113 $as_echo_n "checking where to
find the target otool...
" >&6; }
16114 if test "x
${build}" != "x
${host}" ; then
16115 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
16116 # We already found the complete path
16117 ac_dir=`dirname $OTOOL_FOR_TARGET`
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16119 $as_echo "pre-installed
in $ac_dir" >&6; }
16121 # Canadian cross, just use what we found
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16123 $as_echo "pre-installed
" >&6; }
16126 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
16127 # We already found the complete path
16128 ac_dir=`dirname $OTOOL_FOR_TARGET`
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16130 $as_echo "pre-installed
in $ac_dir" >&6; }
16131 elif test "x
$target" = "x
$host"; then
16132 # We can use an host tool
16133 OTOOL_FOR_TARGET='$(OTOOL)'
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16135 $as_echo "host tool
" >&6; }
16137 # We need a cross tool
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16139 $as_echo "pre-installed
" >&6; }
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
16144 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
16145 if test "x
${build}" != "x
${host}" ; then
16146 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
16147 # We already found the complete path
16148 ac_dir=`dirname $RANLIB_FOR_TARGET`
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16150 $as_echo "pre-installed
in $ac_dir" >&6; }
16152 # Canadian cross, just use what we found
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16154 $as_echo "pre-installed
" >&6; }
16158 case " ${configdirs} " in
16163 if test $ok = yes; then
16164 # An in-tree tool is available and we can use it
16165 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16167 $as_echo "just compiled
" >&6; }
16168 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
16169 # We already found the complete path
16170 ac_dir=`dirname $RANLIB_FOR_TARGET`
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16172 $as_echo "pre-installed
in $ac_dir" >&6; }
16173 elif test "x
$target" = "x
$host"; then
16174 # We can use an host tool
16175 RANLIB_FOR_TARGET='$(RANLIB)'
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16177 $as_echo "host tool
" >&6; }
16179 # We need a cross tool
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16181 $as_echo "pre-installed
" >&6; }
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
16186 $as_echo_n "checking where to
find the target readelf...
" >&6; }
16187 if test "x
${build}" != "x
${host}" ; then
16188 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
16189 # We already found the complete path
16190 ac_dir=`dirname $READELF_FOR_TARGET`
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16192 $as_echo "pre-installed
in $ac_dir" >&6; }
16194 # Canadian cross, just use what we found
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16196 $as_echo "pre-installed
" >&6; }
16200 case " ${configdirs} " in
16205 if test $ok = yes; then
16206 # An in-tree tool is available and we can use it
16207 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16209 $as_echo "just compiled
" >&6; }
16210 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
16211 # We already found the complete path
16212 ac_dir=`dirname $READELF_FOR_TARGET`
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16214 $as_echo "pre-installed
in $ac_dir" >&6; }
16215 elif test "x
$target" = "x
$host"; then
16216 # We can use an host tool
16217 READELF_FOR_TARGET='$(READELF)'
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16219 $as_echo "host tool
" >&6; }
16221 # We need a cross tool
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16223 $as_echo "pre-installed
" >&6; }
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
16228 $as_echo_n "checking where to
find the target strip...
" >&6; }
16229 if test "x
${build}" != "x
${host}" ; then
16230 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
16231 # We already found the complete path
16232 ac_dir=`dirname $STRIP_FOR_TARGET`
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16234 $as_echo "pre-installed
in $ac_dir" >&6; }
16236 # Canadian cross, just use what we found
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16238 $as_echo "pre-installed
" >&6; }
16242 case " ${configdirs} " in
16247 if test $ok = yes; then
16248 # An in-tree tool is available and we can use it
16249 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16251 $as_echo "just compiled
" >&6; }
16252 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
16253 # We already found the complete path
16254 ac_dir=`dirname $STRIP_FOR_TARGET`
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16256 $as_echo "pre-installed
in $ac_dir" >&6; }
16257 elif test "x
$target" = "x
$host"; then
16258 # We can use an host tool
16259 STRIP_FOR_TARGET='$(STRIP)'
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16261 $as_echo "host tool
" >&6; }
16263 # We need a cross tool
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16265 $as_echo "pre-installed
" >&6; }
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
16270 $as_echo_n "checking where to
find the target windres...
" >&6; }
16271 if test "x
${build}" != "x
${host}" ; then
16272 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
16273 # We already found the complete path
16274 ac_dir=`dirname $WINDRES_FOR_TARGET`
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16276 $as_echo "pre-installed
in $ac_dir" >&6; }
16278 # Canadian cross, just use what we found
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16280 $as_echo "pre-installed
" >&6; }
16284 case " ${configdirs} " in
16289 if test $ok = yes; then
16290 # An in-tree tool is available and we can use it
16291 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16293 $as_echo "just compiled
" >&6; }
16294 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
16295 # We already found the complete path
16296 ac_dir=`dirname $WINDRES_FOR_TARGET`
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16298 $as_echo "pre-installed
in $ac_dir" >&6; }
16299 elif test "x
$target" = "x
$host"; then
16300 # We can use an host tool
16301 WINDRES_FOR_TARGET='$(WINDRES)'
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16303 $as_echo "host tool
" >&6; }
16305 # We need a cross tool
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16307 $as_echo "pre-installed
" >&6; }
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
16312 $as_echo_n "checking where to
find the target windmc...
" >&6; }
16313 if test "x
${build}" != "x
${host}" ; then
16314 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
16315 # We already found the complete path
16316 ac_dir=`dirname $WINDMC_FOR_TARGET`
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16318 $as_echo "pre-installed
in $ac_dir" >&6; }
16320 # Canadian cross, just use what we found
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16322 $as_echo "pre-installed
" >&6; }
16326 case " ${configdirs} " in
16331 if test $ok = yes; then
16332 # An in-tree tool is available and we can use it
16333 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
16335 $as_echo "just compiled
" >&6; }
16336 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
16337 # We already found the complete path
16338 ac_dir=`dirname $WINDMC_FOR_TARGET`
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
16340 $as_echo "pre-installed
in $ac_dir" >&6; }
16341 elif test "x
$target" = "x
$host"; then
16342 # We can use an host tool
16343 WINDMC_FOR_TARGET='$(WINDMC)'
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
16345 $as_echo "host tool
" >&6; }
16347 # We need a cross tool
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
16349 $as_echo "pre-installed
" >&6; }
16357 # Certain tools may need extra flags.
16358 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
16359 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
16360 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
16362 # When building target libraries, except in a Canadian cross, we use
16363 # the same toolchain as the compiler we just built.
16364 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
16365 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
16366 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
16367 if test $host = $build; then
16368 case " $configdirs " in
16370 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
16371 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
16372 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
16382 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
16383 # Check whether --enable-maintainer-mode was given.
16384 if test "${enable_maintainer_mode+set}" = set; then :
16385 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
16387 USE_MAINTAINER_MODE=no
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
16391 $as_echo "$USE_MAINTAINER_MODE" >&6; }
16394 if test "$USE_MAINTAINER_MODE" = yes; then
16395 MAINTAINER_MODE_TRUE=
16396 MAINTAINER_MODE_FALSE='#'
16398 MAINTAINER_MODE_TRUE='#'
16399 MAINTAINER_MODE_FALSE=
16401 MAINT=$MAINTAINER_MODE_TRUE
16403 # ---------------------
16404 # GCC bootstrap support
16405 # ---------------------
16407 # Stage specific cflags for build.
16412 yes) stage1_cflags="-g -Wa,-J" ;;
16413 *) stage1_cflags="-g -J" ;;
16419 # Enable --enable-checking in stage1 of the compiler.
16420 # Check whether --enable-stage1-checking was given.
16421 if test "${enable_stage1_checking+set}" = set; then :
16422 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
16424 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
16425 # For --disable-checking or implicit --enable-checking=release, avoid
16426 # setting --enable-checking=gc in the default stage1 checking for LTO
16427 # bootstraps. See PR62077.
16428 case $BUILD_CONFIG in
16430 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
16432 stage1_checking=--enable-checking=yes,types;;
16434 if test "x
$enable_checking" = x && \
16435 test -d ${srcdir}/gcc && \
16436 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
16437 stage1_checking=--enable-checking=yes,types,extra
16440 stage1_checking=--enable-checking=$enable_checking,types
16446 # Enable -Werror in bootstrap stage2 and later.
16447 # Check whether --enable-werror was given.
16448 if test "${enable_werror+set}" = set; then :
16449 enableval=$enable_werror;
16450 case ${enable_werror} in
16451 yes) stage2_werror_flag="--enable-werror-always" ;;
16452 *) stage2_werror_flag="" ;;
16457 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
16458 case $BUILD_CONFIG in
16460 stage2_werror_flag="--enable-werror-always" ;;
16462 stage2_werror_flag="--enable-werror-always" ;;
16471 # Specify what files to not compare during bootstrap.
16473 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
16475 hppa*64*-*-hpux*) ;;
16476 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
16477 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
16481 ac_config_files="$ac_config_files Makefile
"
16483 cat >confcache <<\_ACEOF
16484 # This file is a shell script that caches the results of configure
16485 # tests run on this system so they can be shared between configure
16486 # scripts and configure runs, see configure's option --config-cache.
16487 # It is not useful on other systems. If it contains results you don't
16488 # want to keep, you may remove or edit it.
16490 # config.status only pays attention to the cache file if you give it
16491 # the --recheck option to rerun configure.
16493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16495 # following values.
16499 # The following way of writing the cache mishandles newlines in values,
16500 # but we know of no workaround that is simple, portable, and efficient.
16501 # So, we kill variables containing newlines.
16502 # Ultrix sh set writes to stderr and can't be redirected directly,
16503 # and sets the high bit in the cache file unless we assign to the vars.
16505 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16506 eval ac_val=\$$ac_var
16510 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
16511 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
16514 _ | IFS | as_nl) ;; #(
16515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16516 *) { eval $ac_var=; unset $ac_var;} ;;
16522 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16523 *${as_nl}ac_space=\ *)
16524 # `set' does not quote correctly, so add quotes: double-quote
16525 # substitution turns \\\\ into \\, and sed turns \\ into \.
16528 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16531 # `set' quotes correctly as required by POSIX, so do not add quotes.
16532 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16545 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16546 if test -w "$cache_file"; then
16547 if test "x
$cache_file" != "x
/dev
/null
"; then
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
16549 $as_echo "$as_me: updating cache
$cache_file" >&6;}
16550 if test ! -f "$cache_file" || test -h "$cache_file"; then
16551 cat confcache >"$cache_file"
16553 case $cache_file in #(
16555 mv -f confcache "$cache_file"$$ &&
16556 mv -f "$cache_file"$$ "$cache_file" ;; #(
16558 mv -f confcache "$cache_file" ;;
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
16564 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16569 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
16570 # Let make expand exec_prefix.
16571 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
16573 # Transform confdefs.h into DEFS.
16574 # Protect against shell expansion while executing Makefile rules.
16575 # Protect against Makefile macro expansion.
16577 # If the first sed substitution is executed (which looks for macros that
16578 # take arguments), then branch to the quote section. Otherwise,
16579 # look for a macro that doesn't take arguments.
16589 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16591 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16595 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
16608 DEFS=`sed -n "$ac_script" confdefs.h`
16614 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16615 # 1. Remove the extension, and $U if already installed.
16616 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
16617 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16618 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16619 # will be set to the directory where LIBOBJS objects are built.
16620 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16621 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
16623 LIBOBJS=$ac_libobjs
16625 LTLIBOBJS=$ac_ltlibobjs
16629 : "${CONFIG_STATUS=./config.status}"
16631 ac_clean_files_save=$ac_clean_files
16632 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16634 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16636 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16638 # Generated by $as_me.
16639 # Run this file to recreate the current configuration.
16640 # Compiler output produced by configure, useful for debugging
16641 # configure, is in config.log if it exists.
16644 ac_cs_recheck=false
16647 SHELL=\${CONFIG_SHELL-$SHELL}
16650 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16651 ## -------------------- ##
16652 ## M4sh Initialization. ##
16653 ## -------------------- ##
16655 # Be more Bourne compatible
16656 DUALCASE=1; export DUALCASE # for MKS sh
16657 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16660 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16661 # is contrary to our usage. Disable this feature.
16662 alias -g '${1+"$@"}'='"$@"'
16663 setopt NO_GLOB_SUBST
16665 case `(set -o) 2>/dev/null` in #(
16677 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16678 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16679 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
16680 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16681 # Prefer a ksh shell builtin over an external printf program on Solaris,
16682 # but without wasting forks for bash or zsh.
16683 if test -z "$BASH_VERSION$ZSH_VERSION" \
16684 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
16685 as_echo
='print -r --'
16686 as_echo_n
='print -rn --'
16687 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
16688 as_echo
='printf %s\n'
16689 as_echo_n
='printf %s'
16691 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16692 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
16693 as_echo_n
='/usr/ucb/echo -n'
16695 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
16696 as_echo_n_body
='eval
16700 expr "X$arg" : "X\\(.*\\)$as_nl";
16701 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16703 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16705 export as_echo_n_body
16706 as_echo_n
='sh -c $as_echo_n_body as_echo'
16708 export as_echo_body
16709 as_echo
='sh -c $as_echo_body as_echo'
16712 # The user is always right.
16713 if test "${PATH_SEPARATOR+set}" != set; then
16715 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
16716 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
16723 # We need space, tab and new line, in precisely that order. Quoting is
16724 # there to prevent editors from complaining about space-tab.
16725 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16726 # splitting by setting IFS to empty value.)
16729 # Find who we are. Look in the path if we contain no directory separator.
16732 *[\\/]* ) as_myself
=$0 ;;
16733 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16734 for as_dir
in $PATH
16737 test -z "$as_dir" && as_dir
=.
16738 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16744 # We did not find ourselves, most probably we were run as `sh COMMAND'
16745 # in which case we are not to be found in the path.
16746 if test "x$as_myself" = x
; then
16749 if test ! -f "$as_myself"; then
16750 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16754 # Unset variables that we do not need and which cause bugs (e.g. in
16755 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16756 # suppresses any "Segmentation fault" message there. '((' could
16757 # trigger a bug in pdksh 5.2.14.
16758 for as_var
in BASH_ENV ENV MAIL MAILPATH
16759 do eval test x\
${$as_var+set} = xset \
16760 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16773 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16776 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16777 # ----------------------------------------
16778 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16780 # script with STATUS, using 1 if that was 0.
16783 as_status
=$1; test $as_status -eq 0 && as_status
=1
16785 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16786 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16788 $as_echo "$as_me: error: $2" >&2
16789 as_fn_exit
$as_status
16793 # as_fn_set_status STATUS
16794 # -----------------------
16795 # Set $? to STATUS, without forking.
16796 as_fn_set_status
()
16799 } # as_fn_set_status
16801 # as_fn_exit STATUS
16802 # -----------------
16803 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16807 as_fn_set_status
$1
16813 # Portably unset VAR.
16816 { eval $1=; unset $1;}
16818 as_unset
=as_fn_unset
16819 # as_fn_append VAR VALUE
16820 # ----------------------
16821 # Append the text in VALUE to the end of the definition contained in VAR. Take
16822 # advantage of any shell optimizations that allow amortized linear growth over
16823 # repeated appends, instead of the typical quadratic growth present in naive
16825 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16826 eval 'as_fn_append ()
16837 # as_fn_arith ARG...
16838 # ------------------
16839 # Perform arithmetic evaluation on the ARGs, and store the result in the
16840 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16841 # must be portable across $(()) and expr.
16842 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16843 eval 'as_fn_arith ()
16850 as_val
=`expr "$@" || test $? -eq 1`
16855 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16856 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16862 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16863 as_basename
=basename
16868 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16874 as_me
=`$as_basename -- "$0" ||
16875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16876 X"$0" : 'X\(//\)$' \| \
16877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16879 sed '/^.*\/\([^/][^/]*\)\/*$/{
16893 # Avoid depending upon Character Ranges.
16894 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16895 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16896 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16897 as_cr_digits
='0123456789'
16898 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16900 ECHO_C
= ECHO_N
= ECHO_T
=
16901 case `echo -n x` in #(((((
16903 case `echo 'xy\c'` in
16904 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16906 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16913 rm -f conf$$ conf$$.exe conf$$.
file
16914 if test -d conf$$.dir
; then
16915 rm -f conf$$.dir
/conf$$.
file
16918 mkdir conf$$.dir
2>/dev
/null
16920 if (echo >conf$$.
file) 2>/dev
/null
; then
16921 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16923 # ... but there are two gotchas:
16924 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16925 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16926 # In both cases, we have to default to `cp -pR'.
16927 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16929 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16937 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16938 rmdir conf$$.dir
2>/dev
/null
16943 # Create "$as_dir" as a directory, including parents if necessary.
16948 -*) as_dir
=.
/$as_dir;;
16950 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16954 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16955 *) as_qdir
=$as_dir;;
16957 as_dirs
="'$as_qdir' $as_dirs"
16958 as_dir
=`$as_dirname -- "$as_dir" ||
16959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16960 X"$as_dir" : 'X\(//\)[^/]' \| \
16961 X"$as_dir" : 'X\(//\)$' \| \
16962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16963 $as_echo X"$as_dir" |
16964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16968 /^X\(\/\/\)[^/].*/{
16981 test -d "$as_dir" && break
16983 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16984 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16988 if mkdir
-p .
2>/dev
/null
; then
16989 as_mkdir_p
='mkdir -p "$as_dir"'
16991 test -d .
/-p && rmdir .
/-p
16996 # as_fn_executable_p FILE
16997 # -----------------------
16998 # Test if FILE is an executable regular file.
16999 as_fn_executable_p
()
17001 test -f "$1" && test -x "$1"
17002 } # as_fn_executable_p
17003 as_test_x
='test -x'
17004 as_executable_p
=as_fn_executable_p
17006 # Sed expression to map a string onto a valid CPP name.
17007 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17009 # Sed expression to map a string onto a valid variable name.
17010 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17014 ## ----------------------------------- ##
17015 ## Main body of $CONFIG_STATUS script. ##
17016 ## ----------------------------------- ##
17018 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17021 # Save the log message, to keep $0 and so on meaningful, and to
17022 # report actual input values of CONFIG_FILES etc. instead of their
17023 # values after options handling.
17025 This file was extended by $as_me, which was
17026 generated by GNU Autoconf 2.69. Invocation command line was
17028 CONFIG_FILES = $CONFIG_FILES
17029 CONFIG_HEADERS = $CONFIG_HEADERS
17030 CONFIG_LINKS = $CONFIG_LINKS
17031 CONFIG_COMMANDS = $CONFIG_COMMANDS
17034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17039 case $ac_config_files in *"
17040 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17046 # Files that config.status was made for.
17047 config_files="$ac_config_files"
17051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17053 \`$as_me' instantiates files and other configuration actions
17054 from templates according to the current configuration. Unless the files
17055 and actions are specified as TAGs, all are instantiated by default.
17057 Usage: $0 [OPTION]... [TAG]...
17059 -h, --help print this help, then exit
17060 -V, --version print version number and configuration settings, then exit
17061 --config print configuration, then exit
17062 -q, --quiet, --silent
17063 do not print progress messages
17064 -d, --debug don't remove temporary files
17065 --recheck update $as_me by reconfiguring in the same conditions
17066 --file=FILE[:TEMPLATE]
17067 instantiate the configuration file FILE
17069 Configuration files:
17072 Report bugs to the package provider."
17075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17076 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17079 configured by $0, generated by GNU Autoconf 2.69,
17080 with options \\"\$ac_cs_config\\"
17082 Copyright (C) 2012 Free Software Foundation, Inc.
17083 This config.status script is free software; the Free Software Foundation
17084 gives unlimited permission to copy, distribute and modify it."
17090 test -n "\$AWK" || AWK=awk
17093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17094 # The default lists apply if the user does not specify any file.
17100 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17101 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17105 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17117 # Handling of the options.
17118 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17120 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17121 $as_echo "$ac_cs_version"; exit ;;
17122 --config |
--confi |
--conf |
--con |
--co |
--c )
17123 $as_echo "$ac_cs_config"; exit ;;
17124 --debug |
--debu |
--deb |
--de |
--d |
-d )
17126 --file |
--fil |
--fi |
--f )
17129 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17130 '') as_fn_error $?
"missing file argument" ;;
17132 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17133 ac_need_defaults
=false
;;
17134 --he |
--h |
--help |
--hel |
-h )
17135 $as_echo "$ac_cs_usage"; exit ;;
17136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17137 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17140 # This is an error.
17141 -*) as_fn_error $?
"unrecognized option: \`$1'
17142 Try \`$0 --help' for more information." ;;
17144 *) as_fn_append ac_config_targets
" $1"
17145 ac_need_defaults
=false
;;
17151 ac_configure_extra_args
=
17153 if $ac_cs_silent; then
17155 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17160 if \$ac_cs_recheck; then
17161 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17163 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17164 CONFIG_SHELL='$SHELL'
17165 export CONFIG_SHELL
17170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17175 ## Running $as_me. ##
17181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17185 extrasub_build="$extrasub_build"
17186 extrasub_host="$extrasub_host"
17187 extrasub_target="$extrasub_target"
17191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17193 # Handling of arguments.
17194 for ac_config_target
in $ac_config_targets
17196 case $ac_config_target in
17197 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17199 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17204 # If the user did not use the arguments to specify the items to instantiate,
17205 # then the envvar interface is used. Set only those that are not.
17206 # We use the long form for the default assignment because of an extremely
17207 # bizarre bug on SunOS 4.1.3.
17208 if $ac_need_defaults; then
17209 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17212 # Have a temporary directory for convenience. Make it in the build tree
17213 # simply because there is no reason against having it here, and in addition,
17214 # creating and moving files from /tmp can sometimes cause problems.
17215 # Hook for its removal unless debugging.
17216 # Note that there is a small window in which the directory will not be cleaned:
17217 # after its creation but before its name has been assigned to `$tmp'.
17221 trap 'exit_status=$?
17222 : "${ac_tmp:=$tmp}"
17223 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17225 trap 'as_fn_exit 1' 1 2 13 15
17227 # Create a (secure) tmp directory for tmp files.
17230 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17234 tmp
=.
/conf$$
-$RANDOM
17235 (umask 077 && mkdir
"$tmp")
17236 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17239 # Set up the scripts for CONFIG_FILES section.
17240 # No need to generate them if there are no CONFIG_FILES.
17241 # This happens for instance with `./config.status config.h'.
17242 if test -n "$CONFIG_FILES"; then
17244 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17245 ac_cs_awk_getline
=:
17246 ac_cs_awk_pipe_init
=
17247 ac_cs_awk_read_file
='
17248 while ((getline aline < (F[key])) > 0)
17251 ac_cs_awk_pipe_fini
=
17253 ac_cs_awk_getline
=false
17254 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17255 ac_cs_awk_read_file
='
17257 print "cat " F[key] " &&"
17258 '$ac_cs_awk_pipe_init
17259 # The final `:' finishes the AND list.
17260 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17262 ac_cr
=`echo X | tr X '\015'`
17263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17264 # But we know of no other shell where ac_cr would be empty at this
17265 # point, so we can use a bashism as a fallback.
17266 if test "x$ac_cr" = x
; then
17267 eval ac_cr
=\$
\'\\r
\'
17269 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17273 ac_cs_awk_cr
=$ac_cr
17276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17279 # Create commands to substitute file output variables.
17281 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17282 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17283 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17286 } >conf$
$files.sh
&&
17287 . .
/conf$
$files.sh ||
17288 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17289 rm -f conf$
$files.sh
17292 echo "cat >conf$$subs.awk <<_ACEOF" &&
17293 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17295 } >conf$$subs.sh ||
17296 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17297 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17299 for ac_last_try in false false false false false :; do
17300 . ./conf$$subs.sh ||
17301 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17303 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17304 if test $ac_delim_n = $ac_delim_num; then
17306 elif $ac_last_try; then
17307 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17309 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17312 rm -f conf$$subs.sh
17314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17315 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17319 s/^/S["/; s
/!.
*/"]=/
17329 s/\(.\{148\}\)..*/\1/
17331 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17336 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17343 s/\(.\{148\}\)..*/\1/
17345 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17349 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17354 ' <conf$$subs.awk | sed '
17359 ' >>$CONFIG_STATUS || ac_write_fail=1
17360 rm -f conf$$subs.awk
17361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17363 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17364 for (key in S) S_is_set[key] = 1
17366 \$ac_cs_awk_pipe_init
17370 nfields = split(line, field, "@
")
17372 len = length(field[1])
17373 for (i = 2; i < nfields; i++) {
17375 keylen = length(key)
17376 if (S_is_set[key]) {
17378 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17379 len += length(value) + length(field[++i])
17384 if (nfields == 3 && !substed) {
17386 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17387 \$ac_cs_awk_read_file
17393 \$ac_cs_awk_pipe_fini
17396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17397 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17398 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17401 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17402 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17407 # trailing colons and then remove the whole line if VPATH becomes empty
17408 # (actually we leave an empty line to preserve line numbers).
17409 if test "x
$srcdir" = x.; then
17410 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17429 fi # test -n "$CONFIG_FILES"
17432 eval set X " :F
$CONFIG_FILES "
17437 :[FHLC]) ac_mode=$ac_tag; continue;;
17439 case $ac_mode$ac_tag in
17441 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17442 :[FH]-) ac_tag=-:-;;
17443 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17460 -) ac_f="$ac_tmp/stdin";;
17461 *) # Look for the file first in the build tree, then in the source tree
17462 # (if the path is not absolute). The absolute path cannot be DOS-style,
17463 # because $ac_f cannot contain `:'.
17467 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17469 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17471 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17472 as_fn_append ac_file_inputs " '$ac_f'"
17475 # Let's still pretend it is `configure' which instantiates (i.e., don't
17476 # use $as_me), people would be surprised to read:
17477 # /* config.h. Generated by config.status. */
17478 configure_input='Generated from '`
17479 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17481 if test x"$ac_file" != x-; then
17482 configure_input="$ac_file.
$configure_input"
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17484 $as_echo "$as_me: creating
$ac_file" >&6;}
17486 # Neutralize special characters interpreted by sed in replacement strings.
17487 case $configure_input in #(
17488 *\&* | *\|* | *\\* )
17489 ac_sed_conf_input=`$as_echo "$configure_input" |
17490 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17491 *) ac_sed_conf_input=$configure_input;;
17495 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
17496 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
17501 ac_dir=`$as_dirname -- "$ac_file" ||
17502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17503 X"$ac_file" : 'X\(//\)[^/]' \| \
17504 X"$ac_file" : 'X\(//\)$' \| \
17505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17506 $as_echo X"$ac_file" |
17507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17511 /^X\(\/\/\)[^/].*/{
17524 as_dir="$ac_dir"; as_fn_mkdir_p
17528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17531 # A "..
" for each directory in $ac_dir_suffix.
17532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17533 case $ac_top_builddir_sub in
17534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17538 ac_abs_top_builddir=$ac_pwd
17539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17540 # for backward compatibility:
17541 ac_top_builddir=$ac_top_build_prefix
17544 .) # We are building in place.
17546 ac_top_srcdir=$ac_top_builddir_sub
17547 ac_abs_top_srcdir=$ac_pwd ;;
17548 [\\/]* | ?:[\\/]* ) # Absolute name.
17549 ac_srcdir=$srcdir$ac_dir_suffix;
17550 ac_top_srcdir=$srcdir
17551 ac_abs_top_srcdir=$srcdir ;;
17552 *) # Relative name.
17553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17554 ac_top_srcdir=$ac_top_build_prefix$srcdir
17555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17567 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17568 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17573 # If the template does not know about datarootdir, expand it.
17574 # FIXME: This hack should be removed a few years after 2.60.
17575 ac_datarootdir_hack=; ac_datarootdir_seen=
17586 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17587 *datarootdir*) ac_datarootdir_seen=yes;;
17588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17590 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17593 ac_datarootdir_hack='
17594 s&@datadir@&$datadir&g
17595 s&@docdir@&$docdir&g
17596 s&@infodir@&$infodir&g
17597 s&@localedir@&$localedir&g
17598 s&@mandir@&$mandir&g
17599 s&\\\${datarootdir}&$datarootdir&g' ;;
17603 # Neutralize VPATH when `$srcdir' = `.'.
17604 # Shell code in configure.ac might set extrasub.
17605 # FIXME: do we really want to maintain this feature?
17606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17607 ac_sed_extra="$ac_vpsub
17610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17612 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17613 s|@configure_input@|
$ac_sed_conf_input|
;t t
17614 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17615 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17616 s
&@srcdir@
&$ac_srcdir&;t t
17617 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17618 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17619 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17620 s
&@builddir@
&$ac_builddir&;t t
17621 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17622 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17623 s
&@INSTALL@
&$ac_INSTALL&;t t
17624 $ac_datarootdir_hack
17626 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17627 if $ac_cs_awk_getline; then
17628 $AWK -f "$ac_tmp/subs.
awk"
17630 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17632 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17635 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17637 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17639 which seems to be undefined. Please make sure it is defined" >&5
17640 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17641 which seems to be undefined. Please make sure it is defined" >&2;}
17643 rm -f "$ac_tmp/stdin"
17645 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17646 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17656 case $ac_file$ac_mode in
17657 "Makefile":F) sed "$extrasub_build" Makefile |
17658 sed "$extrasub_host" |
17659 sed "$extrasub_target" > mf$$
17660 mv -f mf$$ Makefile ;;
17668 ac_clean_files=$ac_clean_files_save
17670 test $ac_write_fail = 0 ||
17671 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17674 # configure is writing to config.log, and then calls config.status.
17675 # config.status does its own redirection, appending to config.log.
17676 # Unfortunately, on DOS this fails, as config.log is still kept open
17677 # by configure, so config.status won't be able to
write to it
; its
17678 # output is simply discarded. So we exec the FD to /dev/null,
17679 # effectively closing config.log, so it can be properly (re)opened and
17680 # appended to by config.status. When coming back to configure, we
17681 # need to make the FD available again.
17682 if test "$no_create" != yes; then
17684 ac_config_status_args
=
17685 test "$silent" = yes &&
17686 ac_config_status_args
="$ac_config_status_args --quiet"
17688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17691 # would make configure fail if this is the last instruction.
17692 $ac_cs_success || as_fn_exit
1
17694 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17696 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}