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
675 DEBUG_PREFIX_CFLAGS_FOR_TARGET
676 SYSROOT_CFLAGS_FOR_TARGET
678 extra_host_zlib_configure_flags
679 extra_host_libiberty_configure_flags
682 extra_linker_plugin_flags
683 extra_linker_plugin_configure_flags
690 extra_isl_gmp_configure_flags
691 extra_mpc_mpfr_configure_flags
692 extra_mpc_gmp_configure_flags
693 extra_mpfr_configure_flags
712 extra_liboffloadmic_configure_flags
739 TOPLEVEL_CONFIGURE_ARGUMENTS
767 program_transform_name
778 ac_subst_files
='serialization_dependencies
784 enable_option_checking
787 enable_as_accelerator_for
788 enable_offload_targets
792 enable_compressed_debug_sections
795 enable_libquadmath_support
814 with_static_standard_libraries
821 enable_isl_version_check
823 enable_linker_plugin_configure_flags
824 enable_linker_plugin_flags
826 enable_stage1_languages
829 with_target_bdw_gc_include
830 with_target_bdw_gc_lib
831 with_gcc_major_version_only
833 with_debug_prefix_map
836 enable_serial_configure
837 with_build_time_tools
838 enable_maintainer_mode
839 enable_stage1_checking
842 ac_precious_vars
='build_alias
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error $?
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* |
--without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error $?
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1259 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1262 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1266 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1269 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information"
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1281 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error $?
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1350 test "$silent" = yes && exec 6>/dev
/null
1353 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di
=`ls -di .` &&
1355 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $?
"working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $?
"pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1415 as_fn_error $?
"path to source, $srcdir, contains spaces"
1418 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures this package to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking ...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --program-prefix=PREFIX prepend PREFIX to installed program names
1493 --program-suffix=SUFFIX append SUFFIX to installed program names
1494 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1497 --build=BUILD configure
for building on BUILD
[guessed
]
1498 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1499 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1503 if test -n "$ac_init_help"; then
1508 --disable-option-checking ignore unrecognized
--enable/--with options
1509 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1510 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1511 --enable-as-accelerator-for=ARG
1512 build as offload target compiler. Specify offload
1514 --enable-offload-targets=LIST
1515 enable offloading to devices from comma-separated
1516 LIST of TARGET
[=DIR
]. Use optional path to
find
1517 offload target compiler during the build
1518 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1519 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1520 --enable-gprofng[=ARG
] build gprofng
[ARG
={yes,no
}]
1521 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1522 Enable compressed debug sections
for gas
, gold or ld
1524 --enable-year2038 enable support
for timestamps past the year
2038
1525 --disable-libquadmath do not build libquadmath directory
1526 --disable-libquadmath-support
1527 disable libquadmath support
for Fortran
1528 --enable-libada build libada directory
1529 --enable-libssp build libssp directory
1530 --disable-libstdcxx do not build libstdc
++-v3 directory
1531 --enable-liboffloadmic=ARG
1532 build liboffloadmic
[ARG
={no
,host,target
}]
1533 --enable-bootstrap enable bootstrapping
[yes if native build
]
1534 --enable-pgo-build[=lto
]
1535 enable the PGO build
1536 --disable-isl-version-check
1537 disable check
for isl version
1538 --enable-lto enable link
time optimization support
1539 --enable-linker-plugin-configure-flags=FLAGS
1540 additional flags
for configuring linker plugins
1542 --enable-linker-plugin-flags=FLAGS
1543 additional flags
for configuring and building linker
1545 --enable-host-shared build
host code as shared libraries
1546 --enable-stage1-languages[=all
]
1547 choose additional languages to build during stage1.
1548 Mostly useful
for compiler development
1549 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1551 --enable-vtable-verify Enable vtable verification feature
1552 --enable-serial-[{host,target,build}-]configure
1553 force sequential configuration of sub-packages for
1554 the host, target or build machine, or all
1556 --enable-maintainer-mode
1557 enable make rules and dependencies not useful (and
1558 sometimes confusing) to the casual installer
1559 --enable-stage1-checking[=all]
1560 choose additional checking for stage1 of the
1562 --enable-werror enable -Werror in bootstrap stage2 and later
1565 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1566 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1567 --with-build-libsubdir=DIR Directory where to find libraries for build system
1568 --with-system-zlib use installed libz
1569 --with-mpc=PATH specify prefix directory for installed MPC package.
1570 Equivalent to --with-mpc-include=PATH/include plus
1571 --with-mpc-lib=PATH/lib
1572 --with-mpc-include=PATH specify directory for installed MPC include files
1573 --with-mpc-lib=PATH specify directory for the installed MPC library
1574 --with-mpfr-dir=PATH this option has been REMOVED
1575 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1576 Equivalent to --with-mpfr-include=PATH/include plus
1577 --with-mpfr-lib=PATH/lib
1578 --with-mpfr-include=PATH
1579 specify directory for installed MPFR include files
1580 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1581 --with-gmp-dir=PATH this option has been REMOVED
1582 --with-gmp=PATH specify prefix directory for the installed GMP
1583 package. Equivalent to
1584 --with-gmp-include=PATH/include plus
1585 --with-gmp-lib=PATH/lib
1586 --with-gmp-include=PATH specify directory for installed GMP include files
1587 --with-gmp-lib=PATH specify directory for the installed GMP library
1588 --with-stage1-libs=LIBS libraries for stage1
1589 --with-static-standard-libraries
1590 use -static-libstdc++ and -static-libgcc
1592 --with-stage1-ldflags=FLAGS
1593 linker flags for stage1
1594 --with-boot-libs=LIBS libraries for stage2 and later
1595 --with-boot-ldflags=FLAGS
1596 linker flags for stage2 and later
1597 --with-isl=PATH Specify prefix directory for the installed isl
1598 package. Equivalent to
1599 --with-isl-include=PATH/include plus
1600 --with-isl-lib=PATH/lib
1601 --with-isl-include=PATH Specify directory for installed isl include files
1602 --with-isl-lib=PATH Specify the directory for the installed isl library
1603 --with-target-bdw-gc=PATHLIST
1604 specify prefix directory for installed bdw-gc
1605 package. Equivalent to
1606 --with-target-bdw-gc-include=PATH/include plus
1607 --with-target-bdw-gc-lib=PATH/lib
1608 --with-target-bdw-gc-include=PATHLIST
1609 specify directories for installed bdw-gc include
1611 --with-target-bdw-gc-lib=PATHLIST
1612 specify directories for installed bdw-gc library
1613 --with-gcc-major-version-only
1614 use only GCC major number in filesystem paths
1615 --with-build-sysroot=SYSROOT
1616 use sysroot as the system root during the build
1617 --with-debug-prefix-map='A
=B C
=D ...
'
1618 map A to B, C to D ... in debug information
1619 --with-build-config='NAME NAME2...
'
1620 use config/NAME.mk build configuration
1621 --with-build-time-tools=PATH
1622 use given path to find target tools during the build
1624 Some influential environment variables:
1625 CC C compiler command
1626 CFLAGS C compiler flags
1627 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1628 nonstandard directory <lib dir>
1629 LIBS libraries to pass to the linker, e.g. -l<library>
1630 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1631 you have headers in a nonstandard directory <include dir>
1632 CXX C++ compiler command
1633 CXXFLAGS C++ compiler flags
1635 additional configure arguments for build directories
1637 additional configure arguments for host directories
1639 additional configure arguments for target directories
1642 DLLTOOL DLLTOOL for the host
1644 LIPO LIPO for the host
1646 RANLIB RANLIB for the host
1647 STRIP STRIP for the host
1648 WINDRES WINDRES for the host
1649 WINDMC WINDMC for the host
1650 OBJCOPY OBJCOPY for the host
1651 OBJDUMP OBJDUMP for the host
1652 READELF READELF for the host
1660 GFORTRAN for the target
1668 DLLTOOL for the target
1676 OBJCOPY for the target
1678 OBJDUMP 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 \
2822 # these tools are built using the target libraries, and are intended to
2823 # run only in the target environment
2825 # note: any program that *uses* libraries that are in the "target_libraries"
2826 # list belongs in this list.
2828 target_tools
="target-rda"
2830 ################################################################################
2832 ## All tools belong in one of the four categories, and are assigned above
2833 ## We assign ${configdirs} this way to remove all embedded newlines. This
2834 ## is important because configure will choke if they ever get through.
2835 ## ${configdirs} is directories we build using the host tools.
2836 ## ${target_configdirs} is directories we build using the target tools.
2837 configdirs
=`echo ${host_libs} ${host_tools}`
2838 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2839 build_configdirs
=`echo ${build_libs} ${build_tools}`
2843 ################################################################################
2845 srcname
="gnu development package"
2847 # This gets set non-empty for some net releases of packages.
2850 # Define is_cross_compiler to save on calls to 'test'.
2852 if test x
"${host}" = x
"${target}" ; then
2853 is_cross_compiler
=no
2855 is_cross_compiler
=yes
2858 # Find the build and target subdir names.
2860 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2861 # have matching libraries, they should use host libraries: Makefile.tpl
2862 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2863 # However, they still use the build modules, because the corresponding
2864 # host modules (e.g. bison) are only built for the host when bootstrap
2866 # - build_subdir is where we find build modules, and never changes.
2867 # - build_libsubdir is where we find build libraries, and can be overridden.
2869 # Prefix 'build-' so this never conflicts with target_subdir.
2870 build_subdir
="build-${build_noncanonical}"
2872 # Check whether --with-build-libsubdir was given.
2873 if test "${with_build_libsubdir+set}" = set; then :
2874 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2876 build_libsubdir
="$build_subdir"
2879 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2880 if ( test $srcdir = .
&& test -d gcc
) \
2881 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2882 host_subdir
="host-${host_noncanonical}"
2887 target_subdir
=${target_noncanonical}
2889 # Be sure to cover against remnants of an in-tree build.
2890 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2891 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2892 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2895 # Skipdirs are removed silently.
2897 # Noconfigdirs are removed loudly.
2901 # Make sure we don't let GNU ld be added if we didn't want it.
2902 if test x
$with_gnu_ld = xno
; then
2904 noconfigdirs
="$noconfigdirs ld gold"
2908 # Make sure we don't let GNU as be added if we didn't want it.
2909 if test x
$with_gnu_as = xno
; then
2911 noconfigdirs
="$noconfigdirs gas"
2916 # Check whether --with-system-zlib was given.
2917 if test "${with_system_zlib+set}" = set; then :
2918 withval
=$with_system_zlib;
2921 # Make sure we don't let ZLIB be added if we didn't want it.
2922 if test x
$with_system_zlib = xyes
; then
2923 use_included_zlib
=no
2924 noconfigdirs
="$noconfigdirs zlib"
2927 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2929 if test x
$with_system_readline = xyes
; then
2930 noconfigdirs
="$noconfigdirs readline"
2933 # some tools are so dependent upon X11 that if we're not building with X,
2934 # it's not even worth trying to configure, much less build, that tool.
2937 yes |
"") ;; # the default value for this tree is that X11 is available
2939 skipdirs
="${skipdirs} tk itcl libgui"
2940 # We won't be able to build gdbtk without X.
2943 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2946 # Some are only suitable for cross toolchains.
2947 # Remove these if host=target.
2948 cross_only
="target-libgloss target-newlib target-opcodes"
2950 case $is_cross_compiler in
2951 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2954 # If both --with-headers and --with-libs are specified, default to
2956 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2957 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2958 if test x
"${with_newlib}" = x
; then
2963 # Recognize --with-newlib/--without-newlib.
2964 case ${with_newlib} in
2965 no
) skipdirs
="${skipdirs} target-newlib" ;;
2966 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2969 # Check whether --enable-as-accelerator-for was given.
2970 if test "${enable_as_accelerator_for+set}" = set; then :
2971 enableval
=$enable_as_accelerator_for;
2975 # Check whether --enable-offload-targets was given.
2976 if test "${enable_offload_targets+set}" = set; then :
2977 enableval
=$enable_offload_targets;
2978 if test x
"$enable_offload_targets" = x
; then
2979 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2983 enable_offload_targets
=
2987 # Handle --enable-gold, --enable-ld.
2988 # --disable-gold [--enable-ld]
2989 # Build only ld. Default option.
2990 # --enable-gold [--enable-ld]
2991 # Build both gold and ld. Install gold as "ld.gold", install ld
2992 # as "ld.bfd" and "ld".
2993 # --enable-gold=default [--enable-ld]
2994 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2995 # install ld as "ld.bfd".
2996 # --enable-gold[=default] --disable-ld
2997 # Build only gold, which is then installed as both "ld.gold" and "ld".
2998 # --enable-gold --enable-ld=default
2999 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
3001 # In other words, ld is default
3002 # --enable-gold=default --enable-ld=default
3006 # Check whether --enable-gold was given.
3007 if test "${enable_gold+set}" = set; then :
3008 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3013 case "${ENABLE_GOLD}" in
3015 # Check for ELF target.
3018 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3019 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3020 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3021 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl* |
*-*-haiku*)
3023 *-*-linux*aout
* |
*-*-linux*oldld
*)
3031 if test "$is_elf" = "yes"; then
3032 # Check for target supported by gold.
3034 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3035 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3036 configdirs
="$configdirs gold"
3037 if test x
${ENABLE_GOLD} = xdefault
; then
3048 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3052 # Check whether --enable-ld was given.
3053 if test "${enable_ld+set}" = set; then :
3054 enableval
=$enable_ld; ENABLE_LD
=$enableval
3060 case "${ENABLE_LD}" in
3062 if test x
${default_ld} != x
; then
3063 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3069 if test x
${ENABLE_GOLD} != xyes
; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3071 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3073 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3076 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3080 # Check whether --enable-gprofng was given.
3081 if test "${enable_gprofng+set}" = set; then :
3082 enableval
=$enable_gprofng; enable_gprofng
=$enableval
3087 if test "$enable_gprofng" = "yes"; then
3089 x86_64-
*-linux* | i?
86-*-linux* | aarch64-
*-linux*)
3090 configdirs
="$configdirs gprofng"
3097 # Decide the default method for compressing debug sections.
3098 # Provide a configure time option to override our default.
3099 # Check whether --enable-compressed_debug_sections was given.
3100 if test "${enable_compressed_debug_sections+set}" = set; then :
3101 enableval
=$enable_compressed_debug_sections;
3102 if test x
"$enable_compressed_debug_sections" = xyes
; then
3103 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3107 enable_compressed_debug_sections
=
3111 # Configure extra directories which are host specific
3115 configdirs
="$configdirs libtermcap" ;;
3118 # A target can indicate whether a language isn't supported for some reason.
3119 # Only spaces may be used in this macro; not newlines or tabs.
3120 unsupported_languages
=
3122 # Remove more programs from consideration, based on the host or
3123 # target this usually means that a port of the program doesn't
3127 i
[3456789]86-*-msdosdjgpp*)
3128 noconfigdirs
="$noconfigdirs tcl tk itcl"
3132 # Default to --disable-year2038 until we can handle differences between
3133 # projects that use gnulib (which understands year 2038) and projects that
3134 # do not (like BFD).
3135 # Check whether --enable-year2038 was given.
3136 if test "${enable_year2038+set}" = set; then :
3137 enableval
=$enable_year2038; ENABLE_YEAR2038
=$enableval
3143 if test "${ENABLE_YEAR2038}" = "no" ; then
3147 # Check whether --enable-libquadmath was given.
3148 if test "${enable_libquadmath+set}" = set; then :
3149 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3151 ENABLE_LIBQUADMATH
=yes
3154 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3155 noconfigdirs
="$noconfigdirs target-libquadmath"
3159 # Check whether --enable-libquadmath-support was given.
3160 if test "${enable_libquadmath_support+set}" = set; then :
3161 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3163 ENABLE_LIBQUADMATH_SUPPORT
=yes
3166 enable_libquadmath_support
=
3167 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3168 enable_libquadmath_support
=no
3172 # Check whether --enable-libada was given.
3173 if test "${enable_libada+set}" = set; then :
3174 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3179 if test "${ENABLE_LIBADA}" != "yes" ; then
3180 noconfigdirs
="$noconfigdirs gnattools"
3183 # Check whether --enable-libssp was given.
3184 if test "${enable_libssp+set}" = set; then :
3185 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3191 # Check whether --enable-libstdcxx was given.
3192 if test "${enable_libstdcxx+set}" = set; then :
3193 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3195 ENABLE_LIBSTDCXX
=default
3198 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3199 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3202 # If this is accelerator compiler and its target is intelmic we enable
3203 # target liboffloadmic by default. If this is compiler with offloading
3204 # for intelmic we enable host liboffloadmic by default. Otherwise
3205 # liboffloadmic is disabled by default.
3206 # Check whether --enable-liboffloadmic was given.
3207 if test "${enable_liboffloadmic+set}" = set; then :
3208 enableval
=$enable_liboffloadmic; case "$enableval" in
3210 enable_liboffloadmic
=$enableval ;;
3212 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3215 if test x
"$enable_as_accelerator_for" != x
; then
3217 *-intelmic-* |
*-intelmicemul-*)
3218 enable_liboffloadmic
=target
3219 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3222 enable_liboffloadmic
=no
3226 case "${enable_offload_targets}" in
3227 *-intelmic-* |
*-intelmicemul-*)
3228 enable_liboffloadmic
=host
3229 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3232 enable_liboffloadmic
=no
3240 # Enable libgomp by default on hosted POSIX systems, and a few others.
3241 if test x
$enable_libgomp = x
; then
3243 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3245 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3247 *-*-solaris2* |
*-*-hpux11*)
3249 *-*-darwin* |
*-*-aix*)
3254 noconfigdirs
="$noconfigdirs target-libgomp"
3259 # Disable libatomic on unsupported systems.
3260 if test -d ${srcdir}/libatomic
; then
3261 if test x
$enable_libatomic = x
; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3263 $as_echo_n "checking for libatomic support... " >&6; }
3264 if (srcdir
=${srcdir}/libatomic
; \
3265 .
${srcdir}/configure.tgt
; \
3266 test -n "$UNSUPPORTED")
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3270 noconfigdirs
="$noconfigdirs target-libatomic"
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3273 $as_echo "yes" >&6; }
3278 # Disable liboffloadmic on unsupported systems.
3279 if test -d ${srcdir}/liboffloadmic
; then
3280 if test x
$enable_liboffloadmic != xno
; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3282 $as_echo_n "checking for liboffloadmic support... " >&6; }
3283 if (srcdir
=${srcdir}/liboffloadmic
; \
3284 .
${srcdir}/configure.tgt
; \
3285 test -n "$UNSUPPORTED")
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292 $as_echo "yes" >&6; }
3297 # Disable libitm on unsupported systems.
3298 if test -d ${srcdir}/libitm
; then
3299 if test x
$enable_libitm = x
; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3301 $as_echo_n "checking for libitm support... " >&6; }
3302 if (srcdir
=${srcdir}/libitm
; \
3303 .
${srcdir}/configure.tgt
; \
3304 test -n "$UNSUPPORTED")
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3308 noconfigdirs
="$noconfigdirs target-libitm"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3311 $as_echo "yes" >&6; }
3316 # Disable libsanitizer on unsupported systems.
3317 if test -d ${srcdir}/libsanitizer
; then
3318 if test x
$enable_libsanitizer = x
; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3320 $as_echo_n "checking for libsanitizer support... " >&6; }
3321 if (srcdir
=${srcdir}/libsanitizer
; \
3322 .
${srcdir}/configure.tgt
; \
3323 test -n "$UNSUPPORTED")
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 noconfigdirs
="$noconfigdirs target-libsanitizer"
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330 $as_echo "yes" >&6; }
3335 # Disable libvtv on unsupported systems.
3336 if test -d ${srcdir}/libvtv
; then
3337 if test x
$enable_libvtv = x
; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3339 $as_echo_n "checking for libvtv support... " >&6; }
3340 if (srcdir
=${srcdir}/libvtv
; \
3341 .
${srcdir}/configure.tgt
; \
3342 test "$VTV_SUPPORTED" != "yes")
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3346 noconfigdirs
="$noconfigdirs target-libvtv"
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349 $as_echo "yes" >&6; }
3355 # Disable libhsail-rt on unsupported systems.
3356 if test -d ${srcdir}/libhsail-rt
; then
3357 if test x
$enable_libhsail_rt = x
; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3359 $as_echo_n "checking for libhsail-rt support... " >&6; }
3360 if (srcdir
=${srcdir}/libhsail-rt
; \
3361 .
${srcdir}/configure.tgt
; \
3362 test -n "$UNSUPPORTED")
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3366 unsupported_languages
="$unsupported_languages brig"
3367 # This implicitly disables also target-libhsail-rt as it won't
3368 # get added to the build without BRIG FE.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3371 $as_echo "yes" >&6; }
3377 # Disable libquadmath for some systems.
3380 noconfigdirs
="$noconfigdirs target-libquadmath"
3382 # libquadmath is unused on AIX and libquadmath build process use of
3383 # LD_LIBRARY_PATH can break AIX bootstrap.
3384 powerpc-
*-aix* | rs6000-
*-aix*)
3385 noconfigdirs
="$noconfigdirs target-libquadmath"
3389 # Disable libssp for some systems.
3392 # No hosted I/O support.
3393 noconfigdirs
="$noconfigdirs target-libssp"
3395 powerpc-
*-aix* | rs6000-
*-aix*)
3396 noconfigdirs
="$noconfigdirs target-libssp"
3399 # libssp uses a misaligned load to trigger a fault, but the RL78
3400 # doesn't fault for those - instead, it gives a build-time error
3401 # for explicit misaligned loads.
3402 noconfigdirs
="$noconfigdirs target-libssp"
3405 # No hosted I/O support.
3406 noconfigdirs
="$noconfigdirs target-libssp"
3410 # Disable libstdc++-v3 for some systems.
3411 # Allow user to override this if they pass --enable-libstdc++-v3
3412 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3415 # VxWorks uses the Dinkumware C++ library.
3416 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3419 # the C++ libraries don't build on top of CE's C libraries
3420 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3423 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3426 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3431 # Disable Fortran for some systems.
3434 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3435 unsupported_languages
="$unsupported_languages fortran"
3439 # Disable libffi for some systems.
3443 i
[3456789]86-*-darwin*)
3445 x86_64-
*-darwin[912]*)
3448 noconfigdirs
="$noconfigdirs target-libffi"
3451 noconfigdirs
="$noconfigdirs target-libffi"
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3460 noconfigdirs
="$noconfigdirs target-libffi"
3463 noconfigdirs
="$noconfigdirs target-libffi"
3466 noconfigdirs
="$noconfigdirs target-libffi"
3468 aarch64
*-*-freebsd*)
3469 noconfigdirs
="$noconfigdirs target-libffi"
3472 noconfigdirs
="$noconfigdirs target-libffi"
3475 noconfigdirs
="$noconfigdirs target-libffi"
3478 noconfigdirs
="$noconfigdirs target-libffi"
3480 cris-
*-* | crisv32-
*-*)
3484 *) # See PR46792 regarding target-libffi.
3485 noconfigdirs
="$noconfigdirs target-libffi";;
3489 noconfigdirs
="$noconfigdirs target-libffi"
3494 noconfigdirs
="$noconfigdirs target-libffi"
3497 noconfigdirs
="$noconfigdirs target-libffi"
3499 i
[3456789]86-w64-mingw*)
3500 noconfigdirs
="$noconfigdirs target-libffi"
3502 i
[3456789]86-*-mingw*)
3503 noconfigdirs
="$noconfigdirs target-libffi"
3506 noconfigdirs
="$noconfigdirs target-libffi"
3509 noconfigdirs
="$noconfigdirs target-libffi"
3516 noconfigdirs
="$noconfigdirs target-libffi"
3519 noconfigdirs
="$noconfigdirs target-libffi"
3523 # Disable the go frontend on systems where it is known to not work. Please keep
3524 # this in sync with contrib/config-list.mk.
3526 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3527 unsupported_languages
="$unsupported_languages go"
3531 # Only allow gdbserver on some systems.
3532 if test -d ${srcdir}/gdbserver
; then
3533 if test x
$enable_gdbserver = x
; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3535 $as_echo_n "checking for gdbserver support... " >&6; }
3536 if (srcdir
=${srcdir}/gdbserver
; \
3537 .
${srcdir}/configure.srv
; \
3538 test -n "$UNSUPPORTED")
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3541 $as_echo "no" >&6; }
3542 noconfigdirs
="$noconfigdirs gdbserver"
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3545 $as_echo "yes" >&6; }
3550 # Disable libgo for some systems where it is known to not work.
3551 # For testing, you can easily override this with --enable-libgo.
3552 if test x
$enable_libgo = x
; then
3556 noconfigdirs
="$noconfigdirs target-libgo"
3558 *-*-cygwin* |
*-*-mingw*)
3559 noconfigdirs
="$noconfigdirs target-libgo"
3564 # Default libgloss CPU subdirectory.
3565 libgloss_dir
="$target_cpu"
3568 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3572 libgloss_dir
=aarch64
3577 cris-
*-* | crisv32-
*-*)
3586 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3587 libgloss_dir
=m68hc11
3589 m68
*-*-* | fido-
*-*)
3603 # Disable newlib and libgloss for various target OSes.
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3608 i
[3456789]86-*-linux*)
3609 # This section makes it possible to build newlib natively on linux.
3610 # If we are using a cross compiler then don't configure newlib.
3611 if test x
${is_cross_compiler} != xno
; then
3612 noconfigdirs
="$noconfigdirs target-newlib"
3614 noconfigdirs
="$noconfigdirs target-libgloss"
3615 # If we are not using a cross compiler, do configure newlib.
3616 # Note however, that newlib will only be configured in this situation
3617 # if the --with-newlib option has been given, because otherwise
3618 # 'target-newlib' will appear in skipdirs.
3620 i
[3456789]86-*-rdos*)
3621 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3623 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3624 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3627 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3630 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3633 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3636 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3639 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3642 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3645 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3648 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3651 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3654 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3657 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3660 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3663 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3666 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3674 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3675 noconfigdirs
="$noconfigdirs sim target-rda"
3678 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3679 noconfigdirs
="$noconfigdirs sim target-rda"
3682 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3683 noconfigdirs
="$noconfigdirs sim target-rda"
3685 i
[3456789]86-*-darwin*)
3686 noconfigdirs
="$noconfigdirs ld gprof"
3687 noconfigdirs
="$noconfigdirs sim target-rda"
3689 x86_64-
*-darwin[912]*)
3690 noconfigdirs
="$noconfigdirs ld gas gprof"
3691 noconfigdirs
="$noconfigdirs sim target-rda"
3694 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3695 noconfigdirs
="$noconfigdirs sim target-rda"
3700 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3701 && test -f /usr
/local
/include
/gmp.h
; then
3706 # Remove unsupported stuff on all kaOS configurations.
3707 noconfigdirs
="$noconfigdirs target-libgloss"
3714 noconfigdirs
="$noconfigdirs target-libgloss"
3717 noconfigdirs
="$noconfigdirs target-libgloss"
3719 # The tpf target doesn't support gdb yet.
3721 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3724 noconfigdirs
="$noconfigdirs target-rda"
3729 # ld works, but does not support shared libraries.
3730 # gas doesn't generate exception information.
3731 noconfigdirs
="$noconfigdirs gas ld"
3734 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3737 # newlib is not 64 bit ready
3738 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3740 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3741 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3744 noconfigdirs
="$noconfigdirs sim"
3747 noconfigdirs
="$noconfigdirs target-libgloss"
3750 noconfigdirs
="$noconfigdirs ld target-libgloss"
3753 if test x
${with_avrlibc} != xno
; then
3754 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3757 c4x-
*-* | tic4x-
*-*)
3758 noconfigdirs
="$noconfigdirs target-libgloss"
3761 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3764 noconfigdirs
="$noconfigdirs target-libgloss"
3767 noconfigdirs
="$noconfigdirs gdb"
3770 noconfigdirs
="$noconfigdirs gdb"
3773 noconfigdirs
="$noconfigdirs target-rda gprof"
3776 noconfigdirs
="$noconfigdirs"
3779 noconfigdirs
="$noconfigdirs target-libgloss"
3782 noconfigdirs
="$noconfigdirs target-libgloss"
3784 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3787 noconfigdirs
="$noconfigdirs gdb"
3790 noconfigdirs
="$noconfigdirs gdb ld"
3798 hppa
*-*-openbsd* | \
3804 noconfigdirs
="$noconfigdirs ld"
3807 noconfigdirs
="$noconfigdirs gdb"
3810 # No gdb support yet.
3811 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3814 # No ld support yet.
3815 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3818 # No ld support yet.
3819 noconfigdirs
="$noconfigdirs libgui itcl ld"
3821 i
[3456789]86-w64-mingw*)
3823 i
[3456789]86-*-mingw*)
3824 target_configdirs
="$target_configdirs target-winsup"
3827 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3828 noconfigdirs
="$noconfigdirs target-libgloss"
3829 # always build newlib if winsup directory is present.
3830 if test -d "$srcdir/winsup/cygwin"; then
3831 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3832 elif test -d "$srcdir/newlib"; then
3833 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3837 noconfigdirs
="$noconfigdirs target-libgloss"
3839 i
[3456789]86-*-sco3.2v5
*)
3840 # The linker does not yet know about weak symbols in COFF,
3841 # and is not configured to handle mixed ELF and COFF.
3842 noconfigdirs
="$noconfigdirs ld target-libgloss"
3844 i
[3456789]86-*-sco*)
3845 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3847 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3848 noconfigdirs
="$noconfigdirs target-libgloss"
3850 i
[3456789]86-*-sysv4*)
3851 noconfigdirs
="$noconfigdirs target-libgloss"
3853 i
[3456789]86-*-beos*)
3854 noconfigdirs
="$noconfigdirs gdb"
3856 i
[3456789]86-*-rdos*)
3857 noconfigdirs
="$noconfigdirs gdb"
3860 noconfigdirs
="$noconfigdirs gdb"
3863 noconfigdirs
="$noconfigdirs sim"
3866 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3867 noconfigdirs
="$noconfigdirs $target_libraries"
3870 noconfigdirs
="$noconfigdirs gdb gprof"
3873 # copied from rs6000-*-* entry
3874 noconfigdirs
="$noconfigdirs gprof"
3876 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3877 target_configdirs
="$target_configdirs target-winsup"
3878 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3879 # always build newlib.
3880 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3882 # This is temporary until we can link against shared libraries
3883 powerpcle-
*-solaris*)
3884 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3887 noconfigdirs
="$noconfigdirs gdb"
3890 noconfigdirs
="$noconfigdirs gprof"
3893 noconfigdirs
="$noconfigdirs gprof"
3896 noconfigdirs
="$noconfigdirs gprof"
3899 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3902 noconfigdirs
="$noconfigdirs gprof"
3904 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3905 if test x
$with_newlib = xyes
; then
3906 noconfigdirs
="$noconfigdirs gprof"
3910 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3913 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3916 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3920 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3921 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3922 noconfigdirs
="$noconfigdirs ld gas gprof"
3925 noconfigdirs
="$noconfigdirs gprof"
3928 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3935 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3939 if test x
${is_cross_compiler} = xno
; then
3944 noconfigdirs
="$noconfigdirs sim"
3946 tilepro
*-*-* | tilegx
*-*-*)
3947 noconfigdirs
="$noconfigdirs sim"
3950 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3953 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3956 noconfigdirs
="$noconfigdirs ld"
3960 # If we aren't building newlib, then don't build libgloss, since libgloss
3961 # depends upon some newlib header files.
3962 case "${noconfigdirs}" in
3963 *target-libgloss
*) ;;
3964 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3967 # Work in distributions that contain no compiler tools, like Autoconf.
3968 host_makefile_frag
=/dev
/null
3969 if test -d ${srcdir}/config
; then
3971 i
[3456789]86-*-msdosdjgpp*)
3972 host_makefile_frag
="config/mh-djgpp"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3977 $as_echo_n "checking to see if cat works as expected... " >&6; }
3978 echo a
>cygwin-cat-check
3979 if test `cat cygwin-cat-check` = a
; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3982 $as_echo "yes" >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3987 as_fn_error $?
"The cat command does not ignore carriage return characters.
3988 Please either mount the build directory in binary mode or run the following
3989 commands before running any configure script:
3995 host_makefile_frag
="config/mh-cygwin"
3998 host_makefile_frag
="config/mh-mingw"
4001 host_makefile_frag
="config/mh-alpha-linux"
4004 host_makefile_frag
="config/mh-pa-hpux10"
4007 host_makefile_frag
="config/mh-pa"
4010 host_makefile_frag
="config/mh-pa"
4013 host_makefile_frag
="config/mh-darwin"
4016 host_makefile_frag
="config/mh-ppc-aix"
4019 host_makefile_frag
="config/mh-ppc-aix"
4024 if test "${build}" != "${host}" ; then
4025 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4026 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4027 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4028 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4029 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4030 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4031 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4032 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4033 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4034 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4035 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4036 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4038 AR_FOR_BUILD
="\$(AR)"
4039 AS_FOR_BUILD
="\$(AS)"
4040 CC_FOR_BUILD
="\$(CC)"
4041 CXX_FOR_BUILD
="\$(CXX)"
4042 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4043 GOC_FOR_BUILD
="\$(GOC)"
4044 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4045 LD_FOR_BUILD
="\$(LD)"
4046 NM_FOR_BUILD
="\$(NM)"
4047 RANLIB_FOR_BUILD
="\$(RANLIB)"
4048 WINDRES_FOR_BUILD
="\$(WINDRES)"
4049 WINDMC_FOR_BUILD
="\$(WINDMC)"
4053 ac_cpp
='$CPP $CPPFLAGS'
4054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4059 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC
="$CC" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 if test -n "$CC"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088 $as_echo "$CC" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4096 if test -z "$ac_cv_prog_CC"; then
4098 # Extract the first word of "gcc", so it can be a program name with args.
4099 set dummy gcc
; ac_word
=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -n "$ac_ct_CC"; then
4106 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_CC
="gcc"
4116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4126 if test -n "$ac_ct_CC"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4128 $as_echo "$ac_ct_CC" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4134 if test "x$ac_ct_CC" = x
; then
4137 case $cross_compiling:$ac_tool_warned in
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4141 ac_tool_warned
=yes ;;
4149 if test -z "$CC"; then
4150 if test -n "$ac_tool_prefix"; then
4151 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4152 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_prog_CC+:} false
; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$CC"; then
4159 ac_cv_prog_CC
="$CC" # Let the user override the test.
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_exec_ext
in '' $ac_executable_extensions; do
4167 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 if test -n "$CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181 $as_echo "$CC" >&6; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4190 if test -z "$CC"; then
4191 # Extract the first word of "cc", so it can be a program name with args.
4192 set dummy cc
; ac_word
=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if ${ac_cv_prog_CC+:} false
; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$CC"; then
4199 ac_cv_prog_CC
="$CC" # Let the user override the test.
4202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir
=.
4207 for ac_exec_ext
in '' $ac_executable_extensions; do
4208 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4209 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4210 ac_prog_rejected
=yes
4214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 if test $ac_prog_rejected = yes; then
4222 # We found a bogon in the path, so make sure we never use it.
4223 set dummy
$ac_cv_prog_CC
4225 if test $# != 0; then
4226 # We chose a different compiler from the bogus one.
4227 # However, it has the same basename, so the bogon will be chosen
4228 # first if we set CC to just the basename; use the full file name.
4230 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4236 if test -n "$CC"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4238 $as_echo "$CC" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4246 if test -z "$CC"; then
4247 if test -n "$ac_tool_prefix"; then
4248 for ac_prog
in cl.exe
4250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4251 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4253 $as_echo_n "checking for $ac_word... " >&6; }
4254 if ${ac_cv_prog_CC+:} false
; then :
4255 $as_echo_n "(cached) " >&6
4257 if test -n "$CC"; then
4258 ac_cv_prog_CC
="$CC" # Let the user override the test.
4260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4264 test -z "$as_dir" && as_dir
=.
4265 for ac_exec_ext
in '' $ac_executable_extensions; do
4266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4267 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278 if test -n "$CC"; then
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4280 $as_echo "$CC" >&6; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283 $as_echo "no" >&6; }
4287 test -n "$CC" && break
4290 if test -z "$CC"; then
4292 for ac_prog
in cl.exe
4294 # Extract the first word of "$ac_prog", so it can be a program name with args.
4295 set dummy
$ac_prog; ac_word
=$2
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297 $as_echo_n "checking for $ac_word... " >&6; }
4298 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4299 $as_echo_n "(cached) " >&6
4301 if test -n "$ac_ct_CC"; then
4302 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_ac_ct_CC
="$ac_prog"
4312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4322 if test -n "$ac_ct_CC"; then
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4324 $as_echo "$ac_ct_CC" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4331 test -n "$ac_ct_CC" && break
4334 if test "x$ac_ct_CC" = x
; then
4337 case $cross_compiling:$ac_tool_warned in
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4341 ac_tool_warned
=yes ;;
4350 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4352 as_fn_error $?
"no acceptable C compiler found in \$PATH
4353 See \`config.log' for more details" "$LINENO" 5; }
4355 # Provide some information about the compiler.
4356 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4359 for ac_option
in --version -v -V -qversion; do
4360 { { ac_try
="$ac_compiler $ac_option >&5"
4362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4366 $as_echo "$ac_try_echo"; } >&5
4367 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4369 if test -s conftest.err; then
4371 ... rest of stderr output deleted ...
4372 10q' conftest.err >conftest.er1
4373 cat conftest.er1 >&5
4375 rm -f conftest.er1 conftest.err
4376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4377 test $ac_status = 0; }
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4391 ac_clean_files_save=$ac_clean_files
4392 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4393 # Try to create an executable without -o first, disregard a.out.
4394 # It will help us diagnose broken compilers, and finding out an intuition
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4397 $as_echo_n "checking whether the C compiler works... " >&6; }
4398 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4400 # The possible output files:
4401 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4404 for ac_file in $ac_files
4407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4408 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4413 if { { ac_try="$ac_link_default"
4415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4416 *) ac_try_echo
=$ac_try;;
4418 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4419 $as_echo "$ac_try_echo"; } >&5
4420 (eval "$ac_link_default") 2>&5
4422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4423 test $ac_status = 0; }; then :
4424 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4425 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4426 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4427 # so that the user can short-circuit this test for compilers unknown to
4429 for ac_file
in $ac_files ''
4431 test -f "$ac_file" ||
continue
4433 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4436 # We found the default executable, but exeext='' is most
4440 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4442 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4444 # We set ac_cv_exeext here because the later test for it is not
4445 # safe: cross compilers may not add the suffix if given an `-o'
4446 # argument, so we may need to know it at that point already.
4447 # Even if this section looks crufty: it has the advantage of
4454 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4459 if test -z "$ac_file"; then :
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4462 $as_echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.
$ac_ext >&5
4465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4467 as_fn_error
77 "C compiler cannot create executables
4468 See \`config.log' for more details" "$LINENO" 5; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4471 $as_echo "yes" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4474 $as_echo_n "checking for C compiler default output file name... " >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4476 $as_echo "$ac_file" >&6; }
4477 ac_exeext
=$ac_cv_exeext
4479 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4480 ac_clean_files
=$ac_clean_files_save
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4482 $as_echo_n "checking for suffix of executables... " >&6; }
4483 if { { ac_try
="$ac_link"
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") 2>&5
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then :
4494 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4495 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4496 # work properly (i.e., refer to `conftest.exe'), while it won't with
4498 for ac_file
in conftest.exe conftest conftest.
*; do
4499 test -f "$ac_file" ||
continue
4501 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4502 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4510 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4511 See \`config.log' for more details" "$LINENO" 5; }
4513 rm -f conftest conftest
$ac_cv_exeext
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4515 $as_echo "$ac_cv_exeext" >&6; }
4517 rm -f conftest.
$ac_ext
4518 EXEEXT
=$ac_cv_exeext
4520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4526 FILE *f = fopen ("conftest.out", "w");
4527 return ferror (f) || fclose (f) != 0;
4533 ac_clean_files
="$ac_clean_files conftest.out"
4534 # Check that the compiler produces executables we can run. If not, either
4535 # the compiler is broken, or we cross compile.
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4537 $as_echo_n "checking whether we are cross compiling... " >&6; }
4538 if test "$cross_compiling" != yes; then
4539 { { ac_try
="$ac_link"
4541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_link") 2>&5
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }
4550 if { ac_try='./conftest$ac_cv_exeext'
4551 { { case "(($ac_try" in
4552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4553 *) ac_try_echo
=$ac_try;;
4555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4556 $as_echo "$ac_try_echo"; } >&5
4557 (eval "$ac_try") 2>&5
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }; }; then
4563 if test "$cross_compiling" = maybe
; then
4566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4568 as_fn_error $?
"cannot run C compiled programs.
4569 If you meant to cross compile, use \`--host'.
4570 See \`config.log' for more details" "$LINENO" 5; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4575 $as_echo "$cross_compiling" >&6; }
4577 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4578 ac_clean_files
=$ac_clean_files_save
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4580 $as_echo_n "checking for suffix of object files... " >&6; }
4581 if ${ac_cv_objext+:} false
; then :
4582 $as_echo_n "(cached) " >&6
4584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 rm -f conftest.o conftest.obj
4596 if { { ac_try
="$ac_compile"
4598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4602 $as_echo "$ac_try_echo"; } >&5
4603 (eval "$ac_compile") 2>&5
4605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4606 test $ac_status = 0; }; then :
4607 for ac_file in conftest.o conftest.obj conftest.*; do
4608 test -f "$ac_file" || continue;
4610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4611 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4616 $as_echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4621 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4622 See \
`config.log' for more details" "$LINENO" 5; }
4624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4627 $as_echo "$ac_cv_objext" >&6; }
4628 OBJEXT=$ac_cv_objext
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4631 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4632 if ${ac_cv_c_compiler_gnu+:} false; then :
4633 $as_echo_n "(cached) " >&6
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4649 if ac_fn_c_try_compile "$LINENO"; then :
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4659 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4660 if test $ac_compiler_gnu = yes; then
4665 ac_test_CFLAGS=${CFLAGS+set}
4666 ac_save_CFLAGS=$CFLAGS
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4668 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4669 if ${ac_cv_prog_cc_g+:} false; then :
4670 $as_echo_n "(cached) " >&6
4672 ac_save_c_werror_flag=$ac_c_werror_flag
4673 ac_c_werror_flag=yes
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4687 if ac_fn_c_try_compile "$LINENO"; then :
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4702 if ac_fn_c_try_compile "$LINENO"; then :
4705 ac_c_werror_flag=$ac_save_c_werror_flag
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4718 if ac_fn_c_try_compile "$LINENO"; then :
4721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 ac_c_werror_flag=$ac_save_c_werror_flag
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4729 $as_echo "$ac_cv_prog_cc_g" >&6; }
4730 if test "$ac_test_CFLAGS" = set; then
4731 CFLAGS=$ac_save_CFLAGS
4732 elif test $ac_cv_prog_cc_g = yes; then
4733 if test "$GCC" = yes; then
4739 if test "$GCC" = yes; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4746 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4747 if ${ac_cv_prog_cc_c89+:} false; then :
4748 $as_echo_n "(cached) " >&6
4750 ac_cv_prog_cc_c89=no
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4758 struct buf { int x; };
4759 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4760 static char *e (p, i)
4766 static char *f (char * (*g) (char **, int), char **p, ...)
4771 s = g (p, va_arg (v,int));
4776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4777 function prototypes and stuff, but not '\xHH' hex character constants.
4778 These don't provoke an error unfortunately, instead are silently treated
4779 as 'x'. The following induces an error, until -std is added to get
4780 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4781 array size at least. It's necessary to write '\x00'==0 to get something
4782 that's true only with -std. */
4783 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4786 inside strings and character constants. */
4788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4790 int test (int i, double x);
4791 struct s1 {int (*f) (int a);};
4792 struct s2 {int (*f) (double a);};
4793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4799 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4805 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4807 CC="$ac_save_CC $ac_arg"
4808 if ac_fn_c_try_compile "$LINENO"; then :
4809 ac_cv_prog_cc_c89=$ac_arg
4811 rm -f core conftest.err conftest.$ac_objext
4812 test "x$ac_cv_prog_cc_c89" != "xno" && break
4814 rm -f conftest.$ac_ext
4819 case "x$ac_cv_prog_cc_c89" in
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4822 $as_echo "none needed" >&6; } ;;
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4825 $as_echo "unsupported" >&6; } ;;
4827 CC="$CC $ac_cv_prog_cc_c89"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4831 if test "x$ac_cv_prog_cc_c89" != xno; then :
4836 ac_cpp='$CPP $CPPFLAGS'
4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4842 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4843 if ${ac_cv_prog_cc_c99+:} false; then :
4844 $as_echo_n "(cached) " >&6
4846 ac_cv_prog_cc_c99=no
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4851 #include <stdbool.h>
4856 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4857 #define debug(...) fprintf (stderr, __VA_ARGS__)
4858 #define showlist(...) puts (#__VA_ARGS__)
4859 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4861 test_varargs_macros (void)
4866 debug ("X = %d\n", x);
4867 showlist (The first, second, and third items.);
4868 report (x>y, "x is %d but y is %d", x, y);
4871 // Check long long types.
4872 #define BIG64 18446744073709551615ull
4873 #define BIG32 4294967295ul
4874 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4876 your preprocessor is broken;
4880 your preprocessor is broken;
4882 static long long int bignum = -9223372036854775807LL;
4883 static unsigned long long int ubignum = BIG64;
4885 struct incomplete_array
4893 const wchar_t *name;
4897 typedef const char *ccp;
4900 test_restrict (ccp restrict text)
4902 // See if C++-style comments work.
4903 // Iterate through items via the restricted pointer.
4904 // Also check for declarations in for loops.
4905 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4910 // Check varargs and va_copy.
4912 test_varargs (const char *format, ...)
4915 va_start (args, format);
4917 va_copy (args_copy, args);
4928 str = va_arg (args_copy, const char *);
4931 number = va_arg (args_copy, int);
4934 fnumber = va_arg (args_copy, double);
4949 _Bool success = false;
4952 if (test_restrict ("String literal") == 0)
4954 char *restrict newvar = "Another string";
4957 test_varargs ("s, d' f .", "string", 65, 34.234);
4958 test_varargs_macros ();
4960 // Check flexible array members.
4961 struct incomplete_array *ia =
4962 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4964 for (int i = 0; i < ia->datasize; ++i)
4965 ia->data[i] = i * 1.234;
4967 // Check named initializers.
4968 struct named_init ni = {
4970 .name = L"Test wide string",
4971 .average = 543.34343,
4976 int dynamic_array[ni.number];
4977 dynamic_array[ni.number - 1] = 543;
4979 // work around unused variable warnings
4980 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4981 || dynamic_array[ni.number - 1] != 543);
4987 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4989 CC="$ac_save_CC $ac_arg"
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 ac_cv_prog_cc_c99=$ac_arg
4993 rm -f core conftest.err conftest.$ac_objext
4994 test "x$ac_cv_prog_cc_c99" != "xno" && break
4996 rm -f conftest.$ac_ext
5001 case "x$ac_cv_prog_cc_c99" in
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5004 $as_echo "none needed" >&6; } ;;
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5007 $as_echo "unsupported" >&6; } ;;
5009 CC="$CC $ac_cv_prog_cc_c99"
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5011 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5013 if test "x$ac_cv_prog_cc_c99" != xno; then :
5019 ac_cpp='$CXXCPP $CPPFLAGS'
5020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5023 if test -z "$CXX"; then
5024 if test -n "$CCC"; then
5027 if test -n "$ac_tool_prefix"; then
5028 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_CXX+:} false; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$CXX"; then
5038 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 if test -n "$CXX"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5060 $as_echo "$CXX" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$CXX" && break
5070 if test -z "$CXX"; then
5072 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy $ac_prog; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$ac_ct_CXX"; then
5082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_CXX="$ac_prog"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5102 if test -n "$ac_ct_CXX"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5104 $as_echo "$ac_ct_CXX" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 test -n "$ac_ct_CXX" && break
5114 if test "x$ac_ct_CXX" = x; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5129 # Provide some information about the compiler.
5130 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5133 for ac_option in --version -v -V -qversion; do
5134 { { ac_try="$ac_compiler $ac_option >&5"
5136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5137 *) ac_try_echo
=$ac_try;;
5139 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5140 $as_echo "$ac_try_echo"; } >&5
5141 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5143 if test -s conftest.err
; then
5145 ... rest of stderr output deleted ...
5146 10q' conftest.err
>conftest.er1
5147 cat conftest.er1
>&5
5149 rm -f conftest.er1 conftest.err
5150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5151 test $ac_status = 0; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5155 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5156 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5157 $as_echo_n "(cached) " >&6
5159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5173 if ac_fn_cxx_try_compile
"$LINENO"; then :
5178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5179 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5183 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5184 if test $ac_compiler_gnu = yes; then
5189 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5190 ac_save_CXXFLAGS
=$CXXFLAGS
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5192 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5193 if ${ac_cv_prog_cxx_g+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5197 ac_cxx_werror_flag
=yes
5200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5201 /* end confdefs.h. */
5211 if ac_fn_cxx_try_compile
"$LINENO"; then :
5212 ac_cv_prog_cxx_g
=yes
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5226 if ac_fn_cxx_try_compile
"$LINENO"; then :
5229 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5242 if ac_fn_cxx_try_compile
"$LINENO"; then :
5243 ac_cv_prog_cxx_g
=yes
5245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5250 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5253 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5254 if test "$ac_test_CXXFLAGS" = set; then
5255 CXXFLAGS
=$ac_save_CXXFLAGS
5256 elif test $ac_cv_prog_cxx_g = yes; then
5257 if test "$GXX" = yes; then
5263 if test "$GXX" = yes; then
5270 ac_cpp
='$CPP $CPPFLAGS'
5271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5276 # We must set the default linker to the linker used by gcc for the correct
5277 # operation of libtool. If LD is not defined and we are using gcc, try to
5278 # set the LD default to the ld used by gcc.
5279 if test -z "$LD"; then
5280 if test "$GCC" = yes; then
5283 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5285 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5287 case $gcc_prog_ld in
5288 # Accept absolute paths.
5289 [\\/]* |
[A-Za-z
]:[\\/]*)
5290 LD
="$gcc_prog_ld" ;;
5295 # Check whether -static-libstdc++ -static-libgcc is supported.
5297 if test "$GCC" = yes; then
5298 saved_LDFLAGS
="$LDFLAGS"
5300 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5302 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5304 ac_cpp
='$CXXCPP $CPPFLAGS'
5305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5313 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5314 #error -static-libstdc++ not implemented
5318 if ac_fn_cxx_try_link
"$LINENO"; then :
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5320 $as_echo "yes" >&6; }; have_static_libs
=yes
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5325 rm -f core conftest.err conftest.
$ac_objext \
5326 conftest
$ac_exeext conftest.
$ac_ext
5328 ac_cpp
='$CPP $CPPFLAGS'
5329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5334 LDFLAGS
="$saved_LDFLAGS"
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5342 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_GNATBIND+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 if test -n "$GNATBIND"; then
5349 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5355 test -z "$as_dir" && as_dir
=.
5356 for ac_exec_ext
in '' $ac_executable_extensions; do
5357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 GNATBIND
=$ac_cv_prog_GNATBIND
5369 if test -n "$GNATBIND"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5371 $as_echo "$GNATBIND" >&6; }
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5379 if test -z "$ac_cv_prog_GNATBIND"; then
5380 ac_ct_GNATBIND
=$GNATBIND
5381 # Extract the first word of "gnatbind", so it can be a program name with args.
5382 set dummy gnatbind
; ac_word
=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5386 $as_echo_n "(cached) " >&6
5388 if test -n "$ac_ct_GNATBIND"; then
5389 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir
=.
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5409 if test -n "$ac_ct_GNATBIND"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5411 $as_echo "$ac_ct_GNATBIND" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_ct_GNATBIND" = x
; then
5420 case $cross_compiling:$ac_tool_warned in
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned
=yes ;;
5426 GNATBIND
=$ac_ct_GNATBIND
5429 GNATBIND
="$ac_cv_prog_GNATBIND"
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5434 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$GNATMAKE"; then
5441 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 GNATMAKE
=$ac_cv_prog_GNATMAKE
5461 if test -n "$GNATMAKE"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5463 $as_echo "$GNATMAKE" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5471 if test -z "$ac_cv_prog_GNATMAKE"; then
5472 ac_ct_GNATMAKE
=$GNATMAKE
5473 # Extract the first word of "gnatmake", so it can be a program name with args.
5474 set dummy gnatmake
; ac_word
=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -n "$ac_ct_GNATMAKE"; then
5481 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir
=.
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5501 if test -n "$ac_ct_GNATMAKE"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5503 $as_echo "$ac_ct_GNATMAKE" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5509 if test "x$ac_ct_GNATMAKE" = x
; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned
=yes ;;
5518 GNATMAKE
=$ac_ct_GNATMAKE
5521 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5525 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5526 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5527 $as_echo_n "(cached) " >&6
5529 cat >conftest.adb
<<EOF
5530 procedure conftest is begin null; end conftest;
5532 acx_cv_cc_gcc_supports_ada
=no
5533 # There is a bug in old released versions of GCC which causes the
5534 # driver to exit successfully when the appropriate language module
5535 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5536 # Therefore we must check for the error message as well as an
5537 # unsuccessful exit.
5538 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5539 # given a .adb file, but produce no object file. So we must check
5540 # if an object file was really produced to guard against this.
5541 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5542 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5543 acx_cv_cc_gcc_supports_ada
=yes
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5548 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5550 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5557 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5558 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5559 $as_echo_n "(cached) " >&6
5563 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5564 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5565 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5568 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5571 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5572 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5575 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5582 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5583 do_compare
="$gcc_cv_prog_cmp_skip"
5587 # Check whether --enable-bootstrap was given.
5588 if test "${enable_bootstrap+set}" = set; then :
5589 enableval
=$enable_bootstrap;
5591 enable_bootstrap
=default
5595 # Issue errors and warnings for invalid/strange bootstrap combinations.
5596 if test -r $srcdir/gcc
/configure
; then
5602 case "$have_compiler:$host:$target:$enable_bootstrap" in
5605 # Default behavior. Enable bootstrap if we have a compiler
5606 # and we are in a native configuration.
5607 yes:$build:$build:default
)
5608 enable_bootstrap
=yes ;;
5611 enable_bootstrap
=no
;;
5613 # We have a compiler and we are in a native configuration, bootstrap is ok
5614 yes:$build:$build:yes)
5617 # Other configurations, but we have a compiler. Assume the user knows
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5621 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5624 # No compiler: if they passed --enable-bootstrap explicitly, fail
5626 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5628 # Fail if wrong command line
5630 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5634 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5635 # C++98 compiler can still start the bootstrap.
5636 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5637 CXX
="$CXX -std=gnu++98"
5640 # Check whether --enable-pgo-build was given.
5641 if test "${enable_pgo_build+set}" = set; then :
5642 enableval
=$enable_pgo_build; enable_pgo_build
=$enableval
5648 # Issue errors and warnings for invalid/strange PGO build combinations.
5649 case "$have_compiler:$host:$target:$enable_pgo_build" in
5652 # Allow the PGO build only if we aren't building a compiler and
5653 # we are in a native configuration.
5654 no
:$build:$build:yes | no
:$build:$build:lto
) ;;
5656 # Disallow the PGO bootstrap if we are building a compiler.
5657 yes:*:*:yes |
yes:*:*:lto
)
5658 as_fn_error $?
"cannot perform the PGO bootstrap when building a compiler" "$LINENO" 5 ;;
5661 as_fn_error $?
"invalid option for --enable-pgo-build" "$LINENO" 5
5665 if test "$enable_pgo_build" != "no"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fprofile-generate" >&5
5667 $as_echo_n "checking whether the compiler supports -fprofile-generate... " >&6; }
5668 old_CFLAGS
="$CFLAGS"
5669 PGO_BUILD_GEN_CFLAGS
="-fprofile-generate"
5670 CFLAGS
="$CFLAGS $PGO_BUILD_CFLAGS"
5672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5679 PGO_BUILD_GEN_CFLAGS
=
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5682 CFLAGS
="$old_CFLAGS"
5683 if test -n "$PGO_BUILD_GEN_CFLAGS"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5685 $as_echo "yes" >&6; }
5686 PGO_BUILD_USE_CFLAGS
="-fprofile-use"
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5690 as_fn_error $?
"cannot perform the PGO build without -fprofile-generate" "$LINENO" 5
5693 if test "$enable_pgo_build" = "lto"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flto=jobserver -ffat-lto-objects" >&5
5695 $as_echo_n "checking whether the compiler supports -flto=jobserver -ffat-lto-objects... " >&6; }
5696 old_CFLAGS
="$CFLAGS"
5697 PGO_BUILD_LTO_CFLAGS
="-flto=jobserver -ffat-lto-objects"
5698 CFLAGS
="$CFLAGS $PGO_BUILD_LTO_CFLAGS"
5699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5703 if ac_fn_c_try_compile
"$LINENO"; then :
5706 PGO_BUILD_LTO_CFLAGS
=
5708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5709 CFLAGS
="$old_CFLAGS"
5710 if test -n "$PGO_BUILD_LTO_CFLAGS"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5712 $as_echo "yes" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LTO is disabled for the PGO build" >&5
5717 $as_echo "$as_me: WARNING: LTO is disabled for the PGO build" >&2;}
5725 # Used for setting $lt_cv_objdir
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5727 $as_echo_n "checking for objdir... " >&6; }
5728 if ${lt_cv_objdir+:} false
; then :
5729 $as_echo_n "(cached) " >&6
5731 rm -f .libs
2>/dev
/null
5732 mkdir .libs
2>/dev
/null
5733 if test -d .libs
; then
5736 # MS-DOS does not allow filenames that begin with a dot.
5739 rmdir .libs
2>/dev
/null
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5742 $as_echo "$lt_cv_objdir" >&6; }
5743 objdir
=$lt_cv_objdir
5749 cat >>confdefs.h
<<_ACEOF
5750 #define LT_OBJDIR "$lt_cv_objdir/"
5755 # Check for GMP, MPFR and MPC
5756 gmplibs
="-lmpc -lmpfr -lgmp"
5760 # Specify a location for mpc
5761 # check for this first so it ends up on the link line before mpfr.
5763 # Check whether --with-mpc was given.
5764 if test "${with_mpc+set}" = set; then :
5769 # Check whether --with-mpc-include was given.
5770 if test "${with_mpc_include+set}" = set; then :
5771 withval
=$with_mpc_include;
5775 # Check whether --with-mpc-lib was given.
5776 if test "${with_mpc_lib+set}" = set; then :
5777 withval
=$with_mpc_lib;
5781 if test "x$with_mpc" != x
; then
5782 gmplibs
="-L$with_mpc/lib $gmplibs"
5783 gmpinc
="-I$with_mpc/include $gmpinc"
5785 if test "x$with_mpc_include" != x
; then
5786 gmpinc
="-I$with_mpc_include $gmpinc"
5788 if test "x$with_mpc_lib" != x
; then
5789 gmplibs
="-L$with_mpc_lib $gmplibs"
5791 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5792 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5793 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5794 # Do not test the mpc version. Assume that it is sufficient, since
5795 # it is in the source tree, and the library has not been built yet
5796 # but it would be included on the link line in the version check below
5797 # hence making the test fail.
5801 # Specify a location for mpfr
5802 # check for this first so it ends up on the link line before gmp.
5804 # Check whether --with-mpfr-dir was given.
5805 if test "${with_mpfr_dir+set}" = set; then :
5806 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5807 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5812 # Check whether --with-mpfr was given.
5813 if test "${with_mpfr+set}" = set; then :
5818 # Check whether --with-mpfr-include was given.
5819 if test "${with_mpfr_include+set}" = set; then :
5820 withval
=$with_mpfr_include;
5824 # Check whether --with-mpfr-lib was given.
5825 if test "${with_mpfr_lib+set}" = set; then :
5826 withval
=$with_mpfr_lib;
5830 if test "x$with_mpfr" != x
; then
5831 gmplibs
="-L$with_mpfr/lib $gmplibs"
5832 gmpinc
="-I$with_mpfr/include $gmpinc"
5834 if test "x$with_mpfr_include" != x
; then
5835 gmpinc
="-I$with_mpfr_include $gmpinc"
5837 if test "x$with_mpfr_lib" != x
; then
5838 gmplibs
="-L$with_mpfr_lib $gmplibs"
5840 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5841 # MPFR v3.1.0 moved the sources into a src sub-directory.
5842 if ! test -d ${srcdir}/mpfr
/src
; then
5843 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5845 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5846 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5847 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5848 # Do not test the mpfr version. Assume that it is sufficient, since
5849 # it is in the source tree, and the library has not been built yet
5850 # but it would be included on the link line in the version check below
5851 # hence making the test fail.
5855 # Specify a location for gmp
5857 # Check whether --with-gmp-dir was given.
5858 if test "${with_gmp_dir+set}" = set; then :
5859 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5860 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5865 # Check whether --with-gmp was given.
5866 if test "${with_gmp+set}" = set; then :
5871 # Check whether --with-gmp-include was given.
5872 if test "${with_gmp_include+set}" = set; then :
5873 withval
=$with_gmp_include;
5877 # Check whether --with-gmp-lib was given.
5878 if test "${with_gmp_lib+set}" = set; then :
5879 withval
=$with_gmp_lib;
5884 if test "x$with_gmp" != x
; then
5885 gmplibs
="-L$with_gmp/lib $gmplibs"
5886 gmpinc
="-I$with_gmp/include $gmpinc"
5888 if test "x$with_gmp_include" != x
; then
5889 gmpinc
="-I$with_gmp_include $gmpinc"
5891 if test "x$with_gmp_lib" != x
; then
5892 gmplibs
="-L$with_gmp_lib $gmplibs"
5894 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5895 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5896 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5897 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5898 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5899 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5900 # Do not test the gmp version. Assume that it is sufficient, since
5901 # it is in the source tree, and the library has not been built yet
5902 # but it would be included on the link line in the version check below
5903 # hence making the test fail.
5907 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5909 saved_CFLAGS
="$CFLAGS"
5910 CFLAGS
="$CFLAGS $gmpinc"
5911 # Check for the recommended and required versions of GMP.
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5913 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5921 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5922 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5923 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5931 if ac_fn_c_try_compile
"$LINENO"; then :
5932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5933 /* end confdefs.h. */
5939 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5940 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5941 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5949 if ac_fn_c_try_compile
"$LINENO"; then :
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5951 $as_echo "yes" >&6; }
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5954 $as_echo "buggy but acceptable" >&6; }
5956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }; have_gmp
=no
5961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5963 # If we have GMP, check the MPFR version.
5964 if test x
"$have_gmp" = xyes
; then
5965 # Check for the recommended and required versions of MPFR.
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5967 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5976 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5984 if ac_fn_c_try_compile
"$LINENO"; then :
5985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5993 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
6001 if ac_fn_c_try_compile
"$LINENO"; then :
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6003 $as_echo "yes" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6006 $as_echo "buggy but acceptable" >&6; }
6008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }; have_gmp
=no
6013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 # Check for the MPC header version.
6017 if test x
"$have_gmp" = xyes
; then
6018 # Check for the recommended and required versions of MPC.
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
6020 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
6021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6028 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
6036 if ac_fn_c_try_compile
"$LINENO"; then :
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6044 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
6052 if ac_fn_c_try_compile
"$LINENO"; then :
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6054 $as_echo "yes" >&6; }
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
6057 $as_echo "buggy but acceptable" >&6; }
6059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }; have_gmp
=no
6064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6067 # Now check the MPFR library.
6068 if test x
"$have_gmp" = xyes
; then
6070 LIBS
="$LIBS $gmplibs"
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
6072 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
6073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6074 /* end confdefs.h. */
6086 mpfr_atan2 (n, n, x, GMP_RNDN);
6087 mpfr_erfc (n, x, GMP_RNDN);
6088 mpfr_subnormalize (x, t, GMP_RNDN);
6092 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
6093 mpc_cosh (c, c, MPC_RNDNN);
6094 mpc_pow (c, c, c, MPC_RNDNN);
6095 mpc_acosh (c, c, MPC_RNDNN);
6102 if ac_fn_c_try_link
"$LINENO"; then :
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6104 $as_echo "yes" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }; have_gmp
=no
6109 rm -f core conftest.err conftest.
$ac_objext \
6110 conftest
$ac_exeext conftest.
$ac_ext
6114 CFLAGS
="$saved_CFLAGS"
6116 # The library versions listed in the error message below should match
6117 # the HARD-minimums enforced above.
6118 if test x
$have_gmp != xyes
; then
6119 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
6120 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
6121 their locations. Source code for these libraries can be found at
6122 their respective hosting sites as well as at
6123 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
6124 http://gcc.gnu.org/install/prerequisites.html for additional info. If
6125 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
6126 make sure that you have installed both the libraries and the header
6127 files. They may be located in separate packages." "$LINENO" 5
6131 # Flags needed for both GMP, MPFR and/or MPC.
6139 # Libraries to use for stage1 or when not bootstrapping.
6141 # Check whether --with-stage1-libs was given.
6142 if test "${with_stage1_libs+set}" = set; then :
6143 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
6146 stage1_libs
=$withval
6154 # Whether or not to use -static-libstdc++ and -static-libgcc. The
6155 # default is yes if gcc is being built; no otherwise. The reason for
6156 # this default is that gdb is sometimes linked against GNU Source
6157 # Highlight, which is a shared library that uses C++ exceptions. In
6158 # this case, -static-libstdc++ will cause crashes.
6160 # Check whether --with-static-standard-libraries was given.
6161 if test "${with_static_standard_libraries+set}" = set; then :
6162 withval
=$with_static_standard_libraries;
6164 with_static_standard_libraries
=auto
6167 if test "$with_static_standard_libraries" = auto
; then
6168 with_static_standard_libraries
=$have_compiler
6171 # Linker flags to use for stage1 or when not bootstrapping.
6173 # Check whether --with-stage1-ldflags was given.
6174 if test "${with_stage1_ldflags+set}" = set; then :
6175 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6178 stage1_ldflags
=$withval
6182 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
6183 # if supported. But if the user explicitly specified the libraries to use,
6184 # trust that they are doing what they want.
6185 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
6186 -a "$have_static_libs" = yes; then
6187 stage1_ldflags
="-static-libstdc++ -static-libgcc"
6193 # Libraries to use for stage2 and later builds.
6195 # Check whether --with-boot-libs was given.
6196 if test "${with_boot_libs+set}" = set; then :
6197 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
6200 poststage1_libs
=$withval
6208 # Linker flags to use for stage2 and later builds.
6210 # Check whether --with-boot-ldflags was given.
6211 if test "${with_boot_ldflags+set}" = set; then :
6212 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6215 poststage1_ldflags
=$withval
6219 # In stages 2 and 3, default to linking libstdc++ and libgcc
6220 # statically. But if the user explicitly specified the libraries to
6221 # use, trust that they are doing what they want.
6222 if test "$poststage1_libs" = ""; then
6223 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6229 # GCC GRAPHITE dependency isl.
6230 # Basic setup is inlined here, actual checks are in config/isl.m4
6233 # Check whether --with-isl was given.
6234 if test "${with_isl+set}" = set; then :
6239 # Treat --without-isl as a request to disable
6240 # GRAPHITE support and skip all following checks.
6241 if test "x$with_isl" != "xno"; then
6245 # Check whether --with-isl-include was given.
6246 if test "${with_isl_include+set}" = set; then :
6247 withval
=$with_isl_include;
6251 # Check whether --with-isl-lib was given.
6252 if test "${with_isl_lib+set}" = set; then :
6253 withval
=$with_isl_lib;
6257 # Check whether --enable-isl-version-check was given.
6258 if test "${enable_isl_version_check+set}" = set; then :
6259 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6261 ENABLE_ISL_CHECK
=yes
6265 # Initialize isllibs and islinc.
6274 isllibs
="-L$with_isl/lib"
6275 islinc
="-I$with_isl/include"
6278 if test "x${with_isl_include}" != x
; then
6279 islinc
="-I$with_isl_include"
6281 if test "x${with_isl_lib}" != x
; then
6282 isllibs
="-L$with_isl_lib"
6284 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6285 && test -d ${srcdir}/isl
; then
6286 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6287 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6290 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6293 isllibs
="${isllibs} -lisl"
6297 if test "${ENABLE_ISL_CHECK}" = yes ; then
6298 _isl_saved_CFLAGS
=$CFLAGS
6299 _isl_saved_LDFLAGS
=$LDFLAGS
6300 _isl_saved_LIBS
=$LIBS
6302 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6303 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6304 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6307 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6310 #include <isl/schedule.h>
6314 isl_options_set_schedule_serialize_sccs (NULL, 0);
6319 if ac_fn_c_try_link
"$LINENO"; then :
6324 rm -f core conftest.err conftest.
$ac_objext \
6325 conftest
$ac_exeext conftest.
$ac_ext
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6327 $as_echo "$gcc_cv_isl" >&6; }
6329 if test "${gcc_cv_isl}" = no
; then
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6331 $as_echo "required isl version is 0.15 or later" >&6; }
6334 CFLAGS
=$_isl_saved_CFLAGS
6335 LDFLAGS
=$_isl_saved_LDFLAGS
6336 LIBS
=$_isl_saved_LIBS
6344 if test "x${with_isl}" = xno
; then
6345 graphite_requested
=no
6346 elif test "x${with_isl}" != x \
6347 ||
test "x${with_isl_include}" != x \
6348 ||
test "x${with_isl_lib}" != x
; then
6349 graphite_requested
=yes
6351 graphite_requested
=no
6356 if test "${gcc_cv_isl}" = no
; then
6361 if test "${graphite_requested}" = yes \
6362 && test "x${isllibs}" = x \
6363 && test "x${islinc}" = x
; then
6365 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6371 # If the isl check failed, disable builds of in-tree variant of isl
6372 if test "x$with_isl" = xno ||
6373 test "x$gcc_cv_isl" = xno
; then
6374 noconfigdirs
="$noconfigdirs isl"
6381 # Check for LTO support.
6382 # Check whether --enable-lto was given.
6383 if test "${enable_lto+set}" = set; then :
6384 enableval
=$enable_lto; enable_lto
=$enableval
6386 enable_lto
=yes; default_enable_lto
=yes
6395 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6396 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6397 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6406 if test $target_elf = yes; then :
6407 # ELF platforms build the lto-plugin always.
6408 build_lto_plugin
=yes
6411 if test x
"$default_enable_lto" = x
"yes" ; then
6413 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6414 # On other non-ELF platforms, LTO has yet to be validated.
6418 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6419 # It would also be nice to check the binutils support, but we don't
6420 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6421 # warn during gcc/ subconfigure; unless you're bootstrapping with
6422 # -flto it won't be needed until after installation anyway.
6424 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6425 *) if test x
"$enable_lto" = x
"yes"; then
6426 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6431 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6432 # Build it unless LTO was explicitly disabled.
6434 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6441 # Check whether --enable-linker-plugin-configure-flags was given.
6442 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6443 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6445 extra_linker_plugin_configure_flags
=
6449 # Check whether --enable-linker-plugin-flags was given.
6450 if test "${enable_linker_plugin_flags+set}" = set; then :
6451 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6453 extra_linker_plugin_flags
=
6458 # Enable --enable-host-shared.
6459 # Checked early to determine whether jit is an 'all' language
6460 # Check whether --enable-host-shared was given.
6461 if test "${enable_host_shared+set}" = set; then :
6462 enableval
=$enable_host_shared; host_shared
=$enableval
6469 # By default, C and C++ are the only stage 1 languages.
6470 stage1_languages
=,c
,
6472 # Target libraries that we bootstrap.
6473 bootstrap_target_libs
=,target-libgcc
,
6475 # Figure out what language subdirectories are present.
6476 # Look if the user specified --enable-languages="..."; if not, use
6477 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6479 # NB: embedded tabs in this IF block -- do not untabify
6480 if test -d ${srcdir}/gcc
; then
6481 if test x
"${enable_languages+set}" != xset
; then
6482 if test x
"${LANGUAGES+set}" = xset
; then
6483 enable_languages
="${LANGUAGES}"
6484 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6486 enable_languages
=default
6489 if test x
"${enable_languages}" = x ||
6490 test x
"${enable_languages}" = xyes
;
6492 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6496 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6498 # 'f95' is the old name for the 'fortran' language. We issue a warning
6499 # and make the substitution.
6500 case ,${enable_languages}, in
6502 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6503 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6507 # If bootstrapping, C++ must be enabled.
6508 case ",$enable_languages,:$enable_bootstrap" in
6511 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6512 enable_languages
="${enable_languages},c++"
6514 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6519 # First scan to see if an enabled language requires some other language.
6520 # We assume that a given config-lang.in will list all the language
6521 # front ends it requires, even if some are required indirectly.
6522 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6523 case ${lang_frag} in
6525 # The odd quoting in the next line works around
6526 # an apparent bug in bash 1.12 on linux.
6527 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6529 # From the config-lang.in, get $language, $lang_requires, and
6530 # $lang_requires_boot_languages.
6533 lang_requires_boot_languages
=
6534 # set srcdir during sourcing lang_frag to the gcc dir.
6535 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6536 # polutes this shell
6537 saved_srcdir
=${srcdir}
6538 srcdir
=${srcdir}/gcc .
${lang_frag}
6539 srcdir
=${saved_srcdir}
6540 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6541 case ,${enable_languages}, in
6546 echo " \`$other' language required by \`$language'; enabling" 1>&2
6547 enable_languages
="${enable_languages},${other}"
6551 for other
in ${lang_requires_boot_languages} ; do
6552 if test "$other" != "c"; then
6553 case ,${enable_stage1_languages}, in
6558 case ,${enable_languages}, in
6560 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6561 enable_stage1_languages
="$enable_stage1_languages,${other}"
6572 new_enable_languages
=,c
,
6574 # If LTO is enabled, add the LTO front end.
6575 if test "$enable_lto" = "yes" ; then
6576 case ,${enable_languages}, in
6578 *) enable_languages
="${enable_languages},lto" ;;
6580 if test "${build_lto_plugin}" = "yes" ; then
6581 configdirs
="$configdirs lto-plugin"
6585 # If we're building an offloading compiler, add the LTO front end.
6586 if test x
"$enable_as_accelerator_for" != x
; then
6587 case ,${enable_languages}, in
6589 *) enable_languages
="${enable_languages},lto" ;;
6593 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6594 potential_languages
=,c
,
6596 enabled_target_libs
=
6597 disabled_target_libs
=
6599 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6600 case ${lang_frag} in
6602 # The odd quoting in the next line works around
6603 # an apparent bug in bash 1.12 on linux.
6604 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6606 # From the config-lang.in, get $language, $target_libs,
6607 # $lang_dirs, $boot_language, and $build_by_default
6613 build_by_default
=yes
6614 # set srcdir during sourcing. See above about save & restore
6615 saved_srcdir
=${srcdir}
6616 srcdir
=${srcdir}/gcc .
${lang_frag}
6617 srcdir
=${saved_srcdir}
6618 if test x
${language} = x
; then
6619 echo "${lang_frag} doesn't set \$language." 1>&2
6623 if test "$language" = "c++"; then
6628 # C is always enabled, so no need to add it again
6629 if test "$language" != "c"; then
6630 case ,${enable_languages}, in
6632 # Language was explicitly selected; include it
6636 # All languages are enabled
6640 # 'default' was selected, select it if it is a default language
6641 add_this_lang
=${build_by_default}
6646 # Disable languages that need other directories if these aren't available.
6647 for i
in $subdir_requires; do
6648 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6649 case ${add_this_lang} in
6651 # Specifically requested language; tell them.
6652 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6656 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6657 add_this_lang
=unsupported
6661 add_this_lang
=unsupported
6666 # Disable Ada if no preexisting GNAT is available.
6667 case ${add_this_lang}:${language}:${have_gnat} in
6669 # Specifically requested language; tell them.
6670 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6674 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6675 add_this_lang
=unsupported
6679 add_this_lang
=unsupported
6683 # Disable jit if -enable-host-shared not specified
6684 case ${add_this_lang}:${language}:${host_shared} in
6686 # PR jit/64780: explicitly specify --enable-host-shared
6688 Enabling language \"jit\" requires --enable-host-shared.
6690 --enable-host-shared typically slows the rest of the compiler down by
6691 a few %, so you must explicitly enable it.
6693 If you want to build both the jit and the regular compiler, it is often
6694 best to do this via two separate configure/builds, in separate
6695 directories, to avoid imposing the performance cost of
6696 --enable-host-shared on the regular compiler." "$LINENO" 5
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6700 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6701 add_this_lang
=unsupported
6705 add_this_lang
=unsupported
6709 # Disable a language that is unsupported by the target.
6710 case "${add_this_lang}: $unsupported_languages " in
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6715 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6716 add_this_lang
=unsupported
6720 case $add_this_lang in
6722 # Remove language-dependent dirs.
6723 disabled_target_libs
="$disabled_target_libs $target_libs"
6724 noconfigdirs
="$noconfigdirs $lang_dirs"
6727 # Remove language-dependent dirs; still show language as supported.
6728 disabled_target_libs
="$disabled_target_libs $target_libs"
6729 noconfigdirs
="$noconfigdirs $lang_dirs"
6730 potential_languages
="${potential_languages}${language},"
6733 new_enable_languages
="${new_enable_languages}${language},"
6734 potential_languages
="${potential_languages}${language},"
6735 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6736 enabled_target_libs
="$enabled_target_libs $target_libs"
6737 case "${boot_language}:,$enable_stage1_languages," in
6738 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6739 # Add to (comma-separated) list of stage 1 languages.
6740 case ",$stage1_languages," in
6741 *,$language,* |
,yes, |
,all
,) ;;
6742 *) stage1_languages
="${stage1_languages}${language}," ;;
6744 # We need to bootstrap any supporting libraries.
6745 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6754 # Add target libraries which are only needed for disabled languages
6756 if test -n "$disabled_target_libs"; then
6757 for dir
in $disabled_target_libs; do
6758 case " $enabled_target_libs " in
6760 *) noconfigdirs
="$noconfigdirs $dir" ;;
6765 # Check whether --enable-stage1-languages was given.
6766 if test "${enable_stage1_languages+set}" = set; then :
6767 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6769 # Set it to something that will have no effect in the loop below
6770 enable_stage1_languages
=c
;;
6772 enable_stage1_languages
=`echo $new_enable_languages | \
6773 sed -e "s/^,//" -e "s/,$//" ` ;;
6775 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6776 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6779 # Add "good" languages from enable_stage1_languages to stage1_languages,
6780 # while "bad" languages go in missing_languages. Leave no duplicates.
6781 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6782 case $potential_languages in
6784 case $stage1_languages in
6786 *) stage1_languages
="$stage1_languages$i," ;;
6789 case $missing_languages in
6791 *) missing_languages
="$missing_languages$i," ;;
6798 # Remove leading/trailing commas that were added for simplicity
6799 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6800 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6801 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6802 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6804 if test "x$missing_languages" != x
; then
6806 The following requested languages could not be built: ${missing_languages}
6807 Supported languages are: ${potential_languages}" "$LINENO" 5
6809 if test "x$new_enable_languages" != "x$enable_languages"; then
6810 echo The following languages will be built
: ${new_enable_languages}
6811 enable_languages
="$new_enable_languages"
6815 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6818 # Handle --disable-<component> generically.
6819 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6820 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6821 varname
=`echo $dirname | sed -e s/+/_/g`
6822 if eval test x\
${enable_${varname}} "=" xno
; then
6823 noconfigdirs
="$noconfigdirs $dir"
6827 # Check for Boehm's garbage collector
6828 # Check whether --enable-objc-gc was given.
6829 if test "${enable_objc_gc+set}" = set; then :
6830 enableval
=$enable_objc_gc;
6834 # Check whether --with-target-bdw-gc was given.
6835 if test "${with_target_bdw_gc+set}" = set; then :
6836 withval
=$with_target_bdw_gc;
6840 # Check whether --with-target-bdw-gc-include was given.
6841 if test "${with_target_bdw_gc_include+set}" = set; then :
6842 withval
=$with_target_bdw_gc_include;
6846 # Check whether --with-target-bdw-gc-lib was given.
6847 if test "${with_target_bdw_gc_lib+set}" = set; then :
6848 withval
=$with_target_bdw_gc_lib;
6852 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6854 $as_echo_n "checking for bdw garbage collector... " >&6; }
6855 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6857 $as_echo "using bdw-gc in default locations" >&6; }
6859 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6860 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6861 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6862 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6865 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6870 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6871 case ,${enable_languages}, in
6873 # Disable libitm, libsanitizer if we're not building libstdc++
6874 case "${noconfigdirs}" in
6875 *target-libstdc
++-v3*)
6876 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6882 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6886 # If gcc/ is not in the source tree then we'll not be building a
6887 # target compiler, assume in that case we don't want to build any
6888 # target libraries or tools.
6890 # This was added primarily for the benefit for binutils-gdb who reuse
6891 # this configure script, but don't always have target tools available.
6892 if test ! -d ${srcdir}/gcc
; then
6893 skipdirs
="${skipdirs} ${target_configdirs}"
6896 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6897 # $build_configdirs and $target_configdirs.
6898 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6901 for dir
in .
$skipdirs $noconfigdirs ; do
6902 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6903 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6904 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6905 if test -r $srcdir/$dirname/configure
; then
6906 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6909 notsupp
="$notsupp $dir"
6913 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6914 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6915 if test -r $srcdir/$dirname/configure
; then
6916 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6919 notsupp
="$notsupp $dir"
6923 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6924 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6925 if test -r $srcdir/$dirname/configure
; then
6926 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6929 notsupp
="$notsupp $dir"
6935 # Quietly strip out all directories which aren't configurable in this tree.
6936 # This relies on all configurable subdirectories being autoconfiscated, which
6938 build_configdirs_all
="$build_configdirs"
6940 for i
in ${build_configdirs_all} ; do
6941 j
=`echo $i | sed -e s/build-//g`
6942 if test -f ${srcdir}/$j/configure
; then
6943 build_configdirs
="${build_configdirs} $i"
6947 configdirs_all
="$configdirs"
6949 for i
in ${configdirs_all} ; do
6950 if test -f ${srcdir}/$i/configure
; then
6951 configdirs
="${configdirs} $i"
6955 target_configdirs_all
="$target_configdirs"
6957 for i
in ${target_configdirs_all} ; do
6958 j
=`echo $i | sed -e s/target-//g`
6959 if test -f ${srcdir}/$j/configure
; then
6960 target_configdirs
="${target_configdirs} $i"
6964 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6965 # so we have to add it after the preceding checks.
6966 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6968 case " $configdirs " in
6970 # If we can build libiberty, we can also build libiberty-linker-plugin.
6971 configdirs
="$configdirs libiberty-linker-plugin"
6972 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6973 --with-libiberty=../libiberty-linker-plugin";;
6975 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6979 # Sometimes we have special requirements for the host libiberty.
6980 extra_host_libiberty_configure_flags
=
6981 case " $configdirs " in
6982 *" lto-plugin "* |
*" libcc1 "* |
*" gdbserver "*)
6983 # When these are to be built as shared libraries, the same applies to
6985 extra_host_libiberty_configure_flags
=--enable-shared
6990 # Sometimes we have special requirements for the host zlib.
6991 extra_host_zlib_configure_flags
=
6992 case " $configdirs " in
6994 # When bfd is to be built as a shared library, the same applies to
6996 if test "$enable_shared" = "yes"; then
6997 extra_host_zlib_configure_flags
=--enable-host-shared
7003 # Produce a warning message for the subdirs we can't configure.
7004 # This isn't especially interesting in the Cygnus tree, but in the individual
7005 # FSF releases, it's important to let people know when their machine isn't
7006 # supported by the one or two programs in a package.
7008 if test -n "${notsupp}" && test -z "${norecursion}" ; then
7009 # If $appdirs is non-empty, at least one of those directories must still
7010 # be configured, or we error out. (E.g., if the gas release supports a
7011 # specified target in some subdirs but not the gas subdir, we shouldn't
7012 # pretend that all is well.)
7013 if test -n "$appdirs" ; then
7014 for dir
in $appdirs ; do
7015 if test -r $dir/Makefile.
in ; then
7016 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7020 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
7026 if test -n "$appdirs" ; then
7027 echo "*** This configuration is not supported by this package." 1>&2
7031 # Okay, some application will build, or we don't care to check. Still
7032 # notify of subdirs not getting built.
7033 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
7034 echo " ${notsupp}" 1>&2
7035 echo " (Any other directories should still work fine.)" 1>&2
7043 # To find our prefix, in gcc_cv_tool_prefix.
7045 # The user is always right.
7046 if test "${PATH_SEPARATOR+set}" != set; then
7047 echo "#! /bin/sh" >conf$$.sh
7048 echo "exit 0" >>conf$$.sh
7050 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7059 get_gcc_base_ver
="cat"
7061 # Check whether --with-gcc-major-version-only was given.
7062 if test "${with_gcc_major_version_only+set}" = set; then :
7063 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
7064 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
7074 if test "x$exec_prefix" = xNONE
; then
7075 if test "x$prefix" = xNONE
; then
7076 gcc_cv_tool_prefix
=$ac_default_prefix
7078 gcc_cv_tool_prefix
=$prefix
7081 gcc_cv_tool_prefix
=$exec_prefix
7084 # If there is no compiler in the tree, use the PATH only. In any
7085 # case, if there is no compiler in the tree nobody should use
7086 # AS_FOR_TARGET and LD_FOR_TARGET.
7087 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
7088 if test x
$with_gcc_major_version_only = xyes
; then
7089 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
7091 gcc_version
=`cat $srcdir/gcc/BASE-VER`
7093 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7094 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
7095 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7096 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
7097 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7098 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
7103 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
7104 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
7112 # Check whether --with-build-sysroot was given.
7113 if test "${with_build_sysroot+set}" = set; then :
7114 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
7115 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
7118 SYSROOT_CFLAGS_FOR_TARGET
=
7124 # Check whether --with-debug-prefix-map was given.
7125 if test "${with_debug_prefix_map+set}" = set; then :
7126 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
7127 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7128 for debug_map
in $withval; do
7129 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
7133 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7138 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
7139 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
7140 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
7141 # We want to ensure that TARGET libraries (which we know are built with
7142 # gcc) are built with "-O2 -g", so include those options when setting
7143 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
7144 if test "x$CFLAGS_FOR_TARGET" = x
; then
7145 if test "x${is_cross_compiler}" = xyes
; then
7146 CFLAGS_FOR_TARGET
="-g -O2"
7148 CFLAGS_FOR_TARGET
=$CFLAGS
7151 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
7154 *" -g "* |
*" -g3 "*) ;;
7155 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
7161 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
7162 if test "x${is_cross_compiler}" = xyes
; then
7163 CXXFLAGS_FOR_TARGET
="-g -O2"
7165 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
7166 case " $CXXFLAGS " in
7168 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
7170 case " $CXXFLAGS " in
7171 *" -g "* |
*" -g3 "*) ;;
7172 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
7180 # Handle --with-headers=XXX. If the value is not "yes", the contents of
7181 # the named directory are copied to $(tooldir)/sys-include.
7182 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
7183 if test x
${is_cross_compiler} = xno
; then
7184 echo 1>&2 '***' --with-headers is only supported when cross compiling
7187 if test x
"${with_headers}" != xyes
; then
7188 x
=${gcc_cv_tool_prefix}
7189 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
7193 # Handle --with-libs=XXX. If the value is not "yes", the contents of
7194 # the name directories are copied to $(tooldir)/lib. Multiple directories
7196 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
7197 if test x
${is_cross_compiler} = xno
; then
7198 echo 1>&2 '***' --with-libs is only supported when cross compiling
7201 if test x
"${with_libs}" != xyes
; then
7202 # Copy the libraries in reverse order, so that files in the first named
7203 # library override files in subsequent libraries.
7204 x
=${gcc_cv_tool_prefix}
7205 for l
in ${with_libs}; do
7206 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
7211 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
7213 # This is done by determining whether or not the appropriate directory
7214 # is available, and by checking whether or not specific configurations
7215 # have requested that this magic not happen.
7217 # The command line options always override the explicit settings in
7218 # configure.ac, and the settings in configure.ac override this magic.
7220 # If the default for a toolchain is to use GNU as and ld, and you don't
7221 # want to do that, then you should use the --without-gnu-as and
7222 # --without-gnu-ld options for the configure script. Similarly, if
7223 # the default is to use the included zlib and you don't want to do that,
7224 # you should use the --with-system-zlib option for the configure script.
7226 if test x
${use_gnu_as} = x
&&
7227 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
7229 extra_host_args
="$extra_host_args --with-gnu-as"
7232 if test x
${use_gnu_ld} = x
&&
7233 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7235 extra_host_args
="$extra_host_args --with-gnu-ld"
7238 if test x
${use_included_zlib} = x
&&
7239 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7242 with_system_zlib
=yes
7243 extra_host_args
="$extra_host_args --with-system-zlib"
7246 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7247 # can detect this case.
7249 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7251 extra_host_args
="$extra_host_args --with-newlib"
7254 # Handle ${copy_dirs}
7255 set fnord
${copy_dirs}
7257 while test $# != 0 ; do
7258 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7261 echo Copying
$1 to
$2
7263 # Use the install script to create the directory and all required
7264 # parent directories.
7265 if test -d $2 ; then
7269 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7272 # Copy the directory, assuming we have tar.
7273 # FIXME: Should we use B in the second tar? Not all systems support it.
7274 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7276 # It is the responsibility of the user to correctly adjust all
7277 # symlinks. If somebody can figure out how to handle them correctly
7278 # here, feel free to add the code.
7285 # Determine a target-dependent exec_prefix that the installed
7286 # gcc will search in. Keep this list sorted by triplet, with
7287 # the *-*-osname triplets last.
7290 i
[34567]86-pc-msdosdjgpp*)
7291 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7296 md_exec_prefix
=/usr
/ccs
/bin
7300 extra_arflags_for_target
=
7301 extra_nmflags_for_target
=
7302 extra_ranlibflags_for_target
=
7303 target_makefile_frag
=/dev
/null
7306 target_makefile_frag
="config/mt-spu"
7308 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7309 target_makefile_frag
="config/mt-sde"
7311 mipsisa
*-*-elfoabi*)
7312 target_makefile_frag
="config/mt-mips-elfoabi"
7314 mips
*-*-*linux
* | mips
*-*-gnu*)
7315 target_makefile_frag
="config/mt-mips-gnu"
7318 target_makefile_frag
="config/mt-nios2-elf"
7321 target_makefile_frag
="config/mt-android"
7323 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7324 target_makefile_frag
="config/mt-gnu"
7326 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7327 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7328 # commands to handle both 32-bit and 64-bit objects. These flags are
7329 # harmless if we're using GNU nm or ar.
7330 extra_arflags_for_target
=" -X32_64"
7331 extra_nmflags_for_target
=" -B -X32_64"
7335 alphaieee_frag
=/dev
/null
7338 # This just makes sure to use the -mieee option to build target libs.
7339 # This should probably be set individually by each library.
7340 alphaieee_frag
="config/mt-alphaieee"
7344 # If --enable-target-optspace always use -Os instead of -O2 to build
7345 # the target libraries, similarly if it is not specified, use -Os
7346 # on selected platforms.
7347 ospace_frag
=/dev
/null
7348 case "${enable_target_optspace}:${target}" in
7350 ospace_frag
="config/mt-ospace"
7353 ospace_frag
="config/mt-d30v"
7355 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7356 ospace_frag
="config/mt-ospace"
7361 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7365 # Some systems (e.g., one of the i386-aix systems the gas testers are
7366 # using) don't handle "\$" correctly, so don't use it here.
7367 tooldir
='${exec_prefix}'/${target_noncanonical}
7368 build_tooldir
=${tooldir}
7370 # Create a .gdbinit file which runs the one in srcdir
7371 # and tells GDB to look there for source files.
7373 if test -r ${srcdir}/.gdbinit
; then
7376 *) cat > .
/.gdbinit
<<EOF
7380 source ${srcdir}/.gdbinit
7386 # Make sure that the compiler is able to generate an executable. If it
7387 # can't, we are probably in trouble. We don't care whether we can run the
7388 # executable--we might be using a cross compiler--we only care whether it
7389 # can be created. At this point the main configure script has set CC.
7391 echo "int main () { return 0; }" > conftest.c
7392 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7393 if test $?
= 0 ; then
7394 if test -s conftest ||
test -s conftest.exe
; then
7400 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7401 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7408 # Decide which environment variable is used to find dynamic libraries.
7410 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7411 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7412 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7413 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7416 # On systems where the dynamic library environment variable is PATH,
7417 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7418 # built executables to PATH.
7419 if test "$RPATH_ENVVAR" = PATH
; then
7420 GCC_SHLIB_SUBDIR
=/shlib
7425 # Adjust the toplevel makefile according to whether bootstrap was selected.
7426 case $enable_bootstrap in
7428 bootstrap_suffix
=bootstrap
7429 BUILD_CONFIG
=bootstrap-debug
7432 bootstrap_suffix
=no-bootstrap
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7438 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7441 # Check whether --with-build-config was given.
7442 if test "${with_build_config+set}" = set; then :
7443 withval
=$with_build_config; case $with_build_config in
7444 yes) with_build_config
= ;;
7445 no
) with_build_config
= BUILD_CONFIG
= ;;
7450 if test "x${with_build_config}" != x
; then
7451 BUILD_CONFIG
=$with_build_config
7453 case $BUILD_CONFIG in
7455 if echo "int f (void) { return 0; }" > conftest.c
&&
7456 ${CC} -c conftest.c
&&
7457 mv conftest.o conftest.o.g0
&&
7458 ${CC} -c -g conftest.c
&&
7459 mv conftest.o conftest.o.g
&&
7460 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7465 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7470 $as_echo "$BUILD_CONFIG" >&6; }
7473 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7475 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7476 # Check whether --enable-vtable-verify was given.
7477 if test "${enable_vtable_verify+set}" = set; then :
7478 enableval
=$enable_vtable_verify; case "$enableval" in
7479 yes) enable_vtable_verify
=yes ;;
7480 no
) enable_vtable_verify
=no
;;
7481 *) enable_vtable_verify
=no
;;
7484 enable_vtable_verify
=no
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7488 $as_echo "$enable_vtable_verify" >&6; }
7490 # Record target_configdirs and the configure arguments for target and
7491 # build configuration in Makefile.
7492 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7493 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7494 bootstrap_fixincludes
=no
7496 # If we are building libgomp, bootstrap it.
7497 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7498 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7501 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7502 # or bootstrap-ubsan, bootstrap it.
7503 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7504 case "$BUILD_CONFIG" in
7505 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7506 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7507 bootstrap_fixincludes
=yes
7512 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7513 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7514 test "$enable_vtable_verify" != no
; then
7515 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7518 # Determine whether gdb needs tk/tcl or not.
7519 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7520 # and in that case we want gdb to be built without tk. Ugh!
7521 # In fact I believe gdb is the *only* package directly dependent on tk,
7522 # so we should be able to put the 'maybe's in unconditionally and
7523 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7524 # 100% sure that that's safe though.
7526 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7527 case "$enable_gdbtk" in
7531 GDB_TK
="${gdb_tk}" ;;
7533 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7534 # distro. Eventually someone will fix this and move Insight, nee
7535 # gdbtk to a separate directory.
7536 if test -d ${srcdir}/gdb
/gdbtk
; then
7543 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7544 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7546 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
7547 # else does, only include them if one of these is built. The Makefile
7548 # provides the ordering, so it's enough here to add to the list.
7549 case " ${configdirs} " in
7551 configdirs
="${configdirs} gnulib gdbsupport"
7554 configdirs
="${configdirs} gnulib gdbsupport"
7557 configdirs
="${configdirs} gnulib"
7561 # Strip out unwanted targets.
7563 # While at that, we remove Makefiles if we were started for recursive
7564 # configuration, so that the top-level Makefile reconfigures them,
7565 # like we used to do when configure itself was recursive.
7567 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7568 # but now we're fixing up the Makefile ourselves with the additional
7569 # commands passed to AC_CONFIG_FILES. Use separate variables
7570 # extrasub-{build,host,target} not because there is any reason to split
7571 # the substitutions up that way, but only to remain below the limit of
7572 # 99 commands in a script, for HP-UX sed.
7574 # Do not nest @if/@endif or @unless/@endunless pairs, because
7575 # configure will not warn you at all.
7577 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7578 yes:yes:*\ gold\
*:*,c
++,*) ;;
7579 yes:yes:*\ gold\
*:*)
7580 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7585 for module
in ${build_configdirs} ; do
7586 if test -z "${no_recursion}" \
7587 && test -f ${build_subdir}/${module}/Makefile
; then
7588 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7589 rm -f ${build_subdir}/${module}/Makefile
7591 extrasub_build
="$extrasub_build
7592 /^@if build-$module\$/d
7593 /^@endif build-$module\$/d
7594 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7595 /^@if build-$module-$bootstrap_suffix\$/d
7596 /^@endif build-$module-$bootstrap_suffix\$/d
7597 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7600 for module
in ${configdirs} ; do
7601 if test -z "${no_recursion}"; then
7602 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7603 if test -f ${file}; then
7604 echo 1>&2 "*** removing ${file} to force reconfigure"
7609 case ${module},${bootstrap_fixincludes} in
7610 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7611 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7613 extrasub_host
="$extrasub_host
7615 /^@endif $module\$/d
7616 /^@unless $module\$/,/^@endunless $module\$/d
7617 /^@if $module-$host_bootstrap_suffix\$/d
7618 /^@endif $module-$host_bootstrap_suffix\$/d
7619 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7622 for module
in ${target_configdirs} ; do
7623 if test -z "${no_recursion}" \
7624 && test -f ${target_subdir}/${module}/Makefile
; then
7625 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7626 rm -f ${target_subdir}/${module}/Makefile
7629 # We only bootstrap target libraries listed in bootstrap_target_libs.
7630 case $bootstrap_target_libs in
7631 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7632 *) target_bootstrap_suffix
=no-bootstrap
;;
7635 extrasub_target
="$extrasub_target
7636 /^@if target-$module\$/d
7637 /^@endif target-$module\$/d
7638 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7639 /^@if target-$module-$target_bootstrap_suffix\$/d
7640 /^@endif target-$module-$target_bootstrap_suffix\$/d
7641 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7644 # Do the final fixup along with target modules.
7645 extrasub_target
="$extrasub_target
7650 if test "$enable_pgo_build" != "no"; then
7651 extrasub_build
="$extrasub_build
7653 /^@endif pgo-build\$/d"
7656 # Create the serialization dependencies. This uses a temporary file.
7658 # Check whether --enable-serial-configure was given.
7659 if test "${enable_serial_configure+set}" = set; then :
7660 enableval
=$enable_serial_configure;
7664 case ${enable_serial_configure} in
7666 enable_serial_build_configure
=yes
7667 enable_serial_host_configure
=yes
7668 enable_serial_target_configure
=yes
7672 # These force 'configure's to be done one at a time, to avoid problems
7673 # with contention over a shared config.cache.
7675 echo '# serdep.tmp' > serdep.tmp
7677 test "x${enable_serial_build_configure}" = xyes
&&
7678 for item
in ${build_configdirs} ; do
7681 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7686 test "x${enable_serial_host_configure}" = xyes
&&
7687 for item
in ${configdirs} ; do
7690 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7695 test "x${enable_serial_target_configure}" = xyes
&&
7696 for item
in ${target_configdirs} ; do
7699 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7703 serialization_dependencies
=serdep.tmp
7706 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7707 # target, nonopt, and variable assignments. These are the ones we
7708 # might not want to pass down to subconfigures. The exception being
7709 # --cache-file=/dev/null, which is used to turn off the use of cache
7710 # files altogether, and which should be passed on to subconfigures.
7711 # Also strip program-prefix, program-suffix, and program-transform-name,
7712 # so that we can pass down a consistent program-transform-name.
7717 eval "set -- $ac_configure_args"
7720 if test X
"$skip_next" = X
"yes"; then
7724 if test X
"$keep_next" = X
"yes"; then
7727 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7729 baseargs
="$baseargs '$ac_arg'"
7730 tbaseargs
="$tbaseargs '$ac_arg'"
7735 # Handle separated arguments. Based on the logic generated by
7738 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7739 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7740 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7741 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7755 --with-* |
--without-*)
7756 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7760 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7763 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7772 mpc | mpfr | gmp | isl
)
7773 # If we're processing --with-$lib, --with-$lib-include or
7774 # --with-$lib-lib, for one of the libs above, and target is
7775 # different from host, don't pass the current argument to any
7776 # target library's configure.
7777 if test x
$is_cross_compiler = xyes
; then
7786 --cache-file=/dev
/null | \
7787 -cache-file=/dev
/null
)
7788 # Handled here to avoid the test to skip args below.
7789 baseargs
="$baseargs '$ac_arg'"
7790 tbaseargs
="$tbaseargs '$ac_arg'"
7791 # Assert: $separate_arg should always be no.
7792 keep_next
=$separate_arg
7808 -program-prefix* | \
7809 -program-suffix* | \
7810 -program-transform-name* )
7811 skip_next
=$separate_arg
7815 # An option. Add it.
7818 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7820 baseargs
="$baseargs '$ac_arg'"
7821 if test X
"$skip_targ" = Xno
; then
7822 tbaseargs
="$tbaseargs '$ac_arg'"
7824 keep_next
=$separate_arg
7827 # Either a variable assignment, or a nonopt (triplet). Don't
7828 # pass it down; let the Makefile handle this.
7833 # Remove the initial space we just introduced and, as these will be
7834 # expanded by make, quote '$'.
7835 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7837 # Add in --program-transform-name, after --program-prefix and
7838 # --program-suffix have been applied to it. Autoconf has already
7839 # doubled dollar signs and backslashes in program_transform_name; we want
7840 # the backslashes un-doubled, and then the entire thing wrapped in single
7841 # quotes, because this will be expanded first by make and then by the shell.
7842 # Also, because we want to override the logic in subdir configure scripts to
7843 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7844 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7845 ${program_transform_name}
7847 gcc_transform_name
=`cat conftestsed.out`
7848 rm -f conftestsed.out
7849 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7850 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7851 if test "$silent" = yes; then
7852 baseargs
="$baseargs --silent"
7853 tbaseargs
="$tbaseargs --silent"
7856 baseargs
="$baseargs --disable-option-checking"
7857 tbaseargs
="$tbaseargs --disable-option-checking"
7859 if test "$enable_year2038" = no
; then
7860 baseargs
="$baseargs --disable-year2038"
7861 tbaseargs
="$tbaseargs --disable-year2038"
7864 # Record and document user additions to sub configure arguments.
7869 # For the build-side libraries, we just need to pretend we're native,
7870 # and not use the same cache file. Multilibs are neither needed nor
7871 # desired. We can't even use the same cache file for all build-side
7872 # libraries, as they're compiled differently; some with C, some with
7873 # C++ or with different feature-enabling options.
7874 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7876 # For host modules, accept cache file option, or specification as blank.
7877 case "${cache_file}" in
7879 cache_file_option
="" ;;
7880 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7881 cache_file_option
="--cache-file=${cache_file}" ;;
7883 cache_file_option
="--cache-file=../${cache_file}" ;;
7886 # Host dirs don't like to share a cache file either, horribly enough.
7887 # This seems to be due to autoconf 2.5x stupidity.
7888 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7890 target_configargs
="$target_configargs ${tbaseargs}"
7892 # Passing a --with-cross-host argument lets the target libraries know
7893 # whether they are being built with a cross-compiler or being built
7894 # native. However, it would be better to use other mechanisms to make the
7895 # sorts of decisions they want to make on this basis. Please consider
7896 # this option to be deprecated. FIXME.
7897 if test x
${is_cross_compiler} = xyes
; then
7898 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7901 # Special user-friendly check for native x86_64-linux build, if
7902 # multilib is not explicitly enabled.
7903 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7904 x86_64-
*linux
*:yes:$build:$build:)
7905 # Make sure we have a development environment that handles 32-bit
7907 echo "int main () { return 0; }" > conftest.c
7908 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7909 if test $?
= 0 ; then
7910 if test -s conftest ||
test -s conftest.exe
; then
7915 if test x
${dev64} != xyes
; then
7916 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
7921 # Default to --enable-multilib.
7922 if test x
${enable_multilib} = x
; then
7923 target_configargs
="--enable-multilib ${target_configargs}"
7926 # Pass --with-newlib if appropriate. Note that target_configdirs has
7927 # changed from the earlier setting of with_newlib.
7928 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7929 target_configargs
="--with-newlib ${target_configargs}"
7932 # Different target subdirs use different values of certain variables
7933 # (notably CXX). Worse, multilibs use *lots* of different values.
7934 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7935 # it doesn't automatically accept command-line overrides of them.
7936 # This means it's not safe for target subdirs to share a cache file,
7937 # which is disgusting, but there you have it. Hopefully this can be
7938 # fixed in future. It's still worthwhile to use a cache file for each
7939 # directory. I think.
7941 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7942 # We need to pass --target, as newer autoconf's requires consistency
7943 # for target_alias and gcc doesn't manage it consistently.
7944 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7947 case " $target_configdirs " in
7949 case " $target_configargs " in
7950 *" --with-newlib "*)
7953 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7957 # If we're not building GCC, don't discard standard headers.
7958 if test -d ${srcdir}/gcc
; then
7959 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7961 if test "${build}" != "${host}"; then
7962 # On Canadian crosses, CC_FOR_TARGET will have already been set
7963 # by `configure', so we won't have an opportunity to add -Bgcc/
7964 # to it. This is right: we don't want to search that directory
7965 # for binaries, but we want the header files in there, so add
7967 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7969 # Someone might think of using the pre-installed headers on
7970 # Canadian crosses, in case the installed compiler is not fully
7971 # compatible with the compiler being built. In this case, it
7972 # would be better to flag an error than risking having
7973 # incompatible object files being constructed. We can't
7974 # guarantee that an error will be flagged, but let's hope the
7975 # compiler will do it, when presented with incompatible header
7980 case "${target}-${is_cross_compiler}" in
7981 i
[3456789]86-*-linux*-no)
7982 # Here host == target, so we don't need to build gcc,
7983 # so we don't want to discard standard headers.
7984 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7987 # If we're building newlib, use its generic headers last, but search
7988 # for any libc-related directories first (so make it the last -B
7990 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7992 # If we're building libgloss, find the startup file, simulator library
7993 # and linker script.
7994 case " $target_configdirs " in
7996 # Look for startup file, simulator library and maybe linker script.
7997 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7998 # Look for libnosys.a in case the target needs it.
7999 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
8000 # Most targets have the linker script in the source directory.
8001 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
8012 x86_64-
*mingw
* |
*-w64-mingw*)
8013 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
8014 # however, use a symlink named 'mingw' in ${prefix} .
8015 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
8018 # MinGW can't be handled as Cygwin above since it does not use newlib.
8019 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'
8023 # Allow the user to override the flags for
8024 # our build compiler if desired.
8025 if test x
"${build}" = x
"${host}" ; then
8026 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
8027 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
8028 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
8031 # On Canadian crosses, we'll be searching the right directories for
8032 # the previously-installed cross compiler, so don't bother to add
8033 # flags for directories within the install tree of the compiler
8034 # being built; programs in there won't even run.
8035 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
8036 # Search for pre-installed headers if nothing else fits.
8037 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
8040 if test "x
${use_gnu_ld}" = x &&
8041 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
8042 # Arrange for us to find uninstalled linker scripts.
8043 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
8046 # Search for other target-specific linker scripts and such.
8049 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
8053 # Makefile fragments.
8054 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
8056 eval fragval=\$$frag
8057 if test $fragval != /dev/null; then
8058 eval $frag=${srcdir}/$fragval
8066 # Miscellanea: directories, flags, etc.
8075 # Build module lists & subconfigure args.
8079 # Host module lists & subconfigure args.
8084 # Target module lists & subconfigure args.
8105 # Generate default definitions for YACC, M4, LEX and other programs that run
8106 # on the build machine. These are used if the Makefile can't locate these
8107 # programs in objdir.
8108 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
8110 for ac_prog in 'bison -y' byacc yacc
8112 # Extract the first word of "$ac_prog", so it can be a program name with args.
8113 set dummy $ac_prog; ac_word=$2
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8115 $as_echo_n "checking
for $ac_word...
" >&6; }
8116 if ${ac_cv_prog_YACC+:} false; then :
8117 $as_echo_n "(cached
) " >&6
8119 if test -n "$YACC"; then
8120 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_YACC="$ac_prog"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8139 YACC=$ac_cv_prog_YACC
8140 if test -n "$YACC"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
8142 $as_echo "$YACC" >&6; }
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8145 $as_echo "no
" >&6; }
8149 test -n "$YACC" && break
8151 test -n "$YACC" || YACC="$MISSING bison
-y"
8153 case " $build_configdirs " in
8154 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
8157 for ac_prog in bison
8159 # Extract the first word of "$ac_prog", so it can be a program name with args.
8160 set dummy $ac_prog; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8162 $as_echo_n "checking
for $ac_word...
" >&6; }
8163 if ${ac_cv_prog_BISON+:} false; then :
8164 $as_echo_n "(cached
) " >&6
8166 if test -n "$BISON"; then
8167 ac_cv_prog_BISON="$BISON" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176 ac_cv_prog_BISON="$ac_prog"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8186 BISON=$ac_cv_prog_BISON
8187 if test -n "$BISON"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
8189 $as_echo "$BISON" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8192 $as_echo "no
" >&6; }
8196 test -n "$BISON" && break
8198 test -n "$BISON" || BISON="$MISSING bison
"
8200 case " $build_configdirs " in
8201 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
8204 for ac_prog in gm4 gnum4 m4
8206 # Extract the first word of "$ac_prog", so it can be a program name with args.
8207 set dummy $ac_prog; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8209 $as_echo_n "checking
for $ac_word...
" >&6; }
8210 if ${ac_cv_prog_M4+:} false; then :
8211 $as_echo_n "(cached
) " >&6
8213 if test -n "$M4"; then
8214 ac_cv_prog_M4="$M4" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223 ac_cv_prog_M4="$ac_prog"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8234 if test -n "$M4"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
8236 $as_echo "$M4" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8239 $as_echo "no
" >&6; }
8243 test -n "$M4" && break
8245 test -n "$M4" || M4="$MISSING m4"
8247 case " $build_configdirs " in
8248 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8251 for ac_prog in flex lex
8253 # Extract the first word of "$ac_prog", so it can be a program name with args.
8254 set dummy $ac_prog; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8256 $as_echo_n "checking
for $ac_word...
" >&6; }
8257 if ${ac_cv_prog_LEX+:} false; then :
8258 $as_echo_n "(cached
) " >&6
8260 if test -n "$LEX"; then
8261 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_LEX="$ac_prog"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 if test -n "$LEX"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8283 $as_echo "$LEX" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8286 $as_echo "no
" >&6; }
8290 test -n "$LEX" && break
8292 test -n "$LEX" || LEX="$MISSING flex
"
8294 case " $build_configdirs " in
8295 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8296 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8301 # Extract the first word of "$ac_prog", so it can be a program name with args.
8302 set dummy $ac_prog; ac_word=$2
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8304 $as_echo_n "checking
for $ac_word...
" >&6; }
8305 if ${ac_cv_prog_FLEX+:} false; then :
8306 $as_echo_n "(cached
) " >&6
8308 if test -n "$FLEX"; then
8309 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315 test -z "$as_dir" && as_dir=.
8316 for ac_exec_ext in '' $ac_executable_extensions; do
8317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8318 ac_cv_prog_FLEX="$ac_prog"
8319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8328 FLEX=$ac_cv_prog_FLEX
8329 if test -n "$FLEX"; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8331 $as_echo "$FLEX" >&6; }
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8334 $as_echo "no
" >&6; }
8338 test -n "$FLEX" && break
8340 test -n "$FLEX" || FLEX="$MISSING flex
"
8342 case " $build_configdirs " in
8343 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8346 for ac_prog in makeinfo
8348 # Extract the first word of "$ac_prog", so it can be a program name with args.
8349 set dummy $ac_prog; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8351 $as_echo_n "checking
for $ac_word...
" >&6; }
8352 if ${ac_cv_prog_MAKEINFO+:} false; then :
8353 $as_echo_n "(cached
) " >&6
8355 if test -n "$MAKEINFO"; then
8356 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365 ac_cv_prog_MAKEINFO="$ac_prog"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8375 MAKEINFO=$ac_cv_prog_MAKEINFO
8376 if test -n "$MAKEINFO"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8378 $as_echo "$MAKEINFO" >&6; }
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8381 $as_echo "no
" >&6; }
8385 test -n "$MAKEINFO" && break
8387 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8389 case " $build_configdirs " in
8390 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8393 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8394 # higher, else we use the "missing
" dummy.
8395 if ${MAKEINFO} --version \
8396 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8399 MAKEINFO="$MISSING makeinfo
"
8405 # FIXME: expect and dejagnu may become build tools?
8407 for ac_prog in expect
8409 # Extract the first word of "$ac_prog", so it can be a program name with args.
8410 set dummy $ac_prog; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8412 $as_echo_n "checking
for $ac_word...
" >&6; }
8413 if ${ac_cv_prog_EXPECT+:} false; then :
8414 $as_echo_n "(cached
) " >&6
8416 if test -n "$EXPECT"; then
8417 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8426 ac_cv_prog_EXPECT="$ac_prog"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8436 EXPECT=$ac_cv_prog_EXPECT
8437 if test -n "$EXPECT"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8439 $as_echo "$EXPECT" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8442 $as_echo "no
" >&6; }
8446 test -n "$EXPECT" && break
8448 test -n "$EXPECT" || EXPECT="expect
"
8450 case " $configdirs " in
8452 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8456 for ac_prog in runtest
8458 # Extract the first word of "$ac_prog", so it can be a program name with args.
8459 set dummy $ac_prog; ac_word=$2
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8461 $as_echo_n "checking
for $ac_word...
" >&6; }
8462 if ${ac_cv_prog_RUNTEST+:} false; then :
8463 $as_echo_n "(cached
) " >&6
8465 if test -n "$RUNTEST"; then
8466 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8475 ac_cv_prog_RUNTEST="$ac_prog"
8476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8485 RUNTEST=$ac_cv_prog_RUNTEST
8486 if test -n "$RUNTEST"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8488 $as_echo "$RUNTEST" >&6; }
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8491 $as_echo "no
" >&6; }
8495 test -n "$RUNTEST" && break
8497 test -n "$RUNTEST" || RUNTEST="runtest
"
8499 case " $configdirs " in
8501 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8508 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8509 ncn_target_tool_prefix=
8510 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8514 if test -n "$AR"; then
8516 elif test -n "$ac_cv_prog_AR"; then
8520 if test -n "$ac_cv_prog_AR"; then
8521 for ncn_progname in ar; do
8522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8523 set dummy ${ncn_progname}; ac_word=$2
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8525 $as_echo_n "checking
for $ac_word...
" >&6; }
8526 if ${ac_cv_prog_AR+:} false; then :
8527 $as_echo_n "(cached
) " >&6
8529 if test -n "$AR"; then
8530 ac_cv_prog_AR="$AR" # Let the user override the test.
8532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536 test -z "$as_dir" && as_dir=.
8537 for ac_exec_ext in '' $ac_executable_extensions; do
8538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8539 ac_cv_prog_AR="${ncn_progname}"
8540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8550 if test -n "$AR"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8552 $as_echo "$AR" >&6; }
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8555 $as_echo "no
" >&6; }
8562 for ncn_progname in ar; do
8563 if test -n "$ncn_tool_prefix"; then
8564 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8565 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8567 $as_echo_n "checking
for $ac_word...
" >&6; }
8568 if ${ac_cv_prog_AR+:} false; then :
8569 $as_echo_n "(cached
) " >&6
8571 if test -n "$AR"; then
8572 ac_cv_prog_AR="$AR" # Let the user override the test.
8574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 test -z "$as_dir" && as_dir=.
8579 for ac_exec_ext in '' $ac_executable_extensions; do
8580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8581 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8592 if test -n "$AR"; then
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8594 $as_echo "$AR" >&6; }
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8597 $as_echo "no
" >&6; }
8602 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8603 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8604 set dummy ${ncn_progname}; ac_word=$2
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8606 $as_echo_n "checking
for $ac_word...
" >&6; }
8607 if ${ac_cv_prog_AR+:} false; then :
8608 $as_echo_n "(cached
) " >&6
8610 if test -n "$AR"; then
8611 ac_cv_prog_AR="$AR" # Let the user override the test.
8613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8617 test -z "$as_dir" && as_dir=.
8618 for ac_exec_ext in '' $ac_executable_extensions; do
8619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8620 ac_cv_prog_AR="${ncn_progname}"
8621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8631 if test -n "$AR"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8633 $as_echo "$AR" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8636 $as_echo "no
" >&6; }
8641 test -n "$ac_cv_prog_AR" && break
8644 if test -z "$ac_cv_prog_AR" ; then
8646 if test $build = $host ; then
8649 AR="${ncn_tool_prefix}$2"
8655 if test -n "$AS"; then
8657 elif test -n "$ac_cv_prog_AS"; then
8661 if test -n "$ac_cv_prog_AS"; then
8662 for ncn_progname in as; do
8663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8664 set dummy ${ncn_progname}; ac_word=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8666 $as_echo_n "checking
for $ac_word...
" >&6; }
8667 if ${ac_cv_prog_AS+:} false; then :
8668 $as_echo_n "(cached
) " >&6
8670 if test -n "$AS"; then
8671 ac_cv_prog_AS="$AS" # Let the user override the test.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_prog_AS="${ncn_progname}"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8691 if test -n "$AS"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8693 $as_echo "$AS" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8696 $as_echo "no
" >&6; }
8703 for ncn_progname in as; do
8704 if test -n "$ncn_tool_prefix"; then
8705 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8706 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8708 $as_echo_n "checking
for $ac_word...
" >&6; }
8709 if ${ac_cv_prog_AS+:} false; then :
8710 $as_echo_n "(cached
) " >&6
8712 if test -n "$AS"; then
8713 ac_cv_prog_AS="$AS" # Let the user override the test.
8715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8719 test -z "$as_dir" && as_dir=.
8720 for ac_exec_ext in '' $ac_executable_extensions; do
8721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8722 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8733 if test -n "$AS"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8735 $as_echo "$AS" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8738 $as_echo "no
" >&6; }
8743 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8745 set dummy ${ncn_progname}; ac_word=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8747 $as_echo_n "checking
for $ac_word...
" >&6; }
8748 if ${ac_cv_prog_AS+:} false; then :
8749 $as_echo_n "(cached
) " >&6
8751 if test -n "$AS"; then
8752 ac_cv_prog_AS="$AS" # Let the user override the test.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_AS="${ncn_progname}"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8772 if test -n "$AS"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8774 $as_echo "$AS" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8777 $as_echo "no
" >&6; }
8782 test -n "$ac_cv_prog_AS" && break
8785 if test -z "$ac_cv_prog_AS" ; then
8787 if test $build = $host ; then
8790 AS="${ncn_tool_prefix}$2"
8796 if test -n "$DLLTOOL"; then
8797 ac_cv_prog_DLLTOOL=$DLLTOOL
8798 elif test -n "$ac_cv_prog_DLLTOOL"; then
8799 DLLTOOL=$ac_cv_prog_DLLTOOL
8802 if test -n "$ac_cv_prog_DLLTOOL"; then
8803 for ncn_progname in dlltool; do
8804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8805 set dummy ${ncn_progname}; ac_word=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8807 $as_echo_n "checking
for $ac_word...
" >&6; }
8808 if ${ac_cv_prog_DLLTOOL+:} false; then :
8809 $as_echo_n "(cached
) " >&6
8811 if test -n "$DLLTOOL"; then
8812 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8821 ac_cv_prog_DLLTOOL="${ncn_progname}"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8831 DLLTOOL=$ac_cv_prog_DLLTOOL
8832 if test -n "$DLLTOOL"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8834 $as_echo "$DLLTOOL" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8837 $as_echo "no
" >&6; }
8844 for ncn_progname in dlltool; do
8845 if test -n "$ncn_tool_prefix"; then
8846 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8847 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8849 $as_echo_n "checking
for $ac_word...
" >&6; }
8850 if ${ac_cv_prog_DLLTOOL+:} false; then :
8851 $as_echo_n "(cached
) " >&6
8853 if test -n "$DLLTOOL"; then
8854 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir=.
8861 for ac_exec_ext in '' $ac_executable_extensions; do
8862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8873 DLLTOOL=$ac_cv_prog_DLLTOOL
8874 if test -n "$DLLTOOL"; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8876 $as_echo "$DLLTOOL" >&6; }
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8879 $as_echo "no
" >&6; }
8884 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8885 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8886 set dummy ${ncn_progname}; ac_word=$2
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8888 $as_echo_n "checking
for $ac_word...
" >&6; }
8889 if ${ac_cv_prog_DLLTOOL+:} false; then :
8890 $as_echo_n "(cached
) " >&6
8892 if test -n "$DLLTOOL"; then
8893 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8902 ac_cv_prog_DLLTOOL="${ncn_progname}"
8903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8912 DLLTOOL=$ac_cv_prog_DLLTOOL
8913 if test -n "$DLLTOOL"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8915 $as_echo "$DLLTOOL" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8918 $as_echo "no
" >&6; }
8923 test -n "$ac_cv_prog_DLLTOOL" && break
8926 if test -z "$ac_cv_prog_DLLTOOL" ; then
8928 if test $build = $host ; then
8931 DLLTOOL="${ncn_tool_prefix}$2"
8937 if test -n "$LD"; then
8939 elif test -n "$ac_cv_prog_LD"; then
8943 if test -n "$ac_cv_prog_LD"; then
8944 for ncn_progname in ld; do
8945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8946 set dummy ${ncn_progname}; ac_word=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8948 $as_echo_n "checking
for $ac_word...
" >&6; }
8949 if ${ac_cv_prog_LD+:} false; then :
8950 $as_echo_n "(cached
) " >&6
8952 if test -n "$LD"; then
8953 ac_cv_prog_LD="$LD" # Let the user override the test.
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8962 ac_cv_prog_LD="${ncn_progname}"
8963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8973 if test -n "$LD"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8975 $as_echo "$LD" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8978 $as_echo "no
" >&6; }
8985 for ncn_progname in ld; do
8986 if test -n "$ncn_tool_prefix"; then
8987 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8988 set dummy ${ncn_tool_prefix}${ncn_progname}; 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_LD+:} false; then :
8992 $as_echo_n "(cached
) " >&6
8994 if test -n "$LD"; then
8995 ac_cv_prog_LD="$LD" # 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_LD="${ncn_tool_prefix}${ncn_progname}"
9005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9015 if test -n "$LD"; then
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9017 $as_echo "$LD" >&6; }
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9020 $as_echo "no
" >&6; }
9025 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
9026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9027 set dummy ${ncn_progname}; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9029 $as_echo_n "checking
for $ac_word...
" >&6; }
9030 if ${ac_cv_prog_LD+:} false; then :
9031 $as_echo_n "(cached
) " >&6
9033 if test -n "$LD"; then
9034 ac_cv_prog_LD="$LD" # Let the user override the test.
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_LD="${ncn_progname}"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9054 if test -n "$LD"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9056 $as_echo "$LD" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9059 $as_echo "no
" >&6; }
9064 test -n "$ac_cv_prog_LD" && break
9067 if test -z "$ac_cv_prog_LD" ; then
9069 if test $build = $host ; then
9072 LD="${ncn_tool_prefix}$2"
9078 if test -n "$LIPO"; then
9079 ac_cv_prog_LIPO=$LIPO
9080 elif test -n "$ac_cv_prog_LIPO"; then
9081 LIPO=$ac_cv_prog_LIPO
9084 if test -n "$ac_cv_prog_LIPO"; then
9085 for ncn_progname in lipo; do
9086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9087 set dummy ${ncn_progname}; ac_word=$2
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9089 $as_echo_n "checking
for $ac_word...
" >&6; }
9090 if ${ac_cv_prog_LIPO+:} false; then :
9091 $as_echo_n "(cached
) " >&6
9093 if test -n "$LIPO"; then
9094 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9100 test -z "$as_dir" && as_dir=.
9101 for ac_exec_ext in '' $ac_executable_extensions; do
9102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9103 ac_cv_prog_LIPO="${ncn_progname}"
9104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9113 LIPO=$ac_cv_prog_LIPO
9114 if test -n "$LIPO"; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9116 $as_echo "$LIPO" >&6; }
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9119 $as_echo "no
" >&6; }
9126 for ncn_progname in lipo; do
9127 if test -n "$ncn_tool_prefix"; then
9128 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9129 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9131 $as_echo_n "checking
for $ac_word...
" >&6; }
9132 if ${ac_cv_prog_LIPO+:} false; then :
9133 $as_echo_n "(cached
) " >&6
9135 if test -n "$LIPO"; then
9136 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9142 test -z "$as_dir" && as_dir=.
9143 for ac_exec_ext in '' $ac_executable_extensions; do
9144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9145 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
9146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9155 LIPO=$ac_cv_prog_LIPO
9156 if test -n "$LIPO"; then
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9158 $as_echo "$LIPO" >&6; }
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9161 $as_echo "no
" >&6; }
9166 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
9167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9168 set dummy ${ncn_progname}; ac_word=$2
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9170 $as_echo_n "checking
for $ac_word...
" >&6; }
9171 if ${ac_cv_prog_LIPO+:} false; then :
9172 $as_echo_n "(cached
) " >&6
9174 if test -n "$LIPO"; then
9175 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181 test -z "$as_dir" && as_dir=.
9182 for ac_exec_ext in '' $ac_executable_extensions; do
9183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9184 ac_cv_prog_LIPO="${ncn_progname}"
9185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9194 LIPO=$ac_cv_prog_LIPO
9195 if test -n "$LIPO"; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9197 $as_echo "$LIPO" >&6; }
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9200 $as_echo "no
" >&6; }
9205 test -n "$ac_cv_prog_LIPO" && break
9208 if test -z "$ac_cv_prog_LIPO" ; then
9210 if test $build = $host ; then
9213 LIPO="${ncn_tool_prefix}$2"
9219 if test -n "$NM"; then
9221 elif test -n "$ac_cv_prog_NM"; then
9225 if test -n "$ac_cv_prog_NM"; then
9226 for ncn_progname in nm; do
9227 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9228 set dummy ${ncn_progname}; ac_word=$2
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9230 $as_echo_n "checking
for $ac_word...
" >&6; }
9231 if ${ac_cv_prog_NM+:} false; then :
9232 $as_echo_n "(cached
) " >&6
9234 if test -n "$NM"; then
9235 ac_cv_prog_NM="$NM" # Let the user override the test.
9237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9241 test -z "$as_dir" && as_dir=.
9242 for ac_exec_ext in '' $ac_executable_extensions; do
9243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9244 ac_cv_prog_NM="${ncn_progname}"
9245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9255 if test -n "$NM"; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9257 $as_echo "$NM" >&6; }
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9260 $as_echo "no
" >&6; }
9267 for ncn_progname in nm; do
9268 if test -n "$ncn_tool_prefix"; then
9269 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9270 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9272 $as_echo_n "checking
for $ac_word...
" >&6; }
9273 if ${ac_cv_prog_NM+:} false; then :
9274 $as_echo_n "(cached
) " >&6
9276 if test -n "$NM"; then
9277 ac_cv_prog_NM="$NM" # Let the user override the test.
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9283 test -z "$as_dir" && as_dir=.
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9286 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9297 if test -n "$NM"; then
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9299 $as_echo "$NM" >&6; }
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9302 $as_echo "no
" >&6; }
9307 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9309 set dummy ${ncn_progname}; ac_word=$2
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9311 $as_echo_n "checking
for $ac_word...
" >&6; }
9312 if ${ac_cv_prog_NM+:} false; then :
9313 $as_echo_n "(cached
) " >&6
9315 if test -n "$NM"; then
9316 ac_cv_prog_NM="$NM" # Let the user override the test.
9318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9322 test -z "$as_dir" && as_dir=.
9323 for ac_exec_ext in '' $ac_executable_extensions; do
9324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9325 ac_cv_prog_NM="${ncn_progname}"
9326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9336 if test -n "$NM"; then
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9338 $as_echo "$NM" >&6; }
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9341 $as_echo "no
" >&6; }
9346 test -n "$ac_cv_prog_NM" && break
9349 if test -z "$ac_cv_prog_NM" ; then
9351 if test $build = $host ; then
9354 NM="${ncn_tool_prefix}$2"
9360 if test -n "$RANLIB"; then
9361 ac_cv_prog_RANLIB=$RANLIB
9362 elif test -n "$ac_cv_prog_RANLIB"; then
9363 RANLIB=$ac_cv_prog_RANLIB
9366 if test -n "$ac_cv_prog_RANLIB"; then
9367 for ncn_progname in ranlib; do
9368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9369 set dummy ${ncn_progname}; ac_word=$2
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9371 $as_echo_n "checking
for $ac_word...
" >&6; }
9372 if ${ac_cv_prog_RANLIB+:} false; then :
9373 $as_echo_n "(cached
) " >&6
9375 if test -n "$RANLIB"; then
9376 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9382 test -z "$as_dir" && as_dir=.
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9385 ac_cv_prog_RANLIB="${ncn_progname}"
9386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9395 RANLIB=$ac_cv_prog_RANLIB
9396 if test -n "$RANLIB"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9398 $as_echo "$RANLIB" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9401 $as_echo "no
" >&6; }
9408 for ncn_progname in ranlib; do
9409 if test -n "$ncn_tool_prefix"; then
9410 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9411 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9413 $as_echo_n "checking
for $ac_word...
" >&6; }
9414 if ${ac_cv_prog_RANLIB+:} false; then :
9415 $as_echo_n "(cached
) " >&6
9417 if test -n "$RANLIB"; then
9418 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9424 test -z "$as_dir" && as_dir=.
9425 for ac_exec_ext in '' $ac_executable_extensions; do
9426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9427 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9437 RANLIB=$ac_cv_prog_RANLIB
9438 if test -n "$RANLIB"; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9440 $as_echo "$RANLIB" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9443 $as_echo "no
" >&6; }
9448 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9450 set dummy ${ncn_progname}; ac_word=$2
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9452 $as_echo_n "checking
for $ac_word...
" >&6; }
9453 if ${ac_cv_prog_RANLIB+:} false; then :
9454 $as_echo_n "(cached
) " >&6
9456 if test -n "$RANLIB"; then
9457 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9463 test -z "$as_dir" && as_dir=.
9464 for ac_exec_ext in '' $ac_executable_extensions; do
9465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9466 ac_cv_prog_RANLIB="${ncn_progname}"
9467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9476 RANLIB=$ac_cv_prog_RANLIB
9477 if test -n "$RANLIB"; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9479 $as_echo "$RANLIB" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9482 $as_echo "no
" >&6; }
9487 test -n "$ac_cv_prog_RANLIB" && break
9490 if test -z "$ac_cv_prog_RANLIB" ; then
9496 if test -n "$STRIP"; then
9497 ac_cv_prog_STRIP=$STRIP
9498 elif test -n "$ac_cv_prog_STRIP"; then
9499 STRIP=$ac_cv_prog_STRIP
9502 if test -n "$ac_cv_prog_STRIP"; then
9503 for ncn_progname in strip; do
9504 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9505 set dummy ${ncn_progname}; ac_word=$2
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9507 $as_echo_n "checking
for $ac_word...
" >&6; }
9508 if ${ac_cv_prog_STRIP+:} false; then :
9509 $as_echo_n "(cached
) " >&6
9511 if test -n "$STRIP"; then
9512 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9518 test -z "$as_dir" && as_dir=.
9519 for ac_exec_ext in '' $ac_executable_extensions; do
9520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9521 ac_cv_prog_STRIP="${ncn_progname}"
9522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9531 STRIP=$ac_cv_prog_STRIP
9532 if test -n "$STRIP"; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9534 $as_echo "$STRIP" >&6; }
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9537 $as_echo "no
" >&6; }
9544 for ncn_progname in strip; do
9545 if test -n "$ncn_tool_prefix"; then
9546 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9547 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9549 $as_echo_n "checking
for $ac_word...
" >&6; }
9550 if ${ac_cv_prog_STRIP+:} false; then :
9551 $as_echo_n "(cached
) " >&6
9553 if test -n "$STRIP"; then
9554 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9560 test -z "$as_dir" && as_dir=.
9561 for ac_exec_ext in '' $ac_executable_extensions; do
9562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9563 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9573 STRIP=$ac_cv_prog_STRIP
9574 if test -n "$STRIP"; then
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9576 $as_echo "$STRIP" >&6; }
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9579 $as_echo "no
" >&6; }
9584 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
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_STRIP+:} false; then :
9590 $as_echo_n "(cached
) " >&6
9592 if test -n "$STRIP"; then
9593 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ncn_progname}"
9603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9612 STRIP=$ac_cv_prog_STRIP
9613 if test -n "$STRIP"; then
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9615 $as_echo "$STRIP" >&6; }
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9618 $as_echo "no
" >&6; }
9623 test -n "$ac_cv_prog_STRIP" && break
9626 if test -z "$ac_cv_prog_STRIP" ; then
9632 if test -n "$WINDRES"; then
9633 ac_cv_prog_WINDRES=$WINDRES
9634 elif test -n "$ac_cv_prog_WINDRES"; then
9635 WINDRES=$ac_cv_prog_WINDRES
9638 if test -n "$ac_cv_prog_WINDRES"; then
9639 for ncn_progname in windres; do
9640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9641 set dummy ${ncn_progname}; ac_word=$2
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9643 $as_echo_n "checking
for $ac_word...
" >&6; }
9644 if ${ac_cv_prog_WINDRES+:} false; then :
9645 $as_echo_n "(cached
) " >&6
9647 if test -n "$WINDRES"; then
9648 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9657 ac_cv_prog_WINDRES="${ncn_progname}"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9667 WINDRES=$ac_cv_prog_WINDRES
9668 if test -n "$WINDRES"; then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9670 $as_echo "$WINDRES" >&6; }
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9673 $as_echo "no
" >&6; }
9680 for ncn_progname in windres; do
9681 if test -n "$ncn_tool_prefix"; then
9682 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9683 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9685 $as_echo_n "checking
for $ac_word...
" >&6; }
9686 if ${ac_cv_prog_WINDRES+:} false; then :
9687 $as_echo_n "(cached
) " >&6
9689 if test -n "$WINDRES"; then
9690 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9696 test -z "$as_dir" && as_dir=.
9697 for ac_exec_ext in '' $ac_executable_extensions; do
9698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9699 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9709 WINDRES=$ac_cv_prog_WINDRES
9710 if test -n "$WINDRES"; then
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9712 $as_echo "$WINDRES" >&6; }
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9715 $as_echo "no
" >&6; }
9720 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9722 set dummy ${ncn_progname}; ac_word=$2
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9724 $as_echo_n "checking
for $ac_word...
" >&6; }
9725 if ${ac_cv_prog_WINDRES+:} false; then :
9726 $as_echo_n "(cached
) " >&6
9728 if test -n "$WINDRES"; then
9729 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9735 test -z "$as_dir" && as_dir=.
9736 for ac_exec_ext in '' $ac_executable_extensions; do
9737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9738 ac_cv_prog_WINDRES="${ncn_progname}"
9739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9748 WINDRES=$ac_cv_prog_WINDRES
9749 if test -n "$WINDRES"; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9751 $as_echo "$WINDRES" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9754 $as_echo "no
" >&6; }
9759 test -n "$ac_cv_prog_WINDRES" && break
9762 if test -z "$ac_cv_prog_WINDRES" ; then
9764 if test $build = $host ; then
9767 WINDRES="${ncn_tool_prefix}$2"
9773 if test -n "$WINDMC"; then
9774 ac_cv_prog_WINDMC=$WINDMC
9775 elif test -n "$ac_cv_prog_WINDMC"; then
9776 WINDMC=$ac_cv_prog_WINDMC
9779 if test -n "$ac_cv_prog_WINDMC"; then
9780 for ncn_progname in windmc; do
9781 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9782 set dummy ${ncn_progname}; ac_word=$2
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9784 $as_echo_n "checking
for $ac_word...
" >&6; }
9785 if ${ac_cv_prog_WINDMC+:} false; then :
9786 $as_echo_n "(cached
) " >&6
9788 if test -n "$WINDMC"; then
9789 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9795 test -z "$as_dir" && as_dir=.
9796 for ac_exec_ext in '' $ac_executable_extensions; do
9797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9798 ac_cv_prog_WINDMC="${ncn_progname}"
9799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9808 WINDMC=$ac_cv_prog_WINDMC
9809 if test -n "$WINDMC"; then
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9811 $as_echo "$WINDMC" >&6; }
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9814 $as_echo "no
" >&6; }
9821 for ncn_progname in windmc; do
9822 if test -n "$ncn_tool_prefix"; then
9823 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9824 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9826 $as_echo_n "checking
for $ac_word...
" >&6; }
9827 if ${ac_cv_prog_WINDMC+:} false; then :
9828 $as_echo_n "(cached
) " >&6
9830 if test -n "$WINDMC"; then
9831 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9837 test -z "$as_dir" && as_dir=.
9838 for ac_exec_ext in '' $ac_executable_extensions; do
9839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9840 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9850 WINDMC=$ac_cv_prog_WINDMC
9851 if test -n "$WINDMC"; then
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9853 $as_echo "$WINDMC" >&6; }
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9856 $as_echo "no
" >&6; }
9861 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9863 set dummy ${ncn_progname}; ac_word=$2
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9865 $as_echo_n "checking
for $ac_word...
" >&6; }
9866 if ${ac_cv_prog_WINDMC+:} false; then :
9867 $as_echo_n "(cached
) " >&6
9869 if test -n "$WINDMC"; then
9870 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_WINDMC="${ncn_progname}"
9880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9889 WINDMC=$ac_cv_prog_WINDMC
9890 if test -n "$WINDMC"; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9892 $as_echo "$WINDMC" >&6; }
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9895 $as_echo "no
" >&6; }
9900 test -n "$ac_cv_prog_WINDMC" && break
9903 if test -z "$ac_cv_prog_WINDMC" ; then
9905 if test $build = $host ; then
9908 WINDMC="${ncn_tool_prefix}$2"
9914 if test -n "$OBJCOPY"; then
9915 ac_cv_prog_OBJCOPY=$OBJCOPY
9916 elif test -n "$ac_cv_prog_OBJCOPY"; then
9917 OBJCOPY=$ac_cv_prog_OBJCOPY
9920 if test -n "$ac_cv_prog_OBJCOPY"; then
9921 for ncn_progname in objcopy; do
9922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9923 set dummy ${ncn_progname}; ac_word=$2
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9925 $as_echo_n "checking
for $ac_word...
" >&6; }
9926 if ${ac_cv_prog_OBJCOPY+:} false; then :
9927 $as_echo_n "(cached
) " >&6
9929 if test -n "$OBJCOPY"; then
9930 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9936 test -z "$as_dir" && as_dir=.
9937 for ac_exec_ext in '' $ac_executable_extensions; do
9938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9939 ac_cv_prog_OBJCOPY="${ncn_progname}"
9940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9949 OBJCOPY=$ac_cv_prog_OBJCOPY
9950 if test -n "$OBJCOPY"; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9952 $as_echo "$OBJCOPY" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9955 $as_echo "no
" >&6; }
9962 for ncn_progname in objcopy; do
9963 if test -n "$ncn_tool_prefix"; then
9964 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9965 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9967 $as_echo_n "checking
for $ac_word...
" >&6; }
9968 if ${ac_cv_prog_OBJCOPY+:} false; then :
9969 $as_echo_n "(cached
) " >&6
9971 if test -n "$OBJCOPY"; then
9972 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9978 test -z "$as_dir" && as_dir=.
9979 for ac_exec_ext in '' $ac_executable_extensions; do
9980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9981 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9991 OBJCOPY=$ac_cv_prog_OBJCOPY
9992 if test -n "$OBJCOPY"; then
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9994 $as_echo "$OBJCOPY" >&6; }
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9997 $as_echo "no
" >&6; }
10002 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
10003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10004 set dummy ${ncn_progname}; ac_word=$2
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10006 $as_echo_n "checking
for $ac_word...
" >&6; }
10007 if ${ac_cv_prog_OBJCOPY+:} false; then :
10008 $as_echo_n "(cached
) " >&6
10010 if test -n "$OBJCOPY"; then
10011 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10014 for as_dir in $PATH
10017 test -z "$as_dir" && as_dir=.
10018 for ac_exec_ext in '' $ac_executable_extensions; do
10019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10020 ac_cv_prog_OBJCOPY="${ncn_progname}"
10021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10030 OBJCOPY=$ac_cv_prog_OBJCOPY
10031 if test -n "$OBJCOPY"; then
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10033 $as_echo "$OBJCOPY" >&6; }
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10036 $as_echo "no
" >&6; }
10041 test -n "$ac_cv_prog_OBJCOPY" && break
10044 if test -z "$ac_cv_prog_OBJCOPY" ; then
10046 if test $build = $host ; then
10049 OBJCOPY="${ncn_tool_prefix}$2"
10055 if test -n "$OBJDUMP"; then
10056 ac_cv_prog_OBJDUMP=$OBJDUMP
10057 elif test -n "$ac_cv_prog_OBJDUMP"; then
10058 OBJDUMP=$ac_cv_prog_OBJDUMP
10061 if test -n "$ac_cv_prog_OBJDUMP"; then
10062 for ncn_progname in objdump; do
10063 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10064 set dummy ${ncn_progname}; ac_word=$2
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10066 $as_echo_n "checking
for $ac_word...
" >&6; }
10067 if ${ac_cv_prog_OBJDUMP+:} false; then :
10068 $as_echo_n "(cached
) " >&6
10070 if test -n "$OBJDUMP"; then
10071 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10074 for as_dir in $PATH
10077 test -z "$as_dir" && as_dir=.
10078 for ac_exec_ext in '' $ac_executable_extensions; do
10079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10080 ac_cv_prog_OBJDUMP="${ncn_progname}"
10081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10090 OBJDUMP=$ac_cv_prog_OBJDUMP
10091 if test -n "$OBJDUMP"; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10093 $as_echo "$OBJDUMP" >&6; }
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10096 $as_echo "no
" >&6; }
10103 for ncn_progname in objdump; do
10104 if test -n "$ncn_tool_prefix"; then
10105 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10106 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10108 $as_echo_n "checking
for $ac_word...
" >&6; }
10109 if ${ac_cv_prog_OBJDUMP+:} false; then :
10110 $as_echo_n "(cached
) " >&6
10112 if test -n "$OBJDUMP"; then
10113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10116 for as_dir in $PATH
10119 test -z "$as_dir" && as_dir=.
10120 for ac_exec_ext in '' $ac_executable_extensions; do
10121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10122 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
10123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10132 OBJDUMP=$ac_cv_prog_OBJDUMP
10133 if test -n "$OBJDUMP"; then
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10135 $as_echo "$OBJDUMP" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10138 $as_echo "no
" >&6; }
10143 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
10144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10145 set dummy ${ncn_progname}; ac_word=$2
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10147 $as_echo_n "checking
for $ac_word...
" >&6; }
10148 if ${ac_cv_prog_OBJDUMP+:} false; then :
10149 $as_echo_n "(cached
) " >&6
10151 if test -n "$OBJDUMP"; then
10152 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10155 for as_dir in $PATH
10158 test -z "$as_dir" && as_dir=.
10159 for ac_exec_ext in '' $ac_executable_extensions; do
10160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10161 ac_cv_prog_OBJDUMP="${ncn_progname}"
10162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10171 OBJDUMP=$ac_cv_prog_OBJDUMP
10172 if test -n "$OBJDUMP"; then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10174 $as_echo "$OBJDUMP" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10177 $as_echo "no
" >&6; }
10182 test -n "$ac_cv_prog_OBJDUMP" && break
10185 if test -z "$ac_cv_prog_OBJDUMP" ; then
10187 if test $build = $host ; then
10190 OBJDUMP="${ncn_tool_prefix}$2"
10196 if test -n "$READELF"; then
10197 ac_cv_prog_READELF=$READELF
10198 elif test -n "$ac_cv_prog_READELF"; then
10199 READELF=$ac_cv_prog_READELF
10202 if test -n "$ac_cv_prog_READELF"; then
10203 for ncn_progname in readelf; do
10204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10205 set dummy ${ncn_progname}; ac_word=$2
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10207 $as_echo_n "checking
for $ac_word...
" >&6; }
10208 if ${ac_cv_prog_READELF+:} false; then :
10209 $as_echo_n "(cached
) " >&6
10211 if test -n "$READELF"; then
10212 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10215 for as_dir in $PATH
10218 test -z "$as_dir" && as_dir=.
10219 for ac_exec_ext in '' $ac_executable_extensions; do
10220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10221 ac_cv_prog_READELF="${ncn_progname}"
10222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10231 READELF=$ac_cv_prog_READELF
10232 if test -n "$READELF"; then
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10234 $as_echo "$READELF" >&6; }
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10237 $as_echo "no
" >&6; }
10244 for ncn_progname in readelf; do
10245 if test -n "$ncn_tool_prefix"; then
10246 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10247 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10249 $as_echo_n "checking
for $ac_word...
" >&6; }
10250 if ${ac_cv_prog_READELF+:} false; then :
10251 $as_echo_n "(cached
) " >&6
10253 if test -n "$READELF"; then
10254 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10257 for as_dir in $PATH
10260 test -z "$as_dir" && as_dir=.
10261 for ac_exec_ext in '' $ac_executable_extensions; do
10262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10263 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10273 READELF=$ac_cv_prog_READELF
10274 if test -n "$READELF"; then
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10276 $as_echo "$READELF" >&6; }
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10279 $as_echo "no
" >&6; }
10284 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
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_READELF+:} false; then :
10290 $as_echo_n "(cached
) " >&6
10292 if test -n "$READELF"; then
10293 ac_cv_prog_READELF="$READELF" # 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_READELF="${ncn_progname}"
10303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10312 READELF=$ac_cv_prog_READELF
10313 if test -n "$READELF"; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10315 $as_echo "$READELF" >&6; }
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10318 $as_echo "no
" >&6; }
10323 test -n "$ac_cv_prog_READELF" && break
10326 if test -z "$ac_cv_prog_READELF" ; then
10328 if test $build = $host ; then
10331 READELF="${ncn_tool_prefix}$2"
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
10342 $as_echo_n "checking
for -plugin option...
" >&6; }
10344 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
10346 for plugin in $plugin_names; do
10347 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
10348 if test x$plugin_so = x$plugin; then
10349 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
10351 if test x$plugin_so != x$plugin; then
10352 plugin_option="--plugin $plugin_so"
10356 if test -n "$ac_tool_prefix"; then
10357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10358 set dummy ${ac_tool_prefix}ar; ac_word=$2
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10360 $as_echo_n "checking
for $ac_word...
" >&6; }
10361 if ${ac_cv_prog_AR+:} false; then :
10362 $as_echo_n "(cached
) " >&6
10364 if test -n "$AR"; then
10365 ac_cv_prog_AR="$AR" # Let the user override the test.
10367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10368 for as_dir in $PATH
10371 test -z "$as_dir" && as_dir=.
10372 for ac_exec_ext in '' $ac_executable_extensions; do
10373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10374 ac_cv_prog_AR="${ac_tool_prefix}ar"
10375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10385 if test -n "$AR"; then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
10387 $as_echo "$AR" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10390 $as_echo "no
" >&6; }
10395 if test -z "$ac_cv_prog_AR"; then
10397 # Extract the first word of "ar", so it can be a program name with args.
10398 set dummy ar; ac_word=$2
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10400 $as_echo_n "checking
for $ac_word...
" >&6; }
10401 if ${ac_cv_prog_ac_ct_AR+:} false; then :
10402 $as_echo_n "(cached
) " >&6
10404 if test -n "$ac_ct_AR"; then
10405 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10408 for as_dir in $PATH
10411 test -z "$as_dir" && as_dir=.
10412 for ac_exec_ext in '' $ac_executable_extensions; do
10413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10414 ac_cv_prog_ac_ct_AR="ar"
10415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10424 ac_ct_AR=$ac_cv_prog_ac_ct_AR
10425 if test -n "$ac_ct_AR"; then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
10427 $as_echo "$ac_ct_AR" >&6; }
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10430 $as_echo "no
" >&6; }
10433 if test "x
$ac_ct_AR" = x; then
10436 case $cross_compiling:$ac_tool_warned in
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10439 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10440 ac_tool_warned=yes ;;
10445 AR="$ac_cv_prog_AR"
10448 if test "${AR}" = "" ; then
10449 as_fn_error $? "Required archive tool
'ar' not found on PATH.
" "$LINENO" 5
10452 ${AR} $plugin_option rc conftest.a conftest.c
10453 if test "$?
" != 0; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
10455 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
10459 if test -n "$plugin_option"; then
10460 PLUGIN_OPTION="$plugin_option"
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
10462 $as_echo "$plugin_option" >&6; }
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10465 $as_echo "no
" >&6; }
10469 RANLIB_PLUGIN_OPTION=
10470 if test -n "$PLUGIN_OPTION"; then
10471 if $AR --help 2>&1 | grep -q "\
--plugin"; then
10472 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
10474 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
10475 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
10478 if test "$enable_pgo_build" != "no
"; then
10479 as_fn_error $? "AR with
--plugin and rc is required
for LTO build
" "$LINENO" 5
10487 # Check whether --with-build-time-tools was given.
10488 if test "${with_build_time_tools+set}" = set; then :
10489 withval=$with_build_time_tools; case x"$withval" in
10492 with_build_time_tools=
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10494 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10498 with_build_time_tools=
10504 if test -n "$CC_FOR_TARGET"; then
10505 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10506 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10507 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10510 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10511 for ncn_progname in cc gcc; do
10512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10513 set dummy ${ncn_progname}; ac_word=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10515 $as_echo_n "checking
for $ac_word...
" >&6; }
10516 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10517 $as_echo_n "(cached
) " >&6
10519 if test -n "$CC_FOR_TARGET"; then
10520 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10523 for as_dir in $PATH
10526 test -z "$as_dir" && as_dir=.
10527 for ac_exec_ext in '' $ac_executable_extensions; do
10528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10529 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10539 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10540 if test -n "$CC_FOR_TARGET"; then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10542 $as_echo "$CC_FOR_TARGET" >&6; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10545 $as_echo "no
" >&6; }
10552 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10553 for ncn_progname in cc gcc; do
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10555 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10556 if test -x $with_build_time_tools/${ncn_progname}; then
10557 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10559 $as_echo "yes" >&6; }
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10563 $as_echo "no
" >&6; }
10568 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10569 for ncn_progname in cc gcc; do
10570 if test -n "$ncn_target_tool_prefix"; then
10571 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10572 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10574 $as_echo_n "checking
for $ac_word...
" >&6; }
10575 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10576 $as_echo_n "(cached
) " >&6
10578 if test -n "$CC_FOR_TARGET"; then
10579 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10598 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10599 if test -n "$CC_FOR_TARGET"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10601 $as_echo "$CC_FOR_TARGET" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10604 $as_echo "no
" >&6; }
10609 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10611 set dummy ${ncn_progname}; ac_word=$2
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10613 $as_echo_n "checking
for $ac_word...
" >&6; }
10614 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10615 $as_echo_n "(cached
) " >&6
10617 if test -n "$CC_FOR_TARGET"; then
10618 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10621 for as_dir in $PATH
10624 test -z "$as_dir" && as_dir=.
10625 for ac_exec_ext in '' $ac_executable_extensions; do
10626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10627 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10637 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10638 if test -n "$CC_FOR_TARGET"; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10640 $as_echo "$CC_FOR_TARGET" >&6; }
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10643 $as_echo "no
" >&6; }
10648 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10652 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10654 if test $build = $target ; then
10657 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10660 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10665 if test -n "$CXX_FOR_TARGET"; then
10666 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10667 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10668 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10671 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10672 for ncn_progname in c++ g++ cxx gxx; do
10673 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10674 set dummy ${ncn_progname}; ac_word=$2
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10676 $as_echo_n "checking
for $ac_word...
" >&6; }
10677 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10678 $as_echo_n "(cached
) " >&6
10680 if test -n "$CXX_FOR_TARGET"; then
10681 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10684 for as_dir in $PATH
10687 test -z "$as_dir" && as_dir=.
10688 for ac_exec_ext in '' $ac_executable_extensions; do
10689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10690 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10700 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10701 if test -n "$CXX_FOR_TARGET"; then
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10703 $as_echo "$CXX_FOR_TARGET" >&6; }
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10706 $as_echo "no
" >&6; }
10713 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10714 for ncn_progname in c++ g++ cxx gxx; do
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10716 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10717 if test -x $with_build_time_tools/${ncn_progname}; then
10718 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10720 $as_echo "yes" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10724 $as_echo "no
" >&6; }
10729 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10730 for ncn_progname in c++ g++ cxx gxx; do
10731 if test -n "$ncn_target_tool_prefix"; then
10732 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10733 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10735 $as_echo_n "checking
for $ac_word...
" >&6; }
10736 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10737 $as_echo_n "(cached
) " >&6
10739 if test -n "$CXX_FOR_TARGET"; then
10740 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10743 for as_dir in $PATH
10746 test -z "$as_dir" && as_dir=.
10747 for ac_exec_ext in '' $ac_executable_extensions; do
10748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10749 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10759 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10760 if test -n "$CXX_FOR_TARGET"; then
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10762 $as_echo "$CXX_FOR_TARGET" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10765 $as_echo "no
" >&6; }
10770 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10772 set dummy ${ncn_progname}; ac_word=$2
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10774 $as_echo_n "checking
for $ac_word...
" >&6; }
10775 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10776 $as_echo_n "(cached
) " >&6
10778 if test -n "$CXX_FOR_TARGET"; then
10779 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10782 for as_dir in $PATH
10785 test -z "$as_dir" && as_dir=.
10786 for ac_exec_ext in '' $ac_executable_extensions; do
10787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10788 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10798 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10799 if test -n "$CXX_FOR_TARGET"; then
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10801 $as_echo "$CXX_FOR_TARGET" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10804 $as_echo "no
" >&6; }
10809 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10813 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10814 set dummy c++ g++ cxx gxx
10815 if test $build = $target ; then
10816 CXX_FOR_TARGET="$2"
10818 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10821 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10826 if test -n "$GCC_FOR_TARGET"; then
10827 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10828 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10829 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10832 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10833 for ncn_progname in gcc; do
10834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10835 set dummy ${ncn_progname}; ac_word=$2
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10837 $as_echo_n "checking
for $ac_word...
" >&6; }
10838 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10839 $as_echo_n "(cached
) " >&6
10841 if test -n "$GCC_FOR_TARGET"; then
10842 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 for as_dir in $PATH
10848 test -z "$as_dir" && as_dir=.
10849 for ac_exec_ext in '' $ac_executable_extensions; do
10850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10861 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10862 if test -n "$GCC_FOR_TARGET"; then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10864 $as_echo "$GCC_FOR_TARGET" >&6; }
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10867 $as_echo "no
" >&6; }
10874 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10875 for ncn_progname in gcc; do
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10877 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10878 if test -x $with_build_time_tools/${ncn_progname}; then
10879 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10881 $as_echo "yes" >&6; }
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10885 $as_echo "no
" >&6; }
10890 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10891 for ncn_progname in gcc; do
10892 if test -n "$ncn_target_tool_prefix"; then
10893 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10894 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10896 $as_echo_n "checking
for $ac_word...
" >&6; }
10897 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10898 $as_echo_n "(cached
) " >&6
10900 if test -n "$GCC_FOR_TARGET"; then
10901 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10904 for as_dir in $PATH
10907 test -z "$as_dir" && as_dir=.
10908 for ac_exec_ext in '' $ac_executable_extensions; do
10909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10910 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10920 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10921 if test -n "$GCC_FOR_TARGET"; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10923 $as_echo "$GCC_FOR_TARGET" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10926 $as_echo "no
" >&6; }
10931 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10933 set dummy ${ncn_progname}; ac_word=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10935 $as_echo_n "checking
for $ac_word...
" >&6; }
10936 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10937 $as_echo_n "(cached
) " >&6
10939 if test -n "$GCC_FOR_TARGET"; then
10940 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10943 for as_dir in $PATH
10946 test -z "$as_dir" && as_dir=.
10947 for ac_exec_ext in '' $ac_executable_extensions; do
10948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10949 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10959 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10960 if test -n "$GCC_FOR_TARGET"; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10962 $as_echo "$GCC_FOR_TARGET" >&6; }
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10965 $as_echo "no
" >&6; }
10970 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10974 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10975 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10977 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10982 if test -n "$GFORTRAN_FOR_TARGET"; then
10983 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10984 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10985 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10988 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10989 for ncn_progname in gfortran; do
10990 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10991 set dummy ${ncn_progname}; ac_word=$2
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10993 $as_echo_n "checking
for $ac_word...
" >&6; }
10994 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10995 $as_echo_n "(cached
) " >&6
10997 if test -n "$GFORTRAN_FOR_TARGET"; then
10998 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11001 for as_dir in $PATH
11004 test -z "$as_dir" && as_dir=.
11005 for ac_exec_ext in '' $ac_executable_extensions; do
11006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11007 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11017 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11018 if test -n "$GFORTRAN_FOR_TARGET"; then
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11020 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11023 $as_echo "no
" >&6; }
11030 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
11031 for ncn_progname in gfortran; do
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11033 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11034 if test -x $with_build_time_tools/${ncn_progname}; then
11035 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11037 $as_echo "yes" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11041 $as_echo "no
" >&6; }
11046 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
11047 for ncn_progname in gfortran; do
11048 if test -n "$ncn_target_tool_prefix"; then
11049 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11050 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11052 $as_echo_n "checking
for $ac_word...
" >&6; }
11053 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11054 $as_echo_n "(cached
) " >&6
11056 if test -n "$GFORTRAN_FOR_TARGET"; then
11057 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11060 for as_dir in $PATH
11063 test -z "$as_dir" && as_dir=.
11064 for ac_exec_ext in '' $ac_executable_extensions; do
11065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11066 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11076 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11077 if test -n "$GFORTRAN_FOR_TARGET"; then
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11079 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11082 $as_echo "no
" >&6; }
11087 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
11088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11089 set dummy ${ncn_progname}; ac_word=$2
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11091 $as_echo_n "checking
for $ac_word...
" >&6; }
11092 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
11093 $as_echo_n "(cached
) " >&6
11095 if test -n "$GFORTRAN_FOR_TARGET"; then
11096 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $PATH
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11115 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11116 if test -n "$GFORTRAN_FOR_TARGET"; then
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11118 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11121 $as_echo "no
" >&6; }
11126 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
11130 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
11132 if test $build = $target ; then
11133 GFORTRAN_FOR_TARGET="$2"
11135 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
11138 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
11143 if test -n "$GOC_FOR_TARGET"; then
11144 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
11145 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11146 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11149 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
11150 for ncn_progname in gccgo; do
11151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11152 set dummy ${ncn_progname}; ac_word=$2
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11154 $as_echo_n "checking
for $ac_word...
" >&6; }
11155 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11156 $as_echo_n "(cached
) " >&6
11158 if test -n "$GOC_FOR_TARGET"; then
11159 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162 for as_dir in $PATH
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11168 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11178 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11179 if test -n "$GOC_FOR_TARGET"; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11181 $as_echo "$GOC_FOR_TARGET" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11184 $as_echo "no
" >&6; }
11191 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11192 for ncn_progname in gccgo; do
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11194 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11195 if test -x $with_build_time_tools/${ncn_progname}; then
11196 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11198 $as_echo "yes" >&6; }
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11202 $as_echo "no
" >&6; }
11207 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
11208 for ncn_progname in gccgo; do
11209 if test -n "$ncn_target_tool_prefix"; then
11210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11213 $as_echo_n "checking
for $ac_word...
" >&6; }
11214 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11215 $as_echo_n "(cached
) " >&6
11217 if test -n "$GOC_FOR_TARGET"; then
11218 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11221 for as_dir in $PATH
11224 test -z "$as_dir" && as_dir=.
11225 for ac_exec_ext in '' $ac_executable_extensions; do
11226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11227 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11237 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11238 if test -n "$GOC_FOR_TARGET"; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11240 $as_echo "$GOC_FOR_TARGET" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11243 $as_echo "no
" >&6; }
11248 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11249 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11250 set dummy ${ncn_progname}; ac_word=$2
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11252 $as_echo_n "checking
for $ac_word...
" >&6; }
11253 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11254 $as_echo_n "(cached
) " >&6
11256 if test -n "$GOC_FOR_TARGET"; then
11257 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260 for as_dir in $PATH
11263 test -z "$as_dir" && as_dir=.
11264 for ac_exec_ext in '' $ac_executable_extensions; do
11265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11266 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11276 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11277 if test -n "$GOC_FOR_TARGET"; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11279 $as_echo "$GOC_FOR_TARGET" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11282 $as_echo "no
" >&6; }
11287 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11291 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11293 if test $build = $target ; then
11294 GOC_FOR_TARGET="$2"
11296 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11299 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11304 cat > conftest.c << \EOF
11309 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11310 have_gcc_for_target=yes
11312 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11313 have_gcc_for_target=no
11320 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11321 if test -n "$with_build_time_tools"; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11323 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11324 if test -x $with_build_time_tools/ar; then
11325 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11326 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11328 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11331 $as_echo "no
" >&6; }
11333 elif test $build != $host && test $have_gcc_for_target = yes; then
11334 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11335 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11336 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11339 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11340 # Extract the first word of "ar", so it can be a program name with args.
11341 set dummy ar; ac_word=$2
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11343 $as_echo_n "checking
for $ac_word...
" >&6; }
11344 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11345 $as_echo_n "(cached
) " >&6
11347 case $AR_FOR_TARGET in
11349 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $gcc_cv_tool_dirs
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11370 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11371 if test -n "$AR_FOR_TARGET"; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11373 $as_echo "$AR_FOR_TARGET" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11376 $as_echo "no
" >&6; }
11381 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11384 if test -n "$AR_FOR_TARGET"; then
11385 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11386 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11387 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11390 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11391 for ncn_progname in ar; do
11392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11393 set dummy ${ncn_progname}; ac_word=$2
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11395 $as_echo_n "checking
for $ac_word...
" >&6; }
11396 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11397 $as_echo_n "(cached
) " >&6
11399 if test -n "$AR_FOR_TARGET"; then
11400 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403 for as_dir in $PATH
11406 test -z "$as_dir" && as_dir=.
11407 for ac_exec_ext in '' $ac_executable_extensions; do
11408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11409 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11419 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11420 if test -n "$AR_FOR_TARGET"; then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11422 $as_echo "$AR_FOR_TARGET" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11425 $as_echo "no
" >&6; }
11432 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11433 for ncn_progname in ar; do
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11435 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11436 if test -x $with_build_time_tools/${ncn_progname}; then
11437 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11439 $as_echo "yes" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11443 $as_echo "no
" >&6; }
11448 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11449 for ncn_progname in ar; do
11450 if test -n "$ncn_target_tool_prefix"; then
11451 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11452 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11454 $as_echo_n "checking
for $ac_word...
" >&6; }
11455 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11456 $as_echo_n "(cached
) " >&6
11458 if test -n "$AR_FOR_TARGET"; then
11459 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11462 for as_dir in $PATH
11465 test -z "$as_dir" && as_dir=.
11466 for ac_exec_ext in '' $ac_executable_extensions; do
11467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11468 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11478 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11479 if test -n "$AR_FOR_TARGET"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11481 $as_echo "$AR_FOR_TARGET" >&6; }
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11484 $as_echo "no
" >&6; }
11489 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11491 set dummy ${ncn_progname}; ac_word=$2
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11493 $as_echo_n "checking
for $ac_word...
" >&6; }
11494 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11495 $as_echo_n "(cached
) " >&6
11497 if test -n "$AR_FOR_TARGET"; then
11498 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11507 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11517 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11518 if test -n "$AR_FOR_TARGET"; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11520 $as_echo "$AR_FOR_TARGET" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11523 $as_echo "no
" >&6; }
11528 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11532 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11534 if test $build = $target ; then
11537 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11540 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11544 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11550 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11551 if test -n "$with_build_time_tools"; then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11553 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11554 if test -x $with_build_time_tools/as; then
11555 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11556 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11558 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11561 $as_echo "no
" >&6; }
11563 elif test $build != $host && test $have_gcc_for_target = yes; then
11564 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11565 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11566 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11569 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11570 # Extract the first word of "as
", so it can be a program name with args.
11571 set dummy as; ac_word=$2
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11573 $as_echo_n "checking
for $ac_word...
" >&6; }
11574 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11575 $as_echo_n "(cached
) " >&6
11577 case $AS_FOR_TARGET in
11579 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11583 for as_dir in $gcc_cv_tool_dirs
11586 test -z "$as_dir" && as_dir=.
11587 for ac_exec_ext in '' $ac_executable_extensions; do
11588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11589 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11600 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11601 if test -n "$AS_FOR_TARGET"; then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11603 $as_echo "$AS_FOR_TARGET" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11606 $as_echo "no
" >&6; }
11611 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11614 if test -n "$AS_FOR_TARGET"; then
11615 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11616 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11617 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11620 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11621 for ncn_progname in as; do
11622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11623 set dummy ${ncn_progname}; ac_word=$2
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11625 $as_echo_n "checking
for $ac_word...
" >&6; }
11626 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11627 $as_echo_n "(cached
) " >&6
11629 if test -n "$AS_FOR_TARGET"; then
11630 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11633 for as_dir in $PATH
11636 test -z "$as_dir" && as_dir=.
11637 for ac_exec_ext in '' $ac_executable_extensions; do
11638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11639 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11649 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11650 if test -n "$AS_FOR_TARGET"; then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11652 $as_echo "$AS_FOR_TARGET" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11655 $as_echo "no
" >&6; }
11662 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11663 for ncn_progname in as; do
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11665 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11666 if test -x $with_build_time_tools/${ncn_progname}; then
11667 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11669 $as_echo "yes" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11673 $as_echo "no
" >&6; }
11678 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11679 for ncn_progname in as; do
11680 if test -n "$ncn_target_tool_prefix"; then
11681 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11682 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11684 $as_echo_n "checking
for $ac_word...
" >&6; }
11685 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11686 $as_echo_n "(cached
) " >&6
11688 if test -n "$AS_FOR_TARGET"; then
11689 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11692 for as_dir in $PATH
11695 test -z "$as_dir" && as_dir=.
11696 for ac_exec_ext in '' $ac_executable_extensions; do
11697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11698 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11708 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11709 if test -n "$AS_FOR_TARGET"; then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11711 $as_echo "$AS_FOR_TARGET" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11714 $as_echo "no
" >&6; }
11719 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11721 set dummy ${ncn_progname}; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11723 $as_echo_n "checking
for $ac_word...
" >&6; }
11724 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11725 $as_echo_n "(cached
) " >&6
11727 if test -n "$AS_FOR_TARGET"; then
11728 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11731 for as_dir in $PATH
11734 test -z "$as_dir" && as_dir=.
11735 for ac_exec_ext in '' $ac_executable_extensions; do
11736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11737 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11747 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11748 if test -n "$AS_FOR_TARGET"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11750 $as_echo "$AS_FOR_TARGET" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11753 $as_echo "no
" >&6; }
11758 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11762 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11764 if test $build = $target ; then
11767 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11770 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11774 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11780 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11781 if test -n "$with_build_time_tools"; then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11783 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11784 if test -x $with_build_time_tools/dlltool; then
11785 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11786 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11788 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11791 $as_echo "no
" >&6; }
11793 elif test $build != $host && test $have_gcc_for_target = yes; then
11794 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11795 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11796 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11799 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11800 # Extract the first word of "dlltool
", so it can be a program name with args.
11801 set dummy dlltool; ac_word=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11803 $as_echo_n "checking
for $ac_word...
" >&6; }
11804 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11805 $as_echo_n "(cached
) " >&6
11807 case $DLLTOOL_FOR_TARGET in
11809 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $gcc_cv_tool_dirs
11816 test -z "$as_dir" && as_dir=.
11817 for ac_exec_ext in '' $ac_executable_extensions; do
11818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11819 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11830 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11831 if test -n "$DLLTOOL_FOR_TARGET"; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11833 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11836 $as_echo "no
" >&6; }
11841 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11844 if test -n "$DLLTOOL_FOR_TARGET"; then
11845 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11846 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11847 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11850 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11851 for ncn_progname in dlltool; do
11852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11853 set dummy ${ncn_progname}; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11855 $as_echo_n "checking
for $ac_word...
" >&6; }
11856 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11857 $as_echo_n "(cached
) " >&6
11859 if test -n "$DLLTOOL_FOR_TARGET"; then
11860 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11863 for as_dir in $PATH
11866 test -z "$as_dir" && as_dir=.
11867 for ac_exec_ext in '' $ac_executable_extensions; do
11868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11869 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11879 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11880 if test -n "$DLLTOOL_FOR_TARGET"; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11882 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11885 $as_echo "no
" >&6; }
11892 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11893 for ncn_progname in dlltool; do
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11895 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11896 if test -x $with_build_time_tools/${ncn_progname}; then
11897 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11899 $as_echo "yes" >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11903 $as_echo "no
" >&6; }
11908 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11909 for ncn_progname in dlltool; do
11910 if test -n "$ncn_target_tool_prefix"; then
11911 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11912 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11914 $as_echo_n "checking
for $ac_word...
" >&6; }
11915 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11916 $as_echo_n "(cached
) " >&6
11918 if test -n "$DLLTOOL_FOR_TARGET"; then
11919 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11922 for as_dir in $PATH
11925 test -z "$as_dir" && as_dir=.
11926 for ac_exec_ext in '' $ac_executable_extensions; do
11927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11928 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11938 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11939 if test -n "$DLLTOOL_FOR_TARGET"; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11941 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11944 $as_echo "no
" >&6; }
11949 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11951 set dummy ${ncn_progname}; ac_word=$2
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11953 $as_echo_n "checking
for $ac_word...
" >&6; }
11954 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11955 $as_echo_n "(cached
) " >&6
11957 if test -n "$DLLTOOL_FOR_TARGET"; then
11958 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11961 for as_dir in $PATH
11964 test -z "$as_dir" && as_dir=.
11965 for ac_exec_ext in '' $ac_executable_extensions; do
11966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11967 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11977 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11978 if test -n "$DLLTOOL_FOR_TARGET"; then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11980 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11983 $as_echo "no
" >&6; }
11988 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11992 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11994 if test $build = $target ; then
11995 DLLTOOL_FOR_TARGET="$2"
11997 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
12000 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
12004 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
12010 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12011 if test -n "$with_build_time_tools"; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
12013 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
12014 if test -x $with_build_time_tools/ld; then
12015 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
12016 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
12018 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12021 $as_echo "no
" >&6; }
12023 elif test $build != $host && test $have_gcc_for_target = yes; then
12024 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
12025 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
12026 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
12029 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12030 # Extract the first word of "ld
", so it can be a program name with args.
12031 set dummy ld; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12033 $as_echo_n "checking
for $ac_word...
" >&6; }
12034 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
12035 $as_echo_n "(cached
) " >&6
12037 case $LD_FOR_TARGET in
12039 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $gcc_cv_tool_dirs
12046 test -z "$as_dir" && as_dir=.
12047 for ac_exec_ext in '' $ac_executable_extensions; do
12048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12049 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12060 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12061 if test -n "$LD_FOR_TARGET"; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12063 $as_echo "$LD_FOR_TARGET" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12066 $as_echo "no
" >&6; }
12071 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12074 if test -n "$LD_FOR_TARGET"; then
12075 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
12076 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12077 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12080 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12081 for ncn_progname in ld; do
12082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12083 set dummy ${ncn_progname}; ac_word=$2
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12085 $as_echo_n "checking
for $ac_word...
" >&6; }
12086 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12087 $as_echo_n "(cached
) " >&6
12089 if test -n "$LD_FOR_TARGET"; then
12090 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12093 for as_dir in $PATH
12096 test -z "$as_dir" && as_dir=.
12097 for ac_exec_ext in '' $ac_executable_extensions; do
12098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12099 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12109 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12110 if test -n "$LD_FOR_TARGET"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12112 $as_echo "$LD_FOR_TARGET" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12115 $as_echo "no
" >&6; }
12122 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
12123 for ncn_progname in ld; do
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12125 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12126 if test -x $with_build_time_tools/${ncn_progname}; then
12127 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12129 $as_echo "yes" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12133 $as_echo "no
" >&6; }
12138 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
12139 for ncn_progname in ld; do
12140 if test -n "$ncn_target_tool_prefix"; then
12141 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12142 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12144 $as_echo_n "checking
for $ac_word...
" >&6; }
12145 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12146 $as_echo_n "(cached
) " >&6
12148 if test -n "$LD_FOR_TARGET"; then
12149 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12152 for as_dir in $PATH
12155 test -z "$as_dir" && as_dir=.
12156 for ac_exec_ext in '' $ac_executable_extensions; do
12157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12158 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12168 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12169 if test -n "$LD_FOR_TARGET"; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12171 $as_echo "$LD_FOR_TARGET" >&6; }
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12174 $as_echo "no
" >&6; }
12179 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12181 set dummy ${ncn_progname}; ac_word=$2
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12183 $as_echo_n "checking
for $ac_word...
" >&6; }
12184 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12185 $as_echo_n "(cached
) " >&6
12187 if test -n "$LD_FOR_TARGET"; then
12188 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12207 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12208 if test -n "$LD_FOR_TARGET"; then
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12210 $as_echo "$LD_FOR_TARGET" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12213 $as_echo "no
" >&6; }
12218 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12222 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12224 if test $build = $target ; then
12227 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12230 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12234 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12240 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12241 if test -n "$with_build_time_tools"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12243 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12244 if test -x $with_build_time_tools/lipo; then
12245 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12246 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12248 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12251 $as_echo "no
" >&6; }
12253 elif test $build != $host && test $have_gcc_for_target = yes; then
12254 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12255 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12256 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12259 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12260 # Extract the first word of "lipo
", so it can be a program name with args.
12261 set dummy lipo; ac_word=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12263 $as_echo_n "checking
for $ac_word...
" >&6; }
12264 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12265 $as_echo_n "(cached
) " >&6
12267 case $LIPO_FOR_TARGET in
12269 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12273 for as_dir in $gcc_cv_tool_dirs
12276 test -z "$as_dir" && as_dir=.
12277 for ac_exec_ext in '' $ac_executable_extensions; do
12278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12279 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12290 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12291 if test -n "$LIPO_FOR_TARGET"; then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12293 $as_echo "$LIPO_FOR_TARGET" >&6; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12296 $as_echo "no
" >&6; }
12301 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12304 if test -n "$LIPO_FOR_TARGET"; then
12305 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12306 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12307 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12310 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12311 for ncn_progname in lipo; do
12312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12313 set dummy ${ncn_progname}; ac_word=$2
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12315 $as_echo_n "checking
for $ac_word...
" >&6; }
12316 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12317 $as_echo_n "(cached
) " >&6
12319 if test -n "$LIPO_FOR_TARGET"; then
12320 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12323 for as_dir in $PATH
12326 test -z "$as_dir" && as_dir=.
12327 for ac_exec_ext in '' $ac_executable_extensions; do
12328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12329 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12339 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12340 if test -n "$LIPO_FOR_TARGET"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12342 $as_echo "$LIPO_FOR_TARGET" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12345 $as_echo "no
" >&6; }
12352 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12353 for ncn_progname in lipo; do
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12355 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12356 if test -x $with_build_time_tools/${ncn_progname}; then
12357 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12359 $as_echo "yes" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12363 $as_echo "no
" >&6; }
12368 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12369 for ncn_progname in lipo; do
12370 if test -n "$ncn_target_tool_prefix"; then
12371 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12372 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12374 $as_echo_n "checking
for $ac_word...
" >&6; }
12375 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12376 $as_echo_n "(cached
) " >&6
12378 if test -n "$LIPO_FOR_TARGET"; then
12379 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12382 for as_dir in $PATH
12385 test -z "$as_dir" && as_dir=.
12386 for ac_exec_ext in '' $ac_executable_extensions; do
12387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12388 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12398 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12399 if test -n "$LIPO_FOR_TARGET"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12401 $as_echo "$LIPO_FOR_TARGET" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12404 $as_echo "no
" >&6; }
12409 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12411 set dummy ${ncn_progname}; ac_word=$2
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12413 $as_echo_n "checking
for $ac_word...
" >&6; }
12414 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12415 $as_echo_n "(cached
) " >&6
12417 if test -n "$LIPO_FOR_TARGET"; then
12418 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12421 for as_dir in $PATH
12424 test -z "$as_dir" && as_dir=.
12425 for ac_exec_ext in '' $ac_executable_extensions; do
12426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12427 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12437 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12438 if test -n "$LIPO_FOR_TARGET"; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12440 $as_echo "$LIPO_FOR_TARGET" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12443 $as_echo "no
" >&6; }
12448 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12452 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12454 if test $build = $target ; then
12455 LIPO_FOR_TARGET="$2"
12457 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12460 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12464 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12470 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12471 if test -n "$with_build_time_tools"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12473 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12474 if test -x $with_build_time_tools/nm; then
12475 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12476 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12478 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12481 $as_echo "no
" >&6; }
12483 elif test $build != $host && test $have_gcc_for_target = yes; then
12484 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12485 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12486 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12489 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12490 # Extract the first word of "nm
", so it can be a program name with args.
12491 set dummy nm; ac_word=$2
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12493 $as_echo_n "checking
for $ac_word...
" >&6; }
12494 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12495 $as_echo_n "(cached
) " >&6
12497 case $NM_FOR_TARGET in
12499 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12503 for as_dir in $gcc_cv_tool_dirs
12506 test -z "$as_dir" && as_dir=.
12507 for ac_exec_ext in '' $ac_executable_extensions; do
12508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12509 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12520 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12521 if test -n "$NM_FOR_TARGET"; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12523 $as_echo "$NM_FOR_TARGET" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12526 $as_echo "no
" >&6; }
12531 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12534 if test -n "$NM_FOR_TARGET"; then
12535 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12536 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12537 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12540 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12541 for ncn_progname in nm; do
12542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12543 set dummy ${ncn_progname}; ac_word=$2
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12545 $as_echo_n "checking
for $ac_word...
" >&6; }
12546 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12547 $as_echo_n "(cached
) " >&6
12549 if test -n "$NM_FOR_TARGET"; then
12550 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12553 for as_dir in $PATH
12556 test -z "$as_dir" && as_dir=.
12557 for ac_exec_ext in '' $ac_executable_extensions; do
12558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12559 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12569 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12570 if test -n "$NM_FOR_TARGET"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12572 $as_echo "$NM_FOR_TARGET" >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12575 $as_echo "no
" >&6; }
12582 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12583 for ncn_progname in nm; do
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12585 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12586 if test -x $with_build_time_tools/${ncn_progname}; then
12587 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12589 $as_echo "yes" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12593 $as_echo "no
" >&6; }
12598 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12599 for ncn_progname in nm; do
12600 if test -n "$ncn_target_tool_prefix"; then
12601 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12602 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12604 $as_echo_n "checking
for $ac_word...
" >&6; }
12605 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12606 $as_echo_n "(cached
) " >&6
12608 if test -n "$NM_FOR_TARGET"; then
12609 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12612 for as_dir in $PATH
12615 test -z "$as_dir" && as_dir=.
12616 for ac_exec_ext in '' $ac_executable_extensions; do
12617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12618 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12628 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12629 if test -n "$NM_FOR_TARGET"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12631 $as_echo "$NM_FOR_TARGET" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12634 $as_echo "no
" >&6; }
12639 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12641 set dummy ${ncn_progname}; ac_word=$2
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12643 $as_echo_n "checking
for $ac_word...
" >&6; }
12644 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12645 $as_echo_n "(cached
) " >&6
12647 if test -n "$NM_FOR_TARGET"; then
12648 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12651 for as_dir in $PATH
12654 test -z "$as_dir" && as_dir=.
12655 for ac_exec_ext in '' $ac_executable_extensions; do
12656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12657 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12667 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12668 if test -n "$NM_FOR_TARGET"; then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12670 $as_echo "$NM_FOR_TARGET" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12673 $as_echo "no
" >&6; }
12678 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12682 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12684 if test $build = $target ; then
12687 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12690 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12694 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12700 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12701 if test -n "$with_build_time_tools"; then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12703 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12704 if test -x $with_build_time_tools/objcopy; then
12705 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12706 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12708 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12711 $as_echo "no
" >&6; }
12713 elif test $build != $host && test $have_gcc_for_target = yes; then
12714 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12715 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12716 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12719 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12720 # Extract the first word of "objcopy
", so it can be a program name with args.
12721 set dummy objcopy; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12723 $as_echo_n "checking
for $ac_word...
" >&6; }
12724 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12725 $as_echo_n "(cached
) " >&6
12727 case $OBJCOPY_FOR_TARGET in
12729 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12733 for as_dir in $gcc_cv_tool_dirs
12736 test -z "$as_dir" && as_dir=.
12737 for ac_exec_ext in '' $ac_executable_extensions; do
12738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12739 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12750 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12751 if test -n "$OBJCOPY_FOR_TARGET"; then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12753 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12756 $as_echo "no
" >&6; }
12761 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12764 if test -n "$OBJCOPY_FOR_TARGET"; then
12765 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12766 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12767 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12770 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12771 for ncn_progname in objcopy; do
12772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12773 set dummy ${ncn_progname}; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12775 $as_echo_n "checking
for $ac_word...
" >&6; }
12776 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12777 $as_echo_n "(cached
) " >&6
12779 if test -n "$OBJCOPY_FOR_TARGET"; then
12780 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12789 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12799 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12800 if test -n "$OBJCOPY_FOR_TARGET"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12802 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12805 $as_echo "no
" >&6; }
12812 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12813 for ncn_progname in objcopy; do
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12815 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12816 if test -x $with_build_time_tools/${ncn_progname}; then
12817 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12819 $as_echo "yes" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12823 $as_echo "no
" >&6; }
12828 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12829 for ncn_progname in objcopy; do
12830 if test -n "$ncn_target_tool_prefix"; then
12831 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12832 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12834 $as_echo_n "checking
for $ac_word...
" >&6; }
12835 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12836 $as_echo_n "(cached
) " >&6
12838 if test -n "$OBJCOPY_FOR_TARGET"; then
12839 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12842 for as_dir in $PATH
12845 test -z "$as_dir" && as_dir=.
12846 for ac_exec_ext in '' $ac_executable_extensions; do
12847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12848 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12858 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12859 if test -n "$OBJCOPY_FOR_TARGET"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12861 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12864 $as_echo "no
" >&6; }
12869 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12871 set dummy ${ncn_progname}; ac_word=$2
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12873 $as_echo_n "checking
for $ac_word...
" >&6; }
12874 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12875 $as_echo_n "(cached
) " >&6
12877 if test -n "$OBJCOPY_FOR_TARGET"; then
12878 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12881 for as_dir in $PATH
12884 test -z "$as_dir" && as_dir=.
12885 for ac_exec_ext in '' $ac_executable_extensions; do
12886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12887 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12897 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12898 if test -n "$OBJCOPY_FOR_TARGET"; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12900 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12903 $as_echo "no
" >&6; }
12908 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12912 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12914 if test $build = $target ; then
12915 OBJCOPY_FOR_TARGET="$2"
12917 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12920 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12924 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12930 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12931 if test -n "$with_build_time_tools"; then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12933 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12934 if test -x $with_build_time_tools/objdump; then
12935 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12936 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12938 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12941 $as_echo "no
" >&6; }
12943 elif test $build != $host && test $have_gcc_for_target = yes; then
12944 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12945 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12946 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12949 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12950 # Extract the first word of "objdump
", so it can be a program name with args.
12951 set dummy objdump; ac_word=$2
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12953 $as_echo_n "checking
for $ac_word...
" >&6; }
12954 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12955 $as_echo_n "(cached
) " >&6
12957 case $OBJDUMP_FOR_TARGET in
12959 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $gcc_cv_tool_dirs
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12969 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12980 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12981 if test -n "$OBJDUMP_FOR_TARGET"; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12983 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12986 $as_echo "no
" >&6; }
12991 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12994 if test -n "$OBJDUMP_FOR_TARGET"; then
12995 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12996 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12997 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13000 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13001 for ncn_progname in objdump; do
13002 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13003 set dummy ${ncn_progname}; ac_word=$2
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13005 $as_echo_n "checking
for $ac_word...
" >&6; }
13006 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13007 $as_echo_n "(cached
) " >&6
13009 if test -n "$OBJDUMP_FOR_TARGET"; then
13010 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13019 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13029 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13030 if test -n "$OBJDUMP_FOR_TARGET"; then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13032 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13035 $as_echo "no
" >&6; }
13042 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13043 for ncn_progname in objdump; do
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13045 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13046 if test -x $with_build_time_tools/${ncn_progname}; then
13047 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13049 $as_echo "yes" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13053 $as_echo "no
" >&6; }
13058 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
13059 for ncn_progname in objdump; do
13060 if test -n "$ncn_target_tool_prefix"; then
13061 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13062 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13064 $as_echo_n "checking
for $ac_word...
" >&6; }
13065 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13066 $as_echo_n "(cached
) " >&6
13068 if test -n "$OBJDUMP_FOR_TARGET"; then
13069 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13072 for as_dir in $PATH
13075 test -z "$as_dir" && as_dir=.
13076 for ac_exec_ext in '' $ac_executable_extensions; do
13077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13078 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13088 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13089 if test -n "$OBJDUMP_FOR_TARGET"; then
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13091 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13094 $as_echo "no
" >&6; }
13099 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
13100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13101 set dummy ${ncn_progname}; ac_word=$2
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13103 $as_echo_n "checking
for $ac_word...
" >&6; }
13104 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13105 $as_echo_n "(cached
) " >&6
13107 if test -n "$OBJDUMP_FOR_TARGET"; then
13108 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13111 for as_dir in $PATH
13114 test -z "$as_dir" && as_dir=.
13115 for ac_exec_ext in '' $ac_executable_extensions; do
13116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13117 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13127 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13128 if test -n "$OBJDUMP_FOR_TARGET"; then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13130 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13133 $as_echo "no
" >&6; }
13138 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
13142 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
13144 if test $build = $target ; then
13145 OBJDUMP_FOR_TARGET="$2"
13147 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13150 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
13154 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13160 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13161 if test -n "$with_build_time_tools"; then
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13163 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13164 if test -x $with_build_time_tools/ranlib; then
13165 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13166 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13168 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13171 $as_echo "no
" >&6; }
13173 elif test $build != $host && test $have_gcc_for_target = yes; then
13174 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13175 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13176 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13179 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13180 # Extract the first word of "ranlib
", so it can be a program name with args.
13181 set dummy ranlib; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13183 $as_echo_n "checking
for $ac_word...
" >&6; }
13184 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13185 $as_echo_n "(cached
) " >&6
13187 case $RANLIB_FOR_TARGET in
13189 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $gcc_cv_tool_dirs
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13199 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13210 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13211 if test -n "$RANLIB_FOR_TARGET"; then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13213 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13216 $as_echo "no
" >&6; }
13221 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13224 if test -n "$RANLIB_FOR_TARGET"; then
13225 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13226 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13227 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13230 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13231 for ncn_progname in ranlib; do
13232 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13233 set dummy ${ncn_progname}; ac_word=$2
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13235 $as_echo_n "checking
for $ac_word...
" >&6; }
13236 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13237 $as_echo_n "(cached
) " >&6
13239 if test -n "$RANLIB_FOR_TARGET"; then
13240 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13243 for as_dir in $PATH
13246 test -z "$as_dir" && as_dir=.
13247 for ac_exec_ext in '' $ac_executable_extensions; do
13248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13249 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13259 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13260 if test -n "$RANLIB_FOR_TARGET"; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13262 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13265 $as_echo "no
" >&6; }
13272 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13273 for ncn_progname in ranlib; do
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13275 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13276 if test -x $with_build_time_tools/${ncn_progname}; then
13277 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13279 $as_echo "yes" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13283 $as_echo "no
" >&6; }
13288 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13289 for ncn_progname in ranlib; do
13290 if test -n "$ncn_target_tool_prefix"; then
13291 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13292 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13294 $as_echo_n "checking
for $ac_word...
" >&6; }
13295 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13296 $as_echo_n "(cached
) " >&6
13298 if test -n "$RANLIB_FOR_TARGET"; then
13299 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13302 for as_dir in $PATH
13305 test -z "$as_dir" && as_dir=.
13306 for ac_exec_ext in '' $ac_executable_extensions; do
13307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13308 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13318 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13319 if test -n "$RANLIB_FOR_TARGET"; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13321 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13324 $as_echo "no
" >&6; }
13329 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13331 set dummy ${ncn_progname}; ac_word=$2
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13333 $as_echo_n "checking
for $ac_word...
" >&6; }
13334 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13335 $as_echo_n "(cached
) " >&6
13337 if test -n "$RANLIB_FOR_TARGET"; then
13338 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13341 for as_dir in $PATH
13344 test -z "$as_dir" && as_dir=.
13345 for ac_exec_ext in '' $ac_executable_extensions; do
13346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13347 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13357 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13358 if test -n "$RANLIB_FOR_TARGET"; then
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13360 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13363 $as_echo "no
" >&6; }
13368 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13372 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13374 if test $build = $target ; then
13375 RANLIB_FOR_TARGET="$2"
13377 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13380 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13384 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13390 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13391 if test -n "$with_build_time_tools"; then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13393 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13394 if test -x $with_build_time_tools/readelf; then
13395 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13396 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13398 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13401 $as_echo "no
" >&6; }
13403 elif test $build != $host && test $have_gcc_for_target = yes; then
13404 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13405 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13406 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13409 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13410 # Extract the first word of "readelf
", so it can be a program name with args.
13411 set dummy readelf; ac_word=$2
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13413 $as_echo_n "checking
for $ac_word...
" >&6; }
13414 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13415 $as_echo_n "(cached
) " >&6
13417 case $READELF_FOR_TARGET in
13419 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13423 for as_dir in $gcc_cv_tool_dirs
13426 test -z "$as_dir" && as_dir=.
13427 for ac_exec_ext in '' $ac_executable_extensions; do
13428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13429 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13440 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13441 if test -n "$READELF_FOR_TARGET"; then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13443 $as_echo "$READELF_FOR_TARGET" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13446 $as_echo "no
" >&6; }
13451 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13454 if test -n "$READELF_FOR_TARGET"; then
13455 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13456 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13457 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13460 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13461 for ncn_progname in readelf; do
13462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13463 set dummy ${ncn_progname}; ac_word=$2
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13465 $as_echo_n "checking
for $ac_word...
" >&6; }
13466 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13467 $as_echo_n "(cached
) " >&6
13469 if test -n "$READELF_FOR_TARGET"; then
13470 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13473 for as_dir in $PATH
13476 test -z "$as_dir" && as_dir=.
13477 for ac_exec_ext in '' $ac_executable_extensions; do
13478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13479 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13489 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13490 if test -n "$READELF_FOR_TARGET"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13492 $as_echo "$READELF_FOR_TARGET" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13495 $as_echo "no
" >&6; }
13502 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13503 for ncn_progname in readelf; do
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13505 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13506 if test -x $with_build_time_tools/${ncn_progname}; then
13507 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13509 $as_echo "yes" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13513 $as_echo "no
" >&6; }
13518 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13519 for ncn_progname in readelf; do
13520 if test -n "$ncn_target_tool_prefix"; then
13521 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13522 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13524 $as_echo_n "checking
for $ac_word...
" >&6; }
13525 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13526 $as_echo_n "(cached
) " >&6
13528 if test -n "$READELF_FOR_TARGET"; then
13529 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13532 for as_dir in $PATH
13535 test -z "$as_dir" && as_dir=.
13536 for ac_exec_ext in '' $ac_executable_extensions; do
13537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13538 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13548 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13549 if test -n "$READELF_FOR_TARGET"; then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13551 $as_echo "$READELF_FOR_TARGET" >&6; }
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13554 $as_echo "no
" >&6; }
13559 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13560 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13561 set dummy ${ncn_progname}; ac_word=$2
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13563 $as_echo_n "checking
for $ac_word...
" >&6; }
13564 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13565 $as_echo_n "(cached
) " >&6
13567 if test -n "$READELF_FOR_TARGET"; then
13568 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13571 for as_dir in $PATH
13574 test -z "$as_dir" && as_dir=.
13575 for ac_exec_ext in '' $ac_executable_extensions; do
13576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13577 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13587 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13588 if test -n "$READELF_FOR_TARGET"; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13590 $as_echo "$READELF_FOR_TARGET" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13593 $as_echo "no
" >&6; }
13598 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13602 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13604 if test $build = $target ; then
13605 READELF_FOR_TARGET="$2"
13607 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13610 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13614 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13620 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13621 if test -n "$with_build_time_tools"; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13623 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13624 if test -x $with_build_time_tools/strip; then
13625 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13626 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13628 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13631 $as_echo "no
" >&6; }
13633 elif test $build != $host && test $have_gcc_for_target = yes; then
13634 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13635 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13636 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13639 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13640 # Extract the first word of "strip
", so it can be a program name with args.
13641 set dummy strip; ac_word=$2
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13643 $as_echo_n "checking
for $ac_word...
" >&6; }
13644 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13645 $as_echo_n "(cached
) " >&6
13647 case $STRIP_FOR_TARGET in
13649 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13653 for as_dir in $gcc_cv_tool_dirs
13656 test -z "$as_dir" && as_dir=.
13657 for ac_exec_ext in '' $ac_executable_extensions; do
13658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13659 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13670 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13671 if test -n "$STRIP_FOR_TARGET"; then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13673 $as_echo "$STRIP_FOR_TARGET" >&6; }
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13676 $as_echo "no
" >&6; }
13681 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13684 if test -n "$STRIP_FOR_TARGET"; then
13685 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13686 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13687 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13690 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13691 for ncn_progname in strip; do
13692 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13693 set dummy ${ncn_progname}; ac_word=$2
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13695 $as_echo_n "checking
for $ac_word...
" >&6; }
13696 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13697 $as_echo_n "(cached
) " >&6
13699 if test -n "$STRIP_FOR_TARGET"; then
13700 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13703 for as_dir in $PATH
13706 test -z "$as_dir" && as_dir=.
13707 for ac_exec_ext in '' $ac_executable_extensions; do
13708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13709 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13719 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13720 if test -n "$STRIP_FOR_TARGET"; then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13722 $as_echo "$STRIP_FOR_TARGET" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13725 $as_echo "no
" >&6; }
13732 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13733 for ncn_progname in strip; do
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13735 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13736 if test -x $with_build_time_tools/${ncn_progname}; then
13737 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13739 $as_echo "yes" >&6; }
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13743 $as_echo "no
" >&6; }
13748 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13749 for ncn_progname in strip; do
13750 if test -n "$ncn_target_tool_prefix"; then
13751 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13752 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13754 $as_echo_n "checking
for $ac_word...
" >&6; }
13755 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13756 $as_echo_n "(cached
) " >&6
13758 if test -n "$STRIP_FOR_TARGET"; then
13759 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13762 for as_dir in $PATH
13765 test -z "$as_dir" && as_dir=.
13766 for ac_exec_ext in '' $ac_executable_extensions; do
13767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13768 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13778 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13779 if test -n "$STRIP_FOR_TARGET"; then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13781 $as_echo "$STRIP_FOR_TARGET" >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13784 $as_echo "no
" >&6; }
13789 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13791 set dummy ${ncn_progname}; ac_word=$2
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13793 $as_echo_n "checking
for $ac_word...
" >&6; }
13794 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13795 $as_echo_n "(cached
) " >&6
13797 if test -n "$STRIP_FOR_TARGET"; then
13798 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13801 for as_dir in $PATH
13804 test -z "$as_dir" && as_dir=.
13805 for ac_exec_ext in '' $ac_executable_extensions; do
13806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13807 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13817 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13818 if test -n "$STRIP_FOR_TARGET"; then
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13820 $as_echo "$STRIP_FOR_TARGET" >&6; }
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13823 $as_echo "no
" >&6; }
13828 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13832 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13834 if test $build = $target ; then
13835 STRIP_FOR_TARGET="$2"
13837 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13840 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13844 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13850 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13851 if test -n "$with_build_time_tools"; then
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13853 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13854 if test -x $with_build_time_tools/windres; then
13855 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13856 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13858 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13861 $as_echo "no
" >&6; }
13863 elif test $build != $host && test $have_gcc_for_target = yes; then
13864 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13865 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13866 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13869 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13870 # Extract the first word of "windres
", so it can be a program name with args.
13871 set dummy windres; ac_word=$2
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13873 $as_echo_n "checking
for $ac_word...
" >&6; }
13874 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13875 $as_echo_n "(cached
) " >&6
13877 case $WINDRES_FOR_TARGET in
13879 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13883 for as_dir in $gcc_cv_tool_dirs
13886 test -z "$as_dir" && as_dir=.
13887 for ac_exec_ext in '' $ac_executable_extensions; do
13888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13889 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13900 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13901 if test -n "$WINDRES_FOR_TARGET"; then
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13903 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13906 $as_echo "no
" >&6; }
13911 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13914 if test -n "$WINDRES_FOR_TARGET"; then
13915 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13916 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13917 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13920 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13921 for ncn_progname in windres; do
13922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13923 set dummy ${ncn_progname}; ac_word=$2
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13925 $as_echo_n "checking
for $ac_word...
" >&6; }
13926 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13927 $as_echo_n "(cached
) " >&6
13929 if test -n "$WINDRES_FOR_TARGET"; then
13930 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13933 for as_dir in $PATH
13936 test -z "$as_dir" && as_dir=.
13937 for ac_exec_ext in '' $ac_executable_extensions; do
13938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13939 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13949 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13950 if test -n "$WINDRES_FOR_TARGET"; then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13952 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13955 $as_echo "no
" >&6; }
13962 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13963 for ncn_progname in windres; do
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13965 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13966 if test -x $with_build_time_tools/${ncn_progname}; then
13967 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13969 $as_echo "yes" >&6; }
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13973 $as_echo "no
" >&6; }
13978 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13979 for ncn_progname in windres; do
13980 if test -n "$ncn_target_tool_prefix"; then
13981 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13982 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13984 $as_echo_n "checking
for $ac_word...
" >&6; }
13985 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13986 $as_echo_n "(cached
) " >&6
13988 if test -n "$WINDRES_FOR_TARGET"; then
13989 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13992 for as_dir in $PATH
13995 test -z "$as_dir" && as_dir=.
13996 for ac_exec_ext in '' $ac_executable_extensions; do
13997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13998 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14008 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14009 if test -n "$WINDRES_FOR_TARGET"; then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14011 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14014 $as_echo "no
" >&6; }
14019 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14021 set dummy ${ncn_progname}; ac_word=$2
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14023 $as_echo_n "checking
for $ac_word...
" >&6; }
14024 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14025 $as_echo_n "(cached
) " >&6
14027 if test -n "$WINDRES_FOR_TARGET"; then
14028 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14031 for as_dir in $PATH
14034 test -z "$as_dir" && as_dir=.
14035 for ac_exec_ext in '' $ac_executable_extensions; do
14036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14037 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14047 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14048 if test -n "$WINDRES_FOR_TARGET"; then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14050 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14053 $as_echo "no
" >&6; }
14058 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14062 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14064 if test $build = $target ; then
14065 WINDRES_FOR_TARGET="$2"
14067 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14070 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14074 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14080 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14081 if test -n "$with_build_time_tools"; then
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14083 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14084 if test -x $with_build_time_tools/windmc; then
14085 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14086 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14088 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14091 $as_echo "no
" >&6; }
14093 elif test $build != $host && test $have_gcc_for_target = yes; then
14094 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14095 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14096 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14099 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14100 # Extract the first word of "windmc
", so it can be a program name with args.
14101 set dummy windmc; ac_word=$2
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14103 $as_echo_n "checking
for $ac_word...
" >&6; }
14104 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14105 $as_echo_n "(cached
) " >&6
14107 case $WINDMC_FOR_TARGET in
14109 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14113 for as_dir in $gcc_cv_tool_dirs
14116 test -z "$as_dir" && as_dir=.
14117 for ac_exec_ext in '' $ac_executable_extensions; do
14118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14119 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14130 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14131 if test -n "$WINDMC_FOR_TARGET"; then
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14133 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14136 $as_echo "no
" >&6; }
14141 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14144 if test -n "$WINDMC_FOR_TARGET"; then
14145 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14146 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14147 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14150 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14151 for ncn_progname in windmc; do
14152 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14153 set dummy ${ncn_progname}; ac_word=$2
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14155 $as_echo_n "checking
for $ac_word...
" >&6; }
14156 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14157 $as_echo_n "(cached
) " >&6
14159 if test -n "$WINDMC_FOR_TARGET"; then
14160 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14163 for as_dir in $PATH
14166 test -z "$as_dir" && as_dir=.
14167 for ac_exec_ext in '' $ac_executable_extensions; do
14168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14169 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14179 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14180 if test -n "$WINDMC_FOR_TARGET"; then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14182 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14185 $as_echo "no
" >&6; }
14192 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14193 for ncn_progname in windmc; do
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14195 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14196 if test -x $with_build_time_tools/${ncn_progname}; then
14197 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14199 $as_echo "yes" >&6; }
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14203 $as_echo "no
" >&6; }
14208 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14209 for ncn_progname in windmc; do
14210 if test -n "$ncn_target_tool_prefix"; then
14211 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14212 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14214 $as_echo_n "checking
for $ac_word...
" >&6; }
14215 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14216 $as_echo_n "(cached
) " >&6
14218 if test -n "$WINDMC_FOR_TARGET"; then
14219 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14225 test -z "$as_dir" && as_dir=.
14226 for ac_exec_ext in '' $ac_executable_extensions; do
14227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14228 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14238 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14239 if test -n "$WINDMC_FOR_TARGET"; then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14241 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14244 $as_echo "no
" >&6; }
14249 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14251 set dummy ${ncn_progname}; ac_word=$2
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14253 $as_echo_n "checking
for $ac_word...
" >&6; }
14254 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14255 $as_echo_n "(cached
) " >&6
14257 if test -n "$WINDMC_FOR_TARGET"; then
14258 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14261 for as_dir in $PATH
14264 test -z "$as_dir" && as_dir=.
14265 for ac_exec_ext in '' $ac_executable_extensions; do
14266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14267 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14277 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14278 if test -n "$WINDMC_FOR_TARGET"; then
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14280 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14283 $as_echo "no
" >&6; }
14288 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14292 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14294 if test $build = $target ; then
14295 WINDMC_FOR_TARGET="$2"
14297 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14300 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14304 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14308 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14311 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14312 if test "x
${build}" != "x
${host}" ; then
14313 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14314 # We already found the complete path
14315 ac_dir=`dirname $AR_FOR_TARGET`
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14317 $as_echo "pre-installed
in $ac_dir" >&6; }
14319 # Canadian cross, just use what we found
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14321 $as_echo "pre-installed
" >&6; }
14325 case " ${configdirs} " in
14330 if test $ok = yes; then
14331 # An in-tree tool is available and we can use it
14332 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14334 $as_echo "just compiled
" >&6; }
14335 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14336 # We already found the complete path
14337 ac_dir=`dirname $AR_FOR_TARGET`
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14339 $as_echo "pre-installed
in $ac_dir" >&6; }
14340 elif test "x
$target" = "x
$host"; then
14341 # We can use an host tool
14342 AR_FOR_TARGET='$(AR)'
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14344 $as_echo "host tool
" >&6; }
14346 # We need a cross tool
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14348 $as_echo "pre-installed
" >&6; }
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14353 $as_echo_n "checking where to
find the target as...
" >&6; }
14354 if test "x
${build}" != "x
${host}" ; then
14355 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14356 # We already found the complete path
14357 ac_dir=`dirname $AS_FOR_TARGET`
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14359 $as_echo "pre-installed
in $ac_dir" >&6; }
14361 # Canadian cross, just use what we found
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14363 $as_echo "pre-installed
" >&6; }
14367 case " ${configdirs} " in
14372 if test $ok = yes; then
14373 # An in-tree tool is available and we can use it
14374 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14376 $as_echo "just compiled
" >&6; }
14377 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14378 # We already found the complete path
14379 ac_dir=`dirname $AS_FOR_TARGET`
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14381 $as_echo "pre-installed
in $ac_dir" >&6; }
14382 elif test "x
$target" = "x
$host"; then
14383 # We can use an host tool
14384 AS_FOR_TARGET='$(AS)'
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14386 $as_echo "host tool
" >&6; }
14388 # We need a cross tool
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14390 $as_echo "pre-installed
" >&6; }
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14395 $as_echo_n "checking where to
find the target cc...
" >&6; }
14396 if test "x
${build}" != "x
${host}" ; then
14397 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14398 # We already found the complete path
14399 ac_dir=`dirname $CC_FOR_TARGET`
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14401 $as_echo "pre-installed
in $ac_dir" >&6; }
14403 # Canadian cross, just use what we found
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14405 $as_echo "pre-installed
" >&6; }
14409 case " ${configdirs} " in
14414 if test $ok = yes; then
14415 # An in-tree tool is available and we can use it
14416 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14418 $as_echo "just compiled
" >&6; }
14419 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14420 # We already found the complete path
14421 ac_dir=`dirname $CC_FOR_TARGET`
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14423 $as_echo "pre-installed
in $ac_dir" >&6; }
14424 elif test "x
$target" = "x
$host"; then
14425 # We can use an host tool
14426 CC_FOR_TARGET='$(CC)'
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14428 $as_echo "host tool
" >&6; }
14430 # We need a cross tool
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14432 $as_echo "pre-installed
" >&6; }
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14437 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14438 if test "x
${build}" != "x
${host}" ; then
14439 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14440 # We already found the complete path
14441 ac_dir=`dirname $CXX_FOR_TARGET`
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14443 $as_echo "pre-installed
in $ac_dir" >&6; }
14445 # Canadian cross, just use what we found
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14447 $as_echo "pre-installed
" >&6; }
14451 case " ${configdirs} " in
14455 case ,${enable_languages}, in
14459 if test $ok = yes; then
14460 # An in-tree tool is available and we can use it
14461 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'
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14463 $as_echo "just compiled
" >&6; }
14464 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14465 # We already found the complete path
14466 ac_dir=`dirname $CXX_FOR_TARGET`
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14468 $as_echo "pre-installed
in $ac_dir" >&6; }
14469 elif test "x
$target" = "x
$host"; then
14470 # We can use an host tool
14471 CXX_FOR_TARGET='$(CXX)'
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14473 $as_echo "host tool
" >&6; }
14475 # We need a cross tool
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14477 $as_echo "pre-installed
" >&6; }
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14482 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14483 if test "x
${build}" != "x
${host}" ; then
14484 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14485 # We already found the complete path
14486 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14488 $as_echo "pre-installed
in $ac_dir" >&6; }
14490 # Canadian cross, just use what we found
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14492 $as_echo "pre-installed
" >&6; }
14496 case " ${configdirs} " in
14500 case ,${enable_languages}, in
14504 if test $ok = yes; then
14505 # An in-tree tool is available and we can use it
14506 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'
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14508 $as_echo "just compiled
" >&6; }
14509 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14510 # We already found the complete path
14511 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14513 $as_echo "pre-installed
in $ac_dir" >&6; }
14514 elif test "x
$target" = "x
$host"; then
14515 # We can use an host tool
14516 RAW_CXX_FOR_TARGET='$(CXX)'
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14518 $as_echo "host tool
" >&6; }
14520 # We need a cross tool
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14522 $as_echo "pre-installed
" >&6; }
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14527 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14528 if test "x
${build}" != "x
${host}" ; then
14529 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14530 # We already found the complete path
14531 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14533 $as_echo "pre-installed
in $ac_dir" >&6; }
14535 # Canadian cross, just use what we found
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14537 $as_echo "pre-installed
" >&6; }
14541 case " ${configdirs} " in
14546 if test $ok = yes; then
14547 # An in-tree tool is available and we can use it
14548 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14550 $as_echo "just compiled
" >&6; }
14551 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14552 # We already found the complete path
14553 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14555 $as_echo "pre-installed
in $ac_dir" >&6; }
14556 elif test "x
$target" = "x
$host"; then
14557 # We can use an host tool
14558 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14560 $as_echo "host tool
" >&6; }
14562 # We need a cross tool
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14564 $as_echo "pre-installed
" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14569 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14570 if test "x
${build}" != "x
${host}" ; then
14571 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14572 # We already found the complete path
14573 ac_dir=`dirname $GCC_FOR_TARGET`
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14575 $as_echo "pre-installed
in $ac_dir" >&6; }
14577 # Canadian cross, just use what we found
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14579 $as_echo "pre-installed
" >&6; }
14583 case " ${configdirs} " in
14588 if test $ok = yes; then
14589 # An in-tree tool is available and we can use it
14590 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14592 $as_echo "just compiled
" >&6; }
14593 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14594 # We already found the complete path
14595 ac_dir=`dirname $GCC_FOR_TARGET`
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14597 $as_echo "pre-installed
in $ac_dir" >&6; }
14598 elif test "x
$target" = "x
$host"; then
14599 # We can use an host tool
14600 GCC_FOR_TARGET='$()'
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14602 $as_echo "host tool
" >&6; }
14604 # We need a cross tool
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14606 $as_echo "pre-installed
" >&6; }
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14611 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14612 if test "x
${build}" != "x
${host}" ; then
14613 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14614 # We already found the complete path
14615 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14617 $as_echo "pre-installed
in $ac_dir" >&6; }
14619 # Canadian cross, just use what we found
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14621 $as_echo "pre-installed
" >&6; }
14625 case " ${configdirs} " in
14629 case ,${enable_languages}, in
14633 if test $ok = yes; then
14634 # An in-tree tool is available and we can use it
14635 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14637 $as_echo "just compiled
" >&6; }
14638 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14639 # We already found the complete path
14640 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14642 $as_echo "pre-installed
in $ac_dir" >&6; }
14643 elif test "x
$target" = "x
$host"; then
14644 # We can use an host tool
14645 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14647 $as_echo "host tool
" >&6; }
14649 # We need a cross tool
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14651 $as_echo "pre-installed
" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14656 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14657 if test "x
${build}" != "x
${host}" ; then
14658 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14659 # We already found the complete path
14660 ac_dir=`dirname $GOC_FOR_TARGET`
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14662 $as_echo "pre-installed
in $ac_dir" >&6; }
14664 # Canadian cross, just use what we found
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14666 $as_echo "pre-installed
" >&6; }
14670 case " ${configdirs} " in
14674 case ,${enable_languages}, in
14678 if test $ok = yes; then
14679 # An in-tree tool is available and we can use it
14680 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14682 $as_echo "just compiled
" >&6; }
14683 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14684 # We already found the complete path
14685 ac_dir=`dirname $GOC_FOR_TARGET`
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14687 $as_echo "pre-installed
in $ac_dir" >&6; }
14688 elif test "x
$target" = "x
$host"; then
14689 # We can use an host tool
14690 GOC_FOR_TARGET='$(GOC)'
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14692 $as_echo "host tool
" >&6; }
14694 # We need a cross tool
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14696 $as_echo "pre-installed
" >&6; }
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14701 $as_echo_n "checking where to
find the target ld...
" >&6; }
14702 if test "x
${build}" != "x
${host}" ; then
14703 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14704 # We already found the complete path
14705 ac_dir=`dirname $LD_FOR_TARGET`
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14707 $as_echo "pre-installed
in $ac_dir" >&6; }
14709 # Canadian cross, just use what we found
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14711 $as_echo "pre-installed
" >&6; }
14715 case " ${configdirs} " in
14720 if test $ok = yes; then
14721 # An in-tree tool is available and we can use it
14722 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14724 $as_echo "just compiled
" >&6; }
14725 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14726 # We already found the complete path
14727 ac_dir=`dirname $LD_FOR_TARGET`
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14729 $as_echo "pre-installed
in $ac_dir" >&6; }
14730 elif test "x
$target" = "x
$host"; then
14731 # We can use an host tool
14732 LD_FOR_TARGET='$(LD)'
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14734 $as_echo "host tool
" >&6; }
14736 # We need a cross tool
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14738 $as_echo "pre-installed
" >&6; }
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14743 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14744 if test "x
${build}" != "x
${host}" ; then
14745 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14746 # We already found the complete path
14747 ac_dir=`dirname $LIPO_FOR_TARGET`
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14749 $as_echo "pre-installed
in $ac_dir" >&6; }
14751 # Canadian cross, just use what we found
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14753 $as_echo "pre-installed
" >&6; }
14756 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14757 # We already found the complete path
14758 ac_dir=`dirname $LIPO_FOR_TARGET`
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14760 $as_echo "pre-installed
in $ac_dir" >&6; }
14761 elif test "x
$target" = "x
$host"; then
14762 # We can use an host tool
14763 LIPO_FOR_TARGET='$(LIPO)'
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14765 $as_echo "host tool
" >&6; }
14767 # We need a cross tool
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14769 $as_echo "pre-installed
" >&6; }
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14774 $as_echo_n "checking where to
find the target nm...
" >&6; }
14775 if test "x
${build}" != "x
${host}" ; then
14776 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14777 # We already found the complete path
14778 ac_dir=`dirname $NM_FOR_TARGET`
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14780 $as_echo "pre-installed
in $ac_dir" >&6; }
14782 # Canadian cross, just use what we found
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14784 $as_echo "pre-installed
" >&6; }
14788 case " ${configdirs} " in
14793 if test $ok = yes; then
14794 # An in-tree tool is available and we can use it
14795 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14797 $as_echo "just compiled
" >&6; }
14798 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14799 # We already found the complete path
14800 ac_dir=`dirname $NM_FOR_TARGET`
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14802 $as_echo "pre-installed
in $ac_dir" >&6; }
14803 elif test "x
$target" = "x
$host"; then
14804 # We can use an host tool
14805 NM_FOR_TARGET='$(NM)'
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14807 $as_echo "host tool
" >&6; }
14809 # We need a cross tool
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14811 $as_echo "pre-installed
" >&6; }
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14816 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14817 if test "x
${build}" != "x
${host}" ; then
14818 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14819 # We already found the complete path
14820 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14822 $as_echo "pre-installed
in $ac_dir" >&6; }
14824 # Canadian cross, just use what we found
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14826 $as_echo "pre-installed
" >&6; }
14830 case " ${configdirs} " in
14835 if test $ok = yes; then
14836 # An in-tree tool is available and we can use it
14837 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14839 $as_echo "just compiled
" >&6; }
14840 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14841 # We already found the complete path
14842 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14844 $as_echo "pre-installed
in $ac_dir" >&6; }
14845 elif test "x
$target" = "x
$host"; then
14846 # We can use an host tool
14847 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14849 $as_echo "host tool
" >&6; }
14851 # We need a cross tool
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14853 $as_echo "pre-installed
" >&6; }
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14858 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14859 if test "x
${build}" != "x
${host}" ; then
14860 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14861 # We already found the complete path
14862 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14864 $as_echo "pre-installed
in $ac_dir" >&6; }
14866 # Canadian cross, just use what we found
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14868 $as_echo "pre-installed
" >&6; }
14872 case " ${configdirs} " in
14877 if test $ok = yes; then
14878 # An in-tree tool is available and we can use it
14879 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14881 $as_echo "just compiled
" >&6; }
14882 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14883 # We already found the complete path
14884 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14886 $as_echo "pre-installed
in $ac_dir" >&6; }
14887 elif test "x
$target" = "x
$host"; then
14888 # We can use an host tool
14889 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14891 $as_echo "host tool
" >&6; }
14893 # We need a cross tool
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14895 $as_echo "pre-installed
" >&6; }
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14900 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14901 if test "x
${build}" != "x
${host}" ; then
14902 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14903 # We already found the complete path
14904 ac_dir=`dirname $RANLIB_FOR_TARGET`
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14906 $as_echo "pre-installed
in $ac_dir" >&6; }
14908 # Canadian cross, just use what we found
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14910 $as_echo "pre-installed
" >&6; }
14914 case " ${configdirs} " in
14919 if test $ok = yes; then
14920 # An in-tree tool is available and we can use it
14921 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14923 $as_echo "just compiled
" >&6; }
14924 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14925 # We already found the complete path
14926 ac_dir=`dirname $RANLIB_FOR_TARGET`
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14928 $as_echo "pre-installed
in $ac_dir" >&6; }
14929 elif test "x
$target" = "x
$host"; then
14930 # We can use an host tool
14931 RANLIB_FOR_TARGET='$(RANLIB)'
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14933 $as_echo "host tool
" >&6; }
14935 # We need a cross tool
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14937 $as_echo "pre-installed
" >&6; }
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14942 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14943 if test "x
${build}" != "x
${host}" ; then
14944 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14945 # We already found the complete path
14946 ac_dir=`dirname $READELF_FOR_TARGET`
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14948 $as_echo "pre-installed
in $ac_dir" >&6; }
14950 # Canadian cross, just use what we found
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14952 $as_echo "pre-installed
" >&6; }
14956 case " ${configdirs} " in
14961 if test $ok = yes; then
14962 # An in-tree tool is available and we can use it
14963 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14965 $as_echo "just compiled
" >&6; }
14966 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14967 # We already found the complete path
14968 ac_dir=`dirname $READELF_FOR_TARGET`
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14970 $as_echo "pre-installed
in $ac_dir" >&6; }
14971 elif test "x
$target" = "x
$host"; then
14972 # We can use an host tool
14973 READELF_FOR_TARGET='$(READELF)'
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14975 $as_echo "host tool
" >&6; }
14977 # We need a cross tool
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14979 $as_echo "pre-installed
" >&6; }
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14984 $as_echo_n "checking where to
find the target strip...
" >&6; }
14985 if test "x
${build}" != "x
${host}" ; then
14986 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14987 # We already found the complete path
14988 ac_dir=`dirname $STRIP_FOR_TARGET`
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14990 $as_echo "pre-installed
in $ac_dir" >&6; }
14992 # Canadian cross, just use what we found
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14994 $as_echo "pre-installed
" >&6; }
14998 case " ${configdirs} " in
15003 if test $ok = yes; then
15004 # An in-tree tool is available and we can use it
15005 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15007 $as_echo "just compiled
" >&6; }
15008 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15009 # We already found the complete path
15010 ac_dir=`dirname $STRIP_FOR_TARGET`
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15012 $as_echo "pre-installed
in $ac_dir" >&6; }
15013 elif test "x
$target" = "x
$host"; then
15014 # We can use an host tool
15015 STRIP_FOR_TARGET='$(STRIP)'
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15017 $as_echo "host tool
" >&6; }
15019 # We need a cross tool
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15021 $as_echo "pre-installed
" >&6; }
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15026 $as_echo_n "checking where to
find the target windres...
" >&6; }
15027 if test "x
${build}" != "x
${host}" ; then
15028 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15029 # We already found the complete path
15030 ac_dir=`dirname $WINDRES_FOR_TARGET`
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15032 $as_echo "pre-installed
in $ac_dir" >&6; }
15034 # Canadian cross, just use what we found
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15036 $as_echo "pre-installed
" >&6; }
15040 case " ${configdirs} " in
15045 if test $ok = yes; then
15046 # An in-tree tool is available and we can use it
15047 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15049 $as_echo "just compiled
" >&6; }
15050 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15051 # We already found the complete path
15052 ac_dir=`dirname $WINDRES_FOR_TARGET`
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15054 $as_echo "pre-installed
in $ac_dir" >&6; }
15055 elif test "x
$target" = "x
$host"; then
15056 # We can use an host tool
15057 WINDRES_FOR_TARGET='$(WINDRES)'
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15059 $as_echo "host tool
" >&6; }
15061 # We need a cross tool
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15063 $as_echo "pre-installed
" >&6; }
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15068 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15069 if test "x
${build}" != "x
${host}" ; then
15070 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15071 # We already found the complete path
15072 ac_dir=`dirname $WINDMC_FOR_TARGET`
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15074 $as_echo "pre-installed
in $ac_dir" >&6; }
15076 # Canadian cross, just use what we found
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15078 $as_echo "pre-installed
" >&6; }
15082 case " ${configdirs} " in
15087 if test $ok = yes; then
15088 # An in-tree tool is available and we can use it
15089 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15091 $as_echo "just compiled
" >&6; }
15092 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15093 # We already found the complete path
15094 ac_dir=`dirname $WINDMC_FOR_TARGET`
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15096 $as_echo "pre-installed
in $ac_dir" >&6; }
15097 elif test "x
$target" = "x
$host"; then
15098 # We can use an host tool
15099 WINDMC_FOR_TARGET='$(WINDMC)'
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15101 $as_echo "host tool
" >&6; }
15103 # We need a cross tool
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15105 $as_echo "pre-installed
" >&6; }
15113 # Certain tools may need extra flags.
15114 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15115 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15116 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15118 # When building target libraries, except in a Canadian cross, we use
15119 # the same toolchain as the compiler we just built.
15120 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15121 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15122 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15123 if test $host = $build; then
15124 case " $configdirs " in
15126 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15127 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15128 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15138 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15139 # Check whether --enable-maintainer-mode was given.
15140 if test "${enable_maintainer_mode+set}" = set; then :
15141 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15143 USE_MAINTAINER_MODE=no
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15147 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15150 if test "$USE_MAINTAINER_MODE" = yes; then
15151 MAINTAINER_MODE_TRUE=
15152 MAINTAINER_MODE_FALSE='#'
15154 MAINTAINER_MODE_TRUE='#'
15155 MAINTAINER_MODE_FALSE=
15157 MAINT=$MAINTAINER_MODE_TRUE
15159 # ---------------------
15160 # GCC bootstrap support
15161 # ---------------------
15163 # Stage specific cflags for build.
15168 yes) stage1_cflags="-g -Wa,-J" ;;
15169 *) stage1_cflags="-g -J" ;;
15175 # Enable --enable-checking in stage1 of the compiler.
15176 # Check whether --enable-stage1-checking was given.
15177 if test "${enable_stage1_checking+set}" = set; then :
15178 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15180 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15181 # For --disable-checking or implicit --enable-checking=release, avoid
15182 # setting --enable-checking=gc in the default stage1 checking for LTO
15183 # bootstraps. See PR62077.
15184 case $BUILD_CONFIG in
15186 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15188 stage1_checking=--enable-checking=yes,types;;
15190 if test "x
$enable_checking" = x && \
15191 test -d ${srcdir}/gcc && \
15192 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15193 stage1_checking=--enable-checking=yes,types,extra
15196 stage1_checking=--enable-checking=$enable_checking,types
15202 # Enable -Werror in bootstrap stage2 and later.
15203 # Check whether --enable-werror was given.
15204 if test "${enable_werror+set}" = set; then :
15205 enableval=$enable_werror;
15206 case ${enable_werror} in
15207 yes) stage2_werror_flag="--enable-werror-always" ;;
15208 *) stage2_werror_flag="" ;;
15213 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15214 case $BUILD_CONFIG in
15216 stage2_werror_flag="--enable-werror-always" ;;
15218 stage2_werror_flag="--enable-werror-always" ;;
15227 # Specify what files to not compare during bootstrap.
15229 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15231 hppa*64*-*-hpux*) ;;
15232 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15233 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15237 ac_config_files="$ac_config_files Makefile
"
15239 cat >confcache <<\_ACEOF
15240 # This file is a shell script that caches the results of configure
15241 # tests run on this system so they can be shared between configure
15242 # scripts and configure runs, see configure's option --config-cache.
15243 # It is not useful on other systems. If it contains results you don't
15244 # want to keep, you may remove or edit it.
15246 # config.status only pays attention to the cache file if you give it
15247 # the --recheck option to rerun configure.
15249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15251 # following values.
15255 # The following way of writing the cache mishandles newlines in values,
15256 # but we know of no workaround that is simple, portable, and efficient.
15257 # So, we kill variables containing newlines.
15258 # Ultrix sh set writes to stderr and can't be redirected directly,
15259 # and sets the high bit in the cache file unless we assign to the vars.
15261 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15262 eval ac_val=\$$ac_var
15266 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15267 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15270 _ | IFS | as_nl) ;; #(
15271 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15272 *) { eval $ac_var=; unset $ac_var;} ;;
15278 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15279 *${as_nl}ac_space=\ *)
15280 # `set' does not quote correctly, so add quotes: double-quote
15281 # substitution turns \\\\ into \\, and sed turns \\ into \.
15284 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15287 # `set' quotes correctly as required by POSIX, so do not add quotes.
15288 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15299 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15301 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15302 if test -w "$cache_file"; then
15303 if test "x
$cache_file" != "x
/dev
/null
"; then
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15305 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15306 if test ! -f "$cache_file" || test -h "$cache_file"; then
15307 cat confcache >"$cache_file"
15309 case $cache_file in #(
15311 mv -f confcache "$cache_file"$$ &&
15312 mv -f "$cache_file"$$ "$cache_file" ;; #(
15314 mv -f confcache "$cache_file" ;;
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15320 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15325 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15326 # Let make expand exec_prefix.
15327 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15329 # Transform confdefs.h into DEFS.
15330 # Protect against shell expansion while executing Makefile rules.
15331 # Protect against Makefile macro expansion.
15333 # If the first sed substitution is executed (which looks for macros that
15334 # take arguments), then branch to the quote section. Otherwise,
15335 # look for a macro that doesn't take arguments.
15345 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15347 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15351 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15364 DEFS=`sed -n "$ac_script" confdefs.h`
15370 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15371 # 1. Remove the extension, and $U if already installed.
15372 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15373 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15374 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15375 # will be set to the directory where LIBOBJS objects are built.
15376 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15377 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15379 LIBOBJS=$ac_libobjs
15381 LTLIBOBJS=$ac_ltlibobjs
15385 : "${CONFIG_STATUS=./config.status}"
15387 ac_clean_files_save=$ac_clean_files
15388 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15390 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15392 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15394 # Generated by $as_me.
15395 # Run this file to recreate the current configuration.
15396 # Compiler output produced by configure, useful for debugging
15397 # configure, is in config.log if it exists.
15400 ac_cs_recheck=false
15403 SHELL=\${CONFIG_SHELL-$SHELL}
15406 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15407 ## -------------------- ##
15408 ## M4sh Initialization. ##
15409 ## -------------------- ##
15411 # Be more Bourne compatible
15412 DUALCASE=1; export DUALCASE # for MKS sh
15413 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15416 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15417 # is contrary to our usage. Disable this feature.
15418 alias -g '${1+"$@"}'='"$@"'
15419 setopt NO_GLOB_SUBST
15421 case `(set -o) 2>/dev/null` in #(
15433 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15434 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15435 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15436 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15437 # Prefer a ksh shell builtin over an external printf program on Solaris,
15438 # but without wasting forks for bash or zsh.
15439 if test -z "$BASH_VERSION$ZSH_VERSION" \
15440 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15441 as_echo
='print -r --'
15442 as_echo_n
='print -rn --'
15443 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15444 as_echo
='printf %s\n'
15445 as_echo_n
='printf %s'
15447 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15448 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15449 as_echo_n
='/usr/ucb/echo -n'
15451 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15452 as_echo_n_body
='eval
15456 expr "X$arg" : "X\\(.*\\)$as_nl";
15457 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15459 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15461 export as_echo_n_body
15462 as_echo_n
='sh -c $as_echo_n_body as_echo'
15464 export as_echo_body
15465 as_echo
='sh -c $as_echo_body as_echo'
15468 # The user is always right.
15469 if test "${PATH_SEPARATOR+set}" != set; then
15471 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15472 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15479 # We need space, tab and new line, in precisely that order. Quoting is
15480 # there to prevent editors from complaining about space-tab.
15481 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15482 # splitting by setting IFS to empty value.)
15485 # Find who we are. Look in the path if we contain no directory separator.
15488 *[\\/]* ) as_myself
=$0 ;;
15489 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15490 for as_dir
in $PATH
15493 test -z "$as_dir" && as_dir
=.
15494 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15500 # We did not find ourselves, most probably we were run as `sh COMMAND'
15501 # in which case we are not to be found in the path.
15502 if test "x$as_myself" = x
; then
15505 if test ! -f "$as_myself"; then
15506 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15510 # Unset variables that we do not need and which cause bugs (e.g. in
15511 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15512 # suppresses any "Segmentation fault" message there. '((' could
15513 # trigger a bug in pdksh 5.2.14.
15514 for as_var
in BASH_ENV ENV MAIL MAILPATH
15515 do eval test x\
${$as_var+set} = xset \
15516 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15529 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15532 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15533 # ----------------------------------------
15534 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15535 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15536 # script with STATUS, using 1 if that was 0.
15539 as_status
=$1; test $as_status -eq 0 && as_status
=1
15541 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15542 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15544 $as_echo "$as_me: error: $2" >&2
15545 as_fn_exit
$as_status
15549 # as_fn_set_status STATUS
15550 # -----------------------
15551 # Set $? to STATUS, without forking.
15552 as_fn_set_status
()
15555 } # as_fn_set_status
15557 # as_fn_exit STATUS
15558 # -----------------
15559 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15563 as_fn_set_status
$1
15569 # Portably unset VAR.
15572 { eval $1=; unset $1;}
15574 as_unset
=as_fn_unset
15575 # as_fn_append VAR VALUE
15576 # ----------------------
15577 # Append the text in VALUE to the end of the definition contained in VAR. Take
15578 # advantage of any shell optimizations that allow amortized linear growth over
15579 # repeated appends, instead of the typical quadratic growth present in naive
15581 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15582 eval 'as_fn_append ()
15593 # as_fn_arith ARG...
15594 # ------------------
15595 # Perform arithmetic evaluation on the ARGs, and store the result in the
15596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15597 # must be portable across $(()) and expr.
15598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15599 eval 'as_fn_arith ()
15606 as_val
=`expr "$@" || test $? -eq 1`
15611 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15612 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15618 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15619 as_basename
=basename
15624 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15630 as_me
=`$as_basename -- "$0" ||
15631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15632 X"$0" : 'X\(//\)$' \| \
15633 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15635 sed '/^.*\/\([^/][^/]*\)\/*$/{
15649 # Avoid depending upon Character Ranges.
15650 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15651 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15652 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15653 as_cr_digits
='0123456789'
15654 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15656 ECHO_C
= ECHO_N
= ECHO_T
=
15657 case `echo -n x` in #(((((
15659 case `echo 'xy\c'` in
15660 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15662 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15669 rm -f conf$$ conf$$.exe conf$$.
file
15670 if test -d conf$$.dir
; then
15671 rm -f conf$$.dir
/conf$$.
file
15674 mkdir conf$$.dir
2>/dev
/null
15676 if (echo >conf$$.
file) 2>/dev
/null
; then
15677 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15679 # ... but there are two gotchas:
15680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15682 # In both cases, we have to default to `cp -pR'.
15683 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15685 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15693 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15694 rmdir conf$$.dir
2>/dev
/null
15699 # Create "$as_dir" as a directory, including parents if necessary.
15704 -*) as_dir
=.
/$as_dir;;
15706 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15710 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15711 *) as_qdir
=$as_dir;;
15713 as_dirs
="'$as_qdir' $as_dirs"
15714 as_dir
=`$as_dirname -- "$as_dir" ||
15715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15716 X"$as_dir" : 'X\(//\)[^/]' \| \
15717 X"$as_dir" : 'X\(//\)$' \| \
15718 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15719 $as_echo X"$as_dir" |
15720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15724 /^X\(\/\/\)[^/].*/{
15737 test -d "$as_dir" && break
15739 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15740 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15744 if mkdir
-p .
2>/dev
/null
; then
15745 as_mkdir_p
='mkdir -p "$as_dir"'
15747 test -d .
/-p && rmdir .
/-p
15752 # as_fn_executable_p FILE
15753 # -----------------------
15754 # Test if FILE is an executable regular file.
15755 as_fn_executable_p
()
15757 test -f "$1" && test -x "$1"
15758 } # as_fn_executable_p
15759 as_test_x
='test -x'
15760 as_executable_p
=as_fn_executable_p
15762 # Sed expression to map a string onto a valid CPP name.
15763 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15765 # Sed expression to map a string onto a valid variable name.
15766 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15770 ## ----------------------------------- ##
15771 ## Main body of $CONFIG_STATUS script. ##
15772 ## ----------------------------------- ##
15774 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15777 # Save the log message, to keep $0 and so on meaningful, and to
15778 # report actual input values of CONFIG_FILES etc. instead of their
15779 # values after options handling.
15781 This file was extended by $as_me, which was
15782 generated by GNU Autoconf 2.69. Invocation command line was
15784 CONFIG_FILES = $CONFIG_FILES
15785 CONFIG_HEADERS = $CONFIG_HEADERS
15786 CONFIG_LINKS = $CONFIG_LINKS
15787 CONFIG_COMMANDS = $CONFIG_COMMANDS
15790 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15795 case $ac_config_files in *"
15796 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15802 # Files that config.status was made for.
15803 config_files="$ac_config_files"
15807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15809 \`$as_me' instantiates files and other configuration actions
15810 from templates according to the current configuration. Unless the files
15811 and actions are specified as TAGs, all are instantiated by default.
15813 Usage: $0 [OPTION]... [TAG]...
15815 -h, --help print this help, then exit
15816 -V, --version print version number and configuration settings, then exit
15817 --config print configuration, then exit
15818 -q, --quiet, --silent
15819 do not print progress messages
15820 -d, --debug don't remove temporary files
15821 --recheck update $as_me by reconfiguring in the same conditions
15822 --file=FILE[:TEMPLATE]
15823 instantiate the configuration file FILE
15825 Configuration files:
15828 Report bugs to the package provider."
15831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15832 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15835 configured by $0, generated by GNU Autoconf 2.69,
15836 with options \\"\$ac_cs_config\\"
15838 Copyright (C) 2012 Free Software Foundation, Inc.
15839 This config.status script is free software; the Free Software Foundation
15840 gives unlimited permission to copy, distribute and modify it."
15846 test -n "\$AWK" || AWK=awk
15849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15850 # The default lists apply if the user does not specify any file.
15856 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15857 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15861 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15873 # Handling of the options.
15874 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15876 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15877 $as_echo "$ac_cs_version"; exit ;;
15878 --config |
--confi |
--conf |
--con |
--co |
--c )
15879 $as_echo "$ac_cs_config"; exit ;;
15880 --debug |
--debu |
--deb |
--de |
--d |
-d )
15882 --file |
--fil |
--fi |
--f )
15885 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15886 '') as_fn_error $?
"missing file argument" ;;
15888 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15889 ac_need_defaults
=false
;;
15890 --he |
--h |
--help |
--hel |
-h )
15891 $as_echo "$ac_cs_usage"; exit ;;
15892 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15893 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15896 # This is an error.
15897 -*) as_fn_error $?
"unrecognized option: \`$1'
15898 Try \`$0 --help' for more information." ;;
15900 *) as_fn_append ac_config_targets
" $1"
15901 ac_need_defaults
=false
;;
15907 ac_configure_extra_args
=
15909 if $ac_cs_silent; then
15911 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15916 if \$ac_cs_recheck; then
15917 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15919 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15920 CONFIG_SHELL='$SHELL'
15921 export CONFIG_SHELL
15926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15930 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15931 ## Running $as_me. ##
15937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15941 extrasub_build="$extrasub_build"
15942 extrasub_host="$extrasub_host"
15943 extrasub_target="$extrasub_target"
15947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15949 # Handling of arguments.
15950 for ac_config_target
in $ac_config_targets
15952 case $ac_config_target in
15953 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15955 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15960 # If the user did not use the arguments to specify the items to instantiate,
15961 # then the envvar interface is used. Set only those that are not.
15962 # We use the long form for the default assignment because of an extremely
15963 # bizarre bug on SunOS 4.1.3.
15964 if $ac_need_defaults; then
15965 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15968 # Have a temporary directory for convenience. Make it in the build tree
15969 # simply because there is no reason against having it here, and in addition,
15970 # creating and moving files from /tmp can sometimes cause problems.
15971 # Hook for its removal unless debugging.
15972 # Note that there is a small window in which the directory will not be cleaned:
15973 # after its creation but before its name has been assigned to `$tmp'.
15977 trap 'exit_status=$?
15978 : "${ac_tmp:=$tmp}"
15979 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15981 trap 'as_fn_exit 1' 1 2 13 15
15983 # Create a (secure) tmp directory for tmp files.
15986 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15990 tmp
=.
/conf$$
-$RANDOM
15991 (umask 077 && mkdir
"$tmp")
15992 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15995 # Set up the scripts for CONFIG_FILES section.
15996 # No need to generate them if there are no CONFIG_FILES.
15997 # This happens for instance with `./config.status config.h'.
15998 if test -n "$CONFIG_FILES"; then
16000 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16001 ac_cs_awk_getline
=:
16002 ac_cs_awk_pipe_init
=
16003 ac_cs_awk_read_file
='
16004 while ((getline aline < (F[key])) > 0)
16007 ac_cs_awk_pipe_fini
=
16009 ac_cs_awk_getline
=false
16010 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16011 ac_cs_awk_read_file
='
16013 print "cat " F[key] " &&"
16014 '$ac_cs_awk_pipe_init
16015 # The final `:' finishes the AND list.
16016 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16018 ac_cr
=`echo X | tr X '\015'`
16019 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16020 # But we know of no other shell where ac_cr would be empty at this
16021 # point, so we can use a bashism as a fallback.
16022 if test "x$ac_cr" = x
; then
16023 eval ac_cr
=\$
\'\\r
\'
16025 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16026 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16029 ac_cs_awk_cr
=$ac_cr
16032 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16035 # Create commands to substitute file output variables.
16037 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16038 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16039 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16042 } >conf$
$files.sh
&&
16043 . .
/conf$
$files.sh ||
16044 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16045 rm -f conf$
$files.sh
16048 echo "cat >conf$$subs.awk <<_ACEOF" &&
16049 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16051 } >conf$$subs.sh ||
16052 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16053 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16055 for ac_last_try in false false false false false :; do
16056 . ./conf$$subs.sh ||
16057 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16059 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16060 if test $ac_delim_n = $ac_delim_num; then
16062 elif $ac_last_try; then
16063 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16065 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16068 rm -f conf$$subs.sh
16070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16071 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16075 s/^/S["/; s
/!.
*/"]=/
16085 s/\(.\{148\}\)..*/\1/
16087 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16092 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16099 s/\(.\{148\}\)..*/\1/
16101 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16105 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16110 ' <conf$$subs.awk | sed '
16115 ' >>$CONFIG_STATUS || ac_write_fail=1
16116 rm -f conf$$subs.awk
16117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16119 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16120 for (key in S) S_is_set[key] = 1
16122 \$ac_cs_awk_pipe_init
16126 nfields = split(line, field, "@
")
16128 len = length(field[1])
16129 for (i = 2; i < nfields; i++) {
16131 keylen = length(key)
16132 if (S_is_set[key]) {
16134 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16135 len += length(value) + length(field[++i])
16140 if (nfields == 3 && !substed) {
16142 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16143 \$ac_cs_awk_read_file
16149 \$ac_cs_awk_pipe_fini
16152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16153 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16154 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16157 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16158 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16161 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16162 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16163 # trailing colons and then remove the whole line if VPATH becomes empty
16164 # (actually we leave an empty line to preserve line numbers).
16165 if test "x
$srcdir" = x.; then
16166 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16185 fi # test -n "$CONFIG_FILES"
16188 eval set X " :F
$CONFIG_FILES "
16193 :[FHLC]) ac_mode=$ac_tag; continue;;
16195 case $ac_mode$ac_tag in
16197 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16198 :[FH]-) ac_tag=-:-;;
16199 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16216 -) ac_f="$ac_tmp/stdin";;
16217 *) # Look for the file first in the build tree, then in the source tree
16218 # (if the path is not absolute). The absolute path cannot be DOS-style,
16219 # because $ac_f cannot contain `:'.
16223 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16225 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16227 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16228 as_fn_append ac_file_inputs " '$ac_f'"
16231 # Let's still pretend it is `configure' which instantiates (i.e., don't
16232 # use $as_me), people would be surprised to read:
16233 # /* config.h. Generated by config.status. */
16234 configure_input='Generated from '`
16235 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16237 if test x"$ac_file" != x-; then
16238 configure_input="$ac_file.
$configure_input"
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16240 $as_echo "$as_me: creating
$ac_file" >&6;}
16242 # Neutralize special characters interpreted by sed in replacement strings.
16243 case $configure_input in #(
16244 *\&* | *\|* | *\\* )
16245 ac_sed_conf_input=`$as_echo "$configure_input" |
16246 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16247 *) ac_sed_conf_input=$configure_input;;
16251 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16252 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16257 ac_dir=`$as_dirname -- "$ac_file" ||
16258 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16259 X"$ac_file" : 'X\(//\)[^/]' \| \
16260 X"$ac_file" : 'X\(//\)$' \| \
16261 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16262 $as_echo X"$ac_file" |
16263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16267 /^X\(\/\/\)[^/].*/{
16280 as_dir="$ac_dir"; as_fn_mkdir_p
16284 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16286 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16287 # A "..
" for each directory in $ac_dir_suffix.
16288 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16289 case $ac_top_builddir_sub in
16290 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16291 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16294 ac_abs_top_builddir=$ac_pwd
16295 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16296 # for backward compatibility:
16297 ac_top_builddir=$ac_top_build_prefix
16300 .) # We are building in place.
16302 ac_top_srcdir=$ac_top_builddir_sub
16303 ac_abs_top_srcdir=$ac_pwd ;;
16304 [\\/]* | ?:[\\/]* ) # Absolute name.
16305 ac_srcdir=$srcdir$ac_dir_suffix;
16306 ac_top_srcdir=$srcdir
16307 ac_abs_top_srcdir=$srcdir ;;
16308 *) # Relative name.
16309 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16310 ac_top_srcdir=$ac_top_build_prefix$srcdir
16311 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16313 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16323 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16324 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16329 # If the template does not know about datarootdir, expand it.
16330 # FIXME: This hack should be removed a few years after 2.60.
16331 ac_datarootdir_hack=; ac_datarootdir_seen=
16342 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16343 *datarootdir*) ac_datarootdir_seen=yes;;
16344 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16346 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16349 ac_datarootdir_hack='
16350 s&@datadir@&$datadir&g
16351 s&@docdir@&$docdir&g
16352 s&@infodir@&$infodir&g
16353 s&@localedir@&$localedir&g
16354 s&@mandir@&$mandir&g
16355 s&\\\${datarootdir}&$datarootdir&g' ;;
16359 # Neutralize VPATH when `$srcdir' = `.'.
16360 # Shell code in configure.ac might set extrasub.
16361 # FIXME: do we really want to maintain this feature?
16362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16363 ac_sed_extra="$ac_vpsub
16366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16368 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16369 s|@configure_input@|
$ac_sed_conf_input|
;t t
16370 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16371 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16372 s
&@srcdir@
&$ac_srcdir&;t t
16373 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16374 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16375 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16376 s
&@builddir@
&$ac_builddir&;t t
16377 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16378 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16379 s
&@INSTALL@
&$ac_INSTALL&;t t
16380 $ac_datarootdir_hack
16382 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16383 if $ac_cs_awk_getline; then
16384 $AWK -f "$ac_tmp/subs.
awk"
16386 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16388 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16390 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16391 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16392 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16393 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16395 which seems to be undefined. Please make sure it is defined" >&5
16396 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16397 which seems to be undefined. Please make sure it is defined" >&2;}
16399 rm -f "$ac_tmp/stdin"
16401 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16402 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16404 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16412 case $ac_file$ac_mode in
16413 "Makefile":F) sed "$extrasub_build" Makefile |
16414 sed "$extrasub_host" |
16415 sed "$extrasub_target" > mf$$
16416 mv -f mf$$ Makefile ;;
16424 ac_clean_files=$ac_clean_files_save
16426 test $ac_write_fail = 0 ||
16427 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16430 # configure is writing to config.log, and then calls config.status.
16431 # config.status does its own redirection, appending to config.log.
16432 # Unfortunately, on DOS this fails, as config.log is still kept open
16433 # by configure, so config.status won't be able to
write to it
; its
16434 # output is simply discarded. So we exec the FD to /dev/null,
16435 # effectively closing config.log, so it can be properly (re)opened and
16436 # appended to by config.status. When coming back to configure, we
16437 # need to make the FD available again.
16438 if test "$no_create" != yes; then
16440 ac_config_status_args
=
16441 test "$silent" = yes &&
16442 ac_config_status_args
="$ac_config_status_args --quiet"
16444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16447 # would make configure fail if this is the last instruction.
16448 $ac_cs_success || as_fn_exit
1
16450 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16452 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}