2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_zlib_configure_flags
647 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 EXTRA_CONFIGARGS_LIBJAVA
677 extra_liboffloadmic_configure_flags
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files
='serialization_dependencies
749 enable_option_checking
752 enable_as_accelerator_for
753 enable_offload_targets
756 enable_compressed_debug_sections
758 enable_libquadmath_support
763 enable_static_libjava
783 enable_isl_version_check
785 enable_linker_plugin_configure_flags
786 enable_linker_plugin_flags
787 enable_stage1_languages
790 with_debug_prefix_map
793 enable_serial_configure
794 with_build_time_tools
795 enable_maintainer_mode
796 enable_stage1_checking
800 ac_precious_vars
='build_alias
848 # Initialize some variables set by options.
850 ac_init_version
=false
851 ac_unrecognized_opts
=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
862 program_transform_name
=s
,x
,x
,
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir
='${exec_prefix}/bin'
877 sbindir
='${exec_prefix}/sbin'
878 libexecdir
='${exec_prefix}/libexec'
879 datarootdir
='${prefix}/share'
880 datadir
='${datarootdir}'
881 sysconfdir
='${prefix}/etc'
882 sharedstatedir
='${prefix}/com'
883 localstatedir
='${prefix}/var'
884 includedir
='${prefix}/include'
885 oldincludedir
='/usr/include'
886 docdir
='${datarootdir}/doc/${PACKAGE}'
887 infodir
='${datarootdir}/info'
892 libdir
='${exec_prefix}/lib'
893 localedir
='${datarootdir}/locale'
894 mandir
='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 eval $ac_prev=\
$ac_option
908 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 # Accept the important Cygnus configure options, so we can diagnose typos.
914 case $ac_dashdash$ac_option in
918 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
920 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
923 -build |
--build |
--buil |
--bui |
--bu)
924 ac_prev
=build_alias
;;
925 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
926 build_alias
=$ac_optarg ;;
928 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
929 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
930 ac_prev
=cache_file
;;
931 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
932 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
933 cache_file
=$ac_optarg ;;
936 cache_file
=config.cache
;;
938 -datadir |
--datadir |
--datadi |
--datad)
940 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
941 datadir
=$ac_optarg ;;
943 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
944 |
--dataroo |
--dataro |
--datar)
945 ac_prev
=datarootdir
;;
946 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
947 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
948 datarootdir
=$ac_optarg ;;
950 -disable-* |
--disable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 as_fn_error
"invalid feature name: $ac_useropt"
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=no
;;
966 -docdir |
--docdir |
--docdi |
--doc |
--do)
968 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
971 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
973 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
976 -enable-* |
--enable-*)
977 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
980 as_fn_error
"invalid feature name: $ac_useropt"
981 ac_useropt_orig
=$ac_useropt
982 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
988 ac_unrecognized_sep
=', ';;
990 eval enable_
$ac_useropt=\
$ac_optarg ;;
992 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
993 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
994 |
--exec |
--exe |
--ex)
995 ac_prev
=exec_prefix
;;
996 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
997 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
998 |
--exec=* |
--exe=* |
--ex=*)
999 exec_prefix
=$ac_optarg ;;
1001 -gas |
--gas |
--ga |
--g)
1002 # Obsolete; use --with-gas.
1005 -help |
--help |
--hel |
--he |
-h)
1006 ac_init_help
=long
;;
1007 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1008 ac_init_help
=recursive
;;
1009 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1010 ac_init_help
=short
;;
1012 -host |
--host |
--hos |
--ho)
1013 ac_prev
=host_alias
;;
1014 -host=* |
--host=* |
--hos=* |
--ho=*)
1015 host_alias
=$ac_optarg ;;
1017 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1019 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1021 htmldir
=$ac_optarg ;;
1023 -includedir |
--includedir |
--includedi |
--included |
--include \
1024 |
--includ |
--inclu |
--incl |
--inc)
1025 ac_prev
=includedir
;;
1026 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1027 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1028 includedir
=$ac_optarg ;;
1030 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1032 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1033 infodir
=$ac_optarg ;;
1035 -libdir |
--libdir |
--libdi |
--libd)
1037 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1038 libdir
=$ac_optarg ;;
1040 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1041 |
--libexe |
--libex |
--libe)
1042 ac_prev
=libexecdir
;;
1043 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1044 |
--libexe=* |
--libex=* |
--libe=*)
1045 libexecdir
=$ac_optarg ;;
1047 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1048 ac_prev
=localedir
;;
1049 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1050 localedir
=$ac_optarg ;;
1052 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1053 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1054 ac_prev
=localstatedir
;;
1055 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1056 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1057 localstatedir
=$ac_optarg ;;
1059 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1061 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1062 mandir
=$ac_optarg ;;
1064 -nfp |
--nfp |
--nf)
1065 # Obsolete; use --without-fp.
1068 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1069 |
--no-cr |
--no-c |
-n)
1072 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1073 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1076 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1077 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1078 |
--oldin |
--oldi |
--old |
--ol |
--o)
1079 ac_prev
=oldincludedir
;;
1080 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1081 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1082 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1083 oldincludedir
=$ac_optarg ;;
1085 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1087 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1088 prefix
=$ac_optarg ;;
1090 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1091 |
--program-pre |
--program-pr |
--program-p)
1092 ac_prev
=program_prefix
;;
1093 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1094 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1095 program_prefix
=$ac_optarg ;;
1097 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1098 |
--program-suf |
--program-su |
--program-s)
1099 ac_prev
=program_suffix
;;
1100 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1101 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1102 program_suffix
=$ac_optarg ;;
1104 -program-transform-name |
--program-transform-name \
1105 |
--program-transform-nam |
--program-transform-na \
1106 |
--program-transform-n |
--program-transform- \
1107 |
--program-transform |
--program-transfor \
1108 |
--program-transfo |
--program-transf \
1109 |
--program-trans |
--program-tran \
1110 |
--progr-tra |
--program-tr |
--program-t)
1111 ac_prev
=program_transform_name
;;
1112 -program-transform-name=* |
--program-transform-name=* \
1113 |
--program-transform-nam=* |
--program-transform-na=* \
1114 |
--program-transform-n=* |
--program-transform-=* \
1115 |
--program-transform=* |
--program-transfor=* \
1116 |
--program-transfo=* |
--program-transf=* \
1117 |
--program-trans=* |
--program-tran=* \
1118 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1119 program_transform_name
=$ac_optarg ;;
1121 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1123 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1124 pdfdir
=$ac_optarg ;;
1126 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1128 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1131 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1132 |
-silent |
--silent |
--silen |
--sile |
--sil)
1135 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1137 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1139 sbindir
=$ac_optarg ;;
1141 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1142 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1143 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1145 ac_prev
=sharedstatedir
;;
1146 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1147 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1148 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1150 sharedstatedir
=$ac_optarg ;;
1152 -site |
--site |
--sit)
1154 -site=* |
--site=* |
--sit=*)
1157 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1159 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1160 srcdir
=$ac_optarg ;;
1162 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1163 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1164 ac_prev
=sysconfdir
;;
1165 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1166 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1167 sysconfdir
=$ac_optarg ;;
1169 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1170 ac_prev
=target_alias
;;
1171 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1172 target_alias
=$ac_optarg ;;
1174 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1177 -version |
--version |
--versio |
--versi |
--vers |
-V)
1178 ac_init_version
=: ;;
1181 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1184 as_fn_error
"invalid package name: $ac_useropt"
1185 ac_useropt_orig
=$ac_useropt
1186 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1192 ac_unrecognized_sep
=', ';;
1194 eval with_
$ac_useropt=\
$ac_optarg ;;
1196 -without-* |
--without-*)
1197 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1200 as_fn_error
"invalid package name: $ac_useropt"
1201 ac_useropt_orig
=$ac_useropt
1202 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1208 ac_unrecognized_sep
=', ';;
1210 eval with_
$ac_useropt=no
;;
1213 # Obsolete; use --with-x.
1216 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1217 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1218 ac_prev
=x_includes
;;
1219 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1220 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1221 x_includes
=$ac_optarg ;;
1223 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1224 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1225 ac_prev
=x_libraries
;;
1226 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1227 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1228 x_libraries
=$ac_optarg ;;
1230 -*) as_fn_error
"unrecognized option: \`$ac_option'
1231 Try \`$0 --help' for more information."
1235 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1236 # Reject names that are not valid shell variable names.
1237 case $ac_envvar in #(
1238 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1239 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1241 eval $ac_envvar=\
$ac_optarg
1242 export $ac_envvar ;;
1245 # FIXME: should be removed in autoconf 3.0.
1246 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1247 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1248 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1249 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1255 if test -n "$ac_prev"; then
1256 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1257 as_fn_error
"missing argument to $ac_option"
1260 if test -n "$ac_unrecognized_opts"; then
1261 case $enable_option_checking in
1263 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1264 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1268 # Check all directory arguments for consistency.
1269 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1270 datadir sysconfdir sharedstatedir localstatedir includedir \
1271 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1272 libdir localedir mandir
1274 eval ac_val
=\$
$ac_var
1275 # Remove trailing slashes.
1278 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1279 eval $ac_var=\
$ac_val;;
1281 # Be sure to have absolute directory names.
1283 [\\/$
]* | ?
:[\\/]* ) continue;;
1284 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1286 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1294 target
=$target_alias
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x
; then
1298 if test "x$build_alias" = x
; then
1299 cross_compiling
=maybe
1300 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1301 If a cross compiler is detected then cross compile mode will be used." >&2
1302 elif test "x$build_alias" != "x$host_alias"; then
1308 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1310 test "$silent" = yes && exec 6>/dev
/null
1313 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di
=`ls -di .` &&
1315 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1316 as_fn_error
"working directory cannot be determined"
1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318 as_fn_error
"pwd does not report name of working directory"
1321 # Find the source files, if location was not specified.
1322 if test -z "$srcdir"; then
1323 ac_srcdir_defaulted
=yes
1324 # Try the directory containing this script, then the parent directory.
1325 ac_confdir
=`$as_dirname -- "$as_myself" ||
1326 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327 X"$as_myself" : 'X\(//\)[^/]' \| \
1328 X"$as_myself" : 'X\(//\)$' \| \
1329 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330 $as_echo X"$as_myself" |
1331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1353 ac_srcdir_defaulted
=no
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1356 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1357 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1359 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1361 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1363 # When building in place, set srcdir=.
1364 if test "$ac_abs_confdir" = "$ac_pwd"; then
1367 # Remove unnecessary trailing slashes from srcdir.
1368 # Double slashes in file names in object file debugging info
1369 # mess up M-x gdb in Emacs.
1371 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 as_fn_error
"path to source, $srcdir, contains spaces"
1378 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1380 for ac_var
in $ac_precious_vars; do
1381 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1383 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures this package to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1459 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1463 if test -n "$ac_init_help"; then
1468 --disable-option-checking ignore unrecognized
--enable/--with options
1469 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1470 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1471 --enable-as-accelerator-for=ARG
1472 build as offload target compiler. Specify offload
1474 --enable-offload-targets=LIST
1475 enable offloading to devices from comma-separated
1476 LIST of TARGET
[=DIR
]. Use optional path to
find
1477 offload target compiler during the build
1478 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1479 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1480 --enable-compressed-debug-sections={all
,gas
,gold
,ld
}
1481 Enable compressed debug sections
for gas
, gold or ld
1483 --disable-libquadmath do not build libquadmath directory
1484 --disable-libquadmath-support
1485 disable libquadmath support
for Fortran
1486 --enable-libada build libada directory
1487 --enable-libssp build libssp directory
1488 --disable-libstdcxx do not build libstdc
++-v3 directory
1489 --enable-liboffloadmic=ARG
1490 build liboffloadmic
[ARG
={no
,host,target
}]
1491 --enable-static-libjava[=ARG
]
1492 build static libjava
[default
=no
]
1493 --enable-bootstrap enable bootstrapping
[yes if native build
]
1494 --disable-isl-version-check
1495 disable check
for ISL version
1496 --enable-lto enable link
time optimization support
1497 --enable-linker-plugin-configure-flags=FLAGS
1498 additional flags
for configuring linker plugins
1500 --enable-linker-plugin-flags=FLAGS
1501 additional flags
for configuring and building linker
1503 --enable-stage1-languages[=all
]
1504 choose additional languages to build during stage1.
1505 Mostly useful
for compiler development
1506 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1508 --enable-vtable-verify Enable vtable verification feature
1509 --enable-serial-[{host,target,build}-]configure
1510 force sequential configuration of sub-packages for
1511 the host, target or build machine, or all
1513 --enable-maintainer-mode
1514 enable make rules and dependencies not useful (and
1515 sometimes confusing) to the casual installer
1516 --enable-stage1-checking[=all]
1517 choose additional checking for stage1 of the
1519 --enable-werror enable -Werror in bootstrap stage2 and later
1520 --enable-host-shared build host code as shared libraries
1523 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1524 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1525 --with-build-libsubdir=DIR Directory where to find libraries for build system
1526 --with-system-zlib use installed libz
1527 --with-mpc=PATH specify prefix directory for installed MPC package.
1528 Equivalent to --with-mpc-include=PATH/include plus
1529 --with-mpc-lib=PATH/lib
1530 --with-mpc-include=PATH specify directory for installed MPC include files
1531 --with-mpc-lib=PATH specify directory for the installed MPC library
1532 --with-mpfr-dir=PATH this option has been REMOVED
1533 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1534 Equivalent to --with-mpfr-include=PATH/include plus
1535 --with-mpfr-lib=PATH/lib
1536 --with-mpfr-include=PATH
1537 specify directory for installed MPFR include files
1538 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1539 --with-gmp-dir=PATH this option has been REMOVED
1540 --with-gmp=PATH specify prefix directory for the installed GMP
1541 package. Equivalent to
1542 --with-gmp-include=PATH/include plus
1543 --with-gmp-lib=PATH/lib
1544 --with-gmp-include=PATH specify directory for installed GMP include files
1545 --with-gmp-lib=PATH specify directory for the installed GMP library
1546 --with-stage1-libs=LIBS libraries for stage1
1547 --with-stage1-ldflags=FLAGS
1548 linker flags for stage1
1549 --with-boot-libs=LIBS libraries for stage2 and later
1550 --with-boot-ldflags=FLAGS
1551 linker flags for stage2 and later
1552 --with-isl=PATH Specify prefix directory for the installed ISL
1553 package. Equivalent to
1554 --with-isl-include=PATH/include plus
1555 --with-isl-lib=PATH/lib
1556 --with-isl-include=PATH Specify directory for installed ISL include files
1557 --with-isl-lib=PATH Specify the directory for the installed ISL library
1558 --with-build-sysroot=SYSROOT
1559 use sysroot as the system root during the build
1560 --with-debug-prefix-map='A
=B C
=D ...
'
1561 map A to B, C to D ... in debug information
1562 --with-build-config='NAME NAME2...
'
1563 use config/NAME.mk build configuration
1564 --with-build-time-tools=PATH
1565 use given path to find target tools during the build
1567 Some influential environment variables:
1568 CC C compiler command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1571 nonstandard directory <lib dir>
1572 LIBS libraries to pass to the linker, e.g. -l<library>
1573 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1574 you have headers in a nonstandard directory <include dir>
1575 CXX C++ compiler command
1576 CXXFLAGS C++ compiler flags
1578 additional configure arguments for build directories
1580 additional configure arguments for host directories
1582 additional configure arguments for target directories
1585 DLLTOOL DLLTOOL for the host
1587 LIPO LIPO for the host
1589 RANLIB RANLIB for the host
1590 STRIP STRIP for the host
1591 WINDRES WINDRES for the host
1592 WINDMC WINDMC for the host
1593 OBJCOPY OBJCOPY for the host
1594 OBJDUMP OBJDUMP for the host
1595 READELF READELF for the host
1605 GFORTRAN for the target
1613 DLLTOOL for the target
1621 OBJCOPY for the target
1623 OBJDUMP for the target
1625 RANLIB for the target
1627 READELF for the target
1629 STRIP for the target
1631 WINDRES for the target
1633 WINDMC for the target
1635 Use these variables to override the choices made by `configure' or to
help
1636 it to
find libraries and programs with nonstandard names
/locations.
1638 Report bugs to the package provider.
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1652 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1654 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1659 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1662 ac_abs_top_builddir
=$ac_pwd
1663 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir
=$ac_top_build_prefix
1668 .
) # We are building in place.
1670 ac_top_srcdir
=$ac_top_builddir_sub
1671 ac_abs_top_srcdir
=$ac_pwd ;;
1672 [\\/]* | ?
:[\\/]* ) # Absolute name.
1673 ac_srcdir
=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir
=$srcdir
1675 ac_abs_top_srcdir
=$srcdir ;;
1677 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1681 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1683 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1694 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1702 generated by GNU Autoconf
2.64
1704 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1705 This configure
script is free software
; the Free Software Foundation
1706 gives unlimited permission to copy
, distribute and modify it.
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile
()
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 rm -f conftest.
$ac_objext
1722 if { { ac_try
="$ac_compile"
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1751 } # ac_fn_c_try_compile
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1763 *) ac_try_echo
=$ac_try;;
1765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1769 if test -s conftest.err
; then
1770 grep -v '^ *+' conftest.err
>conftest.er1
1771 cat conftest.er1
>&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.
$ac_objext; then :
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.
$ac_ext >&5
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1789 } # ac_fn_cxx_try_compile
1791 # ac_fn_cxx_try_link LINENO
1792 # -------------------------
1793 # Try to link conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_cxx_try_link
()
1796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1797 rm -f conftest.
$ac_objext conftest
$ac_exeext
1798 if { { ac_try
="$ac_link"
1800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_cxx_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest$ac_exeext && {
1817 test "$cross_compiling" = yes ||
1818 $as_test_x conftest$ac_exeext
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1827 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1828 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1829 # interfere with the next link command; also delete a directory that is
1830 # left behind by Apple's compiler. We do this before executing the actions.
1831 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835 } # ac_fn_cxx_try_link
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext conftest$ac_exeext
1844 if { { ac_try="$ac_link"
1846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1847 *) ac_try_echo
=$ac_try;;
1849 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1853 if test -s conftest.err
; then
1854 grep -v '^ *+' conftest.err
>conftest.er1
1855 cat conftest.er1
>&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest
$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 $as_test_x conftest
$ac_exeext
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.
$ac_ext >&5
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1881 } # ac_fn_c_try_link
1882 cat >config.log
<<_ACEOF
1883 This file contains any messages produced by compilers while
1884 running configure, to aid debugging if configure makes a mistake.
1886 It was created by $as_me, which was
1887 generated by GNU Autoconf 2.64. Invocation command line was
1899 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1900 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1901 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1902 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1903 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1905 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1906 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1908 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1909 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1910 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1911 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1912 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1913 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1914 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1922 test -z "$as_dir" && as_dir
=.
1923 $as_echo "PATH: $as_dir"
1939 # Keep a trace of the command line.
1940 # Strip out --no-create and --no-recursion so they do not pile up.
1941 # Strip out --silent because we don't want to record it for future runs.
1942 # Also quote any args containing shell meta-characters.
1943 # Make two passes to allow for proper duplicate-argument suppression.
1947 ac_must_keep_next
=false
1953 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1954 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1955 |
-silent |
--silent |
--silen |
--sile |
--sil)
1958 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1961 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1963 as_fn_append ac_configure_args1
" '$ac_arg'"
1964 if test $ac_must_keep_next = true
; then
1965 ac_must_keep_next
=false
# Got value, back to normal.
1968 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1969 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1970 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1971 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1972 case "$ac_configure_args0 " in
1973 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1976 -* ) ac_must_keep_next
=true
;;
1979 as_fn_append ac_configure_args
" '$ac_arg'"
1984 { ac_configure_args0
=; unset ac_configure_args0
;}
1985 { ac_configure_args1
=; unset ac_configure_args1
;}
1987 # When interrupted or exit'd, cleanup temporary files, and complete
1988 # config.log. We remove comments because anyway the quotes in there
1989 # would cause problems or look ugly.
1990 # WARNING: Use '\'' to represent an apostrophe within the trap.
1991 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1992 trap 'exit_status=$?
1993 # Save into config.log some information that might help in debugging.
1998 ## ---------------- ##
1999 ## Cache variables. ##
2000 ## ---------------- ##
2003 # The following way of writing the cache mishandles newlines in values,
2005 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2006 eval ac_val=\$$ac_var
2010 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2011 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2014 _ | IFS | as_nl) ;; #(
2015 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2016 *) { eval $ac_var=; unset $ac_var;} ;;
2021 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2022 *${as_nl}ac_space=\ *)
2024 "s/'\''/'\''\\\\'\'''\''/g;
2025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2036 ## ----------------- ##
2037 ## Output variables. ##
2038 ## ----------------- ##
2041 for ac_var in $ac_subst_vars
2043 eval ac_val=\$$ac_var
2045 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047 $as_echo "$ac_var='\''$ac_val'\''"
2051 if test -n "$ac_subst_files"; then
2053 ## ------------------- ##
2054 ## File substitutions. ##
2055 ## ------------------- ##
2058 for ac_var
in $ac_subst_files
2060 eval ac_val
=\$
$ac_var
2062 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2064 $as_echo "$ac_var='\''$ac_val'\''"
2069 if test -s confdefs.h; then
2079 test "$ac_signal" != 0 &&
2080 $as_echo "$as_me: caught signal $ac_signal"
2081 $as_echo "$as_me: exit $exit_status"
2083 rm -f core *.core core.conftest.* &&
2084 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2087 for ac_signal
in 1 2 13 15; do
2088 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2093 rm -f -r conftest
* confdefs.h
2095 $as_echo "/* confdefs.h */" > confdefs.h
2097 # Predefined preprocessor variables.
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_NAME "$PACKAGE_NAME"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2111 cat >>confdefs.h
<<_ACEOF
2112 #define PACKAGE_STRING "$PACKAGE_STRING"
2115 cat >>confdefs.h
<<_ACEOF
2116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2119 cat >>confdefs.h
<<_ACEOF
2120 #define PACKAGE_URL "$PACKAGE_URL"
2124 # Let the site file select an alternate cache file if it wants to.
2125 # Prefer an explicitly selected file to automatically selected ones.
2128 if test -n "$CONFIG_SITE"; then
2129 ac_site_file1
=$CONFIG_SITE
2130 elif test "x$prefix" != xNONE
; then
2131 ac_site_file1
=$prefix/share
/config.site
2132 ac_site_file2
=$prefix/etc
/config.site
2134 ac_site_file1
=$ac_default_prefix/share
/config.site
2135 ac_site_file2
=$ac_default_prefix/etc
/config.site
2137 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2139 test "x$ac_site_file" = xNONE
&& continue
2140 if test -r "$ac_site_file"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2142 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2143 sed 's/^/| /' "$ac_site_file" >&5
2148 if test -r "$cache_file"; then
2149 # Some versions of bash will fail to source /dev/null (special
2150 # files actually), so we avoid doing that.
2151 if test -f "$cache_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2153 $as_echo "$as_me: loading cache $cache_file" >&6;}
2155 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2156 *) .
"./$cache_file";;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2161 $as_echo "$as_me: creating cache $cache_file" >&6;}
2165 # Check that the precious variables saved in the cache have kept the same
2167 ac_cache_corrupted
=false
2168 for ac_var
in $ac_precious_vars; do
2169 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2170 eval ac_new_set
=\
$ac_env_${ac_var}_set
2171 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2172 eval ac_new_val
=\
$ac_env_${ac_var}_value
2173 case $ac_old_set,$ac_new_set in
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2176 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2177 ac_cache_corrupted
=: ;;
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2180 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2181 ac_cache_corrupted
=: ;;
2184 if test "x$ac_old_val" != "x$ac_new_val"; then
2185 # differences in whitespace do not lead to failure.
2186 ac_old_val_w
=`echo x $ac_old_val`
2187 ac_new_val_w
=`echo x $ac_new_val`
2188 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2190 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2191 ac_cache_corrupted
=:
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2194 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2195 eval $ac_var=\
$ac_old_val
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2198 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2200 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2203 # Pass precious variables to config.status.
2204 if test "$ac_new_set" = set; then
2206 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2207 *) ac_arg
=$ac_var=$ac_new_val ;;
2209 case " $ac_configure_args " in
2210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2211 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2215 if $ac_cache_corrupted; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2219 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2220 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2222 ## -------------------- ##
2223 ## Main body of script. ##
2224 ## -------------------- ##
2227 ac_cpp
='$CPP $CPPFLAGS'
2228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2241 # if PWD already has a value, it is probably wrong.
2242 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2244 # Export original configure arguments for use by sub-configures.
2245 # Quote arguments with shell meta charatcers.
2246 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2247 set -- "$progname" "$@"
2251 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2252 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2253 # if the argument is of the form -foo=baz, quote the baz part only
2254 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2257 # Add the quoted argument to the list.
2258 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2260 if test "$silent" = yes; then
2261 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2263 # Remove the initial space we just introduced and, as these will be
2264 # expanded by make, quote '$'.
2265 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2268 # Find the build, host, and target systems.
2270 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2271 for ac_t
in install-sh
install.sh shtool
; do
2272 if test -f "$ac_dir/$ac_t"; then
2274 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2279 if test -z "$ac_aux_dir"; then
2280 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2283 # These three variables are undocumented and unsupported,
2284 # and are intended to be withdrawn in a future Autoconf release.
2285 # They can cause serious problems if a builder's source tree is in a directory
2286 # whose full name contains unusual characters.
2287 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2288 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2289 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2292 # Make sure we can run config.sub.
2293 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2294 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2297 $as_echo_n "checking build system type... " >&6; }
2298 if test "${ac_cv_build+set}" = set; then :
2299 $as_echo_n "(cached) " >&6
2301 ac_build_alias
=$build_alias
2302 test "x$ac_build_alias" = x
&&
2303 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2304 test "x$ac_build_alias" = x
&&
2305 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2306 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2307 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2311 $as_echo "$ac_cv_build" >&6; }
2312 case $ac_cv_build in
2314 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2317 ac_save_IFS
=$IFS; IFS
='-'
2323 # Remember, the first character of IFS is used to create $*,
2324 # except with old shells:
2327 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2330 case ${build_alias} in
2331 "") build_noncanonical
=${build} ;;
2332 *) build_noncanonical
=${build_alias} ;;
2337 case ${host_alias} in
2338 "") host_noncanonical
=${build_noncanonical} ;;
2339 *) host_noncanonical
=${host_alias} ;;
2344 case ${target_alias} in
2345 "") target_noncanonical
=${host_noncanonical} ;;
2346 *) target_noncanonical
=${target_alias} ;;
2352 test "$host_noncanonical" = "$target_noncanonical" &&
2353 test "$program_prefix$program_suffix$program_transform_name" = \
2355 program_transform_name
=s
,y
,y
,
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2358 $as_echo_n "checking host system type... " >&6; }
2359 if test "${ac_cv_host+set}" = set; then :
2360 $as_echo_n "(cached) " >&6
2362 if test "x$host_alias" = x
; then
2363 ac_cv_host
=$ac_cv_build
2365 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2366 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2371 $as_echo "$ac_cv_host" >&6; }
2374 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2377 ac_save_IFS
=$IFS; IFS
='-'
2383 # Remember, the first character of IFS is used to create $*,
2384 # except with old shells:
2387 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2391 $as_echo_n "checking target system type... " >&6; }
2392 if test "${ac_cv_target+set}" = set; then :
2393 $as_echo_n "(cached) " >&6
2395 if test "x$target_alias" = x
; then
2396 ac_cv_target
=$ac_cv_host
2398 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2399 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2404 $as_echo "$ac_cv_target" >&6; }
2405 case $ac_cv_target in
2407 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2409 target
=$ac_cv_target
2410 ac_save_IFS
=$IFS; IFS
='-'
2416 # Remember, the first character of IFS is used to create $*,
2417 # except with old shells:
2420 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2423 # The aliases save the names the user supplied, while $host etc.
2424 # will get canonicalized.
2425 test -n "$target_alias" &&
2426 test "$program_prefix$program_suffix$program_transform_name" = \
2428 program_prefix
=${target_alias}-
2430 test "$program_prefix" != NONE
&&
2431 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2432 # Use a double $ so make ignores it.
2433 test "$program_suffix" != NONE
&&
2434 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2435 # Double any \ or $.
2436 # By default was `s,x,x', remove it if useless.
2437 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2438 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2442 # Get 'install' or 'install-sh' and its variants.
2443 # Find a good install program. We prefer a C program (faster),
2444 # so one script is as good as another. But avoid the broken or
2445 # incompatible versions:
2446 # SysV /etc/install, /usr/sbin/install
2447 # SunOS /usr/etc/install
2448 # IRIX /sbin/install
2450 # AmigaOS /C/install, which installs bootblocks on floppy discs
2451 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2452 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2454 # OS/2's system install, which has a completely different semantic
2455 # ./install, which can be erroneously created by make from ./install.sh.
2456 # Reject install programs that cannot install multiple files.
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2458 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2459 if test -z "$INSTALL"; then
2460 if test "${ac_cv_path_install+set}" = set; then :
2461 $as_echo_n "(cached) " >&6
2463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir
=.
2468 # Account for people who put trailing slashes in PATH elements.
2469 case $as_dir/ in #((
2470 .
/ | .
// |
/[cC
]/* | \
2471 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2472 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2475 # OSF1 and SCO ODT 3.0 have their own names for install.
2476 # Don't use installbsd from OSF since it installs stuff as root
2478 for ac_prog
in ginstall scoinst
install; do
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2481 if test $ac_prog = install &&
2482 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2483 # AIX install. It has an incompatible calling convention.
2485 elif test $ac_prog = install &&
2486 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2487 # program-specific install script used by HP pwplus--don't use.
2490 rm -rf conftest.one conftest.two conftest.dir
2491 echo one
> conftest.one
2492 echo two
> conftest.two
2494 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2495 test -s conftest.one
&& test -s conftest.two
&&
2496 test -s conftest.dir
/conftest.one
&&
2497 test -s conftest.dir
/conftest.two
2499 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2512 rm -rf conftest.one conftest.two conftest.dir
2515 if test "${ac_cv_path_install+set}" = set; then
2516 INSTALL
=$ac_cv_path_install
2518 # As a last resort, use the slow shell script. Don't cache a
2519 # value for INSTALL within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 # removed, or if the value is a relative name.
2522 INSTALL
=$ac_install_sh
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2526 $as_echo "$INSTALL" >&6; }
2528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2529 # It thinks the first close brace ends the variable substitution.
2530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2534 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2537 $as_echo_n "checking whether ln works... " >&6; }
2538 if test "${acx_cv_prog_LN+set}" = set; then :
2539 $as_echo_n "(cached) " >&6
2541 rm -f conftestdata_t
2542 echo >conftestdata_f
2543 if ln conftestdata_f conftestdata_t
2>/dev
/null
2549 rm -f conftestdata_f conftestdata_t
2552 if test $acx_cv_prog_LN = no
; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2555 $as_echo "no, using $LN" >&6; }
2557 LN
="$acx_cv_prog_LN"
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2563 $as_echo_n "checking whether ln -s works... " >&6; }
2565 if test "$LN_S" = "ln -s"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2567 $as_echo "yes" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2570 $as_echo "no, using $LN_S" >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2574 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2575 if test "${ac_cv_path_SED+set}" = set; then :
2576 $as_echo_n "(cached) " >&6
2578 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2579 for ac_i
in 1 2 3 4 5 6 7; do
2580 ac_script
="$ac_script$as_nl$ac_script"
2582 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2583 { ac_script
=; unset ac_script
;}
2584 if test -z "$SED"; then
2585 ac_path_SED_found
=false
2586 # Loop through the user's path and test for each of PROGNAME-LIST
2587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir
=.
2592 for ac_prog
in sed gsed
; do
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2595 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2596 # Check for GNU ac_path_SED and select it if it is found.
2597 # Check for GNU $ac_path_SED
2598 case `"$ac_path_SED" --version 2>&1` in
2600 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2603 $as_echo_n 0123456789 >"conftest.in"
2606 cat "conftest.in" "conftest.in" >"conftest.tmp"
2607 mv "conftest.tmp" "conftest.in"
2608 cp "conftest.in" "conftest.nl"
2609 $as_echo '' >> "conftest.nl"
2610 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2611 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2612 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2613 if test $ac_count -gt ${ac_path_SED_max-0}; then
2614 # Best one so far, save it but keep looking for a better one
2615 ac_cv_path_SED
="$ac_path_SED"
2616 ac_path_SED_max
=$ac_count
2618 # 10*(2^10) chars as input seems more than enough
2619 test $ac_count -gt 10 && break
2621 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2624 $ac_path_SED_found && break 3
2629 if test -z "$ac_cv_path_SED"; then
2630 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2638 $as_echo "$ac_cv_path_SED" >&6; }
2639 SED
="$ac_cv_path_SED"
2642 for ac_prog
in gawk mawk nawk
awk
2644 # Extract the first word of "$ac_prog", so it can be a program name with args.
2645 set dummy
$ac_prog; ac_word
=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if test "${ac_cv_prog_AWK+set}" = set; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$AWK"; then
2652 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_AWK
="$ac_prog"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$AWK"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2674 $as_echo "$AWK" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2681 test -n "$AWK" && break
2685 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2687 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2689 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2690 INSTALL
="${srcpwd}/install-sh -c"
2693 # Set srcdir to "." if that's what it is.
2694 # This is important for multilib support.
2696 if test "${pwd}" = "${srcpwd}" ; then
2704 ### To add a new directory to the tree, first choose whether it is a target
2705 ### or a host dependent tool. Then put it into the appropriate list
2706 ### (library or tools, host or target), doing a dependency sort.
2708 # Subdirs will be configured in the order listed in build_configdirs,
2709 # configdirs, or target_configdirs; see the serialization section below.
2711 # Dependency sorting is only needed when *configuration* must be done in
2712 # a particular order. In all cases a dependency should be specified in
2713 # the Makefile, whether or not it's implicitly specified here.
2715 # Double entries in build_configdirs, configdirs, or target_configdirs may
2716 # cause circular dependencies and break everything horribly.
2718 # these library is used by various programs built for the build
2721 build_libs
="build-libiberty build-libcpp"
2723 # these tools are built for the build environment
2724 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2726 # these libraries are used by various programs built for the host environment
2728 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2730 # these tools are built for the host environment
2731 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2732 # know that we are building the simulator.
2733 # binutils, gas and ld appear in that order because it makes sense to run
2734 # "make check" in that particular order.
2735 # If --enable-gold is used, "gold" may replace "ld".
2736 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2738 # libgcj represents the runtime libraries only used by gcj.
2739 libgcj
="target-libffi \
2743 # these libraries are built for the target environment, and are built after
2744 # the host libraries and the host tools (which may be a cross compiler)
2745 # Note that libiberty is not a target library.
2746 target_libraries
="target-libgcc \
2747 target-libbacktrace \
2752 target-liboffloadmic \
2755 target-libstdc++-v3 \
2756 target-libsanitizer \
2760 target-libquadmath \
2761 target-libgfortran \
2768 # these tools are built using the target libraries, and are intended to
2769 # run only in the target environment
2771 # note: any program that *uses* libraries that are in the "target_libraries"
2772 # list belongs in this list.
2774 target_tools
="target-rda"
2776 ################################################################################
2778 ## All tools belong in one of the four categories, and are assigned above
2779 ## We assign ${configdirs} this way to remove all embedded newlines. This
2780 ## is important because configure will choke if they ever get through.
2781 ## ${configdirs} is directories we build using the host tools.
2782 ## ${target_configdirs} is directories we build using the target tools.
2783 configdirs
=`echo ${host_libs} ${host_tools}`
2784 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2785 build_configdirs
=`echo ${build_libs} ${build_tools}`
2789 ################################################################################
2791 srcname
="gnu development package"
2793 # This gets set non-empty for some net releases of packages.
2796 # Define is_cross_compiler to save on calls to 'test'.
2798 if test x
"${host}" = x
"${target}" ; then
2799 is_cross_compiler
=no
2801 is_cross_compiler
=yes
2804 # Find the build and target subdir names.
2806 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2807 # have matching libraries, they should use host libraries: Makefile.tpl
2808 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2809 # However, they still use the build modules, because the corresponding
2810 # host modules (e.g. bison) are only built for the host when bootstrap
2812 # - build_subdir is where we find build modules, and never changes.
2813 # - build_libsubdir is where we find build libraries, and can be overridden.
2815 # Prefix 'build-' so this never conflicts with target_subdir.
2816 build_subdir
="build-${build_noncanonical}"
2818 # Check whether --with-build-libsubdir was given.
2819 if test "${with_build_libsubdir+set}" = set; then :
2820 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2822 build_libsubdir
="$build_subdir"
2825 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2826 if ( test $srcdir = .
&& test -d gcc
) \
2827 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2828 host_subdir
="host-${host_noncanonical}"
2833 target_subdir
=${target_noncanonical}
2835 # Be sure to cover against remnants of an in-tree build.
2836 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2837 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2838 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2841 # Skipdirs are removed silently.
2843 # Noconfigdirs are removed loudly.
2847 # Make sure we don't let GNU ld be added if we didn't want it.
2848 if test x
$with_gnu_ld = xno
; then
2850 noconfigdirs
="$noconfigdirs ld gold"
2854 # Make sure we don't let GNU as be added if we didn't want it.
2855 if test x
$with_gnu_as = xno
; then
2857 noconfigdirs
="$noconfigdirs gas"
2862 # Check whether --with-system-zlib was given.
2863 if test "${with_system_zlib+set}" = set; then :
2864 withval
=$with_system_zlib;
2867 # Make sure we don't let ZLIB be added if we didn't want it.
2868 if test x
$with_system_zlib = xyes
; then
2869 use_included_zlib
=no
2870 noconfigdirs
="$noconfigdirs zlib"
2873 # some tools are so dependent upon X11 that if we're not building with X,
2874 # it's not even worth trying to configure, much less build, that tool.
2877 yes |
"") ;; # the default value for this tree is that X11 is available
2879 skipdirs
="${skipdirs} tk itcl libgui"
2880 # We won't be able to build gdbtk without X.
2883 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2886 # Some are only suitable for cross toolchains.
2887 # Remove these if host=target.
2888 cross_only
="target-libgloss target-newlib target-opcodes"
2890 case $is_cross_compiler in
2891 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2894 # If both --with-headers and --with-libs are specified, default to
2896 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2897 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2898 if test x
"${with_newlib}" = x
; then
2903 # Recognize --with-newlib/--without-newlib.
2904 case ${with_newlib} in
2905 no
) skipdirs
="${skipdirs} target-newlib" ;;
2906 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2909 # Check whether --enable-as-accelerator-for was given.
2910 if test "${enable_as_accelerator_for+set}" = set; then :
2911 enableval
=$enable_as_accelerator_for;
2915 # Check whether --enable-offload-targets was given.
2916 if test "${enable_offload_targets+set}" = set; then :
2917 enableval
=$enable_offload_targets;
2918 if test x
"$enable_offload_targets" = x
; then
2919 as_fn_error
"no offload targets specified" "$LINENO" 5
2923 enable_offload_targets
=
2927 # Handle --enable-gold, --enable-ld.
2928 # --disable-gold [--enable-ld]
2929 # Build only ld. Default option.
2930 # --enable-gold [--enable-ld]
2931 # Build both gold and ld. Install gold as "ld.gold", install ld
2932 # as "ld.bfd" and "ld".
2933 # --enable-gold=default [--enable-ld]
2934 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2935 # install ld as "ld.bfd".
2936 # --enable-gold[=default] --disable-ld
2937 # Build only gold, which is then installed as both "ld.gold" and "ld".
2938 # --enable-gold --enable-ld=default
2939 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2941 # In other words, ld is default
2942 # --enable-gold=default --enable-ld=default
2946 # Check whether --enable-gold was given.
2947 if test "${enable_gold+set}" = set; then :
2948 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2953 case "${ENABLE_GOLD}" in
2955 # Check for ELF target.
2958 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2959 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2960 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2961 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2963 *-*-linux*aout
* |
*-*-linux*oldld
*)
2971 if test "$is_elf" = "yes"; then
2972 # Check for target supported by gold.
2974 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2975 | aarch64
*-*-* | tilegx
*-*-*)
2976 configdirs
="$configdirs gold"
2977 if test x
${ENABLE_GOLD} = xdefault
; then
2988 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2992 # Check whether --enable-ld was given.
2993 if test "${enable_ld+set}" = set; then :
2994 enableval
=$enable_ld; ENABLE_LD
=$enableval
3000 case "${ENABLE_LD}" in
3002 if test x
${default_ld} != x
; then
3003 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3009 if test x
${ENABLE_GOLD} != xyes
; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3011 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3013 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3016 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3021 # Decide the default method for compressing debug sections.
3022 # Provide a configure time option to override our default.
3023 # Check whether --enable-compressed_debug_sections was given.
3024 if test "${enable_compressed_debug_sections+set}" = set; then :
3025 enableval
=$enable_compressed_debug_sections;
3026 if test x
"$enable_compressed_debug_sections" = xyes
; then
3027 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3031 enable_compressed_debug_sections
=
3035 # Configure extra directories which are host specific
3039 configdirs
="$configdirs libtermcap" ;;
3042 # A target can indicate whether a language isn't supported for some reason.
3043 # Only spaces may be used in this macro; not newlines or tabs.
3044 unsupported_languages
=
3046 # Remove more programs from consideration, based on the host or
3047 # target this usually means that a port of the program doesn't
3051 i
[3456789]86-*-msdosdjgpp*)
3052 noconfigdirs
="$noconfigdirs tcl tk itcl"
3057 # Check whether --enable-libquadmath was given.
3058 if test "${enable_libquadmath+set}" = set; then :
3059 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3061 ENABLE_LIBQUADMATH
=yes
3064 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3065 noconfigdirs
="$noconfigdirs target-libquadmath"
3069 # Check whether --enable-libquadmath-support was given.
3070 if test "${enable_libquadmath_support+set}" = set; then :
3071 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3073 ENABLE_LIBQUADMATH_SUPPORT
=yes
3076 enable_libquadmath_support
=
3077 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3078 enable_libquadmath_support
=no
3082 # Check whether --enable-libada was given.
3083 if test "${enable_libada+set}" = set; then :
3084 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3089 if test "${ENABLE_LIBADA}" != "yes" ; then
3090 noconfigdirs
="$noconfigdirs gnattools"
3093 # Check whether --enable-libssp was given.
3094 if test "${enable_libssp+set}" = set; then :
3095 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3101 # Check whether --enable-libstdcxx was given.
3102 if test "${enable_libstdcxx+set}" = set; then :
3103 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3105 ENABLE_LIBSTDCXX
=default
3108 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3109 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3112 # If this is accelerator compiler and its target is intelmic we enable
3113 # target liboffloadmic by default. If this is compiler with offloading
3114 # for intelmic we enable host liboffloadmic by default. Otherwise
3115 # liboffloadmic is disabled by default.
3116 # Check whether --enable-liboffloadmic was given.
3117 if test "${enable_liboffloadmic+set}" = set; then :
3118 enableval
=$enable_liboffloadmic; case "$enableval" in
3120 enable_liboffloadmic
=$enableval ;;
3122 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3125 if test x
"$enable_as_accelerator_for" != x
; then
3127 *-intelmic-* |
*-intelmicemul-*)
3128 enable_liboffloadmic
=target
3129 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3132 enable_liboffloadmic
=no
3136 case "${enable_offload_targets}" in
3137 *-intelmic-* |
*-intelmicemul-*)
3138 enable_liboffloadmic
=host
3139 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3142 enable_liboffloadmic
=no
3150 # Save it here so that, even in case of --enable-libgcj, if the Java
3151 # front-end isn't enabled, we still get libgcj disabled.
3152 libgcj_saved
=$libgcj
3153 case $enable_libgcj in
3155 # If we reset it here, it won't get added to noconfigdirs in the
3156 # target-specific build rules, so it will be forcibly enabled
3157 # (unless the Java language itself isn't enabled).
3161 # Make sure we get it printed in the list of not supported target libs.
3162 # Don't disable libffi, though, other languages use it.
3163 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3164 # Clear libgcj_saved so that even if java is enabled libffi won't be
3170 # Check whether --enable-static-libjava was given.
3171 if test "${enable_static_libjava+set}" = set; then :
3172 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3174 ENABLE_STATIC_LIBJAVA
=no
3177 enable_static_libjava
=
3178 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3179 enable_static_libjava
=yes
3182 if test x
$enable_static_libjava != xyes
; then
3183 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3187 # Enable libgomp by default on hosted POSIX systems, and a few others.
3188 if test x
$enable_libgomp = x
; then
3190 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3192 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3194 *-*-solaris2* |
*-*-hpux11*)
3196 *-*-darwin* |
*-*-aix*)
3201 noconfigdirs
="$noconfigdirs target-libgomp"
3206 # Disable libatomic on unsupported systems.
3207 if test -d ${srcdir}/libatomic
; then
3208 if test x
$enable_libatomic = x
; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3210 $as_echo_n "checking for libatomic support... " >&6; }
3211 if (srcdir
=${srcdir}/libatomic
; \
3212 .
${srcdir}/configure.tgt
; \
3213 test -n "$UNSUPPORTED")
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3217 noconfigdirs
="$noconfigdirs target-libatomic"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3225 # Disable libcilkrts on unsupported systems.
3226 if test -d ${srcdir}/libcilkrts
; then
3227 if test x
$enable_libcilkrts = x
; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3229 $as_echo_n "checking for libcilkrts support... " >&6; }
3230 if (srcdir
=${srcdir}/libcilkrts
; \
3231 .
${srcdir}/configure.tgt
; \
3232 test -n "$UNSUPPORTED")
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 noconfigdirs
="$noconfigdirs target-libcilkrts"
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3239 $as_echo "yes" >&6; }
3244 # Disable liboffloadmic on unsupported systems.
3245 if test -d ${srcdir}/liboffloadmic
; then
3246 if test x
$enable_liboffloadmic != xno
; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3248 $as_echo_n "checking for liboffloadmic support... " >&6; }
3249 if (srcdir
=${srcdir}/liboffloadmic
; \
3250 .
${srcdir}/configure.tgt
; \
3251 test -n "$UNSUPPORTED")
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3258 $as_echo "yes" >&6; }
3263 # Disable libitm on unsupported systems.
3264 if test -d ${srcdir}/libitm
; then
3265 if test x
$enable_libitm = x
; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3267 $as_echo_n "checking for libitm support... " >&6; }
3268 if (srcdir
=${srcdir}/libitm
; \
3269 .
${srcdir}/configure.tgt
; \
3270 test -n "$UNSUPPORTED")
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3274 noconfigdirs
="$noconfigdirs target-libitm"
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3277 $as_echo "yes" >&6; }
3282 # Disable libsanitizer on unsupported systems.
3283 if test -d ${srcdir}/libsanitizer
; then
3284 if test x
$enable_libsanitizer = x
; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3286 $as_echo_n "checking for libsanitizer support... " >&6; }
3287 if (srcdir
=${srcdir}/libsanitizer
; \
3288 .
${srcdir}/configure.tgt
; \
3289 test -n "$UNSUPPORTED")
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 noconfigdirs
="$noconfigdirs target-libsanitizer"
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3296 $as_echo "yes" >&6; }
3301 # Disable libvtv on unsupported systems.
3302 if test -d ${srcdir}/libvtv
; then
3303 if test x
$enable_libvtv = x
; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3305 $as_echo_n "checking for libvtv support... " >&6; }
3306 if (srcdir
=${srcdir}/libvtv
; \
3307 .
${srcdir}/configure.tgt
; \
3308 test "$VTV_SUPPORTED" != "yes")
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 noconfigdirs
="$noconfigdirs target-libvtv"
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3321 # Enable libmpx on supported systems by request.
3322 if test -d ${srcdir}/libmpx
; then
3323 if test x
$enable_libmpx = x
; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3325 $as_echo_n "checking for libmpx support... " >&6; }
3326 if (srcdir
=${srcdir}/libmpx
; \
3327 .
${srcdir}/configure.tgt
; \
3328 test "$LIBMPX_SUPPORTED" != "yes")
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3332 noconfigdirs
="$noconfigdirs target-libmpx"
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3335 $as_echo "yes" >&6; }
3342 # Disable libquadmath for some systems.
3345 noconfigdirs
="$noconfigdirs target-libquadmath"
3347 # libquadmath is unused on AIX and libquadmath build process use of
3348 # LD_LIBRARY_PATH can break AIX bootstrap.
3349 powerpc-
*-aix* | rs6000-
*-aix*)
3350 noconfigdirs
="$noconfigdirs target-libquadmath"
3354 # Disable libssp for some systems.
3357 # No hosted I/O support.
3358 noconfigdirs
="$noconfigdirs target-libssp"
3360 powerpc-
*-aix* | rs6000-
*-aix*)
3361 noconfigdirs
="$noconfigdirs target-libssp"
3364 # libssp uses a misaligned load to trigger a fault, but the RL78
3365 # doesn't fault for those - instead, it gives a build-time error
3366 # for explicit misaligned loads.
3367 noconfigdirs
="$noconfigdirs target-libssp"
3370 # No hosted I/O support.
3371 noconfigdirs
="$noconfigdirs target-libssp"
3375 # Disable libstdc++-v3 for some systems.
3376 # Allow user to override this if they pass --enable-libstdc++-v3
3377 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3380 # VxWorks uses the Dinkumware C++ library.
3381 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3384 # the C++ libraries don't build on top of CE's C libraries
3385 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3388 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3391 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3396 # Disable Fortran for some systems.
3399 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3400 unsupported_languages
="$unsupported_languages fortran"
3404 # Disable Java if libffi is not supported.
3436 powerpc-
*-aix* | rs6000-
*-aix*)
3440 powerpc64-
*-freebsd*)
3444 s390-
*-* | s390x-
*-*)
3446 sh-
*-* | sh
[34]*-*-*)
3448 sh64-
*-* | sh5
*-*-*)
3455 unsupported_languages
="$unsupported_languages java"
3459 # Disable Java, libgcj or related libraries for some systems.
3463 i
[3456789]86-*-darwin*)
3465 x86_64-
*-darwin[912]*)
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3471 noconfigdirs
="$noconfigdirs ${libgcj}"
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs ${libgcj}"
3480 noconfigdirs
="$noconfigdirs ${libgcj}"
3483 noconfigdirs
="$noconfigdirs ${libgcj}"
3486 noconfigdirs
="$noconfigdirs ${libgcj}"
3489 noconfigdirs
="$noconfigdirs ${libgcj}"
3492 noconfigdirs
="$noconfigdirs ${libgcj}"
3495 noconfigdirs
="$noconfigdirs ${libgcj}"
3498 noconfigdirs
="$noconfigdirs target-boehm-gc"
3500 cris-
*-* | crisv32-
*-*)
3501 unsupported_languages
="$unsupported_languages java"
3505 *) # See PR46792 regarding target-libffi.
3506 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3510 # In this case, it's because the hppa64-linux target is for
3511 # the kernel only at this point and has no libc, and thus no
3512 # headers, crt*.o, etc., all of which are needed by these.
3513 unsupported_languages
="$unsupported_languages java"
3516 noconfigdirs
="$noconfigdirs ${libgcj}"
3521 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3522 # build on HP-UX 10.20.
3523 noconfigdirs
="$noconfigdirs ${libgcj}"
3526 noconfigdirs
="$noconfigdirs ${libgcj}"
3528 i
[3456789]86-w64-mingw*)
3529 noconfigdirs
="$noconfigdirs ${libgcj}"
3531 i
[3456789]86-*-mingw*)
3532 noconfigdirs
="$noconfigdirs ${libgcj}"
3535 noconfigdirs
="$noconfigdirs ${libgcj}"
3538 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3541 # copied from rs6000-*-* entry
3542 noconfigdirs
="$noconfigdirs ${libgcj}"
3545 noconfigdirs
="$noconfigdirs ${libgcj}"
3548 noconfigdirs
="$noconfigdirs ${libgcj}"
3551 noconfigdirs
="$noconfigdirs ${libgcj}"
3555 # Disable the go frontend on systems where it is known to not work. Please keep
3556 # this in sync with contrib/config-list.mk.
3558 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3559 unsupported_languages
="$unsupported_languages go"
3563 # Disable libgo for some systems where it is known to not work.
3564 # For testing, you can easily override this with --enable-libgo.
3565 if test x
$enable_libgo = x
; then
3569 noconfigdirs
="$noconfigdirs target-libgo"
3571 *-*-cygwin* |
*-*-mingw*)
3572 noconfigdirs
="$noconfigdirs target-libgo"
3575 noconfigdirs
="$noconfigdirs target-libgo"
3580 # Default libgloss CPU subdirectory.
3581 libgloss_dir
="$target_cpu"
3584 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3588 libgloss_dir
=aarch64
3593 cris-
*-* | crisv32-
*-*)
3602 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3603 libgloss_dir
=m68hc11
3605 m68
*-*-* | fido-
*-*)
3619 # Disable newlib and libgloss for various target OSes.
3622 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3624 i
[3456789]86-*-linux*)
3625 # This section makes it possible to build newlib natively on linux.
3626 # If we are using a cross compiler then don't configure newlib.
3627 if test x
${is_cross_compiler} != xno
; then
3628 noconfigdirs
="$noconfigdirs target-newlib"
3630 noconfigdirs
="$noconfigdirs target-libgloss"
3631 # If we are not using a cross compiler, do configure newlib.
3632 # Note however, that newlib will only be configured in this situation
3633 # if the --with-newlib option has been given, because otherwise
3634 # 'target-newlib' will appear in skipdirs.
3636 i
[3456789]86-*-rdos*)
3637 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3639 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3640 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3643 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3646 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3649 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3652 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3655 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3658 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3660 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3661 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3664 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3667 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3670 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3673 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3676 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3679 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3682 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3690 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3691 noconfigdirs
="$noconfigdirs sim target-rda"
3693 i
[3456789]86-*-darwin*)
3694 noconfigdirs
="$noconfigdirs ld gprof"
3695 noconfigdirs
="$noconfigdirs sim target-rda"
3697 x86_64-
*-darwin[912]*)
3698 noconfigdirs
="$noconfigdirs ld gas gprof"
3699 noconfigdirs
="$noconfigdirs sim target-rda"
3702 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3703 noconfigdirs
="$noconfigdirs sim target-rda"
3708 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3709 && test -f /usr
/local
/include
/gmp.h
; then
3714 # Remove unsupported stuff on all kaOS configurations.
3715 noconfigdirs
="$noconfigdirs target-libgloss"
3722 noconfigdirs
="$noconfigdirs target-libgloss"
3723 # this is not caught below because this stanza matches earlier
3725 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3728 # The tpf target doesn't support gdb yet.
3730 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3733 noconfigdirs
="$noconfigdirs target-rda"
3738 # ld works, but does not support shared libraries.
3739 # gas doesn't generate exception information.
3740 noconfigdirs
="$noconfigdirs gas ld"
3743 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3746 # newlib is not 64 bit ready
3747 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3749 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3750 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3753 noconfigdirs
="$noconfigdirs target-libgloss"
3756 noconfigdirs
="$noconfigdirs target-libgloss"
3759 noconfigdirs
="$noconfigdirs ld target-libgloss"
3764 if test x
${with_avrlibc} != xno
; then
3765 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3768 c4x-
*-* | tic4x-
*-*)
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3772 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3775 noconfigdirs
="$noconfigdirs target-libgloss"
3778 noconfigdirs
="$noconfigdirs gdb"
3781 noconfigdirs
="$noconfigdirs gdb"
3784 noconfigdirs
="$noconfigdirs target-rda gprof"
3787 noconfigdirs
="$noconfigdirs"
3790 noconfigdirs
="$noconfigdirs target-libgloss"
3793 noconfigdirs
="$noconfigdirs target-libgloss"
3795 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3798 noconfigdirs
="$noconfigdirs gdb"
3801 noconfigdirs
="$noconfigdirs gdb ld"
3809 hppa
*-*-openbsd* | \
3815 noconfigdirs
="$noconfigdirs ld"
3818 noconfigdirs
="$noconfigdirs gdb"
3821 # No gdb support yet.
3822 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3825 # No ld support yet.
3826 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3829 # No ld support yet.
3830 noconfigdirs
="$noconfigdirs libgui itcl ld"
3832 i
[3456789]86-w64-mingw*)
3834 i
[3456789]86-*-mingw*)
3835 target_configdirs
="$target_configdirs target-winsup"
3838 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3839 noconfigdirs
="$noconfigdirs target-libgloss"
3840 # always build newlib if winsup directory is present.
3841 if test -d "$srcdir/winsup/cygwin"; then
3842 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3843 elif test -d "$srcdir/newlib"; then
3844 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3848 noconfigdirs
="$noconfigdirs target-libgloss"
3850 i
[3456789]86-*-sco3.2v5
*)
3851 # The linker does not yet know about weak symbols in COFF,
3852 # and is not configured to handle mixed ELF and COFF.
3853 noconfigdirs
="$noconfigdirs ld target-libgloss"
3855 i
[3456789]86-*-sco*)
3856 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3858 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3859 noconfigdirs
="$noconfigdirs target-libgloss"
3861 i
[3456789]86-*-sysv4*)
3862 noconfigdirs
="$noconfigdirs target-libgloss"
3864 i
[3456789]86-*-beos*)
3865 noconfigdirs
="$noconfigdirs gdb"
3867 i
[3456789]86-*-rdos*)
3868 noconfigdirs
="$noconfigdirs gdb"
3871 noconfigdirs
="$noconfigdirs gdb"
3874 noconfigdirs
="$noconfigdirs sim"
3877 # copied from rs6000-*-* entry
3878 noconfigdirs
="$noconfigdirs gprof"
3880 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3881 target_configdirs
="$target_configdirs target-winsup"
3882 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3883 # always build newlib.
3884 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3886 # This is temporary until we can link against shared libraries
3887 powerpcle-
*-solaris*)
3888 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3891 noconfigdirs
="$noconfigdirs gdb"
3894 noconfigdirs
="$noconfigdirs gprof"
3897 noconfigdirs
="$noconfigdirs gprof"
3900 noconfigdirs
="$noconfigdirs gprof"
3903 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3906 noconfigdirs
="$noconfigdirs gprof"
3908 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3909 if test x
$with_newlib = xyes
; then
3910 noconfigdirs
="$noconfigdirs gprof"
3914 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3917 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3920 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3924 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3925 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3926 noconfigdirs
="$noconfigdirs ld gas gprof"
3929 noconfigdirs
="$noconfigdirs gprof"
3932 noconfigdirs
="$noconfigdirs gdb"
3935 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3938 noconfigdirs
="$noconfigdirs gdb"
3945 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3949 if test x
${is_cross_compiler} = xno
; then
3954 noconfigdirs
="$noconfigdirs sim"
3956 tilepro
*-*-* | tilegx
*-*-*)
3957 noconfigdirs
="$noconfigdirs sim"
3960 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3963 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3967 # If we aren't building newlib, then don't build libgloss, since libgloss
3968 # depends upon some newlib header files.
3969 case "${noconfigdirs}" in
3970 *target-libgloss
*) ;;
3971 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3974 # Work in distributions that contain no compiler tools, like Autoconf.
3975 host_makefile_frag
=/dev
/null
3976 if test -d ${srcdir}/config
; then
3978 i
[3456789]86-*-msdosdjgpp*)
3979 host_makefile_frag
="config/mh-djgpp"
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3984 $as_echo_n "checking to see if cat works as expected... " >&6; }
3985 echo a
>cygwin-cat-check
3986 if test `cat cygwin-cat-check` = a
; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3989 $as_echo "yes" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3994 as_fn_error
"The cat command does not ignore carriage return characters.
3995 Please either mount the build directory in binary mode or run the following
3996 commands before running any configure script:
4002 host_makefile_frag
="config/mh-cygwin"
4005 host_makefile_frag
="config/mh-mingw"
4008 host_makefile_frag
="config/mh-alpha-linux"
4011 host_makefile_frag
="config/mh-pa-hpux10"
4014 host_makefile_frag
="config/mh-pa"
4017 host_makefile_frag
="config/mh-pa"
4020 host_makefile_frag
="config/mh-darwin"
4023 host_makefile_frag
="config/mh-ppc-aix"
4026 host_makefile_frag
="config/mh-ppc-aix"
4031 if test "${build}" != "${host}" ; then
4032 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4033 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4034 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4035 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4036 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
4037 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4038 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4039 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4040 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4041 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4042 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4043 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4044 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4046 AR_FOR_BUILD
="\$(AR)"
4047 AS_FOR_BUILD
="\$(AS)"
4048 CC_FOR_BUILD
="\$(CC)"
4049 CXX_FOR_BUILD
="\$(CXX)"
4050 GCJ_FOR_BUILD
="\$(GCJ)"
4051 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4052 GOC_FOR_BUILD
="\$(GOC)"
4053 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4054 LD_FOR_BUILD
="\$(LD)"
4055 NM_FOR_BUILD
="\$(NM)"
4056 RANLIB_FOR_BUILD
="\$(RANLIB)"
4057 WINDRES_FOR_BUILD
="\$(WINDRES)"
4058 WINDMC_FOR_BUILD
="\$(WINDMC)"
4062 ac_cpp
='$CPP $CPPFLAGS'
4063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4066 if test -n "$ac_tool_prefix"; then
4067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4068 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if test "${ac_cv_prog_CC+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4074 if test -n "$CC"; then
4075 ac_cv_prog_CC
="$CC" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4084 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 if test -n "$CC"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4097 $as_echo "$CC" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4105 if test -z "$ac_cv_prog_CC"; then
4107 # Extract the first word of "gcc", so it can be a program name with args.
4108 set dummy gcc
; ac_word
=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -n "$ac_ct_CC"; then
4115 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir
=.
4122 for ac_exec_ext
in '' $ac_executable_extensions; do
4123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4124 ac_cv_prog_ac_ct_CC
="gcc"
4125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4135 if test -n "$ac_ct_CC"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4137 $as_echo "$ac_ct_CC" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4143 if test "x$ac_ct_CC" = x
; then
4146 case $cross_compiling:$ac_tool_warned in
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4150 ac_tool_warned
=yes ;;
4158 if test -z "$CC"; then
4159 if test -n "$ac_tool_prefix"; then
4160 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4161 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if test "${ac_cv_prog_CC+set}" = set; then :
4165 $as_echo_n "(cached) " >&6
4167 if test -n "$CC"; then
4168 ac_cv_prog_CC
="$CC" # Let the user override the test.
4170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir
=.
4175 for ac_exec_ext
in '' $ac_executable_extensions; do
4176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 if test -n "$CC"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4190 $as_echo "$CC" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4199 if test -z "$CC"; then
4200 # Extract the first word of "cc", so it can be a program name with args.
4201 set dummy cc
; ac_word
=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if test "${ac_cv_prog_CC+set}" = set; then :
4205 $as_echo_n "(cached) " >&6
4207 if test -n "$CC"; then
4208 ac_cv_prog_CC
="$CC" # Let the user override the test.
4211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir
=.
4216 for ac_exec_ext
in '' $ac_executable_extensions; do
4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4219 ac_prog_rejected
=yes
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 if test $ac_prog_rejected = yes; then
4231 # We found a bogon in the path, so make sure we never use it.
4232 set dummy
$ac_cv_prog_CC
4234 if test $# != 0; then
4235 # We chose a different compiler from the bogus one.
4236 # However, it has the same basename, so the bogon will be chosen
4237 # first if we set CC to just the basename; use the full file name.
4239 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4245 if test -n "$CC"; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4247 $as_echo "$CC" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4255 if test -z "$CC"; then
4256 if test -n "$ac_tool_prefix"; then
4257 for ac_prog
in cl.exe
4259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4260 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if test "${ac_cv_prog_CC+set}" = set; then :
4264 $as_echo_n "(cached) " >&6
4266 if test -n "$CC"; then
4267 ac_cv_prog_CC
="$CC" # Let the user override the test.
4269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir
=.
4274 for ac_exec_ext
in '' $ac_executable_extensions; do
4275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 if test -n "$CC"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4289 $as_echo "$CC" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 test -n "$CC" && break
4299 if test -z "$CC"; then
4301 for ac_prog
in cl.exe
4303 # Extract the first word of "$ac_prog", so it can be a program name with args.
4304 set dummy
$ac_prog; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$ac_ct_CC"; then
4311 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_ac_ct_CC
="$ac_prog"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4331 if test -n "$ac_ct_CC"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4333 $as_echo "$ac_ct_CC" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 test -n "$ac_ct_CC" && break
4343 if test "x$ac_ct_CC" = x
; then
4346 case $cross_compiling:$ac_tool_warned in
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4350 ac_tool_warned
=yes ;;
4359 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4361 as_fn_error
"no acceptable C compiler found in \$PATH
4362 See \`config.log' for more details." "$LINENO" 5; }
4364 # Provide some information about the compiler.
4365 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4368 for ac_option
in --version -v -V -qversion; do
4369 { { ac_try
="$ac_compiler $ac_option >&5"
4371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4372 *) ac_try_echo=$ac_try;;
4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4375 $as_echo "$ac_try_echo"; } >&5
4376 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4378 if test -s conftest.err; then
4380 ... rest of stderr output deleted ...
4381 10q' conftest.err >conftest.er1
4382 cat conftest.er1 >&5
4383 rm -f conftest.er1 conftest.err
4385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4386 test $ac_status = 0; }
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4400 ac_clean_files_save=$ac_clean_files
4401 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4402 # Try to create an executable without -o first, disregard a.out.
4403 # It will help us diagnose broken compilers, and finding out an intuition
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4406 $as_echo_n "checking for C compiler default output file name... " >&6; }
4407 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4409 # The possible output files:
4410 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4413 for ac_file in $ac_files
4416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4417 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4422 if { { ac_try="$ac_link_default"
4424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4425 *) ac_try_echo
=$ac_try;;
4427 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4428 $as_echo "$ac_try_echo"; } >&5
4429 (eval "$ac_link_default") 2>&5
4431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4432 test $ac_status = 0; }; then :
4433 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4434 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4435 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4436 # so that the user can short-circuit this test for compilers unknown to
4438 for ac_file
in $ac_files ''
4440 test -f "$ac_file" ||
continue
4442 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4445 # We found the default executable, but exeext='' is most
4449 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4451 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4453 # We set ac_cv_exeext here because the later test for it is not
4454 # safe: cross compilers may not add the suffix if given an `-o'
4455 # argument, so we may need to know it at that point already.
4456 # Even if this section looks crufty: it has the advantage of
4463 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4469 $as_echo "$ac_file" >&6; }
4470 if test -z "$ac_file"; then :
4471 $as_echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.
$ac_ext >&5
4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4476 { as_fn_set_status
77
4477 as_fn_error
"C compiler cannot create executables
4478 See \`config.log' for more details." "$LINENO" 5; }; }
4480 ac_exeext
=$ac_cv_exeext
4482 # Check that the compiler produces executables we can run. If not, either
4483 # the compiler is broken, or we cross compile.
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4485 $as_echo_n "checking whether the C compiler works... " >&6; }
4486 # If not cross compiling, check that we can run a simple program.
4487 if test "$cross_compiling" != yes; then
4488 if { ac_try
='./$ac_file'
4489 { { case "(($ac_try" in
4490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4491 *) ac_try_echo=$ac_try;;
4493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4494 $as_echo "$ac_try_echo"; } >&5
4495 (eval "$ac_try") 2>&5
4497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4498 test $ac_status = 0; }; }; then
4501 if test "$cross_compiling" = maybe; then
4504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4506 as_fn_error "cannot run C compiled programs.
4507 If you meant to cross compile
, use \
`--host'.
4508 See \`config.log
' for more details." "$LINENO" 5; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4513 $as_echo "yes" >&6; }
4515 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4516 ac_clean_files=$ac_clean_files_save
4517 # Check that the compiler produces executables we can run. If not, either
4518 # the compiler is broken, or we cross compile.
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4520 $as_echo_n "checking whether we are cross compiling... " >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4522 $as_echo "$cross_compiling" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4525 $as_echo_n "checking for suffix of executables... " >&6; }
4526 if { { ac_try="$ac_link"
4528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 $as_echo "$ac_try_echo"; } >&5
4533 (eval "$ac_link") 2>&5
4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }; then :
4537 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4538 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4539 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4541 for ac_file
in conftest.exe conftest conftest.
*; do
4542 test -f "$ac_file" ||
continue
4544 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4545 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4553 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4554 See \`config.log' for more details." "$LINENO" 5; }
4556 rm -f conftest
$ac_cv_exeext
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4558 $as_echo "$ac_cv_exeext" >&6; }
4560 rm -f conftest.
$ac_ext
4561 EXEEXT
=$ac_cv_exeext
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4564 $as_echo_n "checking for suffix of object files... " >&6; }
4565 if test "${ac_cv_objext+set}" = set; then :
4566 $as_echo_n "(cached) " >&6
4568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4579 rm -f conftest.o conftest.obj
4580 if { { ac_try
="$ac_compile"
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4586 $as_echo "$ac_try_echo"; } >&5
4587 (eval "$ac_compile") 2>&5
4589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4590 test $ac_status = 0; }; then :
4591 for ac_file in conftest.o conftest.obj conftest.*; do
4592 test -f "$ac_file" || continue;
4594 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4595 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4600 $as_echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.$ac_ext >&5
4603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4605 as_fn_error "cannot compute suffix of object files
: cannot compile
4606 See \
`config.log' for more details." "$LINENO" 5; }
4608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4611 $as_echo "$ac_cv_objext" >&6; }
4612 OBJEXT=$ac_cv_objext
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4615 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4616 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4633 if ac_fn_c_try_compile "$LINENO"; then :
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4643 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4644 if test $ac_compiler_gnu = yes; then
4649 ac_test_CFLAGS=${CFLAGS+set}
4650 ac_save_CFLAGS=$CFLAGS
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4653 if test "${ac_cv_prog_cc_g+set}" = set; then :
4654 $as_echo_n "(cached) " >&6
4656 ac_save_c_werror_flag=$ac_c_werror_flag
4657 ac_c_werror_flag=yes
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4671 if ac_fn_c_try_compile "$LINENO"; then :
4675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h. */
4686 if ac_fn_c_try_compile "$LINENO"; then :
4689 ac_c_werror_flag=$ac_save_c_werror_flag
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4702 if ac_fn_c_try_compile "$LINENO"; then :
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 ac_c_werror_flag=$ac_save_c_werror_flag
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4713 $as_echo "$ac_cv_prog_cc_g" >&6; }
4714 if test "$ac_test_CFLAGS" = set; then
4715 CFLAGS=$ac_save_CFLAGS
4716 elif test $ac_cv_prog_cc_g = yes; then
4717 if test "$GCC" = yes; then
4723 if test "$GCC" = yes; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4730 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4731 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4734 ac_cv_prog_cc_c89=no
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4740 #include <sys/types.h>
4741 #include <sys/stat.h>
4742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4743 struct buf { int x; };
4744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4745 static char *e (p, i)
4751 static char *f (char * (*g) (char **, int), char **p, ...)
4756 s = g (p, va_arg (v,int));
4761 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4762 function prototypes and stuff, but not '\xHH' hex character constants.
4763 These don't provoke an error unfortunately, instead are silently treated
4764 as 'x'. The following induces an error, until -std is added to get
4765 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4766 array size at least. It's necessary to write '\x00'==0 to get something
4767 that's true only with -std. */
4768 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4770 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4771 inside strings and character constants. */
4773 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4775 int test (int i, double x);
4776 struct s1 {int (*f) (int a);};
4777 struct s2 {int (*f) (double a);};
4778 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4784 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4789 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4790 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4792 CC="$ac_save_CC $ac_arg"
4793 if ac_fn_c_try_compile "$LINENO"; then :
4794 ac_cv_prog_cc_c89=$ac_arg
4796 rm -f core conftest.err conftest.$ac_objext
4797 test "x$ac_cv_prog_cc_c89" != "xno" && break
4799 rm -f conftest.$ac_ext
4804 case "x$ac_cv_prog_cc_c89" in
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4807 $as_echo "none needed" >&6; } ;;
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4810 $as_echo "unsupported" >&6; } ;;
4812 CC="$CC $ac_cv_prog_cc_c89"
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4814 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4816 if test "x$ac_cv_prog_cc_c89" != xno; then :
4821 ac_cpp='$CPP $CPPFLAGS'
4822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4827 ac_cpp='$CXXCPP $CPPFLAGS'
4828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4831 if test -z "$CXX"; then
4832 if test -n "$CCC"; then
4835 if test -n "$ac_tool_prefix"; then
4836 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4839 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if test "${ac_cv_prog_CXX+set}" = set; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$CXX"; then
4846 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 if test -n "$CXX"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4868 $as_echo "$CXX" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4875 test -n "$CXX" && break
4878 if test -z "$CXX"; then
4880 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4882 # Extract the first word of "$ac_prog", so it can be a program name with args.
4883 set dummy $ac_prog; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$ac_ct_CXX"; then
4890 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4899 ac_cv_prog_ac_ct_CXX="$ac_prog"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4910 if test -n "$ac_ct_CXX"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4912 $as_echo "$ac_ct_CXX" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 test -n "$ac_ct_CXX" && break
4922 if test "x$ac_ct_CXX" = x; then
4925 case $cross_compiling:$ac_tool_warned in
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4929 ac_tool_warned=yes ;;
4937 # Provide some information about the compiler.
4938 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4941 for ac_option in --version -v -V -qversion; do
4942 { { ac_try="$ac_compiler $ac_option >&5"
4944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4945 *) ac_try_echo
=$ac_try;;
4947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4948 $as_echo "$ac_try_echo"; } >&5
4949 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4951 if test -s conftest.err
; then
4953 ... rest of stderr output deleted ...
4954 10q' conftest.err
>conftest.er1
4955 cat conftest.er1
>&5
4956 rm -f conftest.er1 conftest.err
4958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4959 test $ac_status = 0; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4963 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4964 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4981 if ac_fn_cxx_try_compile
"$LINENO"; then :
4986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4987 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4991 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4992 if test $ac_compiler_gnu = yes; then
4997 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4998 ac_save_CXXFLAGS
=$CXXFLAGS
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5000 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5001 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5002 $as_echo_n "(cached) " >&6
5004 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5005 ac_cxx_werror_flag
=yes
5008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5019 if ac_fn_cxx_try_compile
"$LINENO"; then :
5020 ac_cv_prog_cxx_g
=yes
5023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5034 if ac_fn_cxx_try_compile
"$LINENO"; then :
5037 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5050 if ac_fn_cxx_try_compile
"$LINENO"; then :
5051 ac_cv_prog_cxx_g
=yes
5053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5058 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5061 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5062 if test "$ac_test_CXXFLAGS" = set; then
5063 CXXFLAGS
=$ac_save_CXXFLAGS
5064 elif test $ac_cv_prog_cxx_g = yes; then
5065 if test "$GXX" = yes; then
5071 if test "$GXX" = yes; then
5078 ac_cpp
='$CPP $CPPFLAGS'
5079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5084 # We must set the default linker to the linker used by gcc for the correct
5085 # operation of libtool. If LD is not defined and we are using gcc, try to
5086 # set the LD default to the ld used by gcc.
5087 if test -z "$LD"; then
5088 if test "$GCC" = yes; then
5091 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5093 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5095 case $gcc_prog_ld in
5096 # Accept absolute paths.
5097 [\\/]* |
[A-Za-z
]:[\\/]*)
5098 LD
="$gcc_prog_ld" ;;
5103 # Check whether -static-libstdc++ -static-libgcc is supported.
5105 if test "$GCC" = yes; then
5106 saved_LDFLAGS
="$LDFLAGS"
5108 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5110 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5112 ac_cpp
='$CXXCPP $CPPFLAGS'
5113 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5121 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5122 #error -static-libstdc++ not implemented
5126 if ac_fn_cxx_try_link
"$LINENO"; then :
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5128 $as_echo "yes" >&6; }; have_static_libs
=yes
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5133 rm -f core conftest.err conftest.
$ac_objext \
5134 conftest
$ac_exeext conftest.
$ac_ext
5136 ac_cpp
='$CPP $CPPFLAGS'
5137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5142 LDFLAGS
="$saved_LDFLAGS"
5148 if test -n "$ac_tool_prefix"; then
5149 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5150 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5154 $as_echo_n "(cached) " >&6
5156 if test -n "$GNATBIND"; then
5157 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir
=.
5164 for ac_exec_ext
in '' $ac_executable_extensions; do
5165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5166 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 GNATBIND
=$ac_cv_prog_GNATBIND
5177 if test -n "$GNATBIND"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5179 $as_echo "$GNATBIND" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5187 if test -z "$ac_cv_prog_GNATBIND"; then
5188 ac_ct_GNATBIND
=$GNATBIND
5189 # Extract the first word of "gnatbind", so it can be a program name with args.
5190 set dummy gnatbind
; ac_word
=$2
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5192 $as_echo_n "checking for $ac_word... " >&6; }
5193 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5194 $as_echo_n "(cached) " >&6
5196 if test -n "$ac_ct_GNATBIND"; then
5197 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5217 if test -n "$ac_ct_GNATBIND"; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5219 $as_echo "$ac_ct_GNATBIND" >&6; }
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5222 $as_echo "no" >&6; }
5225 if test "x$ac_ct_GNATBIND" = x
; then
5228 case $cross_compiling:$ac_tool_warned in
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5232 ac_tool_warned
=yes ;;
5234 GNATBIND
=$ac_ct_GNATBIND
5237 GNATBIND
="$ac_cv_prog_GNATBIND"
5240 if test -n "$ac_tool_prefix"; then
5241 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5242 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$GNATMAKE"; then
5249 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 GNATMAKE
=$ac_cv_prog_GNATMAKE
5269 if test -n "$GNATMAKE"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5271 $as_echo "$GNATMAKE" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$ac_cv_prog_GNATMAKE"; then
5280 ac_ct_GNATMAKE
=$GNATMAKE
5281 # Extract the first word of "gnatmake", so it can be a program name with args.
5282 set dummy gnatmake
; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$ac_ct_GNATMAKE"; then
5289 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5298 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5309 if test -n "$ac_ct_GNATMAKE"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5311 $as_echo "$ac_ct_GNATMAKE" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5317 if test "x$ac_ct_GNATMAKE" = x
; then
5320 case $cross_compiling:$ac_tool_warned in
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324 ac_tool_warned
=yes ;;
5326 GNATMAKE
=$ac_ct_GNATMAKE
5329 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5333 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5334 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5337 cat >conftest.adb
<<EOF
5338 procedure conftest is begin null; end conftest;
5340 acx_cv_cc_gcc_supports_ada
=no
5341 # There is a bug in old released versions of GCC which causes the
5342 # driver to exit successfully when the appropriate language module
5343 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5344 # Therefore we must check for the error message as well as an
5345 # unsuccessful exit.
5346 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5347 # given a .adb file, but produce no object file. So we must check
5348 # if an object file was really produced to guard against this.
5349 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5350 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5351 acx_cv_cc_gcc_supports_ada
=yes
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5356 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5358 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5365 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5366 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5367 $as_echo_n "(cached) " >&6
5371 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5372 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5373 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5376 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5379 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5380 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5383 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5390 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5391 do_compare
="$gcc_cv_prog_cmp_skip"
5395 # Check whether --enable-bootstrap was given.
5396 if test "${enable_bootstrap+set}" = set; then :
5397 enableval
=$enable_bootstrap;
5399 enable_bootstrap
=default
5403 # Issue errors and warnings for invalid/strange bootstrap combinations.
5404 if test -r $srcdir/gcc
/configure
; then
5410 case "$have_compiler:$host:$target:$enable_bootstrap" in
5413 # Default behavior. Enable bootstrap if we have a compiler
5414 # and we are in a native configuration.
5415 yes:$build:$build:default
)
5416 enable_bootstrap
=yes ;;
5419 enable_bootstrap
=no
;;
5421 # We have a compiler and we are in a native configuration, bootstrap is ok
5422 yes:$build:$build:yes)
5425 # Other configurations, but we have a compiler. Assume the user knows
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5429 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5432 # No compiler: if they passed --enable-bootstrap explicitly, fail
5434 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5436 # Fail if wrong command line
5438 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5442 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5443 # C++98 compiler can still start the bootstrap.
5444 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5445 CXX
="$CXX -std=gnu++98"
5448 # Used for setting $lt_cv_objdir
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5450 $as_echo_n "checking for objdir... " >&6; }
5451 if test "${lt_cv_objdir+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 rm -f .libs
2>/dev
/null
5455 mkdir .libs
2>/dev
/null
5456 if test -d .libs
; then
5459 # MS-DOS does not allow filenames that begin with a dot.
5462 rmdir .libs
2>/dev
/null
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5465 $as_echo "$lt_cv_objdir" >&6; }
5466 objdir
=$lt_cv_objdir
5472 cat >>confdefs.h
<<_ACEOF
5473 #define LT_OBJDIR "$lt_cv_objdir/"
5478 # Check for GMP, MPFR and MPC
5479 gmplibs
="-lmpc -lmpfr -lgmp"
5483 # Specify a location for mpc
5484 # check for this first so it ends up on the link line before mpfr.
5486 # Check whether --with-mpc was given.
5487 if test "${with_mpc+set}" = set; then :
5492 # Check whether --with-mpc-include was given.
5493 if test "${with_mpc_include+set}" = set; then :
5494 withval
=$with_mpc_include;
5498 # Check whether --with-mpc-lib was given.
5499 if test "${with_mpc_lib+set}" = set; then :
5500 withval
=$with_mpc_lib;
5504 if test "x$with_mpc" != x
; then
5505 gmplibs
="-L$with_mpc/lib $gmplibs"
5506 gmpinc
="-I$with_mpc/include $gmpinc"
5508 if test "x$with_mpc_include" != x
; then
5509 gmpinc
="-I$with_mpc_include $gmpinc"
5511 if test "x$with_mpc_lib" != x
; then
5512 gmplibs
="-L$with_mpc_lib $gmplibs"
5514 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5515 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5516 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5517 # Do not test the mpc version. Assume that it is sufficient, since
5518 # it is in the source tree, and the library has not been built yet
5519 # but it would be included on the link line in the version check below
5520 # hence making the test fail.
5524 # Specify a location for mpfr
5525 # check for this first so it ends up on the link line before gmp.
5527 # Check whether --with-mpfr-dir was given.
5528 if test "${with_mpfr_dir+set}" = set; then :
5529 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5530 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5535 # Check whether --with-mpfr was given.
5536 if test "${with_mpfr+set}" = set; then :
5541 # Check whether --with-mpfr-include was given.
5542 if test "${with_mpfr_include+set}" = set; then :
5543 withval
=$with_mpfr_include;
5547 # Check whether --with-mpfr-lib was given.
5548 if test "${with_mpfr_lib+set}" = set; then :
5549 withval
=$with_mpfr_lib;
5553 if test "x$with_mpfr" != x
; then
5554 gmplibs
="-L$with_mpfr/lib $gmplibs"
5555 gmpinc
="-I$with_mpfr/include $gmpinc"
5557 if test "x$with_mpfr_include" != x
; then
5558 gmpinc
="-I$with_mpfr_include $gmpinc"
5560 if test "x$with_mpfr_lib" != x
; then
5561 gmplibs
="-L$with_mpfr_lib $gmplibs"
5563 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5564 # MPFR v3.1.0 moved the sources into a src sub-directory.
5565 if test -d ${srcdir}/mpfr
/src
; then
5566 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5567 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5568 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5570 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5571 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5572 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5574 # Do not test the mpfr version. Assume that it is sufficient, since
5575 # it is in the source tree, and the library has not been built yet
5576 # but it would be included on the link line in the version check below
5577 # hence making the test fail.
5581 # Specify a location for gmp
5583 # Check whether --with-gmp-dir was given.
5584 if test "${with_gmp_dir+set}" = set; then :
5585 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5586 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5591 # Check whether --with-gmp was given.
5592 if test "${with_gmp+set}" = set; then :
5597 # Check whether --with-gmp-include was given.
5598 if test "${with_gmp_include+set}" = set; then :
5599 withval
=$with_gmp_include;
5603 # Check whether --with-gmp-lib was given.
5604 if test "${with_gmp_lib+set}" = set; then :
5605 withval
=$with_gmp_lib;
5610 if test "x$with_gmp" != x
; then
5611 gmplibs
="-L$with_gmp/lib $gmplibs"
5612 gmpinc
="-I$with_gmp/include $gmpinc"
5614 if test "x$with_gmp_include" != x
; then
5615 gmpinc
="-I$with_gmp_include $gmpinc"
5617 if test "x$with_gmp_lib" != x
; then
5618 gmplibs
="-L$with_gmp_lib $gmplibs"
5620 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5621 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5622 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5623 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5624 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5625 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5626 # Do not test the gmp version. Assume that it is sufficient, since
5627 # it is in the source tree, and the library has not been built yet
5628 # but it would be included on the link line in the version check below
5629 # hence making the test fail.
5633 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5635 saved_CFLAGS
="$CFLAGS"
5636 CFLAGS
="$CFLAGS $gmpinc"
5637 # Check for the recommended and required versions of GMP.
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5639 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5648 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5649 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5650 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5658 if ac_fn_c_try_compile
"$LINENO"; then :
5659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5666 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5667 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5668 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5678 $as_echo "yes" >&6; }
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5681 $as_echo "buggy but acceptable" >&6; }
5683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }; have_gmp
=no
5688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5690 # If we have GMP, check the MPFR version.
5691 if test x
"$have_gmp" = xyes
; then
5692 # Check for the recommended and required versions of MPFR.
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5694 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5703 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5711 if ac_fn_c_try_compile
"$LINENO"; then :
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5720 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5728 if ac_fn_c_try_compile
"$LINENO"; then :
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5730 $as_echo "yes" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5733 $as_echo "buggy but acceptable" >&6; }
5735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }; have_gmp
=no
5740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5743 # Check for the MPC header version.
5744 if test x
"$have_gmp" = xyes
; then
5745 # Check for the recommended and required versions of MPC.
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5747 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5755 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5763 if ac_fn_c_try_compile
"$LINENO"; then :
5764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5765 /* end confdefs.h. */
5771 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5779 if ac_fn_c_try_compile
"$LINENO"; then :
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5781 $as_echo "yes" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5784 $as_echo "buggy but acceptable" >&6; }
5786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }; have_gmp
=no
5791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5794 # Now check the MPFR library.
5795 if test x
"$have_gmp" = xyes
; then
5797 LIBS
="$LIBS $gmplibs"
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5799 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5813 mpfr_atan2 (n, n, x, GMP_RNDN);
5814 mpfr_erfc (n, x, GMP_RNDN);
5815 mpfr_subnormalize (x, t, GMP_RNDN);
5819 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5820 mpc_cosh (c, c, MPC_RNDNN);
5821 mpc_pow (c, c, c, MPC_RNDNN);
5822 mpc_acosh (c, c, MPC_RNDNN);
5829 if ac_fn_c_try_link
"$LINENO"; then :
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5831 $as_echo "yes" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }; have_gmp
=no
5836 rm -f core conftest.err conftest.
$ac_objext \
5837 conftest
$ac_exeext conftest.
$ac_ext
5841 CFLAGS
="$saved_CFLAGS"
5843 # The library versions listed in the error message below should match
5844 # the HARD-minimums enforced above.
5845 if test x
$have_gmp != xyes
; then
5846 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5847 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5848 their locations. Source code for these libraries can be found at
5849 their respective hosting sites as well as at
5850 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5851 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5852 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5853 make sure that you have installed both the libraries and the header
5854 files. They may be located in separate packages." "$LINENO" 5
5858 # Flags needed for both GMP, MPFR and/or MPC.
5866 # Libraries to use for stage1 or when not bootstrapping.
5868 # Check whether --with-stage1-libs was given.
5869 if test "${with_stage1_libs+set}" = set; then :
5870 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5873 stage1_libs
=$withval
5881 # Linker flags to use for stage1 or when not bootstrapping.
5883 # Check whether --with-stage1-ldflags was given.
5884 if test "${with_stage1_ldflags+set}" = set; then :
5885 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5888 stage1_ldflags
=$withval
5892 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5893 # if supported. But if the user explicitly specified the libraries to use,
5894 # trust that they are doing what they want.
5895 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5896 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5902 # Libraries to use for stage2 and later builds.
5904 # Check whether --with-boot-libs was given.
5905 if test "${with_boot_libs+set}" = set; then :
5906 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5909 poststage1_libs
=$withval
5917 # Linker flags to use for stage2 and later builds.
5919 # Check whether --with-boot-ldflags was given.
5920 if test "${with_boot_ldflags+set}" = set; then :
5921 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5924 poststage1_ldflags
=$withval
5928 # In stages 2 and 3, default to linking libstdc++ and libgcc
5929 # statically. But if the user explicitly specified the libraries to
5930 # use, trust that they are doing what they want.
5931 if test "$poststage1_libs" = ""; then
5932 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5938 # GCC GRAPHITE dependency ISL.
5939 # Basic setup is inlined here, actual checks are in config/isl.m4
5942 # Check whether --with-isl was given.
5943 if test "${with_isl+set}" = set; then :
5948 # Treat --without-isl as a request to disable
5949 # GRAPHITE support and skip all following checks.
5950 if test "x$with_isl" != "xno"; then
5954 # Check whether --with-isl-include was given.
5955 if test "${with_isl_include+set}" = set; then :
5956 withval
=$with_isl_include;
5960 # Check whether --with-isl-lib was given.
5961 if test "${with_isl_lib+set}" = set; then :
5962 withval
=$with_isl_lib;
5966 # Check whether --enable-isl-version-check was given.
5967 if test "${enable_isl_version_check+set}" = set; then :
5968 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5970 ENABLE_ISL_CHECK
=yes
5974 # Initialize isllibs and islinc.
5983 isllibs
="-L$with_isl/lib"
5984 islinc
="-I$with_isl/include"
5987 if test "x${with_isl_include}" != x
; then
5988 islinc
="-I$with_isl_include"
5990 if test "x${with_isl_lib}" != x
; then
5991 isllibs
="-L$with_isl_lib"
5993 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5994 && test -d ${srcdir}/isl
; then
5995 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5996 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5999 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
6002 isllibs
="${isllibs} -lisl"
6006 if test "${ENABLE_ISL_CHECK}" = yes ; then
6007 _isl_saved_CFLAGS
=$CFLAGS
6008 _isl_saved_LDFLAGS
=$LDFLAGS
6009 _isl_saved_LIBS
=$LIBS
6011 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6012 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
6013 LIBS
="${_isl_saved_LIBS} -lisl"
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
6016 $as_echo_n "checking for compatible ISL... " >&6; }
6017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 #include <isl/val.h>
6028 if ac_fn_c_try_link
"$LINENO"; then :
6033 rm -f core conftest.err conftest.
$ac_objext \
6034 conftest
$ac_exeext conftest.
$ac_ext
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6036 $as_echo "$gcc_cv_isl" >&6; }
6038 CFLAGS
=$_isl_saved_CFLAGS
6039 LDFLAGS
=$_isl_saved_LDFLAGS
6040 LIBS
=$_isl_saved_LIBS
6048 if test "x${with_isl}" = xno
; then
6049 graphite_requested
=no
6050 elif test "x${with_isl}" != x \
6051 ||
test "x${with_isl_include}" != x \
6052 ||
test "x${with_isl_lib}" != x
; then
6053 graphite_requested
=yes
6055 graphite_requested
=no
6060 if test "${gcc_cv_isl}" = no
; then
6065 if test "${graphite_requested}" = yes \
6066 && test "x${isllibs}" = x \
6067 && test "x${islinc}" = x
; then
6069 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6075 # If the ISL check failed, disable builds of in-tree variant of ISL
6076 if test "x$with_isl" = xno ||
6077 test "x$gcc_cv_isl" = xno
; then
6078 noconfigdirs
="$noconfigdirs isl"
6085 # Check for LTO support.
6086 # Check whether --enable-lto was given.
6087 if test "${enable_lto+set}" = set; then :
6088 enableval
=$enable_lto; enable_lto
=$enableval
6090 enable_lto
=yes; default_enable_lto
=yes
6099 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6100 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6101 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6110 if test $target_elf = yes; then :
6111 # ELF platforms build the lto-plugin always.
6112 build_lto_plugin
=yes
6115 if test x
"$default_enable_lto" = x
"yes" ; then
6117 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6118 # On other non-ELF platforms, LTO has yet to be validated.
6122 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6123 # It would also be nice to check the binutils support, but we don't
6124 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6125 # warn during gcc/ subconfigure; unless you're bootstrapping with
6126 # -flto it won't be needed until after installation anyway.
6128 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6129 *) if test x
"$enable_lto" = x
"yes"; then
6130 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6135 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6136 # Build it unless LTO was explicitly disabled.
6138 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6145 # Check whether --enable-linker-plugin-configure-flags was given.
6146 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6147 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6149 extra_linker_plugin_configure_flags
=
6153 # Check whether --enable-linker-plugin-flags was given.
6154 if test "${enable_linker_plugin_flags+set}" = set; then :
6155 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6157 extra_linker_plugin_flags
=
6163 # By default, C and C++ are the only stage 1 languages.
6164 stage1_languages
=,c
,
6166 # Target libraries that we bootstrap.
6167 bootstrap_target_libs
=,target-libgcc
,
6169 # Figure out what language subdirectories are present.
6170 # Look if the user specified --enable-languages="..."; if not, use
6171 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6173 # NB: embedded tabs in this IF block -- do not untabify
6174 if test -d ${srcdir}/gcc
; then
6175 if test x
"${enable_languages+set}" != xset
; then
6176 if test x
"${LANGUAGES+set}" = xset
; then
6177 enable_languages
="${LANGUAGES}"
6178 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6180 enable_languages
=all
6183 if test x
"${enable_languages}" = x ||
6184 test x
"${enable_languages}" = xyes
;
6186 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6190 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6192 # 'f95' is the old name for the 'fortran' language. We issue a warning
6193 # and make the substitution.
6194 case ,${enable_languages}, in
6196 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6197 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6201 # If bootstrapping, C++ must be enabled.
6202 case ",$enable_languages,:$enable_bootstrap" in
6205 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6206 enable_languages
="${enable_languages},c++"
6208 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6213 # First scan to see if an enabled language requires some other language.
6214 # We assume that a given config-lang.in will list all the language
6215 # front ends it requires, even if some are required indirectly.
6216 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6217 case ${lang_frag} in
6219 # The odd quoting in the next line works around
6220 # an apparent bug in bash 1.12 on linux.
6221 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6223 # From the config-lang.in, get $language, $lang_requires, and
6224 # $lang_requires_boot_languages.
6227 lang_requires_boot_languages
=
6229 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6230 case ,${enable_languages}, in
6234 echo " \`$other' language required by \`$language'; enabling" 1>&2
6235 enable_languages
="${enable_languages},${other}"
6239 for other
in ${lang_requires_boot_languages} ; do
6240 if test "$other" != "c"; then
6241 case ,${enable_stage1_languages}, in
6245 case ,${enable_languages}, in
6247 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6248 enable_stage1_languages
="$enable_stage1_languages,${other}"
6259 new_enable_languages
=,c
,
6261 # If LTO is enabled, add the LTO front end.
6262 if test "$enable_lto" = "yes" ; then
6263 case ,${enable_languages}, in
6265 *) enable_languages
="${enable_languages},lto" ;;
6267 if test "${build_lto_plugin}" = "yes" ; then
6268 configdirs
="$configdirs lto-plugin"
6272 # If we're building an offloading compiler, add the LTO front end.
6273 if test x
"$enable_as_accelerator_for" != x
; then
6274 case ,${enable_languages}, in
6276 *) enable_languages
="${enable_languages},lto" ;;
6280 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6281 potential_languages
=,c
,
6283 enabled_target_libs
=
6284 disabled_target_libs
=
6286 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6287 case ${lang_frag} in
6289 # The odd quoting in the next line works around
6290 # an apparent bug in bash 1.12 on linux.
6291 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6293 # From the config-lang.in, get $language, $target_libs,
6294 # $lang_dirs, $boot_language, and $build_by_default
6300 build_by_default
=yes
6302 if test x
${language} = x
; then
6303 echo "${lang_frag} doesn't set \$language." 1>&2
6307 if test "$language" = "c++"; then
6312 case ,${enable_languages}, in
6314 # Language was explicitly selected; include it
6315 # unless it is C, which is enabled by default.
6316 if test "$language" != "c"; then
6321 # 'all' was selected, select it if it is a default language
6322 if test "$language" != "c"; then
6323 add_this_lang
=${build_by_default}
6328 # Disable languages that need other directories if these aren't available.
6329 for i
in $subdir_requires; do
6330 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6331 case ,${enable_languages}, in
6333 # Specifically requested language; tell them.
6334 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6338 add_this_lang
=unsupported
6343 # Disable Ada if no preexisting GNAT is available.
6344 case ,${enable_languages},:${language}:${have_gnat} in
6345 *,${language},*:ada
:no
)
6346 # Specifically requested language; tell them.
6347 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6351 add_this_lang
=unsupported
6355 # Disable a language that is unsupported by the target.
6356 case " $unsupported_languages " in
6358 add_this_lang
=unsupported
6362 case $add_this_lang in
6364 # Remove language-dependent dirs.
6365 disabled_target_libs
="$disabled_target_libs $target_libs"
6366 noconfigdirs
="$noconfigdirs $lang_dirs"
6369 # Remove language-dependent dirs; still show language as supported.
6370 disabled_target_libs
="$disabled_target_libs $target_libs"
6371 noconfigdirs
="$noconfigdirs $lang_dirs"
6372 potential_languages
="${potential_languages}${language},"
6375 new_enable_languages
="${new_enable_languages}${language},"
6376 potential_languages
="${potential_languages}${language},"
6377 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6378 enabled_target_libs
="$enabled_target_libs $target_libs"
6379 case "${boot_language}:,$enable_stage1_languages," in
6380 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6381 # Add to (comma-separated) list of stage 1 languages.
6382 case ",$stage1_languages," in
6383 *,$language,* |
,yes, |
,all
,) ;;
6384 *) stage1_languages
="${stage1_languages}${language}," ;;
6386 # We need to bootstrap any supporting libraries.
6387 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6396 # Add target libraries which are only needed for disabled languages
6398 if test -n "$disabled_target_libs"; then
6399 for dir
in $disabled_target_libs; do
6400 case " $enabled_target_libs " in
6402 *) noconfigdirs
="$noconfigdirs $dir" ;;
6407 # Check whether --enable-stage1-languages was given.
6408 if test "${enable_stage1_languages+set}" = set; then :
6409 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6411 # Set it to something that will have no effect in the loop below
6412 enable_stage1_languages
=c
;;
6414 enable_stage1_languages
=`echo $new_enable_languages | \
6415 sed -e "s/^,//" -e "s/,$//" ` ;;
6417 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6418 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6421 # Add "good" languages from enable_stage1_languages to stage1_languages,
6422 # while "bad" languages go in missing_languages. Leave no duplicates.
6423 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6424 case $potential_languages in
6426 case $stage1_languages in
6428 *) stage1_languages
="$stage1_languages$i," ;;
6431 case $missing_languages in
6433 *) missing_languages
="$missing_languages$i," ;;
6440 # Remove leading/trailing commas that were added for simplicity
6441 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6442 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6443 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6444 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6446 if test "x$missing_languages" != x
; then
6448 The following requested languages could not be built: ${missing_languages}
6449 Supported languages are: ${potential_languages}" "$LINENO" 5
6451 if test "x$new_enable_languages" != "x$enable_languages"; then
6452 echo The following languages will be built
: ${new_enable_languages}
6453 enable_languages
="$new_enable_languages"
6457 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6460 # Handle --disable-<component> generically.
6461 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6462 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6463 varname
=`echo $dirname | sed -e s/+/_/g`
6464 if eval test x\
${enable_${varname}} "=" xno
; then
6465 noconfigdirs
="$noconfigdirs $dir"
6469 # Check for Boehm's garbage collector
6470 # Check whether --enable-objc-gc was given.
6471 if test "${enable_objc_gc+set}" = set; then :
6472 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6473 *,objc
,*:*:yes:*target-boehm-gc
*)
6474 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6480 # Make sure we only build Boehm's garbage collector if required.
6481 case ,${enable_languages},:${enable_objc_gc} in
6483 # Keep target-boehm-gc if requested for Objective-C.
6486 # Otherwise remove target-boehm-gc depending on target-libjava.
6487 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6488 noconfigdirs
="$noconfigdirs target-boehm-gc"
6493 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6494 case ,${enable_languages}, in
6496 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6497 case "${noconfigdirs}" in
6498 *target-libstdc
++-v3*)
6499 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6505 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6509 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6510 # $build_configdirs and $target_configdirs.
6511 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6514 for dir
in .
$skipdirs $noconfigdirs ; do
6515 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6516 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6517 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6518 if test -r $srcdir/$dirname/configure
; then
6519 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6522 notsupp
="$notsupp $dir"
6526 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6527 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6528 if test -r $srcdir/$dirname/configure
; then
6529 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6532 notsupp
="$notsupp $dir"
6536 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6537 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6538 if test -r $srcdir/$dirname/configure
; then
6539 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6542 notsupp
="$notsupp $dir"
6548 # Quietly strip out all directories which aren't configurable in this tree.
6549 # This relies on all configurable subdirectories being autoconfiscated, which
6551 build_configdirs_all
="$build_configdirs"
6553 for i
in ${build_configdirs_all} ; do
6554 j
=`echo $i | sed -e s/build-//g`
6555 if test -f ${srcdir}/$j/configure
; then
6556 build_configdirs
="${build_configdirs} $i"
6560 configdirs_all
="$configdirs"
6562 for i
in ${configdirs_all} ; do
6563 if test -f ${srcdir}/$i/configure
; then
6564 configdirs
="${configdirs} $i"
6568 target_configdirs_all
="$target_configdirs"
6570 for i
in ${target_configdirs_all} ; do
6571 j
=`echo $i | sed -e s/target-//g`
6572 if test -f ${srcdir}/$j/configure
; then
6573 target_configdirs
="${target_configdirs} $i"
6577 # Exclude target-zlib if target-libjava isn't built.
6578 case ${target_configdirs} in
6582 target_configdirs
="`echo ${target_configdirs} | sed -e 's/target-zlib//'`"
6586 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6587 # so we have to add it after the preceding checks.
6588 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6590 case " $configdirs " in
6592 # If we can build libiberty, we can also build libiberty-linker-plugin.
6593 configdirs
="$configdirs libiberty-linker-plugin"
6594 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6595 --with-libiberty=../libiberty-linker-plugin";;
6597 as_fn_error
"libiberty missing" "$LINENO" 5;;
6601 # Sometimes we have special requirements for the host libiberty.
6602 extra_host_libiberty_configure_flags
=
6603 extra_host_zlib_configure_flags
=
6604 case " $configdirs " in
6605 *" lto-plugin "* |
*" libcc1 "*)
6606 # When these are to be built as shared libraries, the same applies to
6608 extra_host_libiberty_configure_flags
=--enable-shared
6611 # When bfd is to be built as a shared library, the same applies to
6613 if test "$enable_shared" = "yes"; then
6614 extra_host_zlib_configure_flags
=--enable-host-shared
6621 # Produce a warning message for the subdirs we can't configure.
6622 # This isn't especially interesting in the Cygnus tree, but in the individual
6623 # FSF releases, it's important to let people know when their machine isn't
6624 # supported by the one or two programs in a package.
6626 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6627 # If $appdirs is non-empty, at least one of those directories must still
6628 # be configured, or we error out. (E.g., if the gas release supports a
6629 # specified target in some subdirs but not the gas subdir, we shouldn't
6630 # pretend that all is well.)
6631 if test -n "$appdirs" ; then
6632 for dir
in $appdirs ; do
6633 if test -r $dir/Makefile.
in ; then
6634 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6638 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6644 if test -n "$appdirs" ; then
6645 echo "*** This configuration is not supported by this package." 1>&2
6649 # Okay, some application will build, or we don't care to check. Still
6650 # notify of subdirs not getting built.
6651 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6652 echo " ${notsupp}" 1>&2
6653 echo " (Any other directories should still work fine.)" 1>&2
6661 # To find our prefix, in gcc_cv_tool_prefix.
6663 # The user is always right.
6664 if test "${PATH_SEPARATOR+set}" != set; then
6665 echo "#! /bin/sh" >conf$$.sh
6666 echo "exit 0" >>conf$$.sh
6668 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6678 if test "x$exec_prefix" = xNONE
; then
6679 if test "x$prefix" = xNONE
; then
6680 gcc_cv_tool_prefix
=$ac_default_prefix
6682 gcc_cv_tool_prefix
=$prefix
6685 gcc_cv_tool_prefix
=$exec_prefix
6688 # If there is no compiler in the tree, use the PATH only. In any
6689 # case, if there is no compiler in the tree nobody should use
6690 # AS_FOR_TARGET and LD_FOR_TARGET.
6691 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6692 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6693 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6694 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6695 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6696 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6697 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6698 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6703 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6704 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6712 # Check whether --with-build-sysroot was given.
6713 if test "${with_build_sysroot+set}" = set; then :
6714 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6715 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6718 SYSROOT_CFLAGS_FOR_TARGET
=
6724 # Check whether --with-debug-prefix-map was given.
6725 if test "${with_debug_prefix_map+set}" = set; then :
6726 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6727 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6728 for debug_map
in $withval; do
6729 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6733 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6738 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6739 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6740 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6741 # We want to ensure that TARGET libraries (which we know are built with
6742 # gcc) are built with "-O2 -g", so include those options when setting
6743 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6744 if test "x$CFLAGS_FOR_TARGET" = x
; then
6745 if test "x${is_cross_compiler}" = xyes
; then
6746 CFLAGS_FOR_TARGET
="-g -O2"
6748 CFLAGS_FOR_TARGET
=$CFLAGS
6751 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6754 *" -g "* |
*" -g3 "*) ;;
6755 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6761 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6762 if test "x${is_cross_compiler}" = xyes
; then
6763 CXXFLAGS_FOR_TARGET
="-g -O2"
6765 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6766 case " $CXXFLAGS " in
6768 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6770 case " $CXXFLAGS " in
6771 *" -g "* |
*" -g3 "*) ;;
6772 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6780 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6781 # the named directory are copied to $(tooldir)/sys-include.
6782 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6783 if test x
${is_cross_compiler} = xno
; then
6784 echo 1>&2 '***' --with-headers is only supported when cross compiling
6787 if test x
"${with_headers}" != xyes
; then
6788 x
=${gcc_cv_tool_prefix}
6789 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6793 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6794 # the name directories are copied to $(tooldir)/lib. Multiple directories
6796 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6797 if test x
${is_cross_compiler} = xno
; then
6798 echo 1>&2 '***' --with-libs is only supported when cross compiling
6801 if test x
"${with_libs}" != xyes
; then
6802 # Copy the libraries in reverse order, so that files in the first named
6803 # library override files in subsequent libraries.
6804 x
=${gcc_cv_tool_prefix}
6805 for l
in ${with_libs}; do
6806 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6811 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6813 # This is done by determining whether or not the appropriate directory
6814 # is available, and by checking whether or not specific configurations
6815 # have requested that this magic not happen.
6817 # The command line options always override the explicit settings in
6818 # configure.ac, and the settings in configure.ac override this magic.
6820 # If the default for a toolchain is to use GNU as and ld, and you don't
6821 # want to do that, then you should use the --without-gnu-as and
6822 # --without-gnu-ld options for the configure script. Similarly, if
6823 # the default is to use the included zlib and you don't want to do that,
6824 # you should use the --with-system-zlib option for the configure script.
6826 if test x
${use_gnu_as} = x
&&
6827 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6829 extra_host_args
="$extra_host_args --with-gnu-as"
6832 if test x
${use_gnu_ld} = x
&&
6833 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6835 extra_host_args
="$extra_host_args --with-gnu-ld"
6838 if test x
${use_included_zlib} = x
&&
6839 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6842 with_system_zlib
=yes
6843 extra_host_args
="$extra_host_args --with-system-zlib"
6846 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6847 # can detect this case.
6849 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6851 extra_host_args
="$extra_host_args --with-newlib"
6854 # Handle ${copy_dirs}
6855 set fnord
${copy_dirs}
6857 while test $# != 0 ; do
6858 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6861 echo Copying
$1 to
$2
6863 # Use the install script to create the directory and all required
6864 # parent directories.
6865 if test -d $2 ; then
6869 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6872 # Copy the directory, assuming we have tar.
6873 # FIXME: Should we use B in the second tar? Not all systems support it.
6874 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6876 # It is the responsibility of the user to correctly adjust all
6877 # symlinks. If somebody can figure out how to handle them correctly
6878 # here, feel free to add the code.
6885 # Determine a target-dependent exec_prefix that the installed
6886 # gcc will search in. Keep this list sorted by triplet, with
6887 # the *-*-osname triplets last.
6890 i
[34567]86-pc-msdosdjgpp*)
6891 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6896 md_exec_prefix
=/usr
/ccs
/bin
6900 extra_arflags_for_target
=
6901 extra_nmflags_for_target
=
6902 extra_ranlibflags_for_target
=
6903 target_makefile_frag
=/dev
/null
6906 target_makefile_frag
="config/mt-spu"
6908 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6909 target_makefile_frag
="config/mt-sde"
6911 mipsisa
*-*-elfoabi*)
6912 target_makefile_frag
="config/mt-mips-elfoabi"
6914 mips
*-*-*linux
* | mips
*-*-gnu*)
6915 target_makefile_frag
="config/mt-mips-gnu"
6918 target_makefile_frag
="config/mt-nios2-elf"
6920 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6921 target_makefile_frag
="config/mt-gnu"
6923 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6924 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6925 # commands to handle both 32-bit and 64-bit objects. These flags are
6926 # harmless if we're using GNU nm or ar.
6927 extra_arflags_for_target
=" -X32_64"
6928 extra_nmflags_for_target
=" -B -X32_64"
6932 alphaieee_frag
=/dev
/null
6935 # This just makes sure to use the -mieee option to build target libs.
6936 # This should probably be set individually by each library.
6937 alphaieee_frag
="config/mt-alphaieee"
6941 # If --enable-target-optspace always use -Os instead of -O2 to build
6942 # the target libraries, similarly if it is not specified, use -Os
6943 # on selected platforms.
6944 ospace_frag
=/dev
/null
6945 case "${enable_target_optspace}:${target}" in
6947 ospace_frag
="config/mt-ospace"
6950 ospace_frag
="config/mt-d30v"
6952 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6953 ospace_frag
="config/mt-ospace"
6958 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6962 # Some systems (e.g., one of the i386-aix systems the gas testers are
6963 # using) don't handle "\$" correctly, so don't use it here.
6964 tooldir
='${exec_prefix}'/${target_noncanonical}
6965 build_tooldir
=${tooldir}
6967 # Create a .gdbinit file which runs the one in srcdir
6968 # and tells GDB to look there for source files.
6970 if test -r ${srcdir}/.gdbinit
; then
6973 *) cat > .
/.gdbinit
<<EOF
6977 source ${srcdir}/.gdbinit
6983 # Make sure that the compiler is able to generate an executable. If it
6984 # can't, we are probably in trouble. We don't care whether we can run the
6985 # executable--we might be using a cross compiler--we only care whether it
6986 # can be created. At this point the main configure script has set CC.
6988 echo "int main () { return 0; }" > conftest.c
6989 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6990 if test $?
= 0 ; then
6991 if test -s conftest ||
test -s conftest.exe
; then
6997 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6998 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7005 # Decide which environment variable is used to find dynamic libraries.
7007 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7008 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7009 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7010 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7013 # On systems where the dynamic library environment variable is PATH,
7014 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7015 # built executables to PATH.
7016 if test "$RPATH_ENVVAR" = PATH
; then
7017 GCC_SHLIB_SUBDIR
=/shlib
7022 # Adjust the toplevel makefile according to whether bootstrap was selected.
7023 case $enable_bootstrap in
7025 bootstrap_suffix
=bootstrap
7026 BUILD_CONFIG
=bootstrap-debug
7029 bootstrap_suffix
=no-bootstrap
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7035 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7038 # Check whether --with-build-config was given.
7039 if test "${with_build_config+set}" = set; then :
7040 withval
=$with_build_config; case $with_build_config in
7041 yes) with_build_config
= ;;
7042 no
) with_build_config
= BUILD_CONFIG
= ;;
7047 if test "x${with_build_config}" != x
; then
7048 BUILD_CONFIG
=$with_build_config
7050 case $BUILD_CONFIG in
7052 if echo "int f (void) { return 0; }" > conftest.c
&&
7053 ${CC} -c conftest.c
&&
7054 mv conftest.o conftest.o.g0
&&
7055 ${CC} -c -g conftest.c
&&
7056 mv conftest.o conftest.o.g
&&
7057 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7062 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7067 $as_echo "$BUILD_CONFIG" >&6; }
7070 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7072 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7073 # Check whether --enable-vtable-verify was given.
7074 if test "${enable_vtable_verify+set}" = set; then :
7075 enableval
=$enable_vtable_verify; case "$enableval" in
7076 yes) enable_vtable_verify
=yes ;;
7077 no
) enable_vtable_verify
=no
;;
7078 *) enable_vtable_verify
=no
;;
7081 enable_vtable_verify
=no
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7085 $as_echo "$enable_vtable_verify" >&6; }
7087 # Record target_configdirs and the configure arguments for target and
7088 # build configuration in Makefile.
7089 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7090 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7091 bootstrap_fixincludes
=no
7093 # If we are building libgomp, bootstrap it.
7094 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7095 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7098 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7099 # or bootstrap-ubsan, bootstrap it.
7100 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7101 case "$BUILD_CONFIG" in
7102 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7103 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7104 bootstrap_fixincludes
=yes
7109 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7110 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7111 test "$enable_vtable_verify" != no
; then
7112 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7115 # If we are building libmpx, bootstrap it.
7116 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7117 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7120 # Determine whether gdb needs tk/tcl or not.
7121 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7122 # and in that case we want gdb to be built without tk. Ugh!
7123 # In fact I believe gdb is the *only* package directly dependent on tk,
7124 # so we should be able to put the 'maybe's in unconditionally and
7125 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7126 # 100% sure that that's safe though.
7128 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7129 case "$enable_gdbtk" in
7133 GDB_TK
="${gdb_tk}" ;;
7135 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7136 # distro. Eventually someone will fix this and move Insight, nee
7137 # gdbtk to a separate directory.
7138 if test -d ${srcdir}/gdb
/gdbtk
; then
7145 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7146 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7148 # Strip out unwanted targets.
7150 # While at that, we remove Makefiles if we were started for recursive
7151 # configuration, so that the top-level Makefile reconfigures them,
7152 # like we used to do when configure itself was recursive.
7154 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7155 # but now we're fixing up the Makefile ourselves with the additional
7156 # commands passed to AC_CONFIG_FILES. Use separate variables
7157 # extrasub-{build,host,target} not because there is any reason to split
7158 # the substitutions up that way, but only to remain below the limit of
7159 # 99 commands in a script, for HP-UX sed.
7160 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7162 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7163 yes:yes:*\ gold\
*:*,c
++,*) ;;
7164 yes:yes:*\ gold\
*:*)
7165 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7170 for module
in ${build_configdirs} ; do
7171 if test -z "${no_recursion}" \
7172 && test -f ${build_subdir}/${module}/Makefile
; then
7173 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7174 rm -f ${build_subdir}/${module}/Makefile
7176 extrasub_build
="$extrasub_build
7177 /^@if build-$module\$/d
7178 /^@endif build-$module\$/d
7179 /^@if build-$module-$bootstrap_suffix\$/d
7180 /^@endif build-$module-$bootstrap_suffix\$/d"
7183 for module
in ${configdirs} ; do
7184 if test -z "${no_recursion}"; then
7185 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7186 if test -f ${file}; then
7187 echo 1>&2 "*** removing ${file} to force reconfigure"
7192 case ${module},${bootstrap_fixincludes} in
7193 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7194 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7196 extrasub_host
="$extrasub_host
7198 /^@endif $module\$/d
7199 /^@if $module-$host_bootstrap_suffix\$/d
7200 /^@endif $module-$host_bootstrap_suffix\$/d"
7203 for module
in ${target_configdirs} ; do
7204 if test -z "${no_recursion}" \
7205 && test -f ${target_subdir}/${module}/Makefile
; then
7206 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7207 rm -f ${target_subdir}/${module}/Makefile
7210 # We only bootstrap target libraries listed in bootstrap_target_libs.
7211 case $bootstrap_target_libs in
7212 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7213 *) target_bootstrap_suffix
=no-bootstrap
;;
7216 extrasub_target
="$extrasub_target
7217 /^@if target-$module\$/d
7218 /^@endif target-$module\$/d
7219 /^@if target-$module-$target_bootstrap_suffix\$/d
7220 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7223 # Do the final fixup along with target modules.
7224 extrasub_target
="$extrasub_target
7225 /^@if /,/^@endif /d"
7227 # Create the serialization dependencies. This uses a temporary file.
7229 # Check whether --enable-serial-configure was given.
7230 if test "${enable_serial_configure+set}" = set; then :
7231 enableval
=$enable_serial_configure;
7235 case ${enable_serial_configure} in
7237 enable_serial_build_configure
=yes
7238 enable_serial_host_configure
=yes
7239 enable_serial_target_configure
=yes
7243 # These force 'configure's to be done one at a time, to avoid problems
7244 # with contention over a shared config.cache.
7246 echo '# serdep.tmp' > serdep.tmp
7248 test "x${enable_serial_build_configure}" = xyes
&&
7249 for item
in ${build_configdirs} ; do
7252 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7257 test "x${enable_serial_host_configure}" = xyes
&&
7258 for item
in ${configdirs} ; do
7261 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7266 test "x${enable_serial_target_configure}" = xyes
&&
7267 for item
in ${target_configdirs} ; do
7270 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7274 serialization_dependencies
=serdep.tmp
7277 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7278 # target, nonopt, and variable assignments. These are the ones we
7279 # might not want to pass down to subconfigures. The exception being
7280 # --cache-file=/dev/null, which is used to turn off the use of cache
7281 # files altogether, and which should be passed on to subconfigures.
7282 # Also strip program-prefix, program-suffix, and program-transform-name,
7283 # so that we can pass down a consistent program-transform-name.
7288 eval "set -- $ac_configure_args"
7291 if test X
"$skip_next" = X
"yes"; then
7295 if test X
"$keep_next" = X
"yes"; then
7298 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7300 baseargs
="$baseargs '$ac_arg'"
7301 tbaseargs
="$tbaseargs '$ac_arg'"
7306 # Handle separated arguments. Based on the logic generated by
7309 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7310 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7311 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7312 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7326 --with-* |
--without-*)
7327 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7331 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7334 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7343 mpc | mpfr | gmp | isl
)
7344 # If we're processing --with-$lib, --with-$lib-include or
7345 # --with-$lib-lib, for one of the libs above, and target is
7346 # different from host, don't pass the current argument to any
7347 # target library's configure.
7348 if test x
$is_cross_compiler = xyes
; then
7357 --cache-file=/dev
/null | \
7358 -cache-file=/dev
/null
)
7359 # Handled here to avoid the test to skip args below.
7360 baseargs
="$baseargs '$ac_arg'"
7361 tbaseargs
="$tbaseargs '$ac_arg'"
7362 # Assert: $separate_arg should always be no.
7363 keep_next
=$separate_arg
7379 -program-prefix* | \
7380 -program-suffix* | \
7381 -program-transform-name* )
7382 skip_next
=$separate_arg
7386 # An option. Add it.
7389 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7391 baseargs
="$baseargs '$ac_arg'"
7392 if test X
"$skip_targ" = Xno
; then
7393 tbaseargs
="$tbaseargs '$ac_arg'"
7395 keep_next
=$separate_arg
7398 # Either a variable assignment, or a nonopt (triplet). Don't
7399 # pass it down; let the Makefile handle this.
7404 # Remove the initial space we just introduced and, as these will be
7405 # expanded by make, quote '$'.
7406 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7408 # Add in --program-transform-name, after --program-prefix and
7409 # --program-suffix have been applied to it. Autoconf has already
7410 # doubled dollar signs and backslashes in program_transform_name; we want
7411 # the backslashes un-doubled, and then the entire thing wrapped in single
7412 # quotes, because this will be expanded first by make and then by the shell.
7413 # Also, because we want to override the logic in subdir configure scripts to
7414 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7415 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7416 ${program_transform_name}
7418 gcc_transform_name
=`cat conftestsed.out`
7419 rm -f conftestsed.out
7420 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7421 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7422 if test "$silent" = yes; then
7423 baseargs
="$baseargs --silent"
7424 tbaseargs
="$tbaseargs --silent"
7426 baseargs
="$baseargs --disable-option-checking"
7427 tbaseargs
="$tbaseargs --disable-option-checking"
7429 # Record and document user additions to sub configure arguments.
7434 # For the build-side libraries, we just need to pretend we're native,
7435 # and not use the same cache file. Multilibs are neither needed nor
7436 # desired. We can't even use the same cache file for all build-side
7437 # libraries, as they're compiled differently; some with C, some with
7438 # C++ or with different feature-enabling options.
7439 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7441 # For host modules, accept cache file option, or specification as blank.
7442 case "${cache_file}" in
7444 cache_file_option
="" ;;
7445 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7446 cache_file_option
="--cache-file=${cache_file}" ;;
7448 cache_file_option
="--cache-file=../${cache_file}" ;;
7451 # Host dirs don't like to share a cache file either, horribly enough.
7452 # This seems to be due to autoconf 2.5x stupidity.
7453 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7455 target_configargs
="$target_configargs ${tbaseargs}"
7457 # Passing a --with-cross-host argument lets the target libraries know
7458 # whether they are being built with a cross-compiler or being built
7459 # native. However, it would be better to use other mechanisms to make the
7460 # sorts of decisions they want to make on this basis. Please consider
7461 # this option to be deprecated. FIXME.
7462 if test x
${is_cross_compiler} = xyes
; then
7463 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7466 # Special user-friendly check for native x86_64-linux build, if
7467 # multilib is not explicitly enabled.
7468 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7469 x86_64-
*linux
*:yes:$build:$build:)
7470 # Make sure we have a development environment that handles 32-bit
7472 echo "int main () { return 0; }" > conftest.c
7473 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7474 if test $?
= 0 ; then
7475 if test -s conftest ||
test -s conftest.exe
; then
7480 if test x
${dev64} != xyes
; then
7481 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
7486 # Default to --enable-multilib.
7487 if test x
${enable_multilib} = x
; then
7488 target_configargs
="--enable-multilib ${target_configargs}"
7491 # Pass --with-newlib if appropriate. Note that target_configdirs has
7492 # changed from the earlier setting of with_newlib.
7493 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7494 target_configargs
="--with-newlib ${target_configargs}"
7497 # Different target subdirs use different values of certain variables
7498 # (notably CXX). Worse, multilibs use *lots* of different values.
7499 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7500 # it doesn't automatically accept command-line overrides of them.
7501 # This means it's not safe for target subdirs to share a cache file,
7502 # which is disgusting, but there you have it. Hopefully this can be
7503 # fixed in future. It's still worthwhile to use a cache file for each
7504 # directory. I think.
7506 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7507 # We need to pass --target, as newer autoconf's requires consistency
7508 # for target_alias and gcc doesn't manage it consistently.
7509 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7512 case " $target_configdirs " in
7514 case " $target_configargs " in
7515 *" --with-newlib "*)
7518 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7522 # If we're not building GCC, don't discard standard headers.
7523 if test -d ${srcdir}/gcc
; then
7524 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7526 if test "${build}" != "${host}"; then
7527 # On Canadian crosses, CC_FOR_TARGET will have already been set
7528 # by `configure', so we won't have an opportunity to add -Bgcc/
7529 # to it. This is right: we don't want to search that directory
7530 # for binaries, but we want the header files in there, so add
7532 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7534 # Someone might think of using the pre-installed headers on
7535 # Canadian crosses, in case the installed compiler is not fully
7536 # compatible with the compiler being built. In this case, it
7537 # would be better to flag an error than risking having
7538 # incompatible object files being constructed. We can't
7539 # guarantee that an error will be flagged, but let's hope the
7540 # compiler will do it, when presented with incompatible header
7545 case "${target}-${is_cross_compiler}" in
7546 i
[3456789]86-*-linux*-no)
7547 # Here host == target, so we don't need to build gcc,
7548 # so we don't want to discard standard headers.
7549 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7552 # If we're building newlib, use its generic headers last, but search
7553 # for any libc-related directories first (so make it the last -B
7555 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7557 # If we're building libgloss, find the startup file, simulator library
7558 # and linker script.
7559 case " $target_configdirs " in
7561 # Look for startup file, simulator library and maybe linker script.
7562 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7563 # Look for libnosys.a in case the target needs it.
7564 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7565 # Most targets have the linker script in the source directory.
7566 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7577 x86_64-
*mingw
* |
*-w64-mingw*)
7578 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7579 # however, use a symlink named 'mingw' in ${prefix} .
7580 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7583 # MinGW can't be handled as Cygwin above since it does not use newlib.
7584 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'
7588 # Allow the user to override the flags for
7589 # our build compiler if desired.
7590 if test x
"${build}" = x
"${host}" ; then
7591 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7592 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7593 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7596 # On Canadian crosses, we'll be searching the right directories for
7597 # the previously-installed cross compiler, so don't bother to add
7598 # flags for directories within the install tree of the compiler
7599 # being built; programs in there won't even run.
7600 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7601 # Search for pre-installed headers if nothing else fits.
7602 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7605 if test "x
${use_gnu_ld}" = x &&
7606 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7607 # Arrange for us to find uninstalled linker scripts.
7608 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7611 # Search for other target-specific linker scripts and such.
7614 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7618 # Makefile fragments.
7619 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7621 eval fragval=\$$frag
7622 if test $fragval != /dev/null; then
7623 eval $frag=${srcdir}/$fragval
7631 # Miscellanea: directories, flags, etc.
7640 # Build module lists & subconfigure args.
7644 # Host module lists & subconfigure args.
7649 # Target module lists & subconfigure args.
7671 # Generate default definitions for YACC, M4, LEX and other programs that run
7672 # on the build machine. These are used if the Makefile can't locate these
7673 # programs in objdir.
7674 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7676 for ac_prog in 'bison -y' byacc yacc
7678 # Extract the first word of "$ac_prog", so it can be a program name with args.
7679 set dummy $ac_prog; ac_word=$2
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7681 $as_echo_n "checking
for $ac_word...
" >&6; }
7682 if test "${ac_cv_prog_YACC+set}" = set; then :
7683 $as_echo_n "(cached
) " >&6
7685 if test -n "$YACC"; then
7686 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_prog_YACC="$ac_prog"
7696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 YACC=$ac_cv_prog_YACC
7706 if test -n "$YACC"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7708 $as_echo "$YACC" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7711 $as_echo "no
" >&6; }
7715 test -n "$YACC" && break
7717 test -n "$YACC" || YACC="$MISSING bison
-y"
7719 case " $build_configdirs " in
7720 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7723 for ac_prog in bison
7725 # Extract the first word of "$ac_prog", so it can be a program name with args.
7726 set dummy $ac_prog; ac_word=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7728 $as_echo_n "checking
for $ac_word...
" >&6; }
7729 if test "${ac_cv_prog_BISON+set}" = set; then :
7730 $as_echo_n "(cached
) " >&6
7732 if test -n "$BISON"; then
7733 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7742 ac_cv_prog_BISON="$ac_prog"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7752 BISON=$ac_cv_prog_BISON
7753 if test -n "$BISON"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7755 $as_echo "$BISON" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7758 $as_echo "no
" >&6; }
7762 test -n "$BISON" && break
7764 test -n "$BISON" || BISON="$MISSING bison
"
7766 case " $build_configdirs " in
7767 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7770 for ac_prog in gm4 gnum4 m4
7772 # Extract the first word of "$ac_prog", so it can be a program name with args.
7773 set dummy $ac_prog; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7775 $as_echo_n "checking
for $ac_word...
" >&6; }
7776 if test "${ac_cv_prog_M4+set}" = set; then :
7777 $as_echo_n "(cached
) " >&6
7779 if test -n "$M4"; then
7780 ac_cv_prog_M4="$M4" # Let the user override the test.
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7789 ac_cv_prog_M4="$ac_prog"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7800 if test -n "$M4"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7802 $as_echo "$M4" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7805 $as_echo "no
" >&6; }
7809 test -n "$M4" && break
7811 test -n "$M4" || M4="$MISSING m4"
7813 case " $build_configdirs " in
7814 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7817 for ac_prog in flex lex
7819 # Extract the first word of "$ac_prog", so it can be a program name with args.
7820 set dummy $ac_prog; ac_word=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7822 $as_echo_n "checking
for $ac_word...
" >&6; }
7823 if test "${ac_cv_prog_LEX+set}" = set; then :
7824 $as_echo_n "(cached
) " >&6
7826 if test -n "$LEX"; then
7827 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836 ac_cv_prog_LEX="$ac_prog"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7847 if test -n "$LEX"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7849 $as_echo "$LEX" >&6; }
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7852 $as_echo "no
" >&6; }
7856 test -n "$LEX" && break
7858 test -n "$LEX" || LEX="$MISSING flex
"
7860 case " $build_configdirs " in
7861 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7862 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7867 # Extract the first word of "$ac_prog", so it can be a program name with args.
7868 set dummy $ac_prog; ac_word=$2
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7870 $as_echo_n "checking
for $ac_word...
" >&6; }
7871 if test "${ac_cv_prog_FLEX+set}" = set; then :
7872 $as_echo_n "(cached
) " >&6
7874 if test -n "$FLEX"; then
7875 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881 test -z "$as_dir" && as_dir=.
7882 for ac_exec_ext in '' $ac_executable_extensions; do
7883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7884 ac_cv_prog_FLEX="$ac_prog"
7885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7894 FLEX=$ac_cv_prog_FLEX
7895 if test -n "$FLEX"; then
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7897 $as_echo "$FLEX" >&6; }
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7900 $as_echo "no
" >&6; }
7904 test -n "$FLEX" && break
7906 test -n "$FLEX" || FLEX="$MISSING flex
"
7908 case " $build_configdirs " in
7909 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7912 for ac_prog in makeinfo
7914 # Extract the first word of "$ac_prog", so it can be a program name with args.
7915 set dummy $ac_prog; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7917 $as_echo_n "checking
for $ac_word...
" >&6; }
7918 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7919 $as_echo_n "(cached
) " >&6
7921 if test -n "$MAKEINFO"; then
7922 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7931 ac_cv_prog_MAKEINFO="$ac_prog"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7941 MAKEINFO=$ac_cv_prog_MAKEINFO
7942 if test -n "$MAKEINFO"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7944 $as_echo "$MAKEINFO" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7947 $as_echo "no
" >&6; }
7951 test -n "$MAKEINFO" && break
7953 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7955 case " $build_configdirs " in
7956 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7959 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7960 # higher, else we use the "missing
" dummy.
7961 if ${MAKEINFO} --version \
7962 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7965 MAKEINFO="$MISSING makeinfo
"
7971 # FIXME: expect and dejagnu may become build tools?
7973 for ac_prog in expect
7975 # Extract the first word of "$ac_prog", so it can be a program name with args.
7976 set dummy $ac_prog; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7978 $as_echo_n "checking
for $ac_word...
" >&6; }
7979 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7980 $as_echo_n "(cached
) " >&6
7982 if test -n "$EXPECT"; then
7983 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7992 ac_cv_prog_EXPECT="$ac_prog"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8002 EXPECT=$ac_cv_prog_EXPECT
8003 if test -n "$EXPECT"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8005 $as_echo "$EXPECT" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8008 $as_echo "no
" >&6; }
8012 test -n "$EXPECT" && break
8014 test -n "$EXPECT" || EXPECT="expect
"
8016 case " $configdirs " in
8018 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8022 for ac_prog in runtest
8024 # Extract the first word of "$ac_prog", so it can be a program name with args.
8025 set dummy $ac_prog; ac_word=$2
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8027 $as_echo_n "checking
for $ac_word...
" >&6; }
8028 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8029 $as_echo_n "(cached
) " >&6
8031 if test -n "$RUNTEST"; then
8032 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_prog_RUNTEST="$ac_prog"
8042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8051 RUNTEST=$ac_cv_prog_RUNTEST
8052 if test -n "$RUNTEST"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8054 $as_echo "$RUNTEST" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8057 $as_echo "no
" >&6; }
8061 test -n "$RUNTEST" && break
8063 test -n "$RUNTEST" || RUNTEST="runtest
"
8065 case " $configdirs " in
8067 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8074 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8075 ncn_target_tool_prefix=
8076 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8080 if test -n "$AR"; then
8082 elif test -n "$ac_cv_prog_AR"; then
8086 if test -n "$ac_cv_prog_AR"; then
8087 for ncn_progname in ar; do
8088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8089 set dummy ${ncn_progname}; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8091 $as_echo_n "checking
for $ac_word...
" >&6; }
8092 if test "${ac_cv_prog_AR+set}" = set; then :
8093 $as_echo_n "(cached
) " >&6
8095 if test -n "$AR"; then
8096 ac_cv_prog_AR="$AR" # Let the user override the test.
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8105 ac_cv_prog_AR="${ncn_progname}"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8116 if test -n "$AR"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8118 $as_echo "$AR" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8121 $as_echo "no
" >&6; }
8128 for ncn_progname in ar; do
8129 if test -n "$ncn_tool_prefix"; then
8130 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8131 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8133 $as_echo_n "checking
for $ac_word...
" >&6; }
8134 if test "${ac_cv_prog_AR+set}" = set; then :
8135 $as_echo_n "(cached
) " >&6
8137 if test -n "$AR"; then
8138 ac_cv_prog_AR="$AR" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8147 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8158 if test -n "$AR"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8160 $as_echo "$AR" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8163 $as_echo "no
" >&6; }
8168 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8170 set dummy ${ncn_progname}; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8172 $as_echo_n "checking
for $ac_word...
" >&6; }
8173 if test "${ac_cv_prog_AR+set}" = set; then :
8174 $as_echo_n "(cached
) " >&6
8176 if test -n "$AR"; then
8177 ac_cv_prog_AR="$AR" # Let the user override the test.
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_prog_AR="${ncn_progname}"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8197 if test -n "$AR"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8199 $as_echo "$AR" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8202 $as_echo "no
" >&6; }
8207 test -n "$ac_cv_prog_AR" && break
8210 if test -z "$ac_cv_prog_AR" ; then
8212 if test $build = $host ; then
8215 AR="${ncn_tool_prefix}$2"
8221 if test -n "$AS"; then
8223 elif test -n "$ac_cv_prog_AS"; then
8227 if test -n "$ac_cv_prog_AS"; then
8228 for ncn_progname in as; do
8229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8230 set dummy ${ncn_progname}; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8232 $as_echo_n "checking
for $ac_word...
" >&6; }
8233 if test "${ac_cv_prog_AS+set}" = set; then :
8234 $as_echo_n "(cached
) " >&6
8236 if test -n "$AS"; then
8237 ac_cv_prog_AS="$AS" # Let the user override the test.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_AS="${ncn_progname}"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8257 if test -n "$AS"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8259 $as_echo "$AS" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8262 $as_echo "no
" >&6; }
8269 for ncn_progname in as; do
8270 if test -n "$ncn_tool_prefix"; then
8271 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8272 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8274 $as_echo_n "checking
for $ac_word...
" >&6; }
8275 if test "${ac_cv_prog_AS+set}" = set; then :
8276 $as_echo_n "(cached
) " >&6
8278 if test -n "$AS"; then
8279 ac_cv_prog_AS="$AS" # Let the user override the test.
8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir=.
8286 for ac_exec_ext in '' $ac_executable_extensions; do
8287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8288 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8299 if test -n "$AS"; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8301 $as_echo "$AS" >&6; }
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8304 $as_echo "no
" >&6; }
8309 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8311 set dummy ${ncn_progname}; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8313 $as_echo_n "checking
for $ac_word...
" >&6; }
8314 if test "${ac_cv_prog_AS+set}" = set; then :
8315 $as_echo_n "(cached
) " >&6
8317 if test -n "$AS"; then
8318 ac_cv_prog_AS="$AS" # Let the user override the test.
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8327 ac_cv_prog_AS="${ncn_progname}"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8338 if test -n "$AS"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8340 $as_echo "$AS" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8343 $as_echo "no
" >&6; }
8348 test -n "$ac_cv_prog_AS" && break
8351 if test -z "$ac_cv_prog_AS" ; then
8353 if test $build = $host ; then
8356 AS="${ncn_tool_prefix}$2"
8362 if test -n "$DLLTOOL"; then
8363 ac_cv_prog_DLLTOOL=$DLLTOOL
8364 elif test -n "$ac_cv_prog_DLLTOOL"; then
8365 DLLTOOL=$ac_cv_prog_DLLTOOL
8368 if test -n "$ac_cv_prog_DLLTOOL"; then
8369 for ncn_progname in dlltool; do
8370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8371 set dummy ${ncn_progname}; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8373 $as_echo_n "checking
for $ac_word...
" >&6; }
8374 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8375 $as_echo_n "(cached
) " >&6
8377 if test -n "$DLLTOOL"; then
8378 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8384 test -z "$as_dir" && as_dir=.
8385 for ac_exec_ext in '' $ac_executable_extensions; do
8386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8387 ac_cv_prog_DLLTOOL="${ncn_progname}"
8388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8397 DLLTOOL=$ac_cv_prog_DLLTOOL
8398 if test -n "$DLLTOOL"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8400 $as_echo "$DLLTOOL" >&6; }
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8403 $as_echo "no
" >&6; }
8410 for ncn_progname in dlltool; do
8411 if test -n "$ncn_tool_prefix"; then
8412 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8413 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8415 $as_echo_n "checking
for $ac_word...
" >&6; }
8416 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8417 $as_echo_n "(cached
) " >&6
8419 if test -n "$DLLTOOL"; then
8420 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8429 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8439 DLLTOOL=$ac_cv_prog_DLLTOOL
8440 if test -n "$DLLTOOL"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8442 $as_echo "$DLLTOOL" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8445 $as_echo "no
" >&6; }
8450 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8452 set dummy ${ncn_progname}; ac_word=$2
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8454 $as_echo_n "checking
for $ac_word...
" >&6; }
8455 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8456 $as_echo_n "(cached
) " >&6
8458 if test -n "$DLLTOOL"; then
8459 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8465 test -z "$as_dir" && as_dir=.
8466 for ac_exec_ext in '' $ac_executable_extensions; do
8467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468 ac_cv_prog_DLLTOOL="${ncn_progname}"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8478 DLLTOOL=$ac_cv_prog_DLLTOOL
8479 if test -n "$DLLTOOL"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8481 $as_echo "$DLLTOOL" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8484 $as_echo "no
" >&6; }
8489 test -n "$ac_cv_prog_DLLTOOL" && break
8492 if test -z "$ac_cv_prog_DLLTOOL" ; then
8494 if test $build = $host ; then
8497 DLLTOOL="${ncn_tool_prefix}$2"
8503 if test -n "$LD"; then
8505 elif test -n "$ac_cv_prog_LD"; then
8509 if test -n "$ac_cv_prog_LD"; then
8510 for ncn_progname in ld; do
8511 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8512 set dummy ${ncn_progname}; ac_word=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8514 $as_echo_n "checking
for $ac_word...
" >&6; }
8515 if test "${ac_cv_prog_LD+set}" = set; then :
8516 $as_echo_n "(cached
) " >&6
8518 if test -n "$LD"; then
8519 ac_cv_prog_LD="$LD" # Let the user override the test.
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8528 ac_cv_prog_LD="${ncn_progname}"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8539 if test -n "$LD"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8541 $as_echo "$LD" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8544 $as_echo "no
" >&6; }
8551 for ncn_progname in ld; do
8552 if test -n "$ncn_tool_prefix"; then
8553 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8554 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8556 $as_echo_n "checking
for $ac_word...
" >&6; }
8557 if test "${ac_cv_prog_LD+set}" = set; then :
8558 $as_echo_n "(cached
) " >&6
8560 if test -n "$LD"; then
8561 ac_cv_prog_LD="$LD" # Let the user override the test.
8563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8567 test -z "$as_dir" && as_dir=.
8568 for ac_exec_ext in '' $ac_executable_extensions; do
8569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8570 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8581 if test -n "$LD"; then
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8583 $as_echo "$LD" >&6; }
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8586 $as_echo "no
" >&6; }
8591 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8592 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8593 set dummy ${ncn_progname}; ac_word=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8595 $as_echo_n "checking
for $ac_word...
" >&6; }
8596 if test "${ac_cv_prog_LD+set}" = set; then :
8597 $as_echo_n "(cached
) " >&6
8599 if test -n "$LD"; then
8600 ac_cv_prog_LD="$LD" # Let the user override the test.
8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8609 ac_cv_prog_LD="${ncn_progname}"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8620 if test -n "$LD"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8622 $as_echo "$LD" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8625 $as_echo "no
" >&6; }
8630 test -n "$ac_cv_prog_LD" && break
8633 if test -z "$ac_cv_prog_LD" ; then
8635 if test $build = $host ; then
8638 LD="${ncn_tool_prefix}$2"
8644 if test -n "$LIPO"; then
8645 ac_cv_prog_LIPO=$LIPO
8646 elif test -n "$ac_cv_prog_LIPO"; then
8647 LIPO=$ac_cv_prog_LIPO
8650 if test -n "$ac_cv_prog_LIPO"; then
8651 for ncn_progname in lipo; do
8652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8653 set dummy ${ncn_progname}; ac_word=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8655 $as_echo_n "checking
for $ac_word...
" >&6; }
8656 if test "${ac_cv_prog_LIPO+set}" = set; then :
8657 $as_echo_n "(cached
) " >&6
8659 if test -n "$LIPO"; then
8660 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 test -z "$as_dir" && as_dir=.
8667 for ac_exec_ext in '' $ac_executable_extensions; do
8668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8669 ac_cv_prog_LIPO="${ncn_progname}"
8670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 LIPO=$ac_cv_prog_LIPO
8680 if test -n "$LIPO"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8682 $as_echo "$LIPO" >&6; }
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8685 $as_echo "no
" >&6; }
8692 for ncn_progname in lipo; do
8693 if test -n "$ncn_tool_prefix"; then
8694 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8695 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8697 $as_echo_n "checking
for $ac_word...
" >&6; }
8698 if test "${ac_cv_prog_LIPO+set}" = set; then :
8699 $as_echo_n "(cached
) " >&6
8701 if test -n "$LIPO"; then
8702 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8711 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8721 LIPO=$ac_cv_prog_LIPO
8722 if test -n "$LIPO"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8724 $as_echo "$LIPO" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8727 $as_echo "no
" >&6; }
8732 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8734 set dummy ${ncn_progname}; ac_word=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8736 $as_echo_n "checking
for $ac_word...
" >&6; }
8737 if test "${ac_cv_prog_LIPO+set}" = set; then :
8738 $as_echo_n "(cached
) " >&6
8740 if test -n "$LIPO"; then
8741 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8747 test -z "$as_dir" && as_dir=.
8748 for ac_exec_ext in '' $ac_executable_extensions; do
8749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8750 ac_cv_prog_LIPO="${ncn_progname}"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8760 LIPO=$ac_cv_prog_LIPO
8761 if test -n "$LIPO"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8763 $as_echo "$LIPO" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8766 $as_echo "no
" >&6; }
8771 test -n "$ac_cv_prog_LIPO" && break
8774 if test -z "$ac_cv_prog_LIPO" ; then
8776 if test $build = $host ; then
8779 LIPO="${ncn_tool_prefix}$2"
8785 if test -n "$NM"; then
8787 elif test -n "$ac_cv_prog_NM"; then
8791 if test -n "$ac_cv_prog_NM"; then
8792 for ncn_progname in nm; do
8793 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8794 set dummy ${ncn_progname}; ac_word=$2
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8796 $as_echo_n "checking
for $ac_word...
" >&6; }
8797 if test "${ac_cv_prog_NM+set}" = set; then :
8798 $as_echo_n "(cached
) " >&6
8800 if test -n "$NM"; then
8801 ac_cv_prog_NM="$NM" # Let the user override the test.
8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 test -z "$as_dir" && as_dir=.
8808 for ac_exec_ext in '' $ac_executable_extensions; do
8809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8810 ac_cv_prog_NM="${ncn_progname}"
8811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8821 if test -n "$NM"; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8823 $as_echo "$NM" >&6; }
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8826 $as_echo "no
" >&6; }
8833 for ncn_progname in nm; do
8834 if test -n "$ncn_tool_prefix"; then
8835 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8836 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8838 $as_echo_n "checking
for $ac_word...
" >&6; }
8839 if test "${ac_cv_prog_NM+set}" = set; then :
8840 $as_echo_n "(cached
) " >&6
8842 if test -n "$NM"; then
8843 ac_cv_prog_NM="$NM" # Let the user override the test.
8845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 test -z "$as_dir" && as_dir=.
8850 for ac_exec_ext in '' $ac_executable_extensions; do
8851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8852 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8863 if test -n "$NM"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8865 $as_echo "$NM" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8868 $as_echo "no
" >&6; }
8873 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8875 set dummy ${ncn_progname}; ac_word=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8877 $as_echo_n "checking
for $ac_word...
" >&6; }
8878 if test "${ac_cv_prog_NM+set}" = set; then :
8879 $as_echo_n "(cached
) " >&6
8881 if test -n "$NM"; then
8882 ac_cv_prog_NM="$NM" # Let the user override the test.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8891 ac_cv_prog_NM="${ncn_progname}"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8902 if test -n "$NM"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8904 $as_echo "$NM" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8907 $as_echo "no
" >&6; }
8912 test -n "$ac_cv_prog_NM" && break
8915 if test -z "$ac_cv_prog_NM" ; then
8917 if test $build = $host ; then
8920 NM="${ncn_tool_prefix}$2"
8926 if test -n "$RANLIB"; then
8927 ac_cv_prog_RANLIB=$RANLIB
8928 elif test -n "$ac_cv_prog_RANLIB"; then
8929 RANLIB=$ac_cv_prog_RANLIB
8932 if test -n "$ac_cv_prog_RANLIB"; then
8933 for ncn_progname in ranlib; do
8934 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8935 set dummy ${ncn_progname}; ac_word=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8937 $as_echo_n "checking
for $ac_word...
" >&6; }
8938 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8939 $as_echo_n "(cached
) " >&6
8941 if test -n "$RANLIB"; then
8942 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir=.
8949 for ac_exec_ext in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_prog_RANLIB="${ncn_progname}"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8961 RANLIB=$ac_cv_prog_RANLIB
8962 if test -n "$RANLIB"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8964 $as_echo "$RANLIB" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8967 $as_echo "no
" >&6; }
8974 for ncn_progname in ranlib; do
8975 if test -n "$ncn_tool_prefix"; then
8976 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8977 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8979 $as_echo_n "checking
for $ac_word...
" >&6; }
8980 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8981 $as_echo_n "(cached
) " >&6
8983 if test -n "$RANLIB"; then
8984 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8990 test -z "$as_dir" && as_dir=.
8991 for ac_exec_ext in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9003 RANLIB=$ac_cv_prog_RANLIB
9004 if test -n "$RANLIB"; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9006 $as_echo "$RANLIB" >&6; }
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9009 $as_echo "no
" >&6; }
9014 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9016 set dummy ${ncn_progname}; ac_word=$2
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9018 $as_echo_n "checking
for $ac_word...
" >&6; }
9019 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9020 $as_echo_n "(cached
) " >&6
9022 if test -n "$RANLIB"; then
9023 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir=.
9030 for ac_exec_ext in '' $ac_executable_extensions; do
9031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9032 ac_cv_prog_RANLIB="${ncn_progname}"
9033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9042 RANLIB=$ac_cv_prog_RANLIB
9043 if test -n "$RANLIB"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9045 $as_echo "$RANLIB" >&6; }
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9048 $as_echo "no
" >&6; }
9053 test -n "$ac_cv_prog_RANLIB" && break
9056 if test -z "$ac_cv_prog_RANLIB" ; then
9062 if test -n "$STRIP"; then
9063 ac_cv_prog_STRIP=$STRIP
9064 elif test -n "$ac_cv_prog_STRIP"; then
9065 STRIP=$ac_cv_prog_STRIP
9068 if test -n "$ac_cv_prog_STRIP"; then
9069 for ncn_progname in strip; do
9070 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9071 set dummy ${ncn_progname}; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9073 $as_echo_n "checking
for $ac_word...
" >&6; }
9074 if test "${ac_cv_prog_STRIP+set}" = set; then :
9075 $as_echo_n "(cached
) " >&6
9077 if test -n "$STRIP"; then
9078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087 ac_cv_prog_STRIP="${ncn_progname}"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9097 STRIP=$ac_cv_prog_STRIP
9098 if test -n "$STRIP"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9100 $as_echo "$STRIP" >&6; }
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9103 $as_echo "no
" >&6; }
9110 for ncn_progname in strip; do
9111 if test -n "$ncn_tool_prefix"; then
9112 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9113 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9115 $as_echo_n "checking
for $ac_word...
" >&6; }
9116 if test "${ac_cv_prog_STRIP+set}" = set; then :
9117 $as_echo_n "(cached
) " >&6
9119 if test -n "$STRIP"; then
9120 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126 test -z "$as_dir" && as_dir=.
9127 for ac_exec_ext in '' $ac_executable_extensions; do
9128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9129 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9139 STRIP=$ac_cv_prog_STRIP
9140 if test -n "$STRIP"; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9142 $as_echo "$STRIP" >&6; }
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9145 $as_echo "no
" >&6; }
9150 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9152 set dummy ${ncn_progname}; ac_word=$2
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9154 $as_echo_n "checking
for $ac_word...
" >&6; }
9155 if test "${ac_cv_prog_STRIP+set}" = set; then :
9156 $as_echo_n "(cached
) " >&6
9158 if test -n "$STRIP"; then
9159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165 test -z "$as_dir" && as_dir=.
9166 for ac_exec_ext in '' $ac_executable_extensions; do
9167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9168 ac_cv_prog_STRIP="${ncn_progname}"
9169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9178 STRIP=$ac_cv_prog_STRIP
9179 if test -n "$STRIP"; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9181 $as_echo "$STRIP" >&6; }
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9184 $as_echo "no
" >&6; }
9189 test -n "$ac_cv_prog_STRIP" && break
9192 if test -z "$ac_cv_prog_STRIP" ; then
9198 if test -n "$WINDRES"; then
9199 ac_cv_prog_WINDRES=$WINDRES
9200 elif test -n "$ac_cv_prog_WINDRES"; then
9201 WINDRES=$ac_cv_prog_WINDRES
9204 if test -n "$ac_cv_prog_WINDRES"; then
9205 for ncn_progname in windres; do
9206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9207 set dummy ${ncn_progname}; ac_word=$2
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9209 $as_echo_n "checking
for $ac_word...
" >&6; }
9210 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9211 $as_echo_n "(cached
) " >&6
9213 if test -n "$WINDRES"; then
9214 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir=.
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_prog_WINDRES="${ncn_progname}"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9233 WINDRES=$ac_cv_prog_WINDRES
9234 if test -n "$WINDRES"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9236 $as_echo "$WINDRES" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9239 $as_echo "no
" >&6; }
9246 for ncn_progname in windres; do
9247 if test -n "$ncn_tool_prefix"; then
9248 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9249 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9251 $as_echo_n "checking
for $ac_word...
" >&6; }
9252 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9253 $as_echo_n "(cached
) " >&6
9255 if test -n "$WINDRES"; then
9256 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9262 test -z "$as_dir" && as_dir=.
9263 for ac_exec_ext in '' $ac_executable_extensions; do
9264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9265 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9275 WINDRES=$ac_cv_prog_WINDRES
9276 if test -n "$WINDRES"; then
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9278 $as_echo "$WINDRES" >&6; }
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9281 $as_echo "no
" >&6; }
9286 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9288 set dummy ${ncn_progname}; ac_word=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9290 $as_echo_n "checking
for $ac_word...
" >&6; }
9291 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9292 $as_echo_n "(cached
) " >&6
9294 if test -n "$WINDRES"; then
9295 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9304 ac_cv_prog_WINDRES="${ncn_progname}"
9305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9314 WINDRES=$ac_cv_prog_WINDRES
9315 if test -n "$WINDRES"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9317 $as_echo "$WINDRES" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9320 $as_echo "no
" >&6; }
9325 test -n "$ac_cv_prog_WINDRES" && break
9328 if test -z "$ac_cv_prog_WINDRES" ; then
9330 if test $build = $host ; then
9333 WINDRES="${ncn_tool_prefix}$2"
9339 if test -n "$WINDMC"; then
9340 ac_cv_prog_WINDMC=$WINDMC
9341 elif test -n "$ac_cv_prog_WINDMC"; then
9342 WINDMC=$ac_cv_prog_WINDMC
9345 if test -n "$ac_cv_prog_WINDMC"; then
9346 for ncn_progname in windmc; do
9347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9348 set dummy ${ncn_progname}; ac_word=$2
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9350 $as_echo_n "checking
for $ac_word...
" >&6; }
9351 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9352 $as_echo_n "(cached
) " >&6
9354 if test -n "$WINDMC"; then
9355 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9364 ac_cv_prog_WINDMC="${ncn_progname}"
9365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9374 WINDMC=$ac_cv_prog_WINDMC
9375 if test -n "$WINDMC"; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9377 $as_echo "$WINDMC" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9380 $as_echo "no
" >&6; }
9387 for ncn_progname in windmc; do
9388 if test -n "$ncn_tool_prefix"; then
9389 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9390 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9392 $as_echo_n "checking
for $ac_word...
" >&6; }
9393 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9394 $as_echo_n "(cached
) " >&6
9396 if test -n "$WINDMC"; then
9397 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir=.
9404 for ac_exec_ext in '' $ac_executable_extensions; do
9405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9416 WINDMC=$ac_cv_prog_WINDMC
9417 if test -n "$WINDMC"; then
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9419 $as_echo "$WINDMC" >&6; }
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9422 $as_echo "no
" >&6; }
9427 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9429 set dummy ${ncn_progname}; ac_word=$2
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9431 $as_echo_n "checking
for $ac_word...
" >&6; }
9432 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9433 $as_echo_n "(cached
) " >&6
9435 if test -n "$WINDMC"; then
9436 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9442 test -z "$as_dir" && as_dir=.
9443 for ac_exec_ext in '' $ac_executable_extensions; do
9444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9445 ac_cv_prog_WINDMC="${ncn_progname}"
9446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9455 WINDMC=$ac_cv_prog_WINDMC
9456 if test -n "$WINDMC"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9458 $as_echo "$WINDMC" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9461 $as_echo "no
" >&6; }
9466 test -n "$ac_cv_prog_WINDMC" && break
9469 if test -z "$ac_cv_prog_WINDMC" ; then
9471 if test $build = $host ; then
9474 WINDMC="${ncn_tool_prefix}$2"
9480 if test -n "$OBJCOPY"; then
9481 ac_cv_prog_OBJCOPY=$OBJCOPY
9482 elif test -n "$ac_cv_prog_OBJCOPY"; then
9483 OBJCOPY=$ac_cv_prog_OBJCOPY
9486 if test -n "$ac_cv_prog_OBJCOPY"; then
9487 for ncn_progname in objcopy; do
9488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9489 set dummy ${ncn_progname}; ac_word=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9491 $as_echo_n "checking
for $ac_word...
" >&6; }
9492 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9493 $as_echo_n "(cached
) " >&6
9495 if test -n "$OBJCOPY"; then
9496 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 test -z "$as_dir" && as_dir=.
9503 for ac_exec_ext in '' $ac_executable_extensions; do
9504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9505 ac_cv_prog_OBJCOPY="${ncn_progname}"
9506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9515 OBJCOPY=$ac_cv_prog_OBJCOPY
9516 if test -n "$OBJCOPY"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9518 $as_echo "$OBJCOPY" >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9521 $as_echo "no
" >&6; }
9528 for ncn_progname in objcopy; do
9529 if test -n "$ncn_tool_prefix"; then
9530 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9531 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9533 $as_echo_n "checking
for $ac_word...
" >&6; }
9534 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9535 $as_echo_n "(cached
) " >&6
9537 if test -n "$OBJCOPY"; then
9538 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir=.
9545 for ac_exec_ext in '' $ac_executable_extensions; do
9546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9547 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9557 OBJCOPY=$ac_cv_prog_OBJCOPY
9558 if test -n "$OBJCOPY"; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9560 $as_echo "$OBJCOPY" >&6; }
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9563 $as_echo "no
" >&6; }
9568 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9569 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9570 set dummy ${ncn_progname}; ac_word=$2
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9572 $as_echo_n "checking
for $ac_word...
" >&6; }
9573 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9574 $as_echo_n "(cached
) " >&6
9576 if test -n "$OBJCOPY"; then
9577 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583 test -z "$as_dir" && as_dir=.
9584 for ac_exec_ext in '' $ac_executable_extensions; do
9585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9586 ac_cv_prog_OBJCOPY="${ncn_progname}"
9587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9596 OBJCOPY=$ac_cv_prog_OBJCOPY
9597 if test -n "$OBJCOPY"; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9599 $as_echo "$OBJCOPY" >&6; }
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9602 $as_echo "no
" >&6; }
9607 test -n "$ac_cv_prog_OBJCOPY" && break
9610 if test -z "$ac_cv_prog_OBJCOPY" ; then
9612 if test $build = $host ; then
9615 OBJCOPY="${ncn_tool_prefix}$2"
9621 if test -n "$OBJDUMP"; then
9622 ac_cv_prog_OBJDUMP=$OBJDUMP
9623 elif test -n "$ac_cv_prog_OBJDUMP"; then
9624 OBJDUMP=$ac_cv_prog_OBJDUMP
9627 if test -n "$ac_cv_prog_OBJDUMP"; then
9628 for ncn_progname in objdump; do
9629 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9630 set dummy ${ncn_progname}; ac_word=$2
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9632 $as_echo_n "checking
for $ac_word...
" >&6; }
9633 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9634 $as_echo_n "(cached
) " >&6
9636 if test -n "$OBJDUMP"; then
9637 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9643 test -z "$as_dir" && as_dir=.
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9646 ac_cv_prog_OBJDUMP="${ncn_progname}"
9647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9656 OBJDUMP=$ac_cv_prog_OBJDUMP
9657 if test -n "$OBJDUMP"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9659 $as_echo "$OBJDUMP" >&6; }
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9662 $as_echo "no
" >&6; }
9669 for ncn_progname in objdump; do
9670 if test -n "$ncn_tool_prefix"; then
9671 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9672 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9674 $as_echo_n "checking
for $ac_word...
" >&6; }
9675 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9676 $as_echo_n "(cached
) " >&6
9678 if test -n "$OBJDUMP"; then
9679 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir=.
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9688 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9698 OBJDUMP=$ac_cv_prog_OBJDUMP
9699 if test -n "$OBJDUMP"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9701 $as_echo "$OBJDUMP" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9704 $as_echo "no
" >&6; }
9709 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9710 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9711 set dummy ${ncn_progname}; ac_word=$2
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9713 $as_echo_n "checking
for $ac_word...
" >&6; }
9714 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9715 $as_echo_n "(cached
) " >&6
9717 if test -n "$OBJDUMP"; then
9718 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9724 test -z "$as_dir" && as_dir=.
9725 for ac_exec_ext in '' $ac_executable_extensions; do
9726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9727 ac_cv_prog_OBJDUMP="${ncn_progname}"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9737 OBJDUMP=$ac_cv_prog_OBJDUMP
9738 if test -n "$OBJDUMP"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9740 $as_echo "$OBJDUMP" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9743 $as_echo "no
" >&6; }
9748 test -n "$ac_cv_prog_OBJDUMP" && break
9751 if test -z "$ac_cv_prog_OBJDUMP" ; then
9753 if test $build = $host ; then
9756 OBJDUMP="${ncn_tool_prefix}$2"
9762 if test -n "$READELF"; then
9763 ac_cv_prog_READELF=$READELF
9764 elif test -n "$ac_cv_prog_READELF"; then
9765 READELF=$ac_cv_prog_READELF
9768 if test -n "$ac_cv_prog_READELF"; then
9769 for ncn_progname in readelf; do
9770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9771 set dummy ${ncn_progname}; ac_word=$2
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9773 $as_echo_n "checking
for $ac_word...
" >&6; }
9774 if test "${ac_cv_prog_READELF+set}" = set; then :
9775 $as_echo_n "(cached
) " >&6
9777 if test -n "$READELF"; then
9778 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784 test -z "$as_dir" && as_dir=.
9785 for ac_exec_ext in '' $ac_executable_extensions; do
9786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9787 ac_cv_prog_READELF="${ncn_progname}"
9788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9797 READELF=$ac_cv_prog_READELF
9798 if test -n "$READELF"; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9800 $as_echo "$READELF" >&6; }
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9803 $as_echo "no
" >&6; }
9810 for ncn_progname in readelf; do
9811 if test -n "$ncn_tool_prefix"; then
9812 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9813 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9815 $as_echo_n "checking
for $ac_word...
" >&6; }
9816 if test "${ac_cv_prog_READELF+set}" = set; then :
9817 $as_echo_n "(cached
) " >&6
9819 if test -n "$READELF"; then
9820 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9826 test -z "$as_dir" && as_dir=.
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9829 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9839 READELF=$ac_cv_prog_READELF
9840 if test -n "$READELF"; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9842 $as_echo "$READELF" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9845 $as_echo "no
" >&6; }
9850 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9852 set dummy ${ncn_progname}; ac_word=$2
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9854 $as_echo_n "checking
for $ac_word...
" >&6; }
9855 if test "${ac_cv_prog_READELF+set}" = set; then :
9856 $as_echo_n "(cached
) " >&6
9858 if test -n "$READELF"; then
9859 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865 test -z "$as_dir" && as_dir=.
9866 for ac_exec_ext in '' $ac_executable_extensions; do
9867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9868 ac_cv_prog_READELF="${ncn_progname}"
9869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9878 READELF=$ac_cv_prog_READELF
9879 if test -n "$READELF"; then
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9881 $as_echo "$READELF" >&6; }
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9884 $as_echo "no
" >&6; }
9889 test -n "$ac_cv_prog_READELF" && break
9892 if test -z "$ac_cv_prog_READELF" ; then
9894 if test $build = $host ; then
9897 READELF="${ncn_tool_prefix}$2"
9908 # Check whether --with-build-time-tools was given.
9909 if test "${with_build_time_tools+set}" = set; then :
9910 withval=$with_build_time_tools; case x"$withval" in
9913 with_build_time_tools=
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9915 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9919 with_build_time_tools=
9925 if test -n "$CC_FOR_TARGET"; then
9926 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9927 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9928 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9931 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9932 for ncn_progname in cc gcc; do
9933 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9934 set dummy ${ncn_progname}; ac_word=$2
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9936 $as_echo_n "checking
for $ac_word...
" >&6; }
9937 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9938 $as_echo_n "(cached
) " >&6
9940 if test -n "$CC_FOR_TARGET"; then
9941 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9947 test -z "$as_dir" && as_dir=.
9948 for ac_exec_ext in '' $ac_executable_extensions; do
9949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9950 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9960 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9961 if test -n "$CC_FOR_TARGET"; then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9963 $as_echo "$CC_FOR_TARGET" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9966 $as_echo "no
" >&6; }
9973 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9974 for ncn_progname in cc gcc; do
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9976 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9977 if test -x $with_build_time_tools/${ncn_progname}; then
9978 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9980 $as_echo "yes" >&6; }
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9984 $as_echo "no
" >&6; }
9989 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9990 for ncn_progname in cc gcc; do
9991 if test -n "$ncn_target_tool_prefix"; then
9992 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9993 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9995 $as_echo_n "checking
for $ac_word...
" >&6; }
9996 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9997 $as_echo_n "(cached
) " >&6
9999 if test -n "$CC_FOR_TARGET"; then
10000 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10003 for as_dir in $PATH
10006 test -z "$as_dir" && as_dir=.
10007 for ac_exec_ext in '' $ac_executable_extensions; do
10008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10009 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10019 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10020 if test -n "$CC_FOR_TARGET"; then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10022 $as_echo "$CC_FOR_TARGET" >&6; }
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10025 $as_echo "no
" >&6; }
10030 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10031 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10032 set dummy ${ncn_progname}; ac_word=$2
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10034 $as_echo_n "checking
for $ac_word...
" >&6; }
10035 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10036 $as_echo_n "(cached
) " >&6
10038 if test -n "$CC_FOR_TARGET"; then
10039 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10042 for as_dir in $PATH
10045 test -z "$as_dir" && as_dir=.
10046 for ac_exec_ext in '' $ac_executable_extensions; do
10047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10048 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10058 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10059 if test -n "$CC_FOR_TARGET"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10061 $as_echo "$CC_FOR_TARGET" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10064 $as_echo "no
" >&6; }
10069 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10073 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10075 if test $build = $target ; then
10078 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10081 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10086 if test -n "$CXX_FOR_TARGET"; then
10087 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10088 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10089 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10092 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10093 for ncn_progname in c++ g++ cxx gxx; do
10094 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10095 set dummy ${ncn_progname}; ac_word=$2
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10097 $as_echo_n "checking
for $ac_word...
" >&6; }
10098 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10099 $as_echo_n "(cached
) " >&6
10101 if test -n "$CXX_FOR_TARGET"; then
10102 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10105 for as_dir in $PATH
10108 test -z "$as_dir" && as_dir=.
10109 for ac_exec_ext in '' $ac_executable_extensions; do
10110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10111 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10121 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10122 if test -n "$CXX_FOR_TARGET"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10124 $as_echo "$CXX_FOR_TARGET" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10127 $as_echo "no
" >&6; }
10134 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10135 for ncn_progname in c++ g++ cxx gxx; do
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10137 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10138 if test -x $with_build_time_tools/${ncn_progname}; then
10139 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10141 $as_echo "yes" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10145 $as_echo "no
" >&6; }
10150 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10151 for ncn_progname in c++ g++ cxx gxx; do
10152 if test -n "$ncn_target_tool_prefix"; then
10153 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10154 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10156 $as_echo_n "checking
for $ac_word...
" >&6; }
10157 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10158 $as_echo_n "(cached
) " >&6
10160 if test -n "$CXX_FOR_TARGET"; then
10161 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10167 test -z "$as_dir" && as_dir=.
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10170 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10180 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10181 if test -n "$CXX_FOR_TARGET"; then
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10183 $as_echo "$CXX_FOR_TARGET" >&6; }
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10186 $as_echo "no
" >&6; }
10191 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10192 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10193 set dummy ${ncn_progname}; ac_word=$2
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10195 $as_echo_n "checking
for $ac_word...
" >&6; }
10196 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10197 $as_echo_n "(cached
) " >&6
10199 if test -n "$CXX_FOR_TARGET"; then
10200 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10203 for as_dir in $PATH
10206 test -z "$as_dir" && as_dir=.
10207 for ac_exec_ext in '' $ac_executable_extensions; do
10208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10209 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10219 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10220 if test -n "$CXX_FOR_TARGET"; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10222 $as_echo "$CXX_FOR_TARGET" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10225 $as_echo "no
" >&6; }
10230 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10234 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10235 set dummy c++ g++ cxx gxx
10236 if test $build = $target ; then
10237 CXX_FOR_TARGET="$2"
10239 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10242 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10247 if test -n "$GCC_FOR_TARGET"; then
10248 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10249 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10250 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10253 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10254 for ncn_progname in gcc; do
10255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10256 set dummy ${ncn_progname}; ac_word=$2
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10258 $as_echo_n "checking
for $ac_word...
" >&6; }
10259 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10260 $as_echo_n "(cached
) " >&6
10262 if test -n "$GCC_FOR_TARGET"; then
10263 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10266 for as_dir in $PATH
10269 test -z "$as_dir" && as_dir=.
10270 for ac_exec_ext in '' $ac_executable_extensions; do
10271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10272 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10282 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10283 if test -n "$GCC_FOR_TARGET"; then
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10285 $as_echo "$GCC_FOR_TARGET" >&6; }
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10288 $as_echo "no
" >&6; }
10295 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10296 for ncn_progname in gcc; do
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10298 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10299 if test -x $with_build_time_tools/${ncn_progname}; then
10300 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10302 $as_echo "yes" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10306 $as_echo "no
" >&6; }
10311 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10312 for ncn_progname in gcc; do
10313 if test -n "$ncn_target_tool_prefix"; then
10314 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10315 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10317 $as_echo_n "checking
for $ac_word...
" >&6; }
10318 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10319 $as_echo_n "(cached
) " >&6
10321 if test -n "$GCC_FOR_TARGET"; then
10322 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10325 for as_dir in $PATH
10328 test -z "$as_dir" && as_dir=.
10329 for ac_exec_ext in '' $ac_executable_extensions; do
10330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10331 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10341 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10342 if test -n "$GCC_FOR_TARGET"; then
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10344 $as_echo "$GCC_FOR_TARGET" >&6; }
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10347 $as_echo "no
" >&6; }
10352 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10354 set dummy ${ncn_progname}; ac_word=$2
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10356 $as_echo_n "checking
for $ac_word...
" >&6; }
10357 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10358 $as_echo_n "(cached
) " >&6
10360 if test -n "$GCC_FOR_TARGET"; then
10361 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10364 for as_dir in $PATH
10367 test -z "$as_dir" && as_dir=.
10368 for ac_exec_ext in '' $ac_executable_extensions; do
10369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10370 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10380 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10381 if test -n "$GCC_FOR_TARGET"; then
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10383 $as_echo "$GCC_FOR_TARGET" >&6; }
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10386 $as_echo "no
" >&6; }
10391 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10395 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10396 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10398 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10403 if test -n "$GCJ_FOR_TARGET"; then
10404 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10405 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10406 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10409 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10410 for ncn_progname in gcj; do
10411 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10412 set dummy ${ncn_progname}; ac_word=$2
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10414 $as_echo_n "checking
for $ac_word...
" >&6; }
10415 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10416 $as_echo_n "(cached
) " >&6
10418 if test -n "$GCJ_FOR_TARGET"; then
10419 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10422 for as_dir in $PATH
10425 test -z "$as_dir" && as_dir=.
10426 for ac_exec_ext in '' $ac_executable_extensions; do
10427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10428 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10438 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10439 if test -n "$GCJ_FOR_TARGET"; then
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10441 $as_echo "$GCJ_FOR_TARGET" >&6; }
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10444 $as_echo "no
" >&6; }
10451 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10452 for ncn_progname in gcj; do
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10454 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10455 if test -x $with_build_time_tools/${ncn_progname}; then
10456 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10458 $as_echo "yes" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10462 $as_echo "no
" >&6; }
10467 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10468 for ncn_progname in gcj; do
10469 if test -n "$ncn_target_tool_prefix"; then
10470 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10471 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10473 $as_echo_n "checking
for $ac_word...
" >&6; }
10474 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10475 $as_echo_n "(cached
) " >&6
10477 if test -n "$GCJ_FOR_TARGET"; then
10478 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10481 for as_dir in $PATH
10484 test -z "$as_dir" && as_dir=.
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10497 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10498 if test -n "$GCJ_FOR_TARGET"; then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10500 $as_echo "$GCJ_FOR_TARGET" >&6; }
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10503 $as_echo "no
" >&6; }
10508 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10510 set dummy ${ncn_progname}; ac_word=$2
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10512 $as_echo_n "checking
for $ac_word...
" >&6; }
10513 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10514 $as_echo_n "(cached
) " >&6
10516 if test -n "$GCJ_FOR_TARGET"; then
10517 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520 for as_dir in $PATH
10523 test -z "$as_dir" && as_dir=.
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10526 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10536 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10537 if test -n "$GCJ_FOR_TARGET"; then
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10539 $as_echo "$GCJ_FOR_TARGET" >&6; }
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10542 $as_echo "no
" >&6; }
10547 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10551 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10553 if test $build = $target ; then
10554 GCJ_FOR_TARGET="$2"
10556 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10559 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10564 if test -n "$GFORTRAN_FOR_TARGET"; then
10565 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10566 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10567 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10570 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10571 for ncn_progname in gfortran; do
10572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10573 set dummy ${ncn_progname}; ac_word=$2
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10575 $as_echo_n "checking
for $ac_word...
" >&6; }
10576 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10577 $as_echo_n "(cached
) " >&6
10579 if test -n "$GFORTRAN_FOR_TARGET"; then
10580 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10583 for as_dir in $PATH
10586 test -z "$as_dir" && as_dir=.
10587 for ac_exec_ext in '' $ac_executable_extensions; do
10588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10589 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10599 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10600 if test -n "$GFORTRAN_FOR_TARGET"; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10602 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10605 $as_echo "no
" >&6; }
10612 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10613 for ncn_progname in gfortran; do
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10615 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10616 if test -x $with_build_time_tools/${ncn_progname}; then
10617 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10619 $as_echo "yes" >&6; }
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10623 $as_echo "no
" >&6; }
10628 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10629 for ncn_progname in gfortran; do
10630 if test -n "$ncn_target_tool_prefix"; then
10631 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10632 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10634 $as_echo_n "checking
for $ac_word...
" >&6; }
10635 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10636 $as_echo_n "(cached
) " >&6
10638 if test -n "$GFORTRAN_FOR_TARGET"; then
10639 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10642 for as_dir in $PATH
10645 test -z "$as_dir" && as_dir=.
10646 for ac_exec_ext in '' $ac_executable_extensions; do
10647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10648 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10658 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10659 if test -n "$GFORTRAN_FOR_TARGET"; then
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10661 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10664 $as_echo "no
" >&6; }
10669 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10671 set dummy ${ncn_progname}; ac_word=$2
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10673 $as_echo_n "checking
for $ac_word...
" >&6; }
10674 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10675 $as_echo_n "(cached
) " >&6
10677 if test -n "$GFORTRAN_FOR_TARGET"; then
10678 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10681 for as_dir in $PATH
10684 test -z "$as_dir" && as_dir=.
10685 for ac_exec_ext in '' $ac_executable_extensions; do
10686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10687 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10697 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10698 if test -n "$GFORTRAN_FOR_TARGET"; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10700 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10703 $as_echo "no
" >&6; }
10708 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10712 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10714 if test $build = $target ; then
10715 GFORTRAN_FOR_TARGET="$2"
10717 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10720 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10725 if test -n "$GOC_FOR_TARGET"; then
10726 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10727 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10728 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10731 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10732 for ncn_progname in gccgo; do
10733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10734 set dummy ${ncn_progname}; ac_word=$2
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10736 $as_echo_n "checking
for $ac_word...
" >&6; }
10737 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10738 $as_echo_n "(cached
) " >&6
10740 if test -n "$GOC_FOR_TARGET"; then
10741 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10744 for as_dir in $PATH
10747 test -z "$as_dir" && as_dir=.
10748 for ac_exec_ext in '' $ac_executable_extensions; do
10749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10750 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10760 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10761 if test -n "$GOC_FOR_TARGET"; then
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10763 $as_echo "$GOC_FOR_TARGET" >&6; }
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10766 $as_echo "no
" >&6; }
10773 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10774 for ncn_progname in gccgo; do
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10776 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10777 if test -x $with_build_time_tools/${ncn_progname}; then
10778 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10780 $as_echo "yes" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10784 $as_echo "no
" >&6; }
10789 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10790 for ncn_progname in gccgo; do
10791 if test -n "$ncn_target_tool_prefix"; then
10792 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10793 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10795 $as_echo_n "checking
for $ac_word...
" >&6; }
10796 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10797 $as_echo_n "(cached
) " >&6
10799 if test -n "$GOC_FOR_TARGET"; then
10800 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10803 for as_dir in $PATH
10806 test -z "$as_dir" && as_dir=.
10807 for ac_exec_ext in '' $ac_executable_extensions; do
10808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10809 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10819 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10820 if test -n "$GOC_FOR_TARGET"; then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10822 $as_echo "$GOC_FOR_TARGET" >&6; }
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10825 $as_echo "no
" >&6; }
10830 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10832 set dummy ${ncn_progname}; ac_word=$2
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10834 $as_echo_n "checking
for $ac_word...
" >&6; }
10835 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10836 $as_echo_n "(cached
) " >&6
10838 if test -n "$GOC_FOR_TARGET"; then
10839 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10842 for as_dir in $PATH
10845 test -z "$as_dir" && as_dir=.
10846 for ac_exec_ext in '' $ac_executable_extensions; do
10847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10848 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10858 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10859 if test -n "$GOC_FOR_TARGET"; then
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10861 $as_echo "$GOC_FOR_TARGET" >&6; }
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10864 $as_echo "no
" >&6; }
10869 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10873 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10875 if test $build = $target ; then
10876 GOC_FOR_TARGET="$2"
10878 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10881 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10886 cat > conftest.c << \EOF
10891 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10892 have_gcc_for_target=yes
10894 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10895 have_gcc_for_target=no
10902 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10903 if test -n "$with_build_time_tools"; then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10905 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10906 if test -x $with_build_time_tools/ar; then
10907 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10908 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10910 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10913 $as_echo "no
" >&6; }
10915 elif test $build != $host && test $have_gcc_for_target = yes; then
10916 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10917 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10918 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10921 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10922 # Extract the first word of "ar", so it can be a program name with args.
10923 set dummy ar; ac_word=$2
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10925 $as_echo_n "checking
for $ac_word...
" >&6; }
10926 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10927 $as_echo_n "(cached
) " >&6
10929 case $AR_FOR_TARGET in
10931 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10935 for as_dir in $gcc_cv_tool_dirs
10938 test -z "$as_dir" && as_dir=.
10939 for ac_exec_ext in '' $ac_executable_extensions; do
10940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10941 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10952 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10953 if test -n "$AR_FOR_TARGET"; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10955 $as_echo "$AR_FOR_TARGET" >&6; }
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10958 $as_echo "no
" >&6; }
10963 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10966 if test -n "$AR_FOR_TARGET"; then
10967 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10968 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10969 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10972 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10973 for ncn_progname in ar; do
10974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10975 set dummy ${ncn_progname}; ac_word=$2
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10977 $as_echo_n "checking
for $ac_word...
" >&6; }
10978 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10979 $as_echo_n "(cached
) " >&6
10981 if test -n "$AR_FOR_TARGET"; then
10982 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10985 for as_dir in $PATH
10988 test -z "$as_dir" && as_dir=.
10989 for ac_exec_ext in '' $ac_executable_extensions; do
10990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10991 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11001 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11002 if test -n "$AR_FOR_TARGET"; then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11004 $as_echo "$AR_FOR_TARGET" >&6; }
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11007 $as_echo "no
" >&6; }
11014 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11015 for ncn_progname in ar; do
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11017 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11018 if test -x $with_build_time_tools/${ncn_progname}; then
11019 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11021 $as_echo "yes" >&6; }
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11025 $as_echo "no
" >&6; }
11030 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11031 for ncn_progname in ar; do
11032 if test -n "$ncn_target_tool_prefix"; then
11033 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11034 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11036 $as_echo_n "checking
for $ac_word...
" >&6; }
11037 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11038 $as_echo_n "(cached
) " >&6
11040 if test -n "$AR_FOR_TARGET"; then
11041 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11044 for as_dir in $PATH
11047 test -z "$as_dir" && as_dir=.
11048 for ac_exec_ext in '' $ac_executable_extensions; do
11049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11050 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11060 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11061 if test -n "$AR_FOR_TARGET"; then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11063 $as_echo "$AR_FOR_TARGET" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11066 $as_echo "no
" >&6; }
11071 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11073 set dummy ${ncn_progname}; ac_word=$2
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11075 $as_echo_n "checking
for $ac_word...
" >&6; }
11076 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11077 $as_echo_n "(cached
) " >&6
11079 if test -n "$AR_FOR_TARGET"; then
11080 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11083 for as_dir in $PATH
11086 test -z "$as_dir" && as_dir=.
11087 for ac_exec_ext in '' $ac_executable_extensions; do
11088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11089 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11099 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11100 if test -n "$AR_FOR_TARGET"; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11102 $as_echo "$AR_FOR_TARGET" >&6; }
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11105 $as_echo "no
" >&6; }
11110 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11114 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11116 if test $build = $target ; then
11119 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11122 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11126 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11132 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11133 if test -n "$with_build_time_tools"; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11135 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11136 if test -x $with_build_time_tools/as; then
11137 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11138 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11140 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11143 $as_echo "no
" >&6; }
11145 elif test $build != $host && test $have_gcc_for_target = yes; then
11146 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11147 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11148 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11151 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11152 # Extract the first word of "as
", so it can be a program name with args.
11153 set dummy as; ac_word=$2
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11155 $as_echo_n "checking
for $ac_word...
" >&6; }
11156 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11157 $as_echo_n "(cached
) " >&6
11159 case $AS_FOR_TARGET in
11161 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11165 for as_dir in $gcc_cv_tool_dirs
11168 test -z "$as_dir" && as_dir=.
11169 for ac_exec_ext in '' $ac_executable_extensions; do
11170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11171 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11182 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11183 if test -n "$AS_FOR_TARGET"; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11185 $as_echo "$AS_FOR_TARGET" >&6; }
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11188 $as_echo "no
" >&6; }
11193 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11196 if test -n "$AS_FOR_TARGET"; then
11197 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11198 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11199 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11202 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11203 for ncn_progname in as; do
11204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11205 set dummy ${ncn_progname}; ac_word=$2
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11207 $as_echo_n "checking
for $ac_word...
" >&6; }
11208 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11209 $as_echo_n "(cached
) " >&6
11211 if test -n "$AS_FOR_TARGET"; then
11212 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11215 for as_dir in $PATH
11218 test -z "$as_dir" && as_dir=.
11219 for ac_exec_ext in '' $ac_executable_extensions; do
11220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11221 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11231 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11232 if test -n "$AS_FOR_TARGET"; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11234 $as_echo "$AS_FOR_TARGET" >&6; }
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11237 $as_echo "no
" >&6; }
11244 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11245 for ncn_progname in as; do
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11247 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11248 if test -x $with_build_time_tools/${ncn_progname}; then
11249 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11251 $as_echo "yes" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11255 $as_echo "no
" >&6; }
11260 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11261 for ncn_progname in as; do
11262 if test -n "$ncn_target_tool_prefix"; then
11263 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11264 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11266 $as_echo_n "checking
for $ac_word...
" >&6; }
11267 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11268 $as_echo_n "(cached
) " >&6
11270 if test -n "$AS_FOR_TARGET"; then
11271 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11274 for as_dir in $PATH
11277 test -z "$as_dir" && as_dir=.
11278 for ac_exec_ext in '' $ac_executable_extensions; do
11279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11280 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11290 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11291 if test -n "$AS_FOR_TARGET"; then
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11293 $as_echo "$AS_FOR_TARGET" >&6; }
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11296 $as_echo "no
" >&6; }
11301 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11303 set dummy ${ncn_progname}; ac_word=$2
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11305 $as_echo_n "checking
for $ac_word...
" >&6; }
11306 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11307 $as_echo_n "(cached
) " >&6
11309 if test -n "$AS_FOR_TARGET"; then
11310 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11313 for as_dir in $PATH
11316 test -z "$as_dir" && as_dir=.
11317 for ac_exec_ext in '' $ac_executable_extensions; do
11318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11319 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11329 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11330 if test -n "$AS_FOR_TARGET"; then
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11332 $as_echo "$AS_FOR_TARGET" >&6; }
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11335 $as_echo "no
" >&6; }
11340 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11344 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11346 if test $build = $target ; then
11349 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11352 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11356 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11362 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11363 if test -n "$with_build_time_tools"; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11365 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11366 if test -x $with_build_time_tools/dlltool; then
11367 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11368 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11370 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11373 $as_echo "no
" >&6; }
11375 elif test $build != $host && test $have_gcc_for_target = yes; then
11376 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11377 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11378 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11381 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11382 # Extract the first word of "dlltool
", so it can be a program name with args.
11383 set dummy dlltool; ac_word=$2
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11385 $as_echo_n "checking
for $ac_word...
" >&6; }
11386 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11387 $as_echo_n "(cached
) " >&6
11389 case $DLLTOOL_FOR_TARGET in
11391 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395 for as_dir in $gcc_cv_tool_dirs
11398 test -z "$as_dir" && as_dir=.
11399 for ac_exec_ext in '' $ac_executable_extensions; do
11400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11401 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11412 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11413 if test -n "$DLLTOOL_FOR_TARGET"; then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11415 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11418 $as_echo "no
" >&6; }
11423 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11426 if test -n "$DLLTOOL_FOR_TARGET"; then
11427 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11428 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11429 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11432 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11433 for ncn_progname in dlltool; do
11434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11435 set dummy ${ncn_progname}; ac_word=$2
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11437 $as_echo_n "checking
for $ac_word...
" >&6; }
11438 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11439 $as_echo_n "(cached
) " >&6
11441 if test -n "$DLLTOOL_FOR_TARGET"; then
11442 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11445 for as_dir in $PATH
11448 test -z "$as_dir" && as_dir=.
11449 for ac_exec_ext in '' $ac_executable_extensions; do
11450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11451 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11461 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11462 if test -n "$DLLTOOL_FOR_TARGET"; then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11464 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11467 $as_echo "no
" >&6; }
11474 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11475 for ncn_progname in dlltool; do
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11477 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11478 if test -x $with_build_time_tools/${ncn_progname}; then
11479 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11481 $as_echo "yes" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11485 $as_echo "no
" >&6; }
11490 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11491 for ncn_progname in dlltool; do
11492 if test -n "$ncn_target_tool_prefix"; then
11493 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11494 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11496 $as_echo_n "checking
for $ac_word...
" >&6; }
11497 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11498 $as_echo_n "(cached
) " >&6
11500 if test -n "$DLLTOOL_FOR_TARGET"; then
11501 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11507 test -z "$as_dir" && as_dir=.
11508 for ac_exec_ext in '' $ac_executable_extensions; do
11509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11520 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11521 if test -n "$DLLTOOL_FOR_TARGET"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11523 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11526 $as_echo "no
" >&6; }
11531 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11533 set dummy ${ncn_progname}; ac_word=$2
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11535 $as_echo_n "checking
for $ac_word...
" >&6; }
11536 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11537 $as_echo_n "(cached
) " >&6
11539 if test -n "$DLLTOOL_FOR_TARGET"; then
11540 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11549 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11559 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11560 if test -n "$DLLTOOL_FOR_TARGET"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11562 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11565 $as_echo "no
" >&6; }
11570 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11574 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11576 if test $build = $target ; then
11577 DLLTOOL_FOR_TARGET="$2"
11579 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11582 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11586 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11592 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11593 if test -n "$with_build_time_tools"; then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11595 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11596 if test -x $with_build_time_tools/ld; then
11597 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11598 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11600 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11603 $as_echo "no
" >&6; }
11605 elif test $build != $host && test $have_gcc_for_target = yes; then
11606 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11607 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11608 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11611 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11612 # Extract the first word of "ld
", so it can be a program name with args.
11613 set dummy ld; ac_word=$2
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11615 $as_echo_n "checking
for $ac_word...
" >&6; }
11616 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11617 $as_echo_n "(cached
) " >&6
11619 case $LD_FOR_TARGET in
11621 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11625 for as_dir in $gcc_cv_tool_dirs
11628 test -z "$as_dir" && as_dir=.
11629 for ac_exec_ext in '' $ac_executable_extensions; do
11630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11631 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11642 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11643 if test -n "$LD_FOR_TARGET"; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11645 $as_echo "$LD_FOR_TARGET" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11648 $as_echo "no
" >&6; }
11653 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11656 if test -n "$LD_FOR_TARGET"; then
11657 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11658 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11659 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11662 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11663 for ncn_progname in ld; do
11664 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11665 set dummy ${ncn_progname}; ac_word=$2
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11667 $as_echo_n "checking
for $ac_word...
" >&6; }
11668 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11669 $as_echo_n "(cached
) " >&6
11671 if test -n "$LD_FOR_TARGET"; then
11672 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11675 for as_dir in $PATH
11678 test -z "$as_dir" && as_dir=.
11679 for ac_exec_ext in '' $ac_executable_extensions; do
11680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11681 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11691 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11692 if test -n "$LD_FOR_TARGET"; then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11694 $as_echo "$LD_FOR_TARGET" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11697 $as_echo "no
" >&6; }
11704 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11705 for ncn_progname in ld; do
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11707 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11708 if test -x $with_build_time_tools/${ncn_progname}; then
11709 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11711 $as_echo "yes" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11715 $as_echo "no
" >&6; }
11720 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11721 for ncn_progname in ld; do
11722 if test -n "$ncn_target_tool_prefix"; then
11723 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11724 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11726 $as_echo_n "checking
for $ac_word...
" >&6; }
11727 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11728 $as_echo_n "(cached
) " >&6
11730 if test -n "$LD_FOR_TARGET"; then
11731 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11734 for as_dir in $PATH
11737 test -z "$as_dir" && as_dir=.
11738 for ac_exec_ext in '' $ac_executable_extensions; do
11739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11740 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11750 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11751 if test -n "$LD_FOR_TARGET"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11753 $as_echo "$LD_FOR_TARGET" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11756 $as_echo "no
" >&6; }
11761 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11763 set dummy ${ncn_progname}; ac_word=$2
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11765 $as_echo_n "checking
for $ac_word...
" >&6; }
11766 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11767 $as_echo_n "(cached
) " >&6
11769 if test -n "$LD_FOR_TARGET"; then
11770 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 test -z "$as_dir" && as_dir=.
11777 for ac_exec_ext in '' $ac_executable_extensions; do
11778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11779 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11789 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11790 if test -n "$LD_FOR_TARGET"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11792 $as_echo "$LD_FOR_TARGET" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11795 $as_echo "no
" >&6; }
11800 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11804 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11806 if test $build = $target ; then
11809 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11812 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11816 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11822 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11823 if test -n "$with_build_time_tools"; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11825 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11826 if test -x $with_build_time_tools/lipo; then
11827 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11828 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11830 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11833 $as_echo "no
" >&6; }
11835 elif test $build != $host && test $have_gcc_for_target = yes; then
11836 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11837 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11838 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11841 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11842 # Extract the first word of "lipo
", so it can be a program name with args.
11843 set dummy lipo; ac_word=$2
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11845 $as_echo_n "checking
for $ac_word...
" >&6; }
11846 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11847 $as_echo_n "(cached
) " >&6
11849 case $LIPO_FOR_TARGET in
11851 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11855 for as_dir in $gcc_cv_tool_dirs
11858 test -z "$as_dir" && as_dir=.
11859 for ac_exec_ext in '' $ac_executable_extensions; do
11860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11861 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11872 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11873 if test -n "$LIPO_FOR_TARGET"; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11875 $as_echo "$LIPO_FOR_TARGET" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11878 $as_echo "no
" >&6; }
11883 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11886 if test -n "$LIPO_FOR_TARGET"; then
11887 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11888 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11889 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11892 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11893 for ncn_progname in lipo; do
11894 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11895 set dummy ${ncn_progname}; ac_word=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11897 $as_echo_n "checking
for $ac_word...
" >&6; }
11898 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11899 $as_echo_n "(cached
) " >&6
11901 if test -n "$LIPO_FOR_TARGET"; then
11902 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
11908 test -z "$as_dir" && as_dir=.
11909 for ac_exec_ext in '' $ac_executable_extensions; do
11910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11911 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11921 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11922 if test -n "$LIPO_FOR_TARGET"; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11924 $as_echo "$LIPO_FOR_TARGET" >&6; }
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11927 $as_echo "no
" >&6; }
11934 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11935 for ncn_progname in lipo; do
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11937 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11938 if test -x $with_build_time_tools/${ncn_progname}; then
11939 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11941 $as_echo "yes" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11945 $as_echo "no
" >&6; }
11950 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11951 for ncn_progname in lipo; do
11952 if test -n "$ncn_target_tool_prefix"; then
11953 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11954 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11956 $as_echo_n "checking
for $ac_word...
" >&6; }
11957 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11958 $as_echo_n "(cached
) " >&6
11960 if test -n "$LIPO_FOR_TARGET"; then
11961 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11964 for as_dir in $PATH
11967 test -z "$as_dir" && as_dir=.
11968 for ac_exec_ext in '' $ac_executable_extensions; do
11969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11970 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11980 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11981 if test -n "$LIPO_FOR_TARGET"; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11983 $as_echo "$LIPO_FOR_TARGET" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11986 $as_echo "no
" >&6; }
11991 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11993 set dummy ${ncn_progname}; ac_word=$2
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11995 $as_echo_n "checking
for $ac_word...
" >&6; }
11996 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11997 $as_echo_n "(cached
) " >&6
11999 if test -n "$LIPO_FOR_TARGET"; then
12000 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12003 for as_dir in $PATH
12006 test -z "$as_dir" && as_dir=.
12007 for ac_exec_ext in '' $ac_executable_extensions; do
12008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12009 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12019 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12020 if test -n "$LIPO_FOR_TARGET"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12022 $as_echo "$LIPO_FOR_TARGET" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12025 $as_echo "no
" >&6; }
12030 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12034 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12036 if test $build = $target ; then
12037 LIPO_FOR_TARGET="$2"
12039 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12042 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12046 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12052 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12053 if test -n "$with_build_time_tools"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12055 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12056 if test -x $with_build_time_tools/nm; then
12057 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12058 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12060 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12063 $as_echo "no
" >&6; }
12065 elif test $build != $host && test $have_gcc_for_target = yes; then
12066 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12067 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12068 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12071 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12072 # Extract the first word of "nm
", so it can be a program name with args.
12073 set dummy nm; ac_word=$2
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12075 $as_echo_n "checking
for $ac_word...
" >&6; }
12076 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12077 $as_echo_n "(cached
) " >&6
12079 case $NM_FOR_TARGET in
12081 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12085 for as_dir in $gcc_cv_tool_dirs
12088 test -z "$as_dir" && as_dir=.
12089 for ac_exec_ext in '' $ac_executable_extensions; do
12090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12091 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12102 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12103 if test -n "$NM_FOR_TARGET"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12105 $as_echo "$NM_FOR_TARGET" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12108 $as_echo "no
" >&6; }
12113 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12116 if test -n "$NM_FOR_TARGET"; then
12117 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12118 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12119 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12122 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12123 for ncn_progname in nm; do
12124 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12125 set dummy ${ncn_progname}; ac_word=$2
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12127 $as_echo_n "checking
for $ac_word...
" >&6; }
12128 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12129 $as_echo_n "(cached
) " >&6
12131 if test -n "$NM_FOR_TARGET"; then
12132 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12135 for as_dir in $PATH
12138 test -z "$as_dir" && as_dir=.
12139 for ac_exec_ext in '' $ac_executable_extensions; do
12140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12141 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12151 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12152 if test -n "$NM_FOR_TARGET"; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12154 $as_echo "$NM_FOR_TARGET" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12157 $as_echo "no
" >&6; }
12164 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12165 for ncn_progname in nm; do
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12167 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12168 if test -x $with_build_time_tools/${ncn_progname}; then
12169 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12171 $as_echo "yes" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12175 $as_echo "no
" >&6; }
12180 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12181 for ncn_progname in nm; do
12182 if test -n "$ncn_target_tool_prefix"; then
12183 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12184 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12186 $as_echo_n "checking
for $ac_word...
" >&6; }
12187 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12188 $as_echo_n "(cached
) " >&6
12190 if test -n "$NM_FOR_TARGET"; then
12191 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12197 test -z "$as_dir" && as_dir=.
12198 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12210 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12211 if test -n "$NM_FOR_TARGET"; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12213 $as_echo "$NM_FOR_TARGET" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12216 $as_echo "no
" >&6; }
12221 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12223 set dummy ${ncn_progname}; ac_word=$2
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12225 $as_echo_n "checking
for $ac_word...
" >&6; }
12226 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12227 $as_echo_n "(cached
) " >&6
12229 if test -n "$NM_FOR_TARGET"; then
12230 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12233 for as_dir in $PATH
12236 test -z "$as_dir" && as_dir=.
12237 for ac_exec_ext in '' $ac_executable_extensions; do
12238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12239 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12249 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12250 if test -n "$NM_FOR_TARGET"; then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12252 $as_echo "$NM_FOR_TARGET" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12255 $as_echo "no
" >&6; }
12260 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12264 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12266 if test $build = $target ; then
12269 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12272 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12276 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12282 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12283 if test -n "$with_build_time_tools"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12285 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12286 if test -x $with_build_time_tools/objcopy; then
12287 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12288 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12290 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12293 $as_echo "no
" >&6; }
12295 elif test $build != $host && test $have_gcc_for_target = yes; then
12296 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12297 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12298 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12301 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12302 # Extract the first word of "objcopy
", so it can be a program name with args.
12303 set dummy objcopy; ac_word=$2
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12305 $as_echo_n "checking
for $ac_word...
" >&6; }
12306 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12307 $as_echo_n "(cached
) " >&6
12309 case $OBJCOPY_FOR_TARGET in
12311 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12315 for as_dir in $gcc_cv_tool_dirs
12318 test -z "$as_dir" && as_dir=.
12319 for ac_exec_ext in '' $ac_executable_extensions; do
12320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12321 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12332 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12333 if test -n "$OBJCOPY_FOR_TARGET"; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12335 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12338 $as_echo "no
" >&6; }
12343 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12346 if test -n "$OBJCOPY_FOR_TARGET"; then
12347 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12348 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12349 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12352 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12353 for ncn_progname in objcopy; do
12354 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12355 set dummy ${ncn_progname}; ac_word=$2
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12357 $as_echo_n "checking
for $ac_word...
" >&6; }
12358 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12359 $as_echo_n "(cached
) " >&6
12361 if test -n "$OBJCOPY_FOR_TARGET"; then
12362 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12371 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12381 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12382 if test -n "$OBJCOPY_FOR_TARGET"; then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12384 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12387 $as_echo "no
" >&6; }
12394 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12395 for ncn_progname in objcopy; do
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12397 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12398 if test -x $with_build_time_tools/${ncn_progname}; then
12399 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12401 $as_echo "yes" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12405 $as_echo "no
" >&6; }
12410 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12411 for ncn_progname in objcopy; do
12412 if test -n "$ncn_target_tool_prefix"; then
12413 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12414 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12416 $as_echo_n "checking
for $ac_word...
" >&6; }
12417 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12418 $as_echo_n "(cached
) " >&6
12420 if test -n "$OBJCOPY_FOR_TARGET"; then
12421 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12427 test -z "$as_dir" && as_dir=.
12428 for ac_exec_ext in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12440 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12441 if test -n "$OBJCOPY_FOR_TARGET"; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12443 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12446 $as_echo "no
" >&6; }
12451 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12453 set dummy ${ncn_progname}; ac_word=$2
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12455 $as_echo_n "checking
for $ac_word...
" >&6; }
12456 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12457 $as_echo_n "(cached
) " >&6
12459 if test -n "$OBJCOPY_FOR_TARGET"; then
12460 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12463 for as_dir in $PATH
12466 test -z "$as_dir" && as_dir=.
12467 for ac_exec_ext in '' $ac_executable_extensions; do
12468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12469 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12479 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12480 if test -n "$OBJCOPY_FOR_TARGET"; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12482 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12485 $as_echo "no
" >&6; }
12490 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12494 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12496 if test $build = $target ; then
12497 OBJCOPY_FOR_TARGET="$2"
12499 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12502 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12506 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12512 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12513 if test -n "$with_build_time_tools"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12515 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12516 if test -x $with_build_time_tools/objdump; then
12517 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12518 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12520 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12523 $as_echo "no
" >&6; }
12525 elif test $build != $host && test $have_gcc_for_target = yes; then
12526 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12527 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12528 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12531 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12532 # Extract the first word of "objdump
", so it can be a program name with args.
12533 set dummy objdump; ac_word=$2
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12535 $as_echo_n "checking
for $ac_word...
" >&6; }
12536 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12537 $as_echo_n "(cached
) " >&6
12539 case $OBJDUMP_FOR_TARGET in
12541 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $gcc_cv_tool_dirs
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12562 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12563 if test -n "$OBJDUMP_FOR_TARGET"; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12565 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12568 $as_echo "no
" >&6; }
12573 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12576 if test -n "$OBJDUMP_FOR_TARGET"; then
12577 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12578 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12579 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12582 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12583 for ncn_progname in objdump; do
12584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12585 set dummy ${ncn_progname}; ac_word=$2
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12587 $as_echo_n "checking
for $ac_word...
" >&6; }
12588 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12589 $as_echo_n "(cached
) " >&6
12591 if test -n "$OBJDUMP_FOR_TARGET"; then
12592 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12595 for as_dir in $PATH
12598 test -z "$as_dir" && as_dir=.
12599 for ac_exec_ext in '' $ac_executable_extensions; do
12600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12601 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12611 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12612 if test -n "$OBJDUMP_FOR_TARGET"; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12614 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12617 $as_echo "no
" >&6; }
12624 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12625 for ncn_progname in objdump; do
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12627 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12628 if test -x $with_build_time_tools/${ncn_progname}; then
12629 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12631 $as_echo "yes" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12635 $as_echo "no
" >&6; }
12640 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12641 for ncn_progname in objdump; do
12642 if test -n "$ncn_target_tool_prefix"; then
12643 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12644 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12646 $as_echo_n "checking
for $ac_word...
" >&6; }
12647 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12648 $as_echo_n "(cached
) " >&6
12650 if test -n "$OBJDUMP_FOR_TARGET"; then
12651 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654 for as_dir in $PATH
12657 test -z "$as_dir" && as_dir=.
12658 for ac_exec_ext in '' $ac_executable_extensions; do
12659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12660 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12670 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12671 if test -n "$OBJDUMP_FOR_TARGET"; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12673 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12676 $as_echo "no
" >&6; }
12681 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12683 set dummy ${ncn_progname}; ac_word=$2
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12685 $as_echo_n "checking
for $ac_word...
" >&6; }
12686 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12687 $as_echo_n "(cached
) " >&6
12689 if test -n "$OBJDUMP_FOR_TARGET"; then
12690 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12693 for as_dir in $PATH
12696 test -z "$as_dir" && as_dir=.
12697 for ac_exec_ext in '' $ac_executable_extensions; do
12698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12699 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12709 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12710 if test -n "$OBJDUMP_FOR_TARGET"; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12712 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12715 $as_echo "no
" >&6; }
12720 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12724 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12726 if test $build = $target ; then
12727 OBJDUMP_FOR_TARGET="$2"
12729 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12732 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12736 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12742 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12743 if test -n "$with_build_time_tools"; then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12745 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12746 if test -x $with_build_time_tools/ranlib; then
12747 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12748 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12750 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12753 $as_echo "no
" >&6; }
12755 elif test $build != $host && test $have_gcc_for_target = yes; then
12756 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12757 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12758 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12761 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12762 # Extract the first word of "ranlib
", so it can be a program name with args.
12763 set dummy ranlib; ac_word=$2
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12765 $as_echo_n "checking
for $ac_word...
" >&6; }
12766 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12767 $as_echo_n "(cached
) " >&6
12769 case $RANLIB_FOR_TARGET in
12771 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12775 for as_dir in $gcc_cv_tool_dirs
12778 test -z "$as_dir" && as_dir=.
12779 for ac_exec_ext in '' $ac_executable_extensions; do
12780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12781 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12792 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12793 if test -n "$RANLIB_FOR_TARGET"; then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12795 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12798 $as_echo "no
" >&6; }
12803 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12806 if test -n "$RANLIB_FOR_TARGET"; then
12807 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12808 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12809 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12812 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12813 for ncn_progname in ranlib; do
12814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12815 set dummy ${ncn_progname}; ac_word=$2
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12817 $as_echo_n "checking
for $ac_word...
" >&6; }
12818 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12819 $as_echo_n "(cached
) " >&6
12821 if test -n "$RANLIB_FOR_TARGET"; then
12822 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12825 for as_dir in $PATH
12828 test -z "$as_dir" && as_dir=.
12829 for ac_exec_ext in '' $ac_executable_extensions; do
12830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12831 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12841 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12842 if test -n "$RANLIB_FOR_TARGET"; then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12844 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12847 $as_echo "no
" >&6; }
12854 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12855 for ncn_progname in ranlib; do
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12857 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12858 if test -x $with_build_time_tools/${ncn_progname}; then
12859 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12861 $as_echo "yes" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12865 $as_echo "no
" >&6; }
12870 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12871 for ncn_progname in ranlib; do
12872 if test -n "$ncn_target_tool_prefix"; then
12873 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12874 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12876 $as_echo_n "checking
for $ac_word...
" >&6; }
12877 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12878 $as_echo_n "(cached
) " >&6
12880 if test -n "$RANLIB_FOR_TARGET"; then
12881 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12884 for as_dir in $PATH
12887 test -z "$as_dir" && as_dir=.
12888 for ac_exec_ext in '' $ac_executable_extensions; do
12889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12890 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12900 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12901 if test -n "$RANLIB_FOR_TARGET"; then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12903 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12906 $as_echo "no
" >&6; }
12911 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12913 set dummy ${ncn_progname}; ac_word=$2
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12915 $as_echo_n "checking
for $ac_word...
" >&6; }
12916 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12917 $as_echo_n "(cached
) " >&6
12919 if test -n "$RANLIB_FOR_TARGET"; then
12920 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12923 for as_dir in $PATH
12926 test -z "$as_dir" && as_dir=.
12927 for ac_exec_ext in '' $ac_executable_extensions; do
12928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12929 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12939 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12940 if test -n "$RANLIB_FOR_TARGET"; then
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12942 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12945 $as_echo "no
" >&6; }
12950 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12954 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12956 if test $build = $target ; then
12957 RANLIB_FOR_TARGET="$2"
12959 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12962 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12966 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12972 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12973 if test -n "$with_build_time_tools"; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12975 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12976 if test -x $with_build_time_tools/readelf; then
12977 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12978 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12980 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12983 $as_echo "no
" >&6; }
12985 elif test $build != $host && test $have_gcc_for_target = yes; then
12986 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12987 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12988 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12991 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12992 # Extract the first word of "readelf
", so it can be a program name with args.
12993 set dummy readelf; ac_word=$2
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12995 $as_echo_n "checking
for $ac_word...
" >&6; }
12996 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12997 $as_echo_n "(cached
) " >&6
12999 case $READELF_FOR_TARGET in
13001 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $gcc_cv_tool_dirs
13008 test -z "$as_dir" && as_dir=.
13009 for ac_exec_ext in '' $ac_executable_extensions; do
13010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13011 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13022 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13023 if test -n "$READELF_FOR_TARGET"; then
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13025 $as_echo "$READELF_FOR_TARGET" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13028 $as_echo "no
" >&6; }
13033 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13036 if test -n "$READELF_FOR_TARGET"; then
13037 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13038 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13039 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13042 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13043 for ncn_progname in readelf; do
13044 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13045 set dummy ${ncn_progname}; ac_word=$2
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13047 $as_echo_n "checking
for $ac_word...
" >&6; }
13048 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13049 $as_echo_n "(cached
) " >&6
13051 if test -n "$READELF_FOR_TARGET"; then
13052 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13055 for as_dir in $PATH
13058 test -z "$as_dir" && as_dir=.
13059 for ac_exec_ext in '' $ac_executable_extensions; do
13060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13061 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13071 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13072 if test -n "$READELF_FOR_TARGET"; then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13074 $as_echo "$READELF_FOR_TARGET" >&6; }
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13077 $as_echo "no
" >&6; }
13084 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13085 for ncn_progname in readelf; do
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13087 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13088 if test -x $with_build_time_tools/${ncn_progname}; then
13089 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13091 $as_echo "yes" >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13095 $as_echo "no
" >&6; }
13100 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13101 for ncn_progname in readelf; do
13102 if test -n "$ncn_target_tool_prefix"; then
13103 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13104 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13106 $as_echo_n "checking
for $ac_word...
" >&6; }
13107 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13108 $as_echo_n "(cached
) " >&6
13110 if test -n "$READELF_FOR_TARGET"; then
13111 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13114 for as_dir in $PATH
13117 test -z "$as_dir" && as_dir=.
13118 for ac_exec_ext in '' $ac_executable_extensions; do
13119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13120 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13130 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13131 if test -n "$READELF_FOR_TARGET"; then
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13133 $as_echo "$READELF_FOR_TARGET" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13136 $as_echo "no
" >&6; }
13141 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13143 set dummy ${ncn_progname}; ac_word=$2
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13145 $as_echo_n "checking
for $ac_word...
" >&6; }
13146 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13147 $as_echo_n "(cached
) " >&6
13149 if test -n "$READELF_FOR_TARGET"; then
13150 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13153 for as_dir in $PATH
13156 test -z "$as_dir" && as_dir=.
13157 for ac_exec_ext in '' $ac_executable_extensions; do
13158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13159 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13169 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13170 if test -n "$READELF_FOR_TARGET"; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13172 $as_echo "$READELF_FOR_TARGET" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13175 $as_echo "no
" >&6; }
13180 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13184 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13186 if test $build = $target ; then
13187 READELF_FOR_TARGET="$2"
13189 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13192 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13196 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13202 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13203 if test -n "$with_build_time_tools"; then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13205 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13206 if test -x $with_build_time_tools/strip; then
13207 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13208 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13210 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13213 $as_echo "no
" >&6; }
13215 elif test $build != $host && test $have_gcc_for_target = yes; then
13216 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13217 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13218 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13221 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13222 # Extract the first word of "strip
", so it can be a program name with args.
13223 set dummy strip; ac_word=$2
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13225 $as_echo_n "checking
for $ac_word...
" >&6; }
13226 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13227 $as_echo_n "(cached
) " >&6
13229 case $STRIP_FOR_TARGET in
13231 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13235 for as_dir in $gcc_cv_tool_dirs
13238 test -z "$as_dir" && as_dir=.
13239 for ac_exec_ext in '' $ac_executable_extensions; do
13240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13241 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13252 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13253 if test -n "$STRIP_FOR_TARGET"; then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13255 $as_echo "$STRIP_FOR_TARGET" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13258 $as_echo "no
" >&6; }
13263 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13266 if test -n "$STRIP_FOR_TARGET"; then
13267 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13268 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13269 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13272 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13273 for ncn_progname in strip; do
13274 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13275 set dummy ${ncn_progname}; ac_word=$2
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13277 $as_echo_n "checking
for $ac_word...
" >&6; }
13278 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13279 $as_echo_n "(cached
) " >&6
13281 if test -n "$STRIP_FOR_TARGET"; then
13282 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13285 for as_dir in $PATH
13288 test -z "$as_dir" && as_dir=.
13289 for ac_exec_ext in '' $ac_executable_extensions; do
13290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13291 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13301 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13302 if test -n "$STRIP_FOR_TARGET"; then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13304 $as_echo "$STRIP_FOR_TARGET" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13307 $as_echo "no
" >&6; }
13314 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13315 for ncn_progname in strip; do
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13317 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13318 if test -x $with_build_time_tools/${ncn_progname}; then
13319 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13321 $as_echo "yes" >&6; }
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13325 $as_echo "no
" >&6; }
13330 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13331 for ncn_progname in strip; do
13332 if test -n "$ncn_target_tool_prefix"; then
13333 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13334 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13336 $as_echo_n "checking
for $ac_word...
" >&6; }
13337 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13338 $as_echo_n "(cached
) " >&6
13340 if test -n "$STRIP_FOR_TARGET"; then
13341 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13344 for as_dir in $PATH
13347 test -z "$as_dir" && as_dir=.
13348 for ac_exec_ext in '' $ac_executable_extensions; do
13349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13350 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13360 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13361 if test -n "$STRIP_FOR_TARGET"; then
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13363 $as_echo "$STRIP_FOR_TARGET" >&6; }
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13366 $as_echo "no
" >&6; }
13371 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13373 set dummy ${ncn_progname}; ac_word=$2
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13375 $as_echo_n "checking
for $ac_word...
" >&6; }
13376 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13377 $as_echo_n "(cached
) " >&6
13379 if test -n "$STRIP_FOR_TARGET"; then
13380 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13383 for as_dir in $PATH
13386 test -z "$as_dir" && as_dir=.
13387 for ac_exec_ext in '' $ac_executable_extensions; do
13388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13389 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13399 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13400 if test -n "$STRIP_FOR_TARGET"; then
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13402 $as_echo "$STRIP_FOR_TARGET" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13405 $as_echo "no
" >&6; }
13410 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13414 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13416 if test $build = $target ; then
13417 STRIP_FOR_TARGET="$2"
13419 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13422 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13426 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13432 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13433 if test -n "$with_build_time_tools"; then
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13435 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13436 if test -x $with_build_time_tools/windres; then
13437 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13438 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13440 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13443 $as_echo "no
" >&6; }
13445 elif test $build != $host && test $have_gcc_for_target = yes; then
13446 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13447 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13448 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13451 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13452 # Extract the first word of "windres
", so it can be a program name with args.
13453 set dummy windres; ac_word=$2
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13455 $as_echo_n "checking
for $ac_word...
" >&6; }
13456 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13457 $as_echo_n "(cached
) " >&6
13459 case $WINDRES_FOR_TARGET in
13461 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13465 for as_dir in $gcc_cv_tool_dirs
13468 test -z "$as_dir" && as_dir=.
13469 for ac_exec_ext in '' $ac_executable_extensions; do
13470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13471 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13482 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13483 if test -n "$WINDRES_FOR_TARGET"; then
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13485 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13488 $as_echo "no
" >&6; }
13493 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13496 if test -n "$WINDRES_FOR_TARGET"; then
13497 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13498 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13499 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13502 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13503 for ncn_progname in windres; do
13504 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13505 set dummy ${ncn_progname}; ac_word=$2
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13507 $as_echo_n "checking
for $ac_word...
" >&6; }
13508 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13509 $as_echo_n "(cached
) " >&6
13511 if test -n "$WINDRES_FOR_TARGET"; then
13512 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13515 for as_dir in $PATH
13518 test -z "$as_dir" && as_dir=.
13519 for ac_exec_ext in '' $ac_executable_extensions; do
13520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13521 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13531 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13532 if test -n "$WINDRES_FOR_TARGET"; then
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13534 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13537 $as_echo "no
" >&6; }
13544 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13545 for ncn_progname in windres; do
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13547 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13548 if test -x $with_build_time_tools/${ncn_progname}; then
13549 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13551 $as_echo "yes" >&6; }
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13555 $as_echo "no
" >&6; }
13560 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13561 for ncn_progname in windres; do
13562 if test -n "$ncn_target_tool_prefix"; then
13563 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13564 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13566 $as_echo_n "checking
for $ac_word...
" >&6; }
13567 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13568 $as_echo_n "(cached
) " >&6
13570 if test -n "$WINDRES_FOR_TARGET"; then
13571 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13574 for as_dir in $PATH
13577 test -z "$as_dir" && as_dir=.
13578 for ac_exec_ext in '' $ac_executable_extensions; do
13579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13580 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13581 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13590 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13591 if test -n "$WINDRES_FOR_TARGET"; then
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13593 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13596 $as_echo "no
" >&6; }
13601 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13603 set dummy ${ncn_progname}; ac_word=$2
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13605 $as_echo_n "checking
for $ac_word...
" >&6; }
13606 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13607 $as_echo_n "(cached
) " >&6
13609 if test -n "$WINDRES_FOR_TARGET"; then
13610 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13613 for as_dir in $PATH
13616 test -z "$as_dir" && as_dir=.
13617 for ac_exec_ext in '' $ac_executable_extensions; do
13618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13619 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13629 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13630 if test -n "$WINDRES_FOR_TARGET"; then
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13632 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13635 $as_echo "no
" >&6; }
13640 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13644 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13646 if test $build = $target ; then
13647 WINDRES_FOR_TARGET="$2"
13649 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13652 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13656 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13662 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13663 if test -n "$with_build_time_tools"; then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13665 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13666 if test -x $with_build_time_tools/windmc; then
13667 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13668 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13670 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13673 $as_echo "no
" >&6; }
13675 elif test $build != $host && test $have_gcc_for_target = yes; then
13676 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13677 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13678 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13681 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13682 # Extract the first word of "windmc
", so it can be a program name with args.
13683 set dummy windmc; ac_word=$2
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13685 $as_echo_n "checking
for $ac_word...
" >&6; }
13686 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13687 $as_echo_n "(cached
) " >&6
13689 case $WINDMC_FOR_TARGET in
13691 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13695 for as_dir in $gcc_cv_tool_dirs
13698 test -z "$as_dir" && as_dir=.
13699 for ac_exec_ext in '' $ac_executable_extensions; do
13700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13701 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13712 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13713 if test -n "$WINDMC_FOR_TARGET"; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13715 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13718 $as_echo "no
" >&6; }
13723 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13726 if test -n "$WINDMC_FOR_TARGET"; then
13727 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13728 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13729 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13732 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13733 for ncn_progname in windmc; do
13734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13735 set dummy ${ncn_progname}; ac_word=$2
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13737 $as_echo_n "checking
for $ac_word...
" >&6; }
13738 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13739 $as_echo_n "(cached
) " >&6
13741 if test -n "$WINDMC_FOR_TARGET"; then
13742 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13745 for as_dir in $PATH
13748 test -z "$as_dir" && as_dir=.
13749 for ac_exec_ext in '' $ac_executable_extensions; do
13750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13751 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13761 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13762 if test -n "$WINDMC_FOR_TARGET"; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13764 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13767 $as_echo "no
" >&6; }
13774 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13775 for ncn_progname in windmc; do
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13777 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13778 if test -x $with_build_time_tools/${ncn_progname}; then
13779 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13781 $as_echo "yes" >&6; }
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13785 $as_echo "no
" >&6; }
13790 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13791 for ncn_progname in windmc; do
13792 if test -n "$ncn_target_tool_prefix"; then
13793 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13794 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13796 $as_echo_n "checking
for $ac_word...
" >&6; }
13797 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13798 $as_echo_n "(cached
) " >&6
13800 if test -n "$WINDMC_FOR_TARGET"; then
13801 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13804 for as_dir in $PATH
13807 test -z "$as_dir" && as_dir=.
13808 for ac_exec_ext in '' $ac_executable_extensions; do
13809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13810 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13820 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13821 if test -n "$WINDMC_FOR_TARGET"; then
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13823 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13826 $as_echo "no
" >&6; }
13831 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13833 set dummy ${ncn_progname}; ac_word=$2
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13835 $as_echo_n "checking
for $ac_word...
" >&6; }
13836 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13837 $as_echo_n "(cached
) " >&6
13839 if test -n "$WINDMC_FOR_TARGET"; then
13840 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843 for as_dir in $PATH
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13859 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13860 if test -n "$WINDMC_FOR_TARGET"; then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13862 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13865 $as_echo "no
" >&6; }
13870 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13874 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13876 if test $build = $target ; then
13877 WINDMC_FOR_TARGET="$2"
13879 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13882 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13886 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13890 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13893 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13894 if test "x
${build}" != "x
${host}" ; then
13895 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13896 # We already found the complete path
13897 ac_dir=`dirname $AR_FOR_TARGET`
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13899 $as_echo "pre-installed
in $ac_dir" >&6; }
13901 # Canadian cross, just use what we found
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13903 $as_echo "pre-installed
" >&6; }
13907 case " ${configdirs} " in
13912 if test $ok = yes; then
13913 # An in-tree tool is available and we can use it
13914 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13916 $as_echo "just compiled
" >&6; }
13917 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13918 # We already found the complete path
13919 ac_dir=`dirname $AR_FOR_TARGET`
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13921 $as_echo "pre-installed
in $ac_dir" >&6; }
13922 elif test "x
$target" = "x
$host"; then
13923 # We can use an host tool
13924 AR_FOR_TARGET='$(AR)'
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13926 $as_echo "host tool
" >&6; }
13928 # We need a cross tool
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13930 $as_echo "pre-installed
" >&6; }
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13935 $as_echo_n "checking where to
find the target as...
" >&6; }
13936 if test "x
${build}" != "x
${host}" ; then
13937 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13938 # We already found the complete path
13939 ac_dir=`dirname $AS_FOR_TARGET`
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13941 $as_echo "pre-installed
in $ac_dir" >&6; }
13943 # Canadian cross, just use what we found
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13945 $as_echo "pre-installed
" >&6; }
13949 case " ${configdirs} " in
13954 if test $ok = yes; then
13955 # An in-tree tool is available and we can use it
13956 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13958 $as_echo "just compiled
" >&6; }
13959 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13960 # We already found the complete path
13961 ac_dir=`dirname $AS_FOR_TARGET`
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13963 $as_echo "pre-installed
in $ac_dir" >&6; }
13964 elif test "x
$target" = "x
$host"; then
13965 # We can use an host tool
13966 AS_FOR_TARGET='$(AS)'
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13968 $as_echo "host tool
" >&6; }
13970 # We need a cross tool
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13972 $as_echo "pre-installed
" >&6; }
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13977 $as_echo_n "checking where to
find the target cc...
" >&6; }
13978 if test "x
${build}" != "x
${host}" ; then
13979 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13980 # We already found the complete path
13981 ac_dir=`dirname $CC_FOR_TARGET`
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13983 $as_echo "pre-installed
in $ac_dir" >&6; }
13985 # Canadian cross, just use what we found
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13987 $as_echo "pre-installed
" >&6; }
13991 case " ${configdirs} " in
13996 if test $ok = yes; then
13997 # An in-tree tool is available and we can use it
13998 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14000 $as_echo "just compiled
" >&6; }
14001 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14002 # We already found the complete path
14003 ac_dir=`dirname $CC_FOR_TARGET`
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14005 $as_echo "pre-installed
in $ac_dir" >&6; }
14006 elif test "x
$target" = "x
$host"; then
14007 # We can use an host tool
14008 CC_FOR_TARGET='$(CC)'
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14010 $as_echo "host tool
" >&6; }
14012 # We need a cross tool
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14014 $as_echo "pre-installed
" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14019 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14020 if test "x
${build}" != "x
${host}" ; then
14021 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14022 # We already found the complete path
14023 ac_dir=`dirname $CXX_FOR_TARGET`
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14025 $as_echo "pre-installed
in $ac_dir" >&6; }
14027 # Canadian cross, just use what we found
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14029 $as_echo "pre-installed
" >&6; }
14033 case " ${configdirs} " in
14037 case ,${enable_languages}, in
14041 if test $ok = yes; then
14042 # An in-tree tool is available and we can use it
14043 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'
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14045 $as_echo "just compiled
" >&6; }
14046 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14047 # We already found the complete path
14048 ac_dir=`dirname $CXX_FOR_TARGET`
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14050 $as_echo "pre-installed
in $ac_dir" >&6; }
14051 elif test "x
$target" = "x
$host"; then
14052 # We can use an host tool
14053 CXX_FOR_TARGET='$(CXX)'
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14055 $as_echo "host tool
" >&6; }
14057 # We need a cross tool
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14059 $as_echo "pre-installed
" >&6; }
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14064 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14065 if test "x
${build}" != "x
${host}" ; then
14066 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14067 # We already found the complete path
14068 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14070 $as_echo "pre-installed
in $ac_dir" >&6; }
14072 # Canadian cross, just use what we found
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14074 $as_echo "pre-installed
" >&6; }
14078 case " ${configdirs} " in
14082 case ,${enable_languages}, in
14086 if test $ok = yes; then
14087 # An in-tree tool is available and we can use it
14088 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'
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14090 $as_echo "just compiled
" >&6; }
14091 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14092 # We already found the complete path
14093 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14095 $as_echo "pre-installed
in $ac_dir" >&6; }
14096 elif test "x
$target" = "x
$host"; then
14097 # We can use an host tool
14098 RAW_CXX_FOR_TARGET='$(CXX)'
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14100 $as_echo "host tool
" >&6; }
14102 # We need a cross tool
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14104 $as_echo "pre-installed
" >&6; }
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14109 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14110 if test "x
${build}" != "x
${host}" ; then
14111 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14112 # We already found the complete path
14113 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14115 $as_echo "pre-installed
in $ac_dir" >&6; }
14117 # Canadian cross, just use what we found
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14119 $as_echo "pre-installed
" >&6; }
14123 case " ${configdirs} " in
14128 if test $ok = yes; then
14129 # An in-tree tool is available and we can use it
14130 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14132 $as_echo "just compiled
" >&6; }
14133 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14134 # We already found the complete path
14135 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14137 $as_echo "pre-installed
in $ac_dir" >&6; }
14138 elif test "x
$target" = "x
$host"; then
14139 # We can use an host tool
14140 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14142 $as_echo "host tool
" >&6; }
14144 # We need a cross tool
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14146 $as_echo "pre-installed
" >&6; }
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14151 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14152 if test "x
${build}" != "x
${host}" ; then
14153 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14154 # We already found the complete path
14155 ac_dir=`dirname $GCC_FOR_TARGET`
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14157 $as_echo "pre-installed
in $ac_dir" >&6; }
14159 # Canadian cross, just use what we found
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14161 $as_echo "pre-installed
" >&6; }
14165 case " ${configdirs} " in
14170 if test $ok = yes; then
14171 # An in-tree tool is available and we can use it
14172 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14174 $as_echo "just compiled
" >&6; }
14175 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14176 # We already found the complete path
14177 ac_dir=`dirname $GCC_FOR_TARGET`
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14179 $as_echo "pre-installed
in $ac_dir" >&6; }
14180 elif test "x
$target" = "x
$host"; then
14181 # We can use an host tool
14182 GCC_FOR_TARGET='$()'
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14184 $as_echo "host tool
" >&6; }
14186 # We need a cross tool
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14188 $as_echo "pre-installed
" >&6; }
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14193 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14194 if test "x
${build}" != "x
${host}" ; then
14195 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14196 # We already found the complete path
14197 ac_dir=`dirname $GCJ_FOR_TARGET`
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14199 $as_echo "pre-installed
in $ac_dir" >&6; }
14201 # Canadian cross, just use what we found
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14203 $as_echo "pre-installed
" >&6; }
14207 case " ${configdirs} " in
14211 case ,${enable_languages}, in
14215 if test $ok = yes; then
14216 # An in-tree tool is available and we can use it
14217 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14219 $as_echo "just compiled
" >&6; }
14220 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14221 # We already found the complete path
14222 ac_dir=`dirname $GCJ_FOR_TARGET`
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14224 $as_echo "pre-installed
in $ac_dir" >&6; }
14225 elif test "x
$target" = "x
$host"; then
14226 # We can use an host tool
14227 GCJ_FOR_TARGET='$(GCJ)'
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14229 $as_echo "host tool
" >&6; }
14231 # We need a cross tool
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14233 $as_echo "pre-installed
" >&6; }
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14238 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14239 if test "x
${build}" != "x
${host}" ; then
14240 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14241 # We already found the complete path
14242 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14244 $as_echo "pre-installed
in $ac_dir" >&6; }
14246 # Canadian cross, just use what we found
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14248 $as_echo "pre-installed
" >&6; }
14252 case " ${configdirs} " in
14256 case ,${enable_languages}, in
14260 if test $ok = yes; then
14261 # An in-tree tool is available and we can use it
14262 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14264 $as_echo "just compiled
" >&6; }
14265 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14266 # We already found the complete path
14267 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14269 $as_echo "pre-installed
in $ac_dir" >&6; }
14270 elif test "x
$target" = "x
$host"; then
14271 # We can use an host tool
14272 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14274 $as_echo "host tool
" >&6; }
14276 # We need a cross tool
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14278 $as_echo "pre-installed
" >&6; }
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14283 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14284 if test "x
${build}" != "x
${host}" ; then
14285 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14286 # We already found the complete path
14287 ac_dir=`dirname $GOC_FOR_TARGET`
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14289 $as_echo "pre-installed
in $ac_dir" >&6; }
14291 # Canadian cross, just use what we found
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14293 $as_echo "pre-installed
" >&6; }
14297 case " ${configdirs} " in
14301 case ,${enable_languages}, in
14305 if test $ok = yes; then
14306 # An in-tree tool is available and we can use it
14307 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14309 $as_echo "just compiled
" >&6; }
14310 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14311 # We already found the complete path
14312 ac_dir=`dirname $GOC_FOR_TARGET`
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14314 $as_echo "pre-installed
in $ac_dir" >&6; }
14315 elif test "x
$target" = "x
$host"; then
14316 # We can use an host tool
14317 GOC_FOR_TARGET='$(GOC)'
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14319 $as_echo "host tool
" >&6; }
14321 # We need a cross tool
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14323 $as_echo "pre-installed
" >&6; }
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14328 $as_echo_n "checking where to
find the target ld...
" >&6; }
14329 if test "x
${build}" != "x
${host}" ; then
14330 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14331 # We already found the complete path
14332 ac_dir=`dirname $LD_FOR_TARGET`
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14334 $as_echo "pre-installed
in $ac_dir" >&6; }
14336 # Canadian cross, just use what we found
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14338 $as_echo "pre-installed
" >&6; }
14342 case " ${configdirs} " in
14347 if test $ok = yes; then
14348 # An in-tree tool is available and we can use it
14349 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14351 $as_echo "just compiled
" >&6; }
14352 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14353 # We already found the complete path
14354 ac_dir=`dirname $LD_FOR_TARGET`
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14356 $as_echo "pre-installed
in $ac_dir" >&6; }
14357 elif test "x
$target" = "x
$host"; then
14358 # We can use an host tool
14359 LD_FOR_TARGET='$(LD)'
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14361 $as_echo "host tool
" >&6; }
14363 # We need a cross tool
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14365 $as_echo "pre-installed
" >&6; }
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14370 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14371 if test "x
${build}" != "x
${host}" ; then
14372 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14373 # We already found the complete path
14374 ac_dir=`dirname $LIPO_FOR_TARGET`
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14376 $as_echo "pre-installed
in $ac_dir" >&6; }
14378 # Canadian cross, just use what we found
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14380 $as_echo "pre-installed
" >&6; }
14383 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14384 # We already found the complete path
14385 ac_dir=`dirname $LIPO_FOR_TARGET`
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14387 $as_echo "pre-installed
in $ac_dir" >&6; }
14388 elif test "x
$target" = "x
$host"; then
14389 # We can use an host tool
14390 LIPO_FOR_TARGET='$(LIPO)'
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14392 $as_echo "host tool
" >&6; }
14394 # We need a cross tool
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14396 $as_echo "pre-installed
" >&6; }
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14401 $as_echo_n "checking where to
find the target nm...
" >&6; }
14402 if test "x
${build}" != "x
${host}" ; then
14403 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14404 # We already found the complete path
14405 ac_dir=`dirname $NM_FOR_TARGET`
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14407 $as_echo "pre-installed
in $ac_dir" >&6; }
14409 # Canadian cross, just use what we found
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14411 $as_echo "pre-installed
" >&6; }
14415 case " ${configdirs} " in
14420 if test $ok = yes; then
14421 # An in-tree tool is available and we can use it
14422 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14424 $as_echo "just compiled
" >&6; }
14425 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14426 # We already found the complete path
14427 ac_dir=`dirname $NM_FOR_TARGET`
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14429 $as_echo "pre-installed
in $ac_dir" >&6; }
14430 elif test "x
$target" = "x
$host"; then
14431 # We can use an host tool
14432 NM_FOR_TARGET='$(NM)'
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14434 $as_echo "host tool
" >&6; }
14436 # We need a cross tool
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14438 $as_echo "pre-installed
" >&6; }
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14443 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14444 if test "x
${build}" != "x
${host}" ; then
14445 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14446 # We already found the complete path
14447 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14449 $as_echo "pre-installed
in $ac_dir" >&6; }
14451 # Canadian cross, just use what we found
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14453 $as_echo "pre-installed
" >&6; }
14457 case " ${configdirs} " in
14462 if test $ok = yes; then
14463 # An in-tree tool is available and we can use it
14464 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14466 $as_echo "just compiled
" >&6; }
14467 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14468 # We already found the complete path
14469 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14471 $as_echo "pre-installed
in $ac_dir" >&6; }
14472 elif test "x
$target" = "x
$host"; then
14473 # We can use an host tool
14474 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14476 $as_echo "host tool
" >&6; }
14478 # We need a cross tool
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14480 $as_echo "pre-installed
" >&6; }
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14485 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14486 if test "x
${build}" != "x
${host}" ; then
14487 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14488 # We already found the complete path
14489 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14491 $as_echo "pre-installed
in $ac_dir" >&6; }
14493 # Canadian cross, just use what we found
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14495 $as_echo "pre-installed
" >&6; }
14499 case " ${configdirs} " in
14504 if test $ok = yes; then
14505 # An in-tree tool is available and we can use it
14506 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14508 $as_echo "just compiled
" >&6; }
14509 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14510 # We already found the complete path
14511 ac_dir=`dirname $OBJDUMP_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 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
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 ranlib
" >&5
14527 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14528 if test "x
${build}" != "x
${host}" ; then
14529 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14530 # We already found the complete path
14531 ac_dir=`dirname $RANLIB_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 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14550 $as_echo "just compiled
" >&6; }
14551 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14552 # We already found the complete path
14553 ac_dir=`dirname $RANLIB_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 RANLIB_FOR_TARGET='$(RANLIB)'
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 readelf
" >&5
14569 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14570 if test "x
${build}" != "x
${host}" ; then
14571 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14572 # We already found the complete path
14573 ac_dir=`dirname $READELF_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 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14592 $as_echo "just compiled
" >&6; }
14593 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14594 # We already found the complete path
14595 ac_dir=`dirname $READELF_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 READELF_FOR_TARGET='$(READELF)'
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 strip
" >&5
14611 $as_echo_n "checking where to
find the target strip...
" >&6; }
14612 if test "x
${build}" != "x
${host}" ; then
14613 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14614 # We already found the complete path
14615 ac_dir=`dirname $STRIP_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
14630 if test $ok = yes; then
14631 # An in-tree tool is available and we can use it
14632 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14634 $as_echo "just compiled
" >&6; }
14635 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14636 # We already found the complete path
14637 ac_dir=`dirname $STRIP_FOR_TARGET`
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14639 $as_echo "pre-installed
in $ac_dir" >&6; }
14640 elif test "x
$target" = "x
$host"; then
14641 # We can use an host tool
14642 STRIP_FOR_TARGET='$(STRIP)'
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14644 $as_echo "host tool
" >&6; }
14646 # We need a cross tool
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14648 $as_echo "pre-installed
" >&6; }
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14653 $as_echo_n "checking where to
find the target windres...
" >&6; }
14654 if test "x
${build}" != "x
${host}" ; then
14655 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14656 # We already found the complete path
14657 ac_dir=`dirname $WINDRES_FOR_TARGET`
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14659 $as_echo "pre-installed
in $ac_dir" >&6; }
14661 # Canadian cross, just use what we found
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14663 $as_echo "pre-installed
" >&6; }
14667 case " ${configdirs} " in
14672 if test $ok = yes; then
14673 # An in-tree tool is available and we can use it
14674 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14676 $as_echo "just compiled
" >&6; }
14677 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14678 # We already found the complete path
14679 ac_dir=`dirname $WINDRES_FOR_TARGET`
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14681 $as_echo "pre-installed
in $ac_dir" >&6; }
14682 elif test "x
$target" = "x
$host"; then
14683 # We can use an host tool
14684 WINDRES_FOR_TARGET='$(WINDRES)'
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14686 $as_echo "host tool
" >&6; }
14688 # We need a cross tool
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14690 $as_echo "pre-installed
" >&6; }
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14695 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14696 if test "x
${build}" != "x
${host}" ; then
14697 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14698 # We already found the complete path
14699 ac_dir=`dirname $WINDMC_FOR_TARGET`
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14701 $as_echo "pre-installed
in $ac_dir" >&6; }
14703 # Canadian cross, just use what we found
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14705 $as_echo "pre-installed
" >&6; }
14709 case " ${configdirs} " in
14714 if test $ok = yes; then
14715 # An in-tree tool is available and we can use it
14716 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14718 $as_echo "just compiled
" >&6; }
14719 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14720 # We already found the complete path
14721 ac_dir=`dirname $WINDMC_FOR_TARGET`
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14723 $as_echo "pre-installed
in $ac_dir" >&6; }
14724 elif test "x
$target" = "x
$host"; then
14725 # We can use an host tool
14726 WINDMC_FOR_TARGET='$(WINDMC)'
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14728 $as_echo "host tool
" >&6; }
14730 # We need a cross tool
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14732 $as_echo "pre-installed
" >&6; }
14740 # Certain tools may need extra flags.
14741 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14742 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14743 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14745 # When building target libraries, except in a Canadian cross, we use
14746 # the same toolchain as the compiler we just built.
14747 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14748 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14749 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14750 if test $host = $build; then
14751 case " $configdirs " in
14753 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14754 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14755 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14765 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14766 # Check whether --enable-maintainer-mode was given.
14767 if test "${enable_maintainer_mode+set}" = set; then :
14768 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14770 USE_MAINTAINER_MODE=no
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14774 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14777 if test "$USE_MAINTAINER_MODE" = yes; then
14778 MAINTAINER_MODE_TRUE=
14779 MAINTAINER_MODE_FALSE='#'
14781 MAINTAINER_MODE_TRUE='#'
14782 MAINTAINER_MODE_FALSE=
14784 MAINT=$MAINTAINER_MODE_TRUE
14786 # ---------------------
14787 # GCC bootstrap support
14788 # ---------------------
14790 # Stage specific cflags for build.
14795 yes) stage1_cflags="-g -Wa,-J" ;;
14796 *) stage1_cflags="-g -J" ;;
14802 # Enable --enable-checking in stage1 of the compiler.
14803 # Check whether --enable-stage1-checking was given.
14804 if test "${enable_stage1_checking+set}" = set; then :
14805 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14807 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14808 # For --disable-checking or implicit --enable-checking=release, avoid
14809 # setting --enable-checking=gc in the default stage1 checking for LTO
14810 # bootstraps. See PR62077.
14811 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types
14812 case $BUILD_CONFIG in
14814 if test "x
$enable_checking" = x && \
14815 test -d ${srcdir}/gcc && \
14816 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14817 stage1_checking=--enable-checking=yes,types
14819 *) stage1_checking=--enable-checking=yes,types;;
14822 stage1_checking=--enable-checking=$enable_checking,types
14828 # Enable -Werror in bootstrap stage2 and later.
14829 # Check whether --enable-werror was given.
14830 if test "${enable_werror+set}" = set; then :
14831 enableval=$enable_werror;
14833 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14840 case ${enable_werror} in
14841 yes) stage2_werror_flag="--enable-werror-always" ;;
14842 *) stage2_werror_flag="" ;;
14846 # Enable --enable-host-shared.
14847 # Check whether --enable-host-shared was given.
14848 if test "${enable_host_shared+set}" = set; then :
14849 enableval=$enable_host_shared; host_shared=$enableval
14856 # PR jit/64780: Require the user to explicitly specify
14857 # --enable-host-shared if the jit is enabled, hinting
14858 # that they might want to do a separate configure/build of
14859 # the jit, to avoid users from slowing down the rest of the
14860 # compiler by enabling the jit.
14861 if test ${host_shared} = "no
" ; then
14862 case "${enable_languages}" in
14865 Enabling language
\"jit
\" requires
--enable-host-shared.
14867 --enable-host-shared typically slows the rest of the compiler down by
14868 a few
%, so you must explicitly
enable it.
14870 If you want to build both the jit and the regular compiler
, it is often
14871 best to
do this via two separate configure
/builds
, in separate
14872 directories
, to avoid imposing the performance cost of
14873 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14880 # Specify what files to not compare during bootstrap.
14882 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14884 hppa*64*-*-hpux*) ;;
14885 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14886 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14890 ac_config_files="$ac_config_files Makefile
"
14892 cat >confcache <<\_ACEOF
14893 # This file is a shell script that caches the results of configure
14894 # tests run on this system so they can be shared between configure
14895 # scripts and configure runs, see configure's option --config-cache.
14896 # It is not useful on other systems. If it contains results you don't
14897 # want to keep, you may remove or edit it.
14899 # config.status only pays attention to the cache file if you give it
14900 # the --recheck option to rerun configure.
14902 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14903 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14904 # following values.
14908 # The following way of writing the cache mishandles newlines in values,
14909 # but we know of no workaround that is simple, portable, and efficient.
14910 # So, we kill variables containing newlines.
14911 # Ultrix sh set writes to stderr and can't be redirected directly,
14912 # and sets the high bit in the cache file unless we assign to the vars.
14914 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14915 eval ac_val=\$$ac_var
14919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14920 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14923 _ | IFS | as_nl) ;; #(
14924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14925 *) { eval $ac_var=; unset $ac_var;} ;;
14931 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14932 *${as_nl}ac_space=\ *)
14933 # `set' does not quote correctly, so add quotes: double-quote
14934 # substitution turns \\\\ into \\, and sed turns \\ into \.
14937 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14940 # `set' quotes correctly as required by POSIX, so do not add quotes.
14941 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14952 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14954 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14955 if test -w "$cache_file"; then
14956 test "x
$cache_file" != "x
/dev
/null
" &&
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14958 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14959 cat confcache >$cache_file
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14962 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14967 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14968 # Let make expand exec_prefix.
14969 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14971 # Transform confdefs.h into DEFS.
14972 # Protect against shell expansion while executing Makefile rules.
14973 # Protect against Makefile macro expansion.
14975 # If the first sed substitution is executed (which looks for macros that
14976 # take arguments), then branch to the quote section. Otherwise,
14977 # look for a macro that doesn't take arguments.
14987 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14989 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14993 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15006 DEFS=`sed -n "$ac_script" confdefs.h`
15011 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15012 # 1. Remove the extension, and $U if already installed.
15013 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15014 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15016 # will be set to the directory where LIBOBJS objects are built.
15017 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15018 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15020 LIBOBJS=$ac_libobjs
15022 LTLIBOBJS=$ac_ltlibobjs
15026 : ${CONFIG_STATUS=./config.status}
15028 ac_clean_files_save=$ac_clean_files
15029 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15031 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15033 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15035 # Generated by $as_me.
15036 # Run this file to recreate the current configuration.
15037 # Compiler output produced by configure, useful for debugging
15038 # configure, is in config.log if it exists.
15041 ac_cs_recheck=false
15044 SHELL=\${CONFIG_SHELL-$SHELL}
15047 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15048 ## -------------------- ##
15049 ## M4sh Initialization. ##
15050 ## -------------------- ##
15052 # Be more Bourne compatible
15053 DUALCASE=1; export DUALCASE # for MKS sh
15054 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15057 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15058 # is contrary to our usage. Disable this feature.
15059 alias -g '${1+"$@"}'='"$@"'
15060 setopt NO_GLOB_SUBST
15062 case `(set -o) 2>/dev/null` in #(
15074 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15075 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15076 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15077 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15078 # Prefer a ksh shell builtin over an external printf program on Solaris,
15079 # but without wasting forks for bash or zsh.
15080 if test -z "$BASH_VERSION$ZSH_VERSION" \
15081 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15082 as_echo
='print -r --'
15083 as_echo_n
='print -rn --'
15084 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15085 as_echo
='printf %s\n'
15086 as_echo_n
='printf %s'
15088 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15089 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15090 as_echo_n
='/usr/ucb/echo -n'
15092 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15093 as_echo_n_body
='eval
15097 expr "X$arg" : "X\\(.*\\)$as_nl";
15098 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15100 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15102 export as_echo_n_body
15103 as_echo_n
='sh -c $as_echo_n_body as_echo'
15105 export as_echo_body
15106 as_echo
='sh -c $as_echo_body as_echo'
15109 # The user is always right.
15110 if test "${PATH_SEPARATOR+set}" != set; then
15112 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15113 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15120 # We need space, tab and new line, in precisely that order. Quoting is
15121 # there to prevent editors from complaining about space-tab.
15122 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15123 # splitting by setting IFS to empty value.)
15126 # Find who we are. Look in the path if we contain no directory separator.
15128 *[\\/]* ) as_myself
=$0 ;;
15129 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15130 for as_dir
in $PATH
15133 test -z "$as_dir" && as_dir
=.
15134 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15140 # We did not find ourselves, most probably we were run as `sh COMMAND'
15141 # in which case we are not to be found in the path.
15142 if test "x$as_myself" = x
; then
15145 if test ! -f "$as_myself"; then
15146 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15150 # Unset variables that we do not need and which cause bugs (e.g. in
15151 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15152 # suppresses any "Segmentation fault" message there. '((' could
15153 # trigger a bug in pdksh 5.2.14.
15154 for as_var
in BASH_ENV ENV MAIL MAILPATH
15155 do eval test x\
${$as_var+set} = xset \
15156 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15169 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15172 # as_fn_error ERROR [LINENO LOG_FD]
15173 # ---------------------------------
15174 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15175 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15176 # script with status $?, using 1 if that was 0.
15179 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15181 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15182 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15184 $as_echo "$as_me: error: $1" >&2
15185 as_fn_exit
$as_status
15189 # as_fn_set_status STATUS
15190 # -----------------------
15191 # Set $? to STATUS, without forking.
15192 as_fn_set_status
()
15195 } # as_fn_set_status
15197 # as_fn_exit STATUS
15198 # -----------------
15199 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15203 as_fn_set_status
$1
15209 # Portably unset VAR.
15212 { eval $1=; unset $1;}
15214 as_unset
=as_fn_unset
15215 # as_fn_append VAR VALUE
15216 # ----------------------
15217 # Append the text in VALUE to the end of the definition contained in VAR. Take
15218 # advantage of any shell optimizations that allow amortized linear growth over
15219 # repeated appends, instead of the typical quadratic growth present in naive
15221 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15222 eval 'as_fn_append ()
15233 # as_fn_arith ARG...
15234 # ------------------
15235 # Perform arithmetic evaluation on the ARGs, and store the result in the
15236 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15237 # must be portable across $(()) and expr.
15238 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15239 eval 'as_fn_arith ()
15246 as_val
=`expr "$@" || test $? -eq 1`
15251 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15252 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15258 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15259 as_basename
=basename
15264 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15270 as_me
=`$as_basename -- "$0" ||
15271 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15272 X"$0" : 'X\(//\)$' \| \
15273 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15275 sed '/^.*\/\([^/][^/]*\)\/*$/{
15289 # Avoid depending upon Character Ranges.
15290 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15291 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15292 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15293 as_cr_digits
='0123456789'
15294 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15296 ECHO_C
= ECHO_N
= ECHO_T
=
15297 case `echo -n x` in #(((((
15299 case `echo 'xy\c'` in
15300 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15302 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15309 rm -f conf$$ conf$$.exe conf$$.
file
15310 if test -d conf$$.dir
; then
15311 rm -f conf$$.dir
/conf$$.
file
15314 mkdir conf$$.dir
2>/dev
/null
15316 if (echo >conf$$.
file) 2>/dev
/null
; then
15317 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15319 # ... but there are two gotchas:
15320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15322 # In both cases, we have to default to `cp -p'.
15323 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15325 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15333 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15334 rmdir conf$$.dir
2>/dev
/null
15339 # Create "$as_dir" as a directory, including parents if necessary.
15344 -*) as_dir
=.
/$as_dir;;
15346 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15350 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15351 *) as_qdir
=$as_dir;;
15353 as_dirs
="'$as_qdir' $as_dirs"
15354 as_dir
=`$as_dirname -- "$as_dir" ||
15355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15356 X"$as_dir" : 'X\(//\)[^/]' \| \
15357 X"$as_dir" : 'X\(//\)$' \| \
15358 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15359 $as_echo X"$as_dir" |
15360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15364 /^X\(\/\/\)[^/].*/{
15377 test -d "$as_dir" && break
15379 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15380 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15384 if mkdir
-p .
2>/dev
/null
; then
15385 as_mkdir_p
='mkdir -p "$as_dir"'
15387 test -d .
/-p && rmdir .
/-p
15391 if test -x / >/dev
/null
2>&1; then
15392 as_test_x
='test -x'
15394 if ls -dL / >/dev
/null
2>&1; then
15401 if test -d "$1"; then
15407 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15408 ???[sx]*):;;*)false;;esac;fi
15412 as_executable_p
=$as_test_x
15414 # Sed expression to map a string onto a valid CPP name.
15415 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15417 # Sed expression to map a string onto a valid variable name.
15418 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15422 ## ----------------------------------- ##
15423 ## Main body of $CONFIG_STATUS script. ##
15424 ## ----------------------------------- ##
15426 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15429 # Save the log message, to keep $0 and so on meaningful, and to
15430 # report actual input values of CONFIG_FILES etc. instead of their
15431 # values after options handling.
15433 This file was extended by $as_me, which was
15434 generated by GNU Autoconf 2.64. Invocation command line was
15436 CONFIG_FILES = $CONFIG_FILES
15437 CONFIG_HEADERS = $CONFIG_HEADERS
15438 CONFIG_LINKS = $CONFIG_LINKS
15439 CONFIG_COMMANDS = $CONFIG_COMMANDS
15442 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15447 case $ac_config_files in *"
15448 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15454 # Files that config.status was made for.
15455 config_files="$ac_config_files"
15459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15461 \`$as_me' instantiates files and other configuration actions
15462 from templates according to the current configuration. Unless the files
15463 and actions are specified as TAGs, all are instantiated by default.
15465 Usage: $0 [OPTION]... [TAG]...
15467 -h, --help print this help, then exit
15468 -V, --version print version number and configuration settings, then exit
15469 -q, --quiet, --silent
15470 do not print progress messages
15471 -d, --debug don't remove temporary files
15472 --recheck update $as_me by reconfiguring in the same conditions
15473 --file=FILE[:TEMPLATE]
15474 instantiate the configuration file FILE
15476 Configuration files:
15479 Report bugs to the package provider."
15482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15485 configured by $0, generated by GNU Autoconf 2.64,
15486 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15488 Copyright (C) 2009 Free Software Foundation, Inc.
15489 This config.status script is free software; the Free Software Foundation
15490 gives unlimited permission to copy, distribute and modify it."
15496 test -n "\$AWK" || AWK=awk
15499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15500 # The default lists apply if the user does not specify any file.
15506 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15507 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15518 # Handling of the options.
15519 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15521 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15522 $as_echo "$ac_cs_version"; exit ;;
15523 --debug |
--debu |
--deb |
--de |
--d |
-d )
15525 --file |
--fil |
--fi |
--f )
15528 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15530 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15531 ac_need_defaults
=false
;;
15532 --he |
--h |
--help |
--hel |
-h )
15533 $as_echo "$ac_cs_usage"; exit ;;
15534 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15535 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15538 # This is an error.
15539 -*) as_fn_error
"unrecognized option: \`$1'
15540 Try \`$0 --help' for more information." ;;
15542 *) as_fn_append ac_config_targets
" $1"
15543 ac_need_defaults
=false
;;
15549 ac_configure_extra_args
=
15551 if $ac_cs_silent; then
15553 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15558 if \$ac_cs_recheck; then
15559 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15561 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15562 CONFIG_SHELL='$SHELL'
15563 export CONFIG_SHELL
15568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15572 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15573 ## Running $as_me. ##
15579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15583 extrasub_build="$extrasub_build"
15584 extrasub_host="$extrasub_host"
15585 extrasub_target="$extrasub_target"
15589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15591 # Handling of arguments.
15592 for ac_config_target
in $ac_config_targets
15594 case $ac_config_target in
15595 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15597 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15602 # If the user did not use the arguments to specify the items to instantiate,
15603 # then the envvar interface is used. Set only those that are not.
15604 # We use the long form for the default assignment because of an extremely
15605 # bizarre bug on SunOS 4.1.3.
15606 if $ac_need_defaults; then
15607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15610 # Have a temporary directory for convenience. Make it in the build tree
15611 # simply because there is no reason against having it here, and in addition,
15612 # creating and moving files from /tmp can sometimes cause problems.
15613 # Hook for its removal unless debugging.
15614 # Note that there is a small window in which the directory will not be cleaned:
15615 # after its creation but before its name has been assigned to `$tmp'.
15619 trap 'exit_status=$?
15620 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15622 trap 'as_fn_exit 1' 1 2 13 15
15624 # Create a (secure) tmp directory for tmp files.
15627 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15628 test -n "$tmp" && test -d "$tmp"
15631 tmp
=.
/conf$$
-$RANDOM
15632 (umask 077 && mkdir
"$tmp")
15633 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15635 # Set up the scripts for CONFIG_FILES section.
15636 # No need to generate them if there are no CONFIG_FILES.
15637 # This happens for instance with `./config.status config.h'.
15638 if test -n "$CONFIG_FILES"; then
15640 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15641 ac_cs_awk_getline
=:
15642 ac_cs_awk_pipe_init
=
15643 ac_cs_awk_read_file
='
15644 while ((getline aline < (F[key])) > 0)
15647 ac_cs_awk_pipe_fini
=
15649 ac_cs_awk_getline
=false
15650 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15651 ac_cs_awk_read_file
='
15653 print "cat " F[key] " &&"
15654 '$ac_cs_awk_pipe_init
15655 # The final `:' finishes the AND list.
15656 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15658 ac_cr
=`echo X | tr X '\015'`
15659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15660 # But we know of no other shell where ac_cr would be empty at this
15661 # point, so we can use a bashism as a fallback.
15662 if test "x$ac_cr" = x
; then
15663 eval ac_cr
=\$
\'\\r
\'
15665 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15669 ac_cs_awk_cr
=$ac_cr
15672 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15675 # Create commands to substitute file output variables.
15677 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15678 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15679 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15682 } >conf$
$files.sh
&&
15683 . .
/conf$
$files.sh ||
15684 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15685 rm -f conf$
$files.sh
15688 echo "cat >conf$$subs.awk <<_ACEOF" &&
15689 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15691 } >conf$$subs.sh ||
15692 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15693 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15695 for ac_last_try in false false false false false :; do
15696 . ./conf$$subs.sh ||
15697 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15699 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15700 if test $ac_delim_n = $ac_delim_num; then
15702 elif $ac_last_try; then
15703 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15705 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15708 rm -f conf$$subs.sh
15710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15711 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15715 s/^/S["/; s
/!.
*/"]=/
15725 s/\(.\{148\}\).*/\1/
15727 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15732 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15739 s/\(.\{148\}\).*/\1/
15741 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15745 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15750 ' <conf$$subs.awk | sed '
15755 ' >>$CONFIG_STATUS || ac_write_fail=1
15756 rm -f conf$$subs.awk
15757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15759 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15760 for (key in S) S_is_set[key] = 1
15762 \$ac_cs_awk_pipe_init
15766 nfields = split(line, field, "@
")
15768 len = length(field[1])
15769 for (i = 2; i < nfields; i++) {
15771 keylen = length(key)
15772 if (S_is_set[key]) {
15774 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15775 len += length(value) + length(field[++i])
15780 if (nfields == 3 && !substed) {
15782 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15783 \$ac_cs_awk_read_file
15789 \$ac_cs_awk_pipe_fini
15792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15793 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15794 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15797 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15798 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15801 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15802 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15803 # trailing colons and then remove the whole line if VPATH becomes empty
15804 # (actually we leave an empty line to preserve line numbers).
15805 if test "x
$srcdir" = x.; then
15806 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15807 s/:*\$(srcdir):*/:/
15808 s/:*\${srcdir}:*/:/
15810 s/^\([^=]*=[ ]*\):*/\1/
15816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15817 fi # test -n "$CONFIG_FILES"
15820 eval set X " :F
$CONFIG_FILES "
15825 :[FHLC]) ac_mode=$ac_tag; continue;;
15827 case $ac_mode$ac_tag in
15829 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15830 :[FH]-) ac_tag=-:-;;
15831 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15848 -) ac_f="$tmp/stdin";;
15849 *) # Look for the file first in the build tree, then in the source tree
15850 # (if the path is not absolute). The absolute path cannot be DOS-style,
15851 # because $ac_f cannot contain `:'.
15855 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15857 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15859 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15860 as_fn_append ac_file_inputs " '$ac_f'"
15863 # Let's still pretend it is `configure' which instantiates (i.e., don't
15864 # use $as_me), people would be surprised to read:
15865 # /* config.h. Generated by config.status. */
15866 configure_input='Generated from '`
15867 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15869 if test x"$ac_file" != x-; then
15870 configure_input="$ac_file.
$configure_input"
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15872 $as_echo "$as_me: creating
$ac_file" >&6;}
15874 # Neutralize special characters interpreted by sed in replacement strings.
15875 case $configure_input in #(
15876 *\&* | *\|* | *\\* )
15877 ac_sed_conf_input=`$as_echo "$configure_input" |
15878 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15879 *) ac_sed_conf_input=$configure_input;;
15883 *:-:* | *:-) cat >"$tmp/stdin
" \
15884 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15889 ac_dir=`$as_dirname -- "$ac_file" ||
15890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15891 X"$ac_file" : 'X\(//\)[^/]' \| \
15892 X"$ac_file" : 'X\(//\)$' \| \
15893 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15894 $as_echo X"$ac_file" |
15895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15899 /^X\(\/\/\)[^/].*/{
15912 as_dir="$ac_dir"; as_fn_mkdir_p
15916 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15918 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15919 # A "..
" for each directory in $ac_dir_suffix.
15920 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15921 case $ac_top_builddir_sub in
15922 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15923 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15926 ac_abs_top_builddir=$ac_pwd
15927 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15928 # for backward compatibility:
15929 ac_top_builddir=$ac_top_build_prefix
15932 .) # We are building in place.
15934 ac_top_srcdir=$ac_top_builddir_sub
15935 ac_abs_top_srcdir=$ac_pwd ;;
15936 [\\/]* | ?:[\\/]* ) # Absolute name.
15937 ac_srcdir=$srcdir$ac_dir_suffix;
15938 ac_top_srcdir=$srcdir
15939 ac_abs_top_srcdir=$srcdir ;;
15940 *) # Relative name.
15941 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15942 ac_top_srcdir=$ac_top_build_prefix$srcdir
15943 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15945 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15955 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15956 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15961 # If the template does not know about datarootdir, expand it.
15962 # FIXME: This hack should be removed a few years after 2.60.
15963 ac_datarootdir_hack=; ac_datarootdir_seen=
15974 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15975 *datarootdir*) ac_datarootdir_seen=yes;;
15976 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15978 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15981 ac_datarootdir_hack='
15982 s&@datadir@&$datadir&g
15983 s&@docdir@&$docdir&g
15984 s&@infodir@&$infodir&g
15985 s&@localedir@&$localedir&g
15986 s&@mandir@&$mandir&g
15987 s&\\\${datarootdir}&$datarootdir&g' ;;
15991 # Neutralize VPATH when `$srcdir' = `.'.
15992 # Shell code in configure.ac might set extrasub.
15993 # FIXME: do we really want to maintain this feature?
15994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15995 ac_sed_extra="$ac_vpsub
15998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16000 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16001 s|@configure_input@|
$ac_sed_conf_input|
;t t
16002 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16003 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16004 s
&@srcdir@
&$ac_srcdir&;t t
16005 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16006 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16007 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16008 s
&@builddir@
&$ac_builddir&;t t
16009 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16010 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16011 s
&@INSTALL@
&$ac_INSTALL&;t t
16012 $ac_datarootdir_hack
16014 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16015 if $ac_cs_awk_getline; then
16016 $AWK -f "$tmp/subs.
awk"
16018 $AWK -f "$tmp/subs.
awk" | $SHELL
16020 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16022 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16023 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16024 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16026 which seems to be undefined. Please make sure it is defined." >&5
16027 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16028 which seems to be undefined. Please make sure it is defined." >&2;}
16032 -) cat "$tmp/out" && rm -f "$tmp/out";;
16033 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16035 || as_fn_error "could not create $ac_file" "$LINENO" 5
16043 case $ac_file$ac_mode in
16044 "Makefile":F) sed "$extrasub_build" Makefile |
16045 sed "$extrasub_host" |
16046 sed "$extrasub_target" > mf$$
16047 mv -f mf$$ Makefile ;;
16055 ac_clean_files=$ac_clean_files_save
16057 test $ac_write_fail = 0 ||
16058 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16061 # configure is writing to config.log, and then calls config.status.
16062 # config.status does its own redirection, appending to config.log.
16063 # Unfortunately, on DOS this fails, as config.log is still kept open
16064 # by configure, so config.status won't be able to
write to it
; its
16065 # output is simply discarded. So we exec the FD to /dev/null,
16066 # effectively closing config.log, so it can be properly (re)opened and
16067 # appended to by config.status. When coming back to configure, we
16068 # need to make the FD available again.
16069 if test "$no_create" != yes; then
16071 ac_config_status_args
=
16072 test "$silent" = yes &&
16073 ac_config_status_args
="$ac_config_status_args --quiet"
16075 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16077 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16078 # would make configure fail if this is the last instruction.
16079 $ac_cs_success || as_fn_exit $?
16081 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16083 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}