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
642 DEBUG_PREFIX_CFLAGS_FOR_TARGET
643 SYSROOT_CFLAGS_FOR_TARGET
644 extra_host_zlib_configure_flags
645 extra_host_libiberty_configure_flags
650 extra_linker_plugin_flags
651 extra_linker_plugin_configure_flags
659 extra_isl_gmp_configure_flags
660 extra_mpc_mpfr_configure_flags
661 extra_mpc_gmp_configure_flags
662 extra_mpfr_configure_flags
678 extra_liboffloadmic_configure_flags
705 TOPLEVEL_CONFIGURE_ARGUMENTS
733 program_transform_name
744 ac_subst_files
='serialization_dependencies
750 enable_option_checking
753 enable_as_accelerator_for
754 enable_offload_targets
757 enable_compressed_debug_sections
759 enable_libquadmath_support
783 enable_isl_version_check
785 enable_linker_plugin_configure_flags
786 enable_linker_plugin_flags
787 enable_stage1_languages
790 with_target_bdw_gc_include
791 with_target_bdw_gc_lib
793 with_debug_prefix_map
796 enable_serial_configure
797 with_build_time_tools
798 enable_maintainer_mode
799 enable_stage1_checking
803 ac_precious_vars
='build_alias
853 # Initialize some variables set by options.
855 ac_init_version
=false
856 ac_unrecognized_opts
=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name
=s
,x
,x
,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir
='${exec_prefix}/bin'
882 sbindir
='${exec_prefix}/sbin'
883 libexecdir
='${exec_prefix}/libexec'
884 datarootdir
='${prefix}/share'
885 datadir
='${datarootdir}'
886 sysconfdir
='${prefix}/etc'
887 sharedstatedir
='${prefix}/com'
888 localstatedir
='${prefix}/var'
889 includedir
='${prefix}/include'
890 oldincludedir
='/usr/include'
891 docdir
='${datarootdir}/doc/${PACKAGE}'
892 infodir
='${datarootdir}/info'
897 libdir
='${exec_prefix}/lib'
898 localedir
='${datarootdir}/locale'
899 mandir
='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\
$ac_option
913 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917 # Accept the important Cygnus configure options, so we can diagnose typos.
919 case $ac_dashdash$ac_option in
923 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
925 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
928 -build |
--build |
--buil |
--bui |
--bu)
929 ac_prev
=build_alias
;;
930 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
931 build_alias
=$ac_optarg ;;
933 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
934 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
935 ac_prev
=cache_file
;;
936 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
937 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
938 cache_file
=$ac_optarg ;;
941 cache_file
=config.cache
;;
943 -datadir |
--datadir |
--datadi |
--datad)
945 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
946 datadir
=$ac_optarg ;;
948 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
949 |
--dataroo |
--dataro |
--datar)
950 ac_prev
=datarootdir
;;
951 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
952 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
953 datarootdir
=$ac_optarg ;;
955 -disable-* |
--disable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=no
;;
971 -docdir |
--docdir |
--docdi |
--doc |
--do)
973 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
976 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
978 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
981 -enable-* |
--enable-*)
982 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
985 as_fn_error
"invalid feature name: $ac_useropt"
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=\
$ac_optarg ;;
997 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
998 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
999 |
--exec |
--exe |
--ex)
1000 ac_prev
=exec_prefix
;;
1001 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1002 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1003 |
--exec=* |
--exe=* |
--ex=*)
1004 exec_prefix
=$ac_optarg ;;
1006 -gas |
--gas |
--ga |
--g)
1007 # Obsolete; use --with-gas.
1010 -help |
--help |
--hel |
--he |
-h)
1011 ac_init_help
=long
;;
1012 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1013 ac_init_help
=recursive
;;
1014 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1015 ac_init_help
=short
;;
1017 -host |
--host |
--hos |
--ho)
1018 ac_prev
=host_alias
;;
1019 -host=* |
--host=* |
--hos=* |
--ho=*)
1020 host_alias
=$ac_optarg ;;
1022 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1024 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1026 htmldir
=$ac_optarg ;;
1028 -includedir |
--includedir |
--includedi |
--included |
--include \
1029 |
--includ |
--inclu |
--incl |
--inc)
1030 ac_prev
=includedir
;;
1031 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1032 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1033 includedir
=$ac_optarg ;;
1035 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1037 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1038 infodir
=$ac_optarg ;;
1040 -libdir |
--libdir |
--libdi |
--libd)
1042 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1043 libdir
=$ac_optarg ;;
1045 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1046 |
--libexe |
--libex |
--libe)
1047 ac_prev
=libexecdir
;;
1048 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1049 |
--libexe=* |
--libex=* |
--libe=*)
1050 libexecdir
=$ac_optarg ;;
1052 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1053 ac_prev
=localedir
;;
1054 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1055 localedir
=$ac_optarg ;;
1057 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1058 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1059 ac_prev
=localstatedir
;;
1060 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1061 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1062 localstatedir
=$ac_optarg ;;
1064 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1066 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1067 mandir
=$ac_optarg ;;
1069 -nfp |
--nfp |
--nf)
1070 # Obsolete; use --without-fp.
1073 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1074 |
--no-cr |
--no-c |
-n)
1077 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1078 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1081 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1082 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1083 |
--oldin |
--oldi |
--old |
--ol |
--o)
1084 ac_prev
=oldincludedir
;;
1085 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1086 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1087 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1088 oldincludedir
=$ac_optarg ;;
1090 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1092 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1093 prefix
=$ac_optarg ;;
1095 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1096 |
--program-pre |
--program-pr |
--program-p)
1097 ac_prev
=program_prefix
;;
1098 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1099 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1100 program_prefix
=$ac_optarg ;;
1102 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1103 |
--program-suf |
--program-su |
--program-s)
1104 ac_prev
=program_suffix
;;
1105 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1106 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1107 program_suffix
=$ac_optarg ;;
1109 -program-transform-name |
--program-transform-name \
1110 |
--program-transform-nam |
--program-transform-na \
1111 |
--program-transform-n |
--program-transform- \
1112 |
--program-transform |
--program-transfor \
1113 |
--program-transfo |
--program-transf \
1114 |
--program-trans |
--program-tran \
1115 |
--progr-tra |
--program-tr |
--program-t)
1116 ac_prev
=program_transform_name
;;
1117 -program-transform-name=* |
--program-transform-name=* \
1118 |
--program-transform-nam=* |
--program-transform-na=* \
1119 |
--program-transform-n=* |
--program-transform-=* \
1120 |
--program-transform=* |
--program-transfor=* \
1121 |
--program-transfo=* |
--program-transf=* \
1122 |
--program-trans=* |
--program-tran=* \
1123 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1124 program_transform_name
=$ac_optarg ;;
1126 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1128 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1129 pdfdir
=$ac_optarg ;;
1131 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1133 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1137 |
-silent |
--silent |
--silen |
--sile |
--sil)
1140 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1142 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1144 sbindir
=$ac_optarg ;;
1146 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1147 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1148 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1150 ac_prev
=sharedstatedir
;;
1151 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1152 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1153 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1155 sharedstatedir
=$ac_optarg ;;
1157 -site |
--site |
--sit)
1159 -site=* |
--site=* |
--sit=*)
1162 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1164 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1165 srcdir
=$ac_optarg ;;
1167 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1168 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1169 ac_prev
=sysconfdir
;;
1170 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1171 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1172 sysconfdir
=$ac_optarg ;;
1174 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1175 ac_prev
=target_alias
;;
1176 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1177 target_alias
=$ac_optarg ;;
1179 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1182 -version |
--version |
--versio |
--versi |
--vers |
-V)
1183 ac_init_version
=: ;;
1186 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=\
$ac_optarg ;;
1201 -without-* |
--without-*)
1202 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 as_fn_error
"invalid package name: $ac_useropt"
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1222 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1225 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1229 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1232 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) as_fn_error
"unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information."
1240 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #(
1243 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1244 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error
"missing argument to $ac_option"
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1268 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1291 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 as_fn_error
"working directory cannot be determined"
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 as_fn_error
"pwd does not report name of working directory"
1326 # Find the source files, if location was not specified.
1327 if test -z "$srcdir"; then
1328 ac_srcdir_defaulted
=yes
1329 # Try the directory containing this script, then the parent directory.
1330 ac_confdir
=`$as_dirname -- "$as_myself" ||
1331 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1332 X"$as_myself" : 'X\(//\)[^/]' \| \
1333 X"$as_myself" : 'X\(//\)$' \| \
1334 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1335 $as_echo X"$as_myself" |
1336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1358 ac_srcdir_defaulted
=no
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1361 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1362 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1364 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1366 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1368 # When building in place, set srcdir=.
1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
1372 # Remove unnecessary trailing slashes from srcdir.
1373 # Double slashes in file names in object file debugging info
1374 # mess up M-x gdb in Emacs.
1376 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 as_fn_error
"path to source, $srcdir, contains spaces"
1383 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1385 for ac_var
in $ac_precious_vars; do
1386 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1388 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1389 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1399 \`configure' configures this package to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1457 --program-prefix=PREFIX prepend PREFIX to installed program names
1458 --program-suffix=SUFFIX append SUFFIX to installed program names
1459 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1462 --build=BUILD configure
for building on BUILD
[guessed
]
1463 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1464 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1468 if test -n "$ac_init_help"; then
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-as-accelerator-for=ARG
1477 build as offload target compiler. Specify offload
1479 --enable-offload-targets=LIST
1480 enable offloading to devices from comma-separated
1481 LIST of TARGET
[=DIR
]. Use optional path to
find
1482 offload target compiler during the build
1483 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1484 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1485 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1486 Enable compressed debug sections
for gas
, gold or ld
1488 --disable-libquadmath do not build libquadmath directory
1489 --disable-libquadmath-support
1490 disable libquadmath support
for Fortran
1491 --enable-libada build libada directory
1492 --enable-libssp build libssp directory
1493 --disable-libstdcxx do not build libstdc
++-v3 directory
1494 --enable-liboffloadmic=ARG
1495 build liboffloadmic
[ARG
={no
,host,target
}]
1496 --enable-bootstrap enable bootstrapping
[yes if native build
]
1497 --disable-isl-version-check
1498 disable check
for isl version
1499 --enable-lto enable link
time optimization support
1500 --enable-linker-plugin-configure-flags=FLAGS
1501 additional flags
for configuring linker plugins
1503 --enable-linker-plugin-flags=FLAGS
1504 additional flags
for configuring and building linker
1506 --enable-stage1-languages[=all
]
1507 choose additional languages to build during stage1.
1508 Mostly useful
for compiler development
1509 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1511 --enable-vtable-verify Enable vtable verification feature
1512 --enable-serial-[{host,target,build}-]configure
1513 force sequential configuration of sub-packages for
1514 the host, target or build machine, or all
1516 --enable-maintainer-mode
1517 enable make rules and dependencies not useful (and
1518 sometimes confusing) to the casual installer
1519 --enable-stage1-checking[=all]
1520 choose additional checking for stage1 of the
1522 --enable-werror enable -Werror in bootstrap stage2 and later
1523 --enable-host-shared build host code as shared libraries
1526 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1527 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1528 --with-build-libsubdir=DIR Directory where to find libraries for build system
1529 --with-system-zlib use installed libz
1530 --with-mpc=PATH specify prefix directory for installed MPC package.
1531 Equivalent to --with-mpc-include=PATH/include plus
1532 --with-mpc-lib=PATH/lib
1533 --with-mpc-include=PATH specify directory for installed MPC include files
1534 --with-mpc-lib=PATH specify directory for the installed MPC library
1535 --with-mpfr-dir=PATH this option has been REMOVED
1536 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1537 Equivalent to --with-mpfr-include=PATH/include plus
1538 --with-mpfr-lib=PATH/lib
1539 --with-mpfr-include=PATH
1540 specify directory for installed MPFR include files
1541 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1542 --with-gmp-dir=PATH this option has been REMOVED
1543 --with-gmp=PATH specify prefix directory for the installed GMP
1544 package. Equivalent to
1545 --with-gmp-include=PATH/include plus
1546 --with-gmp-lib=PATH/lib
1547 --with-gmp-include=PATH specify directory for installed GMP include files
1548 --with-gmp-lib=PATH specify directory for the installed GMP library
1549 --with-stage1-libs=LIBS libraries for stage1
1550 --with-stage1-ldflags=FLAGS
1551 linker flags for stage1
1552 --with-boot-libs=LIBS libraries for stage2 and later
1553 --with-boot-ldflags=FLAGS
1554 linker flags for stage2 and later
1555 --with-isl=PATH Specify prefix directory for the installed isl
1556 package. Equivalent to
1557 --with-isl-include=PATH/include plus
1558 --with-isl-lib=PATH/lib
1559 --with-isl-include=PATH Specify directory for installed isl include files
1560 --with-isl-lib=PATH Specify the directory for the installed isl library
1561 --with-target-bdw-gc=PATHLIST
1562 specify prefix directory for installed bdw-gc
1563 package. Equivalent to
1564 --with-target-bdw-gc-include=PATH/include plus
1565 --with-target-bdw-gc-lib=PATH/lib
1566 --with-target-bdw-gc-include=PATHLIST
1567 specify directories for installed bdw-gc include
1569 --with-target-bdw-gc-lib=PATHLIST
1570 specify directories for installed bdw-gc library
1571 --with-build-sysroot=SYSROOT
1572 use sysroot as the system root during the build
1573 --with-debug-prefix-map='A
=B C
=D ...
'
1574 map A to B, C to D ... in debug information
1575 --with-build-config='NAME NAME2...
'
1576 use config/NAME.mk build configuration
1577 --with-build-time-tools=PATH
1578 use given path to find target tools during the build
1580 Some influential environment variables:
1581 CC C compiler command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1584 nonstandard directory <lib dir>
1585 LIBS libraries to pass to the linker, e.g. -l<library>
1586 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1587 you have headers in a nonstandard directory <include dir>
1588 CXX C++ compiler command
1589 CXXFLAGS C++ compiler flags
1590 PKG_CONFIG path to pkg-config utility
1592 directories to add to pkg-config's search path
1594 path overriding pkg-config
's built-in search path
1596 additional configure arguments for build directories
1598 additional configure arguments for host directories
1600 additional configure arguments for target directories
1603 DLLTOOL DLLTOOL for the host
1605 LIPO LIPO for the host
1607 RANLIB RANLIB for the host
1608 STRIP STRIP for the host
1609 WINDRES WINDRES for the host
1610 WINDMC WINDMC for the host
1611 OBJCOPY OBJCOPY for the host
1612 OBJDUMP OBJDUMP for the host
1613 READELF READELF for the host
1621 GFORTRAN for the target
1629 DLLTOOL for the target
1637 OBJCOPY for the target
1639 OBJDUMP for the target
1641 RANLIB for the target
1643 READELF for the target
1645 STRIP for the target
1647 WINDRES for the target
1649 WINDMC for the target
1651 Use these variables to override the choices made by `configure' or to
help
1652 it to
find libraries and programs with nonstandard names
/locations.
1654 Report bugs to the package provider.
1659 if test "$ac_init_help" = "recursive"; then
1660 # If there are subdirs, report their specific --help.
1661 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1662 test -d "$ac_dir" ||
1663 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1668 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1670 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1671 # A ".." for each directory in $ac_dir_suffix.
1672 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1673 case $ac_top_builddir_sub in
1674 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1675 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1678 ac_abs_top_builddir
=$ac_pwd
1679 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1680 # for backward compatibility:
1681 ac_top_builddir
=$ac_top_build_prefix
1684 .
) # We are building in place.
1686 ac_top_srcdir
=$ac_top_builddir_sub
1687 ac_abs_top_srcdir
=$ac_pwd ;;
1688 [\\/]* | ?
:[\\/]* ) # Absolute name.
1689 ac_srcdir
=$srcdir$ac_dir_suffix;
1690 ac_top_srcdir
=$srcdir
1691 ac_abs_top_srcdir
=$srcdir ;;
1693 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1694 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1695 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1697 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1699 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1700 # Check for guested configure.
1701 if test -f "$ac_srcdir/configure.gnu"; then
1703 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1704 elif test -f "$ac_srcdir/configure"; then
1706 $SHELL "$ac_srcdir/configure" --help=recursive
1708 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1710 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1714 test -n "$ac_init_help" && exit $ac_status
1715 if $ac_init_version; then
1718 generated by GNU Autoconf
2.64
1720 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1721 This configure
script is free software
; the Free Software Foundation
1722 gives unlimited permission to copy
, distribute and modify it.
1727 ## ------------------------ ##
1728 ## Autoconf initialization. ##
1729 ## ------------------------ ##
1731 # ac_fn_c_try_compile LINENO
1732 # --------------------------
1733 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_c_try_compile
()
1736 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1737 rm -f conftest.
$ac_objext
1738 if { { ac_try
="$ac_compile"
1740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_compile") 2>conftest.err
1747 if test -s conftest.err; then
1748 grep -v '^ *+' conftest.err >conftest.er1
1749 cat conftest.er1 >&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest.$ac_objext; then :
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.$ac_ext >&5
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1767 } # ac_fn_c_try_compile
1769 # ac_fn_cxx_try_compile LINENO
1770 # ----------------------------
1771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_cxx_try_compile ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 rm -f conftest.$ac_objext
1776 if { { ac_try="$ac_compile"
1778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1779 *) ac_try_echo
=$ac_try;;
1781 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_compile") 2>conftest.err
1785 if test -s conftest.err
; then
1786 grep -v '^ *+' conftest.err
>conftest.er1
1787 cat conftest.er1
>&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_cxx_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest.
$ac_objext; then :
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.
$ac_ext >&5
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1805 } # ac_fn_cxx_try_compile
1807 # ac_fn_cxx_try_link LINENO
1808 # -------------------------
1809 # Try to link conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_link
()
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 rm -f conftest.
$ac_objext conftest
$ac_exeext
1814 if { { ac_try
="$ac_link"
1816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_link") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_cxx_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest$ac_exeext && {
1833 test "$cross_compiling" = yes ||
1834 $as_test_x conftest$ac_exeext
1838 $as_echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1843 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1844 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1845 # interfere with the next link command; also delete a directory that is
1846 # left behind by Apple's compiler. We do this before executing the actions.
1847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1848 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 } # ac_fn_cxx_try_link
1853 # ac_fn_c_try_link LINENO
1854 # -----------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded.
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext conftest$ac_exeext
1860 if { { ac_try="$ac_link"
1862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1863 *) ac_try_echo
=$ac_try;;
1865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_link") 2>conftest.err
1869 if test -s conftest.err
; then
1870 grep -v '^ *+' conftest.err
>conftest.er1
1871 cat conftest.er1
>&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_c_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest
$ac_exeext && {
1879 test "$cross_compiling" = yes ||
1880 $as_test_x conftest
$ac_exeext
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.
$ac_ext >&5
1889 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1890 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1891 # interfere with the next link command; also delete a directory that is
1892 # left behind by Apple's compiler. We do this before executing the actions.
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1897 } # ac_fn_c_try_link
1898 cat >config.log
<<_ACEOF
1899 This file contains any messages produced by compilers while
1900 running configure, to aid debugging if configure makes a mistake.
1902 It was created by $as_me, which was
1903 generated by GNU Autoconf 2.64. Invocation command line was
1915 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1916 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1917 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1918 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1919 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1921 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1922 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1924 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1925 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1926 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1927 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1928 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1929 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1930 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1938 test -z "$as_dir" && as_dir
=.
1939 $as_echo "PATH: $as_dir"
1955 # Keep a trace of the command line.
1956 # Strip out --no-create and --no-recursion so they do not pile up.
1957 # Strip out --silent because we don't want to record it for future runs.
1958 # Also quote any args containing shell meta-characters.
1959 # Make two passes to allow for proper duplicate-argument suppression.
1963 ac_must_keep_next
=false
1969 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1971 |
-silent |
--silent |
--silen |
--sile |
--sil)
1974 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1977 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1979 as_fn_append ac_configure_args1
" '$ac_arg'"
1980 if test $ac_must_keep_next = true
; then
1981 ac_must_keep_next
=false
# Got value, back to normal.
1984 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1985 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1986 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1987 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1988 case "$ac_configure_args0 " in
1989 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1992 -* ) ac_must_keep_next
=true
;;
1995 as_fn_append ac_configure_args
" '$ac_arg'"
2000 { ac_configure_args0
=; unset ac_configure_args0
;}
2001 { ac_configure_args1
=; unset ac_configure_args1
;}
2003 # When interrupted or exit'd, cleanup temporary files, and complete
2004 # config.log. We remove comments because anyway the quotes in there
2005 # would cause problems or look ugly.
2006 # WARNING: Use '\'' to represent an apostrophe within the trap.
2007 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2008 trap 'exit_status=$?
2009 # Save into config.log some information that might help in debugging.
2014 ## ---------------- ##
2015 ## Cache variables. ##
2016 ## ---------------- ##
2019 # The following way of writing the cache mishandles newlines in values,
2021 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2022 eval ac_val=\$$ac_var
2026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2030 _ | IFS | as_nl) ;; #(
2031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2032 *) { eval $ac_var=; unset $ac_var;} ;;
2037 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2038 *${as_nl}ac_space=\ *)
2040 "s/'\''/'\''\\\\'\'''\''/g;
2041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2044 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2052 ## ----------------- ##
2053 ## Output variables. ##
2054 ## ----------------- ##
2057 for ac_var in $ac_subst_vars
2059 eval ac_val=\$$ac_var
2061 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063 $as_echo "$ac_var='\''$ac_val'\''"
2067 if test -n "$ac_subst_files"; then
2069 ## ------------------- ##
2070 ## File substitutions. ##
2071 ## ------------------- ##
2074 for ac_var
in $ac_subst_files
2076 eval ac_val
=\$
$ac_var
2078 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080 $as_echo "$ac_var='\''$ac_val'\''"
2085 if test -s confdefs.h; then
2095 test "$ac_signal" != 0 &&
2096 $as_echo "$as_me: caught signal $ac_signal"
2097 $as_echo "$as_me: exit $exit_status"
2099 rm -f core *.core core.conftest.* &&
2100 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2103 for ac_signal
in 1 2 13 15; do
2104 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2108 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2109 rm -f -r conftest
* confdefs.h
2111 $as_echo "/* confdefs.h */" > confdefs.h
2113 # Predefined preprocessor variables.
2115 cat >>confdefs.h
<<_ACEOF
2116 #define PACKAGE_NAME "$PACKAGE_NAME"
2119 cat >>confdefs.h
<<_ACEOF
2120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2123 cat >>confdefs.h
<<_ACEOF
2124 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2127 cat >>confdefs.h
<<_ACEOF
2128 #define PACKAGE_STRING "$PACKAGE_STRING"
2131 cat >>confdefs.h
<<_ACEOF
2132 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2135 cat >>confdefs.h
<<_ACEOF
2136 #define PACKAGE_URL "$PACKAGE_URL"
2140 # Let the site file select an alternate cache file if it wants to.
2141 # Prefer an explicitly selected file to automatically selected ones.
2144 if test -n "$CONFIG_SITE"; then
2145 ac_site_file1
=$CONFIG_SITE
2146 elif test "x$prefix" != xNONE
; then
2147 ac_site_file1
=$prefix/share
/config.site
2148 ac_site_file2
=$prefix/etc
/config.site
2150 ac_site_file1
=$ac_default_prefix/share
/config.site
2151 ac_site_file2
=$ac_default_prefix/etc
/config.site
2153 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2155 test "x$ac_site_file" = xNONE
&& continue
2156 if test -r "$ac_site_file"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2159 sed 's/^/| /' "$ac_site_file" >&5
2164 if test -r "$cache_file"; then
2165 # Some versions of bash will fail to source /dev/null (special
2166 # files actually), so we avoid doing that.
2167 if test -f "$cache_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2169 $as_echo "$as_me: loading cache $cache_file" >&6;}
2171 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2172 *) .
"./$cache_file";;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2177 $as_echo "$as_me: creating cache $cache_file" >&6;}
2181 # Check that the precious variables saved in the cache have kept the same
2183 ac_cache_corrupted
=false
2184 for ac_var
in $ac_precious_vars; do
2185 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2186 eval ac_new_set
=\
$ac_env_${ac_var}_set
2187 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2188 eval ac_new_val
=\
$ac_env_${ac_var}_value
2189 case $ac_old_set,$ac_new_set in
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2193 ac_cache_corrupted
=: ;;
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2197 ac_cache_corrupted
=: ;;
2200 if test "x$ac_old_val" != "x$ac_new_val"; then
2201 # differences in whitespace do not lead to failure.
2202 ac_old_val_w
=`echo x $ac_old_val`
2203 ac_new_val_w
=`echo x $ac_new_val`
2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2207 ac_cache_corrupted
=:
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2211 eval $ac_var=\
$ac_old_val
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2219 # Pass precious variables to config.status.
2220 if test "$ac_new_set" = set; then
2222 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2223 *) ac_arg
=$ac_var=$ac_new_val ;;
2225 case " $ac_configure_args " in
2226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2227 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2231 if $ac_cache_corrupted; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2236 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2238 ## -------------------- ##
2239 ## Main body of script. ##
2240 ## -------------------- ##
2243 ac_cpp
='$CPP $CPPFLAGS'
2244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2257 # if PWD already has a value, it is probably wrong.
2258 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2260 # Export original configure arguments for use by sub-configures.
2261 # Quote arguments with shell meta charatcers.
2262 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2263 set -- "$progname" "$@"
2267 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2268 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2269 # if the argument is of the form -foo=baz, quote the baz part only
2270 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2273 # Add the quoted argument to the list.
2274 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2276 if test "$silent" = yes; then
2277 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2279 # Remove the initial space we just introduced and, as these will be
2280 # expanded by make, quote '$'.
2281 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2284 # Find the build, host, and target systems.
2286 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2287 for ac_t
in install-sh
install.sh shtool
; do
2288 if test -f "$ac_dir/$ac_t"; then
2290 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2295 if test -z "$ac_aux_dir"; then
2296 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2299 # These three variables are undocumented and unsupported,
2300 # and are intended to be withdrawn in a future Autoconf release.
2301 # They can cause serious problems if a builder's source tree is in a directory
2302 # whose full name contains unusual characters.
2303 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2304 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2305 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2308 # Make sure we can run config.sub.
2309 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2310 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2313 $as_echo_n "checking build system type... " >&6; }
2314 if test "${ac_cv_build+set}" = set; then :
2315 $as_echo_n "(cached) " >&6
2317 ac_build_alias
=$build_alias
2318 test "x$ac_build_alias" = x
&&
2319 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2320 test "x$ac_build_alias" = x
&&
2321 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2322 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2323 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2327 $as_echo "$ac_cv_build" >&6; }
2328 case $ac_cv_build in
2330 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2333 ac_save_IFS
=$IFS; IFS
='-'
2339 # Remember, the first character of IFS is used to create $*,
2340 # except with old shells:
2343 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2346 case ${build_alias} in
2347 "") build_noncanonical
=${build} ;;
2348 *) build_noncanonical
=${build_alias} ;;
2353 case ${host_alias} in
2354 "") host_noncanonical
=${build_noncanonical} ;;
2355 *) host_noncanonical
=${host_alias} ;;
2360 case ${target_alias} in
2361 "") target_noncanonical
=${host_noncanonical} ;;
2362 *) target_noncanonical
=${target_alias} ;;
2368 test "$host_noncanonical" = "$target_noncanonical" &&
2369 test "$program_prefix$program_suffix$program_transform_name" = \
2371 program_transform_name
=s
,y
,y
,
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2374 $as_echo_n "checking host system type... " >&6; }
2375 if test "${ac_cv_host+set}" = set; then :
2376 $as_echo_n "(cached) " >&6
2378 if test "x$host_alias" = x
; then
2379 ac_cv_host
=$ac_cv_build
2381 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2382 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2387 $as_echo "$ac_cv_host" >&6; }
2390 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2393 ac_save_IFS
=$IFS; IFS
='-'
2399 # Remember, the first character of IFS is used to create $*,
2400 # except with old shells:
2403 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2407 $as_echo_n "checking target system type... " >&6; }
2408 if test "${ac_cv_target+set}" = set; then :
2409 $as_echo_n "(cached) " >&6
2411 if test "x$target_alias" = x
; then
2412 ac_cv_target
=$ac_cv_host
2414 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2415 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2420 $as_echo "$ac_cv_target" >&6; }
2421 case $ac_cv_target in
2423 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2425 target
=$ac_cv_target
2426 ac_save_IFS
=$IFS; IFS
='-'
2432 # Remember, the first character of IFS is used to create $*,
2433 # except with old shells:
2436 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2439 # The aliases save the names the user supplied, while $host etc.
2440 # will get canonicalized.
2441 test -n "$target_alias" &&
2442 test "$program_prefix$program_suffix$program_transform_name" = \
2444 program_prefix
=${target_alias}-
2446 test "$program_prefix" != NONE
&&
2447 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2448 # Use a double $ so make ignores it.
2449 test "$program_suffix" != NONE
&&
2450 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2451 # Double any \ or $.
2452 # By default was `s,x,x', remove it if useless.
2453 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2454 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2458 # Get 'install' or 'install-sh' and its variants.
2459 # Find a good install program. We prefer a C program (faster),
2460 # so one script is as good as another. But avoid the broken or
2461 # incompatible versions:
2462 # SysV /etc/install, /usr/sbin/install
2463 # SunOS /usr/etc/install
2464 # IRIX /sbin/install
2466 # AmigaOS /C/install, which installs bootblocks on floppy discs
2467 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2468 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2469 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2470 # OS/2's system install, which has a completely different semantic
2471 # ./install, which can be erroneously created by make from ./install.sh.
2472 # Reject install programs that cannot install multiple files.
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2474 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2475 if test -z "$INSTALL"; then
2476 if test "${ac_cv_path_install+set}" = set; then :
2477 $as_echo_n "(cached) " >&6
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 # Account for people who put trailing slashes in PATH elements.
2485 case $as_dir/ in #((
2486 .
/ | .
// |
/[cC
]/* | \
2487 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2488 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2491 # OSF1 and SCO ODT 3.0 have their own names for install.
2492 # Don't use installbsd from OSF since it installs stuff as root
2494 for ac_prog
in ginstall scoinst
install; do
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2497 if test $ac_prog = install &&
2498 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2499 # AIX install. It has an incompatible calling convention.
2501 elif test $ac_prog = install &&
2502 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2503 # program-specific install script used by HP pwplus--don't use.
2506 rm -rf conftest.one conftest.two conftest.dir
2507 echo one
> conftest.one
2508 echo two
> conftest.two
2510 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2511 test -s conftest.one
&& test -s conftest.two
&&
2512 test -s conftest.dir
/conftest.one
&&
2513 test -s conftest.dir
/conftest.two
2515 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2528 rm -rf conftest.one conftest.two conftest.dir
2531 if test "${ac_cv_path_install+set}" = set; then
2532 INSTALL
=$ac_cv_path_install
2534 # As a last resort, use the slow shell script. Don't cache a
2535 # value for INSTALL within a source directory, because that will
2536 # break other packages using the cache if that directory is
2537 # removed, or if the value is a relative name.
2538 INSTALL
=$ac_install_sh
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2542 $as_echo "$INSTALL" >&6; }
2544 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2545 # It thinks the first close brace ends the variable substitution.
2546 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2548 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2550 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2553 $as_echo_n "checking whether ln works... " >&6; }
2554 if test "${acx_cv_prog_LN+set}" = set; then :
2555 $as_echo_n "(cached) " >&6
2557 rm -f conftestdata_t
2558 echo >conftestdata_f
2559 if ln conftestdata_f conftestdata_t
2>/dev
/null
2565 rm -f conftestdata_f conftestdata_t
2568 if test $acx_cv_prog_LN = no
; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2571 $as_echo "no, using $LN" >&6; }
2573 LN
="$acx_cv_prog_LN"
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575 $as_echo "yes" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2579 $as_echo_n "checking whether ln -s works... " >&6; }
2581 if test "$LN_S" = "ln -s"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2583 $as_echo "yes" >&6; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2586 $as_echo "no, using $LN_S" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2590 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2591 if test "${ac_cv_path_SED+set}" = set; then :
2592 $as_echo_n "(cached) " >&6
2594 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2595 for ac_i
in 1 2 3 4 5 6 7; do
2596 ac_script
="$ac_script$as_nl$ac_script"
2598 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2599 { ac_script
=; unset ac_script
;}
2600 if test -z "$SED"; then
2601 ac_path_SED_found
=false
2602 # Loop through the user's path and test for each of PROGNAME-LIST
2603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir
=.
2608 for ac_prog
in sed gsed
; do
2609 for ac_exec_ext
in '' $ac_executable_extensions; do
2610 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2611 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2612 # Check for GNU ac_path_SED and select it if it is found.
2613 # Check for GNU $ac_path_SED
2614 case `"$ac_path_SED" --version 2>&1` in
2616 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2619 $as_echo_n 0123456789 >"conftest.in"
2622 cat "conftest.in" "conftest.in" >"conftest.tmp"
2623 mv "conftest.tmp" "conftest.in"
2624 cp "conftest.in" "conftest.nl"
2625 $as_echo '' >> "conftest.nl"
2626 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2627 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2628 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2629 if test $ac_count -gt ${ac_path_SED_max-0}; then
2630 # Best one so far, save it but keep looking for a better one
2631 ac_cv_path_SED
="$ac_path_SED"
2632 ac_path_SED_max
=$ac_count
2634 # 10*(2^10) chars as input seems more than enough
2635 test $ac_count -gt 10 && break
2637 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2640 $ac_path_SED_found && break 3
2645 if test -z "$ac_cv_path_SED"; then
2646 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2654 $as_echo "$ac_cv_path_SED" >&6; }
2655 SED
="$ac_cv_path_SED"
2658 for ac_prog
in gawk mawk nawk
awk
2660 # Extract the first word of "$ac_prog", so it can be a program name with args.
2661 set dummy
$ac_prog; ac_word
=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if test "${ac_cv_prog_AWK+set}" = set; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$AWK"; then
2668 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir
=.
2675 for ac_exec_ext
in '' $ac_executable_extensions; do
2676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677 ac_cv_prog_AWK
="$ac_prog"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 if test -n "$AWK"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2690 $as_echo "$AWK" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2697 test -n "$AWK" && break
2701 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2703 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2705 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2706 INSTALL
="${srcpwd}/install-sh -c"
2709 # Set srcdir to "." if that's what it is.
2710 # This is important for multilib support.
2712 if test "${pwd}" = "${srcpwd}" ; then
2720 ### To add a new directory to the tree, first choose whether it is a target
2721 ### or a host dependent tool. Then put it into the appropriate list
2722 ### (library or tools, host or target), doing a dependency sort.
2724 # Subdirs will be configured in the order listed in build_configdirs,
2725 # configdirs, or target_configdirs; see the serialization section below.
2727 # Dependency sorting is only needed when *configuration* must be done in
2728 # a particular order. In all cases a dependency should be specified in
2729 # the Makefile, whether or not it's implicitly specified here.
2731 # Double entries in build_configdirs, configdirs, or target_configdirs may
2732 # cause circular dependencies and break everything horribly.
2734 # these library is used by various programs built for the build
2737 build_libs
="build-libiberty build-libcpp"
2739 # these tools are built for the build environment
2740 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2742 # these libraries are used by various programs built for the host environment
2744 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2746 # these tools are built for the host environment
2747 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2748 # know that we are building the simulator.
2749 # binutils, gas and ld appear in that order because it makes sense to run
2750 # "make check" in that particular order.
2751 # If --enable-gold is used, "gold" may replace "ld".
2752 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"
2754 # these libraries are built for the target environment, and are built after
2755 # the host libraries and the host tools (which may be a cross compiler)
2756 # Note that libiberty is not a target library.
2757 target_libraries
="target-libgcc \
2758 target-libbacktrace \
2763 target-liboffloadmic \
2766 target-libstdc++-v3 \
2767 target-libsanitizer \
2771 target-libquadmath \
2772 target-libgfortran \
2778 # these tools are built using the target libraries, and are intended to
2779 # run only in the target environment
2781 # note: any program that *uses* libraries that are in the "target_libraries"
2782 # list belongs in this list.
2784 target_tools
="target-rda"
2786 ################################################################################
2788 ## All tools belong in one of the four categories, and are assigned above
2789 ## We assign ${configdirs} this way to remove all embedded newlines. This
2790 ## is important because configure will choke if they ever get through.
2791 ## ${configdirs} is directories we build using the host tools.
2792 ## ${target_configdirs} is directories we build using the target tools.
2793 configdirs
=`echo ${host_libs} ${host_tools}`
2794 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2795 build_configdirs
=`echo ${build_libs} ${build_tools}`
2799 ################################################################################
2801 srcname
="gnu development package"
2803 # This gets set non-empty for some net releases of packages.
2806 # Define is_cross_compiler to save on calls to 'test'.
2808 if test x
"${host}" = x
"${target}" ; then
2809 is_cross_compiler
=no
2811 is_cross_compiler
=yes
2814 # Find the build and target subdir names.
2816 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2817 # have matching libraries, they should use host libraries: Makefile.tpl
2818 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2819 # However, they still use the build modules, because the corresponding
2820 # host modules (e.g. bison) are only built for the host when bootstrap
2822 # - build_subdir is where we find build modules, and never changes.
2823 # - build_libsubdir is where we find build libraries, and can be overridden.
2825 # Prefix 'build-' so this never conflicts with target_subdir.
2826 build_subdir
="build-${build_noncanonical}"
2828 # Check whether --with-build-libsubdir was given.
2829 if test "${with_build_libsubdir+set}" = set; then :
2830 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2832 build_libsubdir
="$build_subdir"
2835 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2836 if ( test $srcdir = .
&& test -d gcc
) \
2837 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2838 host_subdir
="host-${host_noncanonical}"
2843 target_subdir
=${target_noncanonical}
2845 # Be sure to cover against remnants of an in-tree build.
2846 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2847 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2848 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2851 # Skipdirs are removed silently.
2853 # Noconfigdirs are removed loudly.
2857 # Make sure we don't let GNU ld be added if we didn't want it.
2858 if test x
$with_gnu_ld = xno
; then
2860 noconfigdirs
="$noconfigdirs ld gold"
2864 # Make sure we don't let GNU as be added if we didn't want it.
2865 if test x
$with_gnu_as = xno
; then
2867 noconfigdirs
="$noconfigdirs gas"
2872 # Check whether --with-system-zlib was given.
2873 if test "${with_system_zlib+set}" = set; then :
2874 withval
=$with_system_zlib;
2877 # Make sure we don't let ZLIB be added if we didn't want it.
2878 if test x
$with_system_zlib = xyes
; then
2879 use_included_zlib
=no
2880 noconfigdirs
="$noconfigdirs zlib"
2883 # some tools are so dependent upon X11 that if we're not building with X,
2884 # it's not even worth trying to configure, much less build, that tool.
2887 yes |
"") ;; # the default value for this tree is that X11 is available
2889 skipdirs
="${skipdirs} tk itcl libgui"
2890 # We won't be able to build gdbtk without X.
2893 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2896 # Some are only suitable for cross toolchains.
2897 # Remove these if host=target.
2898 cross_only
="target-libgloss target-newlib target-opcodes"
2900 case $is_cross_compiler in
2901 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2904 # If both --with-headers and --with-libs are specified, default to
2906 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2907 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2908 if test x
"${with_newlib}" = x
; then
2913 # Recognize --with-newlib/--without-newlib.
2914 case ${with_newlib} in
2915 no
) skipdirs
="${skipdirs} target-newlib" ;;
2916 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2919 # Check whether --enable-as-accelerator-for was given.
2920 if test "${enable_as_accelerator_for+set}" = set; then :
2921 enableval
=$enable_as_accelerator_for;
2925 # Check whether --enable-offload-targets was given.
2926 if test "${enable_offload_targets+set}" = set; then :
2927 enableval
=$enable_offload_targets;
2928 if test x
"$enable_offload_targets" = x
; then
2929 as_fn_error
"no offload targets specified" "$LINENO" 5
2933 enable_offload_targets
=
2937 # Handle --enable-gold, --enable-ld.
2938 # --disable-gold [--enable-ld]
2939 # Build only ld. Default option.
2940 # --enable-gold [--enable-ld]
2941 # Build both gold and ld. Install gold as "ld.gold", install ld
2942 # as "ld.bfd" and "ld".
2943 # --enable-gold=default [--enable-ld]
2944 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2945 # install ld as "ld.bfd".
2946 # --enable-gold[=default] --disable-ld
2947 # Build only gold, which is then installed as both "ld.gold" and "ld".
2948 # --enable-gold --enable-ld=default
2949 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2951 # In other words, ld is default
2952 # --enable-gold=default --enable-ld=default
2956 # Check whether --enable-gold was given.
2957 if test "${enable_gold+set}" = set; then :
2958 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2963 case "${ENABLE_GOLD}" in
2965 # Check for ELF target.
2968 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2969 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2970 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2971 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2973 *-*-linux*aout
* |
*-*-linux*oldld
*)
2981 if test "$is_elf" = "yes"; then
2982 # Check for target supported by gold.
2984 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2985 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2986 configdirs
="$configdirs gold"
2987 if test x
${ENABLE_GOLD} = xdefault
; then
2998 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3002 # Check whether --enable-ld was given.
3003 if test "${enable_ld+set}" = set; then :
3004 enableval
=$enable_ld; ENABLE_LD
=$enableval
3010 case "${ENABLE_LD}" in
3012 if test x
${default_ld} != x
; then
3013 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3019 if test x
${ENABLE_GOLD} != xyes
; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3021 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3023 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3026 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3031 # Decide the default method for compressing debug sections.
3032 # Provide a configure time option to override our default.
3033 # Check whether --enable-compressed_debug_sections was given.
3034 if test "${enable_compressed_debug_sections+set}" = set; then :
3035 enableval
=$enable_compressed_debug_sections;
3036 if test x
"$enable_compressed_debug_sections" = xyes
; then
3037 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3041 enable_compressed_debug_sections
=
3045 # Configure extra directories which are host specific
3049 configdirs
="$configdirs libtermcap" ;;
3052 # A target can indicate whether a language isn't supported for some reason.
3053 # Only spaces may be used in this macro; not newlines or tabs.
3054 unsupported_languages
=
3056 # Remove more programs from consideration, based on the host or
3057 # target this usually means that a port of the program doesn't
3061 i
[3456789]86-*-msdosdjgpp*)
3062 noconfigdirs
="$noconfigdirs tcl tk itcl"
3067 # Check whether --enable-libquadmath was given.
3068 if test "${enable_libquadmath+set}" = set; then :
3069 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3071 ENABLE_LIBQUADMATH
=yes
3074 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3075 noconfigdirs
="$noconfigdirs target-libquadmath"
3079 # Check whether --enable-libquadmath-support was given.
3080 if test "${enable_libquadmath_support+set}" = set; then :
3081 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3083 ENABLE_LIBQUADMATH_SUPPORT
=yes
3086 enable_libquadmath_support
=
3087 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3088 enable_libquadmath_support
=no
3092 # Check whether --enable-libada was given.
3093 if test "${enable_libada+set}" = set; then :
3094 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3099 if test "${ENABLE_LIBADA}" != "yes" ; then
3100 noconfigdirs
="$noconfigdirs gnattools"
3103 # Check whether --enable-libssp was given.
3104 if test "${enable_libssp+set}" = set; then :
3105 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3111 # Check whether --enable-libstdcxx was given.
3112 if test "${enable_libstdcxx+set}" = set; then :
3113 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3115 ENABLE_LIBSTDCXX
=default
3118 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3119 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3122 # If this is accelerator compiler and its target is intelmic we enable
3123 # target liboffloadmic by default. If this is compiler with offloading
3124 # for intelmic we enable host liboffloadmic by default. Otherwise
3125 # liboffloadmic is disabled by default.
3126 # Check whether --enable-liboffloadmic was given.
3127 if test "${enable_liboffloadmic+set}" = set; then :
3128 enableval
=$enable_liboffloadmic; case "$enableval" in
3130 enable_liboffloadmic
=$enableval ;;
3132 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3135 if test x
"$enable_as_accelerator_for" != x
; then
3137 *-intelmic-* |
*-intelmicemul-*)
3138 enable_liboffloadmic
=target
3139 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3142 enable_liboffloadmic
=no
3146 case "${enable_offload_targets}" in
3147 *-intelmic-* |
*-intelmicemul-*)
3148 enable_liboffloadmic
=host
3149 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3152 enable_liboffloadmic
=no
3160 # Enable libgomp by default on hosted POSIX systems, and a few others.
3161 if test x
$enable_libgomp = x
; then
3163 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3165 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3167 *-*-solaris2* |
*-*-hpux11*)
3169 *-*-darwin* |
*-*-aix*)
3174 noconfigdirs
="$noconfigdirs target-libgomp"
3179 # Disable libatomic on unsupported systems.
3180 if test -d ${srcdir}/libatomic
; then
3181 if test x
$enable_libatomic = x
; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3183 $as_echo_n "checking for libatomic support... " >&6; }
3184 if (srcdir
=${srcdir}/libatomic
; \
3185 .
${srcdir}/configure.tgt
; \
3186 test -n "$UNSUPPORTED")
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3190 noconfigdirs
="$noconfigdirs target-libatomic"
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3193 $as_echo "yes" >&6; }
3198 # Disable libcilkrts on unsupported systems.
3199 if test -d ${srcdir}/libcilkrts
; then
3200 if test x
$enable_libcilkrts = x
; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3202 $as_echo_n "checking for libcilkrts support... " >&6; }
3203 if (srcdir
=${srcdir}/libcilkrts
; \
3204 .
${srcdir}/configure.tgt
; \
3205 test -n "$UNSUPPORTED")
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3209 noconfigdirs
="$noconfigdirs target-libcilkrts"
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3212 $as_echo "yes" >&6; }
3217 # Disable liboffloadmic on unsupported systems.
3218 if test -d ${srcdir}/liboffloadmic
; then
3219 if test x
$enable_liboffloadmic != xno
; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3221 $as_echo_n "checking for liboffloadmic support... " >&6; }
3222 if (srcdir
=${srcdir}/liboffloadmic
; \
3223 .
${srcdir}/configure.tgt
; \
3224 test -n "$UNSUPPORTED")
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3228 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3231 $as_echo "yes" >&6; }
3236 # Disable libitm on unsupported systems.
3237 if test -d ${srcdir}/libitm
; then
3238 if test x
$enable_libitm = x
; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3240 $as_echo_n "checking for libitm support... " >&6; }
3241 if (srcdir
=${srcdir}/libitm
; \
3242 .
${srcdir}/configure.tgt
; \
3243 test -n "$UNSUPPORTED")
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3247 noconfigdirs
="$noconfigdirs target-libitm"
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3250 $as_echo "yes" >&6; }
3255 # Disable libsanitizer on unsupported systems.
3256 if test -d ${srcdir}/libsanitizer
; then
3257 if test x
$enable_libsanitizer = x
; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3259 $as_echo_n "checking for libsanitizer support... " >&6; }
3260 if (srcdir
=${srcdir}/libsanitizer
; \
3261 .
${srcdir}/configure.tgt
; \
3262 test -n "$UNSUPPORTED")
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3266 noconfigdirs
="$noconfigdirs target-libsanitizer"
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3269 $as_echo "yes" >&6; }
3274 # Disable libvtv on unsupported systems.
3275 if test -d ${srcdir}/libvtv
; then
3276 if test x
$enable_libvtv = x
; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3278 $as_echo_n "checking for libvtv support... " >&6; }
3279 if (srcdir
=${srcdir}/libvtv
; \
3280 .
${srcdir}/configure.tgt
; \
3281 test "$VTV_SUPPORTED" != "yes")
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3285 noconfigdirs
="$noconfigdirs target-libvtv"
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3288 $as_echo "yes" >&6; }
3294 # Enable libmpx on supported systems by request.
3295 if test -d ${srcdir}/libmpx
; then
3296 if test x
$enable_libmpx = x
; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3298 $as_echo_n "checking for libmpx support... " >&6; }
3299 if (srcdir
=${srcdir}/libmpx
; \
3300 .
${srcdir}/configure.tgt
; \
3301 test "$LIBMPX_SUPPORTED" != "yes")
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 noconfigdirs
="$noconfigdirs target-libmpx"
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3315 # Disable libquadmath for some systems.
3318 noconfigdirs
="$noconfigdirs target-libquadmath"
3320 # libquadmath is unused on AIX and libquadmath build process use of
3321 # LD_LIBRARY_PATH can break AIX bootstrap.
3322 powerpc-
*-aix* | rs6000-
*-aix*)
3323 noconfigdirs
="$noconfigdirs target-libquadmath"
3327 # Disable libssp for some systems.
3330 # No hosted I/O support.
3331 noconfigdirs
="$noconfigdirs target-libssp"
3333 powerpc-
*-aix* | rs6000-
*-aix*)
3334 noconfigdirs
="$noconfigdirs target-libssp"
3337 # libssp uses a misaligned load to trigger a fault, but the RL78
3338 # doesn't fault for those - instead, it gives a build-time error
3339 # for explicit misaligned loads.
3340 noconfigdirs
="$noconfigdirs target-libssp"
3343 # No hosted I/O support.
3344 noconfigdirs
="$noconfigdirs target-libssp"
3348 # Disable libstdc++-v3 for some systems.
3349 # Allow user to override this if they pass --enable-libstdc++-v3
3350 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3353 # VxWorks uses the Dinkumware C++ library.
3354 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3357 # the C++ libraries don't build on top of CE's C libraries
3358 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3361 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3364 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3369 # Disable Fortran for some systems.
3372 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3373 unsupported_languages
="$unsupported_languages fortran"
3377 # Disable libffi for some systems.
3381 i
[3456789]86-*-darwin*)
3383 x86_64-
*-darwin[912]*)
3386 noconfigdirs
="$noconfigdirs target-libffi"
3389 noconfigdirs
="$noconfigdirs target-libffi"
3392 noconfigdirs
="$noconfigdirs target-libffi"
3395 noconfigdirs
="$noconfigdirs target-libffi"
3398 noconfigdirs
="$noconfigdirs target-libffi"
3401 noconfigdirs
="$noconfigdirs target-libffi"
3404 noconfigdirs
="$noconfigdirs target-libffi"
3406 aarch64
*-*-freebsd*)
3407 noconfigdirs
="$noconfigdirs target-libffi"
3410 noconfigdirs
="$noconfigdirs target-libffi"
3413 noconfigdirs
="$noconfigdirs target-libffi"
3416 noconfigdirs
="$noconfigdirs target-libffi"
3419 noconfigdirs
="$noconfigdirs target-libffi"
3421 cris-
*-* | crisv32-
*-*)
3425 *) # See PR46792 regarding target-libffi.
3426 noconfigdirs
="$noconfigdirs target-libffi";;
3430 noconfigdirs
="$noconfigdirs target-libffi"
3435 noconfigdirs
="$noconfigdirs target-libffi"
3438 noconfigdirs
="$noconfigdirs target-libffi"
3440 i
[3456789]86-w64-mingw*)
3441 noconfigdirs
="$noconfigdirs target-libffi"
3443 i
[3456789]86-*-mingw*)
3444 noconfigdirs
="$noconfigdirs target-libffi"
3447 noconfigdirs
="$noconfigdirs target-libffi"
3450 noconfigdirs
="$noconfigdirs target-libffi"
3453 # copied from rs6000-*-* entry
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3460 noconfigdirs
="$noconfigdirs target-libffi"
3463 noconfigdirs
="$noconfigdirs target-libffi"
3467 # Disable the go frontend on systems where it is known to not work. Please keep
3468 # this in sync with contrib/config-list.mk.
3470 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3471 unsupported_languages
="$unsupported_languages go"
3475 # Disable libgo for some systems where it is known to not work.
3476 # For testing, you can easily override this with --enable-libgo.
3477 if test x
$enable_libgo = x
; then
3481 noconfigdirs
="$noconfigdirs target-libgo"
3483 *-*-cygwin* |
*-*-mingw*)
3484 noconfigdirs
="$noconfigdirs target-libgo"
3487 noconfigdirs
="$noconfigdirs target-libgo"
3492 # Default libgloss CPU subdirectory.
3493 libgloss_dir
="$target_cpu"
3496 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3500 libgloss_dir
=aarch64
3505 cris-
*-* | crisv32-
*-*)
3514 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3515 libgloss_dir
=m68hc11
3517 m68
*-*-* | fido-
*-*)
3531 # Disable newlib and libgloss for various target OSes.
3534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3536 i
[3456789]86-*-linux*)
3537 # This section makes it possible to build newlib natively on linux.
3538 # If we are using a cross compiler then don't configure newlib.
3539 if test x
${is_cross_compiler} != xno
; then
3540 noconfigdirs
="$noconfigdirs target-newlib"
3542 noconfigdirs
="$noconfigdirs target-libgloss"
3543 # If we are not using a cross compiler, do configure newlib.
3544 # Note however, that newlib will only be configured in this situation
3545 # if the --with-newlib option has been given, because otherwise
3546 # 'target-newlib' will appear in skipdirs.
3548 i
[3456789]86-*-rdos*)
3549 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3551 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3552 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3555 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3558 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3561 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3564 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3567 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3570 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3572 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3576 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3582 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3602 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3603 noconfigdirs
="$noconfigdirs sim target-rda"
3606 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3607 noconfigdirs
="$noconfigdirs sim target-rda"
3610 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3611 noconfigdirs
="$noconfigdirs sim target-rda"
3613 i
[3456789]86-*-darwin*)
3614 noconfigdirs
="$noconfigdirs ld gprof"
3615 noconfigdirs
="$noconfigdirs sim target-rda"
3617 x86_64-
*-darwin[912]*)
3618 noconfigdirs
="$noconfigdirs ld gas gprof"
3619 noconfigdirs
="$noconfigdirs sim target-rda"
3622 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3623 noconfigdirs
="$noconfigdirs sim target-rda"
3628 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3629 && test -f /usr
/local
/include
/gmp.h
; then
3634 # Remove unsupported stuff on all kaOS configurations.
3635 noconfigdirs
="$noconfigdirs target-libgloss"
3642 noconfigdirs
="$noconfigdirs target-libgloss"
3645 noconfigdirs
="$noconfigdirs target-libgloss"
3646 # this is not caught below because this stanza matches earlier
3648 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3651 # The tpf target doesn't support gdb yet.
3653 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3656 noconfigdirs
="$noconfigdirs target-rda"
3661 # ld works, but does not support shared libraries.
3662 # gas doesn't generate exception information.
3663 noconfigdirs
="$noconfigdirs gas ld"
3666 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3669 # newlib is not 64 bit ready
3670 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3672 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3673 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3676 noconfigdirs
="$noconfigdirs sim"
3679 noconfigdirs
="$noconfigdirs target-libgloss"
3682 noconfigdirs
="$noconfigdirs ld target-libgloss"
3685 if test x
${with_avrlibc} != xno
; then
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 c4x-
*-* | tic4x-
*-*)
3690 noconfigdirs
="$noconfigdirs target-libgloss"
3693 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3696 noconfigdirs
="$noconfigdirs target-libgloss"
3699 noconfigdirs
="$noconfigdirs gdb"
3702 noconfigdirs
="$noconfigdirs gdb"
3705 noconfigdirs
="$noconfigdirs target-rda gprof"
3708 noconfigdirs
="$noconfigdirs"
3711 noconfigdirs
="$noconfigdirs target-libgloss"
3714 noconfigdirs
="$noconfigdirs target-libgloss"
3716 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3719 noconfigdirs
="$noconfigdirs gdb"
3722 noconfigdirs
="$noconfigdirs gdb ld"
3730 hppa
*-*-openbsd* | \
3736 noconfigdirs
="$noconfigdirs ld"
3739 noconfigdirs
="$noconfigdirs gdb"
3742 # No gdb support yet.
3743 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3746 # No ld support yet.
3747 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3750 # No ld support yet.
3751 noconfigdirs
="$noconfigdirs libgui itcl ld"
3753 i
[3456789]86-w64-mingw*)
3755 i
[3456789]86-*-mingw*)
3756 target_configdirs
="$target_configdirs target-winsup"
3759 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3760 noconfigdirs
="$noconfigdirs target-libgloss"
3761 # always build newlib if winsup directory is present.
3762 if test -d "$srcdir/winsup/cygwin"; then
3763 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3764 elif test -d "$srcdir/newlib"; then
3765 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3771 i
[3456789]86-*-sco3.2v5
*)
3772 # The linker does not yet know about weak symbols in COFF,
3773 # and is not configured to handle mixed ELF and COFF.
3774 noconfigdirs
="$noconfigdirs ld target-libgloss"
3776 i
[3456789]86-*-sco*)
3777 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3779 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3780 noconfigdirs
="$noconfigdirs target-libgloss"
3782 i
[3456789]86-*-sysv4*)
3783 noconfigdirs
="$noconfigdirs target-libgloss"
3785 i
[3456789]86-*-beos*)
3786 noconfigdirs
="$noconfigdirs gdb"
3788 i
[3456789]86-*-rdos*)
3789 noconfigdirs
="$noconfigdirs gdb"
3792 noconfigdirs
="$noconfigdirs gdb"
3795 noconfigdirs
="$noconfigdirs sim"
3798 # copied from rs6000-*-* entry
3799 noconfigdirs
="$noconfigdirs gprof"
3801 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3802 target_configdirs
="$target_configdirs target-winsup"
3803 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3804 # always build newlib.
3805 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3807 # This is temporary until we can link against shared libraries
3808 powerpcle-
*-solaris*)
3809 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3812 noconfigdirs
="$noconfigdirs gdb"
3815 noconfigdirs
="$noconfigdirs gprof"
3818 noconfigdirs
="$noconfigdirs gprof"
3821 noconfigdirs
="$noconfigdirs gprof"
3824 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3827 noconfigdirs
="$noconfigdirs gprof"
3829 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3830 if test x
$with_newlib = xyes
; then
3831 noconfigdirs
="$noconfigdirs gprof"
3835 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3838 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3841 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3845 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3846 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3847 noconfigdirs
="$noconfigdirs ld gas gprof"
3850 noconfigdirs
="$noconfigdirs gprof"
3853 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3856 noconfigdirs
="$noconfigdirs gdb"
3863 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3867 if test x
${is_cross_compiler} = xno
; then
3872 noconfigdirs
="$noconfigdirs sim"
3874 tilepro
*-*-* | tilegx
*-*-*)
3875 noconfigdirs
="$noconfigdirs sim"
3878 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3881 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3885 # If we aren't building newlib, then don't build libgloss, since libgloss
3886 # depends upon some newlib header files.
3887 case "${noconfigdirs}" in
3888 *target-libgloss
*) ;;
3889 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3892 # Work in distributions that contain no compiler tools, like Autoconf.
3893 host_makefile_frag
=/dev
/null
3894 if test -d ${srcdir}/config
; then
3896 i
[3456789]86-*-msdosdjgpp*)
3897 host_makefile_frag
="config/mh-djgpp"
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3902 $as_echo_n "checking to see if cat works as expected... " >&6; }
3903 echo a
>cygwin-cat-check
3904 if test `cat cygwin-cat-check` = a
; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3907 $as_echo "yes" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3912 as_fn_error
"The cat command does not ignore carriage return characters.
3913 Please either mount the build directory in binary mode or run the following
3914 commands before running any configure script:
3920 host_makefile_frag
="config/mh-cygwin"
3923 host_makefile_frag
="config/mh-mingw"
3926 host_makefile_frag
="config/mh-alpha-linux"
3929 host_makefile_frag
="config/mh-pa-hpux10"
3932 host_makefile_frag
="config/mh-pa"
3935 host_makefile_frag
="config/mh-pa"
3938 host_makefile_frag
="config/mh-darwin"
3941 host_makefile_frag
="config/mh-ppc-aix"
3944 host_makefile_frag
="config/mh-ppc-aix"
3949 if test "${build}" != "${host}" ; then
3950 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3951 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3952 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3953 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3954 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3955 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3956 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3957 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3958 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3959 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3960 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3961 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3963 AR_FOR_BUILD
="\$(AR)"
3964 AS_FOR_BUILD
="\$(AS)"
3965 CC_FOR_BUILD
="\$(CC)"
3966 CXX_FOR_BUILD
="\$(CXX)"
3967 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3968 GOC_FOR_BUILD
="\$(GOC)"
3969 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3970 LD_FOR_BUILD
="\$(LD)"
3971 NM_FOR_BUILD
="\$(NM)"
3972 RANLIB_FOR_BUILD
="\$(RANLIB)"
3973 WINDRES_FOR_BUILD
="\$(WINDRES)"
3974 WINDMC_FOR_BUILD
="\$(WINDMC)"
3978 ac_cpp
='$CPP $CPPFLAGS'
3979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3984 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if test "${ac_cv_prog_CC+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$CC"; then
3991 ac_cv_prog_CC
="$CC" # Let the user override the test.
3993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir
=.
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 if test -n "$CC"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4013 $as_echo "$CC" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4021 if test -z "$ac_cv_prog_CC"; then
4023 # Extract the first word of "gcc", so it can be a program name with args.
4024 set dummy gcc
; ac_word
=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4028 $as_echo_n "(cached) " >&6
4030 if test -n "$ac_ct_CC"; then
4031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir
=.
4038 for ac_exec_ext
in '' $ac_executable_extensions; do
4039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4040 ac_cv_prog_ac_ct_CC
="gcc"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4051 if test -n "$ac_ct_CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4053 $as_echo "$ac_ct_CC" >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4059 if test "x$ac_ct_CC" = x
; then
4062 case $cross_compiling:$ac_tool_warned in
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4066 ac_tool_warned
=yes ;;
4074 if test -z "$CC"; then
4075 if test -n "$ac_tool_prefix"; then
4076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4077 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if test "${ac_cv_prog_CC+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -n "$CC"; then
4084 ac_cv_prog_CC
="$CC" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 if test -n "$CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4106 $as_echo "$CC" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4115 if test -z "$CC"; then
4116 # Extract the first word of "cc", so it can be a program name with args.
4117 set dummy cc
; ac_word
=$2
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119 $as_echo_n "checking for $ac_word... " >&6; }
4120 if test "${ac_cv_prog_CC+set}" = set; then :
4121 $as_echo_n "(cached) " >&6
4123 if test -n "$CC"; then
4124 ac_cv_prog_CC
="$CC" # Let the user override the test.
4127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir
=.
4132 for ac_exec_ext
in '' $ac_executable_extensions; do
4133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4135 ac_prog_rejected
=yes
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 if test $ac_prog_rejected = yes; then
4147 # We found a bogon in the path, so make sure we never use it.
4148 set dummy
$ac_cv_prog_CC
4150 if test $# != 0; then
4151 # We chose a different compiler from the bogus one.
4152 # However, it has the same basename, so the bogon will be chosen
4153 # first if we set CC to just the basename; use the full file name.
4155 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4161 if test -n "$CC"; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4163 $as_echo "$CC" >&6; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4171 if test -z "$CC"; then
4172 if test -n "$ac_tool_prefix"; then
4173 for ac_prog
in cl.exe
4175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4176 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4178 $as_echo_n "checking for $ac_word... " >&6; }
4179 if test "${ac_cv_prog_CC+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4182 if test -n "$CC"; then
4183 ac_cv_prog_CC
="$CC" # Let the user override the test.
4185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir
=.
4190 for ac_exec_ext
in '' $ac_executable_extensions; do
4191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 if test -n "$CC"; then
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4205 $as_echo "$CC" >&6; }
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4208 $as_echo "no" >&6; }
4212 test -n "$CC" && break
4215 if test -z "$CC"; then
4217 for ac_prog
in cl.exe
4219 # Extract the first word of "$ac_prog", so it can be a program name with args.
4220 set dummy
$ac_prog; ac_word
=$2
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4222 $as_echo_n "checking for $ac_word... " >&6; }
4223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4226 if test -n "$ac_ct_CC"; then
4227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir
=.
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4236 ac_cv_prog_ac_ct_CC
="$ac_prog"
4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4247 if test -n "$ac_ct_CC"; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4249 $as_echo "$ac_ct_CC" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4256 test -n "$ac_ct_CC" && break
4259 if test "x$ac_ct_CC" = x
; then
4262 case $cross_compiling:$ac_tool_warned in
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4266 ac_tool_warned
=yes ;;
4275 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4277 as_fn_error
"no acceptable C compiler found in \$PATH
4278 See \`config.log' for more details." "$LINENO" 5; }
4280 # Provide some information about the compiler.
4281 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4284 for ac_option
in --version -v -V -qversion; do
4285 { { ac_try
="$ac_compiler $ac_option >&5"
4287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4294 if test -s conftest.err; then
4296 ... rest of stderr output deleted ...
4297 10q' conftest.err >conftest.er1
4298 cat conftest.er1 >&5
4299 rm -f conftest.er1 conftest.err
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4316 ac_clean_files_save=$ac_clean_files
4317 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4318 # Try to create an executable without -o first, disregard a.out.
4319 # It will help us diagnose broken compilers, and finding out an intuition
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4322 $as_echo_n "checking for C compiler default output file name... " >&6; }
4323 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4325 # The possible output files:
4326 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4329 for ac_file in $ac_files
4332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4333 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4338 if { { ac_try="$ac_link_default"
4340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4341 *) ac_try_echo
=$ac_try;;
4343 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4344 $as_echo "$ac_try_echo"; } >&5
4345 (eval "$ac_link_default") 2>&5
4347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4348 test $ac_status = 0; }; then :
4349 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4350 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4351 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4352 # so that the user can short-circuit this test for compilers unknown to
4354 for ac_file
in $ac_files ''
4356 test -f "$ac_file" ||
continue
4358 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4361 # We found the default executable, but exeext='' is most
4365 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4367 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4369 # We set ac_cv_exeext here because the later test for it is not
4370 # safe: cross compilers may not add the suffix if given an `-o'
4371 # argument, so we may need to know it at that point already.
4372 # Even if this section looks crufty: it has the advantage of
4379 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4385 $as_echo "$ac_file" >&6; }
4386 if test -z "$ac_file"; then :
4387 $as_echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.
$ac_ext >&5
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 { as_fn_set_status
77
4393 as_fn_error
"C compiler cannot create executables
4394 See \`config.log' for more details." "$LINENO" 5; }; }
4396 ac_exeext
=$ac_cv_exeext
4398 # Check that the compiler produces executables we can run. If not, either
4399 # the compiler is broken, or we cross compile.
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4401 $as_echo_n "checking whether the C compiler works... " >&6; }
4402 # If not cross compiling, check that we can run a simple program.
4403 if test "$cross_compiling" != yes; then
4404 if { ac_try
='./$ac_file'
4405 { { case "(($ac_try" in
4406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4407 *) ac_try_echo=$ac_try;;
4409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_try") 2>&5
4413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4414 test $ac_status = 0; }; }; then
4417 if test "$cross_compiling" = maybe; then
4420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error "cannot run C compiled programs.
4423 If you meant to cross compile
, use \
`--host'.
4424 See \`config.log
' for more details." "$LINENO" 5; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4429 $as_echo "yes" >&6; }
4431 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4432 ac_clean_files=$ac_clean_files_save
4433 # Check that the compiler produces executables we can run. If not, either
4434 # the compiler is broken, or we cross compile.
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4436 $as_echo_n "checking whether we are cross compiling... " >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4438 $as_echo "$cross_compiling" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4441 $as_echo_n "checking for suffix of executables... " >&6; }
4442 if { { ac_try="$ac_link"
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4448 $as_echo "$ac_try_echo"; } >&5
4449 (eval "$ac_link") 2>&5
4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4452 test $ac_status = 0; }; then :
4453 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4454 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4455 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4457 for ac_file
in conftest.exe conftest conftest.
*; do
4458 test -f "$ac_file" ||
continue
4460 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4461 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4469 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4470 See \`config.log' for more details." "$LINENO" 5; }
4472 rm -f conftest
$ac_cv_exeext
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4474 $as_echo "$ac_cv_exeext" >&6; }
4476 rm -f conftest.
$ac_ext
4477 EXEEXT
=$ac_cv_exeext
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4480 $as_echo_n "checking for suffix of object files... " >&6; }
4481 if test "${ac_cv_objext+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4495 rm -f conftest.o conftest.obj
4496 if { { ac_try
="$ac_compile"
4498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4502 $as_echo "$ac_try_echo"; } >&5
4503 (eval "$ac_compile") 2>&5
4505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4506 test $ac_status = 0; }; then :
4507 for ac_file in conftest.o conftest.obj conftest.*; do
4508 test -f "$ac_file" || continue;
4510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4511 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4516 $as_echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.$ac_ext >&5
4519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4521 as_fn_error "cannot compute suffix of object files
: cannot compile
4522 See \
`config.log' for more details." "$LINENO" 5; }
4524 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4527 $as_echo "$ac_cv_objext" >&6; }
4528 OBJEXT=$ac_cv_objext
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4531 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4532 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4549 if ac_fn_c_try_compile "$LINENO"; then :
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4559 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4560 if test $ac_compiler_gnu = yes; then
4565 ac_test_CFLAGS=${CFLAGS+set}
4566 ac_save_CFLAGS=$CFLAGS
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4568 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4569 if test "${ac_cv_prog_cc_g+set}" = set; then :
4570 $as_echo_n "(cached) " >&6
4572 ac_save_c_werror_flag=$ac_c_werror_flag
4573 ac_c_werror_flag=yes
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 if ac_fn_c_try_compile "$LINENO"; then :
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4602 if ac_fn_c_try_compile "$LINENO"; then :
4605 ac_c_werror_flag=$ac_save_c_werror_flag
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4618 if ac_fn_c_try_compile "$LINENO"; then :
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 ac_c_werror_flag=$ac_save_c_werror_flag
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4629 $as_echo "$ac_cv_prog_cc_g" >&6; }
4630 if test "$ac_test_CFLAGS" = set; then
4631 CFLAGS=$ac_save_CFLAGS
4632 elif test $ac_cv_prog_cc_g = yes; then
4633 if test "$GCC" = yes; then
4639 if test "$GCC" = yes; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4646 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4647 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4648 $as_echo_n "(cached) " >&6
4650 ac_cv_prog_cc_c89=no
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 #include <sys/types.h>
4657 #include <sys/stat.h>
4658 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4659 struct buf { int x; };
4660 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4661 static char *e (p, i)
4667 static char *f (char * (*g) (char **, int), char **p, ...)
4672 s = g (p, va_arg (v,int));
4677 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4678 function prototypes and stuff, but not '\xHH' hex character constants.
4679 These don't provoke an error unfortunately, instead are silently treated
4680 as 'x'. The following induces an error, until -std is added to get
4681 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4682 array size at least. It's necessary to write '\x00'==0 to get something
4683 that's true only with -std. */
4684 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4686 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4687 inside strings and character constants. */
4689 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4691 int test (int i, double x);
4692 struct s1 {int (*f) (int a);};
4693 struct s2 {int (*f) (double a);};
4694 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4700 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4705 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4706 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4708 CC="$ac_save_CC $ac_arg"
4709 if ac_fn_c_try_compile "$LINENO"; then :
4710 ac_cv_prog_cc_c89=$ac_arg
4712 rm -f core conftest.err conftest.$ac_objext
4713 test "x$ac_cv_prog_cc_c89" != "xno" && break
4715 rm -f conftest.$ac_ext
4720 case "x$ac_cv_prog_cc_c89" in
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4723 $as_echo "none needed" >&6; } ;;
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4726 $as_echo "unsupported" >&6; } ;;
4728 CC="$CC $ac_cv_prog_cc_c89"
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4730 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4732 if test "x$ac_cv_prog_cc_c89" != xno; then :
4737 ac_cpp='$CPP $CPPFLAGS'
4738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743 ac_cpp='$CXXCPP $CPPFLAGS'
4744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4747 if test -z "$CXX"; then
4748 if test -n "$CCC"; then
4751 if test -n "$ac_tool_prefix"; then
4752 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if test "${ac_cv_prog_CXX+set}" = set; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$CXX"; then
4762 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4771 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 if test -n "$CXX"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4784 $as_echo "$CXX" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4791 test -n "$CXX" && break
4794 if test -z "$CXX"; then
4796 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy $ac_prog; ac_word=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -n "$ac_ct_CXX"; then
4806 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4815 ac_cv_prog_ac_ct_CXX="$ac_prog"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4826 if test -n "$ac_ct_CXX"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4828 $as_echo "$ac_ct_CXX" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4835 test -n "$ac_ct_CXX" && break
4838 if test "x$ac_ct_CXX" = x; then
4841 case $cross_compiling:$ac_tool_warned in
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4845 ac_tool_warned=yes ;;
4853 # Provide some information about the compiler.
4854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4857 for ac_option in --version -v -V -qversion; do
4858 { { ac_try="$ac_compiler $ac_option >&5"
4860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4861 *) ac_try_echo
=$ac_try;;
4863 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4864 $as_echo "$ac_try_echo"; } >&5
4865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4867 if test -s conftest.err
; then
4869 ... rest of stderr output deleted ...
4870 10q' conftest.err
>conftest.er1
4871 cat conftest.er1
>&5
4872 rm -f conftest.er1 conftest.err
4874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4875 test $ac_status = 0; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4879 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4880 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4881 $as_echo_n "(cached) " >&6
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4897 if ac_fn_cxx_try_compile
"$LINENO"; then :
4902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4903 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4907 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4908 if test $ac_compiler_gnu = yes; then
4913 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4914 ac_save_CXXFLAGS
=$CXXFLAGS
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4916 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4917 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4918 $as_echo_n "(cached) " >&6
4920 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4921 ac_cxx_werror_flag
=yes
4924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4935 if ac_fn_cxx_try_compile
"$LINENO"; then :
4936 ac_cv_prog_cxx_g
=yes
4939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4950 if ac_fn_cxx_try_compile
"$LINENO"; then :
4953 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4966 if ac_fn_cxx_try_compile
"$LINENO"; then :
4967 ac_cv_prog_cxx_g
=yes
4969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4974 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4977 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4978 if test "$ac_test_CXXFLAGS" = set; then
4979 CXXFLAGS
=$ac_save_CXXFLAGS
4980 elif test $ac_cv_prog_cxx_g = yes; then
4981 if test "$GXX" = yes; then
4987 if test "$GXX" = yes; then
4994 ac_cpp
='$CPP $CPPFLAGS'
4995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5000 # We must set the default linker to the linker used by gcc for the correct
5001 # operation of libtool. If LD is not defined and we are using gcc, try to
5002 # set the LD default to the ld used by gcc.
5003 if test -z "$LD"; then
5004 if test "$GCC" = yes; then
5007 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5009 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5011 case $gcc_prog_ld in
5012 # Accept absolute paths.
5013 [\\/]* |
[A-Za-z
]:[\\/]*)
5014 LD
="$gcc_prog_ld" ;;
5019 # Check whether -static-libstdc++ -static-libgcc is supported.
5021 if test "$GCC" = yes; then
5022 saved_LDFLAGS
="$LDFLAGS"
5024 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5026 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5028 ac_cpp
='$CXXCPP $CPPFLAGS'
5029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5037 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5038 #error -static-libstdc++ not implemented
5042 if ac_fn_cxx_try_link
"$LINENO"; then :
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5044 $as_echo "yes" >&6; }; have_static_libs
=yes
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5049 rm -f core conftest.err conftest.
$ac_objext \
5050 conftest
$ac_exeext conftest.
$ac_ext
5052 ac_cpp
='$CPP $CPPFLAGS'
5053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5058 LDFLAGS
="$saved_LDFLAGS"
5064 if test -n "$ac_tool_prefix"; then
5065 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5066 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$GNATBIND"; then
5073 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 GNATBIND
=$ac_cv_prog_GNATBIND
5093 if test -n "$GNATBIND"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5095 $as_echo "$GNATBIND" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5103 if test -z "$ac_cv_prog_GNATBIND"; then
5104 ac_ct_GNATBIND
=$GNATBIND
5105 # Extract the first word of "gnatbind", so it can be a program name with args.
5106 set dummy gnatbind
; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$ac_ct_GNATBIND"; then
5113 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5133 if test -n "$ac_ct_GNATBIND"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5135 $as_echo "$ac_ct_GNATBIND" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5141 if test "x$ac_ct_GNATBIND" = x
; then
5144 case $cross_compiling:$ac_tool_warned in
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5148 ac_tool_warned
=yes ;;
5150 GNATBIND
=$ac_ct_GNATBIND
5153 GNATBIND
="$ac_cv_prog_GNATBIND"
5156 if test -n "$ac_tool_prefix"; then
5157 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5158 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5162 $as_echo_n "(cached) " >&6
5164 if test -n "$GNATMAKE"; then
5165 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 GNATMAKE
=$ac_cv_prog_GNATMAKE
5185 if test -n "$GNATMAKE"; then
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5187 $as_echo "$GNATMAKE" >&6; }
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5195 if test -z "$ac_cv_prog_GNATMAKE"; then
5196 ac_ct_GNATMAKE
=$GNATMAKE
5197 # Extract the first word of "gnatmake", so it can be a program name with args.
5198 set dummy gnatmake
; ac_word
=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5204 if test -n "$ac_ct_GNATMAKE"; then
5205 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5225 if test -n "$ac_ct_GNATMAKE"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5227 $as_echo "$ac_ct_GNATMAKE" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5233 if test "x$ac_ct_GNATMAKE" = x
; then
5236 case $cross_compiling:$ac_tool_warned in
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned
=yes ;;
5242 GNATMAKE
=$ac_ct_GNATMAKE
5245 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5249 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5250 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5251 $as_echo_n "(cached) " >&6
5253 cat >conftest.adb
<<EOF
5254 procedure conftest is begin null; end conftest;
5256 acx_cv_cc_gcc_supports_ada
=no
5257 # There is a bug in old released versions of GCC which causes the
5258 # driver to exit successfully when the appropriate language module
5259 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5260 # Therefore we must check for the error message as well as an
5261 # unsuccessful exit.
5262 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5263 # given a .adb file, but produce no object file. So we must check
5264 # if an object file was really produced to guard against this.
5265 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5266 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5267 acx_cv_cc_gcc_supports_ada
=yes
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5272 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5274 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5281 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5282 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5287 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5288 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5289 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5292 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5295 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5296 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5299 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5306 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5307 do_compare
="$gcc_cv_prog_cmp_skip"
5311 # Check whether --enable-bootstrap was given.
5312 if test "${enable_bootstrap+set}" = set; then :
5313 enableval
=$enable_bootstrap;
5315 enable_bootstrap
=default
5319 # Issue errors and warnings for invalid/strange bootstrap combinations.
5320 if test -r $srcdir/gcc
/configure
; then
5326 case "$have_compiler:$host:$target:$enable_bootstrap" in
5329 # Default behavior. Enable bootstrap if we have a compiler
5330 # and we are in a native configuration.
5331 yes:$build:$build:default
)
5332 enable_bootstrap
=yes ;;
5335 enable_bootstrap
=no
;;
5337 # We have a compiler and we are in a native configuration, bootstrap is ok
5338 yes:$build:$build:yes)
5341 # Other configurations, but we have a compiler. Assume the user knows
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5345 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5348 # No compiler: if they passed --enable-bootstrap explicitly, fail
5350 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5352 # Fail if wrong command line
5354 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5358 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5359 # C++98 compiler can still start the bootstrap.
5360 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5361 CXX
="$CXX -std=gnu++98"
5364 # Used for setting $lt_cv_objdir
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5366 $as_echo_n "checking for objdir... " >&6; }
5367 if test "${lt_cv_objdir+set}" = set; then :
5368 $as_echo_n "(cached) " >&6
5370 rm -f .libs
2>/dev
/null
5371 mkdir .libs
2>/dev
/null
5372 if test -d .libs
; then
5375 # MS-DOS does not allow filenames that begin with a dot.
5378 rmdir .libs
2>/dev
/null
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5381 $as_echo "$lt_cv_objdir" >&6; }
5382 objdir
=$lt_cv_objdir
5388 cat >>confdefs.h
<<_ACEOF
5389 #define LT_OBJDIR "$lt_cv_objdir/"
5394 # Check for GMP, MPFR and MPC
5395 gmplibs
="-lmpc -lmpfr -lgmp"
5399 # Specify a location for mpc
5400 # check for this first so it ends up on the link line before mpfr.
5402 # Check whether --with-mpc was given.
5403 if test "${with_mpc+set}" = set; then :
5408 # Check whether --with-mpc-include was given.
5409 if test "${with_mpc_include+set}" = set; then :
5410 withval
=$with_mpc_include;
5414 # Check whether --with-mpc-lib was given.
5415 if test "${with_mpc_lib+set}" = set; then :
5416 withval
=$with_mpc_lib;
5420 if test "x$with_mpc" != x
; then
5421 gmplibs
="-L$with_mpc/lib $gmplibs"
5422 gmpinc
="-I$with_mpc/include $gmpinc"
5424 if test "x$with_mpc_include" != x
; then
5425 gmpinc
="-I$with_mpc_include $gmpinc"
5427 if test "x$with_mpc_lib" != x
; then
5428 gmplibs
="-L$with_mpc_lib $gmplibs"
5430 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5431 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5432 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5433 # Do not test the mpc version. Assume that it is sufficient, since
5434 # it is in the source tree, and the library has not been built yet
5435 # but it would be included on the link line in the version check below
5436 # hence making the test fail.
5440 # Specify a location for mpfr
5441 # check for this first so it ends up on the link line before gmp.
5443 # Check whether --with-mpfr-dir was given.
5444 if test "${with_mpfr_dir+set}" = set; then :
5445 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5446 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5451 # Check whether --with-mpfr was given.
5452 if test "${with_mpfr+set}" = set; then :
5457 # Check whether --with-mpfr-include was given.
5458 if test "${with_mpfr_include+set}" = set; then :
5459 withval
=$with_mpfr_include;
5463 # Check whether --with-mpfr-lib was given.
5464 if test "${with_mpfr_lib+set}" = set; then :
5465 withval
=$with_mpfr_lib;
5469 if test "x$with_mpfr" != x
; then
5470 gmplibs
="-L$with_mpfr/lib $gmplibs"
5471 gmpinc
="-I$with_mpfr/include $gmpinc"
5473 if test "x$with_mpfr_include" != x
; then
5474 gmpinc
="-I$with_mpfr_include $gmpinc"
5476 if test "x$with_mpfr_lib" != x
; then
5477 gmplibs
="-L$with_mpfr_lib $gmplibs"
5479 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5480 # MPFR v3.1.0 moved the sources into a src sub-directory.
5481 if ! test -d ${srcdir}/mpfr
/src
; then
5482 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5484 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5485 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5486 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5487 # Do not test the mpfr version. Assume that it is sufficient, since
5488 # it is in the source tree, and the library has not been built yet
5489 # but it would be included on the link line in the version check below
5490 # hence making the test fail.
5494 # Specify a location for gmp
5496 # Check whether --with-gmp-dir was given.
5497 if test "${with_gmp_dir+set}" = set; then :
5498 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5499 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5504 # Check whether --with-gmp was given.
5505 if test "${with_gmp+set}" = set; then :
5510 # Check whether --with-gmp-include was given.
5511 if test "${with_gmp_include+set}" = set; then :
5512 withval
=$with_gmp_include;
5516 # Check whether --with-gmp-lib was given.
5517 if test "${with_gmp_lib+set}" = set; then :
5518 withval
=$with_gmp_lib;
5523 if test "x$with_gmp" != x
; then
5524 gmplibs
="-L$with_gmp/lib $gmplibs"
5525 gmpinc
="-I$with_gmp/include $gmpinc"
5527 if test "x$with_gmp_include" != x
; then
5528 gmpinc
="-I$with_gmp_include $gmpinc"
5530 if test "x$with_gmp_lib" != x
; then
5531 gmplibs
="-L$with_gmp_lib $gmplibs"
5533 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5534 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5535 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5536 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5537 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5538 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5539 # Do not test the gmp version. Assume that it is sufficient, since
5540 # it is in the source tree, and the library has not been built yet
5541 # but it would be included on the link line in the version check below
5542 # hence making the test fail.
5546 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5548 saved_CFLAGS
="$CFLAGS"
5549 CFLAGS
="$CFLAGS $gmpinc"
5550 # Check for the recommended and required versions of GMP.
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5552 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5561 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5562 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5563 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5571 if ac_fn_c_try_compile
"$LINENO"; then :
5572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5579 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5580 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5581 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5589 if ac_fn_c_try_compile
"$LINENO"; then :
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5591 $as_echo "yes" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5594 $as_echo "buggy but acceptable" >&6; }
5596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }; have_gmp
=no
5601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5603 # If we have GMP, check the MPFR version.
5604 if test x
"$have_gmp" = xyes
; then
5605 # Check for the recommended and required versions of MPFR.
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5607 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5616 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5624 if ac_fn_c_try_compile
"$LINENO"; then :
5625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5633 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5641 if ac_fn_c_try_compile
"$LINENO"; then :
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5643 $as_echo "yes" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5646 $as_echo "buggy but acceptable" >&6; }
5648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651 $as_echo "no" >&6; }; have_gmp
=no
5653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 # Check for the MPC header version.
5657 if test x
"$have_gmp" = xyes
; then
5658 # Check for the recommended and required versions of MPC.
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5660 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5668 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5684 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5692 if ac_fn_c_try_compile
"$LINENO"; then :
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5694 $as_echo "yes" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5697 $as_echo "buggy but acceptable" >&6; }
5699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 $as_echo "no" >&6; }; have_gmp
=no
5704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5707 # Now check the MPFR library.
5708 if test x
"$have_gmp" = xyes
; then
5710 LIBS
="$LIBS $gmplibs"
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5712 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5726 mpfr_atan2 (n, n, x, GMP_RNDN);
5727 mpfr_erfc (n, x, GMP_RNDN);
5728 mpfr_subnormalize (x, t, GMP_RNDN);
5732 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5733 mpc_cosh (c, c, MPC_RNDNN);
5734 mpc_pow (c, c, c, MPC_RNDNN);
5735 mpc_acosh (c, c, MPC_RNDNN);
5742 if ac_fn_c_try_link
"$LINENO"; then :
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5744 $as_echo "yes" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }; have_gmp
=no
5749 rm -f core conftest.err conftest.
$ac_objext \
5750 conftest
$ac_exeext conftest.
$ac_ext
5754 CFLAGS
="$saved_CFLAGS"
5756 # The library versions listed in the error message below should match
5757 # the HARD-minimums enforced above.
5758 if test x
$have_gmp != xyes
; then
5759 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5760 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5761 their locations. Source code for these libraries can be found at
5762 their respective hosting sites as well as at
5763 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5764 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5765 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5766 make sure that you have installed both the libraries and the header
5767 files. They may be located in separate packages." "$LINENO" 5
5771 # Flags needed for both GMP, MPFR and/or MPC.
5779 # Libraries to use for stage1 or when not bootstrapping.
5781 # Check whether --with-stage1-libs was given.
5782 if test "${with_stage1_libs+set}" = set; then :
5783 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5786 stage1_libs
=$withval
5794 # Linker flags to use for stage1 or when not bootstrapping.
5796 # Check whether --with-stage1-ldflags was given.
5797 if test "${with_stage1_ldflags+set}" = set; then :
5798 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5801 stage1_ldflags
=$withval
5805 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5806 # if supported. But if the user explicitly specified the libraries to use,
5807 # trust that they are doing what they want.
5808 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5809 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5815 # Libraries to use for stage2 and later builds.
5817 # Check whether --with-boot-libs was given.
5818 if test "${with_boot_libs+set}" = set; then :
5819 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5822 poststage1_libs
=$withval
5830 # Linker flags to use for stage2 and later builds.
5832 # Check whether --with-boot-ldflags was given.
5833 if test "${with_boot_ldflags+set}" = set; then :
5834 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5837 poststage1_ldflags
=$withval
5841 # In stages 2 and 3, default to linking libstdc++ and libgcc
5842 # statically. But if the user explicitly specified the libraries to
5843 # use, trust that they are doing what they want.
5844 if test "$poststage1_libs" = ""; then
5845 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5851 # GCC GRAPHITE dependency isl.
5852 # Basic setup is inlined here, actual checks are in config/isl.m4
5855 # Check whether --with-isl was given.
5856 if test "${with_isl+set}" = set; then :
5861 # Treat --without-isl as a request to disable
5862 # GRAPHITE support and skip all following checks.
5863 if test "x$with_isl" != "xno"; then
5867 # Check whether --with-isl-include was given.
5868 if test "${with_isl_include+set}" = set; then :
5869 withval
=$with_isl_include;
5873 # Check whether --with-isl-lib was given.
5874 if test "${with_isl_lib+set}" = set; then :
5875 withval
=$with_isl_lib;
5879 # Check whether --enable-isl-version-check was given.
5880 if test "${enable_isl_version_check+set}" = set; then :
5881 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5883 ENABLE_ISL_CHECK
=yes
5887 # Initialize isllibs and islinc.
5896 isllibs
="-L$with_isl/lib"
5897 islinc
="-I$with_isl/include"
5900 if test "x${with_isl_include}" != x
; then
5901 islinc
="-I$with_isl_include"
5903 if test "x${with_isl_lib}" != x
; then
5904 isllibs
="-L$with_isl_lib"
5906 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5907 && test -d ${srcdir}/isl
; then
5908 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5909 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5912 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5915 isllibs
="${isllibs} -lisl"
5919 if test "${ENABLE_ISL_CHECK}" = yes ; then
5920 _isl_saved_CFLAGS
=$CFLAGS
5921 _isl_saved_LDFLAGS
=$LDFLAGS
5922 _isl_saved_LIBS
=$LIBS
5924 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5925 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5926 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5929 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5932 #include <isl/ctx.h>
5936 isl_ctx_get_max_operations (isl_ctx_alloc ());
5941 if ac_fn_c_try_link
"$LINENO"; then :
5946 rm -f core conftest.err conftest.
$ac_objext \
5947 conftest
$ac_exeext conftest.
$ac_ext
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5949 $as_echo "$gcc_cv_isl" >&6; }
5951 if test "${gcc_cv_isl}" = no
; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&5
5953 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5957 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5959 /* end confdefs.h. */
5960 #include <isl/schedule.h>
5964 isl_options_set_schedule_serialize_sccs (NULL, 0);
5969 if ac_fn_c_try_link
"$LINENO"; then :
5970 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5972 ac_has_isl_options_set_schedule_serialize_sccs
=no
5974 rm -f core conftest.err conftest.
$ac_objext \
5975 conftest
$ac_exeext conftest.
$ac_ext
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5977 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5979 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5984 CFLAGS
=$_isl_saved_CFLAGS
5985 LDFLAGS
=$_isl_saved_LDFLAGS
5986 LIBS
=$_isl_saved_LIBS
5994 if test "x${with_isl}" = xno
; then
5995 graphite_requested
=no
5996 elif test "x${with_isl}" != x \
5997 ||
test "x${with_isl_include}" != x \
5998 ||
test "x${with_isl_lib}" != x
; then
5999 graphite_requested
=yes
6001 graphite_requested
=no
6006 if test "${gcc_cv_isl}" = no
; then
6011 if test "${graphite_requested}" = yes \
6012 && test "x${isllibs}" = x \
6013 && test "x${islinc}" = x
; then
6015 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6021 # If the isl check failed, disable builds of in-tree variant of isl
6022 if test "x$with_isl" = xno ||
6023 test "x$gcc_cv_isl" = xno
; then
6024 noconfigdirs
="$noconfigdirs isl"
6031 # Check for LTO support.
6032 # Check whether --enable-lto was given.
6033 if test "${enable_lto+set}" = set; then :
6034 enableval
=$enable_lto; enable_lto
=$enableval
6036 enable_lto
=yes; default_enable_lto
=yes
6045 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6046 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6047 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
6056 if test $target_elf = yes; then :
6057 # ELF platforms build the lto-plugin always.
6058 build_lto_plugin
=yes
6061 if test x
"$default_enable_lto" = x
"yes" ; then
6063 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6064 # On other non-ELF platforms, LTO has yet to be validated.
6068 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6069 # It would also be nice to check the binutils support, but we don't
6070 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6071 # warn during gcc/ subconfigure; unless you're bootstrapping with
6072 # -flto it won't be needed until after installation anyway.
6074 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6075 *) if test x
"$enable_lto" = x
"yes"; then
6076 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6081 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6082 # Build it unless LTO was explicitly disabled.
6084 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6091 # Check whether --enable-linker-plugin-configure-flags was given.
6092 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6093 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6095 extra_linker_plugin_configure_flags
=
6099 # Check whether --enable-linker-plugin-flags was given.
6100 if test "${enable_linker_plugin_flags+set}" = set; then :
6101 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6103 extra_linker_plugin_flags
=
6109 # By default, C and C++ are the only stage 1 languages.
6110 stage1_languages
=,c
,
6112 # Target libraries that we bootstrap.
6113 bootstrap_target_libs
=,target-libgcc
,
6115 # Figure out what language subdirectories are present.
6116 # Look if the user specified --enable-languages="..."; if not, use
6117 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6119 # NB: embedded tabs in this IF block -- do not untabify
6120 if test -d ${srcdir}/gcc
; then
6121 if test x
"${enable_languages+set}" != xset
; then
6122 if test x
"${LANGUAGES+set}" = xset
; then
6123 enable_languages
="${LANGUAGES}"
6124 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6126 enable_languages
=all
6129 if test x
"${enable_languages}" = x ||
6130 test x
"${enable_languages}" = xyes
;
6132 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6136 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6138 # 'f95' is the old name for the 'fortran' language. We issue a warning
6139 # and make the substitution.
6140 case ,${enable_languages}, in
6142 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6143 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6147 # If bootstrapping, C++ must be enabled.
6148 case ",$enable_languages,:$enable_bootstrap" in
6151 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6152 enable_languages
="${enable_languages},c++"
6154 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6159 # First scan to see if an enabled language requires some other language.
6160 # We assume that a given config-lang.in will list all the language
6161 # front ends it requires, even if some are required indirectly.
6162 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6163 case ${lang_frag} in
6165 # The odd quoting in the next line works around
6166 # an apparent bug in bash 1.12 on linux.
6167 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6169 # From the config-lang.in, get $language, $lang_requires, and
6170 # $lang_requires_boot_languages.
6173 lang_requires_boot_languages
=
6175 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6176 case ,${enable_languages}, in
6180 echo " \`$other' language required by \`$language'; enabling" 1>&2
6181 enable_languages
="${enable_languages},${other}"
6185 for other
in ${lang_requires_boot_languages} ; do
6186 if test "$other" != "c"; then
6187 case ,${enable_stage1_languages}, in
6191 case ,${enable_languages}, in
6193 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6194 enable_stage1_languages
="$enable_stage1_languages,${other}"
6205 new_enable_languages
=,c
,
6207 # If LTO is enabled, add the LTO front end.
6208 if test "$enable_lto" = "yes" ; then
6209 case ,${enable_languages}, in
6211 *) enable_languages
="${enable_languages},lto" ;;
6213 if test "${build_lto_plugin}" = "yes" ; then
6214 configdirs
="$configdirs lto-plugin"
6218 # If we're building an offloading compiler, add the LTO front end.
6219 if test x
"$enable_as_accelerator_for" != x
; then
6220 case ,${enable_languages}, in
6222 *) enable_languages
="${enable_languages},lto" ;;
6226 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6227 potential_languages
=,c
,
6229 enabled_target_libs
=
6230 disabled_target_libs
=
6232 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6233 case ${lang_frag} in
6235 # The odd quoting in the next line works around
6236 # an apparent bug in bash 1.12 on linux.
6237 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6239 # From the config-lang.in, get $language, $target_libs,
6240 # $lang_dirs, $boot_language, and $build_by_default
6246 build_by_default
=yes
6248 if test x
${language} = x
; then
6249 echo "${lang_frag} doesn't set \$language." 1>&2
6253 if test "$language" = "c++"; then
6258 case ,${enable_languages}, in
6260 # Language was explicitly selected; include it
6261 # unless it is C, which is enabled by default.
6262 if test "$language" != "c"; then
6267 # 'all' was selected, select it if it is a default language
6268 if test "$language" != "c"; then
6269 add_this_lang
=${build_by_default}
6274 # Disable languages that need other directories if these aren't available.
6275 for i
in $subdir_requires; do
6276 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6277 case ,${enable_languages}, in
6279 # Specifically requested language; tell them.
6280 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6284 add_this_lang
=unsupported
6289 # Disable Ada if no preexisting GNAT is available.
6290 case ,${enable_languages},:${language}:${have_gnat} in
6291 *,${language},*:ada
:no
)
6292 # Specifically requested language; tell them.
6293 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6297 add_this_lang
=unsupported
6301 # Disable a language that is unsupported by the target.
6302 case " $unsupported_languages " in
6304 add_this_lang
=unsupported
6308 case $add_this_lang in
6310 # Remove language-dependent dirs.
6311 disabled_target_libs
="$disabled_target_libs $target_libs"
6312 noconfigdirs
="$noconfigdirs $lang_dirs"
6315 # Remove language-dependent dirs; still show language as supported.
6316 disabled_target_libs
="$disabled_target_libs $target_libs"
6317 noconfigdirs
="$noconfigdirs $lang_dirs"
6318 potential_languages
="${potential_languages}${language},"
6321 new_enable_languages
="${new_enable_languages}${language},"
6322 potential_languages
="${potential_languages}${language},"
6323 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6324 enabled_target_libs
="$enabled_target_libs $target_libs"
6325 case "${boot_language}:,$enable_stage1_languages," in
6326 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6327 # Add to (comma-separated) list of stage 1 languages.
6328 case ",$stage1_languages," in
6329 *,$language,* |
,yes, |
,all
,) ;;
6330 *) stage1_languages
="${stage1_languages}${language}," ;;
6332 # We need to bootstrap any supporting libraries.
6333 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6342 # Add target libraries which are only needed for disabled languages
6344 if test -n "$disabled_target_libs"; then
6345 for dir
in $disabled_target_libs; do
6346 case " $enabled_target_libs " in
6348 *) noconfigdirs
="$noconfigdirs $dir" ;;
6353 # Check whether --enable-stage1-languages was given.
6354 if test "${enable_stage1_languages+set}" = set; then :
6355 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6357 # Set it to something that will have no effect in the loop below
6358 enable_stage1_languages
=c
;;
6360 enable_stage1_languages
=`echo $new_enable_languages | \
6361 sed -e "s/^,//" -e "s/,$//" ` ;;
6363 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6364 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6367 # Add "good" languages from enable_stage1_languages to stage1_languages,
6368 # while "bad" languages go in missing_languages. Leave no duplicates.
6369 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6370 case $potential_languages in
6372 case $stage1_languages in
6374 *) stage1_languages
="$stage1_languages$i," ;;
6377 case $missing_languages in
6379 *) missing_languages
="$missing_languages$i," ;;
6386 # Remove leading/trailing commas that were added for simplicity
6387 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6388 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6389 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6390 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6392 if test "x$missing_languages" != x
; then
6394 The following requested languages could not be built: ${missing_languages}
6395 Supported languages are: ${potential_languages}" "$LINENO" 5
6397 if test "x$new_enable_languages" != "x$enable_languages"; then
6398 echo The following languages will be built
: ${new_enable_languages}
6399 enable_languages
="$new_enable_languages"
6403 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6406 # Handle --disable-<component> generically.
6407 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6408 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6409 varname
=`echo $dirname | sed -e s/+/_/g`
6410 if eval test x\
${enable_${varname}} "=" xno
; then
6411 noconfigdirs
="$noconfigdirs $dir"
6415 # Check for Boehm's garbage collector
6416 # Check whether --enable-objc-gc was given.
6417 if test "${enable_objc_gc+set}" = set; then :
6418 enableval
=$enable_objc_gc;
6422 # Check whether --with-target-bdw-gc was given.
6423 if test "${with_target_bdw_gc+set}" = set; then :
6424 withval
=$with_target_bdw_gc;
6428 # Check whether --with-target-bdw-gc-include was given.
6429 if test "${with_target_bdw_gc_include+set}" = set; then :
6430 withval
=$with_target_bdw_gc_include;
6434 # Check whether --with-target-bdw-gc-lib was given.
6435 if test "${with_target_bdw_gc_lib+set}" = set; then :
6436 withval
=$with_target_bdw_gc_lib;
6440 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6442 $as_echo_n "checking for bdw garbage collector... " >&6; }
6443 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6451 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6452 if test -n "$ac_tool_prefix"; then
6453 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6454 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6458 $as_echo_n "(cached) " >&6
6462 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir
=.
6470 for ac_exec_ext
in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6484 if test -n "$PKG_CONFIG"; then
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6486 $as_echo "$PKG_CONFIG" >&6; }
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 $as_echo "no" >&6; }
6494 if test -z "$ac_cv_path_PKG_CONFIG"; then
6495 ac_pt_PKG_CONFIG
=$PKG_CONFIG
6496 # Extract the first word of "pkg-config", so it can be a program name with args.
6497 set dummy pkg-config
; ac_word
=$2
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
6501 $as_echo_n "(cached) " >&6
6503 case $ac_pt_PKG_CONFIG in
6505 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir
=.
6513 for ac_exec_ext
in '' $ac_executable_extensions; do
6514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
6527 if test -n "$ac_pt_PKG_CONFIG"; then
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6529 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; }
6535 if test "x$ac_pt_PKG_CONFIG" = x
; then
6538 case $cross_compiling:$ac_tool_warned in
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6542 ac_tool_warned
=yes ;;
6544 PKG_CONFIG
=$ac_pt_PKG_CONFIG
6547 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
6551 if test -n "$PKG_CONFIG"; then
6552 _pkg_min_version
=0.9.0
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6554 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6555 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6557 $as_echo "yes" >&6; }
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560 $as_echo "no" >&6; }
6564 if test -n "$PKG_CONFIG" && \
6565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bdw-gc\""; } >&5
6566 ($PKG_CONFIG --exists --print-errors "bdw-gc") 2>&5
6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6569 test $ac_status = 0; }; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc pkg-config module" >&5
6571 $as_echo "using bdw-gc pkg-config module" >&6; }
6573 as_fn_error
"no --with-target-bdw-gc options and no bdw-gc pkg-config module found" "$LINENO" 5
6576 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6577 as_fn_error
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6578 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6579 as_fn_error
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6582 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6587 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6588 case ,${enable_languages}, in
6590 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6591 case "${noconfigdirs}" in
6592 *target-libstdc
++-v3*)
6593 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6599 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6603 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6604 # $build_configdirs and $target_configdirs.
6605 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6608 for dir
in .
$skipdirs $noconfigdirs ; do
6609 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6610 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6611 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6612 if test -r $srcdir/$dirname/configure
; then
6613 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6616 notsupp
="$notsupp $dir"
6620 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6621 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6622 if test -r $srcdir/$dirname/configure
; then
6623 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6626 notsupp
="$notsupp $dir"
6630 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6631 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6632 if test -r $srcdir/$dirname/configure
; then
6633 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6636 notsupp
="$notsupp $dir"
6642 # Quietly strip out all directories which aren't configurable in this tree.
6643 # This relies on all configurable subdirectories being autoconfiscated, which
6645 build_configdirs_all
="$build_configdirs"
6647 for i
in ${build_configdirs_all} ; do
6648 j
=`echo $i | sed -e s/build-//g`
6649 if test -f ${srcdir}/$j/configure
; then
6650 build_configdirs
="${build_configdirs} $i"
6654 configdirs_all
="$configdirs"
6656 for i
in ${configdirs_all} ; do
6657 if test -f ${srcdir}/$i/configure
; then
6658 configdirs
="${configdirs} $i"
6662 target_configdirs_all
="$target_configdirs"
6664 for i
in ${target_configdirs_all} ; do
6665 j
=`echo $i | sed -e s/target-//g`
6666 if test -f ${srcdir}/$j/configure
; then
6667 target_configdirs
="${target_configdirs} $i"
6671 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6672 # so we have to add it after the preceding checks.
6673 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6675 case " $configdirs " in
6677 # If we can build libiberty, we can also build libiberty-linker-plugin.
6678 configdirs
="$configdirs libiberty-linker-plugin"
6679 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6680 --with-libiberty=../libiberty-linker-plugin";;
6682 as_fn_error
"libiberty missing" "$LINENO" 5;;
6686 # Sometimes we have special requirements for the host libiberty.
6687 extra_host_libiberty_configure_flags
=
6688 extra_host_zlib_configure_flags
=
6689 case " $configdirs " in
6690 *" lto-plugin "* |
*" libcc1 "*)
6691 # When these are to be built as shared libraries, the same applies to
6693 extra_host_libiberty_configure_flags
=--enable-shared
6696 # When bfd is to be built as a shared library, the same applies to
6698 if test "$enable_shared" = "yes"; then
6699 extra_host_zlib_configure_flags
=--enable-host-shared
6706 # Produce a warning message for the subdirs we can't configure.
6707 # This isn't especially interesting in the Cygnus tree, but in the individual
6708 # FSF releases, it's important to let people know when their machine isn't
6709 # supported by the one or two programs in a package.
6711 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6712 # If $appdirs is non-empty, at least one of those directories must still
6713 # be configured, or we error out. (E.g., if the gas release supports a
6714 # specified target in some subdirs but not the gas subdir, we shouldn't
6715 # pretend that all is well.)
6716 if test -n "$appdirs" ; then
6717 for dir
in $appdirs ; do
6718 if test -r $dir/Makefile.
in ; then
6719 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6723 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6729 if test -n "$appdirs" ; then
6730 echo "*** This configuration is not supported by this package." 1>&2
6734 # Okay, some application will build, or we don't care to check. Still
6735 # notify of subdirs not getting built.
6736 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6737 echo " ${notsupp}" 1>&2
6738 echo " (Any other directories should still work fine.)" 1>&2
6746 # To find our prefix, in gcc_cv_tool_prefix.
6748 # The user is always right.
6749 if test "${PATH_SEPARATOR+set}" != set; then
6750 echo "#! /bin/sh" >conf$$.sh
6751 echo "exit 0" >>conf$$.sh
6753 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6763 if test "x$exec_prefix" = xNONE
; then
6764 if test "x$prefix" = xNONE
; then
6765 gcc_cv_tool_prefix
=$ac_default_prefix
6767 gcc_cv_tool_prefix
=$prefix
6770 gcc_cv_tool_prefix
=$exec_prefix
6773 # If there is no compiler in the tree, use the PATH only. In any
6774 # case, if there is no compiler in the tree nobody should use
6775 # AS_FOR_TARGET and LD_FOR_TARGET.
6776 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6777 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6778 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6779 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6780 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6781 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6782 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6783 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6788 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6789 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6797 # Check whether --with-build-sysroot was given.
6798 if test "${with_build_sysroot+set}" = set; then :
6799 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6800 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6803 SYSROOT_CFLAGS_FOR_TARGET
=
6809 # Check whether --with-debug-prefix-map was given.
6810 if test "${with_debug_prefix_map+set}" = set; then :
6811 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6812 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6813 for debug_map
in $withval; do
6814 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6818 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6823 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6824 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6825 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6826 # We want to ensure that TARGET libraries (which we know are built with
6827 # gcc) are built with "-O2 -g", so include those options when setting
6828 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6829 if test "x$CFLAGS_FOR_TARGET" = x
; then
6830 if test "x${is_cross_compiler}" = xyes
; then
6831 CFLAGS_FOR_TARGET
="-g -O2"
6833 CFLAGS_FOR_TARGET
=$CFLAGS
6836 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6839 *" -g "* |
*" -g3 "*) ;;
6840 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6846 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6847 if test "x${is_cross_compiler}" = xyes
; then
6848 CXXFLAGS_FOR_TARGET
="-g -O2"
6850 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6851 case " $CXXFLAGS " in
6853 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6855 case " $CXXFLAGS " in
6856 *" -g "* |
*" -g3 "*) ;;
6857 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6865 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6866 # the named directory are copied to $(tooldir)/sys-include.
6867 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6868 if test x
${is_cross_compiler} = xno
; then
6869 echo 1>&2 '***' --with-headers is only supported when cross compiling
6872 if test x
"${with_headers}" != xyes
; then
6873 x
=${gcc_cv_tool_prefix}
6874 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6878 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6879 # the name directories are copied to $(tooldir)/lib. Multiple directories
6881 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6882 if test x
${is_cross_compiler} = xno
; then
6883 echo 1>&2 '***' --with-libs is only supported when cross compiling
6886 if test x
"${with_libs}" != xyes
; then
6887 # Copy the libraries in reverse order, so that files in the first named
6888 # library override files in subsequent libraries.
6889 x
=${gcc_cv_tool_prefix}
6890 for l
in ${with_libs}; do
6891 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6896 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6898 # This is done by determining whether or not the appropriate directory
6899 # is available, and by checking whether or not specific configurations
6900 # have requested that this magic not happen.
6902 # The command line options always override the explicit settings in
6903 # configure.ac, and the settings in configure.ac override this magic.
6905 # If the default for a toolchain is to use GNU as and ld, and you don't
6906 # want to do that, then you should use the --without-gnu-as and
6907 # --without-gnu-ld options for the configure script. Similarly, if
6908 # the default is to use the included zlib and you don't want to do that,
6909 # you should use the --with-system-zlib option for the configure script.
6911 if test x
${use_gnu_as} = x
&&
6912 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6914 extra_host_args
="$extra_host_args --with-gnu-as"
6917 if test x
${use_gnu_ld} = x
&&
6918 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6920 extra_host_args
="$extra_host_args --with-gnu-ld"
6923 if test x
${use_included_zlib} = x
&&
6924 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6927 with_system_zlib
=yes
6928 extra_host_args
="$extra_host_args --with-system-zlib"
6931 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6932 # can detect this case.
6934 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6936 extra_host_args
="$extra_host_args --with-newlib"
6939 # Handle ${copy_dirs}
6940 set fnord
${copy_dirs}
6942 while test $# != 0 ; do
6943 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6946 echo Copying
$1 to
$2
6948 # Use the install script to create the directory and all required
6949 # parent directories.
6950 if test -d $2 ; then
6954 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6957 # Copy the directory, assuming we have tar.
6958 # FIXME: Should we use B in the second tar? Not all systems support it.
6959 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6961 # It is the responsibility of the user to correctly adjust all
6962 # symlinks. If somebody can figure out how to handle them correctly
6963 # here, feel free to add the code.
6970 # Determine a target-dependent exec_prefix that the installed
6971 # gcc will search in. Keep this list sorted by triplet, with
6972 # the *-*-osname triplets last.
6975 i
[34567]86-pc-msdosdjgpp*)
6976 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6981 md_exec_prefix
=/usr
/ccs
/bin
6985 extra_arflags_for_target
=
6986 extra_nmflags_for_target
=
6987 extra_ranlibflags_for_target
=
6988 target_makefile_frag
=/dev
/null
6991 target_makefile_frag
="config/mt-spu"
6993 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6994 target_makefile_frag
="config/mt-sde"
6996 mipsisa
*-*-elfoabi*)
6997 target_makefile_frag
="config/mt-mips-elfoabi"
6999 mips
*-*-*linux
* | mips
*-*-gnu*)
7000 target_makefile_frag
="config/mt-mips-gnu"
7003 target_makefile_frag
="config/mt-nios2-elf"
7005 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7006 target_makefile_frag
="config/mt-gnu"
7008 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7009 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7010 # commands to handle both 32-bit and 64-bit objects. These flags are
7011 # harmless if we're using GNU nm or ar.
7012 extra_arflags_for_target
=" -X32_64"
7013 extra_nmflags_for_target
=" -B -X32_64"
7017 alphaieee_frag
=/dev
/null
7020 # This just makes sure to use the -mieee option to build target libs.
7021 # This should probably be set individually by each library.
7022 alphaieee_frag
="config/mt-alphaieee"
7026 # If --enable-target-optspace always use -Os instead of -O2 to build
7027 # the target libraries, similarly if it is not specified, use -Os
7028 # on selected platforms.
7029 ospace_frag
=/dev
/null
7030 case "${enable_target_optspace}:${target}" in
7032 ospace_frag
="config/mt-ospace"
7035 ospace_frag
="config/mt-d30v"
7037 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7038 ospace_frag
="config/mt-ospace"
7043 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7047 # Some systems (e.g., one of the i386-aix systems the gas testers are
7048 # using) don't handle "\$" correctly, so don't use it here.
7049 tooldir
='${exec_prefix}'/${target_noncanonical}
7050 build_tooldir
=${tooldir}
7052 # Create a .gdbinit file which runs the one in srcdir
7053 # and tells GDB to look there for source files.
7055 if test -r ${srcdir}/.gdbinit
; then
7058 *) cat > .
/.gdbinit
<<EOF
7062 source ${srcdir}/.gdbinit
7068 # Make sure that the compiler is able to generate an executable. If it
7069 # can't, we are probably in trouble. We don't care whether we can run the
7070 # executable--we might be using a cross compiler--we only care whether it
7071 # can be created. At this point the main configure script has set CC.
7073 echo "int main () { return 0; }" > conftest.c
7074 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7075 if test $?
= 0 ; then
7076 if test -s conftest ||
test -s conftest.exe
; then
7082 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7083 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7090 # Decide which environment variable is used to find dynamic libraries.
7092 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7093 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7094 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7095 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7098 # On systems where the dynamic library environment variable is PATH,
7099 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7100 # built executables to PATH.
7101 if test "$RPATH_ENVVAR" = PATH
; then
7102 GCC_SHLIB_SUBDIR
=/shlib
7107 # Adjust the toplevel makefile according to whether bootstrap was selected.
7108 case $enable_bootstrap in
7110 bootstrap_suffix
=bootstrap
7111 BUILD_CONFIG
=bootstrap-debug
7114 bootstrap_suffix
=no-bootstrap
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7120 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7123 # Check whether --with-build-config was given.
7124 if test "${with_build_config+set}" = set; then :
7125 withval
=$with_build_config; case $with_build_config in
7126 yes) with_build_config
= ;;
7127 no
) with_build_config
= BUILD_CONFIG
= ;;
7132 if test "x${with_build_config}" != x
; then
7133 BUILD_CONFIG
=$with_build_config
7135 case $BUILD_CONFIG in
7137 if echo "int f (void) { return 0; }" > conftest.c
&&
7138 ${CC} -c conftest.c
&&
7139 mv conftest.o conftest.o.g0
&&
7140 ${CC} -c -g conftest.c
&&
7141 mv conftest.o conftest.o.g
&&
7142 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7147 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7152 $as_echo "$BUILD_CONFIG" >&6; }
7155 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7157 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7158 # Check whether --enable-vtable-verify was given.
7159 if test "${enable_vtable_verify+set}" = set; then :
7160 enableval
=$enable_vtable_verify; case "$enableval" in
7161 yes) enable_vtable_verify
=yes ;;
7162 no
) enable_vtable_verify
=no
;;
7163 *) enable_vtable_verify
=no
;;
7166 enable_vtable_verify
=no
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7170 $as_echo "$enable_vtable_verify" >&6; }
7172 # Record target_configdirs and the configure arguments for target and
7173 # build configuration in Makefile.
7174 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7175 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7176 bootstrap_fixincludes
=no
7178 # If we are building libgomp, bootstrap it.
7179 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7180 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7183 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7184 # or bootstrap-ubsan, bootstrap it.
7185 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7186 case "$BUILD_CONFIG" in
7187 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7188 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7189 bootstrap_fixincludes
=yes
7194 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7195 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7196 test "$enable_vtable_verify" != no
; then
7197 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7200 # If we are building libmpx, bootstrap it.
7201 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7202 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7205 # Determine whether gdb needs tk/tcl or not.
7206 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7207 # and in that case we want gdb to be built without tk. Ugh!
7208 # In fact I believe gdb is the *only* package directly dependent on tk,
7209 # so we should be able to put the 'maybe's in unconditionally and
7210 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7211 # 100% sure that that's safe though.
7213 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7214 case "$enable_gdbtk" in
7218 GDB_TK
="${gdb_tk}" ;;
7220 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7221 # distro. Eventually someone will fix this and move Insight, nee
7222 # gdbtk to a separate directory.
7223 if test -d ${srcdir}/gdb
/gdbtk
; then
7230 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7231 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7233 # Strip out unwanted targets.
7235 # While at that, we remove Makefiles if we were started for recursive
7236 # configuration, so that the top-level Makefile reconfigures them,
7237 # like we used to do when configure itself was recursive.
7239 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7240 # but now we're fixing up the Makefile ourselves with the additional
7241 # commands passed to AC_CONFIG_FILES. Use separate variables
7242 # extrasub-{build,host,target} not because there is any reason to split
7243 # the substitutions up that way, but only to remain below the limit of
7244 # 99 commands in a script, for HP-UX sed.
7245 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7247 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7248 yes:yes:*\ gold\
*:*,c
++,*) ;;
7249 yes:yes:*\ gold\
*:*)
7250 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7255 for module
in ${build_configdirs} ; do
7256 if test -z "${no_recursion}" \
7257 && test -f ${build_subdir}/${module}/Makefile
; then
7258 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7259 rm -f ${build_subdir}/${module}/Makefile
7261 extrasub_build
="$extrasub_build
7262 /^@if build-$module\$/d
7263 /^@endif build-$module\$/d
7264 /^@if build-$module-$bootstrap_suffix\$/d
7265 /^@endif build-$module-$bootstrap_suffix\$/d"
7268 for module
in ${configdirs} ; do
7269 if test -z "${no_recursion}"; then
7270 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7271 if test -f ${file}; then
7272 echo 1>&2 "*** removing ${file} to force reconfigure"
7277 case ${module},${bootstrap_fixincludes} in
7278 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7279 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7281 extrasub_host
="$extrasub_host
7283 /^@endif $module\$/d
7284 /^@if $module-$host_bootstrap_suffix\$/d
7285 /^@endif $module-$host_bootstrap_suffix\$/d"
7288 for module
in ${target_configdirs} ; do
7289 if test -z "${no_recursion}" \
7290 && test -f ${target_subdir}/${module}/Makefile
; then
7291 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7292 rm -f ${target_subdir}/${module}/Makefile
7295 # We only bootstrap target libraries listed in bootstrap_target_libs.
7296 case $bootstrap_target_libs in
7297 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7298 *) target_bootstrap_suffix
=no-bootstrap
;;
7301 extrasub_target
="$extrasub_target
7302 /^@if target-$module\$/d
7303 /^@endif target-$module\$/d
7304 /^@if target-$module-$target_bootstrap_suffix\$/d
7305 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7308 # Do the final fixup along with target modules.
7309 extrasub_target
="$extrasub_target
7310 /^@if /,/^@endif /d"
7312 # Create the serialization dependencies. This uses a temporary file.
7314 # Check whether --enable-serial-configure was given.
7315 if test "${enable_serial_configure+set}" = set; then :
7316 enableval
=$enable_serial_configure;
7320 case ${enable_serial_configure} in
7322 enable_serial_build_configure
=yes
7323 enable_serial_host_configure
=yes
7324 enable_serial_target_configure
=yes
7328 # These force 'configure's to be done one at a time, to avoid problems
7329 # with contention over a shared config.cache.
7331 echo '# serdep.tmp' > serdep.tmp
7333 test "x${enable_serial_build_configure}" = xyes
&&
7334 for item
in ${build_configdirs} ; do
7337 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7342 test "x${enable_serial_host_configure}" = xyes
&&
7343 for item
in ${configdirs} ; do
7346 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7351 test "x${enable_serial_target_configure}" = xyes
&&
7352 for item
in ${target_configdirs} ; do
7355 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7359 serialization_dependencies
=serdep.tmp
7362 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7363 # target, nonopt, and variable assignments. These are the ones we
7364 # might not want to pass down to subconfigures. The exception being
7365 # --cache-file=/dev/null, which is used to turn off the use of cache
7366 # files altogether, and which should be passed on to subconfigures.
7367 # Also strip program-prefix, program-suffix, and program-transform-name,
7368 # so that we can pass down a consistent program-transform-name.
7373 eval "set -- $ac_configure_args"
7376 if test X
"$skip_next" = X
"yes"; then
7380 if test X
"$keep_next" = X
"yes"; then
7383 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7385 baseargs
="$baseargs '$ac_arg'"
7386 tbaseargs
="$tbaseargs '$ac_arg'"
7391 # Handle separated arguments. Based on the logic generated by
7394 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7395 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7396 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7397 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7411 --with-* |
--without-*)
7412 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7416 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7419 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7428 mpc | mpfr | gmp | isl
)
7429 # If we're processing --with-$lib, --with-$lib-include or
7430 # --with-$lib-lib, for one of the libs above, and target is
7431 # different from host, don't pass the current argument to any
7432 # target library's configure.
7433 if test x
$is_cross_compiler = xyes
; then
7442 --cache-file=/dev
/null | \
7443 -cache-file=/dev
/null
)
7444 # Handled here to avoid the test to skip args below.
7445 baseargs
="$baseargs '$ac_arg'"
7446 tbaseargs
="$tbaseargs '$ac_arg'"
7447 # Assert: $separate_arg should always be no.
7448 keep_next
=$separate_arg
7464 -program-prefix* | \
7465 -program-suffix* | \
7466 -program-transform-name* )
7467 skip_next
=$separate_arg
7471 # An option. Add it.
7474 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7476 baseargs
="$baseargs '$ac_arg'"
7477 if test X
"$skip_targ" = Xno
; then
7478 tbaseargs
="$tbaseargs '$ac_arg'"
7480 keep_next
=$separate_arg
7483 # Either a variable assignment, or a nonopt (triplet). Don't
7484 # pass it down; let the Makefile handle this.
7489 # Remove the initial space we just introduced and, as these will be
7490 # expanded by make, quote '$'.
7491 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7493 # Add in --program-transform-name, after --program-prefix and
7494 # --program-suffix have been applied to it. Autoconf has already
7495 # doubled dollar signs and backslashes in program_transform_name; we want
7496 # the backslashes un-doubled, and then the entire thing wrapped in single
7497 # quotes, because this will be expanded first by make and then by the shell.
7498 # Also, because we want to override the logic in subdir configure scripts to
7499 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7500 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7501 ${program_transform_name}
7503 gcc_transform_name
=`cat conftestsed.out`
7504 rm -f conftestsed.out
7505 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7506 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7507 if test "$silent" = yes; then
7508 baseargs
="$baseargs --silent"
7509 tbaseargs
="$tbaseargs --silent"
7511 baseargs
="$baseargs --disable-option-checking"
7512 tbaseargs
="$tbaseargs --disable-option-checking"
7514 # Record and document user additions to sub configure arguments.
7519 # For the build-side libraries, we just need to pretend we're native,
7520 # and not use the same cache file. Multilibs are neither needed nor
7521 # desired. We can't even use the same cache file for all build-side
7522 # libraries, as they're compiled differently; some with C, some with
7523 # C++ or with different feature-enabling options.
7524 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7526 # For host modules, accept cache file option, or specification as blank.
7527 case "${cache_file}" in
7529 cache_file_option
="" ;;
7530 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7531 cache_file_option
="--cache-file=${cache_file}" ;;
7533 cache_file_option
="--cache-file=../${cache_file}" ;;
7536 # Host dirs don't like to share a cache file either, horribly enough.
7537 # This seems to be due to autoconf 2.5x stupidity.
7538 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7540 target_configargs
="$target_configargs ${tbaseargs}"
7542 # Passing a --with-cross-host argument lets the target libraries know
7543 # whether they are being built with a cross-compiler or being built
7544 # native. However, it would be better to use other mechanisms to make the
7545 # sorts of decisions they want to make on this basis. Please consider
7546 # this option to be deprecated. FIXME.
7547 if test x
${is_cross_compiler} = xyes
; then
7548 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7551 # Special user-friendly check for native x86_64-linux build, if
7552 # multilib is not explicitly enabled.
7553 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7554 x86_64-
*linux
*:yes:$build:$build:)
7555 # Make sure we have a development environment that handles 32-bit
7557 echo "int main () { return 0; }" > conftest.c
7558 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7559 if test $?
= 0 ; then
7560 if test -s conftest ||
test -s conftest.exe
; then
7565 if test x
${dev64} != xyes
; then
7566 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
7571 # Default to --enable-multilib.
7572 if test x
${enable_multilib} = x
; then
7573 target_configargs
="--enable-multilib ${target_configargs}"
7576 # Pass --with-newlib if appropriate. Note that target_configdirs has
7577 # changed from the earlier setting of with_newlib.
7578 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7579 target_configargs
="--with-newlib ${target_configargs}"
7582 # Different target subdirs use different values of certain variables
7583 # (notably CXX). Worse, multilibs use *lots* of different values.
7584 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7585 # it doesn't automatically accept command-line overrides of them.
7586 # This means it's not safe for target subdirs to share a cache file,
7587 # which is disgusting, but there you have it. Hopefully this can be
7588 # fixed in future. It's still worthwhile to use a cache file for each
7589 # directory. I think.
7591 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7592 # We need to pass --target, as newer autoconf's requires consistency
7593 # for target_alias and gcc doesn't manage it consistently.
7594 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7597 case " $target_configdirs " in
7599 case " $target_configargs " in
7600 *" --with-newlib "*)
7603 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7607 # If we're not building GCC, don't discard standard headers.
7608 if test -d ${srcdir}/gcc
; then
7609 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7611 if test "${build}" != "${host}"; then
7612 # On Canadian crosses, CC_FOR_TARGET will have already been set
7613 # by `configure', so we won't have an opportunity to add -Bgcc/
7614 # to it. This is right: we don't want to search that directory
7615 # for binaries, but we want the header files in there, so add
7617 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7619 # Someone might think of using the pre-installed headers on
7620 # Canadian crosses, in case the installed compiler is not fully
7621 # compatible with the compiler being built. In this case, it
7622 # would be better to flag an error than risking having
7623 # incompatible object files being constructed. We can't
7624 # guarantee that an error will be flagged, but let's hope the
7625 # compiler will do it, when presented with incompatible header
7630 case "${target}-${is_cross_compiler}" in
7631 i
[3456789]86-*-linux*-no)
7632 # Here host == target, so we don't need to build gcc,
7633 # so we don't want to discard standard headers.
7634 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7637 # If we're building newlib, use its generic headers last, but search
7638 # for any libc-related directories first (so make it the last -B
7640 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7642 # If we're building libgloss, find the startup file, simulator library
7643 # and linker script.
7644 case " $target_configdirs " in
7646 # Look for startup file, simulator library and maybe linker script.
7647 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7648 # Look for libnosys.a in case the target needs it.
7649 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7650 # Most targets have the linker script in the source directory.
7651 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7662 x86_64-
*mingw
* |
*-w64-mingw*)
7663 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7664 # however, use a symlink named 'mingw' in ${prefix} .
7665 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7668 # MinGW can't be handled as Cygwin above since it does not use newlib.
7669 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'
7673 # Allow the user to override the flags for
7674 # our build compiler if desired.
7675 if test x
"${build}" = x
"${host}" ; then
7676 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7677 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7678 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7681 # On Canadian crosses, we'll be searching the right directories for
7682 # the previously-installed cross compiler, so don't bother to add
7683 # flags for directories within the install tree of the compiler
7684 # being built; programs in there won't even run.
7685 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7686 # Search for pre-installed headers if nothing else fits.
7687 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7690 if test "x
${use_gnu_ld}" = x &&
7691 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7692 # Arrange for us to find uninstalled linker scripts.
7693 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7696 # Search for other target-specific linker scripts and such.
7699 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7703 # Makefile fragments.
7704 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7706 eval fragval=\$$frag
7707 if test $fragval != /dev/null; then
7708 eval $frag=${srcdir}/$fragval
7716 # Miscellanea: directories, flags, etc.
7725 # Build module lists & subconfigure args.
7729 # Host module lists & subconfigure args.
7734 # Target module lists & subconfigure args.
7755 # Generate default definitions for YACC, M4, LEX and other programs that run
7756 # on the build machine. These are used if the Makefile can't locate these
7757 # programs in objdir.
7758 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7760 for ac_prog in 'bison -y' byacc yacc
7762 # Extract the first word of "$ac_prog", so it can be a program name with args.
7763 set dummy $ac_prog; ac_word=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7765 $as_echo_n "checking
for $ac_word...
" >&6; }
7766 if test "${ac_cv_prog_YACC+set}" = set; then :
7767 $as_echo_n "(cached
) " >&6
7769 if test -n "$YACC"; then
7770 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir=.
7777 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7779 ac_cv_prog_YACC="$ac_prog"
7780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7789 YACC=$ac_cv_prog_YACC
7790 if test -n "$YACC"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7792 $as_echo "$YACC" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7795 $as_echo "no
" >&6; }
7799 test -n "$YACC" && break
7801 test -n "$YACC" || YACC="$MISSING bison
-y"
7803 case " $build_configdirs " in
7804 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7807 for ac_prog in bison
7809 # Extract the first word of "$ac_prog", so it can be a program name with args.
7810 set dummy $ac_prog; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7812 $as_echo_n "checking
for $ac_word...
" >&6; }
7813 if test "${ac_cv_prog_BISON+set}" = set; then :
7814 $as_echo_n "(cached
) " >&6
7816 if test -n "$BISON"; then
7817 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7826 ac_cv_prog_BISON="$ac_prog"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7836 BISON=$ac_cv_prog_BISON
7837 if test -n "$BISON"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7839 $as_echo "$BISON" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7842 $as_echo "no
" >&6; }
7846 test -n "$BISON" && break
7848 test -n "$BISON" || BISON="$MISSING bison
"
7850 case " $build_configdirs " in
7851 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7854 for ac_prog in gm4 gnum4 m4
7856 # Extract the first word of "$ac_prog", so it can be a program name with args.
7857 set dummy $ac_prog; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7859 $as_echo_n "checking
for $ac_word...
" >&6; }
7860 if test "${ac_cv_prog_M4+set}" = set; then :
7861 $as_echo_n "(cached
) " >&6
7863 if test -n "$M4"; then
7864 ac_cv_prog_M4="$M4" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873 ac_cv_prog_M4="$ac_prog"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7884 if test -n "$M4"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7886 $as_echo "$M4" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7889 $as_echo "no
" >&6; }
7893 test -n "$M4" && break
7895 test -n "$M4" || M4="$MISSING m4"
7897 case " $build_configdirs " in
7898 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7901 for ac_prog in flex lex
7903 # Extract the first word of "$ac_prog", so it can be a program name with args.
7904 set dummy $ac_prog; ac_word=$2
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7906 $as_echo_n "checking
for $ac_word...
" >&6; }
7907 if test "${ac_cv_prog_LEX+set}" = set; then :
7908 $as_echo_n "(cached
) " >&6
7910 if test -n "$LEX"; then
7911 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7917 test -z "$as_dir" && as_dir=.
7918 for ac_exec_ext in '' $ac_executable_extensions; do
7919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7920 ac_cv_prog_LEX="$ac_prog"
7921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7931 if test -n "$LEX"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7933 $as_echo "$LEX" >&6; }
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7936 $as_echo "no
" >&6; }
7940 test -n "$LEX" && break
7942 test -n "$LEX" || LEX="$MISSING flex
"
7944 case " $build_configdirs " in
7945 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7946 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7951 # Extract the first word of "$ac_prog", so it can be a program name with args.
7952 set dummy $ac_prog; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7954 $as_echo_n "checking
for $ac_word...
" >&6; }
7955 if test "${ac_cv_prog_FLEX+set}" = set; then :
7956 $as_echo_n "(cached
) " >&6
7958 if test -n "$FLEX"; then
7959 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_prog_FLEX="$ac_prog"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7978 FLEX=$ac_cv_prog_FLEX
7979 if test -n "$FLEX"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7981 $as_echo "$FLEX" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7984 $as_echo "no
" >&6; }
7988 test -n "$FLEX" && break
7990 test -n "$FLEX" || FLEX="$MISSING flex
"
7992 case " $build_configdirs " in
7993 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7996 for ac_prog in makeinfo
7998 # Extract the first word of "$ac_prog", so it can be a program name with args.
7999 set dummy $ac_prog; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$MAKEINFO"; then
8006 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015 ac_cv_prog_MAKEINFO="$ac_prog"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8025 MAKEINFO=$ac_cv_prog_MAKEINFO
8026 if test -n "$MAKEINFO"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8028 $as_echo "$MAKEINFO" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8035 test -n "$MAKEINFO" && break
8037 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8039 case " $build_configdirs " in
8040 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8043 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8044 # higher, else we use the "missing
" dummy.
8045 if ${MAKEINFO} --version \
8046 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8049 MAKEINFO="$MISSING makeinfo
"
8055 # FIXME: expect and dejagnu may become build tools?
8057 for ac_prog in expect
8059 # Extract the first word of "$ac_prog", so it can be a program name with args.
8060 set dummy $ac_prog; ac_word=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8062 $as_echo_n "checking
for $ac_word...
" >&6; }
8063 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8064 $as_echo_n "(cached
) " >&6
8066 if test -n "$EXPECT"; then
8067 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 test -z "$as_dir" && as_dir=.
8074 for ac_exec_ext in '' $ac_executable_extensions; do
8075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8076 ac_cv_prog_EXPECT="$ac_prog"
8077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8086 EXPECT=$ac_cv_prog_EXPECT
8087 if test -n "$EXPECT"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8089 $as_echo "$EXPECT" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8092 $as_echo "no
" >&6; }
8096 test -n "$EXPECT" && break
8098 test -n "$EXPECT" || EXPECT="expect
"
8100 case " $configdirs " in
8102 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8106 for ac_prog in runtest
8108 # Extract the first word of "$ac_prog", so it can be a program name with args.
8109 set dummy $ac_prog; ac_word=$2
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8111 $as_echo_n "checking
for $ac_word...
" >&6; }
8112 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8113 $as_echo_n "(cached
) " >&6
8115 if test -n "$RUNTEST"; then
8116 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 test -z "$as_dir" && as_dir=.
8123 for ac_exec_ext in '' $ac_executable_extensions; do
8124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8125 ac_cv_prog_RUNTEST="$ac_prog"
8126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8135 RUNTEST=$ac_cv_prog_RUNTEST
8136 if test -n "$RUNTEST"; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8138 $as_echo "$RUNTEST" >&6; }
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8141 $as_echo "no
" >&6; }
8145 test -n "$RUNTEST" && break
8147 test -n "$RUNTEST" || RUNTEST="runtest
"
8149 case " $configdirs " in
8151 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8158 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8159 ncn_target_tool_prefix=
8160 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8164 if test -n "$AR"; then
8166 elif test -n "$ac_cv_prog_AR"; then
8170 if test -n "$ac_cv_prog_AR"; then
8171 for ncn_progname in ar; do
8172 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8173 set dummy ${ncn_progname}; ac_word=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8175 $as_echo_n "checking
for $ac_word...
" >&6; }
8176 if test "${ac_cv_prog_AR+set}" = set; then :
8177 $as_echo_n "(cached
) " >&6
8179 if test -n "$AR"; then
8180 ac_cv_prog_AR="$AR" # Let the user override the test.
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8189 ac_cv_prog_AR="${ncn_progname}"
8190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8200 if test -n "$AR"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8202 $as_echo "$AR" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8205 $as_echo "no
" >&6; }
8212 for ncn_progname in ar; do
8213 if test -n "$ncn_tool_prefix"; then
8214 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8215 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8217 $as_echo_n "checking
for $ac_word...
" >&6; }
8218 if test "${ac_cv_prog_AR+set}" = set; then :
8219 $as_echo_n "(cached
) " >&6
8221 if test -n "$AR"; then
8222 ac_cv_prog_AR="$AR" # Let the user override the test.
8224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 test -z "$as_dir" && as_dir=.
8229 for ac_exec_ext in '' $ac_executable_extensions; do
8230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8231 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8242 if test -n "$AR"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8244 $as_echo "$AR" >&6; }
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8247 $as_echo "no
" >&6; }
8252 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8254 set dummy ${ncn_progname}; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8256 $as_echo_n "checking
for $ac_word...
" >&6; }
8257 if test "${ac_cv_prog_AR+set}" = set; then :
8258 $as_echo_n "(cached
) " >&6
8260 if test -n "$AR"; then
8261 ac_cv_prog_AR="$AR" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8270 ac_cv_prog_AR="${ncn_progname}"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 if test -n "$AR"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8283 $as_echo "$AR" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8286 $as_echo "no
" >&6; }
8291 test -n "$ac_cv_prog_AR" && break
8294 if test -z "$ac_cv_prog_AR" ; then
8296 if test $build = $host ; then
8299 AR="${ncn_tool_prefix}$2"
8305 if test -n "$AS"; then
8307 elif test -n "$ac_cv_prog_AS"; then
8311 if test -n "$ac_cv_prog_AS"; then
8312 for ncn_progname in as; do
8313 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8314 set dummy ${ncn_progname}; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8316 $as_echo_n "checking
for $ac_word...
" >&6; }
8317 if test "${ac_cv_prog_AS+set}" = set; then :
8318 $as_echo_n "(cached
) " >&6
8320 if test -n "$AS"; then
8321 ac_cv_prog_AS="$AS" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_AS="${ncn_progname}"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8341 if test -n "$AS"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8343 $as_echo "$AS" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8346 $as_echo "no
" >&6; }
8353 for ncn_progname in as; do
8354 if test -n "$ncn_tool_prefix"; then
8355 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8356 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8358 $as_echo_n "checking
for $ac_word...
" >&6; }
8359 if test "${ac_cv_prog_AS+set}" = set; then :
8360 $as_echo_n "(cached
) " >&6
8362 if test -n "$AS"; then
8363 ac_cv_prog_AS="$AS" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8383 if test -n "$AS"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8385 $as_echo "$AS" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8388 $as_echo "no
" >&6; }
8393 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8395 set dummy ${ncn_progname}; ac_word=$2
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8397 $as_echo_n "checking
for $ac_word...
" >&6; }
8398 if test "${ac_cv_prog_AS+set}" = set; then :
8399 $as_echo_n "(cached
) " >&6
8401 if test -n "$AS"; then
8402 ac_cv_prog_AS="$AS" # Let the user override the test.
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411 ac_cv_prog_AS="${ncn_progname}"
8412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8422 if test -n "$AS"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8424 $as_echo "$AS" >&6; }
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8427 $as_echo "no
" >&6; }
8432 test -n "$ac_cv_prog_AS" && break
8435 if test -z "$ac_cv_prog_AS" ; then
8437 if test $build = $host ; then
8440 AS="${ncn_tool_prefix}$2"
8446 if test -n "$DLLTOOL"; then
8447 ac_cv_prog_DLLTOOL=$DLLTOOL
8448 elif test -n "$ac_cv_prog_DLLTOOL"; then
8449 DLLTOOL=$ac_cv_prog_DLLTOOL
8452 if test -n "$ac_cv_prog_DLLTOOL"; then
8453 for ncn_progname in dlltool; do
8454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8455 set dummy ${ncn_progname}; ac_word=$2
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8457 $as_echo_n "checking
for $ac_word...
" >&6; }
8458 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8459 $as_echo_n "(cached
) " >&6
8461 if test -n "$DLLTOOL"; then
8462 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8468 test -z "$as_dir" && as_dir=.
8469 for ac_exec_ext in '' $ac_executable_extensions; do
8470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8471 ac_cv_prog_DLLTOOL="${ncn_progname}"
8472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8481 DLLTOOL=$ac_cv_prog_DLLTOOL
8482 if test -n "$DLLTOOL"; then
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8484 $as_echo "$DLLTOOL" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8487 $as_echo "no
" >&6; }
8494 for ncn_progname in dlltool; do
8495 if test -n "$ncn_tool_prefix"; then
8496 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8497 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8499 $as_echo_n "checking
for $ac_word...
" >&6; }
8500 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8501 $as_echo_n "(cached
) " >&6
8503 if test -n "$DLLTOOL"; then
8504 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8510 test -z "$as_dir" && as_dir=.
8511 for ac_exec_ext in '' $ac_executable_extensions; do
8512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8513 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8523 DLLTOOL=$ac_cv_prog_DLLTOOL
8524 if test -n "$DLLTOOL"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8526 $as_echo "$DLLTOOL" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8529 $as_echo "no
" >&6; }
8534 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8535 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8536 set dummy ${ncn_progname}; ac_word=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8538 $as_echo_n "checking
for $ac_word...
" >&6; }
8539 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8540 $as_echo_n "(cached
) " >&6
8542 if test -n "$DLLTOOL"; then
8543 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8549 test -z "$as_dir" && as_dir=.
8550 for ac_exec_ext in '' $ac_executable_extensions; do
8551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552 ac_cv_prog_DLLTOOL="${ncn_progname}"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8562 DLLTOOL=$ac_cv_prog_DLLTOOL
8563 if test -n "$DLLTOOL"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8565 $as_echo "$DLLTOOL" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8568 $as_echo "no
" >&6; }
8573 test -n "$ac_cv_prog_DLLTOOL" && break
8576 if test -z "$ac_cv_prog_DLLTOOL" ; then
8578 if test $build = $host ; then
8581 DLLTOOL="${ncn_tool_prefix}$2"
8587 if test -n "$LD"; then
8589 elif test -n "$ac_cv_prog_LD"; then
8593 if test -n "$ac_cv_prog_LD"; then
8594 for ncn_progname in ld; do
8595 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8596 set dummy ${ncn_progname}; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8598 $as_echo_n "checking
for $ac_word...
" >&6; }
8599 if test "${ac_cv_prog_LD+set}" = set; then :
8600 $as_echo_n "(cached
) " >&6
8602 if test -n "$LD"; then
8603 ac_cv_prog_LD="$LD" # Let the user override the test.
8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 test -z "$as_dir" && as_dir=.
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8612 ac_cv_prog_LD="${ncn_progname}"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8623 if test -n "$LD"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8625 $as_echo "$LD" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8628 $as_echo "no
" >&6; }
8635 for ncn_progname in ld; do
8636 if test -n "$ncn_tool_prefix"; then
8637 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8638 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8640 $as_echo_n "checking
for $ac_word...
" >&6; }
8641 if test "${ac_cv_prog_LD+set}" = set; then :
8642 $as_echo_n "(cached
) " >&6
8644 if test -n "$LD"; then
8645 ac_cv_prog_LD="$LD" # Let the user override the test.
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8651 test -z "$as_dir" && as_dir=.
8652 for ac_exec_ext in '' $ac_executable_extensions; do
8653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8654 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8665 if test -n "$LD"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8667 $as_echo "$LD" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8670 $as_echo "no
" >&6; }
8675 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8677 set dummy ${ncn_progname}; ac_word=$2
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8679 $as_echo_n "checking
for $ac_word...
" >&6; }
8680 if test "${ac_cv_prog_LD+set}" = set; then :
8681 $as_echo_n "(cached
) " >&6
8683 if test -n "$LD"; then
8684 ac_cv_prog_LD="$LD" # Let the user override the test.
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8693 ac_cv_prog_LD="${ncn_progname}"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 if test -n "$LD"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8706 $as_echo "$LD" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8709 $as_echo "no
" >&6; }
8714 test -n "$ac_cv_prog_LD" && break
8717 if test -z "$ac_cv_prog_LD" ; then
8719 if test $build = $host ; then
8722 LD="${ncn_tool_prefix}$2"
8728 if test -n "$LIPO"; then
8729 ac_cv_prog_LIPO=$LIPO
8730 elif test -n "$ac_cv_prog_LIPO"; then
8731 LIPO=$ac_cv_prog_LIPO
8734 if test -n "$ac_cv_prog_LIPO"; then
8735 for ncn_progname in lipo; do
8736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8737 set dummy ${ncn_progname}; ac_word=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8739 $as_echo_n "checking
for $ac_word...
" >&6; }
8740 if test "${ac_cv_prog_LIPO+set}" = set; then :
8741 $as_echo_n "(cached
) " >&6
8743 if test -n "$LIPO"; then
8744 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8753 ac_cv_prog_LIPO="${ncn_progname}"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8763 LIPO=$ac_cv_prog_LIPO
8764 if test -n "$LIPO"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8766 $as_echo "$LIPO" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8769 $as_echo "no
" >&6; }
8776 for ncn_progname in lipo; do
8777 if test -n "$ncn_tool_prefix"; then
8778 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8779 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8781 $as_echo_n "checking
for $ac_word...
" >&6; }
8782 if test "${ac_cv_prog_LIPO+set}" = set; then :
8783 $as_echo_n "(cached
) " >&6
8785 if test -n "$LIPO"; then
8786 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8795 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8805 LIPO=$ac_cv_prog_LIPO
8806 if test -n "$LIPO"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8808 $as_echo "$LIPO" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8811 $as_echo "no
" >&6; }
8816 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8818 set dummy ${ncn_progname}; ac_word=$2
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8820 $as_echo_n "checking
for $ac_word...
" >&6; }
8821 if test "${ac_cv_prog_LIPO+set}" = set; then :
8822 $as_echo_n "(cached
) " >&6
8824 if test -n "$LIPO"; then
8825 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8831 test -z "$as_dir" && as_dir=.
8832 for ac_exec_ext in '' $ac_executable_extensions; do
8833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8834 ac_cv_prog_LIPO="${ncn_progname}"
8835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8844 LIPO=$ac_cv_prog_LIPO
8845 if test -n "$LIPO"; then
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8847 $as_echo "$LIPO" >&6; }
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8850 $as_echo "no
" >&6; }
8855 test -n "$ac_cv_prog_LIPO" && break
8858 if test -z "$ac_cv_prog_LIPO" ; then
8860 if test $build = $host ; then
8863 LIPO="${ncn_tool_prefix}$2"
8869 if test -n "$NM"; then
8871 elif test -n "$ac_cv_prog_NM"; then
8875 if test -n "$ac_cv_prog_NM"; then
8876 for ncn_progname in nm; do
8877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8878 set dummy ${ncn_progname}; ac_word=$2
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8880 $as_echo_n "checking
for $ac_word...
" >&6; }
8881 if test "${ac_cv_prog_NM+set}" = set; then :
8882 $as_echo_n "(cached
) " >&6
8884 if test -n "$NM"; then
8885 ac_cv_prog_NM="$NM" # Let the user override the test.
8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 test -z "$as_dir" && as_dir=.
8892 for ac_exec_ext in '' $ac_executable_extensions; do
8893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8894 ac_cv_prog_NM="${ncn_progname}"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8905 if test -n "$NM"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8907 $as_echo "$NM" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8910 $as_echo "no
" >&6; }
8917 for ncn_progname in nm; do
8918 if test -n "$ncn_tool_prefix"; then
8919 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8920 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8922 $as_echo_n "checking
for $ac_word...
" >&6; }
8923 if test "${ac_cv_prog_NM+set}" = set; then :
8924 $as_echo_n "(cached
) " >&6
8926 if test -n "$NM"; then
8927 ac_cv_prog_NM="$NM" # Let the user override the test.
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8936 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8947 if test -n "$NM"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8949 $as_echo "$NM" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8952 $as_echo "no
" >&6; }
8957 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8959 set dummy ${ncn_progname}; ac_word=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8961 $as_echo_n "checking
for $ac_word...
" >&6; }
8962 if test "${ac_cv_prog_NM+set}" = set; then :
8963 $as_echo_n "(cached
) " >&6
8965 if test -n "$NM"; then
8966 ac_cv_prog_NM="$NM" # Let the user override the test.
8968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8972 test -z "$as_dir" && as_dir=.
8973 for ac_exec_ext in '' $ac_executable_extensions; do
8974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8975 ac_cv_prog_NM="${ncn_progname}"
8976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8986 if test -n "$NM"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8988 $as_echo "$NM" >&6; }
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8991 $as_echo "no
" >&6; }
8996 test -n "$ac_cv_prog_NM" && break
8999 if test -z "$ac_cv_prog_NM" ; then
9001 if test $build = $host ; then
9004 NM="${ncn_tool_prefix}$2"
9010 if test -n "$RANLIB"; then
9011 ac_cv_prog_RANLIB=$RANLIB
9012 elif test -n "$ac_cv_prog_RANLIB"; then
9013 RANLIB=$ac_cv_prog_RANLIB
9016 if test -n "$ac_cv_prog_RANLIB"; then
9017 for ncn_progname in ranlib; do
9018 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9019 set dummy ${ncn_progname}; ac_word=$2
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9021 $as_echo_n "checking
for $ac_word...
" >&6; }
9022 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9023 $as_echo_n "(cached
) " >&6
9025 if test -n "$RANLIB"; then
9026 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9032 test -z "$as_dir" && as_dir=.
9033 for ac_exec_ext in '' $ac_executable_extensions; do
9034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9035 ac_cv_prog_RANLIB="${ncn_progname}"
9036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9045 RANLIB=$ac_cv_prog_RANLIB
9046 if test -n "$RANLIB"; then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9048 $as_echo "$RANLIB" >&6; }
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9051 $as_echo "no
" >&6; }
9058 for ncn_progname in ranlib; do
9059 if test -n "$ncn_tool_prefix"; then
9060 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9061 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9063 $as_echo_n "checking
for $ac_word...
" >&6; }
9064 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9065 $as_echo_n "(cached
) " >&6
9067 if test -n "$RANLIB"; then
9068 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9074 test -z "$as_dir" && as_dir=.
9075 for ac_exec_ext in '' $ac_executable_extensions; do
9076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9077 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9087 RANLIB=$ac_cv_prog_RANLIB
9088 if test -n "$RANLIB"; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9090 $as_echo "$RANLIB" >&6; }
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9093 $as_echo "no
" >&6; }
9098 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9100 set dummy ${ncn_progname}; ac_word=$2
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9102 $as_echo_n "checking
for $ac_word...
" >&6; }
9103 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9104 $as_echo_n "(cached
) " >&6
9106 if test -n "$RANLIB"; then
9107 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9113 test -z "$as_dir" && as_dir=.
9114 for ac_exec_ext in '' $ac_executable_extensions; do
9115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9116 ac_cv_prog_RANLIB="${ncn_progname}"
9117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9126 RANLIB=$ac_cv_prog_RANLIB
9127 if test -n "$RANLIB"; then
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9129 $as_echo "$RANLIB" >&6; }
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9132 $as_echo "no
" >&6; }
9137 test -n "$ac_cv_prog_RANLIB" && break
9140 if test -z "$ac_cv_prog_RANLIB" ; then
9146 if test -n "$STRIP"; then
9147 ac_cv_prog_STRIP=$STRIP
9148 elif test -n "$ac_cv_prog_STRIP"; then
9149 STRIP=$ac_cv_prog_STRIP
9152 if test -n "$ac_cv_prog_STRIP"; then
9153 for ncn_progname in strip; do
9154 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9155 set dummy ${ncn_progname}; ac_word=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9157 $as_echo_n "checking
for $ac_word...
" >&6; }
9158 if test "${ac_cv_prog_STRIP+set}" = set; then :
9159 $as_echo_n "(cached
) " >&6
9161 if test -n "$STRIP"; then
9162 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir=.
9169 for ac_exec_ext in '' $ac_executable_extensions; do
9170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9171 ac_cv_prog_STRIP="${ncn_progname}"
9172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9181 STRIP=$ac_cv_prog_STRIP
9182 if test -n "$STRIP"; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9184 $as_echo "$STRIP" >&6; }
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9187 $as_echo "no
" >&6; }
9194 for ncn_progname in strip; do
9195 if test -n "$ncn_tool_prefix"; then
9196 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9197 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9199 $as_echo_n "checking
for $ac_word...
" >&6; }
9200 if test "${ac_cv_prog_STRIP+set}" = set; then :
9201 $as_echo_n "(cached
) " >&6
9203 if test -n "$STRIP"; then
9204 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9210 test -z "$as_dir" && as_dir=.
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9213 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9223 STRIP=$ac_cv_prog_STRIP
9224 if test -n "$STRIP"; then
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9226 $as_echo "$STRIP" >&6; }
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9229 $as_echo "no
" >&6; }
9234 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9235 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9236 set dummy ${ncn_progname}; ac_word=$2
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9238 $as_echo_n "checking
for $ac_word...
" >&6; }
9239 if test "${ac_cv_prog_STRIP+set}" = set; then :
9240 $as_echo_n "(cached
) " >&6
9242 if test -n "$STRIP"; then
9243 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9249 test -z "$as_dir" && as_dir=.
9250 for ac_exec_ext in '' $ac_executable_extensions; do
9251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9252 ac_cv_prog_STRIP="${ncn_progname}"
9253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9262 STRIP=$ac_cv_prog_STRIP
9263 if test -n "$STRIP"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9265 $as_echo "$STRIP" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9268 $as_echo "no
" >&6; }
9273 test -n "$ac_cv_prog_STRIP" && break
9276 if test -z "$ac_cv_prog_STRIP" ; then
9282 if test -n "$WINDRES"; then
9283 ac_cv_prog_WINDRES=$WINDRES
9284 elif test -n "$ac_cv_prog_WINDRES"; then
9285 WINDRES=$ac_cv_prog_WINDRES
9288 if test -n "$ac_cv_prog_WINDRES"; then
9289 for ncn_progname in windres; do
9290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9291 set dummy ${ncn_progname}; ac_word=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9293 $as_echo_n "checking
for $ac_word...
" >&6; }
9294 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9295 $as_echo_n "(cached
) " >&6
9297 if test -n "$WINDRES"; then
9298 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9304 test -z "$as_dir" && as_dir=.
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9307 ac_cv_prog_WINDRES="${ncn_progname}"
9308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9317 WINDRES=$ac_cv_prog_WINDRES
9318 if test -n "$WINDRES"; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9320 $as_echo "$WINDRES" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9323 $as_echo "no
" >&6; }
9330 for ncn_progname in windres; do
9331 if test -n "$ncn_tool_prefix"; then
9332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9333 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9335 $as_echo_n "checking
for $ac_word...
" >&6; }
9336 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9337 $as_echo_n "(cached
) " >&6
9339 if test -n "$WINDRES"; then
9340 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9359 WINDRES=$ac_cv_prog_WINDRES
9360 if test -n "$WINDRES"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9362 $as_echo "$WINDRES" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9365 $as_echo "no
" >&6; }
9370 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9372 set dummy ${ncn_progname}; ac_word=$2
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9374 $as_echo_n "checking
for $ac_word...
" >&6; }
9375 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9376 $as_echo_n "(cached
) " >&6
9378 if test -n "$WINDRES"; then
9379 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9385 test -z "$as_dir" && as_dir=.
9386 for ac_exec_ext in '' $ac_executable_extensions; do
9387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9388 ac_cv_prog_WINDRES="${ncn_progname}"
9389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9398 WINDRES=$ac_cv_prog_WINDRES
9399 if test -n "$WINDRES"; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9401 $as_echo "$WINDRES" >&6; }
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9404 $as_echo "no
" >&6; }
9409 test -n "$ac_cv_prog_WINDRES" && break
9412 if test -z "$ac_cv_prog_WINDRES" ; then
9414 if test $build = $host ; then
9417 WINDRES="${ncn_tool_prefix}$2"
9423 if test -n "$WINDMC"; then
9424 ac_cv_prog_WINDMC=$WINDMC
9425 elif test -n "$ac_cv_prog_WINDMC"; then
9426 WINDMC=$ac_cv_prog_WINDMC
9429 if test -n "$ac_cv_prog_WINDMC"; then
9430 for ncn_progname in windmc; do
9431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9432 set dummy ${ncn_progname}; ac_word=$2
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9434 $as_echo_n "checking
for $ac_word...
" >&6; }
9435 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9436 $as_echo_n "(cached
) " >&6
9438 if test -n "$WINDMC"; then
9439 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9445 test -z "$as_dir" && as_dir=.
9446 for ac_exec_ext in '' $ac_executable_extensions; do
9447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9448 ac_cv_prog_WINDMC="${ncn_progname}"
9449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9458 WINDMC=$ac_cv_prog_WINDMC
9459 if test -n "$WINDMC"; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9461 $as_echo "$WINDMC" >&6; }
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9464 $as_echo "no
" >&6; }
9471 for ncn_progname in windmc; do
9472 if test -n "$ncn_tool_prefix"; then
9473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9474 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9476 $as_echo_n "checking
for $ac_word...
" >&6; }
9477 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9478 $as_echo_n "(cached
) " >&6
9480 if test -n "$WINDMC"; then
9481 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9490 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9500 WINDMC=$ac_cv_prog_WINDMC
9501 if test -n "$WINDMC"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9503 $as_echo "$WINDMC" >&6; }
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9506 $as_echo "no
" >&6; }
9511 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9513 set dummy ${ncn_progname}; ac_word=$2
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9515 $as_echo_n "checking
for $ac_word...
" >&6; }
9516 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9517 $as_echo_n "(cached
) " >&6
9519 if test -n "$WINDMC"; then
9520 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9526 test -z "$as_dir" && as_dir=.
9527 for ac_exec_ext in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_prog_WINDMC="${ncn_progname}"
9530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9539 WINDMC=$ac_cv_prog_WINDMC
9540 if test -n "$WINDMC"; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9542 $as_echo "$WINDMC" >&6; }
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9545 $as_echo "no
" >&6; }
9550 test -n "$ac_cv_prog_WINDMC" && break
9553 if test -z "$ac_cv_prog_WINDMC" ; then
9555 if test $build = $host ; then
9558 WINDMC="${ncn_tool_prefix}$2"
9564 if test -n "$OBJCOPY"; then
9565 ac_cv_prog_OBJCOPY=$OBJCOPY
9566 elif test -n "$ac_cv_prog_OBJCOPY"; then
9567 OBJCOPY=$ac_cv_prog_OBJCOPY
9570 if test -n "$ac_cv_prog_OBJCOPY"; then
9571 for ncn_progname in objcopy; do
9572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9573 set dummy ${ncn_progname}; ac_word=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9575 $as_echo_n "checking
for $ac_word...
" >&6; }
9576 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9577 $as_echo_n "(cached
) " >&6
9579 if test -n "$OBJCOPY"; then
9580 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9586 test -z "$as_dir" && as_dir=.
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9589 ac_cv_prog_OBJCOPY="${ncn_progname}"
9590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9599 OBJCOPY=$ac_cv_prog_OBJCOPY
9600 if test -n "$OBJCOPY"; then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9602 $as_echo "$OBJCOPY" >&6; }
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9605 $as_echo "no
" >&6; }
9612 for ncn_progname in objcopy; do
9613 if test -n "$ncn_tool_prefix"; then
9614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9615 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9617 $as_echo_n "checking
for $ac_word...
" >&6; }
9618 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9619 $as_echo_n "(cached
) " >&6
9621 if test -n "$OBJCOPY"; then
9622 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9628 test -z "$as_dir" && as_dir=.
9629 for ac_exec_ext in '' $ac_executable_extensions; do
9630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9631 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9641 OBJCOPY=$ac_cv_prog_OBJCOPY
9642 if test -n "$OBJCOPY"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9644 $as_echo "$OBJCOPY" >&6; }
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9647 $as_echo "no
" >&6; }
9652 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9654 set dummy ${ncn_progname}; ac_word=$2
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9656 $as_echo_n "checking
for $ac_word...
" >&6; }
9657 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9658 $as_echo_n "(cached
) " >&6
9660 if test -n "$OBJCOPY"; then
9661 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667 test -z "$as_dir" && as_dir=.
9668 for ac_exec_ext in '' $ac_executable_extensions; do
9669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9670 ac_cv_prog_OBJCOPY="${ncn_progname}"
9671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9680 OBJCOPY=$ac_cv_prog_OBJCOPY
9681 if test -n "$OBJCOPY"; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9683 $as_echo "$OBJCOPY" >&6; }
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9686 $as_echo "no
" >&6; }
9691 test -n "$ac_cv_prog_OBJCOPY" && break
9694 if test -z "$ac_cv_prog_OBJCOPY" ; then
9696 if test $build = $host ; then
9699 OBJCOPY="${ncn_tool_prefix}$2"
9705 if test -n "$OBJDUMP"; then
9706 ac_cv_prog_OBJDUMP=$OBJDUMP
9707 elif test -n "$ac_cv_prog_OBJDUMP"; then
9708 OBJDUMP=$ac_cv_prog_OBJDUMP
9711 if test -n "$ac_cv_prog_OBJDUMP"; then
9712 for ncn_progname in objdump; do
9713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9714 set dummy ${ncn_progname}; ac_word=$2
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9716 $as_echo_n "checking
for $ac_word...
" >&6; }
9717 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9718 $as_echo_n "(cached
) " >&6
9720 if test -n "$OBJDUMP"; then
9721 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_prog_OBJDUMP="${ncn_progname}"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9740 OBJDUMP=$ac_cv_prog_OBJDUMP
9741 if test -n "$OBJDUMP"; then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9743 $as_echo "$OBJDUMP" >&6; }
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9746 $as_echo "no
" >&6; }
9753 for ncn_progname in objdump; do
9754 if test -n "$ncn_tool_prefix"; then
9755 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9756 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9758 $as_echo_n "checking
for $ac_word...
" >&6; }
9759 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9760 $as_echo_n "(cached
) " >&6
9762 if test -n "$OBJDUMP"; then
9763 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9772 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9782 OBJDUMP=$ac_cv_prog_OBJDUMP
9783 if test -n "$OBJDUMP"; then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9785 $as_echo "$OBJDUMP" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9788 $as_echo "no
" >&6; }
9793 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9795 set dummy ${ncn_progname}; ac_word=$2
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9797 $as_echo_n "checking
for $ac_word...
" >&6; }
9798 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9799 $as_echo_n "(cached
) " >&6
9801 if test -n "$OBJDUMP"; then
9802 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir=.
9809 for ac_exec_ext in '' $ac_executable_extensions; do
9810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9811 ac_cv_prog_OBJDUMP="${ncn_progname}"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9821 OBJDUMP=$ac_cv_prog_OBJDUMP
9822 if test -n "$OBJDUMP"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9824 $as_echo "$OBJDUMP" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9827 $as_echo "no
" >&6; }
9832 test -n "$ac_cv_prog_OBJDUMP" && break
9835 if test -z "$ac_cv_prog_OBJDUMP" ; then
9837 if test $build = $host ; then
9840 OBJDUMP="${ncn_tool_prefix}$2"
9846 if test -n "$READELF"; then
9847 ac_cv_prog_READELF=$READELF
9848 elif test -n "$ac_cv_prog_READELF"; then
9849 READELF=$ac_cv_prog_READELF
9852 if test -n "$ac_cv_prog_READELF"; then
9853 for ncn_progname in readelf; do
9854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9855 set dummy ${ncn_progname}; ac_word=$2
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9857 $as_echo_n "checking
for $ac_word...
" >&6; }
9858 if test "${ac_cv_prog_READELF+set}" = set; then :
9859 $as_echo_n "(cached
) " >&6
9861 if test -n "$READELF"; then
9862 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir=.
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9871 ac_cv_prog_READELF="${ncn_progname}"
9872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9881 READELF=$ac_cv_prog_READELF
9882 if test -n "$READELF"; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9884 $as_echo "$READELF" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9887 $as_echo "no
" >&6; }
9894 for ncn_progname in readelf; do
9895 if test -n "$ncn_tool_prefix"; then
9896 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9897 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9899 $as_echo_n "checking
for $ac_word...
" >&6; }
9900 if test "${ac_cv_prog_READELF+set}" = set; then :
9901 $as_echo_n "(cached
) " >&6
9903 if test -n "$READELF"; then
9904 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9910 test -z "$as_dir" && as_dir=.
9911 for ac_exec_ext in '' $ac_executable_extensions; do
9912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9913 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9923 READELF=$ac_cv_prog_READELF
9924 if test -n "$READELF"; then
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9926 $as_echo "$READELF" >&6; }
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9929 $as_echo "no
" >&6; }
9934 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9936 set dummy ${ncn_progname}; ac_word=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9938 $as_echo_n "checking
for $ac_word...
" >&6; }
9939 if test "${ac_cv_prog_READELF+set}" = set; then :
9940 $as_echo_n "(cached
) " >&6
9942 if test -n "$READELF"; then
9943 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9952 ac_cv_prog_READELF="${ncn_progname}"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9962 READELF=$ac_cv_prog_READELF
9963 if test -n "$READELF"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9965 $as_echo "$READELF" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9968 $as_echo "no
" >&6; }
9973 test -n "$ac_cv_prog_READELF" && break
9976 if test -z "$ac_cv_prog_READELF" ; then
9978 if test $build = $host ; then
9981 READELF="${ncn_tool_prefix}$2"
9992 # Check whether --with-build-time-tools was given.
9993 if test "${with_build_time_tools+set}" = set; then :
9994 withval=$with_build_time_tools; case x"$withval" in
9997 with_build_time_tools=
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9999 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10003 with_build_time_tools=
10009 if test -n "$CC_FOR_TARGET"; then
10010 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10011 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10012 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10015 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10016 for ncn_progname in cc gcc; do
10017 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10018 set dummy ${ncn_progname}; ac_word=$2
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10020 $as_echo_n "checking
for $ac_word...
" >&6; }
10021 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10022 $as_echo_n "(cached
) " >&6
10024 if test -n "$CC_FOR_TARGET"; then
10025 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10028 for as_dir in $PATH
10031 test -z "$as_dir" && as_dir=.
10032 for ac_exec_ext in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10044 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10045 if test -n "$CC_FOR_TARGET"; then
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10047 $as_echo "$CC_FOR_TARGET" >&6; }
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10050 $as_echo "no
" >&6; }
10057 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10058 for ncn_progname in cc gcc; do
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10060 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10061 if test -x $with_build_time_tools/${ncn_progname}; then
10062 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10064 $as_echo "yes" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10068 $as_echo "no
" >&6; }
10073 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10074 for ncn_progname in cc gcc; do
10075 if test -n "$ncn_target_tool_prefix"; then
10076 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10077 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10079 $as_echo_n "checking
for $ac_word...
" >&6; }
10080 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10081 $as_echo_n "(cached
) " >&6
10083 if test -n "$CC_FOR_TARGET"; then
10084 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087 for as_dir in $PATH
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10093 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10103 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10104 if test -n "$CC_FOR_TARGET"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10106 $as_echo "$CC_FOR_TARGET" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10109 $as_echo "no
" >&6; }
10114 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10115 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10116 set dummy ${ncn_progname}; ac_word=$2
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10118 $as_echo_n "checking
for $ac_word...
" >&6; }
10119 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10120 $as_echo_n "(cached
) " >&6
10122 if test -n "$CC_FOR_TARGET"; then
10123 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10126 for as_dir in $PATH
10129 test -z "$as_dir" && as_dir=.
10130 for ac_exec_ext in '' $ac_executable_extensions; do
10131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10132 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10142 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10143 if test -n "$CC_FOR_TARGET"; then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10145 $as_echo "$CC_FOR_TARGET" >&6; }
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10148 $as_echo "no
" >&6; }
10153 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10157 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10159 if test $build = $target ; then
10162 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10165 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10170 if test -n "$CXX_FOR_TARGET"; then
10171 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10172 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10173 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10176 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10177 for ncn_progname in c++ g++ cxx gxx; do
10178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10179 set dummy ${ncn_progname}; ac_word=$2
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10181 $as_echo_n "checking
for $ac_word...
" >&6; }
10182 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10183 $as_echo_n "(cached
) " >&6
10185 if test -n "$CXX_FOR_TARGET"; then
10186 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10189 for as_dir in $PATH
10192 test -z "$as_dir" && as_dir=.
10193 for ac_exec_ext in '' $ac_executable_extensions; do
10194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10195 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10205 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10206 if test -n "$CXX_FOR_TARGET"; then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10208 $as_echo "$CXX_FOR_TARGET" >&6; }
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10211 $as_echo "no
" >&6; }
10218 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10219 for ncn_progname in c++ g++ cxx gxx; do
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10221 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10222 if test -x $with_build_time_tools/${ncn_progname}; then
10223 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10225 $as_echo "yes" >&6; }
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10229 $as_echo "no
" >&6; }
10234 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10235 for ncn_progname in c++ g++ cxx gxx; do
10236 if test -n "$ncn_target_tool_prefix"; then
10237 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10238 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10240 $as_echo_n "checking
for $ac_word...
" >&6; }
10241 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10242 $as_echo_n "(cached
) " >&6
10244 if test -n "$CXX_FOR_TARGET"; then
10245 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10248 for as_dir in $PATH
10251 test -z "$as_dir" && as_dir=.
10252 for ac_exec_ext in '' $ac_executable_extensions; do
10253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10254 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10264 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10265 if test -n "$CXX_FOR_TARGET"; then
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10267 $as_echo "$CXX_FOR_TARGET" >&6; }
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10270 $as_echo "no
" >&6; }
10275 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10277 set dummy ${ncn_progname}; ac_word=$2
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10279 $as_echo_n "checking
for $ac_word...
" >&6; }
10280 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10281 $as_echo_n "(cached
) " >&6
10283 if test -n "$CXX_FOR_TARGET"; then
10284 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10287 for as_dir in $PATH
10290 test -z "$as_dir" && as_dir=.
10291 for ac_exec_ext in '' $ac_executable_extensions; do
10292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10293 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10303 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10304 if test -n "$CXX_FOR_TARGET"; then
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10306 $as_echo "$CXX_FOR_TARGET" >&6; }
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10309 $as_echo "no
" >&6; }
10314 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10318 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10319 set dummy c++ g++ cxx gxx
10320 if test $build = $target ; then
10321 CXX_FOR_TARGET="$2"
10323 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10326 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10331 if test -n "$GCC_FOR_TARGET"; then
10332 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10333 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10334 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10337 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10338 for ncn_progname in gcc; do
10339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10340 set dummy ${ncn_progname}; ac_word=$2
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10342 $as_echo_n "checking
for $ac_word...
" >&6; }
10343 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10344 $as_echo_n "(cached
) " >&6
10346 if test -n "$GCC_FOR_TARGET"; then
10347 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10350 for as_dir in $PATH
10353 test -z "$as_dir" && as_dir=.
10354 for ac_exec_ext in '' $ac_executable_extensions; do
10355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10356 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10366 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10367 if test -n "$GCC_FOR_TARGET"; then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10369 $as_echo "$GCC_FOR_TARGET" >&6; }
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10372 $as_echo "no
" >&6; }
10379 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10380 for ncn_progname in gcc; do
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10382 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10383 if test -x $with_build_time_tools/${ncn_progname}; then
10384 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10386 $as_echo "yes" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10390 $as_echo "no
" >&6; }
10395 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10396 for ncn_progname in gcc; do
10397 if test -n "$ncn_target_tool_prefix"; then
10398 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10399 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10401 $as_echo_n "checking
for $ac_word...
" >&6; }
10402 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10403 $as_echo_n "(cached
) " >&6
10405 if test -n "$GCC_FOR_TARGET"; then
10406 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $PATH
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10415 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10425 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10426 if test -n "$GCC_FOR_TARGET"; then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10428 $as_echo "$GCC_FOR_TARGET" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10431 $as_echo "no
" >&6; }
10436 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10438 set dummy ${ncn_progname}; ac_word=$2
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10440 $as_echo_n "checking
for $ac_word...
" >&6; }
10441 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10442 $as_echo_n "(cached
) " >&6
10444 if test -n "$GCC_FOR_TARGET"; then
10445 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10448 for as_dir in $PATH
10451 test -z "$as_dir" && as_dir=.
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10454 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10464 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10465 if test -n "$GCC_FOR_TARGET"; then
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10467 $as_echo "$GCC_FOR_TARGET" >&6; }
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10470 $as_echo "no
" >&6; }
10475 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10479 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10480 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10482 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10487 if test -n "$GFORTRAN_FOR_TARGET"; then
10488 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10489 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10490 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10493 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10494 for ncn_progname in gfortran; do
10495 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10496 set dummy ${ncn_progname}; ac_word=$2
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10498 $as_echo_n "checking
for $ac_word...
" >&6; }
10499 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10500 $as_echo_n "(cached
) " >&6
10502 if test -n "$GFORTRAN_FOR_TARGET"; then
10503 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10506 for as_dir in $PATH
10509 test -z "$as_dir" && as_dir=.
10510 for ac_exec_ext in '' $ac_executable_extensions; do
10511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10512 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10522 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10523 if test -n "$GFORTRAN_FOR_TARGET"; then
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10525 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10528 $as_echo "no
" >&6; }
10535 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10536 for ncn_progname in gfortran; do
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10538 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10539 if test -x $with_build_time_tools/${ncn_progname}; then
10540 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10542 $as_echo "yes" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10546 $as_echo "no
" >&6; }
10551 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10552 for ncn_progname in gfortran; do
10553 if test -n "$ncn_target_tool_prefix"; then
10554 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10555 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10557 $as_echo_n "checking
for $ac_word...
" >&6; }
10558 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10559 $as_echo_n "(cached
) " >&6
10561 if test -n "$GFORTRAN_FOR_TARGET"; then
10562 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10565 for as_dir in $PATH
10568 test -z "$as_dir" && as_dir=.
10569 for ac_exec_ext in '' $ac_executable_extensions; do
10570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10571 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10581 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10582 if test -n "$GFORTRAN_FOR_TARGET"; then
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10584 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10587 $as_echo "no
" >&6; }
10592 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10593 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10594 set dummy ${ncn_progname}; ac_word=$2
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10596 $as_echo_n "checking
for $ac_word...
" >&6; }
10597 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10598 $as_echo_n "(cached
) " >&6
10600 if test -n "$GFORTRAN_FOR_TARGET"; then
10601 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10604 for as_dir in $PATH
10607 test -z "$as_dir" && as_dir=.
10608 for ac_exec_ext in '' $ac_executable_extensions; do
10609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10610 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10620 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10621 if test -n "$GFORTRAN_FOR_TARGET"; then
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10623 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10626 $as_echo "no
" >&6; }
10631 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10635 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10637 if test $build = $target ; then
10638 GFORTRAN_FOR_TARGET="$2"
10640 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10643 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10648 if test -n "$GOC_FOR_TARGET"; then
10649 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10650 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10651 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10654 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10655 for ncn_progname in gccgo; do
10656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10657 set dummy ${ncn_progname}; ac_word=$2
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10659 $as_echo_n "checking
for $ac_word...
" >&6; }
10660 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10661 $as_echo_n "(cached
) " >&6
10663 if test -n "$GOC_FOR_TARGET"; then
10664 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10667 for as_dir in $PATH
10670 test -z "$as_dir" && as_dir=.
10671 for ac_exec_ext in '' $ac_executable_extensions; do
10672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10673 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10683 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10684 if test -n "$GOC_FOR_TARGET"; then
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10686 $as_echo "$GOC_FOR_TARGET" >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10689 $as_echo "no
" >&6; }
10696 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10697 for ncn_progname in gccgo; do
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10699 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10700 if test -x $with_build_time_tools/${ncn_progname}; then
10701 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10703 $as_echo "yes" >&6; }
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10707 $as_echo "no
" >&6; }
10712 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10713 for ncn_progname in gccgo; do
10714 if test -n "$ncn_target_tool_prefix"; then
10715 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10716 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10718 $as_echo_n "checking
for $ac_word...
" >&6; }
10719 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10720 $as_echo_n "(cached
) " >&6
10722 if test -n "$GOC_FOR_TARGET"; then
10723 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10726 for as_dir in $PATH
10729 test -z "$as_dir" && as_dir=.
10730 for ac_exec_ext in '' $ac_executable_extensions; do
10731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10732 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10742 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10743 if test -n "$GOC_FOR_TARGET"; then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10745 $as_echo "$GOC_FOR_TARGET" >&6; }
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10748 $as_echo "no
" >&6; }
10753 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10754 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10755 set dummy ${ncn_progname}; ac_word=$2
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10757 $as_echo_n "checking
for $ac_word...
" >&6; }
10758 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10759 $as_echo_n "(cached
) " >&6
10761 if test -n "$GOC_FOR_TARGET"; then
10762 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10765 for as_dir in $PATH
10768 test -z "$as_dir" && as_dir=.
10769 for ac_exec_ext in '' $ac_executable_extensions; do
10770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10771 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10781 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10782 if test -n "$GOC_FOR_TARGET"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10784 $as_echo "$GOC_FOR_TARGET" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10787 $as_echo "no
" >&6; }
10792 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10796 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10798 if test $build = $target ; then
10799 GOC_FOR_TARGET="$2"
10801 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10804 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10809 cat > conftest.c << \EOF
10814 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10815 have_gcc_for_target=yes
10817 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10818 have_gcc_for_target=no
10825 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10826 if test -n "$with_build_time_tools"; then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10828 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10829 if test -x $with_build_time_tools/ar; then
10830 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10831 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10833 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10836 $as_echo "no
" >&6; }
10838 elif test $build != $host && test $have_gcc_for_target = yes; then
10839 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10840 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10841 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10844 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10845 # Extract the first word of "ar", so it can be a program name with args.
10846 set dummy ar; ac_word=$2
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10848 $as_echo_n "checking
for $ac_word...
" >&6; }
10849 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10850 $as_echo_n "(cached
) " >&6
10852 case $AR_FOR_TARGET in
10854 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10858 for as_dir in $gcc_cv_tool_dirs
10861 test -z "$as_dir" && as_dir=.
10862 for ac_exec_ext in '' $ac_executable_extensions; do
10863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10864 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10865 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10875 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10876 if test -n "$AR_FOR_TARGET"; then
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10878 $as_echo "$AR_FOR_TARGET" >&6; }
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10881 $as_echo "no
" >&6; }
10886 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10889 if test -n "$AR_FOR_TARGET"; then
10890 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10891 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10892 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10895 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10896 for ncn_progname in ar; do
10897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10898 set dummy ${ncn_progname}; ac_word=$2
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10900 $as_echo_n "checking
for $ac_word...
" >&6; }
10901 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10902 $as_echo_n "(cached
) " >&6
10904 if test -n "$AR_FOR_TARGET"; then
10905 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10908 for as_dir in $PATH
10911 test -z "$as_dir" && as_dir=.
10912 for ac_exec_ext in '' $ac_executable_extensions; do
10913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10914 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10924 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10925 if test -n "$AR_FOR_TARGET"; then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10927 $as_echo "$AR_FOR_TARGET" >&6; }
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10930 $as_echo "no
" >&6; }
10937 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10938 for ncn_progname in ar; do
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10940 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10941 if test -x $with_build_time_tools/${ncn_progname}; then
10942 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10944 $as_echo "yes" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10948 $as_echo "no
" >&6; }
10953 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10954 for ncn_progname in ar; do
10955 if test -n "$ncn_target_tool_prefix"; then
10956 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10957 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10959 $as_echo_n "checking
for $ac_word...
" >&6; }
10960 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10961 $as_echo_n "(cached
) " >&6
10963 if test -n "$AR_FOR_TARGET"; then
10964 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10967 for as_dir in $PATH
10970 test -z "$as_dir" && as_dir=.
10971 for ac_exec_ext in '' $ac_executable_extensions; do
10972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10973 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10983 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10984 if test -n "$AR_FOR_TARGET"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10986 $as_echo "$AR_FOR_TARGET" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10989 $as_echo "no
" >&6; }
10994 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10996 set dummy ${ncn_progname}; ac_word=$2
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10998 $as_echo_n "checking
for $ac_word...
" >&6; }
10999 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11000 $as_echo_n "(cached
) " >&6
11002 if test -n "$AR_FOR_TARGET"; then
11003 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11006 for as_dir in $PATH
11009 test -z "$as_dir" && as_dir=.
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11012 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11022 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11023 if test -n "$AR_FOR_TARGET"; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11025 $as_echo "$AR_FOR_TARGET" >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11028 $as_echo "no
" >&6; }
11033 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11037 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11039 if test $build = $target ; then
11042 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11045 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11049 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11055 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11056 if test -n "$with_build_time_tools"; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11058 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11059 if test -x $with_build_time_tools/as; then
11060 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11061 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11063 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11066 $as_echo "no
" >&6; }
11068 elif test $build != $host && test $have_gcc_for_target = yes; then
11069 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11070 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11071 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11074 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11075 # Extract the first word of "as
", so it can be a program name with args.
11076 set dummy as; ac_word=$2
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11078 $as_echo_n "checking
for $ac_word...
" >&6; }
11079 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11080 $as_echo_n "(cached
) " >&6
11082 case $AS_FOR_TARGET in
11084 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11088 for as_dir in $gcc_cv_tool_dirs
11091 test -z "$as_dir" && as_dir=.
11092 for ac_exec_ext in '' $ac_executable_extensions; do
11093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11094 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11105 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11106 if test -n "$AS_FOR_TARGET"; then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11108 $as_echo "$AS_FOR_TARGET" >&6; }
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11111 $as_echo "no
" >&6; }
11116 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11119 if test -n "$AS_FOR_TARGET"; then
11120 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11121 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11122 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11125 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11126 for ncn_progname in as; do
11127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11128 set dummy ${ncn_progname}; ac_word=$2
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11130 $as_echo_n "checking
for $ac_word...
" >&6; }
11131 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11132 $as_echo_n "(cached
) " >&6
11134 if test -n "$AS_FOR_TARGET"; then
11135 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11138 for as_dir in $PATH
11141 test -z "$as_dir" && as_dir=.
11142 for ac_exec_ext in '' $ac_executable_extensions; do
11143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11144 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11154 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11155 if test -n "$AS_FOR_TARGET"; then
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11157 $as_echo "$AS_FOR_TARGET" >&6; }
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11160 $as_echo "no
" >&6; }
11167 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11168 for ncn_progname in as; do
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11170 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11171 if test -x $with_build_time_tools/${ncn_progname}; then
11172 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11174 $as_echo "yes" >&6; }
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11178 $as_echo "no
" >&6; }
11183 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11184 for ncn_progname in as; do
11185 if test -n "$ncn_target_tool_prefix"; then
11186 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11187 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11189 $as_echo_n "checking
for $ac_word...
" >&6; }
11190 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11191 $as_echo_n "(cached
) " >&6
11193 if test -n "$AS_FOR_TARGET"; then
11194 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11197 for as_dir in $PATH
11200 test -z "$as_dir" && as_dir=.
11201 for ac_exec_ext in '' $ac_executable_extensions; do
11202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11203 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11213 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11214 if test -n "$AS_FOR_TARGET"; then
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11216 $as_echo "$AS_FOR_TARGET" >&6; }
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11219 $as_echo "no
" >&6; }
11224 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11225 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11226 set dummy ${ncn_progname}; ac_word=$2
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11228 $as_echo_n "checking
for $ac_word...
" >&6; }
11229 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11230 $as_echo_n "(cached
) " >&6
11232 if test -n "$AS_FOR_TARGET"; then
11233 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11236 for as_dir in $PATH
11239 test -z "$as_dir" && as_dir=.
11240 for ac_exec_ext in '' $ac_executable_extensions; do
11241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11242 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11252 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11253 if test -n "$AS_FOR_TARGET"; then
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11255 $as_echo "$AS_FOR_TARGET" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11258 $as_echo "no
" >&6; }
11263 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11267 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11269 if test $build = $target ; then
11272 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11275 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11279 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11285 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11286 if test -n "$with_build_time_tools"; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11288 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11289 if test -x $with_build_time_tools/dlltool; then
11290 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11291 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11293 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11296 $as_echo "no
" >&6; }
11298 elif test $build != $host && test $have_gcc_for_target = yes; then
11299 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11300 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11301 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11304 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11305 # Extract the first word of "dlltool
", so it can be a program name with args.
11306 set dummy dlltool; ac_word=$2
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11308 $as_echo_n "checking
for $ac_word...
" >&6; }
11309 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11310 $as_echo_n "(cached
) " >&6
11312 case $DLLTOOL_FOR_TARGET in
11314 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11318 for as_dir in $gcc_cv_tool_dirs
11321 test -z "$as_dir" && as_dir=.
11322 for ac_exec_ext in '' $ac_executable_extensions; do
11323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11324 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11335 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11336 if test -n "$DLLTOOL_FOR_TARGET"; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11338 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11341 $as_echo "no
" >&6; }
11346 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11349 if test -n "$DLLTOOL_FOR_TARGET"; then
11350 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11351 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11352 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11355 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11356 for ncn_progname in dlltool; do
11357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11358 set dummy ${ncn_progname}; ac_word=$2
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11360 $as_echo_n "checking
for $ac_word...
" >&6; }
11361 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11362 $as_echo_n "(cached
) " >&6
11364 if test -n "$DLLTOOL_FOR_TARGET"; then
11365 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11368 for as_dir in $PATH
11371 test -z "$as_dir" && as_dir=.
11372 for ac_exec_ext in '' $ac_executable_extensions; do
11373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11374 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11384 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11385 if test -n "$DLLTOOL_FOR_TARGET"; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11387 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11390 $as_echo "no
" >&6; }
11397 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11398 for ncn_progname in dlltool; do
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11400 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11401 if test -x $with_build_time_tools/${ncn_progname}; then
11402 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11404 $as_echo "yes" >&6; }
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11408 $as_echo "no
" >&6; }
11413 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11414 for ncn_progname in dlltool; do
11415 if test -n "$ncn_target_tool_prefix"; then
11416 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11417 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11419 $as_echo_n "checking
for $ac_word...
" >&6; }
11420 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11421 $as_echo_n "(cached
) " >&6
11423 if test -n "$DLLTOOL_FOR_TARGET"; then
11424 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11427 for as_dir in $PATH
11430 test -z "$as_dir" && as_dir=.
11431 for ac_exec_ext in '' $ac_executable_extensions; do
11432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11433 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11443 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11444 if test -n "$DLLTOOL_FOR_TARGET"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11446 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11449 $as_echo "no
" >&6; }
11454 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11456 set dummy ${ncn_progname}; ac_word=$2
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11458 $as_echo_n "checking
for $ac_word...
" >&6; }
11459 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11460 $as_echo_n "(cached
) " >&6
11462 if test -n "$DLLTOOL_FOR_TARGET"; then
11463 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11466 for as_dir in $PATH
11469 test -z "$as_dir" && as_dir=.
11470 for ac_exec_ext in '' $ac_executable_extensions; do
11471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11472 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11482 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11483 if test -n "$DLLTOOL_FOR_TARGET"; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11485 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11488 $as_echo "no
" >&6; }
11493 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11497 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11499 if test $build = $target ; then
11500 DLLTOOL_FOR_TARGET="$2"
11502 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11505 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11509 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11515 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11516 if test -n "$with_build_time_tools"; then
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11518 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11519 if test -x $with_build_time_tools/ld; then
11520 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11521 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11523 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11526 $as_echo "no
" >&6; }
11528 elif test $build != $host && test $have_gcc_for_target = yes; then
11529 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11530 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11531 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11534 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11535 # Extract the first word of "ld
", so it can be a program name with args.
11536 set dummy ld; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11538 $as_echo_n "checking
for $ac_word...
" >&6; }
11539 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11540 $as_echo_n "(cached
) " >&6
11542 case $LD_FOR_TARGET in
11544 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $gcc_cv_tool_dirs
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11554 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11565 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11566 if test -n "$LD_FOR_TARGET"; then
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11568 $as_echo "$LD_FOR_TARGET" >&6; }
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11571 $as_echo "no
" >&6; }
11576 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11579 if test -n "$LD_FOR_TARGET"; then
11580 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11581 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11582 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11585 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11586 for ncn_progname in ld; do
11587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11588 set dummy ${ncn_progname}; ac_word=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11590 $as_echo_n "checking
for $ac_word...
" >&6; }
11591 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11592 $as_echo_n "(cached
) " >&6
11594 if test -n "$LD_FOR_TARGET"; then
11595 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11598 for as_dir in $PATH
11601 test -z "$as_dir" && as_dir=.
11602 for ac_exec_ext in '' $ac_executable_extensions; do
11603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11604 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11614 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11615 if test -n "$LD_FOR_TARGET"; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11617 $as_echo "$LD_FOR_TARGET" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11620 $as_echo "no
" >&6; }
11627 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11628 for ncn_progname in ld; do
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11630 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11631 if test -x $with_build_time_tools/${ncn_progname}; then
11632 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11634 $as_echo "yes" >&6; }
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11638 $as_echo "no
" >&6; }
11643 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11644 for ncn_progname in ld; do
11645 if test -n "$ncn_target_tool_prefix"; then
11646 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11647 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11649 $as_echo_n "checking
for $ac_word...
" >&6; }
11650 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11651 $as_echo_n "(cached
) " >&6
11653 if test -n "$LD_FOR_TARGET"; then
11654 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11657 for as_dir in $PATH
11660 test -z "$as_dir" && as_dir=.
11661 for ac_exec_ext in '' $ac_executable_extensions; do
11662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11663 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11673 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11674 if test -n "$LD_FOR_TARGET"; then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11676 $as_echo "$LD_FOR_TARGET" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11679 $as_echo "no
" >&6; }
11684 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11686 set dummy ${ncn_progname}; ac_word=$2
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11688 $as_echo_n "checking
for $ac_word...
" >&6; }
11689 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11690 $as_echo_n "(cached
) " >&6
11692 if test -n "$LD_FOR_TARGET"; then
11693 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11696 for as_dir in $PATH
11699 test -z "$as_dir" && as_dir=.
11700 for ac_exec_ext in '' $ac_executable_extensions; do
11701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11702 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11712 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11713 if test -n "$LD_FOR_TARGET"; then
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11715 $as_echo "$LD_FOR_TARGET" >&6; }
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11718 $as_echo "no
" >&6; }
11723 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11727 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11729 if test $build = $target ; then
11732 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11735 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11739 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11745 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11746 if test -n "$with_build_time_tools"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11748 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11749 if test -x $with_build_time_tools/lipo; then
11750 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11751 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11753 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11756 $as_echo "no
" >&6; }
11758 elif test $build != $host && test $have_gcc_for_target = yes; then
11759 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11760 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11761 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11764 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11765 # Extract the first word of "lipo
", so it can be a program name with args.
11766 set dummy lipo; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11768 $as_echo_n "checking
for $ac_word...
" >&6; }
11769 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11770 $as_echo_n "(cached
) " >&6
11772 case $LIPO_FOR_TARGET in
11774 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $gcc_cv_tool_dirs
11781 test -z "$as_dir" && as_dir=.
11782 for ac_exec_ext in '' $ac_executable_extensions; do
11783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11784 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11795 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11796 if test -n "$LIPO_FOR_TARGET"; then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11798 $as_echo "$LIPO_FOR_TARGET" >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11801 $as_echo "no
" >&6; }
11806 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11809 if test -n "$LIPO_FOR_TARGET"; then
11810 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11811 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11812 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11815 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11816 for ncn_progname in lipo; do
11817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11818 set dummy ${ncn_progname}; ac_word=$2
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11820 $as_echo_n "checking
for $ac_word...
" >&6; }
11821 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11822 $as_echo_n "(cached
) " >&6
11824 if test -n "$LIPO_FOR_TARGET"; then
11825 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11828 for as_dir in $PATH
11831 test -z "$as_dir" && as_dir=.
11832 for ac_exec_ext in '' $ac_executable_extensions; do
11833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11834 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11844 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11845 if test -n "$LIPO_FOR_TARGET"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11847 $as_echo "$LIPO_FOR_TARGET" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11850 $as_echo "no
" >&6; }
11857 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11858 for ncn_progname in lipo; do
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11860 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11861 if test -x $with_build_time_tools/${ncn_progname}; then
11862 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11864 $as_echo "yes" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11868 $as_echo "no
" >&6; }
11873 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11874 for ncn_progname in lipo; do
11875 if test -n "$ncn_target_tool_prefix"; then
11876 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11877 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11879 $as_echo_n "checking
for $ac_word...
" >&6; }
11880 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11881 $as_echo_n "(cached
) " >&6
11883 if test -n "$LIPO_FOR_TARGET"; then
11884 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11887 for as_dir in $PATH
11890 test -z "$as_dir" && as_dir=.
11891 for ac_exec_ext in '' $ac_executable_extensions; do
11892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11893 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11903 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11904 if test -n "$LIPO_FOR_TARGET"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11906 $as_echo "$LIPO_FOR_TARGET" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11909 $as_echo "no
" >&6; }
11914 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11915 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11916 set dummy ${ncn_progname}; ac_word=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11918 $as_echo_n "checking
for $ac_word...
" >&6; }
11919 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11920 $as_echo_n "(cached
) " >&6
11922 if test -n "$LIPO_FOR_TARGET"; then
11923 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11929 test -z "$as_dir" && as_dir=.
11930 for ac_exec_ext in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11942 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11943 if test -n "$LIPO_FOR_TARGET"; then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11945 $as_echo "$LIPO_FOR_TARGET" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11948 $as_echo "no
" >&6; }
11953 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11957 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11959 if test $build = $target ; then
11960 LIPO_FOR_TARGET="$2"
11962 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11965 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11969 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11975 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11976 if test -n "$with_build_time_tools"; then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11978 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11979 if test -x $with_build_time_tools/nm; then
11980 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11981 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11983 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11986 $as_echo "no
" >&6; }
11988 elif test $build != $host && test $have_gcc_for_target = yes; then
11989 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11990 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11991 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11994 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11995 # Extract the first word of "nm
", so it can be a program name with args.
11996 set dummy nm; ac_word=$2
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11998 $as_echo_n "checking
for $ac_word...
" >&6; }
11999 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12000 $as_echo_n "(cached
) " >&6
12002 case $NM_FOR_TARGET in
12004 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008 for as_dir in $gcc_cv_tool_dirs
12011 test -z "$as_dir" && as_dir=.
12012 for ac_exec_ext in '' $ac_executable_extensions; do
12013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12014 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12025 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12026 if test -n "$NM_FOR_TARGET"; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12028 $as_echo "$NM_FOR_TARGET" >&6; }
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12031 $as_echo "no
" >&6; }
12036 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12039 if test -n "$NM_FOR_TARGET"; then
12040 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12041 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12042 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12045 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12046 for ncn_progname in nm; do
12047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12048 set dummy ${ncn_progname}; ac_word=$2
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12050 $as_echo_n "checking
for $ac_word...
" >&6; }
12051 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12052 $as_echo_n "(cached
) " >&6
12054 if test -n "$NM_FOR_TARGET"; then
12055 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12058 for as_dir in $PATH
12061 test -z "$as_dir" && as_dir=.
12062 for ac_exec_ext in '' $ac_executable_extensions; do
12063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12064 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12074 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12075 if test -n "$NM_FOR_TARGET"; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12077 $as_echo "$NM_FOR_TARGET" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12080 $as_echo "no
" >&6; }
12087 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12088 for ncn_progname in nm; do
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12090 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12091 if test -x $with_build_time_tools/${ncn_progname}; then
12092 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12094 $as_echo "yes" >&6; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12098 $as_echo "no
" >&6; }
12103 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12104 for ncn_progname in nm; do
12105 if test -n "$ncn_target_tool_prefix"; then
12106 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12107 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12109 $as_echo_n "checking
for $ac_word...
" >&6; }
12110 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12111 $as_echo_n "(cached
) " >&6
12113 if test -n "$NM_FOR_TARGET"; then
12114 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12133 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12134 if test -n "$NM_FOR_TARGET"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12136 $as_echo "$NM_FOR_TARGET" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12139 $as_echo "no
" >&6; }
12144 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12146 set dummy ${ncn_progname}; ac_word=$2
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12148 $as_echo_n "checking
for $ac_word...
" >&6; }
12149 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12150 $as_echo_n "(cached
) " >&6
12152 if test -n "$NM_FOR_TARGET"; then
12153 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 for as_dir in $PATH
12159 test -z "$as_dir" && as_dir=.
12160 for ac_exec_ext in '' $ac_executable_extensions; do
12161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12162 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12172 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12173 if test -n "$NM_FOR_TARGET"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12175 $as_echo "$NM_FOR_TARGET" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12178 $as_echo "no
" >&6; }
12183 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12187 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12189 if test $build = $target ; then
12192 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12195 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12199 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12205 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12206 if test -n "$with_build_time_tools"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12208 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12209 if test -x $with_build_time_tools/objcopy; then
12210 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12211 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12213 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12216 $as_echo "no
" >&6; }
12218 elif test $build != $host && test $have_gcc_for_target = yes; then
12219 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12220 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12221 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12224 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12225 # Extract the first word of "objcopy
", so it can be a program name with args.
12226 set dummy objcopy; ac_word=$2
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12228 $as_echo_n "checking
for $ac_word...
" >&6; }
12229 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12230 $as_echo_n "(cached
) " >&6
12232 case $OBJCOPY_FOR_TARGET in
12234 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $gcc_cv_tool_dirs
12241 test -z "$as_dir" && as_dir=.
12242 for ac_exec_ext in '' $ac_executable_extensions; do
12243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12244 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12255 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12256 if test -n "$OBJCOPY_FOR_TARGET"; then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12258 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12261 $as_echo "no
" >&6; }
12266 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12269 if test -n "$OBJCOPY_FOR_TARGET"; then
12270 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12271 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12272 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12275 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12276 for ncn_progname in objcopy; do
12277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12278 set dummy ${ncn_progname}; ac_word=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12280 $as_echo_n "checking
for $ac_word...
" >&6; }
12281 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12282 $as_echo_n "(cached
) " >&6
12284 if test -n "$OBJCOPY_FOR_TARGET"; then
12285 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12294 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12304 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12305 if test -n "$OBJCOPY_FOR_TARGET"; then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12307 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12310 $as_echo "no
" >&6; }
12317 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12318 for ncn_progname in objcopy; do
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12320 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12321 if test -x $with_build_time_tools/${ncn_progname}; then
12322 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12324 $as_echo "yes" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12328 $as_echo "no
" >&6; }
12333 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12334 for ncn_progname in objcopy; do
12335 if test -n "$ncn_target_tool_prefix"; then
12336 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12337 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12339 $as_echo_n "checking
for $ac_word...
" >&6; }
12340 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12341 $as_echo_n "(cached
) " >&6
12343 if test -n "$OBJCOPY_FOR_TARGET"; then
12344 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12347 for as_dir in $PATH
12350 test -z "$as_dir" && as_dir=.
12351 for ac_exec_ext in '' $ac_executable_extensions; do
12352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12353 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12363 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12364 if test -n "$OBJCOPY_FOR_TARGET"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12366 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12369 $as_echo "no
" >&6; }
12374 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12375 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12376 set dummy ${ncn_progname}; ac_word=$2
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12378 $as_echo_n "checking
for $ac_word...
" >&6; }
12379 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12380 $as_echo_n "(cached
) " >&6
12382 if test -n "$OBJCOPY_FOR_TARGET"; then
12383 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12386 for as_dir in $PATH
12389 test -z "$as_dir" && as_dir=.
12390 for ac_exec_ext in '' $ac_executable_extensions; do
12391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12392 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12402 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12403 if test -n "$OBJCOPY_FOR_TARGET"; then
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12405 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12408 $as_echo "no
" >&6; }
12413 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12417 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12419 if test $build = $target ; then
12420 OBJCOPY_FOR_TARGET="$2"
12422 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12425 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12429 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12435 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12436 if test -n "$with_build_time_tools"; then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12438 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12439 if test -x $with_build_time_tools/objdump; then
12440 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12441 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12443 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12446 $as_echo "no
" >&6; }
12448 elif test $build != $host && test $have_gcc_for_target = yes; then
12449 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12450 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12451 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12454 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12455 # Extract the first word of "objdump
", so it can be a program name with args.
12456 set dummy objdump; ac_word=$2
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12458 $as_echo_n "checking
for $ac_word...
" >&6; }
12459 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12460 $as_echo_n "(cached
) " >&6
12462 case $OBJDUMP_FOR_TARGET in
12464 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12468 for as_dir in $gcc_cv_tool_dirs
12471 test -z "$as_dir" && as_dir=.
12472 for ac_exec_ext in '' $ac_executable_extensions; do
12473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12474 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12485 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12486 if test -n "$OBJDUMP_FOR_TARGET"; then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12488 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12491 $as_echo "no
" >&6; }
12496 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12499 if test -n "$OBJDUMP_FOR_TARGET"; then
12500 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12501 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12502 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12505 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12506 for ncn_progname in objdump; do
12507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12508 set dummy ${ncn_progname}; ac_word=$2
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12510 $as_echo_n "checking
for $ac_word...
" >&6; }
12511 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12512 $as_echo_n "(cached
) " >&6
12514 if test -n "$OBJDUMP_FOR_TARGET"; then
12515 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12518 for as_dir in $PATH
12521 test -z "$as_dir" && as_dir=.
12522 for ac_exec_ext in '' $ac_executable_extensions; do
12523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12524 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12534 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12535 if test -n "$OBJDUMP_FOR_TARGET"; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12537 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12540 $as_echo "no
" >&6; }
12547 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12548 for ncn_progname in objdump; do
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12550 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12551 if test -x $with_build_time_tools/${ncn_progname}; then
12552 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12554 $as_echo "yes" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12558 $as_echo "no
" >&6; }
12563 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12564 for ncn_progname in objdump; do
12565 if test -n "$ncn_target_tool_prefix"; then
12566 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12567 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12569 $as_echo_n "checking
for $ac_word...
" >&6; }
12570 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12571 $as_echo_n "(cached
) " >&6
12573 if test -n "$OBJDUMP_FOR_TARGET"; then
12574 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12577 for as_dir in $PATH
12580 test -z "$as_dir" && as_dir=.
12581 for ac_exec_ext in '' $ac_executable_extensions; do
12582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12583 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12593 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12594 if test -n "$OBJDUMP_FOR_TARGET"; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12596 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12599 $as_echo "no
" >&6; }
12604 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12605 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12606 set dummy ${ncn_progname}; ac_word=$2
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12608 $as_echo_n "checking
for $ac_word...
" >&6; }
12609 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12610 $as_echo_n "(cached
) " >&6
12612 if test -n "$OBJDUMP_FOR_TARGET"; then
12613 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12616 for as_dir in $PATH
12619 test -z "$as_dir" && as_dir=.
12620 for ac_exec_ext in '' $ac_executable_extensions; do
12621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12622 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12632 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12633 if test -n "$OBJDUMP_FOR_TARGET"; then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12635 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12638 $as_echo "no
" >&6; }
12643 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12647 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12649 if test $build = $target ; then
12650 OBJDUMP_FOR_TARGET="$2"
12652 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12655 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12659 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12665 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12666 if test -n "$with_build_time_tools"; then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12668 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12669 if test -x $with_build_time_tools/ranlib; then
12670 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12671 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12673 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12676 $as_echo "no
" >&6; }
12678 elif test $build != $host && test $have_gcc_for_target = yes; then
12679 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12680 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12681 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12684 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12685 # Extract the first word of "ranlib
", so it can be a program name with args.
12686 set dummy ranlib; ac_word=$2
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12688 $as_echo_n "checking
for $ac_word...
" >&6; }
12689 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12690 $as_echo_n "(cached
) " >&6
12692 case $RANLIB_FOR_TARGET in
12694 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12698 for as_dir in $gcc_cv_tool_dirs
12701 test -z "$as_dir" && as_dir=.
12702 for ac_exec_ext in '' $ac_executable_extensions; do
12703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12704 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12715 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12716 if test -n "$RANLIB_FOR_TARGET"; then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12718 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12721 $as_echo "no
" >&6; }
12726 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12729 if test -n "$RANLIB_FOR_TARGET"; then
12730 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12731 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12732 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12735 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12736 for ncn_progname in ranlib; do
12737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12738 set dummy ${ncn_progname}; ac_word=$2
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12740 $as_echo_n "checking
for $ac_word...
" >&6; }
12741 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12742 $as_echo_n "(cached
) " >&6
12744 if test -n "$RANLIB_FOR_TARGET"; then
12745 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12748 for as_dir in $PATH
12751 test -z "$as_dir" && as_dir=.
12752 for ac_exec_ext in '' $ac_executable_extensions; do
12753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12754 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12764 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12765 if test -n "$RANLIB_FOR_TARGET"; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12767 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12770 $as_echo "no
" >&6; }
12777 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12778 for ncn_progname in ranlib; do
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12780 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12781 if test -x $with_build_time_tools/${ncn_progname}; then
12782 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12784 $as_echo "yes" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12788 $as_echo "no
" >&6; }
12793 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12794 for ncn_progname in ranlib; do
12795 if test -n "$ncn_target_tool_prefix"; then
12796 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12797 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12799 $as_echo_n "checking
for $ac_word...
" >&6; }
12800 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12801 $as_echo_n "(cached
) " >&6
12803 if test -n "$RANLIB_FOR_TARGET"; then
12804 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807 for as_dir in $PATH
12810 test -z "$as_dir" && as_dir=.
12811 for ac_exec_ext in '' $ac_executable_extensions; do
12812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12813 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12823 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12824 if test -n "$RANLIB_FOR_TARGET"; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12826 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12829 $as_echo "no
" >&6; }
12834 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12836 set dummy ${ncn_progname}; ac_word=$2
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12838 $as_echo_n "checking
for $ac_word...
" >&6; }
12839 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12840 $as_echo_n "(cached
) " >&6
12842 if test -n "$RANLIB_FOR_TARGET"; then
12843 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12846 for as_dir in $PATH
12849 test -z "$as_dir" && as_dir=.
12850 for ac_exec_ext in '' $ac_executable_extensions; do
12851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12852 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12862 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12863 if test -n "$RANLIB_FOR_TARGET"; then
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12865 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12868 $as_echo "no
" >&6; }
12873 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12877 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12879 if test $build = $target ; then
12880 RANLIB_FOR_TARGET="$2"
12882 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12885 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12889 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12895 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12896 if test -n "$with_build_time_tools"; then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12898 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12899 if test -x $with_build_time_tools/readelf; then
12900 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12901 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12903 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12906 $as_echo "no
" >&6; }
12908 elif test $build != $host && test $have_gcc_for_target = yes; then
12909 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12910 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12911 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12914 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12915 # Extract the first word of "readelf
", so it can be a program name with args.
12916 set dummy readelf; ac_word=$2
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12918 $as_echo_n "checking
for $ac_word...
" >&6; }
12919 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12920 $as_echo_n "(cached
) " >&6
12922 case $READELF_FOR_TARGET in
12924 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12928 for as_dir in $gcc_cv_tool_dirs
12931 test -z "$as_dir" && as_dir=.
12932 for ac_exec_ext in '' $ac_executable_extensions; do
12933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12934 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12945 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12946 if test -n "$READELF_FOR_TARGET"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12948 $as_echo "$READELF_FOR_TARGET" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12951 $as_echo "no
" >&6; }
12956 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12959 if test -n "$READELF_FOR_TARGET"; then
12960 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12961 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12962 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12965 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12966 for ncn_progname in readelf; do
12967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12968 set dummy ${ncn_progname}; ac_word=$2
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12970 $as_echo_n "checking
for $ac_word...
" >&6; }
12971 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12972 $as_echo_n "(cached
) " >&6
12974 if test -n "$READELF_FOR_TARGET"; then
12975 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12978 for as_dir in $PATH
12981 test -z "$as_dir" && as_dir=.
12982 for ac_exec_ext in '' $ac_executable_extensions; do
12983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12984 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12994 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12995 if test -n "$READELF_FOR_TARGET"; then
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12997 $as_echo "$READELF_FOR_TARGET" >&6; }
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13000 $as_echo "no
" >&6; }
13007 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13008 for ncn_progname in readelf; do
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13010 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13011 if test -x $with_build_time_tools/${ncn_progname}; then
13012 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13014 $as_echo "yes" >&6; }
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13018 $as_echo "no
" >&6; }
13023 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13024 for ncn_progname in readelf; do
13025 if test -n "$ncn_target_tool_prefix"; then
13026 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13027 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13029 $as_echo_n "checking
for $ac_word...
" >&6; }
13030 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13031 $as_echo_n "(cached
) " >&6
13033 if test -n "$READELF_FOR_TARGET"; then
13034 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13037 for as_dir in $PATH
13040 test -z "$as_dir" && as_dir=.
13041 for ac_exec_ext in '' $ac_executable_extensions; do
13042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13043 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13053 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13054 if test -n "$READELF_FOR_TARGET"; then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13056 $as_echo "$READELF_FOR_TARGET" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13059 $as_echo "no
" >&6; }
13064 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13066 set dummy ${ncn_progname}; ac_word=$2
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13068 $as_echo_n "checking
for $ac_word...
" >&6; }
13069 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13070 $as_echo_n "(cached
) " >&6
13072 if test -n "$READELF_FOR_TARGET"; then
13073 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13076 for as_dir in $PATH
13079 test -z "$as_dir" && as_dir=.
13080 for ac_exec_ext in '' $ac_executable_extensions; do
13081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13082 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13092 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13093 if test -n "$READELF_FOR_TARGET"; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13095 $as_echo "$READELF_FOR_TARGET" >&6; }
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13098 $as_echo "no
" >&6; }
13103 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13107 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13109 if test $build = $target ; then
13110 READELF_FOR_TARGET="$2"
13112 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13115 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13119 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13125 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13126 if test -n "$with_build_time_tools"; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13128 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13129 if test -x $with_build_time_tools/strip; then
13130 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13131 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13133 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13136 $as_echo "no
" >&6; }
13138 elif test $build != $host && test $have_gcc_for_target = yes; then
13139 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13140 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13141 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13144 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13145 # Extract the first word of "strip
", so it can be a program name with args.
13146 set dummy strip; ac_word=$2
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13148 $as_echo_n "checking
for $ac_word...
" >&6; }
13149 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13150 $as_echo_n "(cached
) " >&6
13152 case $STRIP_FOR_TARGET in
13154 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13158 for as_dir in $gcc_cv_tool_dirs
13161 test -z "$as_dir" && as_dir=.
13162 for ac_exec_ext in '' $ac_executable_extensions; do
13163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13164 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13175 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13176 if test -n "$STRIP_FOR_TARGET"; then
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13178 $as_echo "$STRIP_FOR_TARGET" >&6; }
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13181 $as_echo "no
" >&6; }
13186 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13189 if test -n "$STRIP_FOR_TARGET"; then
13190 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13191 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13192 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13195 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13196 for ncn_progname in strip; do
13197 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13198 set dummy ${ncn_progname}; ac_word=$2
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13200 $as_echo_n "checking
for $ac_word...
" >&6; }
13201 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13202 $as_echo_n "(cached
) " >&6
13204 if test -n "$STRIP_FOR_TARGET"; then
13205 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13208 for as_dir in $PATH
13211 test -z "$as_dir" && as_dir=.
13212 for ac_exec_ext in '' $ac_executable_extensions; do
13213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13214 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13224 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13225 if test -n "$STRIP_FOR_TARGET"; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13227 $as_echo "$STRIP_FOR_TARGET" >&6; }
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13230 $as_echo "no
" >&6; }
13237 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13238 for ncn_progname in strip; do
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13240 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13241 if test -x $with_build_time_tools/${ncn_progname}; then
13242 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13244 $as_echo "yes" >&6; }
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13248 $as_echo "no
" >&6; }
13253 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13254 for ncn_progname in strip; do
13255 if test -n "$ncn_target_tool_prefix"; then
13256 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13257 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13259 $as_echo_n "checking
for $ac_word...
" >&6; }
13260 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13261 $as_echo_n "(cached
) " >&6
13263 if test -n "$STRIP_FOR_TARGET"; then
13264 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13267 for as_dir in $PATH
13270 test -z "$as_dir" && as_dir=.
13271 for ac_exec_ext in '' $ac_executable_extensions; do
13272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13273 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13283 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13284 if test -n "$STRIP_FOR_TARGET"; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13286 $as_echo "$STRIP_FOR_TARGET" >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13289 $as_echo "no
" >&6; }
13294 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13296 set dummy ${ncn_progname}; ac_word=$2
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13298 $as_echo_n "checking
for $ac_word...
" >&6; }
13299 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13300 $as_echo_n "(cached
) " >&6
13302 if test -n "$STRIP_FOR_TARGET"; then
13303 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13306 for as_dir in $PATH
13309 test -z "$as_dir" && as_dir=.
13310 for ac_exec_ext in '' $ac_executable_extensions; do
13311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13312 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13322 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13323 if test -n "$STRIP_FOR_TARGET"; then
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13325 $as_echo "$STRIP_FOR_TARGET" >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13328 $as_echo "no
" >&6; }
13333 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13337 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13339 if test $build = $target ; then
13340 STRIP_FOR_TARGET="$2"
13342 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13345 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13349 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13355 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13356 if test -n "$with_build_time_tools"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13358 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13359 if test -x $with_build_time_tools/windres; then
13360 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13361 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13363 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13366 $as_echo "no
" >&6; }
13368 elif test $build != $host && test $have_gcc_for_target = yes; then
13369 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13370 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13371 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13374 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13375 # Extract the first word of "windres
", so it can be a program name with args.
13376 set dummy windres; ac_word=$2
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13378 $as_echo_n "checking
for $ac_word...
" >&6; }
13379 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13380 $as_echo_n "(cached
) " >&6
13382 case $WINDRES_FOR_TARGET in
13384 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13388 for as_dir in $gcc_cv_tool_dirs
13391 test -z "$as_dir" && as_dir=.
13392 for ac_exec_ext in '' $ac_executable_extensions; do
13393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13394 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13405 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13406 if test -n "$WINDRES_FOR_TARGET"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13408 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13411 $as_echo "no
" >&6; }
13416 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13419 if test -n "$WINDRES_FOR_TARGET"; then
13420 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13421 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13422 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13425 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13426 for ncn_progname in windres; do
13427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13428 set dummy ${ncn_progname}; ac_word=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13430 $as_echo_n "checking
for $ac_word...
" >&6; }
13431 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13432 $as_echo_n "(cached
) " >&6
13434 if test -n "$WINDRES_FOR_TARGET"; then
13435 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13438 for as_dir in $PATH
13441 test -z "$as_dir" && as_dir=.
13442 for ac_exec_ext in '' $ac_executable_extensions; do
13443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13444 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13454 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13455 if test -n "$WINDRES_FOR_TARGET"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13457 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13460 $as_echo "no
" >&6; }
13467 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13468 for ncn_progname in windres; do
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13470 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13471 if test -x $with_build_time_tools/${ncn_progname}; then
13472 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13474 $as_echo "yes" >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13478 $as_echo "no
" >&6; }
13483 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13484 for ncn_progname in windres; do
13485 if test -n "$ncn_target_tool_prefix"; then
13486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13489 $as_echo_n "checking
for $ac_word...
" >&6; }
13490 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13491 $as_echo_n "(cached
) " >&6
13493 if test -n "$WINDRES_FOR_TARGET"; then
13494 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13500 test -z "$as_dir" && as_dir=.
13501 for ac_exec_ext in '' $ac_executable_extensions; do
13502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13503 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13513 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13514 if test -n "$WINDRES_FOR_TARGET"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13516 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13519 $as_echo "no
" >&6; }
13524 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13526 set dummy ${ncn_progname}; ac_word=$2
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13528 $as_echo_n "checking
for $ac_word...
" >&6; }
13529 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13530 $as_echo_n "(cached
) " >&6
13532 if test -n "$WINDRES_FOR_TARGET"; then
13533 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13536 for as_dir in $PATH
13539 test -z "$as_dir" && as_dir=.
13540 for ac_exec_ext in '' $ac_executable_extensions; do
13541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13542 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13552 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13553 if test -n "$WINDRES_FOR_TARGET"; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13555 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13558 $as_echo "no
" >&6; }
13563 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13567 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13569 if test $build = $target ; then
13570 WINDRES_FOR_TARGET="$2"
13572 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13575 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13579 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13585 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13586 if test -n "$with_build_time_tools"; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13588 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13589 if test -x $with_build_time_tools/windmc; then
13590 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13591 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13593 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13596 $as_echo "no
" >&6; }
13598 elif test $build != $host && test $have_gcc_for_target = yes; then
13599 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13600 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13601 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13604 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13605 # Extract the first word of "windmc
", so it can be a program name with args.
13606 set dummy windmc; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13608 $as_echo_n "checking
for $ac_word...
" >&6; }
13609 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13610 $as_echo_n "(cached
) " >&6
13612 case $WINDMC_FOR_TARGET in
13614 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13618 for as_dir in $gcc_cv_tool_dirs
13621 test -z "$as_dir" && as_dir=.
13622 for ac_exec_ext in '' $ac_executable_extensions; do
13623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13624 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13635 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13636 if test -n "$WINDMC_FOR_TARGET"; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13638 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13641 $as_echo "no
" >&6; }
13646 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13649 if test -n "$WINDMC_FOR_TARGET"; then
13650 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13651 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13652 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13655 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13656 for ncn_progname in windmc; do
13657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13658 set dummy ${ncn_progname}; ac_word=$2
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13660 $as_echo_n "checking
for $ac_word...
" >&6; }
13661 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13662 $as_echo_n "(cached
) " >&6
13664 if test -n "$WINDMC_FOR_TARGET"; then
13665 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13668 for as_dir in $PATH
13671 test -z "$as_dir" && as_dir=.
13672 for ac_exec_ext in '' $ac_executable_extensions; do
13673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13674 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13684 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13685 if test -n "$WINDMC_FOR_TARGET"; then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13687 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13690 $as_echo "no
" >&6; }
13697 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13698 for ncn_progname in windmc; do
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13700 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13701 if test -x $with_build_time_tools/${ncn_progname}; then
13702 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13704 $as_echo "yes" >&6; }
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13708 $as_echo "no
" >&6; }
13713 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13714 for ncn_progname in windmc; do
13715 if test -n "$ncn_target_tool_prefix"; then
13716 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13717 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13719 $as_echo_n "checking
for $ac_word...
" >&6; }
13720 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13721 $as_echo_n "(cached
) " >&6
13723 if test -n "$WINDMC_FOR_TARGET"; then
13724 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13727 for as_dir in $PATH
13730 test -z "$as_dir" && as_dir=.
13731 for ac_exec_ext in '' $ac_executable_extensions; do
13732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13733 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13743 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13744 if test -n "$WINDMC_FOR_TARGET"; then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13746 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13749 $as_echo "no
" >&6; }
13754 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13756 set dummy ${ncn_progname}; ac_word=$2
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13758 $as_echo_n "checking
for $ac_word...
" >&6; }
13759 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13760 $as_echo_n "(cached
) " >&6
13762 if test -n "$WINDMC_FOR_TARGET"; then
13763 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13766 for as_dir in $PATH
13769 test -z "$as_dir" && as_dir=.
13770 for ac_exec_ext in '' $ac_executable_extensions; do
13771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13772 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13782 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13783 if test -n "$WINDMC_FOR_TARGET"; then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13785 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13788 $as_echo "no
" >&6; }
13793 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13797 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13799 if test $build = $target ; then
13800 WINDMC_FOR_TARGET="$2"
13802 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13805 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13809 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13813 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13816 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13817 if test "x
${build}" != "x
${host}" ; then
13818 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13819 # We already found the complete path
13820 ac_dir=`dirname $AR_FOR_TARGET`
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13822 $as_echo "pre-installed
in $ac_dir" >&6; }
13824 # Canadian cross, just use what we found
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13826 $as_echo "pre-installed
" >&6; }
13830 case " ${configdirs} " in
13835 if test $ok = yes; then
13836 # An in-tree tool is available and we can use it
13837 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13839 $as_echo "just compiled
" >&6; }
13840 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13841 # We already found the complete path
13842 ac_dir=`dirname $AR_FOR_TARGET`
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13844 $as_echo "pre-installed
in $ac_dir" >&6; }
13845 elif test "x
$target" = "x
$host"; then
13846 # We can use an host tool
13847 AR_FOR_TARGET='$(AR)'
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13849 $as_echo "host tool
" >&6; }
13851 # We need a cross tool
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13853 $as_echo "pre-installed
" >&6; }
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13858 $as_echo_n "checking where to
find the target as...
" >&6; }
13859 if test "x
${build}" != "x
${host}" ; then
13860 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13861 # We already found the complete path
13862 ac_dir=`dirname $AS_FOR_TARGET`
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13864 $as_echo "pre-installed
in $ac_dir" >&6; }
13866 # Canadian cross, just use what we found
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13868 $as_echo "pre-installed
" >&6; }
13872 case " ${configdirs} " in
13877 if test $ok = yes; then
13878 # An in-tree tool is available and we can use it
13879 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13881 $as_echo "just compiled
" >&6; }
13882 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13883 # We already found the complete path
13884 ac_dir=`dirname $AS_FOR_TARGET`
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13886 $as_echo "pre-installed
in $ac_dir" >&6; }
13887 elif test "x
$target" = "x
$host"; then
13888 # We can use an host tool
13889 AS_FOR_TARGET='$(AS)'
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13891 $as_echo "host tool
" >&6; }
13893 # We need a cross tool
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13895 $as_echo "pre-installed
" >&6; }
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13900 $as_echo_n "checking where to
find the target cc...
" >&6; }
13901 if test "x
${build}" != "x
${host}" ; then
13902 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13903 # We already found the complete path
13904 ac_dir=`dirname $CC_FOR_TARGET`
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13906 $as_echo "pre-installed
in $ac_dir" >&6; }
13908 # Canadian cross, just use what we found
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13910 $as_echo "pre-installed
" >&6; }
13914 case " ${configdirs} " in
13919 if test $ok = yes; then
13920 # An in-tree tool is available and we can use it
13921 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13923 $as_echo "just compiled
" >&6; }
13924 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13925 # We already found the complete path
13926 ac_dir=`dirname $CC_FOR_TARGET`
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13928 $as_echo "pre-installed
in $ac_dir" >&6; }
13929 elif test "x
$target" = "x
$host"; then
13930 # We can use an host tool
13931 CC_FOR_TARGET='$(CC)'
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13933 $as_echo "host tool
" >&6; }
13935 # We need a cross tool
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13937 $as_echo "pre-installed
" >&6; }
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13942 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13943 if test "x
${build}" != "x
${host}" ; then
13944 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13945 # We already found the complete path
13946 ac_dir=`dirname $CXX_FOR_TARGET`
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13948 $as_echo "pre-installed
in $ac_dir" >&6; }
13950 # Canadian cross, just use what we found
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13952 $as_echo "pre-installed
" >&6; }
13956 case " ${configdirs} " in
13960 case ,${enable_languages}, in
13964 if test $ok = yes; then
13965 # An in-tree tool is available and we can use it
13966 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'
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13968 $as_echo "just compiled
" >&6; }
13969 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13970 # We already found the complete path
13971 ac_dir=`dirname $CXX_FOR_TARGET`
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13973 $as_echo "pre-installed
in $ac_dir" >&6; }
13974 elif test "x
$target" = "x
$host"; then
13975 # We can use an host tool
13976 CXX_FOR_TARGET='$(CXX)'
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13978 $as_echo "host tool
" >&6; }
13980 # We need a cross tool
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13982 $as_echo "pre-installed
" >&6; }
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13987 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13988 if test "x
${build}" != "x
${host}" ; then
13989 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13990 # We already found the complete path
13991 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13993 $as_echo "pre-installed
in $ac_dir" >&6; }
13995 # Canadian cross, just use what we found
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13997 $as_echo "pre-installed
" >&6; }
14001 case " ${configdirs} " in
14005 case ,${enable_languages}, in
14009 if test $ok = yes; then
14010 # An in-tree tool is available and we can use it
14011 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'
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14013 $as_echo "just compiled
" >&6; }
14014 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14015 # We already found the complete path
14016 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14018 $as_echo "pre-installed
in $ac_dir" >&6; }
14019 elif test "x
$target" = "x
$host"; then
14020 # We can use an host tool
14021 RAW_CXX_FOR_TARGET='$(CXX)'
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14023 $as_echo "host tool
" >&6; }
14025 # We need a cross tool
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14027 $as_echo "pre-installed
" >&6; }
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14032 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14033 if test "x
${build}" != "x
${host}" ; then
14034 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14035 # We already found the complete path
14036 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14038 $as_echo "pre-installed
in $ac_dir" >&6; }
14040 # Canadian cross, just use what we found
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14042 $as_echo "pre-installed
" >&6; }
14046 case " ${configdirs} " in
14051 if test $ok = yes; then
14052 # An in-tree tool is available and we can use it
14053 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14055 $as_echo "just compiled
" >&6; }
14056 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14057 # We already found the complete path
14058 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14060 $as_echo "pre-installed
in $ac_dir" >&6; }
14061 elif test "x
$target" = "x
$host"; then
14062 # We can use an host tool
14063 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14065 $as_echo "host tool
" >&6; }
14067 # We need a cross tool
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14069 $as_echo "pre-installed
" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14074 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14075 if test "x
${build}" != "x
${host}" ; then
14076 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14077 # We already found the complete path
14078 ac_dir=`dirname $GCC_FOR_TARGET`
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14080 $as_echo "pre-installed
in $ac_dir" >&6; }
14082 # Canadian cross, just use what we found
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14084 $as_echo "pre-installed
" >&6; }
14088 case " ${configdirs} " in
14093 if test $ok = yes; then
14094 # An in-tree tool is available and we can use it
14095 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14097 $as_echo "just compiled
" >&6; }
14098 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14099 # We already found the complete path
14100 ac_dir=`dirname $GCC_FOR_TARGET`
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14102 $as_echo "pre-installed
in $ac_dir" >&6; }
14103 elif test "x
$target" = "x
$host"; then
14104 # We can use an host tool
14105 GCC_FOR_TARGET='$()'
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14107 $as_echo "host tool
" >&6; }
14109 # We need a cross tool
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14111 $as_echo "pre-installed
" >&6; }
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14116 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14117 if test "x
${build}" != "x
${host}" ; then
14118 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14119 # We already found the complete path
14120 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14122 $as_echo "pre-installed
in $ac_dir" >&6; }
14124 # Canadian cross, just use what we found
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14126 $as_echo "pre-installed
" >&6; }
14130 case " ${configdirs} " in
14134 case ,${enable_languages}, in
14138 if test $ok = yes; then
14139 # An in-tree tool is available and we can use it
14140 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14142 $as_echo "just compiled
" >&6; }
14143 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14144 # We already found the complete path
14145 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14147 $as_echo "pre-installed
in $ac_dir" >&6; }
14148 elif test "x
$target" = "x
$host"; then
14149 # We can use an host tool
14150 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14152 $as_echo "host tool
" >&6; }
14154 # We need a cross tool
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14156 $as_echo "pre-installed
" >&6; }
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14161 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14162 if test "x
${build}" != "x
${host}" ; then
14163 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14164 # We already found the complete path
14165 ac_dir=`dirname $GOC_FOR_TARGET`
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14167 $as_echo "pre-installed
in $ac_dir" >&6; }
14169 # Canadian cross, just use what we found
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14171 $as_echo "pre-installed
" >&6; }
14175 case " ${configdirs} " in
14179 case ,${enable_languages}, in
14183 if test $ok = yes; then
14184 # An in-tree tool is available and we can use it
14185 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14187 $as_echo "just compiled
" >&6; }
14188 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14189 # We already found the complete path
14190 ac_dir=`dirname $GOC_FOR_TARGET`
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14192 $as_echo "pre-installed
in $ac_dir" >&6; }
14193 elif test "x
$target" = "x
$host"; then
14194 # We can use an host tool
14195 GOC_FOR_TARGET='$(GOC)'
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14197 $as_echo "host tool
" >&6; }
14199 # We need a cross tool
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14201 $as_echo "pre-installed
" >&6; }
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14206 $as_echo_n "checking where to
find the target ld...
" >&6; }
14207 if test "x
${build}" != "x
${host}" ; then
14208 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14209 # We already found the complete path
14210 ac_dir=`dirname $LD_FOR_TARGET`
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14212 $as_echo "pre-installed
in $ac_dir" >&6; }
14214 # Canadian cross, just use what we found
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14216 $as_echo "pre-installed
" >&6; }
14220 case " ${configdirs} " in
14225 if test $ok = yes; then
14226 # An in-tree tool is available and we can use it
14227 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14229 $as_echo "just compiled
" >&6; }
14230 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14231 # We already found the complete path
14232 ac_dir=`dirname $LD_FOR_TARGET`
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14234 $as_echo "pre-installed
in $ac_dir" >&6; }
14235 elif test "x
$target" = "x
$host"; then
14236 # We can use an host tool
14237 LD_FOR_TARGET='$(LD)'
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14239 $as_echo "host tool
" >&6; }
14241 # We need a cross tool
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14243 $as_echo "pre-installed
" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14248 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14249 if test "x
${build}" != "x
${host}" ; then
14250 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14251 # We already found the complete path
14252 ac_dir=`dirname $LIPO_FOR_TARGET`
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14254 $as_echo "pre-installed
in $ac_dir" >&6; }
14256 # Canadian cross, just use what we found
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14258 $as_echo "pre-installed
" >&6; }
14261 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14262 # We already found the complete path
14263 ac_dir=`dirname $LIPO_FOR_TARGET`
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14265 $as_echo "pre-installed
in $ac_dir" >&6; }
14266 elif test "x
$target" = "x
$host"; then
14267 # We can use an host tool
14268 LIPO_FOR_TARGET='$(LIPO)'
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14270 $as_echo "host tool
" >&6; }
14272 # We need a cross tool
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14274 $as_echo "pre-installed
" >&6; }
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14279 $as_echo_n "checking where to
find the target nm...
" >&6; }
14280 if test "x
${build}" != "x
${host}" ; then
14281 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14282 # We already found the complete path
14283 ac_dir=`dirname $NM_FOR_TARGET`
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14285 $as_echo "pre-installed
in $ac_dir" >&6; }
14287 # Canadian cross, just use what we found
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14289 $as_echo "pre-installed
" >&6; }
14293 case " ${configdirs} " in
14298 if test $ok = yes; then
14299 # An in-tree tool is available and we can use it
14300 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14302 $as_echo "just compiled
" >&6; }
14303 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14304 # We already found the complete path
14305 ac_dir=`dirname $NM_FOR_TARGET`
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14307 $as_echo "pre-installed
in $ac_dir" >&6; }
14308 elif test "x
$target" = "x
$host"; then
14309 # We can use an host tool
14310 NM_FOR_TARGET='$(NM)'
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14312 $as_echo "host tool
" >&6; }
14314 # We need a cross tool
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14316 $as_echo "pre-installed
" >&6; }
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14321 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14322 if test "x
${build}" != "x
${host}" ; then
14323 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14324 # We already found the complete path
14325 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14327 $as_echo "pre-installed
in $ac_dir" >&6; }
14329 # Canadian cross, just use what we found
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14331 $as_echo "pre-installed
" >&6; }
14335 case " ${configdirs} " in
14340 if test $ok = yes; then
14341 # An in-tree tool is available and we can use it
14342 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14344 $as_echo "just compiled
" >&6; }
14345 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14346 # We already found the complete path
14347 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14349 $as_echo "pre-installed
in $ac_dir" >&6; }
14350 elif test "x
$target" = "x
$host"; then
14351 # We can use an host tool
14352 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14354 $as_echo "host tool
" >&6; }
14356 # We need a cross tool
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14358 $as_echo "pre-installed
" >&6; }
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14363 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14364 if test "x
${build}" != "x
${host}" ; then
14365 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14366 # We already found the complete path
14367 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14369 $as_echo "pre-installed
in $ac_dir" >&6; }
14371 # Canadian cross, just use what we found
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14373 $as_echo "pre-installed
" >&6; }
14377 case " ${configdirs} " in
14382 if test $ok = yes; then
14383 # An in-tree tool is available and we can use it
14384 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14386 $as_echo "just compiled
" >&6; }
14387 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14388 # We already found the complete path
14389 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14391 $as_echo "pre-installed
in $ac_dir" >&6; }
14392 elif test "x
$target" = "x
$host"; then
14393 # We can use an host tool
14394 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14396 $as_echo "host tool
" >&6; }
14398 # We need a cross tool
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14400 $as_echo "pre-installed
" >&6; }
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14405 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14406 if test "x
${build}" != "x
${host}" ; then
14407 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14408 # We already found the complete path
14409 ac_dir=`dirname $RANLIB_FOR_TARGET`
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14411 $as_echo "pre-installed
in $ac_dir" >&6; }
14413 # Canadian cross, just use what we found
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14415 $as_echo "pre-installed
" >&6; }
14419 case " ${configdirs} " in
14424 if test $ok = yes; then
14425 # An in-tree tool is available and we can use it
14426 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14428 $as_echo "just compiled
" >&6; }
14429 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14430 # We already found the complete path
14431 ac_dir=`dirname $RANLIB_FOR_TARGET`
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14433 $as_echo "pre-installed
in $ac_dir" >&6; }
14434 elif test "x
$target" = "x
$host"; then
14435 # We can use an host tool
14436 RANLIB_FOR_TARGET='$(RANLIB)'
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14438 $as_echo "host tool
" >&6; }
14440 # We need a cross tool
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14442 $as_echo "pre-installed
" >&6; }
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14447 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14448 if test "x
${build}" != "x
${host}" ; then
14449 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14450 # We already found the complete path
14451 ac_dir=`dirname $READELF_FOR_TARGET`
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14453 $as_echo "pre-installed
in $ac_dir" >&6; }
14455 # Canadian cross, just use what we found
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14457 $as_echo "pre-installed
" >&6; }
14461 case " ${configdirs} " in
14466 if test $ok = yes; then
14467 # An in-tree tool is available and we can use it
14468 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14470 $as_echo "just compiled
" >&6; }
14471 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14472 # We already found the complete path
14473 ac_dir=`dirname $READELF_FOR_TARGET`
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14475 $as_echo "pre-installed
in $ac_dir" >&6; }
14476 elif test "x
$target" = "x
$host"; then
14477 # We can use an host tool
14478 READELF_FOR_TARGET='$(READELF)'
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14480 $as_echo "host tool
" >&6; }
14482 # We need a cross tool
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14484 $as_echo "pre-installed
" >&6; }
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14489 $as_echo_n "checking where to
find the target strip...
" >&6; }
14490 if test "x
${build}" != "x
${host}" ; then
14491 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14492 # We already found the complete path
14493 ac_dir=`dirname $STRIP_FOR_TARGET`
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14495 $as_echo "pre-installed
in $ac_dir" >&6; }
14497 # Canadian cross, just use what we found
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14499 $as_echo "pre-installed
" >&6; }
14503 case " ${configdirs} " in
14508 if test $ok = yes; then
14509 # An in-tree tool is available and we can use it
14510 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14512 $as_echo "just compiled
" >&6; }
14513 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14514 # We already found the complete path
14515 ac_dir=`dirname $STRIP_FOR_TARGET`
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14517 $as_echo "pre-installed
in $ac_dir" >&6; }
14518 elif test "x
$target" = "x
$host"; then
14519 # We can use an host tool
14520 STRIP_FOR_TARGET='$(STRIP)'
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14522 $as_echo "host tool
" >&6; }
14524 # We need a cross tool
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14526 $as_echo "pre-installed
" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14531 $as_echo_n "checking where to
find the target windres...
" >&6; }
14532 if test "x
${build}" != "x
${host}" ; then
14533 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14534 # We already found the complete path
14535 ac_dir=`dirname $WINDRES_FOR_TARGET`
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14537 $as_echo "pre-installed
in $ac_dir" >&6; }
14539 # Canadian cross, just use what we found
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14541 $as_echo "pre-installed
" >&6; }
14545 case " ${configdirs} " in
14550 if test $ok = yes; then
14551 # An in-tree tool is available and we can use it
14552 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14554 $as_echo "just compiled
" >&6; }
14555 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14556 # We already found the complete path
14557 ac_dir=`dirname $WINDRES_FOR_TARGET`
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14559 $as_echo "pre-installed
in $ac_dir" >&6; }
14560 elif test "x
$target" = "x
$host"; then
14561 # We can use an host tool
14562 WINDRES_FOR_TARGET='$(WINDRES)'
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14564 $as_echo "host tool
" >&6; }
14566 # We need a cross tool
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14568 $as_echo "pre-installed
" >&6; }
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14573 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14574 if test "x
${build}" != "x
${host}" ; then
14575 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14576 # We already found the complete path
14577 ac_dir=`dirname $WINDMC_FOR_TARGET`
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14579 $as_echo "pre-installed
in $ac_dir" >&6; }
14581 # Canadian cross, just use what we found
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14583 $as_echo "pre-installed
" >&6; }
14587 case " ${configdirs} " in
14592 if test $ok = yes; then
14593 # An in-tree tool is available and we can use it
14594 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14596 $as_echo "just compiled
" >&6; }
14597 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14598 # We already found the complete path
14599 ac_dir=`dirname $WINDMC_FOR_TARGET`
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14601 $as_echo "pre-installed
in $ac_dir" >&6; }
14602 elif test "x
$target" = "x
$host"; then
14603 # We can use an host tool
14604 WINDMC_FOR_TARGET='$(WINDMC)'
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14606 $as_echo "host tool
" >&6; }
14608 # We need a cross tool
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14610 $as_echo "pre-installed
" >&6; }
14618 # Certain tools may need extra flags.
14619 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14620 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14621 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14623 # When building target libraries, except in a Canadian cross, we use
14624 # the same toolchain as the compiler we just built.
14625 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14626 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14627 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14628 if test $host = $build; then
14629 case " $configdirs " in
14631 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14632 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14633 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14643 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14644 # Check whether --enable-maintainer-mode was given.
14645 if test "${enable_maintainer_mode+set}" = set; then :
14646 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14648 USE_MAINTAINER_MODE=no
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14652 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14655 if test "$USE_MAINTAINER_MODE" = yes; then
14656 MAINTAINER_MODE_TRUE=
14657 MAINTAINER_MODE_FALSE='#'
14659 MAINTAINER_MODE_TRUE='#'
14660 MAINTAINER_MODE_FALSE=
14662 MAINT=$MAINTAINER_MODE_TRUE
14664 # ---------------------
14665 # GCC bootstrap support
14666 # ---------------------
14668 # Stage specific cflags for build.
14673 yes) stage1_cflags="-g -Wa,-J" ;;
14674 *) stage1_cflags="-g -J" ;;
14680 # Enable --enable-checking in stage1 of the compiler.
14681 # Check whether --enable-stage1-checking was given.
14682 if test "${enable_stage1_checking+set}" = set; then :
14683 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14685 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14686 # For --disable-checking or implicit --enable-checking=release, avoid
14687 # setting --enable-checking=gc in the default stage1 checking for LTO
14688 # bootstraps. See PR62077.
14689 case $BUILD_CONFIG in
14691 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14693 stage1_checking=--enable-checking=yes,types;;
14695 if test "x
$enable_checking" = x && \
14696 test -d ${srcdir}/gcc && \
14697 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14698 stage1_checking=--enable-checking=yes,types,extra
14701 stage1_checking=--enable-checking=$enable_checking,types
14707 # Enable -Werror in bootstrap stage2 and later.
14708 # Check whether --enable-werror was given.
14709 if test "${enable_werror+set}" = set; then :
14710 enableval=$enable_werror;
14712 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14719 case ${enable_werror} in
14720 yes) stage2_werror_flag="--enable-werror-always" ;;
14721 *) stage2_werror_flag="" ;;
14725 # Enable --enable-host-shared.
14726 # Check whether --enable-host-shared was given.
14727 if test "${enable_host_shared+set}" = set; then :
14728 enableval=$enable_host_shared; host_shared=$enableval
14735 # PR jit/64780: Require the user to explicitly specify
14736 # --enable-host-shared if the jit is enabled, hinting
14737 # that they might want to do a separate configure/build of
14738 # the jit, to avoid users from slowing down the rest of the
14739 # compiler by enabling the jit.
14740 if test ${host_shared} = "no
" ; then
14741 case "${enable_languages}" in
14744 Enabling language
\"jit
\" requires
--enable-host-shared.
14746 --enable-host-shared typically slows the rest of the compiler down by
14747 a few
%, so you must explicitly
enable it.
14749 If you want to build both the jit and the regular compiler
, it is often
14750 best to
do this via two separate configure
/builds
, in separate
14751 directories
, to avoid imposing the performance cost of
14752 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14759 # Specify what files to not compare during bootstrap.
14761 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14763 hppa*64*-*-hpux*) ;;
14764 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14765 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14769 ac_config_files="$ac_config_files Makefile
"
14771 cat >confcache <<\_ACEOF
14772 # This file is a shell script that caches the results of configure
14773 # tests run on this system so they can be shared between configure
14774 # scripts and configure runs, see configure's option --config-cache.
14775 # It is not useful on other systems. If it contains results you don't
14776 # want to keep, you may remove or edit it.
14778 # config.status only pays attention to the cache file if you give it
14779 # the --recheck option to rerun configure.
14781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14783 # following values.
14787 # The following way of writing the cache mishandles newlines in values,
14788 # but we know of no workaround that is simple, portable, and efficient.
14789 # So, we kill variables containing newlines.
14790 # Ultrix sh set writes to stderr and can't be redirected directly,
14791 # and sets the high bit in the cache file unless we assign to the vars.
14793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14794 eval ac_val=\$$ac_var
14798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14799 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14802 _ | IFS | as_nl) ;; #(
14803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14804 *) { eval $ac_var=; unset $ac_var;} ;;
14810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14811 *${as_nl}ac_space=\ *)
14812 # `set' does not quote correctly, so add quotes: double-quote
14813 # substitution turns \\\\ into \\, and sed turns \\ into \.
14816 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14819 # `set' quotes correctly as required by POSIX, so do not add quotes.
14820 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14834 if test -w "$cache_file"; then
14835 test "x
$cache_file" != "x
/dev
/null
" &&
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14837 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14838 cat confcache >$cache_file
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14841 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14846 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14847 # Let make expand exec_prefix.
14848 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14850 # Transform confdefs.h into DEFS.
14851 # Protect against shell expansion while executing Makefile rules.
14852 # Protect against Makefile macro expansion.
14854 # If the first sed substitution is executed (which looks for macros that
14855 # take arguments), then branch to the quote section. Otherwise,
14856 # look for a macro that doesn't take arguments.
14866 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14868 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14872 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14885 DEFS=`sed -n "$ac_script" confdefs.h`
14890 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14891 # 1. Remove the extension, and $U if already installed.
14892 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14893 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14894 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14895 # will be set to the directory where LIBOBJS objects are built.
14896 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14897 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14899 LIBOBJS=$ac_libobjs
14901 LTLIBOBJS=$ac_ltlibobjs
14905 : ${CONFIG_STATUS=./config.status}
14907 ac_clean_files_save=$ac_clean_files
14908 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14910 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14912 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14914 # Generated by $as_me.
14915 # Run this file to recreate the current configuration.
14916 # Compiler output produced by configure, useful for debugging
14917 # configure, is in config.log if it exists.
14920 ac_cs_recheck=false
14923 SHELL=\${CONFIG_SHELL-$SHELL}
14926 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14927 ## -------------------- ##
14928 ## M4sh Initialization. ##
14929 ## -------------------- ##
14931 # Be more Bourne compatible
14932 DUALCASE=1; export DUALCASE # for MKS sh
14933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14937 # is contrary to our usage. Disable this feature.
14938 alias -g '${1+"$@"}'='"$@"'
14939 setopt NO_GLOB_SUBST
14941 case `(set -o) 2>/dev/null` in #(
14953 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14954 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14955 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14956 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14957 # Prefer a ksh shell builtin over an external printf program on Solaris,
14958 # but without wasting forks for bash or zsh.
14959 if test -z "$BASH_VERSION$ZSH_VERSION" \
14960 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14961 as_echo
='print -r --'
14962 as_echo_n
='print -rn --'
14963 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14964 as_echo
='printf %s\n'
14965 as_echo_n
='printf %s'
14967 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14968 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14969 as_echo_n
='/usr/ucb/echo -n'
14971 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14972 as_echo_n_body
='eval
14976 expr "X$arg" : "X\\(.*\\)$as_nl";
14977 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14979 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14981 export as_echo_n_body
14982 as_echo_n
='sh -c $as_echo_n_body as_echo'
14984 export as_echo_body
14985 as_echo
='sh -c $as_echo_body as_echo'
14988 # The user is always right.
14989 if test "${PATH_SEPARATOR+set}" != set; then
14991 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14992 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14999 # We need space, tab and new line, in precisely that order. Quoting is
15000 # there to prevent editors from complaining about space-tab.
15001 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15002 # splitting by setting IFS to empty value.)
15005 # Find who we are. Look in the path if we contain no directory separator.
15007 *[\\/]* ) as_myself
=$0 ;;
15008 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15009 for as_dir
in $PATH
15012 test -z "$as_dir" && as_dir
=.
15013 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15019 # We did not find ourselves, most probably we were run as `sh COMMAND'
15020 # in which case we are not to be found in the path.
15021 if test "x$as_myself" = x
; then
15024 if test ! -f "$as_myself"; then
15025 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15029 # Unset variables that we do not need and which cause bugs (e.g. in
15030 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15031 # suppresses any "Segmentation fault" message there. '((' could
15032 # trigger a bug in pdksh 5.2.14.
15033 for as_var
in BASH_ENV ENV MAIL MAILPATH
15034 do eval test x\
${$as_var+set} = xset \
15035 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15048 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15051 # as_fn_error ERROR [LINENO LOG_FD]
15052 # ---------------------------------
15053 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15054 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15055 # script with status $?, using 1 if that was 0.
15058 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15060 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15063 $as_echo "$as_me: error: $1" >&2
15064 as_fn_exit
$as_status
15068 # as_fn_set_status STATUS
15069 # -----------------------
15070 # Set $? to STATUS, without forking.
15071 as_fn_set_status
()
15074 } # as_fn_set_status
15076 # as_fn_exit STATUS
15077 # -----------------
15078 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15082 as_fn_set_status
$1
15088 # Portably unset VAR.
15091 { eval $1=; unset $1;}
15093 as_unset
=as_fn_unset
15094 # as_fn_append VAR VALUE
15095 # ----------------------
15096 # Append the text in VALUE to the end of the definition contained in VAR. Take
15097 # advantage of any shell optimizations that allow amortized linear growth over
15098 # repeated appends, instead of the typical quadratic growth present in naive
15100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15101 eval 'as_fn_append ()
15112 # as_fn_arith ARG...
15113 # ------------------
15114 # Perform arithmetic evaluation on the ARGs, and store the result in the
15115 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15116 # must be portable across $(()) and expr.
15117 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15118 eval 'as_fn_arith ()
15125 as_val
=`expr "$@" || test $? -eq 1`
15130 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15131 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15137 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15138 as_basename
=basename
15143 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15149 as_me
=`$as_basename -- "$0" ||
15150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15151 X"$0" : 'X\(//\)$' \| \
15152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15154 sed '/^.*\/\([^/][^/]*\)\/*$/{
15168 # Avoid depending upon Character Ranges.
15169 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15170 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15171 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15172 as_cr_digits
='0123456789'
15173 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15175 ECHO_C
= ECHO_N
= ECHO_T
=
15176 case `echo -n x` in #(((((
15178 case `echo 'xy\c'` in
15179 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15181 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15188 rm -f conf$$ conf$$.exe conf$$.
file
15189 if test -d conf$$.dir
; then
15190 rm -f conf$$.dir
/conf$$.
file
15193 mkdir conf$$.dir
2>/dev
/null
15195 if (echo >conf$$.
file) 2>/dev
/null
; then
15196 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15198 # ... but there are two gotchas:
15199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15201 # In both cases, we have to default to `cp -p'.
15202 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15204 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15212 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15213 rmdir conf$$.dir
2>/dev
/null
15218 # Create "$as_dir" as a directory, including parents if necessary.
15223 -*) as_dir
=.
/$as_dir;;
15225 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15229 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15230 *) as_qdir
=$as_dir;;
15232 as_dirs
="'$as_qdir' $as_dirs"
15233 as_dir
=`$as_dirname -- "$as_dir" ||
15234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15235 X"$as_dir" : 'X\(//\)[^/]' \| \
15236 X"$as_dir" : 'X\(//\)$' \| \
15237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15238 $as_echo X"$as_dir" |
15239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15243 /^X\(\/\/\)[^/].*/{
15256 test -d "$as_dir" && break
15258 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15259 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15263 if mkdir
-p .
2>/dev
/null
; then
15264 as_mkdir_p
='mkdir -p "$as_dir"'
15266 test -d .
/-p && rmdir .
/-p
15270 if test -x / >/dev
/null
2>&1; then
15271 as_test_x
='test -x'
15273 if ls -dL / >/dev
/null
2>&1; then
15280 if test -d "$1"; then
15286 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15287 ???[sx]*):;;*)false;;esac;fi
15291 as_executable_p
=$as_test_x
15293 # Sed expression to map a string onto a valid CPP name.
15294 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15296 # Sed expression to map a string onto a valid variable name.
15297 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15301 ## ----------------------------------- ##
15302 ## Main body of $CONFIG_STATUS script. ##
15303 ## ----------------------------------- ##
15305 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15308 # Save the log message, to keep $0 and so on meaningful, and to
15309 # report actual input values of CONFIG_FILES etc. instead of their
15310 # values after options handling.
15312 This file was extended by $as_me, which was
15313 generated by GNU Autoconf 2.64. Invocation command line was
15315 CONFIG_FILES = $CONFIG_FILES
15316 CONFIG_HEADERS = $CONFIG_HEADERS
15317 CONFIG_LINKS = $CONFIG_LINKS
15318 CONFIG_COMMANDS = $CONFIG_COMMANDS
15321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15326 case $ac_config_files in *"
15327 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15333 # Files that config.status was made for.
15334 config_files="$ac_config_files"
15338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15340 \`$as_me' instantiates files and other configuration actions
15341 from templates according to the current configuration. Unless the files
15342 and actions are specified as TAGs, all are instantiated by default.
15344 Usage: $0 [OPTION]... [TAG]...
15346 -h, --help print this help, then exit
15347 -V, --version print version number and configuration settings, then exit
15348 -q, --quiet, --silent
15349 do not print progress messages
15350 -d, --debug don't remove temporary files
15351 --recheck update $as_me by reconfiguring in the same conditions
15352 --file=FILE[:TEMPLATE]
15353 instantiate the configuration file FILE
15355 Configuration files:
15358 Report bugs to the package provider."
15361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15364 configured by $0, generated by GNU Autoconf 2.64,
15365 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15367 Copyright (C) 2009 Free Software Foundation, Inc.
15368 This config.status script is free software; the Free Software Foundation
15369 gives unlimited permission to copy, distribute and modify it."
15375 test -n "\$AWK" || AWK=awk
15378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15379 # The default lists apply if the user does not specify any file.
15385 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15386 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15397 # Handling of the options.
15398 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15400 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15401 $as_echo "$ac_cs_version"; exit ;;
15402 --debug |
--debu |
--deb |
--de |
--d |
-d )
15404 --file |
--fil |
--fi |
--f )
15407 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15409 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15410 ac_need_defaults
=false
;;
15411 --he |
--h |
--help |
--hel |
-h )
15412 $as_echo "$ac_cs_usage"; exit ;;
15413 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15414 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15417 # This is an error.
15418 -*) as_fn_error
"unrecognized option: \`$1'
15419 Try \`$0 --help' for more information." ;;
15421 *) as_fn_append ac_config_targets
" $1"
15422 ac_need_defaults
=false
;;
15428 ac_configure_extra_args
=
15430 if $ac_cs_silent; then
15432 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15437 if \$ac_cs_recheck; then
15438 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15440 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15441 CONFIG_SHELL='$SHELL'
15442 export CONFIG_SHELL
15447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15451 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15452 ## Running $as_me. ##
15458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15462 extrasub_build="$extrasub_build"
15463 extrasub_host="$extrasub_host"
15464 extrasub_target="$extrasub_target"
15468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15470 # Handling of arguments.
15471 for ac_config_target
in $ac_config_targets
15473 case $ac_config_target in
15474 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15476 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15481 # If the user did not use the arguments to specify the items to instantiate,
15482 # then the envvar interface is used. Set only those that are not.
15483 # We use the long form for the default assignment because of an extremely
15484 # bizarre bug on SunOS 4.1.3.
15485 if $ac_need_defaults; then
15486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15489 # Have a temporary directory for convenience. Make it in the build tree
15490 # simply because there is no reason against having it here, and in addition,
15491 # creating and moving files from /tmp can sometimes cause problems.
15492 # Hook for its removal unless debugging.
15493 # Note that there is a small window in which the directory will not be cleaned:
15494 # after its creation but before its name has been assigned to `$tmp'.
15498 trap 'exit_status=$?
15499 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15501 trap 'as_fn_exit 1' 1 2 13 15
15503 # Create a (secure) tmp directory for tmp files.
15506 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15507 test -n "$tmp" && test -d "$tmp"
15510 tmp
=.
/conf$$
-$RANDOM
15511 (umask 077 && mkdir
"$tmp")
15512 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15514 # Set up the scripts for CONFIG_FILES section.
15515 # No need to generate them if there are no CONFIG_FILES.
15516 # This happens for instance with `./config.status config.h'.
15517 if test -n "$CONFIG_FILES"; then
15519 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15520 ac_cs_awk_getline
=:
15521 ac_cs_awk_pipe_init
=
15522 ac_cs_awk_read_file
='
15523 while ((getline aline < (F[key])) > 0)
15526 ac_cs_awk_pipe_fini
=
15528 ac_cs_awk_getline
=false
15529 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15530 ac_cs_awk_read_file
='
15532 print "cat " F[key] " &&"
15533 '$ac_cs_awk_pipe_init
15534 # The final `:' finishes the AND list.
15535 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15537 ac_cr
=`echo X | tr X '\015'`
15538 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15539 # But we know of no other shell where ac_cr would be empty at this
15540 # point, so we can use a bashism as a fallback.
15541 if test "x$ac_cr" = x
; then
15542 eval ac_cr
=\$
\'\\r
\'
15544 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15545 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15548 ac_cs_awk_cr
=$ac_cr
15551 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15554 # Create commands to substitute file output variables.
15556 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15557 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15558 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15561 } >conf$
$files.sh
&&
15562 . .
/conf$
$files.sh ||
15563 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15564 rm -f conf$
$files.sh
15567 echo "cat >conf$$subs.awk <<_ACEOF" &&
15568 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15570 } >conf$$subs.sh ||
15571 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15572 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15574 for ac_last_try in false false false false false :; do
15575 . ./conf$$subs.sh ||
15576 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15578 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15579 if test $ac_delim_n = $ac_delim_num; then
15581 elif $ac_last_try; then
15582 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15584 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15587 rm -f conf$$subs.sh
15589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15594 s/^/S["/; s
/!.
*/"]=/
15604 s/\(.\{148\}\).*/\1/
15606 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15611 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15618 s/\(.\{148\}\).*/\1/
15620 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15624 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15629 ' <conf$$subs.awk | sed '
15634 ' >>$CONFIG_STATUS || ac_write_fail=1
15635 rm -f conf$$subs.awk
15636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15638 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15639 for (key in S) S_is_set[key] = 1
15641 \$ac_cs_awk_pipe_init
15645 nfields = split(line, field, "@
")
15647 len = length(field[1])
15648 for (i = 2; i < nfields; i++) {
15650 keylen = length(key)
15651 if (S_is_set[key]) {
15653 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15654 len += length(value) + length(field[++i])
15659 if (nfields == 3 && !substed) {
15661 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15662 \$ac_cs_awk_read_file
15668 \$ac_cs_awk_pipe_fini
15671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15672 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15673 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15676 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15677 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15682 # trailing colons and then remove the whole line if VPATH becomes empty
15683 # (actually we leave an empty line to preserve line numbers).
15684 if test "x
$srcdir" = x.; then
15685 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15686 s/:*\$(srcdir):*/:/
15687 s/:*\${srcdir}:*/:/
15689 s/^\([^=]*=[ ]*\):*/\1/
15695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15696 fi # test -n "$CONFIG_FILES"
15699 eval set X " :F
$CONFIG_FILES "
15704 :[FHLC]) ac_mode=$ac_tag; continue;;
15706 case $ac_mode$ac_tag in
15708 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15709 :[FH]-) ac_tag=-:-;;
15710 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15727 -) ac_f="$tmp/stdin";;
15728 *) # Look for the file first in the build tree, then in the source tree
15729 # (if the path is not absolute). The absolute path cannot be DOS-style,
15730 # because $ac_f cannot contain `:'.
15734 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15736 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15738 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15739 as_fn_append ac_file_inputs " '$ac_f'"
15742 # Let's still pretend it is `configure' which instantiates (i.e., don't
15743 # use $as_me), people would be surprised to read:
15744 # /* config.h. Generated by config.status. */
15745 configure_input='Generated from '`
15746 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15748 if test x"$ac_file" != x-; then
15749 configure_input="$ac_file.
$configure_input"
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15751 $as_echo "$as_me: creating
$ac_file" >&6;}
15753 # Neutralize special characters interpreted by sed in replacement strings.
15754 case $configure_input in #(
15755 *\&* | *\|* | *\\* )
15756 ac_sed_conf_input=`$as_echo "$configure_input" |
15757 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15758 *) ac_sed_conf_input=$configure_input;;
15762 *:-:* | *:-) cat >"$tmp/stdin
" \
15763 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15768 ac_dir=`$as_dirname -- "$ac_file" ||
15769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15770 X"$ac_file" : 'X\(//\)[^/]' \| \
15771 X"$ac_file" : 'X\(//\)$' \| \
15772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15773 $as_echo X"$ac_file" |
15774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15778 /^X\(\/\/\)[^/].*/{
15791 as_dir="$ac_dir"; as_fn_mkdir_p
15795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15797 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15798 # A "..
" for each directory in $ac_dir_suffix.
15799 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15800 case $ac_top_builddir_sub in
15801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15805 ac_abs_top_builddir=$ac_pwd
15806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15807 # for backward compatibility:
15808 ac_top_builddir=$ac_top_build_prefix
15811 .) # We are building in place.
15813 ac_top_srcdir=$ac_top_builddir_sub
15814 ac_abs_top_srcdir=$ac_pwd ;;
15815 [\\/]* | ?:[\\/]* ) # Absolute name.
15816 ac_srcdir=$srcdir$ac_dir_suffix;
15817 ac_top_srcdir=$srcdir
15818 ac_abs_top_srcdir=$srcdir ;;
15819 *) # Relative name.
15820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15821 ac_top_srcdir=$ac_top_build_prefix$srcdir
15822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15834 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15835 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15840 # If the template does not know about datarootdir, expand it.
15841 # FIXME: This hack should be removed a few years after 2.60.
15842 ac_datarootdir_hack=; ac_datarootdir_seen=
15853 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15854 *datarootdir*) ac_datarootdir_seen=yes;;
15855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15857 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15860 ac_datarootdir_hack='
15861 s&@datadir@&$datadir&g
15862 s&@docdir@&$docdir&g
15863 s&@infodir@&$infodir&g
15864 s&@localedir@&$localedir&g
15865 s&@mandir@&$mandir&g
15866 s&\\\${datarootdir}&$datarootdir&g' ;;
15870 # Neutralize VPATH when `$srcdir' = `.'.
15871 # Shell code in configure.ac might set extrasub.
15872 # FIXME: do we really want to maintain this feature?
15873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15874 ac_sed_extra="$ac_vpsub
15877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15879 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15880 s|@configure_input@|
$ac_sed_conf_input|
;t t
15881 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15882 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15883 s
&@srcdir@
&$ac_srcdir&;t t
15884 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15885 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15886 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15887 s
&@builddir@
&$ac_builddir&;t t
15888 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15889 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15890 s
&@INSTALL@
&$ac_INSTALL&;t t
15891 $ac_datarootdir_hack
15893 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15894 if $ac_cs_awk_getline; then
15895 $AWK -f "$tmp/subs.
awk"
15897 $AWK -f "$tmp/subs.
awk" | $SHELL
15899 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15902 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15905 which seems to be undefined. Please make sure it is defined." >&5
15906 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15907 which seems to be undefined. Please make sure it is defined." >&2;}
15911 -) cat "$tmp/out" && rm -f "$tmp/out";;
15912 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15914 || as_fn_error "could not create $ac_file" "$LINENO" 5
15922 case $ac_file$ac_mode in
15923 "Makefile":F) sed "$extrasub_build" Makefile |
15924 sed "$extrasub_host" |
15925 sed "$extrasub_target" > mf$$
15926 mv -f mf$$ Makefile ;;
15934 ac_clean_files=$ac_clean_files_save
15936 test $ac_write_fail = 0 ||
15937 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15940 # configure is writing to config.log, and then calls config.status.
15941 # config.status does its own redirection, appending to config.log.
15942 # Unfortunately, on DOS this fails, as config.log is still kept open
15943 # by configure, so config.status won't be able to
write to it
; its
15944 # output is simply discarded. So we exec the FD to /dev/null,
15945 # effectively closing config.log, so it can be properly (re)opened and
15946 # appended to by config.status. When coming back to configure, we
15947 # need to make the FD available again.
15948 if test "$no_create" != yes; then
15950 ac_config_status_args
=
15951 test "$silent" = yes &&
15952 ac_config_status_args
="$ac_config_status_args --quiet"
15954 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15956 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15957 # would make configure fail if this is the last instruction.
15958 $ac_cs_success || as_fn_exit $?
15960 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15962 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}